@wormhole-foundation/sdk-base 0.14.0 → 1.0.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/cjs/constants/circle.d.ts +101 -6
- package/dist/cjs/constants/circle.d.ts.map +1 -1
- package/dist/cjs/constants/circle.js +3 -0
- package/dist/cjs/constants/circle.js.map +1 -1
- package/dist/cjs/constants/contracts/circle.d.ts +10 -0
- package/dist/cjs/constants/contracts/circle.d.ts.map +1 -1
- package/dist/cjs/constants/contracts/circle.js +14 -0
- package/dist/cjs/constants/contracts/circle.js.map +1 -1
- package/dist/cjs/constants/contracts/index.d.ts +241 -3
- package/dist/cjs/constants/contracts/index.d.ts.map +1 -1
- package/dist/esm/constants/circle.d.ts +101 -6
- package/dist/esm/constants/circle.d.ts.map +1 -1
- package/dist/esm/constants/circle.js +3 -0
- package/dist/esm/constants/circle.js.map +1 -1
- package/dist/esm/constants/contracts/circle.d.ts +10 -0
- package/dist/esm/constants/contracts/circle.d.ts.map +1 -1
- package/dist/esm/constants/contracts/circle.js +14 -0
- package/dist/esm/constants/contracts/circle.js.map +1 -1
- package/dist/esm/constants/contracts/index.d.ts +241 -3
- package/dist/esm/constants/contracts/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -25,6 +25,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
25
25
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
26
26
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
27
27
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
28
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
28
29
|
};
|
|
29
30
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T ? T extends keyof {
|
|
30
31
|
readonly Mainnet: {
|
|
@@ -44,6 +45,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
44
45
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
45
46
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
46
47
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
48
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
47
49
|
};
|
|
48
50
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T extends `bigint(${infer V extends bigint})` ? V : T extends `boolean(${infer V_1 extends boolean})` ? V_1 : T : never : never>(args_0: K1, args_1: K2) => {
|
|
49
51
|
readonly Mainnet: {
|
|
@@ -63,6 +65,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
63
65
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
64
66
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
65
67
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
68
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
66
69
|
};
|
|
67
70
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T_1 ? T_1 extends {
|
|
68
71
|
readonly Mainnet: {
|
|
@@ -82,6 +85,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
82
85
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
83
86
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
84
87
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
88
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
85
89
|
};
|
|
86
90
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T_1 extends {
|
|
87
91
|
[key: string]: unknown;
|
|
@@ -89,7 +93,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
89
93
|
[key: symbol]: unknown;
|
|
90
94
|
} ? T_1[K2 extends bigint ? `bigint(${K2})` : K2 extends boolean ? `boolean(${K2})` : K2] : never : never : never) & {
|
|
91
95
|
readonly has: (args_0: string, args_1: string) => boolean;
|
|
92
|
-
readonly get: (args_0: string, args_1: string) => "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e" | "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85" | "0xaf88d065e77c8cC2239327C5EDb3A432268e5831" | "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" | "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238" | "0x5425890298aed601595a70AB815c96711a31Bc65" | "0x5fd84259d66Cd46123540766Be93DFE6D43130D7" | "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d" | "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU" | "0x036CbD53842c5426634e7929541eC2318f3dCF7e" | "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97" | undefined;
|
|
96
|
+
readonly get: (args_0: string, args_1: string) => "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e" | "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85" | "0xaf88d065e77c8cC2239327C5EDb3A432268e5831" | "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" | "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238" | "0x5425890298aed601595a70AB815c96711a31Bc65" | "0x5fd84259d66Cd46123540766Be93DFE6D43130D7" | "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d" | "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU" | "0x036CbD53842c5426634e7929541eC2318f3dCF7e" | "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97" | "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC" | undefined;
|
|
93
97
|
} & {
|
|
94
98
|
readonly subMap: <const K extends "Mainnet" | "Testnet">(key: K) => (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) extends infer T_2 ? T_2 extends (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) ? T_2 extends "Mainnet" | "Testnet" ? {
|
|
95
99
|
readonly Mainnet: {
|
|
@@ -109,6 +113,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
109
113
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
110
114
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
111
115
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
116
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
112
117
|
};
|
|
113
118
|
}[T_2] extends {
|
|
114
119
|
[key: string]: unknown;
|
|
@@ -132,6 +137,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
132
137
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
133
138
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
134
139
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
140
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
135
141
|
};
|
|
136
142
|
}[T_2] extends infer T_3 ? T_3 extends keyof {
|
|
137
143
|
readonly Mainnet: {
|
|
@@ -151,6 +157,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
151
157
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
152
158
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
153
159
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
160
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
154
161
|
};
|
|
155
162
|
}[T_2] ? T_3 extends `bigint(${infer V extends bigint})` ? V : T_3 extends `boolean(${infer V_1 extends boolean})` ? V_1 : T_3 : never : never>(args_0: K1_1) => {
|
|
156
163
|
readonly Mainnet: {
|
|
@@ -170,6 +177,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
170
177
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
171
178
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
172
179
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
180
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
173
181
|
};
|
|
174
182
|
}[T_2] extends infer T_4 ? T_4 extends {
|
|
175
183
|
readonly Mainnet: {
|
|
@@ -189,6 +197,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
189
197
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
190
198
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
191
199
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
200
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
192
201
|
};
|
|
193
202
|
}[T_2] ? T_4 extends {
|
|
194
203
|
[key: string]: unknown;
|
|
@@ -213,6 +222,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
213
222
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
214
223
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
215
224
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
225
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
216
226
|
};
|
|
217
227
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
218
228
|
readonly Mainnet: {
|
|
@@ -232,6 +242,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
232
242
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
233
243
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
234
244
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
245
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
235
246
|
};
|
|
236
247
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) extends infer T_6 ? T_6 extends ({
|
|
237
248
|
readonly Mainnet: {
|
|
@@ -251,6 +262,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
251
262
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
252
263
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
253
264
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
265
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
254
266
|
};
|
|
255
267
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
256
268
|
readonly Mainnet: {
|
|
@@ -270,6 +282,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
270
282
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
271
283
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
272
284
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
285
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
273
286
|
};
|
|
274
287
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) ? T_6 extends `bigint(${infer V extends bigint})` ? V : T_6 extends `boolean(${infer V_1 extends boolean})` ? V_1 : T_6 : never : never>) => boolean;
|
|
275
288
|
readonly get: (args_0: import("../utils/metaprogramming.js").Widen<({
|
|
@@ -290,6 +303,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
290
303
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
291
304
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
292
305
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
306
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
293
307
|
};
|
|
294
308
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
295
309
|
readonly Mainnet: {
|
|
@@ -309,6 +323,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
309
323
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
310
324
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
311
325
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
326
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
312
327
|
};
|
|
313
328
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) extends infer T_6 ? T_6 extends ({
|
|
314
329
|
readonly Mainnet: {
|
|
@@ -328,6 +343,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
328
343
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
329
344
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
330
345
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
346
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
331
347
|
};
|
|
332
348
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
333
349
|
readonly Mainnet: {
|
|
@@ -347,6 +363,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
347
363
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
348
364
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
349
365
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
366
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
350
367
|
};
|
|
351
368
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) ? T_6 extends `bigint(${infer V extends bigint})` ? V : T_6 extends `boolean(${infer V_1 extends boolean})` ? V_1 : T_6 : never : never>) => ({
|
|
352
369
|
readonly Mainnet: {
|
|
@@ -366,6 +383,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
366
383
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
367
384
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
368
385
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
386
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
369
387
|
};
|
|
370
388
|
}[T_2] extends infer T_7 ? T_7 extends {
|
|
371
389
|
readonly Mainnet: {
|
|
@@ -385,6 +403,7 @@ export declare const usdcContract: (<const K1 extends "Mainnet" | "Testnet", con
|
|
|
385
403
|
readonly Solana: "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU";
|
|
386
404
|
readonly BaseSepolia: "0x036CbD53842c5426634e7929541eC2318f3dCF7e";
|
|
387
405
|
readonly Polygon: "0x9999f7fea5938fd3b1e26a12c3f2fb024e194f97";
|
|
406
|
+
readonly Sui: "0xa1ec7fc00a6f40db9693ad1415d0c193ad3906494428cf252621037bd7117e29::usdc::USDC";
|
|
388
407
|
};
|
|
389
408
|
}[T_2] ? T_7 extends Object ? T_7[keyof T_7] : never : never : never) | undefined;
|
|
390
409
|
} : never : never : never : never;
|
|
@@ -398,6 +417,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
398
417
|
Solana: 5;
|
|
399
418
|
Base: 6;
|
|
400
419
|
Polygon: 7;
|
|
420
|
+
Sui: 8;
|
|
401
421
|
};
|
|
402
422
|
Testnet: {
|
|
403
423
|
Sepolia: 0;
|
|
@@ -407,6 +427,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
407
427
|
Solana: 5;
|
|
408
428
|
BaseSepolia: 6;
|
|
409
429
|
Polygon: 7;
|
|
430
|
+
Sui: 8;
|
|
410
431
|
};
|
|
411
432
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T ? T extends keyof {
|
|
412
433
|
Mainnet: {
|
|
@@ -417,6 +438,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
417
438
|
Solana: 5;
|
|
418
439
|
Base: 6;
|
|
419
440
|
Polygon: 7;
|
|
441
|
+
Sui: 8;
|
|
420
442
|
};
|
|
421
443
|
Testnet: {
|
|
422
444
|
Sepolia: 0;
|
|
@@ -426,6 +448,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
426
448
|
Solana: 5;
|
|
427
449
|
BaseSepolia: 6;
|
|
428
450
|
Polygon: 7;
|
|
451
|
+
Sui: 8;
|
|
429
452
|
};
|
|
430
453
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T extends `bigint(${infer V extends bigint})` ? V : T extends `boolean(${infer V_1 extends boolean})` ? V_1 : T : never : never>(args_0: K1, args_1: K2) => {
|
|
431
454
|
Mainnet: {
|
|
@@ -436,6 +459,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
436
459
|
Solana: 5;
|
|
437
460
|
Base: 6;
|
|
438
461
|
Polygon: 7;
|
|
462
|
+
Sui: 8;
|
|
439
463
|
};
|
|
440
464
|
Testnet: {
|
|
441
465
|
Sepolia: 0;
|
|
@@ -445,6 +469,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
445
469
|
Solana: 5;
|
|
446
470
|
BaseSepolia: 6;
|
|
447
471
|
Polygon: 7;
|
|
472
|
+
Sui: 8;
|
|
448
473
|
};
|
|
449
474
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T_1 ? T_1 extends {
|
|
450
475
|
Mainnet: {
|
|
@@ -455,6 +480,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
455
480
|
Solana: 5;
|
|
456
481
|
Base: 6;
|
|
457
482
|
Polygon: 7;
|
|
483
|
+
Sui: 8;
|
|
458
484
|
};
|
|
459
485
|
Testnet: {
|
|
460
486
|
Sepolia: 0;
|
|
@@ -464,6 +490,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
464
490
|
Solana: 5;
|
|
465
491
|
BaseSepolia: 6;
|
|
466
492
|
Polygon: 7;
|
|
493
|
+
Sui: 8;
|
|
467
494
|
};
|
|
468
495
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T_1 extends {
|
|
469
496
|
[key: string]: unknown;
|
|
@@ -471,7 +498,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
471
498
|
[key: symbol]: unknown;
|
|
472
499
|
} ? T_1[K2 extends bigint ? `bigint(${K2})` : K2 extends boolean ? `boolean(${K2})` : K2] : never : never : never) & {
|
|
473
500
|
readonly has: (args_0: string, args_1: string) => boolean;
|
|
474
|
-
readonly get: (args_0: string, args_1: string) => 0 | 3 | 1 | 2 | 5 | 6 | 7 | undefined;
|
|
501
|
+
readonly get: (args_0: string, args_1: string) => 0 | 3 | 1 | 2 | 5 | 6 | 7 | 8 | undefined;
|
|
475
502
|
} & {
|
|
476
503
|
readonly subMap: <const K extends "Mainnet" | "Testnet">(key: K) => (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) extends infer T_2 ? T_2 extends (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) ? T_2 extends "Mainnet" | "Testnet" ? {
|
|
477
504
|
Mainnet: {
|
|
@@ -482,6 +509,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
482
509
|
Solana: 5;
|
|
483
510
|
Base: 6;
|
|
484
511
|
Polygon: 7;
|
|
512
|
+
Sui: 8;
|
|
485
513
|
};
|
|
486
514
|
Testnet: {
|
|
487
515
|
Sepolia: 0;
|
|
@@ -491,6 +519,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
491
519
|
Solana: 5;
|
|
492
520
|
BaseSepolia: 6;
|
|
493
521
|
Polygon: 7;
|
|
522
|
+
Sui: 8;
|
|
494
523
|
};
|
|
495
524
|
}[T_2] extends {
|
|
496
525
|
[key: string]: unknown;
|
|
@@ -505,6 +534,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
505
534
|
Solana: 5;
|
|
506
535
|
Base: 6;
|
|
507
536
|
Polygon: 7;
|
|
537
|
+
Sui: 8;
|
|
508
538
|
};
|
|
509
539
|
Testnet: {
|
|
510
540
|
Sepolia: 0;
|
|
@@ -514,6 +544,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
514
544
|
Solana: 5;
|
|
515
545
|
BaseSepolia: 6;
|
|
516
546
|
Polygon: 7;
|
|
547
|
+
Sui: 8;
|
|
517
548
|
};
|
|
518
549
|
}[T_2] extends infer T_3 ? T_3 extends keyof {
|
|
519
550
|
Mainnet: {
|
|
@@ -524,6 +555,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
524
555
|
Solana: 5;
|
|
525
556
|
Base: 6;
|
|
526
557
|
Polygon: 7;
|
|
558
|
+
Sui: 8;
|
|
527
559
|
};
|
|
528
560
|
Testnet: {
|
|
529
561
|
Sepolia: 0;
|
|
@@ -533,6 +565,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
533
565
|
Solana: 5;
|
|
534
566
|
BaseSepolia: 6;
|
|
535
567
|
Polygon: 7;
|
|
568
|
+
Sui: 8;
|
|
536
569
|
};
|
|
537
570
|
}[T_2] ? T_3 extends `bigint(${infer V extends bigint})` ? V : T_3 extends `boolean(${infer V_1 extends boolean})` ? V_1 : T_3 : never : never>(args_0: K1_1) => {
|
|
538
571
|
Mainnet: {
|
|
@@ -543,6 +576,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
543
576
|
Solana: 5;
|
|
544
577
|
Base: 6;
|
|
545
578
|
Polygon: 7;
|
|
579
|
+
Sui: 8;
|
|
546
580
|
};
|
|
547
581
|
Testnet: {
|
|
548
582
|
Sepolia: 0;
|
|
@@ -552,6 +586,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
552
586
|
Solana: 5;
|
|
553
587
|
BaseSepolia: 6;
|
|
554
588
|
Polygon: 7;
|
|
589
|
+
Sui: 8;
|
|
555
590
|
};
|
|
556
591
|
}[T_2] extends infer T_4 ? T_4 extends {
|
|
557
592
|
Mainnet: {
|
|
@@ -562,6 +597,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
562
597
|
Solana: 5;
|
|
563
598
|
Base: 6;
|
|
564
599
|
Polygon: 7;
|
|
600
|
+
Sui: 8;
|
|
565
601
|
};
|
|
566
602
|
Testnet: {
|
|
567
603
|
Sepolia: 0;
|
|
@@ -571,6 +607,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
571
607
|
Solana: 5;
|
|
572
608
|
BaseSepolia: 6;
|
|
573
609
|
Polygon: 7;
|
|
610
|
+
Sui: 8;
|
|
574
611
|
};
|
|
575
612
|
}[T_2] ? T_4 extends {
|
|
576
613
|
[key: string]: unknown;
|
|
@@ -586,6 +623,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
586
623
|
Solana: 5;
|
|
587
624
|
Base: 6;
|
|
588
625
|
Polygon: 7;
|
|
626
|
+
Sui: 8;
|
|
589
627
|
};
|
|
590
628
|
Testnet: {
|
|
591
629
|
Sepolia: 0;
|
|
@@ -595,6 +633,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
595
633
|
Solana: 5;
|
|
596
634
|
BaseSepolia: 6;
|
|
597
635
|
Polygon: 7;
|
|
636
|
+
Sui: 8;
|
|
598
637
|
};
|
|
599
638
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
600
639
|
Mainnet: {
|
|
@@ -605,6 +644,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
605
644
|
Solana: 5;
|
|
606
645
|
Base: 6;
|
|
607
646
|
Polygon: 7;
|
|
647
|
+
Sui: 8;
|
|
608
648
|
};
|
|
609
649
|
Testnet: {
|
|
610
650
|
Sepolia: 0;
|
|
@@ -614,6 +654,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
614
654
|
Solana: 5;
|
|
615
655
|
BaseSepolia: 6;
|
|
616
656
|
Polygon: 7;
|
|
657
|
+
Sui: 8;
|
|
617
658
|
};
|
|
618
659
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) extends infer T_6 ? T_6 extends ({
|
|
619
660
|
Mainnet: {
|
|
@@ -624,6 +665,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
624
665
|
Solana: 5;
|
|
625
666
|
Base: 6;
|
|
626
667
|
Polygon: 7;
|
|
668
|
+
Sui: 8;
|
|
627
669
|
};
|
|
628
670
|
Testnet: {
|
|
629
671
|
Sepolia: 0;
|
|
@@ -633,6 +675,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
633
675
|
Solana: 5;
|
|
634
676
|
BaseSepolia: 6;
|
|
635
677
|
Polygon: 7;
|
|
678
|
+
Sui: 8;
|
|
636
679
|
};
|
|
637
680
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
638
681
|
Mainnet: {
|
|
@@ -643,6 +686,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
643
686
|
Solana: 5;
|
|
644
687
|
Base: 6;
|
|
645
688
|
Polygon: 7;
|
|
689
|
+
Sui: 8;
|
|
646
690
|
};
|
|
647
691
|
Testnet: {
|
|
648
692
|
Sepolia: 0;
|
|
@@ -652,6 +696,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
652
696
|
Solana: 5;
|
|
653
697
|
BaseSepolia: 6;
|
|
654
698
|
Polygon: 7;
|
|
699
|
+
Sui: 8;
|
|
655
700
|
};
|
|
656
701
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) ? T_6 extends `bigint(${infer V extends bigint})` ? V : T_6 extends `boolean(${infer V_1 extends boolean})` ? V_1 : T_6 : never : never>) => boolean;
|
|
657
702
|
readonly get: (args_0: import("../utils/metaprogramming.js").Widen<({
|
|
@@ -663,6 +708,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
663
708
|
Solana: 5;
|
|
664
709
|
Base: 6;
|
|
665
710
|
Polygon: 7;
|
|
711
|
+
Sui: 8;
|
|
666
712
|
};
|
|
667
713
|
Testnet: {
|
|
668
714
|
Sepolia: 0;
|
|
@@ -672,6 +718,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
672
718
|
Solana: 5;
|
|
673
719
|
BaseSepolia: 6;
|
|
674
720
|
Polygon: 7;
|
|
721
|
+
Sui: 8;
|
|
675
722
|
};
|
|
676
723
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
677
724
|
Mainnet: {
|
|
@@ -682,6 +729,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
682
729
|
Solana: 5;
|
|
683
730
|
Base: 6;
|
|
684
731
|
Polygon: 7;
|
|
732
|
+
Sui: 8;
|
|
685
733
|
};
|
|
686
734
|
Testnet: {
|
|
687
735
|
Sepolia: 0;
|
|
@@ -691,6 +739,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
691
739
|
Solana: 5;
|
|
692
740
|
BaseSepolia: 6;
|
|
693
741
|
Polygon: 7;
|
|
742
|
+
Sui: 8;
|
|
694
743
|
};
|
|
695
744
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) extends infer T_6 ? T_6 extends ({
|
|
696
745
|
Mainnet: {
|
|
@@ -701,6 +750,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
701
750
|
Solana: 5;
|
|
702
751
|
Base: 6;
|
|
703
752
|
Polygon: 7;
|
|
753
|
+
Sui: 8;
|
|
704
754
|
};
|
|
705
755
|
Testnet: {
|
|
706
756
|
Sepolia: 0;
|
|
@@ -710,6 +760,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
710
760
|
Solana: 5;
|
|
711
761
|
BaseSepolia: 6;
|
|
712
762
|
Polygon: 7;
|
|
763
|
+
Sui: 8;
|
|
713
764
|
};
|
|
714
765
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
715
766
|
Mainnet: {
|
|
@@ -720,6 +771,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
720
771
|
Solana: 5;
|
|
721
772
|
Base: 6;
|
|
722
773
|
Polygon: 7;
|
|
774
|
+
Sui: 8;
|
|
723
775
|
};
|
|
724
776
|
Testnet: {
|
|
725
777
|
Sepolia: 0;
|
|
@@ -729,6 +781,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
729
781
|
Solana: 5;
|
|
730
782
|
BaseSepolia: 6;
|
|
731
783
|
Polygon: 7;
|
|
784
|
+
Sui: 8;
|
|
732
785
|
};
|
|
733
786
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) ? T_6 extends `bigint(${infer V extends bigint})` ? V : T_6 extends `boolean(${infer V_1 extends boolean})` ? V_1 : T_6 : never : never>) => ({
|
|
734
787
|
Mainnet: {
|
|
@@ -739,6 +792,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
739
792
|
Solana: 5;
|
|
740
793
|
Base: 6;
|
|
741
794
|
Polygon: 7;
|
|
795
|
+
Sui: 8;
|
|
742
796
|
};
|
|
743
797
|
Testnet: {
|
|
744
798
|
Sepolia: 0;
|
|
@@ -748,6 +802,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
748
802
|
Solana: 5;
|
|
749
803
|
BaseSepolia: 6;
|
|
750
804
|
Polygon: 7;
|
|
805
|
+
Sui: 8;
|
|
751
806
|
};
|
|
752
807
|
}[T_2] extends infer T_7 ? T_7 extends {
|
|
753
808
|
Mainnet: {
|
|
@@ -758,6 +813,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
758
813
|
Solana: 5;
|
|
759
814
|
Base: 6;
|
|
760
815
|
Polygon: 7;
|
|
816
|
+
Sui: 8;
|
|
761
817
|
};
|
|
762
818
|
Testnet: {
|
|
763
819
|
Sepolia: 0;
|
|
@@ -767,6 +823,7 @@ export declare const circleChainId: (<const K1 extends "Mainnet" | "Testnet", co
|
|
|
767
823
|
Solana: 5;
|
|
768
824
|
BaseSepolia: 6;
|
|
769
825
|
Polygon: 7;
|
|
826
|
+
Sui: 8;
|
|
770
827
|
};
|
|
771
828
|
}[T_2] ? T_7 extends Object ? T_7[keyof T_7] : never : never : never) | undefined;
|
|
772
829
|
} : never : never : never : never;
|
|
@@ -780,6 +837,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
780
837
|
5: "Solana";
|
|
781
838
|
6: "Base";
|
|
782
839
|
7: "Polygon";
|
|
840
|
+
8: "Sui";
|
|
783
841
|
};
|
|
784
842
|
Testnet: {
|
|
785
843
|
0: "Sepolia";
|
|
@@ -789,6 +847,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
789
847
|
5: "Solana";
|
|
790
848
|
6: "BaseSepolia";
|
|
791
849
|
7: "Polygon";
|
|
850
|
+
8: "Sui";
|
|
792
851
|
};
|
|
793
852
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T ? T extends keyof {
|
|
794
853
|
Mainnet: {
|
|
@@ -799,6 +858,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
799
858
|
5: "Solana";
|
|
800
859
|
6: "Base";
|
|
801
860
|
7: "Polygon";
|
|
861
|
+
8: "Sui";
|
|
802
862
|
};
|
|
803
863
|
Testnet: {
|
|
804
864
|
0: "Sepolia";
|
|
@@ -808,6 +868,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
808
868
|
5: "Solana";
|
|
809
869
|
6: "BaseSepolia";
|
|
810
870
|
7: "Polygon";
|
|
871
|
+
8: "Sui";
|
|
811
872
|
};
|
|
812
873
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T extends `bigint(${infer V extends bigint})` ? V : T extends `boolean(${infer V_1 extends boolean})` ? V_1 : T : never : never>(args_0: K1, args_1: K2) => {
|
|
813
874
|
Mainnet: {
|
|
@@ -818,6 +879,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
818
879
|
5: "Solana";
|
|
819
880
|
6: "Base";
|
|
820
881
|
7: "Polygon";
|
|
882
|
+
8: "Sui";
|
|
821
883
|
};
|
|
822
884
|
Testnet: {
|
|
823
885
|
0: "Sepolia";
|
|
@@ -827,6 +889,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
827
889
|
5: "Solana";
|
|
828
890
|
6: "BaseSepolia";
|
|
829
891
|
7: "Polygon";
|
|
892
|
+
8: "Sui";
|
|
830
893
|
};
|
|
831
894
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] extends infer T_1 ? T_1 extends {
|
|
832
895
|
Mainnet: {
|
|
@@ -837,6 +900,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
837
900
|
5: "Solana";
|
|
838
901
|
6: "Base";
|
|
839
902
|
7: "Polygon";
|
|
903
|
+
8: "Sui";
|
|
840
904
|
};
|
|
841
905
|
Testnet: {
|
|
842
906
|
0: "Sepolia";
|
|
@@ -846,6 +910,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
846
910
|
5: "Solana";
|
|
847
911
|
6: "BaseSepolia";
|
|
848
912
|
7: "Polygon";
|
|
913
|
+
8: "Sui";
|
|
849
914
|
};
|
|
850
915
|
}[K1 extends bigint ? `bigint(${K1})` : K1 extends boolean ? `boolean(${K1})` : K1] ? T_1 extends {
|
|
851
916
|
[key: string]: unknown;
|
|
@@ -853,7 +918,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
853
918
|
[key: symbol]: unknown;
|
|
854
919
|
} ? T_1[K2 extends bigint ? `bigint(${K2})` : K2 extends boolean ? `boolean(${K2})` : K2] : never : never : never) & {
|
|
855
920
|
readonly has: (args_0: string, args_1: number) => boolean;
|
|
856
|
-
readonly get: (args_0: string, args_1: number) => "Solana" | "Ethereum" | "Polygon" | "Avalanche" | "Arbitrum" | "Optimism" | "Base" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | undefined;
|
|
921
|
+
readonly get: (args_0: string, args_1: number) => "Solana" | "Ethereum" | "Polygon" | "Avalanche" | "Sui" | "Arbitrum" | "Optimism" | "Base" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | undefined;
|
|
857
922
|
} & {
|
|
858
923
|
readonly subMap: <const K extends "Mainnet" | "Testnet">(key: K) => (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) extends infer T_2 ? T_2 extends (K extends bigint ? `bigint(${K})` : K extends boolean ? `boolean(${K})` : K) ? T_2 extends "Mainnet" | "Testnet" ? {
|
|
859
924
|
Mainnet: {
|
|
@@ -864,6 +929,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
864
929
|
5: "Solana";
|
|
865
930
|
6: "Base";
|
|
866
931
|
7: "Polygon";
|
|
932
|
+
8: "Sui";
|
|
867
933
|
};
|
|
868
934
|
Testnet: {
|
|
869
935
|
0: "Sepolia";
|
|
@@ -873,6 +939,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
873
939
|
5: "Solana";
|
|
874
940
|
6: "BaseSepolia";
|
|
875
941
|
7: "Polygon";
|
|
942
|
+
8: "Sui";
|
|
876
943
|
};
|
|
877
944
|
}[T_2] extends {
|
|
878
945
|
[key: string]: unknown;
|
|
@@ -887,6 +954,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
887
954
|
5: "Solana";
|
|
888
955
|
6: "Base";
|
|
889
956
|
7: "Polygon";
|
|
957
|
+
8: "Sui";
|
|
890
958
|
};
|
|
891
959
|
Testnet: {
|
|
892
960
|
0: "Sepolia";
|
|
@@ -896,6 +964,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
896
964
|
5: "Solana";
|
|
897
965
|
6: "BaseSepolia";
|
|
898
966
|
7: "Polygon";
|
|
967
|
+
8: "Sui";
|
|
899
968
|
};
|
|
900
969
|
}[T_2] extends infer T_3 ? T_3 extends keyof {
|
|
901
970
|
Mainnet: {
|
|
@@ -906,6 +975,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
906
975
|
5: "Solana";
|
|
907
976
|
6: "Base";
|
|
908
977
|
7: "Polygon";
|
|
978
|
+
8: "Sui";
|
|
909
979
|
};
|
|
910
980
|
Testnet: {
|
|
911
981
|
0: "Sepolia";
|
|
@@ -915,6 +985,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
915
985
|
5: "Solana";
|
|
916
986
|
6: "BaseSepolia";
|
|
917
987
|
7: "Polygon";
|
|
988
|
+
8: "Sui";
|
|
918
989
|
};
|
|
919
990
|
}[T_2] ? T_3 extends `bigint(${infer V extends bigint})` ? V : T_3 extends `boolean(${infer V_1 extends boolean})` ? V_1 : T_3 : never : never>(args_0: K1_1) => {
|
|
920
991
|
Mainnet: {
|
|
@@ -925,6 +996,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
925
996
|
5: "Solana";
|
|
926
997
|
6: "Base";
|
|
927
998
|
7: "Polygon";
|
|
999
|
+
8: "Sui";
|
|
928
1000
|
};
|
|
929
1001
|
Testnet: {
|
|
930
1002
|
0: "Sepolia";
|
|
@@ -934,6 +1006,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
934
1006
|
5: "Solana";
|
|
935
1007
|
6: "BaseSepolia";
|
|
936
1008
|
7: "Polygon";
|
|
1009
|
+
8: "Sui";
|
|
937
1010
|
};
|
|
938
1011
|
}[T_2] extends infer T_4 ? T_4 extends {
|
|
939
1012
|
Mainnet: {
|
|
@@ -944,6 +1017,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
944
1017
|
5: "Solana";
|
|
945
1018
|
6: "Base";
|
|
946
1019
|
7: "Polygon";
|
|
1020
|
+
8: "Sui";
|
|
947
1021
|
};
|
|
948
1022
|
Testnet: {
|
|
949
1023
|
0: "Sepolia";
|
|
@@ -953,6 +1027,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
953
1027
|
5: "Solana";
|
|
954
1028
|
6: "BaseSepolia";
|
|
955
1029
|
7: "Polygon";
|
|
1030
|
+
8: "Sui";
|
|
956
1031
|
};
|
|
957
1032
|
}[T_2] ? T_4 extends {
|
|
958
1033
|
[key: string]: unknown;
|
|
@@ -968,6 +1043,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
968
1043
|
5: "Solana";
|
|
969
1044
|
6: "Base";
|
|
970
1045
|
7: "Polygon";
|
|
1046
|
+
8: "Sui";
|
|
971
1047
|
};
|
|
972
1048
|
Testnet: {
|
|
973
1049
|
0: "Sepolia";
|
|
@@ -977,6 +1053,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
977
1053
|
5: "Solana";
|
|
978
1054
|
6: "BaseSepolia";
|
|
979
1055
|
7: "Polygon";
|
|
1056
|
+
8: "Sui";
|
|
980
1057
|
};
|
|
981
1058
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
982
1059
|
Mainnet: {
|
|
@@ -987,6 +1064,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
987
1064
|
5: "Solana";
|
|
988
1065
|
6: "Base";
|
|
989
1066
|
7: "Polygon";
|
|
1067
|
+
8: "Sui";
|
|
990
1068
|
};
|
|
991
1069
|
Testnet: {
|
|
992
1070
|
0: "Sepolia";
|
|
@@ -996,6 +1074,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
996
1074
|
5: "Solana";
|
|
997
1075
|
6: "BaseSepolia";
|
|
998
1076
|
7: "Polygon";
|
|
1077
|
+
8: "Sui";
|
|
999
1078
|
};
|
|
1000
1079
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) extends infer T_6 ? T_6 extends ({
|
|
1001
1080
|
Mainnet: {
|
|
@@ -1006,6 +1085,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1006
1085
|
5: "Solana";
|
|
1007
1086
|
6: "Base";
|
|
1008
1087
|
7: "Polygon";
|
|
1088
|
+
8: "Sui";
|
|
1009
1089
|
};
|
|
1010
1090
|
Testnet: {
|
|
1011
1091
|
0: "Sepolia";
|
|
@@ -1015,6 +1095,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1015
1095
|
5: "Solana";
|
|
1016
1096
|
6: "BaseSepolia";
|
|
1017
1097
|
7: "Polygon";
|
|
1098
|
+
8: "Sui";
|
|
1018
1099
|
};
|
|
1019
1100
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
1020
1101
|
Mainnet: {
|
|
@@ -1025,6 +1106,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1025
1106
|
5: "Solana";
|
|
1026
1107
|
6: "Base";
|
|
1027
1108
|
7: "Polygon";
|
|
1109
|
+
8: "Sui";
|
|
1028
1110
|
};
|
|
1029
1111
|
Testnet: {
|
|
1030
1112
|
0: "Sepolia";
|
|
@@ -1034,6 +1116,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1034
1116
|
5: "Solana";
|
|
1035
1117
|
6: "BaseSepolia";
|
|
1036
1118
|
7: "Polygon";
|
|
1119
|
+
8: "Sui";
|
|
1037
1120
|
};
|
|
1038
1121
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) ? T_6 extends `bigint(${infer V extends bigint})` ? V : T_6 extends `boolean(${infer V_1 extends boolean})` ? V_1 : T_6 : never : never>) => boolean;
|
|
1039
1122
|
readonly get: (args_0: import("../utils/metaprogramming.js").Widen<({
|
|
@@ -1045,6 +1128,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1045
1128
|
5: "Solana";
|
|
1046
1129
|
6: "Base";
|
|
1047
1130
|
7: "Polygon";
|
|
1131
|
+
8: "Sui";
|
|
1048
1132
|
};
|
|
1049
1133
|
Testnet: {
|
|
1050
1134
|
0: "Sepolia";
|
|
@@ -1054,6 +1138,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1054
1138
|
5: "Solana";
|
|
1055
1139
|
6: "BaseSepolia";
|
|
1056
1140
|
7: "Polygon";
|
|
1141
|
+
8: "Sui";
|
|
1057
1142
|
};
|
|
1058
1143
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
1059
1144
|
Mainnet: {
|
|
@@ -1064,6 +1149,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1064
1149
|
5: "Solana";
|
|
1065
1150
|
6: "Base";
|
|
1066
1151
|
7: "Polygon";
|
|
1152
|
+
8: "Sui";
|
|
1067
1153
|
};
|
|
1068
1154
|
Testnet: {
|
|
1069
1155
|
0: "Sepolia";
|
|
@@ -1073,6 +1159,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1073
1159
|
5: "Solana";
|
|
1074
1160
|
6: "BaseSepolia";
|
|
1075
1161
|
7: "Polygon";
|
|
1162
|
+
8: "Sui";
|
|
1076
1163
|
};
|
|
1077
1164
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) extends infer T_6 ? T_6 extends ({
|
|
1078
1165
|
Mainnet: {
|
|
@@ -1083,6 +1170,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1083
1170
|
5: "Solana";
|
|
1084
1171
|
6: "Base";
|
|
1085
1172
|
7: "Polygon";
|
|
1173
|
+
8: "Sui";
|
|
1086
1174
|
};
|
|
1087
1175
|
Testnet: {
|
|
1088
1176
|
0: "Sepolia";
|
|
@@ -1092,6 +1180,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1092
1180
|
5: "Solana";
|
|
1093
1181
|
6: "BaseSepolia";
|
|
1094
1182
|
7: "Polygon";
|
|
1183
|
+
8: "Sui";
|
|
1095
1184
|
};
|
|
1096
1185
|
}[T_2] extends infer T_5 ? T_5 extends {
|
|
1097
1186
|
Mainnet: {
|
|
@@ -1102,6 +1191,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1102
1191
|
5: "Solana";
|
|
1103
1192
|
6: "Base";
|
|
1104
1193
|
7: "Polygon";
|
|
1194
|
+
8: "Sui";
|
|
1105
1195
|
};
|
|
1106
1196
|
Testnet: {
|
|
1107
1197
|
0: "Sepolia";
|
|
@@ -1111,6 +1201,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1111
1201
|
5: "Solana";
|
|
1112
1202
|
6: "BaseSepolia";
|
|
1113
1203
|
7: "Polygon";
|
|
1204
|
+
8: "Sui";
|
|
1114
1205
|
};
|
|
1115
1206
|
}[T_2] ? T_5 extends Object ? keyof T_5 : never : never : never) ? T_6 extends `bigint(${infer V extends bigint})` ? V : T_6 extends `boolean(${infer V_1 extends boolean})` ? V_1 : T_6 : never : never>) => ({
|
|
1116
1207
|
Mainnet: {
|
|
@@ -1121,6 +1212,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1121
1212
|
5: "Solana";
|
|
1122
1213
|
6: "Base";
|
|
1123
1214
|
7: "Polygon";
|
|
1215
|
+
8: "Sui";
|
|
1124
1216
|
};
|
|
1125
1217
|
Testnet: {
|
|
1126
1218
|
0: "Sepolia";
|
|
@@ -1130,6 +1222,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1130
1222
|
5: "Solana";
|
|
1131
1223
|
6: "BaseSepolia";
|
|
1132
1224
|
7: "Polygon";
|
|
1225
|
+
8: "Sui";
|
|
1133
1226
|
};
|
|
1134
1227
|
}[T_2] extends infer T_7 ? T_7 extends {
|
|
1135
1228
|
Mainnet: {
|
|
@@ -1140,6 +1233,7 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1140
1233
|
5: "Solana";
|
|
1141
1234
|
6: "Base";
|
|
1142
1235
|
7: "Polygon";
|
|
1236
|
+
8: "Sui";
|
|
1143
1237
|
};
|
|
1144
1238
|
Testnet: {
|
|
1145
1239
|
0: "Sepolia";
|
|
@@ -1149,16 +1243,17 @@ export declare const circleChainIdToChain: (<const K1 extends "Mainnet" | "Testn
|
|
|
1149
1243
|
5: "Solana";
|
|
1150
1244
|
6: "BaseSepolia";
|
|
1151
1245
|
7: "Polygon";
|
|
1246
|
+
8: "Sui";
|
|
1152
1247
|
};
|
|
1153
1248
|
}[T_2] ? T_7 extends Object ? T_7[keyof T_7] : never : never : never) | undefined;
|
|
1154
1249
|
} : never : never : never : never;
|
|
1155
1250
|
};
|
|
1156
|
-
export declare const circleNetworks: ["Mainnet", "Testnet"], circleChainMap: [readonly [readonly ["Ethereum", 0], readonly ["Avalanche", 1], readonly ["Optimism", 2], readonly ["Arbitrum", 3], readonly ["Solana", 5], readonly ["Base", 6], readonly ["Polygon", 7]], readonly [readonly ["Sepolia", 0], readonly ["Avalanche", 1], readonly ["OptimismSepolia", 2], readonly ["ArbitrumSepolia", 3], readonly ["Solana", 5], readonly ["BaseSepolia", 6], readonly ["Polygon", 7]]];
|
|
1251
|
+
export declare const circleNetworks: ["Mainnet", "Testnet"], circleChainMap: [readonly [readonly ["Ethereum", 0], readonly ["Avalanche", 1], readonly ["Optimism", 2], readonly ["Arbitrum", 3], readonly ["Solana", 5], readonly ["Base", 6], readonly ["Polygon", 7], readonly ["Sui", 8]], readonly [readonly ["Sepolia", 0], readonly ["Avalanche", 1], readonly ["OptimismSepolia", 2], readonly ["ArbitrumSepolia", 3], readonly ["Solana", 5], readonly ["BaseSepolia", 6], readonly ["Polygon", 7], readonly ["Sui", 8]]];
|
|
1157
1252
|
export type CircleNetwork = (typeof circleNetworks)[number];
|
|
1158
1253
|
export type CircleChain = Column<Flatten<typeof circleChainMap>, 0>[number];
|
|
1159
1254
|
export type CircleChainId = Column<Flatten<typeof circleChainMap>, 1>[number];
|
|
1160
|
-
export declare const isCircleChain: (network: Network, chain: string) => chain is "Solana" | "Ethereum" | "Polygon" | "Avalanche" | "Arbitrum" | "Optimism" | "Base" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia";
|
|
1161
|
-
export declare const isCircleChainId: (network: Network, chainId: number) => chainId is 0 | 3 | 1 | 2 | 5 | 6 | 7;
|
|
1255
|
+
export declare const isCircleChain: (network: Network, chain: string) => chain is "Solana" | "Ethereum" | "Polygon" | "Avalanche" | "Sui" | "Arbitrum" | "Optimism" | "Base" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia";
|
|
1256
|
+
export declare const isCircleChainId: (network: Network, chainId: number) => chainId is 0 | 3 | 1 | 2 | 5 | 6 | 7 | 8;
|
|
1162
1257
|
export declare const isCircleSupported: (network: Network, chain: string) => network is "Mainnet" | "Testnet";
|
|
1163
1258
|
export declare function assertCircleChainId(network: Network, chainId: number): asserts chainId is CircleChainId;
|
|
1164
1259
|
export declare function assertCircleChain(network: Network, chain: string): asserts chain is CircleChain;
|