@0xtorch/evm 0.0.128 → 0.0.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_cjs/logic/analyzeTransaction/decodeTransaction/decodeLog.js +1 -4
- package/_cjs/logic/analyzeTransaction/decodeTransaction/decodeLog.js.map +1 -1
- package/_esm/logic/analyzeTransaction/decodeTransaction/decodeLog.js +1 -4
- package/_esm/logic/analyzeTransaction/decodeTransaction/decodeLog.js.map +1 -1
- package/_types/chain/viemChains/chainVerse.d.ts +2 -0
- package/_types/chain/viemChains/chainVerse.d.ts.map +1 -1
- package/_types/chain/viemChains/defiVerse.d.ts +2 -0
- package/_types/chain/viemChains/defiVerse.d.ts.map +1 -1
- package/_types/chain/viemChains/geekVerse.d.ts +2 -0
- package/_types/chain/viemChains/geekVerse.d.ts.map +1 -1
- package/_types/chain/viemChains/gesoVerse.d.ts +2 -0
- package/_types/chain/viemChains/gesoVerse.d.ts.map +1 -1
- package/_types/chain/viemChains/homeVerse.d.ts +2 -0
- package/_types/chain/viemChains/homeVerse.d.ts.map +1 -1
- package/_types/chain/viemChains/mchVerse.d.ts +2 -0
- package/_types/chain/viemChains/mchVerse.d.ts.map +1 -1
- package/_types/chain/viemChains/saakuru.d.ts +2 -0
- package/_types/chain/viemChains/saakuru.d.ts.map +1 -1
- package/_types/chain/viemChains/soneium.d.ts +45 -44
- package/_types/chain/viemChains/soneium.d.ts.map +1 -1
- package/_types/chain/viemChains/sonic.d.ts +1 -0
- package/_types/chain/viemChains/sonic.d.ts.map +1 -1
- package/_types/chain/viemChains/tcgVerse.d.ts +2 -0
- package/_types/chain/viemChains/tcgVerse.d.ts.map +1 -1
- package/_types/logic/analyzeTransaction/createActions/json/schema.d.ts +45 -45
- package/_types/logic/analyzeTransaction/decodeTransaction/decodeLog.d.ts.map +1 -1
- package/_types/types/erc1155.d.ts +3 -3
- package/_types/types/erc20.d.ts +3 -3
- package/_types/types/erc721.d.ts +3 -3
- package/_types/types/internalTransaction.d.ts +3 -3
- package/_types/types/transactionDecoded.d.ts +12 -74
- package/_types/types/transactionDecoded.d.ts.map +1 -1
- package/_types/types/transactionIndex.d.ts +3 -3
- package/logic/analyzeTransaction/decodeTransaction/decodeLog.ts +1 -4
- package/package.json +6 -6
|
@@ -26,7 +26,7 @@ const decodeLogByAddressAbi = (log, abiText) => {
|
|
|
26
26
|
console.debug(parsedAbi.error);
|
|
27
27
|
return undefined;
|
|
28
28
|
}
|
|
29
|
-
const abi = parsedAbi.data;
|
|
29
|
+
const abi = parsedAbi.data.filter((v) => v.type === 'event');
|
|
30
30
|
const decodedLog = (0, viem_1.decodeEventLog)({
|
|
31
31
|
abi,
|
|
32
32
|
topics: log.topics,
|
|
@@ -36,9 +36,6 @@ const decodeLogByAddressAbi = (log, abiText) => {
|
|
|
36
36
|
abi,
|
|
37
37
|
name: decodedLog.eventName,
|
|
38
38
|
});
|
|
39
|
-
if (abiItem.type !== 'event') {
|
|
40
|
-
return undefined;
|
|
41
|
-
}
|
|
42
39
|
return {
|
|
43
40
|
...log,
|
|
44
41
|
eventName: decodedLog.eventName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decodeLog.js","sourceRoot":"","sources":["../../../../logic/analyzeTransaction/decodeTransaction/decodeLog.ts"],"names":[],"mappings":";;;AAAA,qCAA2C;AAC3C,+BAAgF;AAUzE,MAAM,SAAS,GAAG,CAAC,EACxB,GAAG,EACH,UAAU,EACV,SAAS,GACW,EAAO,EAAE;IAE7B,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,MAAM,OAAO,GAAG,IAAA,6BAAqB,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QACtD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,OAAO,OAAO,CAAA;QAChB,CAAC;IACH,CAAC;IAGD,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,MAAM,OAAO,GAAG,qBAAqB,CAAC,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|
28
|
-
const abi = parsedAbi.data;
|
|
28
|
+
const abi = parsedAbi.data.filter((v) => v.type === 'event');
|
|
29
29
|
const decodedLog = decodeEventLog({
|
|
30
30
|
abi,
|
|
31
31
|
topics: log.topics,
|
|
@@ -35,9 +35,6 @@ export const decodeLogByAddressAbi = (log, abiText) => {
|
|
|
35
35
|
abi,
|
|
36
36
|
name: decodedLog.eventName,
|
|
37
37
|
});
|
|
38
|
-
if (abiItem.type !== 'event') {
|
|
39
|
-
return undefined;
|
|
40
|
-
}
|
|
41
38
|
return {
|
|
42
39
|
...log,
|
|
43
40
|
eventName: decodedLog.eventName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decodeLog.js","sourceRoot":"","sources":["../../../../logic/analyzeTransaction/decodeTransaction/decodeLog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAiC,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAUhF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EACxB,GAAG,EACH,UAAU,EACV,SAAS,GACW,EAAO,EAAE;IAC7B,6CAA6C;IAC7C,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,MAAM,OAAO,GAAG,qBAAqB,CAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QACtD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,OAAO,OAAO,CAAA;QAChB,CAAC;IACH,CAAC;IAED,sDAAsD;IACtD,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,MAAM,OAAO,GAAG,qBAAqB,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;QACpD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,OAAO,OAAO,CAAA;QAChB,CAAC;IACH,CAAC;IAED,6BAA6B;IAC7B,OAAO,GAAG,CAAA;AACZ,CAAC,CAAA;AAED,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AA;YAC9B,OAAO,SAAS,CAAA;QAClB,CAAC;QACD,MAAM,OAAO,GAAG,SAAS,CAAC,IAAI,CAAA;QAC9B,MAAM,UAAU,GAAG,cAAc,CAAC;YAChC,GAAG,EAAE,CAAC,OAAO,CAAC;YACd,MAAM,EAAE,GAAG,CAAC,MAA8B;YAC1C,IAAI,EAAE,GAAG,CAAC,IAAI;SACf,CAAC,CAAA;QACF,OAAO;YACL,GAAG,GAAG;YACN,SAAS,EAAE,UAAU,CAAC,SAAS;YAC/B,IAAI,EAAE,aAAa,CAAC,UAAU,CAAC,IAAI,EAAE,OAAO,CAAC;SAC9C,CAAA;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,SAAS,CAAA;IAClB,CAAC;AACH,CAAC,CAAA;AAED,MAAM,aAAa,GAAG,CACpB,IAAyC,EACzC,OAAqB,EACrB,EAAE,CACF,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;IACtD,OAAO,EAAE,OAAO,IAAI,KAAK;IACzB,IAAI,EAAE,IAAI,IAAI,EAAE;IAChB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;CAC5D,CAAC,CAAC,CAAA"}
|
|
@@ -13,7 +13,9 @@ export declare const chainVerse: {
|
|
|
13
13
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
14
14
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
15
15
|
multicall3?: import("viem").ChainContract | undefined;
|
|
16
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
16
17
|
} | undefined;
|
|
18
|
+
ensTlds?: readonly string[] | undefined;
|
|
17
19
|
id: 5555;
|
|
18
20
|
name: "Chain Verse";
|
|
19
21
|
nativeCurrency: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chainVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/chainVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"chainVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/chainVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBrB,CAAA"}
|
|
@@ -13,7 +13,9 @@ export declare const defiVerse: {
|
|
|
13
13
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
14
14
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
15
15
|
multicall3?: import("viem").ChainContract | undefined;
|
|
16
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
16
17
|
} | undefined;
|
|
18
|
+
ensTlds?: readonly string[] | undefined;
|
|
17
19
|
id: 16116;
|
|
18
20
|
name: "DeFiVerse";
|
|
19
21
|
nativeCurrency: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defiVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/defiVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"defiVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/defiVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBpB,CAAA"}
|
|
@@ -13,7 +13,9 @@ export declare const geekVerse: {
|
|
|
13
13
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
14
14
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
15
15
|
multicall3?: import("viem").ChainContract | undefined;
|
|
16
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
16
17
|
} | undefined;
|
|
18
|
+
ensTlds?: readonly string[] | undefined;
|
|
17
19
|
id: 75512;
|
|
18
20
|
name: "GEEK Verse";
|
|
19
21
|
nativeCurrency: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geekVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/geekVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"geekVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/geekVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBpB,CAAA"}
|
|
@@ -13,7 +13,9 @@ export declare const gesoVerse: {
|
|
|
13
13
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
14
14
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
15
15
|
multicall3?: import("viem").ChainContract | undefined;
|
|
16
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
16
17
|
} | undefined;
|
|
18
|
+
ensTlds?: readonly string[] | undefined;
|
|
17
19
|
id: 428;
|
|
18
20
|
name: "GESOVerse";
|
|
19
21
|
nativeCurrency: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gesoVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/gesoVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"gesoVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/gesoVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBpB,CAAA"}
|
|
@@ -13,7 +13,9 @@ export declare const homeVerse: {
|
|
|
13
13
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
14
14
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
15
15
|
multicall3?: import("viem").ChainContract | undefined;
|
|
16
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
16
17
|
} | undefined;
|
|
18
|
+
ensTlds?: readonly string[] | undefined;
|
|
17
19
|
id: 19011;
|
|
18
20
|
name: "HOME Verse";
|
|
19
21
|
nativeCurrency: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"homeVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/homeVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"homeVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/homeVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBpB,CAAA"}
|
|
@@ -13,7 +13,9 @@ export declare const mchVerse: {
|
|
|
13
13
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
14
14
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
15
15
|
multicall3?: import("viem").ChainContract | undefined;
|
|
16
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
16
17
|
} | undefined;
|
|
18
|
+
ensTlds?: readonly string[] | undefined;
|
|
17
19
|
id: 29548;
|
|
18
20
|
name: "MCH Verse";
|
|
19
21
|
nativeCurrency: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mchVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/mchVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"mchVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/mchVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBnB,CAAA"}
|
|
@@ -13,7 +13,9 @@ export declare const saakuru: {
|
|
|
13
13
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
14
14
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
15
15
|
multicall3?: import("viem").ChainContract | undefined;
|
|
16
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
16
17
|
} | undefined;
|
|
18
|
+
ensTlds?: readonly string[] | undefined;
|
|
17
19
|
id: 7225878;
|
|
18
20
|
name: "Saakuru";
|
|
19
21
|
nativeCurrency: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saakuru.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/saakuru.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"saakuru.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/saakuru.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBlB,CAAA"}
|
|
@@ -52,6 +52,7 @@ export declare const soneium: {
|
|
|
52
52
|
readonly address: "0x4200000000000000000000000000000000000016";
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
+
ensTlds?: readonly string[] | undefined;
|
|
55
56
|
id: 1868;
|
|
56
57
|
name: "Soneium Mainnet";
|
|
57
58
|
nativeCurrency: {
|
|
@@ -85,7 +86,7 @@ export declare const soneium: {
|
|
|
85
86
|
mixHash: import("viem").Hash;
|
|
86
87
|
nonce: `0x${string}` | null;
|
|
87
88
|
number: bigint | null;
|
|
88
|
-
parentBeaconBlockRoot?:
|
|
89
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
89
90
|
parentHash: import("viem").Hash;
|
|
90
91
|
receiptsRoot: import("viem").Hex;
|
|
91
92
|
sealFields: import("viem").Hex[];
|
|
@@ -97,8 +98,8 @@ export declare const soneium: {
|
|
|
97
98
|
transactions: `0x${string}`[] | import("viem/op-stack").OpStackTransaction<boolean>[];
|
|
98
99
|
transactionsRoot: import("viem").Hash;
|
|
99
100
|
uncles: import("viem").Hash[];
|
|
100
|
-
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
101
|
-
withdrawalsRoot?:
|
|
101
|
+
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
102
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
102
103
|
} & {};
|
|
103
104
|
type: "block";
|
|
104
105
|
};
|
|
@@ -120,12 +121,12 @@ export declare const soneium: {
|
|
|
120
121
|
v: bigint;
|
|
121
122
|
value: bigint;
|
|
122
123
|
yParity: number;
|
|
123
|
-
gasPrice?: undefined;
|
|
124
|
-
maxFeePerBlobGas?: undefined;
|
|
124
|
+
gasPrice?: undefined | undefined;
|
|
125
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
125
126
|
maxFeePerGas: bigint;
|
|
126
127
|
maxPriorityFeePerGas: bigint;
|
|
127
128
|
isSystemTx?: boolean;
|
|
128
|
-
mint?: bigint | undefined;
|
|
129
|
+
mint?: bigint | undefined | undefined;
|
|
129
130
|
sourceHash: import("viem").Hex;
|
|
130
131
|
type: "deposit";
|
|
131
132
|
} | {
|
|
@@ -143,19 +144,19 @@ export declare const soneium: {
|
|
|
143
144
|
input: import("viem").Hex;
|
|
144
145
|
transactionIndex: number | null;
|
|
145
146
|
typeHex: import("viem").Hex | null;
|
|
146
|
-
accessList?: undefined;
|
|
147
|
-
authorizationList?: undefined;
|
|
148
|
-
blobVersionedHashes?: undefined;
|
|
147
|
+
accessList?: undefined | undefined;
|
|
148
|
+
authorizationList?: undefined | undefined;
|
|
149
|
+
blobVersionedHashes?: undefined | undefined;
|
|
149
150
|
chainId?: number | undefined;
|
|
150
|
-
yParity?: undefined;
|
|
151
|
+
yParity?: undefined | undefined;
|
|
151
152
|
type: "legacy";
|
|
152
153
|
gasPrice: bigint;
|
|
153
|
-
maxFeePerBlobGas?: undefined;
|
|
154
|
-
maxFeePerGas?: undefined;
|
|
155
|
-
maxPriorityFeePerGas?: undefined;
|
|
156
|
-
isSystemTx?: undefined;
|
|
157
|
-
mint?: undefined;
|
|
158
|
-
sourceHash?: undefined;
|
|
154
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
155
|
+
maxFeePerGas?: undefined | undefined;
|
|
156
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
157
|
+
isSystemTx?: undefined | undefined;
|
|
158
|
+
mint?: undefined | undefined;
|
|
159
|
+
sourceHash?: undefined | undefined;
|
|
159
160
|
} | {
|
|
160
161
|
blockHash: `0x${string}` | null;
|
|
161
162
|
blockNumber: bigint | null;
|
|
@@ -173,17 +174,17 @@ export declare const soneium: {
|
|
|
173
174
|
value: bigint;
|
|
174
175
|
yParity: number;
|
|
175
176
|
accessList: import("viem").AccessList;
|
|
176
|
-
authorizationList?: undefined;
|
|
177
|
-
blobVersionedHashes?: undefined;
|
|
177
|
+
authorizationList?: undefined | undefined;
|
|
178
|
+
blobVersionedHashes?: undefined | undefined;
|
|
178
179
|
chainId: number;
|
|
179
180
|
type: "eip2930";
|
|
180
181
|
gasPrice: bigint;
|
|
181
|
-
maxFeePerBlobGas?: undefined;
|
|
182
|
-
maxFeePerGas?: undefined;
|
|
183
|
-
maxPriorityFeePerGas?: undefined;
|
|
184
|
-
isSystemTx?: undefined;
|
|
185
|
-
mint?: undefined;
|
|
186
|
-
sourceHash?: undefined;
|
|
182
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
183
|
+
maxFeePerGas?: undefined | undefined;
|
|
184
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
185
|
+
isSystemTx?: undefined | undefined;
|
|
186
|
+
mint?: undefined | undefined;
|
|
187
|
+
sourceHash?: undefined | undefined;
|
|
187
188
|
} | {
|
|
188
189
|
blockHash: `0x${string}` | null;
|
|
189
190
|
blockNumber: bigint | null;
|
|
@@ -201,17 +202,17 @@ export declare const soneium: {
|
|
|
201
202
|
value: bigint;
|
|
202
203
|
yParity: number;
|
|
203
204
|
accessList: import("viem").AccessList;
|
|
204
|
-
authorizationList?: undefined;
|
|
205
|
-
blobVersionedHashes?: undefined;
|
|
205
|
+
authorizationList?: undefined | undefined;
|
|
206
|
+
blobVersionedHashes?: undefined | undefined;
|
|
206
207
|
chainId: number;
|
|
207
208
|
type: "eip1559";
|
|
208
|
-
gasPrice?: undefined;
|
|
209
|
-
maxFeePerBlobGas?: undefined;
|
|
209
|
+
gasPrice?: undefined | undefined;
|
|
210
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
210
211
|
maxFeePerGas: bigint;
|
|
211
212
|
maxPriorityFeePerGas: bigint;
|
|
212
|
-
isSystemTx?: undefined;
|
|
213
|
-
mint?: undefined;
|
|
214
|
-
sourceHash?: undefined;
|
|
213
|
+
isSystemTx?: undefined | undefined;
|
|
214
|
+
mint?: undefined | undefined;
|
|
215
|
+
sourceHash?: undefined | undefined;
|
|
215
216
|
} | {
|
|
216
217
|
blockHash: `0x${string}` | null;
|
|
217
218
|
blockNumber: bigint | null;
|
|
@@ -229,17 +230,17 @@ export declare const soneium: {
|
|
|
229
230
|
value: bigint;
|
|
230
231
|
yParity: number;
|
|
231
232
|
accessList: import("viem").AccessList;
|
|
232
|
-
authorizationList?: undefined;
|
|
233
|
+
authorizationList?: undefined | undefined;
|
|
233
234
|
blobVersionedHashes: readonly import("viem").Hex[];
|
|
234
235
|
chainId: number;
|
|
235
236
|
type: "eip4844";
|
|
236
|
-
gasPrice?: undefined;
|
|
237
|
+
gasPrice?: undefined | undefined;
|
|
237
238
|
maxFeePerBlobGas: bigint;
|
|
238
239
|
maxFeePerGas: bigint;
|
|
239
240
|
maxPriorityFeePerGas: bigint;
|
|
240
|
-
isSystemTx?: undefined;
|
|
241
|
-
mint?: undefined;
|
|
242
|
-
sourceHash?: undefined;
|
|
241
|
+
isSystemTx?: undefined | undefined;
|
|
242
|
+
mint?: undefined | undefined;
|
|
243
|
+
sourceHash?: undefined | undefined;
|
|
243
244
|
} | {
|
|
244
245
|
blockHash: `0x${string}` | null;
|
|
245
246
|
blockNumber: bigint | null;
|
|
@@ -257,17 +258,17 @@ export declare const soneium: {
|
|
|
257
258
|
value: bigint;
|
|
258
259
|
yParity: number;
|
|
259
260
|
accessList: import("viem").AccessList;
|
|
260
|
-
authorizationList: import("viem
|
|
261
|
-
blobVersionedHashes?: undefined;
|
|
261
|
+
authorizationList: import("viem").SignedAuthorizationList;
|
|
262
|
+
blobVersionedHashes?: undefined | undefined;
|
|
262
263
|
chainId: number;
|
|
263
264
|
type: "eip7702";
|
|
264
|
-
gasPrice?: undefined;
|
|
265
|
-
maxFeePerBlobGas?: undefined;
|
|
265
|
+
gasPrice?: undefined | undefined;
|
|
266
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
266
267
|
maxFeePerGas: bigint;
|
|
267
268
|
maxPriorityFeePerGas: bigint;
|
|
268
|
-
isSystemTx?: undefined;
|
|
269
|
-
mint?: undefined;
|
|
270
|
-
sourceHash?: undefined;
|
|
269
|
+
isSystemTx?: undefined | undefined;
|
|
270
|
+
mint?: undefined | undefined;
|
|
271
|
+
sourceHash?: undefined | undefined;
|
|
271
272
|
}) & {};
|
|
272
273
|
type: "transaction";
|
|
273
274
|
};
|
|
@@ -285,7 +286,7 @@ export declare const soneium: {
|
|
|
285
286
|
gasUsed: bigint;
|
|
286
287
|
logs: import("viem").Log<bigint, number, false>[];
|
|
287
288
|
logsBloom: import("viem").Hex;
|
|
288
|
-
root?:
|
|
289
|
+
root?: `0x${string}` | undefined;
|
|
289
290
|
status: "success" | "reverted";
|
|
290
291
|
to: import("viem").Address | null;
|
|
291
292
|
transactionHash: import("viem").Hash;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"soneium.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/soneium.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"soneium.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/soneium.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAgDmS,CAAC;;;;;;;;;;;;2BAA0pB,CAAC;+BAA6F,CAAC;;;;;;;;;;;;;;;;;;;;;;wBAAw4B,CAAC;gCAAyD,CAAC;;;0BAAuI,CAAC;oBAA+B,CAAC;;;;;;;;;;;;;;;;;;0BAA4wB,CAAC;iCAA0D,CAAC;mCAA4D,CAAC;uBAAgD,CAAC;uBAA6C,CAAC;;;gCAA2H,CAAC;4BAAqD,CAAC;oCAA6D,CAAC;0BAAmD,CAAC;oBAA6C,CAAC;0BAAmD,CAAC;;;;;;;;;;;;;;;;;;iCAAixB,CAAC;mCAA4D,CAAC;;;;gCAA6J,CAAC;4BAAqD,CAAC;oCAA6D,CAAC;0BAAmD,CAAC;oBAA6C,CAAC;0BAAmD,CAAC;;;;;;;;;;;;;;;;;;iCAAixB,CAAC;mCAA4D,CAAC;;;wBAAmH,CAAC;gCAAyD,CAAC;;;0BAAuI,CAAC;oBAA6C,CAAC;0BAAmD,CAAC;;;;;;;;;;;;;;;;;;iCAAixB,CAAC;;;;wBAA8L,CAAC;;;;0BAAiL,CAAC;oBAA6C,CAAC;0BAAmD,CAAC;;;;;;;;;;;;;;;;;;;mCAAq2B,CAAC;;;wBAAmH,CAAC;gCAAyD,CAAC;;;0BAAuI,CAAC;oBAA6C,CAAC;0BAAmD,CAAC;;;;;;;4BAAqR,CAAC;2BAAiD,CAAC;;;;;;;;;;oBAA6f,CAAC;;;;;;;;;;;;;;;;;CAD3wS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sonic.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/sonic.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"sonic.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/sonic.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBhB,CAAA"}
|
|
@@ -13,7 +13,9 @@ export declare const tcgVerse: {
|
|
|
13
13
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
14
14
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
15
15
|
multicall3?: import("viem").ChainContract | undefined;
|
|
16
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
16
17
|
} | undefined;
|
|
18
|
+
ensTlds?: readonly string[] | undefined;
|
|
17
19
|
id: 2400;
|
|
18
20
|
name: "TCG Verse";
|
|
19
21
|
nativeCurrency: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tcgVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/tcgVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"tcgVerse.d.ts","sourceRoot":"","sources":["../../../chain/viemChains/tcgVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBnB,CAAA"}
|
|
@@ -38678,7 +38678,7 @@ export declare const exactLogsConditionSchema: z.ZodObject<{
|
|
|
38678
38678
|
}>;
|
|
38679
38679
|
export declare const someLogsConditionSchema: z.ZodObject<{
|
|
38680
38680
|
type: z.ZodLiteral<"some">;
|
|
38681
|
-
patterns: z.ZodArray<z.ZodObject<
|
|
38681
|
+
patterns: z.ZodArray<z.ZodObject<{
|
|
38682
38682
|
address: z.ZodOptional<z.ZodObject<{
|
|
38683
38683
|
type: z.ZodLiteral<"array-in">;
|
|
38684
38684
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -56071,7 +56071,7 @@ export declare const someLogsConditionSchema: z.ZodObject<{
|
|
|
56071
56071
|
};
|
|
56072
56072
|
index: number;
|
|
56073
56073
|
}>, "many">>;
|
|
56074
|
-
}
|
|
56074
|
+
} & {
|
|
56075
56075
|
count: z.ZodObject<{
|
|
56076
56076
|
type: z.ZodLiteral<"between">;
|
|
56077
56077
|
min: z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
@@ -56085,7 +56085,7 @@ export declare const someLogsConditionSchema: z.ZodObject<{
|
|
|
56085
56085
|
min?: string | undefined;
|
|
56086
56086
|
max?: string | undefined;
|
|
56087
56087
|
}>;
|
|
56088
|
-
}
|
|
56088
|
+
}, "strip", z.ZodTypeAny, {
|
|
56089
56089
|
signature: string;
|
|
56090
56090
|
indexedCount: number;
|
|
56091
56091
|
count: {
|
|
@@ -119630,7 +119630,7 @@ export declare const exactErc20TransfersConditionSchema: z.ZodObject<{
|
|
|
119630
119630
|
}>;
|
|
119631
119631
|
export declare const someErc20TransfersConditionSchema: z.ZodObject<{
|
|
119632
119632
|
type: z.ZodLiteral<"some">;
|
|
119633
|
-
patterns: z.ZodArray<z.ZodObject<
|
|
119633
|
+
patterns: z.ZodArray<z.ZodObject<{
|
|
119634
119634
|
address: z.ZodOptional<z.ZodObject<{
|
|
119635
119635
|
type: z.ZodLiteral<"array-in">;
|
|
119636
119636
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -139813,7 +139813,7 @@ export declare const someErc20TransfersConditionSchema: z.ZodObject<{
|
|
|
139813
139813
|
min?: string | undefined;
|
|
139814
139814
|
max?: string | undefined;
|
|
139815
139815
|
}>]>>;
|
|
139816
|
-
}
|
|
139816
|
+
} & {
|
|
139817
139817
|
count: z.ZodObject<{
|
|
139818
139818
|
type: z.ZodLiteral<"between">;
|
|
139819
139819
|
min: z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
@@ -139827,7 +139827,7 @@ export declare const someErc20TransfersConditionSchema: z.ZodObject<{
|
|
|
139827
139827
|
min?: string | undefined;
|
|
139828
139828
|
max?: string | undefined;
|
|
139829
139829
|
}>;
|
|
139830
|
-
}
|
|
139830
|
+
}, "strip", z.ZodTypeAny, {
|
|
139831
139831
|
count: {
|
|
139832
139832
|
type: "between";
|
|
139833
139833
|
min?: bigint | undefined;
|
|
@@ -205876,7 +205876,7 @@ export declare const exactErc721TransfersConditionSchema: z.ZodObject<{
|
|
|
205876
205876
|
}>;
|
|
205877
205877
|
export declare const someErc721TransfersConditionSchema: z.ZodObject<{
|
|
205878
205878
|
type: z.ZodLiteral<"some">;
|
|
205879
|
-
patterns: z.ZodArray<z.ZodObject<
|
|
205879
|
+
patterns: z.ZodArray<z.ZodObject<{
|
|
205880
205880
|
address: z.ZodOptional<z.ZodObject<{
|
|
205881
205881
|
type: z.ZodLiteral<"array-in">;
|
|
205882
205882
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -226047,7 +226047,7 @@ export declare const someErc721TransfersConditionSchema: z.ZodObject<{
|
|
|
226047
226047
|
})[];
|
|
226048
226048
|
type: "join";
|
|
226049
226049
|
}>]>>;
|
|
226050
|
-
}
|
|
226050
|
+
} & {
|
|
226051
226051
|
count: z.ZodObject<{
|
|
226052
226052
|
type: z.ZodLiteral<"between">;
|
|
226053
226053
|
min: z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
@@ -226061,7 +226061,7 @@ export declare const someErc721TransfersConditionSchema: z.ZodObject<{
|
|
|
226061
226061
|
min?: string | undefined;
|
|
226062
226062
|
max?: string | undefined;
|
|
226063
226063
|
}>;
|
|
226064
|
-
}
|
|
226064
|
+
}, "strip", z.ZodTypeAny, {
|
|
226065
226065
|
count: {
|
|
226066
226066
|
type: "between";
|
|
226067
226067
|
min?: bigint | undefined;
|
|
@@ -304126,7 +304126,7 @@ export declare const exactErc1155TransfersConditionSchema: z.ZodObject<{
|
|
|
304126
304126
|
}>;
|
|
304127
304127
|
export declare const someErc1155TransfersConditionSchema: z.ZodObject<{
|
|
304128
304128
|
type: z.ZodLiteral<"some">;
|
|
304129
|
-
patterns: z.ZodArray<z.ZodObject<
|
|
304129
|
+
patterns: z.ZodArray<z.ZodObject<{
|
|
304130
304130
|
address: z.ZodOptional<z.ZodObject<{
|
|
304131
304131
|
type: z.ZodLiteral<"array-in">;
|
|
304132
304132
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -328387,7 +328387,7 @@ export declare const someErc1155TransfersConditionSchema: z.ZodObject<{
|
|
|
328387
328387
|
min?: string | undefined;
|
|
328388
328388
|
max?: string | undefined;
|
|
328389
328389
|
}>]>>;
|
|
328390
|
-
}
|
|
328390
|
+
} & {
|
|
328391
328391
|
count: z.ZodObject<{
|
|
328392
328392
|
type: z.ZodLiteral<"between">;
|
|
328393
328393
|
min: z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
@@ -328401,7 +328401,7 @@ export declare const someErc1155TransfersConditionSchema: z.ZodObject<{
|
|
|
328401
328401
|
min?: string | undefined;
|
|
328402
328402
|
max?: string | undefined;
|
|
328403
328403
|
}>;
|
|
328404
|
-
}
|
|
328404
|
+
}, "strip", z.ZodTypeAny, {
|
|
328405
328405
|
count: {
|
|
328406
328406
|
type: "between";
|
|
328407
328407
|
min?: bigint | undefined;
|
|
@@ -355890,7 +355890,7 @@ export declare const conditionSchema: z.ZodObject<{
|
|
|
355890
355890
|
]>>;
|
|
355891
355891
|
}>;
|
|
355892
355892
|
declare const transferDirectionSchema: z.ZodUnion<[z.ZodLiteral<"in">, z.ZodLiteral<"out">, z.ZodLiteral<"none">]>;
|
|
355893
|
-
export declare const erc20TransferGeneratorSchema: z.ZodObject<
|
|
355893
|
+
export declare const erc20TransferGeneratorSchema: z.ZodObject<{
|
|
355894
355894
|
address: z.ZodOptional<z.ZodObject<{
|
|
355895
355895
|
type: z.ZodLiteral<"array-in">;
|
|
355896
355896
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -376073,11 +376073,11 @@ export declare const erc20TransferGeneratorSchema: z.ZodObject<z.objectUtil.exte
|
|
|
376073
376073
|
min?: string | undefined;
|
|
376074
376074
|
max?: string | undefined;
|
|
376075
376075
|
}>]>>;
|
|
376076
|
-
}
|
|
376076
|
+
} & {
|
|
376077
376077
|
type: z.ZodLiteral<"erc20">;
|
|
376078
376078
|
direction: z.ZodUnion<[z.ZodLiteral<"in">, z.ZodLiteral<"out">, z.ZodLiteral<"none">]>;
|
|
376079
376079
|
index: z.ZodOptional<z.ZodNumber>;
|
|
376080
|
-
}
|
|
376080
|
+
}, "strip", z.ZodTypeAny, {
|
|
376081
376081
|
type: "erc20";
|
|
376082
376082
|
direction: "in" | "out" | "none";
|
|
376083
376083
|
address?: {
|
|
@@ -381222,7 +381222,7 @@ export declare const erc20TransferGeneratorSchema: z.ZodObject<z.objectUtil.exte
|
|
|
381222
381222
|
} | undefined;
|
|
381223
381223
|
index?: number | undefined;
|
|
381224
381224
|
}>;
|
|
381225
|
-
export declare const erc721TransferGeneratorSchema: z.ZodObject<
|
|
381225
|
+
export declare const erc721TransferGeneratorSchema: z.ZodObject<{
|
|
381226
381226
|
address: z.ZodOptional<z.ZodObject<{
|
|
381227
381227
|
type: z.ZodLiteral<"array-in">;
|
|
381228
381228
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -401393,11 +401393,11 @@ export declare const erc721TransferGeneratorSchema: z.ZodObject<z.objectUtil.ext
|
|
|
401393
401393
|
})[];
|
|
401394
401394
|
type: "join";
|
|
401395
401395
|
}>]>>;
|
|
401396
|
-
}
|
|
401396
|
+
} & {
|
|
401397
401397
|
type: z.ZodLiteral<"erc721">;
|
|
401398
401398
|
direction: z.ZodUnion<[z.ZodLiteral<"in">, z.ZodLiteral<"out">, z.ZodLiteral<"none">]>;
|
|
401399
401399
|
index: z.ZodOptional<z.ZodNumber>;
|
|
401400
|
-
}
|
|
401400
|
+
}, "strip", z.ZodTypeAny, {
|
|
401401
401401
|
type: "erc721";
|
|
401402
401402
|
direction: "in" | "out" | "none";
|
|
401403
401403
|
address?: {
|
|
@@ -406534,7 +406534,7 @@ export declare const erc721TransferGeneratorSchema: z.ZodObject<z.objectUtil.ext
|
|
|
406534
406534
|
} | undefined;
|
|
406535
406535
|
index?: number | undefined;
|
|
406536
406536
|
}>;
|
|
406537
|
-
export declare const erc1155TransferGeneratorSchema: z.ZodObject<
|
|
406537
|
+
export declare const erc1155TransferGeneratorSchema: z.ZodObject<{
|
|
406538
406538
|
address: z.ZodOptional<z.ZodObject<{
|
|
406539
406539
|
type: z.ZodLiteral<"array-in">;
|
|
406540
406540
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -430795,11 +430795,11 @@ export declare const erc1155TransferGeneratorSchema: z.ZodObject<z.objectUtil.ex
|
|
|
430795
430795
|
min?: string | undefined;
|
|
430796
430796
|
max?: string | undefined;
|
|
430797
430797
|
}>]>>;
|
|
430798
|
-
}
|
|
430798
|
+
} & {
|
|
430799
430799
|
type: z.ZodLiteral<"erc1155">;
|
|
430800
430800
|
direction: z.ZodUnion<[z.ZodLiteral<"in">, z.ZodLiteral<"out">, z.ZodLiteral<"none">]>;
|
|
430801
430801
|
index: z.ZodOptional<z.ZodNumber>;
|
|
430802
|
-
}
|
|
430802
|
+
}, "strip", z.ZodTypeAny, {
|
|
430803
430803
|
type: "erc1155";
|
|
430804
430804
|
direction: "in" | "out" | "none";
|
|
430805
430805
|
address?: {
|
|
@@ -455903,7 +455903,7 @@ export declare const internalTransferGeneratorSchema: z.ZodObject<{
|
|
|
455903
455903
|
} | undefined;
|
|
455904
455904
|
index?: number | undefined;
|
|
455905
455905
|
}>;
|
|
455906
|
-
declare const customTransferErc20AssetSchema: z.ZodObject<
|
|
455906
|
+
declare const customTransferErc20AssetSchema: z.ZodObject<{
|
|
455907
455907
|
address: z.ZodOptional<z.ZodObject<{
|
|
455908
455908
|
type: z.ZodLiteral<"array-in">;
|
|
455909
455909
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -476086,10 +476086,10 @@ declare const customTransferErc20AssetSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
476086
476086
|
min?: string | undefined;
|
|
476087
476087
|
max?: string | undefined;
|
|
476088
476088
|
}>]>>;
|
|
476089
|
-
}
|
|
476089
|
+
} & {
|
|
476090
476090
|
type: z.ZodLiteral<"erc20">;
|
|
476091
476091
|
index: z.ZodNumber;
|
|
476092
|
-
}
|
|
476092
|
+
}, "strip", z.ZodTypeAny, {
|
|
476093
476093
|
type: "erc20";
|
|
476094
476094
|
index: number;
|
|
476095
476095
|
address?: {
|
|
@@ -481232,7 +481232,7 @@ declare const customTransferErc20AssetSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
481232
481232
|
type: "join";
|
|
481233
481233
|
} | undefined;
|
|
481234
481234
|
}>;
|
|
481235
|
-
declare const customTransferErc721AssetSchema: z.ZodObject<
|
|
481235
|
+
declare const customTransferErc721AssetSchema: z.ZodObject<{
|
|
481236
481236
|
address: z.ZodOptional<z.ZodObject<{
|
|
481237
481237
|
type: z.ZodLiteral<"array-in">;
|
|
481238
481238
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -501403,10 +501403,10 @@ declare const customTransferErc721AssetSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
501403
501403
|
})[];
|
|
501404
501404
|
type: "join";
|
|
501405
501405
|
}>]>>;
|
|
501406
|
-
}
|
|
501406
|
+
} & {
|
|
501407
501407
|
type: z.ZodLiteral<"erc721">;
|
|
501408
501408
|
index: z.ZodNumber;
|
|
501409
|
-
}
|
|
501409
|
+
}, "strip", z.ZodTypeAny, {
|
|
501410
501410
|
type: "erc721";
|
|
501411
501411
|
index: number;
|
|
501412
501412
|
address?: {
|
|
@@ -506541,7 +506541,7 @@ declare const customTransferErc721AssetSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
506541
506541
|
type: "join";
|
|
506542
506542
|
} | undefined;
|
|
506543
506543
|
}>;
|
|
506544
|
-
declare const customTransferErc1155AssetSchema: z.ZodObject<
|
|
506544
|
+
declare const customTransferErc1155AssetSchema: z.ZodObject<{
|
|
506545
506545
|
address: z.ZodOptional<z.ZodObject<{
|
|
506546
506546
|
type: z.ZodLiteral<"array-in">;
|
|
506547
506547
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -530802,10 +530802,10 @@ declare const customTransferErc1155AssetSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
530802
530802
|
min?: string | undefined;
|
|
530803
530803
|
max?: string | undefined;
|
|
530804
530804
|
}>]>>;
|
|
530805
|
-
}
|
|
530805
|
+
} & {
|
|
530806
530806
|
type: z.ZodLiteral<"erc1155">;
|
|
530807
530807
|
index: z.ZodNumber;
|
|
530808
|
-
}
|
|
530808
|
+
}, "strip", z.ZodTypeAny, {
|
|
530809
530809
|
type: "erc1155";
|
|
530810
530810
|
index: number;
|
|
530811
530811
|
address?: {
|
|
@@ -555939,7 +555939,7 @@ export declare const transferGeneratorSchema: z.ZodUnion<[
|
|
|
555939
555939
|
typeof targetTransferGeneratorSchema,
|
|
555940
555940
|
typeof customTransferGeneratorSchema
|
|
555941
555941
|
]>;
|
|
555942
|
-
declare const targetErc20GeneratorSchema: z.ZodObject<
|
|
555942
|
+
declare const targetErc20GeneratorSchema: z.ZodObject<{
|
|
555943
555943
|
address: z.ZodOptional<z.ZodObject<{
|
|
555944
555944
|
type: z.ZodLiteral<"array-in">;
|
|
555945
555945
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -576122,9 +576122,9 @@ declare const targetErc20GeneratorSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
576122
576122
|
min?: string | undefined;
|
|
576123
576123
|
max?: string | undefined;
|
|
576124
576124
|
}>]>>;
|
|
576125
|
-
}
|
|
576125
|
+
} & {
|
|
576126
576126
|
type: z.ZodLiteral<"erc20">;
|
|
576127
|
-
}
|
|
576127
|
+
}, "strip", z.ZodTypeAny, {
|
|
576128
576128
|
type: "erc20";
|
|
576129
576129
|
address?: {
|
|
576130
576130
|
values: (string | {
|
|
@@ -581265,7 +581265,7 @@ declare const targetErc20GeneratorSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
581265
581265
|
type: "join";
|
|
581266
581266
|
} | undefined;
|
|
581267
581267
|
}>;
|
|
581268
|
-
declare const targetErc721GeneratorSchema: z.ZodObject<
|
|
581268
|
+
declare const targetErc721GeneratorSchema: z.ZodObject<{
|
|
581269
581269
|
address: z.ZodOptional<z.ZodObject<{
|
|
581270
581270
|
type: z.ZodLiteral<"array-in">;
|
|
581271
581271
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -601436,9 +601436,9 @@ declare const targetErc721GeneratorSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
601436
601436
|
})[];
|
|
601437
601437
|
type: "join";
|
|
601438
601438
|
}>]>>;
|
|
601439
|
-
}
|
|
601439
|
+
} & {
|
|
601440
601440
|
type: z.ZodLiteral<"erc721">;
|
|
601441
|
-
}
|
|
601441
|
+
}, "strip", z.ZodTypeAny, {
|
|
601442
601442
|
type: "erc721";
|
|
601443
601443
|
address?: {
|
|
601444
601444
|
values: (string | {
|
|
@@ -606571,7 +606571,7 @@ declare const targetErc721GeneratorSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
606571
606571
|
type: "join";
|
|
606572
606572
|
} | undefined;
|
|
606573
606573
|
}>;
|
|
606574
|
-
declare const targetErc1155GeneratorSchema: z.ZodObject<
|
|
606574
|
+
declare const targetErc1155GeneratorSchema: z.ZodObject<{
|
|
606575
606575
|
address: z.ZodOptional<z.ZodObject<{
|
|
606576
606576
|
type: z.ZodLiteral<"array-in">;
|
|
606577
606577
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -630832,9 +630832,9 @@ declare const targetErc1155GeneratorSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
630832
630832
|
min?: string | undefined;
|
|
630833
630833
|
max?: string | undefined;
|
|
630834
630834
|
}>]>>;
|
|
630835
|
-
}
|
|
630835
|
+
} & {
|
|
630836
630836
|
type: z.ZodLiteral<"erc1155">;
|
|
630837
|
-
}
|
|
630837
|
+
}, "strip", z.ZodTypeAny, {
|
|
630838
630838
|
type: "erc1155";
|
|
630839
630839
|
address?: {
|
|
630840
630840
|
values: (string | {
|
|
@@ -637256,7 +637256,7 @@ declare const targetGeneratorSchema: z.ZodUnion<[
|
|
|
637256
637256
|
typeof targetErc721GeneratorSchema,
|
|
637257
637257
|
typeof targetErc1155GeneratorSchema
|
|
637258
637258
|
]>;
|
|
637259
|
-
declare const valueTargetErc721GeneratorSchema: z.ZodObject<
|
|
637259
|
+
declare const valueTargetErc721GeneratorSchema: z.ZodObject<{
|
|
637260
637260
|
address: z.ZodOptional<z.ZodObject<{
|
|
637261
637261
|
type: z.ZodLiteral<"array-in">;
|
|
637262
637262
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -657427,10 +657427,10 @@ declare const valueTargetErc721GeneratorSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
657427
657427
|
})[];
|
|
657428
657428
|
type: "join";
|
|
657429
657429
|
}>]>>;
|
|
657430
|
-
}
|
|
657430
|
+
} & {
|
|
657431
657431
|
type: z.ZodLiteral<"erc721">;
|
|
657432
657432
|
index: z.ZodNumber;
|
|
657433
|
-
}
|
|
657433
|
+
}, "strip", z.ZodTypeAny, {
|
|
657434
657434
|
type: "erc721";
|
|
657435
657435
|
index: number;
|
|
657436
657436
|
address?: {
|
|
@@ -662565,7 +662565,7 @@ declare const valueTargetErc721GeneratorSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
662565
662565
|
type: "join";
|
|
662566
662566
|
} | undefined;
|
|
662567
662567
|
}>;
|
|
662568
|
-
declare const valueTargetErc1155GeneratorSchema: z.ZodObject<
|
|
662568
|
+
declare const valueTargetErc1155GeneratorSchema: z.ZodObject<{
|
|
662569
662569
|
address: z.ZodOptional<z.ZodObject<{
|
|
662570
662570
|
type: z.ZodLiteral<"array-in">;
|
|
662571
662571
|
not: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -686826,10 +686826,10 @@ declare const valueTargetErc1155GeneratorSchema: z.ZodObject<z.objectUtil.extend
|
|
|
686826
686826
|
min?: string | undefined;
|
|
686827
686827
|
max?: string | undefined;
|
|
686828
686828
|
}>]>>;
|
|
686829
|
-
}
|
|
686829
|
+
} & {
|
|
686830
686830
|
type: z.ZodLiteral<"erc1155">;
|
|
686831
686831
|
index: z.ZodNumber;
|
|
686832
|
-
}
|
|
686832
|
+
}, "strip", z.ZodTypeAny, {
|
|
686833
686833
|
type: "erc1155";
|
|
686834
686834
|
index: number;
|
|
686835
686835
|
address?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decodeLog.d.ts","sourceRoot":"","sources":["../../../../logic/analyzeTransaction/decodeTransaction/decodeLog.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAE7C,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,GAAG,CAAA;IACR,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,EAAE,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,iCAIvB,mBAAmB,KAAG,GAmBxB,CAAA;AAED,eAAO,MAAM,qBAAqB,GAChC,KAAK,GAAG,EACR,SAAS,MAAM,KACd,GAAG,GAAG,
|
|
1
|
+
{"version":3,"file":"decodeLog.d.ts","sourceRoot":"","sources":["../../../../logic/analyzeTransaction/decodeTransaction/decodeLog.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAE7C,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,GAAG,CAAA;IACR,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,EAAE,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,iCAIvB,mBAAmB,KAAG,GAmBxB,CAAA;AAED,eAAO,MAAM,qBAAqB,GAChC,KAAK,GAAG,EACR,SAAS,MAAM,KACd,GAAG,GAAG,SA0BR,CAAA"}
|
|
@@ -23,14 +23,14 @@ export declare const erc1155TransferSchema: z.ZodObject<{
|
|
|
23
23
|
logIndex: number;
|
|
24
24
|
}>;
|
|
25
25
|
export type Erc1155Transfer = z.infer<typeof erc1155TransferSchema>;
|
|
26
|
-
export declare const erc1155TokenTransferSchema: z.ZodObject<
|
|
26
|
+
export declare const erc1155TokenTransferSchema: z.ZodObject<{
|
|
27
27
|
address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
28
28
|
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
29
29
|
logIndex: z.ZodNumber;
|
|
30
30
|
to: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
31
31
|
tokenId: z.ZodEffects<z.ZodString, bigint, string>;
|
|
32
32
|
value: z.ZodEffects<z.ZodString, bigint, string>;
|
|
33
|
-
}
|
|
33
|
+
} & {
|
|
34
34
|
token: z.ZodObject<{
|
|
35
35
|
type: z.ZodLiteral<"Nft">;
|
|
36
36
|
id: z.ZodString;
|
|
@@ -53,7 +53,7 @@ export declare const erc1155TokenTransferSchema: z.ZodObject<z.objectUtil.extend
|
|
|
53
53
|
image?: string | undefined;
|
|
54
54
|
metadata?: string | undefined;
|
|
55
55
|
}>;
|
|
56
|
-
}
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
address: `0x${Lowercase<string>}`;
|
|
58
58
|
from: `0x${Lowercase<string>}`;
|
|
59
59
|
to: `0x${Lowercase<string>}`;
|
package/_types/types/erc20.d.ts
CHANGED
|
@@ -103,13 +103,13 @@ export declare const erc20TransferSchema: z.ZodObject<{
|
|
|
103
103
|
value: string;
|
|
104
104
|
logIndex: number;
|
|
105
105
|
}>;
|
|
106
|
-
export declare const erc20TokenTransferSchema: z.ZodObject<
|
|
106
|
+
export declare const erc20TokenTransferSchema: z.ZodObject<{
|
|
107
107
|
address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
108
108
|
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
109
109
|
logIndex: z.ZodNumber;
|
|
110
110
|
to: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
111
111
|
value: z.ZodEffects<z.ZodString, bigint, string>;
|
|
112
|
-
}
|
|
112
|
+
} & {
|
|
113
113
|
token: z.ZodObject<{
|
|
114
114
|
address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
115
115
|
name: z.ZodString;
|
|
@@ -195,7 +195,7 @@ export declare const erc20TokenTransferSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
195
195
|
priceDatasourceId?: string | undefined;
|
|
196
196
|
};
|
|
197
197
|
}>;
|
|
198
|
-
}
|
|
198
|
+
}, "strip", z.ZodTypeAny, {
|
|
199
199
|
address: `0x${Lowercase<string>}`;
|
|
200
200
|
from: `0x${Lowercase<string>}`;
|
|
201
201
|
to: `0x${Lowercase<string>}`;
|
package/_types/types/erc721.d.ts
CHANGED
|
@@ -20,13 +20,13 @@ export declare const erc721TransferSchema: z.ZodObject<{
|
|
|
20
20
|
logIndex: number;
|
|
21
21
|
}>;
|
|
22
22
|
export type Erc721Transfer = z.infer<typeof erc721TransferSchema>;
|
|
23
|
-
export declare const erc721TokenTransferSchema: z.ZodObject<
|
|
23
|
+
export declare const erc721TokenTransferSchema: z.ZodObject<{
|
|
24
24
|
address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
25
25
|
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
26
26
|
logIndex: z.ZodNumber;
|
|
27
27
|
to: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
28
28
|
tokenId: z.ZodEffects<z.ZodString, bigint, string>;
|
|
29
|
-
}
|
|
29
|
+
} & {
|
|
30
30
|
token: z.ZodObject<{
|
|
31
31
|
type: z.ZodLiteral<"Nft">;
|
|
32
32
|
id: z.ZodString;
|
|
@@ -49,7 +49,7 @@ export declare const erc721TokenTransferSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
49
49
|
image?: string | undefined;
|
|
50
50
|
metadata?: string | undefined;
|
|
51
51
|
}>;
|
|
52
|
-
}
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
53
|
address: `0x${Lowercase<string>}`;
|
|
54
54
|
from: `0x${Lowercase<string>}`;
|
|
55
55
|
to: `0x${Lowercase<string>}`;
|
|
@@ -25,7 +25,7 @@ export declare const internalTransactionSchema: z.ZodObject<{
|
|
|
25
25
|
contractAddress?: string | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
export type InternalTransaction = z.infer<typeof internalTransactionSchema>;
|
|
28
|
-
export declare const internalTransactionWithIndexSchema: z.ZodObject<
|
|
28
|
+
export declare const internalTransactionWithIndexSchema: z.ZodObject<{
|
|
29
29
|
contractAddress: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>>;
|
|
30
30
|
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
31
31
|
gas: z.ZodEffects<z.ZodString, bigint, string>;
|
|
@@ -33,10 +33,10 @@ export declare const internalTransactionWithIndexSchema: z.ZodObject<z.objectUti
|
|
|
33
33
|
to: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>>;
|
|
34
34
|
txHash: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
35
35
|
value: z.ZodEffects<z.ZodString, bigint, string>;
|
|
36
|
-
}
|
|
36
|
+
} & {
|
|
37
37
|
blockNumber: z.ZodNumber;
|
|
38
38
|
timestamp: z.ZodNumber;
|
|
39
|
-
}
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
from: `0x${Lowercase<string>}`;
|
|
41
41
|
value: bigint;
|
|
42
42
|
gas: bigint;
|
|
@@ -33,72 +33,11 @@ declare const functionSchema: z.ZodObject<{
|
|
|
33
33
|
interface: string;
|
|
34
34
|
}>;
|
|
35
35
|
export type TransactionFunction = z.infer<typeof functionSchema>;
|
|
36
|
-
export declare const transactionDecodedSchema: z.ZodObject<
|
|
36
|
+
export declare const transactionDecodedSchema: z.ZodObject<{
|
|
37
37
|
blockNumber: z.ZodNumber;
|
|
38
38
|
chainId: z.ZodNumber;
|
|
39
39
|
contractAddress: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>>;
|
|
40
40
|
effectiveGasPrice: z.ZodEffects<z.ZodString, bigint, string>;
|
|
41
|
-
erc20Transfers: z.ZodArray<z.ZodObject<{
|
|
42
|
-
address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
43
|
-
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
44
|
-
logIndex: z.ZodNumber;
|
|
45
|
-
to: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
46
|
-
value: z.ZodEffects<z.ZodString, bigint, string>;
|
|
47
|
-
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
address: `0x${Lowercase<string>}`;
|
|
49
|
-
from: `0x${Lowercase<string>}`;
|
|
50
|
-
to: `0x${Lowercase<string>}`;
|
|
51
|
-
value: bigint;
|
|
52
|
-
logIndex: number;
|
|
53
|
-
}, {
|
|
54
|
-
address: string;
|
|
55
|
-
from: string;
|
|
56
|
-
to: string;
|
|
57
|
-
value: string;
|
|
58
|
-
logIndex: number;
|
|
59
|
-
}>, "many">;
|
|
60
|
-
erc721Transfers: z.ZodArray<z.ZodObject<{
|
|
61
|
-
address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
62
|
-
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
63
|
-
logIndex: z.ZodNumber;
|
|
64
|
-
to: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
65
|
-
tokenId: z.ZodEffects<z.ZodString, bigint, string>;
|
|
66
|
-
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
address: `0x${Lowercase<string>}`;
|
|
68
|
-
from: `0x${Lowercase<string>}`;
|
|
69
|
-
to: `0x${Lowercase<string>}`;
|
|
70
|
-
tokenId: bigint;
|
|
71
|
-
logIndex: number;
|
|
72
|
-
}, {
|
|
73
|
-
address: string;
|
|
74
|
-
from: string;
|
|
75
|
-
to: string;
|
|
76
|
-
tokenId: string;
|
|
77
|
-
logIndex: number;
|
|
78
|
-
}>, "many">;
|
|
79
|
-
erc1155Transfers: z.ZodArray<z.ZodObject<{
|
|
80
|
-
address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
81
|
-
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
82
|
-
logIndex: z.ZodNumber;
|
|
83
|
-
to: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
84
|
-
tokenId: z.ZodEffects<z.ZodString, bigint, string>;
|
|
85
|
-
value: z.ZodEffects<z.ZodString, bigint, string>;
|
|
86
|
-
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
address: `0x${Lowercase<string>}`;
|
|
88
|
-
from: `0x${Lowercase<string>}`;
|
|
89
|
-
to: `0x${Lowercase<string>}`;
|
|
90
|
-
value: bigint;
|
|
91
|
-
tokenId: bigint;
|
|
92
|
-
logIndex: number;
|
|
93
|
-
}, {
|
|
94
|
-
address: string;
|
|
95
|
-
from: string;
|
|
96
|
-
to: string;
|
|
97
|
-
value: string;
|
|
98
|
-
tokenId: string;
|
|
99
|
-
logIndex: number;
|
|
100
|
-
}>, "many">;
|
|
101
|
-
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
102
41
|
gasUsed: z.ZodEffects<z.ZodString, bigint, string>;
|
|
103
42
|
hash: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
104
43
|
input: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
@@ -179,16 +118,15 @@ export declare const transactionDecodedSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
179
118
|
}>, "many">;
|
|
180
119
|
status: z.ZodUnion<[z.ZodLiteral<"success">, z.ZodLiteral<"reverted">]>;
|
|
181
120
|
timestamp: z.ZodNumber;
|
|
182
|
-
to: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>>;
|
|
183
121
|
value: z.ZodEffects<z.ZodString, bigint, string>;
|
|
184
|
-
}
|
|
185
|
-
erc20Transfers: z.ZodArray<z.ZodObject<
|
|
122
|
+
} & {
|
|
123
|
+
erc20Transfers: z.ZodArray<z.ZodObject<{
|
|
186
124
|
address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
187
125
|
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
188
126
|
logIndex: z.ZodNumber;
|
|
189
127
|
to: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
190
128
|
value: z.ZodEffects<z.ZodString, bigint, string>;
|
|
191
|
-
}
|
|
129
|
+
} & {
|
|
192
130
|
token: z.ZodObject<{
|
|
193
131
|
address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
194
132
|
name: z.ZodString;
|
|
@@ -274,7 +212,7 @@ export declare const transactionDecodedSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
274
212
|
priceDatasourceId?: string | undefined;
|
|
275
213
|
};
|
|
276
214
|
}>;
|
|
277
|
-
}
|
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
|
278
216
|
address: `0x${Lowercase<string>}`;
|
|
279
217
|
from: `0x${Lowercase<string>}`;
|
|
280
218
|
to: `0x${Lowercase<string>}`;
|
|
@@ -325,13 +263,13 @@ export declare const transactionDecodedSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
325
263
|
};
|
|
326
264
|
};
|
|
327
265
|
}>, "many">;
|
|
328
|
-
erc721Transfers: z.ZodArray<z.ZodObject<
|
|
266
|
+
erc721Transfers: z.ZodArray<z.ZodObject<{
|
|
329
267
|
address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
330
268
|
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
331
269
|
logIndex: z.ZodNumber;
|
|
332
270
|
to: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
333
271
|
tokenId: z.ZodEffects<z.ZodString, bigint, string>;
|
|
334
|
-
}
|
|
272
|
+
} & {
|
|
335
273
|
token: z.ZodObject<{
|
|
336
274
|
type: z.ZodLiteral<"Nft">;
|
|
337
275
|
id: z.ZodString;
|
|
@@ -354,7 +292,7 @@ export declare const transactionDecodedSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
354
292
|
image?: string | undefined;
|
|
355
293
|
metadata?: string | undefined;
|
|
356
294
|
}>;
|
|
357
|
-
}
|
|
295
|
+
}, "strip", z.ZodTypeAny, {
|
|
358
296
|
address: `0x${Lowercase<string>}`;
|
|
359
297
|
from: `0x${Lowercase<string>}`;
|
|
360
298
|
to: `0x${Lowercase<string>}`;
|
|
@@ -383,14 +321,14 @@ export declare const transactionDecodedSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
383
321
|
metadata?: string | undefined;
|
|
384
322
|
};
|
|
385
323
|
}>, "many">;
|
|
386
|
-
erc1155Transfers: z.ZodArray<z.ZodObject<
|
|
324
|
+
erc1155Transfers: z.ZodArray<z.ZodObject<{
|
|
387
325
|
address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
388
326
|
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
389
327
|
logIndex: z.ZodNumber;
|
|
390
328
|
to: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
391
329
|
tokenId: z.ZodEffects<z.ZodString, bigint, string>;
|
|
392
330
|
value: z.ZodEffects<z.ZodString, bigint, string>;
|
|
393
|
-
}
|
|
331
|
+
} & {
|
|
394
332
|
token: z.ZodObject<{
|
|
395
333
|
type: z.ZodLiteral<"Nft">;
|
|
396
334
|
id: z.ZodString;
|
|
@@ -413,7 +351,7 @@ export declare const transactionDecodedSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
413
351
|
image?: string | undefined;
|
|
414
352
|
metadata?: string | undefined;
|
|
415
353
|
}>;
|
|
416
|
-
}
|
|
354
|
+
}, "strip", z.ZodTypeAny, {
|
|
417
355
|
address: `0x${Lowercase<string>}`;
|
|
418
356
|
from: `0x${Lowercase<string>}`;
|
|
419
357
|
to: `0x${Lowercase<string>}`;
|
|
@@ -521,7 +459,7 @@ export declare const transactionDecodedSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
521
459
|
app?: string | undefined;
|
|
522
460
|
abi?: string | undefined;
|
|
523
461
|
}>>;
|
|
524
|
-
}
|
|
462
|
+
}, "strip", z.ZodTypeAny, {
|
|
525
463
|
from: {
|
|
526
464
|
address: `0x${Lowercase<string>}`;
|
|
527
465
|
chainId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionDecoded.d.ts","sourceRoot":"","sources":["../../types/transactionDecoded.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUlB,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAEhE,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"transactionDecoded.d.ts","sourceRoot":"","sources":["../../types/transactionDecoded.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUlB,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAEhE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;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chema: z.ZodObject<Pick<{
|
|
3
3
|
blockNumber: z.ZodNumber;
|
|
4
4
|
chainId: z.ZodNumber;
|
|
5
5
|
contractAddress: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>>;
|
|
@@ -147,10 +147,10 @@ declare const transactionIndexSchema: z.ZodObject<z.objectUtil.extendShape<Pick<
|
|
|
147
147
|
timestamp: z.ZodNumber;
|
|
148
148
|
to: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>>;
|
|
149
149
|
value: z.ZodEffects<z.ZodString, bigint, string>;
|
|
150
|
-
}, "hash" | "blockNumber" | "timestamp"
|
|
150
|
+
}, "hash" | "blockNumber" | "timestamp"> & {
|
|
151
151
|
input: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>>;
|
|
152
152
|
value: z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
153
|
-
}
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
154
|
hash: `0x${Lowercase<string>}`;
|
|
155
155
|
blockNumber: number;
|
|
156
156
|
timestamp: number;
|
|
@@ -44,7 +44,7 @@ export const decodeLogByAddressAbi = (
|
|
|
44
44
|
console.debug(parsedAbi.error)
|
|
45
45
|
return undefined
|
|
46
46
|
}
|
|
47
|
-
const abi = parsedAbi.data
|
|
47
|
+
const abi = parsedAbi.data.filter((v) => v.type === 'event')
|
|
48
48
|
const decodedLog = decodeEventLog({
|
|
49
49
|
abi,
|
|
50
50
|
topics: log.topics as [Hex, ...Hex[]] | [],
|
|
@@ -54,9 +54,6 @@ export const decodeLogByAddressAbi = (
|
|
|
54
54
|
abi,
|
|
55
55
|
name: decodedLog.eventName,
|
|
56
56
|
})
|
|
57
|
-
if (abiItem.type !== 'event') {
|
|
58
|
-
return undefined
|
|
59
|
-
}
|
|
60
57
|
return {
|
|
61
58
|
...log,
|
|
62
59
|
eventName: decodedLog.eventName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xtorch/evm",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.130",
|
|
4
4
|
"description": "Cryptorch EVM extension",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cryptorch",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"!tsconfig.build.json"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@0xtorch/big-decimal": "^0.0.
|
|
41
|
-
"@0xtorch/core": "^0.0.
|
|
42
|
-
"abitype": "^1.0.
|
|
43
|
-
"viem": "2.
|
|
44
|
-
"zod": "3.
|
|
40
|
+
"@0xtorch/big-decimal": "^0.0.14",
|
|
41
|
+
"@0xtorch/core": "^0.0.63",
|
|
42
|
+
"abitype": "^1.0.8",
|
|
43
|
+
"viem": "^2.29.2",
|
|
44
|
+
"zod": "^3.24.4"
|
|
45
45
|
}
|
|
46
46
|
}
|