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