@circle-fin/usdckit 0.23.1 → 0.24.1
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/actions/index.d.ts +1 -1
- package/dist/cjs/chains/ARC_TESTNET.d.ts +2 -2
- package/dist/cjs/chains/ARC_TESTNET.js +3 -36
- package/dist/cjs/chains/BASE.d.ts +6 -6
- package/dist/cjs/chains/BASE_SEPOLIA.d.ts +6 -6
- package/dist/cjs/chains/ETH_SEPOLIA.d.ts +1 -1
- package/dist/cjs/chains/MATIC.d.ts +1 -1
- package/dist/cjs/chains/MONAD.d.ts +184 -0
- package/dist/cjs/chains/MONAD.js +24 -0
- package/dist/cjs/chains/MONAD_TESTNET.d.ts +178 -0
- package/dist/cjs/chains/MONAD_TESTNET.js +24 -0
- package/dist/cjs/chains/NEAR.d.ts +1 -1
- package/dist/cjs/chains/NEAR_TESTNET.d.ts +1 -1
- package/dist/cjs/chains/OP.d.ts +6 -6
- package/dist/cjs/chains/OP_SEPOLIA.d.ts +6 -6
- package/dist/cjs/chains/UNI.d.ts +7 -7
- package/dist/cjs/chains/UNI_SEPOLIA.d.ts +7 -7
- package/dist/cjs/chains/index.d.ts +4 -2
- package/dist/cjs/chains/index.js +5 -1
- package/dist/cjs/chains/index.test.js +2 -0
- package/dist/cjs/chains.d.ts +2 -0
- package/dist/cjs/chains.js +12 -0
- package/dist/cjs/client.d.ts +1 -1
- package/dist/cjs/extractChain.d.ts +405 -45
- package/dist/cjs/extractChain.test.js +4 -0
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/metadata.js +1 -1
- package/dist/cjs/providers/circle-wallets/actions/createAccount.d.ts +402 -42
- package/dist/cjs/providers/circle-wallets/actions/createAccount.js +0 -3
- package/dist/cjs/providers/circle-wallets/actions/getAccounts.d.ts +402 -42
- package/dist/cjs/providers/circle-wallets/index.d.ts +643 -106
- package/dist/cjs/providers/circle-wallets/index.js +3 -0
- package/dist/cjs/providers/circle-wallets/transports/index.js +0 -1
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/BASE.d.ts +6 -6
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/BASE_SEPOLIA.d.ts +6 -6
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/ETH_SEPOLIA.d.ts +1 -1
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/MATIC.d.ts +1 -1
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/OP.d.ts +6 -6
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/OP_SEPOLIA.d.ts +6 -6
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/UNI.d.ts +7 -7
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/UNI_SEPOLIA.d.ts +7 -7
- package/dist/cjs/providers/cross-chain-transfer-protocol/index.d.ts +40 -40
- package/dist/cjs/providers/uniswap/chains/BASE.d.ts +6 -6
- package/dist/cjs/providers/uniswap/chains/BASE_SEPOLIA.d.ts +6 -6
- package/dist/cjs/providers/uniswap/chains/ETH_SEPOLIA.d.ts +1 -1
- package/dist/cjs/providers/uniswap/chains/MATIC.d.ts +1 -1
- package/dist/cjs/providers/uniswap/chains/OP.d.ts +6 -6
- package/dist/cjs/providers/uniswap/chains/OP_SEPOLIA.d.ts +6 -6
- package/dist/cjs/providers/uniswap/chains/UNI.d.ts +7 -7
- package/dist/cjs/providers/uniswap/chains/UNI_SEPOLIA.d.ts +7 -7
- package/dist/cjs/providers/uniswap/index.d.ts +40 -40
- package/dist/cjs/utils/createConfig.d.ts +1 -1
- package/dist/cjs/utils/createCustomWalletClient.d.ts +1 -1
- package/dist/cjs/utils/getChainContractByAddress.d.ts +1 -1
- package/dist/cjs/utils/getClient.d.ts +26 -0
- package/dist/cjs/utils/getContract.d.ts +8 -8
- package/dist/esm/actions/index.d.ts +1 -1
- package/dist/esm/chains/ARC_TESTNET.d.ts +2 -2
- package/dist/esm/chains/ARC_TESTNET.js +1 -34
- package/dist/esm/chains/BASE.d.ts +6 -6
- package/dist/esm/chains/BASE_SEPOLIA.d.ts +6 -6
- package/dist/esm/chains/ETH_SEPOLIA.d.ts +1 -1
- package/dist/esm/chains/MATIC.d.ts +1 -1
- package/dist/esm/chains/MONAD.d.ts +184 -0
- package/dist/esm/chains/MONAD.js +21 -0
- package/dist/esm/chains/MONAD_TESTNET.d.ts +178 -0
- package/dist/esm/chains/MONAD_TESTNET.js +21 -0
- package/dist/esm/chains/NEAR.d.ts +1 -1
- package/dist/esm/chains/NEAR_TESTNET.d.ts +1 -1
- package/dist/esm/chains/OP.d.ts +6 -6
- package/dist/esm/chains/OP_SEPOLIA.d.ts +6 -6
- package/dist/esm/chains/UNI.d.ts +7 -7
- package/dist/esm/chains/UNI_SEPOLIA.d.ts +7 -7
- package/dist/esm/chains/index.d.ts +4 -2
- package/dist/esm/chains/index.js +3 -1
- package/dist/esm/chains/index.test.js +2 -0
- package/dist/esm/chains.d.ts +2 -0
- package/dist/esm/chains.js +11 -0
- package/dist/esm/client.d.ts +1 -1
- package/dist/esm/extractChain.d.ts +405 -45
- package/dist/esm/extractChain.test.js +6 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/metadata.js +1 -1
- package/dist/esm/package.json +1 -0
- package/dist/esm/providers/circle-wallets/actions/createAccount.d.ts +402 -42
- package/dist/esm/providers/circle-wallets/actions/createAccount.js +0 -3
- package/dist/esm/providers/circle-wallets/actions/getAccounts.d.ts +402 -42
- package/dist/esm/providers/circle-wallets/index.d.ts +643 -106
- package/dist/esm/providers/circle-wallets/index.js +4 -1
- package/dist/esm/providers/circle-wallets/transports/index.js +0 -1
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/BASE.d.ts +6 -6
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/BASE_SEPOLIA.d.ts +6 -6
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/ETH_SEPOLIA.d.ts +1 -1
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/MATIC.d.ts +1 -1
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/OP.d.ts +6 -6
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/OP_SEPOLIA.d.ts +6 -6
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/UNI.d.ts +7 -7
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/UNI_SEPOLIA.d.ts +7 -7
- package/dist/esm/providers/cross-chain-transfer-protocol/index.d.ts +40 -40
- package/dist/esm/providers/uniswap/chains/BASE.d.ts +6 -6
- package/dist/esm/providers/uniswap/chains/BASE_SEPOLIA.d.ts +6 -6
- package/dist/esm/providers/uniswap/chains/ETH_SEPOLIA.d.ts +1 -1
- package/dist/esm/providers/uniswap/chains/MATIC.d.ts +1 -1
- package/dist/esm/providers/uniswap/chains/OP.d.ts +6 -6
- package/dist/esm/providers/uniswap/chains/OP_SEPOLIA.d.ts +6 -6
- package/dist/esm/providers/uniswap/chains/UNI.d.ts +7 -7
- package/dist/esm/providers/uniswap/chains/UNI_SEPOLIA.d.ts +7 -7
- package/dist/esm/providers/uniswap/index.d.ts +40 -40
- package/dist/esm/utils/createConfig.d.ts +1 -1
- package/dist/esm/utils/createCustomWalletClient.d.ts +1 -1
- package/dist/esm/utils/getChainContractByAddress.d.ts +1 -1
- package/dist/esm/utils/getClient.d.ts +26 -0
- package/dist/esm/utils/getContract.d.ts +8 -8
- package/package.json +17 -6
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
export declare const chain: {
|
|
2
|
+
blockExplorers: {
|
|
3
|
+
readonly default: {
|
|
4
|
+
readonly name: "Monad Testnet explorer";
|
|
5
|
+
readonly url: "https://testnet.monadexplorer.com";
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
blockTime: 400;
|
|
9
|
+
contracts: {
|
|
10
|
+
readonly USDC: {
|
|
11
|
+
readonly address: "0x534b2f3A21130d7a60830c2Df862319e593943A3";
|
|
12
|
+
readonly abi: readonly [{
|
|
13
|
+
readonly type: "event";
|
|
14
|
+
readonly name: "Approval";
|
|
15
|
+
readonly inputs: readonly [{
|
|
16
|
+
readonly indexed: true;
|
|
17
|
+
readonly name: "owner";
|
|
18
|
+
readonly type: "address";
|
|
19
|
+
}, {
|
|
20
|
+
readonly indexed: true;
|
|
21
|
+
readonly name: "spender";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}, {
|
|
24
|
+
readonly indexed: false;
|
|
25
|
+
readonly name: "value";
|
|
26
|
+
readonly type: "uint256";
|
|
27
|
+
}];
|
|
28
|
+
}, {
|
|
29
|
+
readonly type: "event";
|
|
30
|
+
readonly name: "Transfer";
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly indexed: true;
|
|
33
|
+
readonly name: "from";
|
|
34
|
+
readonly type: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly indexed: true;
|
|
37
|
+
readonly name: "to";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
}, {
|
|
40
|
+
readonly indexed: false;
|
|
41
|
+
readonly name: "value";
|
|
42
|
+
readonly type: "uint256";
|
|
43
|
+
}];
|
|
44
|
+
}, {
|
|
45
|
+
readonly type: "function";
|
|
46
|
+
readonly name: "allowance";
|
|
47
|
+
readonly stateMutability: "view";
|
|
48
|
+
readonly inputs: readonly [{
|
|
49
|
+
readonly name: "owner";
|
|
50
|
+
readonly type: "address";
|
|
51
|
+
}, {
|
|
52
|
+
readonly name: "spender";
|
|
53
|
+
readonly type: "address";
|
|
54
|
+
}];
|
|
55
|
+
readonly outputs: readonly [{
|
|
56
|
+
readonly type: "uint256";
|
|
57
|
+
}];
|
|
58
|
+
}, {
|
|
59
|
+
readonly type: "function";
|
|
60
|
+
readonly name: "approve";
|
|
61
|
+
readonly stateMutability: "nonpayable";
|
|
62
|
+
readonly inputs: readonly [{
|
|
63
|
+
readonly name: "spender";
|
|
64
|
+
readonly type: "address";
|
|
65
|
+
}, {
|
|
66
|
+
readonly name: "amount";
|
|
67
|
+
readonly type: "uint256";
|
|
68
|
+
}];
|
|
69
|
+
readonly outputs: readonly [{
|
|
70
|
+
readonly type: "bool";
|
|
71
|
+
}];
|
|
72
|
+
}, {
|
|
73
|
+
readonly type: "function";
|
|
74
|
+
readonly name: "balanceOf";
|
|
75
|
+
readonly stateMutability: "view";
|
|
76
|
+
readonly inputs: readonly [{
|
|
77
|
+
readonly name: "account";
|
|
78
|
+
readonly type: "address";
|
|
79
|
+
}];
|
|
80
|
+
readonly outputs: readonly [{
|
|
81
|
+
readonly type: "uint256";
|
|
82
|
+
}];
|
|
83
|
+
}, {
|
|
84
|
+
readonly type: "function";
|
|
85
|
+
readonly name: "decimals";
|
|
86
|
+
readonly stateMutability: "view";
|
|
87
|
+
readonly inputs: readonly [];
|
|
88
|
+
readonly outputs: readonly [{
|
|
89
|
+
readonly type: "uint8";
|
|
90
|
+
}];
|
|
91
|
+
}, {
|
|
92
|
+
readonly type: "function";
|
|
93
|
+
readonly name: "name";
|
|
94
|
+
readonly stateMutability: "view";
|
|
95
|
+
readonly inputs: readonly [];
|
|
96
|
+
readonly outputs: readonly [{
|
|
97
|
+
readonly type: "string";
|
|
98
|
+
}];
|
|
99
|
+
}, {
|
|
100
|
+
readonly type: "function";
|
|
101
|
+
readonly name: "symbol";
|
|
102
|
+
readonly stateMutability: "view";
|
|
103
|
+
readonly inputs: readonly [];
|
|
104
|
+
readonly outputs: readonly [{
|
|
105
|
+
readonly type: "string";
|
|
106
|
+
}];
|
|
107
|
+
}, {
|
|
108
|
+
readonly type: "function";
|
|
109
|
+
readonly name: "totalSupply";
|
|
110
|
+
readonly stateMutability: "view";
|
|
111
|
+
readonly inputs: readonly [];
|
|
112
|
+
readonly outputs: readonly [{
|
|
113
|
+
readonly type: "uint256";
|
|
114
|
+
}];
|
|
115
|
+
}, {
|
|
116
|
+
readonly type: "function";
|
|
117
|
+
readonly name: "transfer";
|
|
118
|
+
readonly stateMutability: "nonpayable";
|
|
119
|
+
readonly inputs: readonly [{
|
|
120
|
+
readonly name: "recipient";
|
|
121
|
+
readonly type: "address";
|
|
122
|
+
}, {
|
|
123
|
+
readonly name: "amount";
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
}];
|
|
126
|
+
readonly outputs: readonly [{
|
|
127
|
+
readonly type: "bool";
|
|
128
|
+
}];
|
|
129
|
+
}, {
|
|
130
|
+
readonly type: "function";
|
|
131
|
+
readonly name: "transferFrom";
|
|
132
|
+
readonly stateMutability: "nonpayable";
|
|
133
|
+
readonly inputs: readonly [{
|
|
134
|
+
readonly name: "sender";
|
|
135
|
+
readonly type: "address";
|
|
136
|
+
}, {
|
|
137
|
+
readonly name: "recipient";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
}, {
|
|
140
|
+
readonly name: "amount";
|
|
141
|
+
readonly type: "uint256";
|
|
142
|
+
}];
|
|
143
|
+
readonly outputs: readonly [{
|
|
144
|
+
readonly type: "bool";
|
|
145
|
+
}];
|
|
146
|
+
}];
|
|
147
|
+
readonly read: {
|
|
148
|
+
readonly decimals: () => 6;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
readonly multicall3: {
|
|
152
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
153
|
+
readonly blockCreated: 251449;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
ensTlds?: readonly string[] | undefined;
|
|
157
|
+
id: 10143;
|
|
158
|
+
name: "Monad Testnet";
|
|
159
|
+
nativeCurrency: {
|
|
160
|
+
readonly name: "Testnet MON Token";
|
|
161
|
+
readonly symbol: "MON";
|
|
162
|
+
readonly decimals: 18;
|
|
163
|
+
};
|
|
164
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
165
|
+
rpcUrls: {
|
|
166
|
+
readonly default: {
|
|
167
|
+
readonly http: readonly ["https://testnet-rpc.monad.xyz"];
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
sourceId?: number | undefined | undefined;
|
|
171
|
+
testnet: true;
|
|
172
|
+
custom?: Record<string, unknown> | undefined;
|
|
173
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
174
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
175
|
+
readonly blockchainId: "MONAD-TESTNET";
|
|
176
|
+
readonly blockchainVm: "EVM";
|
|
177
|
+
readonly formatters?: undefined | undefined;
|
|
178
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Copyright (c) 2025, Circle Internet Group, Inc.
|
|
2
|
+
// All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
// Circle Internet Group, Inc. CONFIDENTIAL
|
|
5
|
+
//
|
|
6
|
+
// This file includes unpublished proprietary source code of Circle Internet
|
|
7
|
+
// Group, Inc. The copyright notice above does not
|
|
8
|
+
// evidence any actual or intended publication of such source code. Disclosure
|
|
9
|
+
// of this source code or any related proprietary information is strictly
|
|
10
|
+
// prohibited without the express written permission of Circle Internet Group, Inc.
|
|
11
|
+
import { defineChain, erc20Abi } from 'viem';
|
|
12
|
+
import { monadTestnet } from 'viem/chains';
|
|
13
|
+
export const chain = defineChain({
|
|
14
|
+
...monadTestnet,
|
|
15
|
+
blockchainId: 'MONAD-TESTNET',
|
|
16
|
+
blockchainVm: 'EVM',
|
|
17
|
+
contracts: {
|
|
18
|
+
...monadTestnet.contracts,
|
|
19
|
+
USDC: { address: '0x534b2f3A21130d7a60830c2Df862319e593943A3', abi: erc20Abi, read: { decimals: () => 6 } },
|
|
20
|
+
},
|
|
21
|
+
});
|
|
@@ -16,7 +16,7 @@ export declare const chain: {
|
|
|
16
16
|
readonly ensRegistry?: import("viem").ChainContract | undefined;
|
|
17
17
|
readonly ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
18
18
|
readonly multicall3?: import("viem").ChainContract | undefined;
|
|
19
|
-
readonly
|
|
19
|
+
readonly erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
20
20
|
};
|
|
21
21
|
ensTlds?: readonly string[] | undefined;
|
|
22
22
|
id: 397;
|
|
@@ -16,7 +16,7 @@ export declare const chain: {
|
|
|
16
16
|
readonly ensRegistry?: import("viem").ChainContract | undefined;
|
|
17
17
|
readonly ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
18
18
|
readonly multicall3?: import("viem").ChainContract | undefined;
|
|
19
|
-
readonly
|
|
19
|
+
readonly erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
20
20
|
};
|
|
21
21
|
ensTlds?: readonly string[] | undefined;
|
|
22
22
|
id: 398;
|
package/dist/esm/chains/OP.d.ts
CHANGED
|
@@ -213,7 +213,7 @@ export declare const chain: {
|
|
|
213
213
|
formatters: {
|
|
214
214
|
readonly block: {
|
|
215
215
|
exclude: [] | undefined;
|
|
216
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
216
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
217
217
|
baseFeePerGas: bigint | null;
|
|
218
218
|
blobGasUsed: bigint;
|
|
219
219
|
difficulty: bigint;
|
|
@@ -246,7 +246,7 @@ export declare const chain: {
|
|
|
246
246
|
};
|
|
247
247
|
readonly transaction: {
|
|
248
248
|
exclude: [] | undefined;
|
|
249
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
249
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
250
250
|
blockHash: `0x${string}` | null;
|
|
251
251
|
blockNumber: bigint | null;
|
|
252
252
|
from: import("viem").Address;
|
|
@@ -274,16 +274,16 @@ export declare const chain: {
|
|
|
274
274
|
r: import("viem").Hex;
|
|
275
275
|
s: import("viem").Hex;
|
|
276
276
|
v: bigint;
|
|
277
|
+
value: bigint;
|
|
278
|
+
gas: bigint;
|
|
277
279
|
to: import("viem").Address | null;
|
|
278
280
|
from: import("viem").Address;
|
|
279
|
-
gas: bigint;
|
|
280
281
|
nonce: number;
|
|
281
|
-
value: bigint;
|
|
282
282
|
blockHash: `0x${string}` | null;
|
|
283
283
|
blockNumber: bigint | null;
|
|
284
|
+
transactionIndex: number | null;
|
|
284
285
|
hash: import("viem").Hash;
|
|
285
286
|
input: import("viem").Hex;
|
|
286
|
-
transactionIndex: number | null;
|
|
287
287
|
typeHex: import("viem").Hex | null;
|
|
288
288
|
accessList?: undefined | undefined;
|
|
289
289
|
authorizationList?: undefined | undefined;
|
|
@@ -415,7 +415,7 @@ export declare const chain: {
|
|
|
415
415
|
};
|
|
416
416
|
readonly transactionReceipt: {
|
|
417
417
|
exclude: [] | undefined;
|
|
418
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
418
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
419
419
|
blobGasPrice?: bigint | undefined;
|
|
420
420
|
blobGasUsed?: bigint | undefined;
|
|
421
421
|
blockHash: import("viem").Hash;
|
|
@@ -213,7 +213,7 @@ export declare const chain: {
|
|
|
213
213
|
formatters: {
|
|
214
214
|
readonly block: {
|
|
215
215
|
exclude: [] | undefined;
|
|
216
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
216
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
217
217
|
baseFeePerGas: bigint | null;
|
|
218
218
|
blobGasUsed: bigint;
|
|
219
219
|
difficulty: bigint;
|
|
@@ -246,7 +246,7 @@ export declare const chain: {
|
|
|
246
246
|
};
|
|
247
247
|
readonly transaction: {
|
|
248
248
|
exclude: [] | undefined;
|
|
249
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
249
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
250
250
|
blockHash: `0x${string}` | null;
|
|
251
251
|
blockNumber: bigint | null;
|
|
252
252
|
from: import("viem").Address;
|
|
@@ -274,16 +274,16 @@ export declare const chain: {
|
|
|
274
274
|
r: import("viem").Hex;
|
|
275
275
|
s: import("viem").Hex;
|
|
276
276
|
v: bigint;
|
|
277
|
+
value: bigint;
|
|
278
|
+
gas: bigint;
|
|
277
279
|
to: import("viem").Address | null;
|
|
278
280
|
from: import("viem").Address;
|
|
279
|
-
gas: bigint;
|
|
280
281
|
nonce: number;
|
|
281
|
-
value: bigint;
|
|
282
282
|
blockHash: `0x${string}` | null;
|
|
283
283
|
blockNumber: bigint | null;
|
|
284
|
+
transactionIndex: number | null;
|
|
284
285
|
hash: import("viem").Hash;
|
|
285
286
|
input: import("viem").Hex;
|
|
286
|
-
transactionIndex: number | null;
|
|
287
287
|
typeHex: import("viem").Hex | null;
|
|
288
288
|
accessList?: undefined | undefined;
|
|
289
289
|
authorizationList?: undefined | undefined;
|
|
@@ -415,7 +415,7 @@ export declare const chain: {
|
|
|
415
415
|
};
|
|
416
416
|
readonly transactionReceipt: {
|
|
417
417
|
exclude: [] | undefined;
|
|
418
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
418
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
419
419
|
blobGasPrice?: bigint | undefined;
|
|
420
420
|
blobGasUsed?: bigint | undefined;
|
|
421
421
|
blockHash: import("viem").Hash;
|
package/dist/esm/chains/UNI.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const chain: {
|
|
|
6
6
|
readonly apiUrl: "https://api.uniscan.xyz/api";
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
-
blockTime:
|
|
9
|
+
blockTime: 1000;
|
|
10
10
|
contracts: {
|
|
11
11
|
readonly USDC: {
|
|
12
12
|
readonly address: "0x078D782b760474a361dDA0AF3839290b0EF57AD6";
|
|
@@ -208,7 +208,7 @@ export declare const chain: {
|
|
|
208
208
|
formatters: {
|
|
209
209
|
readonly block: {
|
|
210
210
|
exclude: [] | undefined;
|
|
211
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
211
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
212
212
|
baseFeePerGas: bigint | null;
|
|
213
213
|
blobGasUsed: bigint;
|
|
214
214
|
difficulty: bigint;
|
|
@@ -241,7 +241,7 @@ export declare const chain: {
|
|
|
241
241
|
};
|
|
242
242
|
readonly transaction: {
|
|
243
243
|
exclude: [] | undefined;
|
|
244
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
244
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
245
245
|
blockHash: `0x${string}` | null;
|
|
246
246
|
blockNumber: bigint | null;
|
|
247
247
|
from: import("viem").Address;
|
|
@@ -269,16 +269,16 @@ export declare const chain: {
|
|
|
269
269
|
r: import("viem").Hex;
|
|
270
270
|
s: import("viem").Hex;
|
|
271
271
|
v: bigint;
|
|
272
|
+
value: bigint;
|
|
273
|
+
gas: bigint;
|
|
272
274
|
to: import("viem").Address | null;
|
|
273
275
|
from: import("viem").Address;
|
|
274
|
-
gas: bigint;
|
|
275
276
|
nonce: number;
|
|
276
|
-
value: bigint;
|
|
277
277
|
blockHash: `0x${string}` | null;
|
|
278
278
|
blockNumber: bigint | null;
|
|
279
|
+
transactionIndex: number | null;
|
|
279
280
|
hash: import("viem").Hash;
|
|
280
281
|
input: import("viem").Hex;
|
|
281
|
-
transactionIndex: number | null;
|
|
282
282
|
typeHex: import("viem").Hex | null;
|
|
283
283
|
accessList?: undefined | undefined;
|
|
284
284
|
authorizationList?: undefined | undefined;
|
|
@@ -410,7 +410,7 @@ export declare const chain: {
|
|
|
410
410
|
};
|
|
411
411
|
readonly transactionReceipt: {
|
|
412
412
|
exclude: [] | undefined;
|
|
413
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
413
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
414
414
|
blobGasPrice?: bigint | undefined;
|
|
415
415
|
blobGasUsed?: bigint | undefined;
|
|
416
416
|
blockHash: import("viem").Hash;
|
|
@@ -6,7 +6,7 @@ export declare const chain: {
|
|
|
6
6
|
readonly apiUrl: "https://api-sepolia.uniscan.xyz/api";
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
-
blockTime:
|
|
9
|
+
blockTime: 1000;
|
|
10
10
|
contracts: {
|
|
11
11
|
readonly USDC: {
|
|
12
12
|
readonly address: "0x31d0220469e10c4E71834a79b1f276d740d3768F";
|
|
@@ -208,7 +208,7 @@ export declare const chain: {
|
|
|
208
208
|
formatters: {
|
|
209
209
|
readonly block: {
|
|
210
210
|
exclude: [] | undefined;
|
|
211
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
211
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
212
212
|
baseFeePerGas: bigint | null;
|
|
213
213
|
blobGasUsed: bigint;
|
|
214
214
|
difficulty: bigint;
|
|
@@ -241,7 +241,7 @@ export declare const chain: {
|
|
|
241
241
|
};
|
|
242
242
|
readonly transaction: {
|
|
243
243
|
exclude: [] | undefined;
|
|
244
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
244
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
245
245
|
blockHash: `0x${string}` | null;
|
|
246
246
|
blockNumber: bigint | null;
|
|
247
247
|
from: import("viem").Address;
|
|
@@ -269,16 +269,16 @@ export declare const chain: {
|
|
|
269
269
|
r: import("viem").Hex;
|
|
270
270
|
s: import("viem").Hex;
|
|
271
271
|
v: bigint;
|
|
272
|
+
value: bigint;
|
|
273
|
+
gas: bigint;
|
|
272
274
|
to: import("viem").Address | null;
|
|
273
275
|
from: import("viem").Address;
|
|
274
|
-
gas: bigint;
|
|
275
276
|
nonce: number;
|
|
276
|
-
value: bigint;
|
|
277
277
|
blockHash: `0x${string}` | null;
|
|
278
278
|
blockNumber: bigint | null;
|
|
279
|
+
transactionIndex: number | null;
|
|
279
280
|
hash: import("viem").Hash;
|
|
280
281
|
input: import("viem").Hex;
|
|
281
|
-
transactionIndex: number | null;
|
|
282
282
|
typeHex: import("viem").Hex | null;
|
|
283
283
|
accessList?: undefined | undefined;
|
|
284
284
|
authorizationList?: undefined | undefined;
|
|
@@ -410,7 +410,7 @@ export declare const chain: {
|
|
|
410
410
|
};
|
|
411
411
|
readonly transactionReceipt: {
|
|
412
412
|
exclude: [] | undefined;
|
|
413
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
413
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
414
414
|
blobGasPrice?: bigint | undefined;
|
|
415
415
|
blobGasUsed?: bigint | undefined;
|
|
416
416
|
blockHash: import("viem").Hash;
|
|
@@ -9,6 +9,8 @@ import { chain as ETH } from './ETH.js';
|
|
|
9
9
|
import { chain as ETH_SEPOLIA } from './ETH_SEPOLIA.js';
|
|
10
10
|
import { chain as MATIC } from './MATIC.js';
|
|
11
11
|
import { chain as MATIC_AMOY } from './MATIC_AMOY.js';
|
|
12
|
+
import { chain as MONAD } from './MONAD.js';
|
|
13
|
+
import { chain as MONAD_TESTNET } from './MONAD_TESTNET.js';
|
|
12
14
|
import { chain as NEAR } from './NEAR.js';
|
|
13
15
|
import { chain as NEAR_TESTNET } from './NEAR_TESTNET.js';
|
|
14
16
|
import { chain as OP } from './OP.js';
|
|
@@ -17,5 +19,5 @@ import { chain as SOL } from './SOL.js';
|
|
|
17
19
|
import { chain as SOL_DEVNET } from './SOL_DEVNET.js';
|
|
18
20
|
import { chain as UNI } from './UNI.js';
|
|
19
21
|
import { chain as UNI_SEPOLIA } from './UNI_SEPOLIA.js';
|
|
20
|
-
export { ARB, ARB_SEPOLIA, ARC_TESTNET, AVAX, AVAX_FUJI, ETH, ETH_SEPOLIA, MATIC, MATIC_AMOY, BASE, BASE_SEPOLIA, OP, OP_SEPOLIA, UNI, UNI_SEPOLIA, NEAR, NEAR_TESTNET, SOL, SOL_DEVNET, };
|
|
21
|
-
export type Chain = typeof ARB | typeof ARB_SEPOLIA | typeof ARC_TESTNET | typeof AVAX | typeof AVAX_FUJI | typeof ETH | typeof ETH_SEPOLIA | typeof MATIC | typeof MATIC_AMOY | typeof BASE | typeof BASE_SEPOLIA | typeof OP | typeof OP_SEPOLIA | typeof UNI | typeof UNI_SEPOLIA | typeof NEAR | typeof NEAR_TESTNET | typeof SOL | typeof SOL_DEVNET;
|
|
22
|
+
export { ARB, ARB_SEPOLIA, ARC_TESTNET, AVAX, AVAX_FUJI, ETH, ETH_SEPOLIA, MATIC, MATIC_AMOY, MONAD, MONAD_TESTNET, BASE, BASE_SEPOLIA, OP, OP_SEPOLIA, UNI, UNI_SEPOLIA, NEAR, NEAR_TESTNET, SOL, SOL_DEVNET, };
|
|
23
|
+
export type Chain = typeof ARB | typeof ARB_SEPOLIA | typeof ARC_TESTNET | typeof AVAX | typeof AVAX_FUJI | typeof ETH | typeof ETH_SEPOLIA | typeof MATIC | typeof MATIC_AMOY | typeof MONAD | typeof MONAD_TESTNET | typeof BASE | typeof BASE_SEPOLIA | typeof OP | typeof OP_SEPOLIA | typeof UNI | typeof UNI_SEPOLIA | typeof NEAR | typeof NEAR_TESTNET | typeof SOL | typeof SOL_DEVNET;
|
package/dist/esm/chains/index.js
CHANGED
|
@@ -19,6 +19,8 @@ import { chain as ETH } from './ETH.js';
|
|
|
19
19
|
import { chain as ETH_SEPOLIA } from './ETH_SEPOLIA.js';
|
|
20
20
|
import { chain as MATIC } from './MATIC.js';
|
|
21
21
|
import { chain as MATIC_AMOY } from './MATIC_AMOY.js';
|
|
22
|
+
import { chain as MONAD } from './MONAD.js';
|
|
23
|
+
import { chain as MONAD_TESTNET } from './MONAD_TESTNET.js';
|
|
22
24
|
import { chain as NEAR } from './NEAR.js';
|
|
23
25
|
import { chain as NEAR_TESTNET } from './NEAR_TESTNET.js';
|
|
24
26
|
import { chain as OP } from './OP.js';
|
|
@@ -27,4 +29,4 @@ import { chain as SOL } from './SOL.js';
|
|
|
27
29
|
import { chain as SOL_DEVNET } from './SOL_DEVNET.js';
|
|
28
30
|
import { chain as UNI } from './UNI.js';
|
|
29
31
|
import { chain as UNI_SEPOLIA } from './UNI_SEPOLIA.js';
|
|
30
|
-
export { ARB, ARB_SEPOLIA, ARC_TESTNET, AVAX, AVAX_FUJI, ETH, ETH_SEPOLIA, MATIC, MATIC_AMOY, BASE, BASE_SEPOLIA, OP, OP_SEPOLIA, UNI, UNI_SEPOLIA, NEAR, NEAR_TESTNET, SOL, SOL_DEVNET, };
|
|
32
|
+
export { ARB, ARB_SEPOLIA, ARC_TESTNET, AVAX, AVAX_FUJI, ETH, ETH_SEPOLIA, MATIC, MATIC_AMOY, MONAD, MONAD_TESTNET, BASE, BASE_SEPOLIA, OP, OP_SEPOLIA, UNI, UNI_SEPOLIA, NEAR, NEAR_TESTNET, SOL, SOL_DEVNET, };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Copyright (c) 2025, Circle Internet Group, Inc.
|
|
2
|
+
// All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
// Circle Internet Group, Inc. CONFIDENTIAL
|
|
5
|
+
//
|
|
6
|
+
// This file includes unpublished proprietary source code of Circle Internet
|
|
7
|
+
// Group, Inc. The copyright notice above does not
|
|
8
|
+
// evidence any actual or intended publication of such source code. Disclosure
|
|
9
|
+
// of this source code or any related proprietary information is strictly
|
|
10
|
+
// prohibited without the express written permission of Circle Internet Group, Inc.
|
|
11
|
+
export {};
|
package/dist/esm/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Actions as CoreActions } from './actions/index.js';
|
|
2
|
-
import type { Chain } from './chains
|
|
2
|
+
import type { Chain } from './chains.js';
|
|
3
3
|
import type { Actions as CircleWalletsActions } from './providers/circle-wallets/actions/index.js';
|
|
4
4
|
import type { EIP1474Methods as CircleWalletsMethods } from './providers/circle-wallets/transports/index.js';
|
|
5
5
|
import type { Actions as CrossChainTransferProtocolActions } from './providers/cross-chain-transfer-protocol/actions/index.js';
|