@gfxlabs/oku-chains 0.1.4 → 0.1.6
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/dist/types/definitions/arbitrum.d.ts +68 -2
- package/dist/types/definitions/base.d.ts +608 -2
- package/dist/types/definitions/boba.d.ts +65 -2
- package/dist/types/definitions/bsc.d.ts +47 -2
- package/dist/types/definitions/filecoin.d.ts +65 -2
- package/dist/types/definitions/mainnet.d.ts +72 -2
- package/dist/types/definitions/moonbeam.d.ts +57 -2
- package/dist/types/definitions/optimism.d.ts +610 -2
- package/dist/types/definitions/polygon.d.ts +65 -2
- package/dist/types/definitions/rootstock.d.ts +64 -2
- package/dist/types/definitions/scroll.d.ts +66 -2
- package/dist/types/definitions/zkevm.d.ts +62 -2
- package/dist/types/definitions/zksync.d.ts +553 -2
- package/dist/types/index.d.ts +2394 -5
- package/package.json +1 -1
|
@@ -1,2 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const arbitrum: {
|
|
2
|
+
readonly sortIndex: 1;
|
|
3
|
+
readonly blockTimeSeconds: 0.25;
|
|
4
|
+
readonly logoUrl: "https://assets.oku.trade/arbitrum-logo.svg";
|
|
5
|
+
readonly defaultPool: "0xcda53b1f66614552f834ceef361a8d12a0b8dad8";
|
|
6
|
+
readonly defaultToken0: "0x912ce59144191c1204e64559fe8253a0e49e6548";
|
|
7
|
+
readonly defaultToken1: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8";
|
|
8
|
+
readonly tokenList: readonly [{
|
|
9
|
+
readonly symbol: "USDT";
|
|
10
|
+
readonly address: "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9";
|
|
11
|
+
}, {
|
|
12
|
+
readonly symbol: "USDC.e";
|
|
13
|
+
readonly address: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8";
|
|
14
|
+
}, {
|
|
15
|
+
readonly symbol: "USDC";
|
|
16
|
+
readonly address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
|
|
17
|
+
}, {
|
|
18
|
+
readonly symbol: "DAI";
|
|
19
|
+
readonly address: "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1";
|
|
20
|
+
}, {
|
|
21
|
+
readonly symbol: "WETH";
|
|
22
|
+
readonly address: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1";
|
|
23
|
+
}, {
|
|
24
|
+
readonly symbol: "ARB";
|
|
25
|
+
readonly address: "0x912ce59144191c1204e64559fe8253a0e49e6548";
|
|
26
|
+
}];
|
|
27
|
+
readonly stables: readonly ["0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9", "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1", "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", "0xaf88d065e77c8cC2239327C5EDb3A432268e5831"];
|
|
28
|
+
readonly watchlist: readonly ["0x17c14d2c404d167802b16c450d3c99f88f2c4f4d", "0xc82819f72a9e77e2c0c3a69b3196478f44303cf4", "0x81c48d31365e6b526f6bbadc5c9aafd822134863", "0xa62ad78825e3a55a77823f00fe0050f567c1e4ee", "0x135e49cc315fed87f989e072ee11132686cf84f3", "0xa961f0473da4864c5ed28e00fcc53a3aab056c1b", "0x149e36e72726e0bcea5c59d40df2c43f60f5a22d", "0x8e295789c9465487074a65b1ae9ce0351172393f", "0x97bca422ec0ee4851f2110ea743c1cd0a14835a1", "0x92c63d0e701caae670c9415d91c474f686298f00", "0x8c9d230d45d6cfee39a6680fb7cb7e8de7ea8e71", "0xf0428617433652c9dc6d1093a42adfbf30d29f74", "0x1aeedd3727a6431b8f070c0afaa81cc74f273882", "0x446bf9748b4ea044dd759d9b9311c70491df8f29", "0x42d7c8302a746f98ec74f0dbc95fc39b46c1abb6", "0xc91b7b39bbb2c733f0e7459348fd0c80259c8471", "0xC31E54C7A869B9FCBECC14363CF510D1C41FA443", "0x641C00A822e8b671738d32a431a4Fb6074E5c79d", "0xCDA53B1F66614552F834CEEF361A8D12A0B8DAD8", "0xC6F780497A95E246EB9449F5E4770916DCD6396A", "0x2f5e87C9312fa29aed5c179E456625D79015299c", "0x13398E27A21BE1218B6900CBEDF677571DF42A48", "0x31FA55E03BAD93C7F8AFFDD2EC616EBFDE246001", "0x468B88941E7CC0B88C1869D68AB6B570BCEF62FF", "0xd37Af656Abf91c7f548FfFC0133175b5e4d3d5e6", "0xc6962004f452be9203591991d15f6b388e09e8d0", "0xdbaeb7f0dfe3a0aafd798ccecb5b22e708f7852c", "0xbe3ad6a5669dc0b8b12febc03608860c31e2eef6", "0x80a9ae39310abf666a87c743d6ebbd0e8c42158e", "0x99db8dba7b30ab3c6447c4388d81dcc27c5a8b61", "0x1862200e8e7ce1c0827b792d0f9546156f44f892", "0x1edd8c76f74d816f7472be69b174fe7b3084221e", "0x4d834a9b910e6392460ebcfb59f8eef27d5c19ff", "0x0632742c132413cd47438691d8064ff9214ac216", "0xa8328bf492ba1b77ad6381b3f7567d942b000baf", "0x50450351517117cb58189edba6bbad6284d45902"];
|
|
29
|
+
readonly internalName: "arbitrum";
|
|
30
|
+
readonly contracts: {
|
|
31
|
+
readonly nftManager: {
|
|
32
|
+
readonly address: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88";
|
|
33
|
+
};
|
|
34
|
+
readonly limitOrder: {
|
|
35
|
+
readonly address: "0x54dF9e11c7933a9cA3BD1E540B63dA15edAe40bf";
|
|
36
|
+
};
|
|
37
|
+
readonly weth9: {
|
|
38
|
+
readonly address: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1";
|
|
39
|
+
};
|
|
40
|
+
readonly multicall3: {
|
|
41
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
42
|
+
readonly blockCreated: 7654707;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
readonly blockExplorers: {
|
|
46
|
+
readonly default: {
|
|
47
|
+
readonly name: "Arbiscan";
|
|
48
|
+
readonly url: "https://arbiscan.io";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
readonly id: 42161;
|
|
52
|
+
readonly name: "Arbitrum One";
|
|
53
|
+
readonly nativeCurrency: {
|
|
54
|
+
readonly name: "Ether";
|
|
55
|
+
readonly symbol: "ETH";
|
|
56
|
+
readonly decimals: 18;
|
|
57
|
+
};
|
|
58
|
+
readonly rpcUrls: {
|
|
59
|
+
readonly default: {
|
|
60
|
+
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
readonly sourceId?: number | undefined;
|
|
64
|
+
readonly testnet?: boolean | undefined;
|
|
65
|
+
readonly formatters?: undefined;
|
|
66
|
+
readonly serializers?: import("viem").ChainSerializers<undefined> | undefined;
|
|
67
|
+
readonly fees?: import("viem").ChainFees<undefined> | undefined;
|
|
68
|
+
};
|
|
@@ -1,2 +1,608 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const base: {
|
|
2
|
+
readonly sortIndex: 8;
|
|
3
|
+
readonly blockTimeSeconds: 2;
|
|
4
|
+
readonly logoUrl: "https://assets.oku.trade/base-logo.svg";
|
|
5
|
+
readonly defaultPool: "0x9e37cb775a047ae99fc5a24dded834127c4180cd";
|
|
6
|
+
readonly defaultToken0: "0x27d2decb4bfc9c76f0309b8e88dec3a601fe25a8";
|
|
7
|
+
readonly defaultToken1: "0x4200000000000000000000000000000000000006";
|
|
8
|
+
readonly tokenList: readonly [{
|
|
9
|
+
readonly symbol: "USDbC";
|
|
10
|
+
readonly address: "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca";
|
|
11
|
+
}, {
|
|
12
|
+
readonly symbol: "cbETH";
|
|
13
|
+
readonly address: "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22";
|
|
14
|
+
}, {
|
|
15
|
+
readonly symbol: "WETH";
|
|
16
|
+
readonly address: "0x4200000000000000000000000000000000000006";
|
|
17
|
+
}, {
|
|
18
|
+
readonly symbol: "USDC";
|
|
19
|
+
readonly address: "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913";
|
|
20
|
+
}];
|
|
21
|
+
readonly stables: readonly ["0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca", "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"];
|
|
22
|
+
readonly watchlist: readonly ["0x9e37cb775a047ae99fc5a24dded834127c4180cd", "0x4c36388be6f416a29c8d8eee81c771ce6be14b18", "0xd0b53d9277642d899df5c87a3966a349a798f224", "0x3bc5180d5439b500f381f9a46f15dd6608101671", "0x24e1cbd6fed006ceed9af0dce688acc7951d57a9", "0x10648ba41b8565907cfa1496765fa4d95390aa0d"];
|
|
23
|
+
readonly internalName: "base";
|
|
24
|
+
readonly contracts: {
|
|
25
|
+
readonly nftManager: {
|
|
26
|
+
readonly address: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1";
|
|
27
|
+
};
|
|
28
|
+
readonly weth9: {
|
|
29
|
+
readonly address: "0x4200000000000000000000000000000000000006";
|
|
30
|
+
};
|
|
31
|
+
readonly limitOrder: {
|
|
32
|
+
readonly address: "0xff8b754c64e9a8473bd6e1118d0eac67f0a8ae27";
|
|
33
|
+
};
|
|
34
|
+
readonly l2OutputOracle: {
|
|
35
|
+
readonly 1: {
|
|
36
|
+
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
readonly multicall3: {
|
|
40
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
41
|
+
readonly blockCreated: 5022;
|
|
42
|
+
};
|
|
43
|
+
readonly portal: {
|
|
44
|
+
readonly 1: {
|
|
45
|
+
readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
|
|
46
|
+
readonly blockCreated: 17482143;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
readonly gasPriceOracle: {
|
|
50
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
51
|
+
};
|
|
52
|
+
readonly l1Block: {
|
|
53
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
54
|
+
};
|
|
55
|
+
readonly l2CrossDomainMessenger: {
|
|
56
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
57
|
+
};
|
|
58
|
+
readonly l2Erc721Bridge: {
|
|
59
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
60
|
+
};
|
|
61
|
+
readonly l2StandardBridge: {
|
|
62
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
63
|
+
};
|
|
64
|
+
readonly l2ToL1MessagePasser: {
|
|
65
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly blockExplorers: {
|
|
69
|
+
readonly default: {
|
|
70
|
+
readonly name: "Basescan";
|
|
71
|
+
readonly url: "https://basescan.org";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
readonly id: 8453;
|
|
75
|
+
readonly name: "Base";
|
|
76
|
+
readonly nativeCurrency: {
|
|
77
|
+
readonly name: "Ether";
|
|
78
|
+
readonly symbol: "ETH";
|
|
79
|
+
readonly decimals: 18;
|
|
80
|
+
};
|
|
81
|
+
readonly rpcUrls: {
|
|
82
|
+
readonly default: {
|
|
83
|
+
readonly http: readonly ["https://mainnet.base.org"];
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
readonly sourceId: 1;
|
|
87
|
+
readonly testnet?: boolean | undefined;
|
|
88
|
+
readonly formatters: {
|
|
89
|
+
readonly block: {
|
|
90
|
+
exclude: [] | undefined;
|
|
91
|
+
format: (args: import("viem/chains").Assign<Partial<import("viem").RpcBlock<import("viem").BlockTag, boolean, import("viem").RpcTransaction<boolean>>>, import("viem/chains").OpStackRpcBlockOverrides & {
|
|
92
|
+
transactions: `0x${string}`[] | import("viem/chains").OpStackRpcTransaction<boolean>[];
|
|
93
|
+
}>) => {
|
|
94
|
+
baseFeePerGas: bigint | null;
|
|
95
|
+
difficulty: bigint;
|
|
96
|
+
extraData: `0x${string}`;
|
|
97
|
+
gasLimit: bigint;
|
|
98
|
+
gasUsed: bigint;
|
|
99
|
+
hash: `0x${string}` | null;
|
|
100
|
+
logsBloom: `0x${string}` | null;
|
|
101
|
+
miner: `0x${string}`;
|
|
102
|
+
mixHash: `0x${string}`;
|
|
103
|
+
nonce: `0x${string}` | null;
|
|
104
|
+
number: bigint | null;
|
|
105
|
+
parentHash: `0x${string}`;
|
|
106
|
+
receiptsRoot: `0x${string}`;
|
|
107
|
+
sealFields: `0x${string}`[];
|
|
108
|
+
sha3Uncles: `0x${string}`;
|
|
109
|
+
size: bigint;
|
|
110
|
+
stateRoot: `0x${string}`;
|
|
111
|
+
timestamp: bigint;
|
|
112
|
+
totalDifficulty: bigint | null;
|
|
113
|
+
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
114
|
+
transactionsRoot: `0x${string}`;
|
|
115
|
+
uncles: `0x${string}`[];
|
|
116
|
+
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
117
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
118
|
+
};
|
|
119
|
+
type: "block";
|
|
120
|
+
};
|
|
121
|
+
readonly transaction: {
|
|
122
|
+
exclude: [] | undefined;
|
|
123
|
+
format: (args: ({
|
|
124
|
+
yParity?: `0x${string}` | undefined;
|
|
125
|
+
blockHash?: `0x${string}` | null | undefined;
|
|
126
|
+
blockNumber?: `0x${string}` | null | undefined;
|
|
127
|
+
from?: `0x${string}` | undefined;
|
|
128
|
+
gas?: `0x${string}` | undefined;
|
|
129
|
+
hash?: `0x${string}` | undefined;
|
|
130
|
+
input?: `0x${string}` | undefined;
|
|
131
|
+
nonce?: `0x${string}` | undefined;
|
|
132
|
+
r?: `0x${string}` | undefined;
|
|
133
|
+
s?: `0x${string}` | undefined;
|
|
134
|
+
to?: `0x${string}` | null | undefined;
|
|
135
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
|
136
|
+
v?: `0x${string}` | undefined;
|
|
137
|
+
value?: `0x${string}` | undefined;
|
|
138
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
|
139
|
+
gasPrice?: `0x${string}` | undefined;
|
|
140
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
141
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
142
|
+
accessList?: undefined;
|
|
143
|
+
chainId?: `0x${string}` | undefined;
|
|
144
|
+
} & import("viem/chains").Omit<import("viem/chains").PartialBy<import("viem").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
|
145
|
+
isSystemTx?: undefined;
|
|
146
|
+
mint?: undefined;
|
|
147
|
+
sourceHash?: undefined;
|
|
148
|
+
}) | ({
|
|
149
|
+
yParity?: `0x${string}` | undefined;
|
|
150
|
+
blockHash?: `0x${string}` | null | undefined;
|
|
151
|
+
blockNumber?: `0x${string}` | null | undefined;
|
|
152
|
+
from?: `0x${string}` | undefined;
|
|
153
|
+
gas?: `0x${string}` | undefined;
|
|
154
|
+
hash?: `0x${string}` | undefined;
|
|
155
|
+
input?: `0x${string}` | undefined;
|
|
156
|
+
nonce?: `0x${string}` | undefined;
|
|
157
|
+
r?: `0x${string}` | undefined;
|
|
158
|
+
s?: `0x${string}` | undefined;
|
|
159
|
+
to?: `0x${string}` | null | undefined;
|
|
160
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
|
161
|
+
v?: `0x${string}` | undefined;
|
|
162
|
+
value?: `0x${string}` | undefined;
|
|
163
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
|
164
|
+
gasPrice?: `0x${string}` | undefined;
|
|
165
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
166
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
167
|
+
accessList?: undefined;
|
|
168
|
+
chainId?: `0x${string}` | undefined;
|
|
169
|
+
} & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
|
|
170
|
+
isSystemTx?: boolean | undefined;
|
|
171
|
+
mint?: `0x${string}` | undefined;
|
|
172
|
+
sourceHash: `0x${string}`;
|
|
173
|
+
type: "0x7e";
|
|
174
|
+
}) | ({
|
|
175
|
+
yParity?: `0x${string}` | undefined;
|
|
176
|
+
blockHash?: `0x${string}` | null | undefined;
|
|
177
|
+
blockNumber?: `0x${string}` | null | undefined;
|
|
178
|
+
from?: `0x${string}` | undefined;
|
|
179
|
+
gas?: `0x${string}` | undefined;
|
|
180
|
+
hash?: `0x${string}` | undefined;
|
|
181
|
+
input?: `0x${string}` | undefined;
|
|
182
|
+
nonce?: `0x${string}` | undefined;
|
|
183
|
+
r?: `0x${string}` | undefined;
|
|
184
|
+
s?: `0x${string}` | undefined;
|
|
185
|
+
to?: `0x${string}` | null | undefined;
|
|
186
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
|
187
|
+
v?: `0x${string}` | undefined;
|
|
188
|
+
value?: `0x${string}` | undefined;
|
|
189
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
|
190
|
+
gasPrice?: `0x${string}` | undefined;
|
|
191
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
192
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
193
|
+
accessList?: import("viem").AccessList | undefined;
|
|
194
|
+
chainId?: `0x${string}` | undefined;
|
|
195
|
+
} & import("viem/chains").Omit<import("viem/chains").PartialBy<import("viem").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
|
196
|
+
isSystemTx?: undefined;
|
|
197
|
+
mint?: undefined;
|
|
198
|
+
sourceHash?: undefined;
|
|
199
|
+
}) | ({
|
|
200
|
+
yParity?: `0x${string}` | undefined;
|
|
201
|
+
blockHash?: `0x${string}` | null | undefined;
|
|
202
|
+
blockNumber?: `0x${string}` | null | undefined;
|
|
203
|
+
from?: `0x${string}` | undefined;
|
|
204
|
+
gas?: `0x${string}` | undefined;
|
|
205
|
+
hash?: `0x${string}` | undefined;
|
|
206
|
+
input?: `0x${string}` | undefined;
|
|
207
|
+
nonce?: `0x${string}` | undefined;
|
|
208
|
+
r?: `0x${string}` | undefined;
|
|
209
|
+
s?: `0x${string}` | undefined;
|
|
210
|
+
to?: `0x${string}` | null | undefined;
|
|
211
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
|
212
|
+
v?: `0x${string}` | undefined;
|
|
213
|
+
value?: `0x${string}` | undefined;
|
|
214
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
|
215
|
+
gasPrice?: `0x${string}` | undefined;
|
|
216
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
217
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
218
|
+
accessList?: import("viem").AccessList | undefined;
|
|
219
|
+
chainId?: `0x${string}` | undefined;
|
|
220
|
+
} & import("viem/chains").Omit<import("viem/chains").PartialBy<import("viem").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
|
221
|
+
isSystemTx?: undefined;
|
|
222
|
+
mint?: undefined;
|
|
223
|
+
sourceHash?: undefined;
|
|
224
|
+
}) | ({
|
|
225
|
+
yParity?: `0x${string}` | undefined;
|
|
226
|
+
blockHash?: `0x${string}` | null | undefined;
|
|
227
|
+
blockNumber?: `0x${string}` | null | undefined;
|
|
228
|
+
from?: `0x${string}` | undefined;
|
|
229
|
+
gas?: `0x${string}` | undefined;
|
|
230
|
+
hash?: `0x${string}` | undefined;
|
|
231
|
+
input?: `0x${string}` | undefined;
|
|
232
|
+
nonce?: `0x${string}` | undefined;
|
|
233
|
+
r?: `0x${string}` | undefined;
|
|
234
|
+
s?: `0x${string}` | undefined;
|
|
235
|
+
to?: `0x${string}` | null | undefined;
|
|
236
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
|
237
|
+
v?: `0x${string}` | undefined;
|
|
238
|
+
value?: `0x${string}` | undefined;
|
|
239
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
|
240
|
+
gasPrice?: `0x${string}` | undefined;
|
|
241
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
242
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
243
|
+
accessList?: import("viem").AccessList | undefined;
|
|
244
|
+
chainId?: `0x${string}` | undefined;
|
|
245
|
+
} & import("viem/chains").Omit<import("viem/chains").PartialBy<import("viem").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
|
246
|
+
isSystemTx?: undefined;
|
|
247
|
+
mint?: undefined;
|
|
248
|
+
sourceHash?: undefined;
|
|
249
|
+
}) | ({
|
|
250
|
+
yParity?: `0x${string}` | undefined;
|
|
251
|
+
blockHash?: `0x${string}` | null | undefined;
|
|
252
|
+
blockNumber?: `0x${string}` | null | undefined;
|
|
253
|
+
from?: `0x${string}` | undefined;
|
|
254
|
+
gas?: `0x${string}` | undefined;
|
|
255
|
+
hash?: `0x${string}` | undefined;
|
|
256
|
+
input?: `0x${string}` | undefined;
|
|
257
|
+
nonce?: `0x${string}` | undefined;
|
|
258
|
+
r?: `0x${string}` | undefined;
|
|
259
|
+
s?: `0x${string}` | undefined;
|
|
260
|
+
to?: `0x${string}` | null | undefined;
|
|
261
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
|
262
|
+
v?: `0x${string}` | undefined;
|
|
263
|
+
value?: `0x${string}` | undefined;
|
|
264
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
|
265
|
+
gasPrice?: `0x${string}` | undefined;
|
|
266
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
267
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
268
|
+
accessList?: import("viem").AccessList | undefined;
|
|
269
|
+
chainId?: `0x${string}` | undefined;
|
|
270
|
+
} & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
|
|
271
|
+
isSystemTx?: boolean | undefined;
|
|
272
|
+
mint?: `0x${string}` | undefined;
|
|
273
|
+
sourceHash: `0x${string}`;
|
|
274
|
+
type: "0x7e";
|
|
275
|
+
}) | ({
|
|
276
|
+
yParity?: `0x${string}` | undefined;
|
|
277
|
+
blockHash?: `0x${string}` | null | undefined;
|
|
278
|
+
blockNumber?: `0x${string}` | null | undefined;
|
|
279
|
+
from?: `0x${string}` | undefined;
|
|
280
|
+
gas?: `0x${string}` | undefined;
|
|
281
|
+
hash?: `0x${string}` | undefined;
|
|
282
|
+
input?: `0x${string}` | undefined;
|
|
283
|
+
nonce?: `0x${string}` | undefined;
|
|
284
|
+
r?: `0x${string}` | undefined;
|
|
285
|
+
s?: `0x${string}` | undefined;
|
|
286
|
+
to?: `0x${string}` | null | undefined;
|
|
287
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
|
288
|
+
v?: `0x${string}` | undefined;
|
|
289
|
+
value?: `0x${string}` | undefined;
|
|
290
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
|
291
|
+
gasPrice?: `0x${string}` | undefined;
|
|
292
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
293
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
294
|
+
accessList?: import("viem").AccessList | undefined;
|
|
295
|
+
chainId?: `0x${string}` | undefined;
|
|
296
|
+
} & import("viem/chains").Omit<import("viem/chains").PartialBy<import("viem").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
|
297
|
+
isSystemTx?: undefined;
|
|
298
|
+
mint?: undefined;
|
|
299
|
+
sourceHash?: undefined;
|
|
300
|
+
}) | ({
|
|
301
|
+
yParity?: `0x${string}` | undefined;
|
|
302
|
+
blockHash?: `0x${string}` | null | undefined;
|
|
303
|
+
blockNumber?: `0x${string}` | null | undefined;
|
|
304
|
+
from?: `0x${string}` | undefined;
|
|
305
|
+
gas?: `0x${string}` | undefined;
|
|
306
|
+
hash?: `0x${string}` | undefined;
|
|
307
|
+
input?: `0x${string}` | undefined;
|
|
308
|
+
nonce?: `0x${string}` | undefined;
|
|
309
|
+
r?: `0x${string}` | undefined;
|
|
310
|
+
s?: `0x${string}` | undefined;
|
|
311
|
+
to?: `0x${string}` | null | undefined;
|
|
312
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
|
313
|
+
v?: `0x${string}` | undefined;
|
|
314
|
+
value?: `0x${string}` | undefined;
|
|
315
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
|
316
|
+
gasPrice?: `0x${string}` | undefined;
|
|
317
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
318
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
319
|
+
accessList?: import("viem").AccessList | undefined;
|
|
320
|
+
chainId?: `0x${string}` | undefined;
|
|
321
|
+
} & import("viem/chains").Omit<import("viem/chains").PartialBy<import("viem").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
|
322
|
+
isSystemTx?: undefined;
|
|
323
|
+
mint?: undefined;
|
|
324
|
+
sourceHash?: undefined;
|
|
325
|
+
}) | ({
|
|
326
|
+
yParity?: `0x${string}` | undefined;
|
|
327
|
+
blockHash?: `0x${string}` | null | undefined;
|
|
328
|
+
blockNumber?: `0x${string}` | null | undefined;
|
|
329
|
+
from?: `0x${string}` | undefined;
|
|
330
|
+
gas?: `0x${string}` | undefined;
|
|
331
|
+
hash?: `0x${string}` | undefined;
|
|
332
|
+
input?: `0x${string}` | undefined;
|
|
333
|
+
nonce?: `0x${string}` | undefined;
|
|
334
|
+
r?: `0x${string}` | undefined;
|
|
335
|
+
s?: `0x${string}` | undefined;
|
|
336
|
+
to?: `0x${string}` | null | undefined;
|
|
337
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
|
338
|
+
v?: `0x${string}` | undefined;
|
|
339
|
+
value?: `0x${string}` | undefined;
|
|
340
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
|
341
|
+
gasPrice?: `0x${string}` | undefined;
|
|
342
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
343
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
344
|
+
accessList?: import("viem").AccessList | undefined;
|
|
345
|
+
chainId?: `0x${string}` | undefined;
|
|
346
|
+
} & import("viem/chains").Omit<import("viem/chains").PartialBy<import("viem").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
|
347
|
+
isSystemTx?: undefined;
|
|
348
|
+
mint?: undefined;
|
|
349
|
+
sourceHash?: undefined;
|
|
350
|
+
}) | ({
|
|
351
|
+
yParity?: `0x${string}` | undefined;
|
|
352
|
+
blockHash?: `0x${string}` | null | undefined;
|
|
353
|
+
blockNumber?: `0x${string}` | null | undefined;
|
|
354
|
+
from?: `0x${string}` | undefined;
|
|
355
|
+
gas?: `0x${string}` | undefined;
|
|
356
|
+
hash?: `0x${string}` | undefined;
|
|
357
|
+
input?: `0x${string}` | undefined;
|
|
358
|
+
nonce?: `0x${string}` | undefined;
|
|
359
|
+
r?: `0x${string}` | undefined;
|
|
360
|
+
s?: `0x${string}` | undefined;
|
|
361
|
+
to?: `0x${string}` | null | undefined;
|
|
362
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
|
363
|
+
v?: `0x${string}` | undefined;
|
|
364
|
+
value?: `0x${string}` | undefined;
|
|
365
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
|
366
|
+
gasPrice?: `0x${string}` | undefined;
|
|
367
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
368
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
369
|
+
accessList?: import("viem").AccessList | undefined;
|
|
370
|
+
chainId?: `0x${string}` | undefined;
|
|
371
|
+
} & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
|
|
372
|
+
isSystemTx?: boolean | undefined;
|
|
373
|
+
mint?: `0x${string}` | undefined;
|
|
374
|
+
sourceHash: `0x${string}`;
|
|
375
|
+
type: "0x7e";
|
|
376
|
+
})) => {
|
|
377
|
+
blockHash: `0x${string}` | null;
|
|
378
|
+
blockNumber: bigint | null;
|
|
379
|
+
from: `0x${string}`;
|
|
380
|
+
gas: bigint;
|
|
381
|
+
hash: `0x${string}`;
|
|
382
|
+
input: `0x${string}`;
|
|
383
|
+
nonce: number;
|
|
384
|
+
r: `0x${string}`;
|
|
385
|
+
s: `0x${string}`;
|
|
386
|
+
to: `0x${string}` | null;
|
|
387
|
+
transactionIndex: number | null;
|
|
388
|
+
typeHex: `0x${string}` | null;
|
|
389
|
+
v: bigint;
|
|
390
|
+
value: bigint;
|
|
391
|
+
gasPrice: bigint;
|
|
392
|
+
maxFeePerGas?: undefined;
|
|
393
|
+
maxPriorityFeePerGas?: undefined;
|
|
394
|
+
accessList?: undefined;
|
|
395
|
+
chainId?: number | undefined;
|
|
396
|
+
yParity?: undefined;
|
|
397
|
+
type: "legacy";
|
|
398
|
+
isSystemTx?: undefined;
|
|
399
|
+
mint?: undefined;
|
|
400
|
+
sourceHash?: undefined;
|
|
401
|
+
} | {
|
|
402
|
+
blockHash: `0x${string}` | null;
|
|
403
|
+
blockNumber: bigint | null;
|
|
404
|
+
from: `0x${string}`;
|
|
405
|
+
gas: bigint;
|
|
406
|
+
hash: `0x${string}`;
|
|
407
|
+
input: `0x${string}`;
|
|
408
|
+
nonce: number;
|
|
409
|
+
r: `0x${string}`;
|
|
410
|
+
s: `0x${string}`;
|
|
411
|
+
to: `0x${string}` | null;
|
|
412
|
+
transactionIndex: number | null;
|
|
413
|
+
typeHex: `0x${string}` | null;
|
|
414
|
+
v: bigint;
|
|
415
|
+
value: bigint;
|
|
416
|
+
gasPrice: undefined;
|
|
417
|
+
maxFeePerGas: bigint;
|
|
418
|
+
maxPriorityFeePerGas: bigint;
|
|
419
|
+
accessList?: undefined;
|
|
420
|
+
chainId?: number | undefined;
|
|
421
|
+
yParity: number;
|
|
422
|
+
type: "deposit";
|
|
423
|
+
isSystemTx?: boolean | undefined;
|
|
424
|
+
mint?: bigint | undefined;
|
|
425
|
+
sourceHash: `0x${string}`;
|
|
426
|
+
} | {
|
|
427
|
+
blockHash: `0x${string}` | null;
|
|
428
|
+
blockNumber: bigint | null;
|
|
429
|
+
from: `0x${string}`;
|
|
430
|
+
gas: bigint;
|
|
431
|
+
hash: `0x${string}`;
|
|
432
|
+
input: `0x${string}`;
|
|
433
|
+
nonce: number;
|
|
434
|
+
r: `0x${string}`;
|
|
435
|
+
s: `0x${string}`;
|
|
436
|
+
to: `0x${string}` | null;
|
|
437
|
+
transactionIndex: number | null;
|
|
438
|
+
typeHex: `0x${string}` | null;
|
|
439
|
+
v: bigint;
|
|
440
|
+
value: bigint;
|
|
441
|
+
yParity: number;
|
|
442
|
+
gasPrice: bigint;
|
|
443
|
+
maxFeePerGas?: undefined;
|
|
444
|
+
maxPriorityFeePerGas?: undefined;
|
|
445
|
+
accessList: import("viem").AccessList;
|
|
446
|
+
chainId: number;
|
|
447
|
+
type: "eip2930";
|
|
448
|
+
isSystemTx?: undefined;
|
|
449
|
+
mint?: undefined;
|
|
450
|
+
sourceHash?: undefined;
|
|
451
|
+
} | {
|
|
452
|
+
blockHash: `0x${string}` | null;
|
|
453
|
+
blockNumber: bigint | null;
|
|
454
|
+
from: `0x${string}`;
|
|
455
|
+
gas: bigint;
|
|
456
|
+
hash: `0x${string}`;
|
|
457
|
+
input: `0x${string}`;
|
|
458
|
+
nonce: number;
|
|
459
|
+
r: `0x${string}`;
|
|
460
|
+
s: `0x${string}`;
|
|
461
|
+
to: `0x${string}` | null;
|
|
462
|
+
transactionIndex: number | null;
|
|
463
|
+
typeHex: `0x${string}` | null;
|
|
464
|
+
v: bigint;
|
|
465
|
+
value: bigint;
|
|
466
|
+
yParity: number;
|
|
467
|
+
gasPrice: undefined;
|
|
468
|
+
maxFeePerGas: bigint;
|
|
469
|
+
maxPriorityFeePerGas: bigint;
|
|
470
|
+
accessList: import("viem").AccessList;
|
|
471
|
+
chainId: number;
|
|
472
|
+
type: "eip1559";
|
|
473
|
+
isSystemTx?: undefined;
|
|
474
|
+
mint?: undefined;
|
|
475
|
+
sourceHash?: undefined;
|
|
476
|
+
} | {
|
|
477
|
+
blockHash: `0x${string}` | null;
|
|
478
|
+
blockNumber: bigint | null;
|
|
479
|
+
from: `0x${string}`;
|
|
480
|
+
gas: bigint;
|
|
481
|
+
hash: `0x${string}`;
|
|
482
|
+
input: `0x${string}`;
|
|
483
|
+
nonce: number;
|
|
484
|
+
r: `0x${string}`;
|
|
485
|
+
s: `0x${string}`;
|
|
486
|
+
to: `0x${string}` | null;
|
|
487
|
+
transactionIndex: number | null;
|
|
488
|
+
typeHex: `0x${string}` | null;
|
|
489
|
+
v: bigint;
|
|
490
|
+
value: bigint;
|
|
491
|
+
yParity: number;
|
|
492
|
+
gasPrice: undefined;
|
|
493
|
+
maxFeePerGas: bigint;
|
|
494
|
+
maxPriorityFeePerGas: bigint;
|
|
495
|
+
accessList: import("viem").AccessList;
|
|
496
|
+
chainId: number;
|
|
497
|
+
type: "deposit";
|
|
498
|
+
isSystemTx?: boolean | undefined;
|
|
499
|
+
mint?: bigint | undefined;
|
|
500
|
+
sourceHash: `0x${string}`;
|
|
501
|
+
} | {
|
|
502
|
+
blockHash: `0x${string}` | null;
|
|
503
|
+
blockNumber: bigint | null;
|
|
504
|
+
from: `0x${string}`;
|
|
505
|
+
gas: bigint;
|
|
506
|
+
hash: `0x${string}`;
|
|
507
|
+
input: `0x${string}`;
|
|
508
|
+
nonce: number;
|
|
509
|
+
r: `0x${string}`;
|
|
510
|
+
s: `0x${string}`;
|
|
511
|
+
to: `0x${string}` | null;
|
|
512
|
+
transactionIndex: number | null;
|
|
513
|
+
typeHex: `0x${string}` | null;
|
|
514
|
+
v: bigint;
|
|
515
|
+
value: bigint;
|
|
516
|
+
yParity: number;
|
|
517
|
+
gasPrice: bigint;
|
|
518
|
+
maxFeePerGas: undefined;
|
|
519
|
+
maxPriorityFeePerGas: undefined;
|
|
520
|
+
accessList: import("viem").AccessList;
|
|
521
|
+
chainId: number;
|
|
522
|
+
type: "eip2930";
|
|
523
|
+
isSystemTx?: undefined;
|
|
524
|
+
mint?: undefined;
|
|
525
|
+
sourceHash?: undefined;
|
|
526
|
+
} | {
|
|
527
|
+
blockHash: `0x${string}` | null;
|
|
528
|
+
blockNumber: bigint | null;
|
|
529
|
+
from: `0x${string}`;
|
|
530
|
+
gas: bigint;
|
|
531
|
+
hash: `0x${string}`;
|
|
532
|
+
input: `0x${string}`;
|
|
533
|
+
nonce: number;
|
|
534
|
+
r: `0x${string}`;
|
|
535
|
+
s: `0x${string}`;
|
|
536
|
+
to: `0x${string}` | null;
|
|
537
|
+
transactionIndex: number | null;
|
|
538
|
+
typeHex: `0x${string}` | null;
|
|
539
|
+
v: bigint;
|
|
540
|
+
value: bigint;
|
|
541
|
+
yParity: number;
|
|
542
|
+
gasPrice?: undefined;
|
|
543
|
+
maxFeePerGas: bigint;
|
|
544
|
+
maxPriorityFeePerGas: bigint;
|
|
545
|
+
accessList: import("viem").AccessList;
|
|
546
|
+
chainId: number;
|
|
547
|
+
type: "eip1559";
|
|
548
|
+
isSystemTx?: undefined;
|
|
549
|
+
mint?: undefined;
|
|
550
|
+
sourceHash?: undefined;
|
|
551
|
+
} | {
|
|
552
|
+
blockHash: `0x${string}` | null;
|
|
553
|
+
blockNumber: bigint | null;
|
|
554
|
+
from: `0x${string}`;
|
|
555
|
+
gas: bigint;
|
|
556
|
+
hash: `0x${string}`;
|
|
557
|
+
input: `0x${string}`;
|
|
558
|
+
nonce: number;
|
|
559
|
+
r: `0x${string}`;
|
|
560
|
+
s: `0x${string}`;
|
|
561
|
+
to: `0x${string}` | null;
|
|
562
|
+
transactionIndex: number | null;
|
|
563
|
+
typeHex: `0x${string}` | null;
|
|
564
|
+
v: bigint;
|
|
565
|
+
value: bigint;
|
|
566
|
+
yParity: number;
|
|
567
|
+
gasPrice?: undefined;
|
|
568
|
+
maxFeePerGas: bigint;
|
|
569
|
+
maxPriorityFeePerGas: bigint;
|
|
570
|
+
accessList: import("viem").AccessList;
|
|
571
|
+
chainId: number;
|
|
572
|
+
type: "deposit";
|
|
573
|
+
isSystemTx?: boolean | undefined;
|
|
574
|
+
mint?: bigint | undefined;
|
|
575
|
+
sourceHash: `0x${string}`;
|
|
576
|
+
};
|
|
577
|
+
type: "transaction";
|
|
578
|
+
};
|
|
579
|
+
readonly transactionReceipt: {
|
|
580
|
+
exclude: [] | undefined;
|
|
581
|
+
format: (args: import("viem/chains").Assign<Partial<import("viem").RpcTransactionReceipt>, import("viem/chains").OpStackRpcTransactionReceiptOverrides>) => {
|
|
582
|
+
blockHash: `0x${string}`;
|
|
583
|
+
blockNumber: bigint;
|
|
584
|
+
contractAddress: `0x${string}` | null;
|
|
585
|
+
cumulativeGasUsed: bigint;
|
|
586
|
+
effectiveGasPrice: bigint;
|
|
587
|
+
from: `0x${string}`;
|
|
588
|
+
gasUsed: bigint;
|
|
589
|
+
logs: import("viem").Log<bigint, number, false, undefined, undefined, undefined, undefined>[];
|
|
590
|
+
logsBloom: `0x${string}`;
|
|
591
|
+
status: "success" | "reverted";
|
|
592
|
+
to: `0x${string}` | null;
|
|
593
|
+
transactionHash: `0x${string}`;
|
|
594
|
+
transactionIndex: number;
|
|
595
|
+
type: import("viem").TransactionType;
|
|
596
|
+
l1GasPrice: bigint | null;
|
|
597
|
+
l1GasUsed: bigint | null;
|
|
598
|
+
l1Fee: bigint | null;
|
|
599
|
+
l1FeeScalar: number | null;
|
|
600
|
+
};
|
|
601
|
+
type: "transactionReceipt";
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
readonly serializers: {
|
|
605
|
+
readonly transaction: (transaction: import("viem/chains").OpStackTransactionSerializable, signature?: import("viem").Signature | undefined) => `0x${string}` | `0x02${string}` | `0x01${string}`;
|
|
606
|
+
};
|
|
607
|
+
readonly fees?: import("viem").ChainFees<undefined> | undefined;
|
|
608
|
+
};
|