@0xsequence/indexer
Advanced tools
Comparing version 1.10.1 to 1.10.2
@@ -21,3 +21,3 @@ 'use strict'; | ||
/* eslint-disable */ | ||
// sequence-indexer v0.4.0 604761d36d9ef082fa97d028f8315ccdedf19838 | ||
// sequence-indexer v0.4.0 9accea267e7db3d66f40d5e0f27db92eb5a29e2f | ||
// -- | ||
@@ -35,3 +35,3 @@ // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT. | ||
// Schema hash generated from your RIDL schema | ||
const WebRPCSchemaHash = '604761d36d9ef082fa97d028f8315ccdedf19838'; | ||
const WebRPCSchemaHash = '9accea267e7db3d66f40d5e0f27db92eb5a29e2f'; | ||
@@ -62,3 +62,3 @@ // | ||
let EventLogDataType = /*#__PURE__*/function (EventLogDataType) { | ||
EventLogDataType["UNKNOWN"] = "UNKNOWN"; | ||
EventLogDataType["EVENT"] = "EVENT"; | ||
EventLogDataType["TOKEN_TRANSFER"] = "TOKEN_TRANSFER"; | ||
@@ -65,0 +65,0 @@ EventLogDataType["NATIVE_TOKEN_TRANSFER"] = "NATIVE_TOKEN_TRANSFER"; |
@@ -21,3 +21,3 @@ 'use strict'; | ||
/* eslint-disable */ | ||
// sequence-indexer v0.4.0 604761d36d9ef082fa97d028f8315ccdedf19838 | ||
// sequence-indexer v0.4.0 9accea267e7db3d66f40d5e0f27db92eb5a29e2f | ||
// -- | ||
@@ -35,3 +35,3 @@ // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT. | ||
// Schema hash generated from your RIDL schema | ||
const WebRPCSchemaHash = '604761d36d9ef082fa97d028f8315ccdedf19838'; | ||
const WebRPCSchemaHash = '9accea267e7db3d66f40d5e0f27db92eb5a29e2f'; | ||
@@ -62,3 +62,3 @@ // | ||
let EventLogDataType = /*#__PURE__*/function (EventLogDataType) { | ||
EventLogDataType["UNKNOWN"] = "UNKNOWN"; | ||
EventLogDataType["EVENT"] = "EVENT"; | ||
EventLogDataType["TOKEN_TRANSFER"] = "TOKEN_TRANSFER"; | ||
@@ -65,0 +65,0 @@ EventLogDataType["NATIVE_TOKEN_TRANSFER"] = "NATIVE_TOKEN_TRANSFER"; |
@@ -17,3 +17,3 @@ function _extends() { | ||
/* eslint-disable */ | ||
// sequence-indexer v0.4.0 604761d36d9ef082fa97d028f8315ccdedf19838 | ||
// sequence-indexer v0.4.0 9accea267e7db3d66f40d5e0f27db92eb5a29e2f | ||
// -- | ||
@@ -31,3 +31,3 @@ // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT. | ||
// Schema hash generated from your RIDL schema | ||
const WebRPCSchemaHash = '604761d36d9ef082fa97d028f8315ccdedf19838'; | ||
const WebRPCSchemaHash = '9accea267e7db3d66f40d5e0f27db92eb5a29e2f'; | ||
@@ -58,3 +58,3 @@ // | ||
let EventLogDataType = /*#__PURE__*/function (EventLogDataType) { | ||
EventLogDataType["UNKNOWN"] = "UNKNOWN"; | ||
EventLogDataType["EVENT"] = "EVENT"; | ||
EventLogDataType["TOKEN_TRANSFER"] = "TOKEN_TRANSFER"; | ||
@@ -61,0 +61,0 @@ EventLogDataType["NATIVE_TOKEN_TRANSFER"] = "NATIVE_TOKEN_TRANSFER"; |
export declare const WebRPCVersion = "v1"; | ||
export declare const WebRPCSchemaVersion = "v0.4.0"; | ||
export declare const WebRPCSchemaHash = "604761d36d9ef082fa97d028f8315ccdedf19838"; | ||
export declare const WebRPCSchemaHash = "9accea267e7db3d66f40d5e0f27db92eb5a29e2f"; | ||
export interface ContractInfo { | ||
@@ -80,3 +80,3 @@ chainId: number; | ||
export declare enum EventLogDataType { | ||
UNKNOWN = "UNKNOWN", | ||
EVENT = "EVENT", | ||
TOKEN_TRANSFER = "TOKEN_TRANSFER", | ||
@@ -188,3 +188,3 @@ NATIVE_TOKEN_TRANSFER = "NATIVE_TOKEN_TRANSFER", | ||
} | ||
export interface TxnData { | ||
export interface TxnInfo { | ||
from: string; | ||
@@ -196,2 +196,3 @@ to: string; | ||
id: number; | ||
uid: string; | ||
type: EventLogType; | ||
@@ -205,8 +206,18 @@ blockNumber: number; | ||
txnIndex: number; | ||
txnData: TxnData; | ||
txnLogIndex: number; | ||
logDataType: EventLogDataType; | ||
ts: string; | ||
logData: string; | ||
txnInfo?: TxnInfo; | ||
rawLog?: { | ||
[key: string]: any; | ||
}; | ||
event?: EventDecoded; | ||
} | ||
export interface EventDecoded { | ||
topicHash: string; | ||
eventSig: string; | ||
types: Array<string>; | ||
names: Array<string>; | ||
values: Array<string>; | ||
} | ||
export interface TokenBalance { | ||
@@ -308,3 +319,2 @@ contractType: ContractType; | ||
event?: string; | ||
topicHash?: string; | ||
} | ||
@@ -356,6 +366,5 @@ export interface TransactionReceipt { | ||
events?: Array<string>; | ||
topicHashes?: Array<string>; | ||
contractAddresses?: Array<string>; | ||
accounts?: Array<string>; | ||
tokenIDs?: Array<string>; | ||
accounts?: Array<string>; | ||
} | ||
@@ -362,0 +371,0 @@ export interface TokenBalanceFilter { |
{ | ||
"name": "@0xsequence/indexer", | ||
"version": "1.10.1", | ||
"version": "1.10.2", | ||
"description": "indexer sub-package for Sequence", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/indexer", |
/* eslint-disable */ | ||
// sequence-indexer v0.4.0 604761d36d9ef082fa97d028f8315ccdedf19838 | ||
// sequence-indexer v0.4.0 9accea267e7db3d66f40d5e0f27db92eb5a29e2f | ||
// -- | ||
@@ -15,3 +15,3 @@ // Code generated by webrpc-gen@v0.18.6 with typescript generator. DO NOT EDIT. | ||
// Schema hash generated from your RIDL schema | ||
export const WebRPCSchemaHash = '604761d36d9ef082fa97d028f8315ccdedf19838' | ||
export const WebRPCSchemaHash = '9accea267e7db3d66f40d5e0f27db92eb5a29e2f' | ||
@@ -100,3 +100,3 @@ // | ||
export enum EventLogDataType { | ||
UNKNOWN = 'UNKNOWN', | ||
EVENT = 'EVENT', | ||
TOKEN_TRANSFER = 'TOKEN_TRANSFER', | ||
@@ -223,3 +223,3 @@ NATIVE_TOKEN_TRANSFER = 'NATIVE_TOKEN_TRANSFER', | ||
export interface TxnData { | ||
export interface TxnInfo { | ||
from: string | ||
@@ -232,2 +232,3 @@ to: string | ||
id: number | ||
uid: string | ||
type: EventLogType | ||
@@ -241,9 +242,18 @@ blockNumber: number | ||
txnIndex: number | ||
txnData: TxnData | ||
txnLogIndex: number | ||
logDataType: EventLogDataType | ||
ts: string | ||
logData: string | ||
txnInfo?: TxnInfo | ||
rawLog?: { [key: string]: any } | ||
event?: EventDecoded | ||
} | ||
export interface EventDecoded { | ||
topicHash: string | ||
eventSig: string | ||
types: Array<string> | ||
names: Array<string> | ||
values: Array<string> | ||
} | ||
export interface TokenBalance { | ||
@@ -351,3 +361,2 @@ contractType: ContractType | ||
event?: string | ||
topicHash?: string | ||
} | ||
@@ -405,6 +414,5 @@ | ||
events?: Array<string> | ||
topicHashes?: Array<string> | ||
contractAddresses?: Array<string> | ||
accounts?: Array<string> | ||
tokenIDs?: Array<string> | ||
accounts?: Array<string> | ||
} | ||
@@ -411,0 +419,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
180748
4980