@circle-fin/usdckit 0.23.2 → 0.24.2
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/ARB.d.ts +9 -0
- package/dist/cjs/chains/ARB_SEPOLIA.d.ts +9 -0
- package/dist/cjs/chains/ARC_TESTNET.d.ts +11 -2
- package/dist/cjs/chains/ARC_TESTNET.js +3 -36
- package/dist/cjs/chains/AVAX.d.ts +9 -0
- package/dist/cjs/chains/AVAX_FUJI.d.ts +9 -0
- package/dist/cjs/chains/BASE.d.ts +13 -3
- package/dist/cjs/chains/BASE_SEPOLIA.d.ts +13 -3
- package/dist/cjs/chains/ETH.d.ts +9 -0
- package/dist/cjs/chains/ETH_SEPOLIA.d.ts +10 -1
- package/dist/cjs/chains/MATIC.d.ts +12 -3
- package/dist/cjs/chains/MATIC_AMOY.d.ts +10 -1
- package/dist/cjs/chains/MONAD.d.ts +193 -0
- package/dist/cjs/chains/MONAD.js +24 -0
- package/dist/cjs/chains/MONAD_TESTNET.d.ts +187 -0
- package/dist/cjs/chains/MONAD_TESTNET.js +24 -0
- package/dist/cjs/chains/NEAR.d.ts +10 -1
- package/dist/cjs/chains/NEAR_TESTNET.d.ts +10 -1
- package/dist/cjs/chains/OP.d.ts +13 -3
- package/dist/cjs/chains/OP_SEPOLIA.d.ts +13 -3
- package/dist/cjs/chains/SOL.d.ts +9 -0
- package/dist/cjs/chains/SOL_DEVNET.d.ts +9 -0
- package/dist/cjs/chains/UNI.d.ts +14 -4
- package/dist/cjs/chains/UNI_SEPOLIA.d.ts +14 -4
- 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 +585 -30
- 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 +546 -27
- package/dist/cjs/providers/circle-wallets/actions/createAccount.js +0 -3
- package/dist/cjs/providers/circle-wallets/actions/getAccounts.d.ts +546 -27
- package/dist/cjs/providers/circle-wallets/index.d.ts +960 -66
- 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/ARB.d.ts +9 -0
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/ARB_SEPOLIA.d.ts +9 -0
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/AVAX.d.ts +9 -0
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/AVAX_FUJI.d.ts +9 -0
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/BASE.d.ts +13 -3
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/BASE_SEPOLIA.d.ts +13 -3
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/ETH.d.ts +9 -0
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/ETH_SEPOLIA.d.ts +10 -1
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/MATIC.d.ts +12 -3
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/MATIC_AMOY.d.ts +10 -1
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/OP.d.ts +13 -3
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/OP_SEPOLIA.d.ts +13 -3
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/UNI.d.ts +14 -4
- package/dist/cjs/providers/cross-chain-transfer-protocol/chains/UNI_SEPOLIA.d.ts +14 -4
- package/dist/cjs/providers/cross-chain-transfer-protocol/index.d.ts +157 -25
- package/dist/cjs/providers/solana/index.d.ts +18 -0
- package/dist/cjs/providers/uniswap/chains/ARB.d.ts +9 -0
- package/dist/cjs/providers/uniswap/chains/ARB_SEPOLIA.d.ts +9 -0
- package/dist/cjs/providers/uniswap/chains/AVAX.d.ts +9 -0
- package/dist/cjs/providers/uniswap/chains/BASE.d.ts +13 -3
- package/dist/cjs/providers/uniswap/chains/BASE_SEPOLIA.d.ts +13 -3
- package/dist/cjs/providers/uniswap/chains/ETH.d.ts +9 -0
- package/dist/cjs/providers/uniswap/chains/ETH_SEPOLIA.d.ts +10 -1
- package/dist/cjs/providers/uniswap/chains/MATIC.d.ts +12 -3
- package/dist/cjs/providers/uniswap/chains/OP.d.ts +13 -3
- package/dist/cjs/providers/uniswap/chains/OP_SEPOLIA.d.ts +13 -3
- package/dist/cjs/providers/uniswap/chains/UNI.d.ts +14 -4
- package/dist/cjs/providers/uniswap/chains/UNI_SEPOLIA.d.ts +14 -4
- package/dist/cjs/providers/uniswap/index.d.ts +138 -24
- 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 +30 -1
- package/dist/cjs/utils/getContract.d.ts +8 -8
- package/dist/esm/actions/index.d.ts +1 -1
- package/dist/esm/chains/ARB.d.ts +9 -0
- package/dist/esm/chains/ARB_SEPOLIA.d.ts +9 -0
- package/dist/esm/chains/ARC_TESTNET.d.ts +11 -2
- package/dist/esm/chains/ARC_TESTNET.js +1 -34
- package/dist/esm/chains/AVAX.d.ts +9 -0
- package/dist/esm/chains/AVAX_FUJI.d.ts +9 -0
- package/dist/esm/chains/BASE.d.ts +13 -3
- package/dist/esm/chains/BASE_SEPOLIA.d.ts +13 -3
- package/dist/esm/chains/ETH.d.ts +9 -0
- package/dist/esm/chains/ETH_SEPOLIA.d.ts +10 -1
- package/dist/esm/chains/MATIC.d.ts +12 -3
- package/dist/esm/chains/MATIC_AMOY.d.ts +10 -1
- package/dist/esm/chains/MONAD.d.ts +193 -0
- package/dist/esm/chains/MONAD.js +21 -0
- package/dist/esm/chains/MONAD_TESTNET.d.ts +187 -0
- package/dist/esm/chains/MONAD_TESTNET.js +21 -0
- package/dist/esm/chains/NEAR.d.ts +10 -1
- package/dist/esm/chains/NEAR_TESTNET.d.ts +10 -1
- package/dist/esm/chains/OP.d.ts +13 -3
- package/dist/esm/chains/OP_SEPOLIA.d.ts +13 -3
- package/dist/esm/chains/SOL.d.ts +9 -0
- package/dist/esm/chains/SOL_DEVNET.d.ts +9 -0
- package/dist/esm/chains/UNI.d.ts +14 -4
- package/dist/esm/chains/UNI_SEPOLIA.d.ts +14 -4
- 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 +585 -30
- 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/providers/circle-wallets/actions/createAccount.d.ts +546 -27
- package/dist/esm/providers/circle-wallets/actions/createAccount.js +0 -3
- package/dist/esm/providers/circle-wallets/actions/getAccounts.d.ts +546 -27
- package/dist/esm/providers/circle-wallets/index.d.ts +960 -66
- 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/ARB.d.ts +9 -0
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/ARB_SEPOLIA.d.ts +9 -0
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/AVAX.d.ts +9 -0
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/AVAX_FUJI.d.ts +9 -0
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/BASE.d.ts +13 -3
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/BASE_SEPOLIA.d.ts +13 -3
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/ETH.d.ts +9 -0
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/ETH_SEPOLIA.d.ts +10 -1
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/MATIC.d.ts +12 -3
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/MATIC_AMOY.d.ts +10 -1
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/OP.d.ts +13 -3
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/OP_SEPOLIA.d.ts +13 -3
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/UNI.d.ts +14 -4
- package/dist/esm/providers/cross-chain-transfer-protocol/chains/UNI_SEPOLIA.d.ts +14 -4
- package/dist/esm/providers/cross-chain-transfer-protocol/index.d.ts +157 -25
- package/dist/esm/providers/solana/index.d.ts +18 -0
- package/dist/esm/providers/uniswap/chains/ARB.d.ts +9 -0
- package/dist/esm/providers/uniswap/chains/ARB_SEPOLIA.d.ts +9 -0
- package/dist/esm/providers/uniswap/chains/AVAX.d.ts +9 -0
- package/dist/esm/providers/uniswap/chains/BASE.d.ts +13 -3
- package/dist/esm/providers/uniswap/chains/BASE_SEPOLIA.d.ts +13 -3
- package/dist/esm/providers/uniswap/chains/ETH.d.ts +9 -0
- package/dist/esm/providers/uniswap/chains/ETH_SEPOLIA.d.ts +10 -1
- package/dist/esm/providers/uniswap/chains/MATIC.d.ts +12 -3
- package/dist/esm/providers/uniswap/chains/OP.d.ts +13 -3
- package/dist/esm/providers/uniswap/chains/OP_SEPOLIA.d.ts +13 -3
- package/dist/esm/providers/uniswap/chains/UNI.d.ts +14 -4
- package/dist/esm/providers/uniswap/chains/UNI_SEPOLIA.d.ts +14 -4
- package/dist/esm/providers/uniswap/index.d.ts +138 -24
- 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 +30 -1
- package/dist/esm/utils/getContract.d.ts +8 -8
- package/package.json +5 -5
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
export declare const chain: {
|
|
2
|
+
blockExplorers: {
|
|
3
|
+
readonly default: {
|
|
4
|
+
readonly name: "MonadVision";
|
|
5
|
+
readonly url: "https://monadvision.com";
|
|
6
|
+
};
|
|
7
|
+
readonly monadscan: {
|
|
8
|
+
readonly name: "Monadscan";
|
|
9
|
+
readonly url: "https://monadscan.com";
|
|
10
|
+
readonly apiUrl: "https://api.monadscan.com/api";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
blockTime: 400;
|
|
14
|
+
contracts: {
|
|
15
|
+
readonly USDC: {
|
|
16
|
+
readonly address: "0x754704Bc059F8C67012fEd69BC8A327a5aafb603";
|
|
17
|
+
readonly abi: readonly [{
|
|
18
|
+
readonly type: "event";
|
|
19
|
+
readonly name: "Approval";
|
|
20
|
+
readonly inputs: readonly [{
|
|
21
|
+
readonly indexed: true;
|
|
22
|
+
readonly name: "owner";
|
|
23
|
+
readonly type: "address";
|
|
24
|
+
}, {
|
|
25
|
+
readonly indexed: true;
|
|
26
|
+
readonly name: "spender";
|
|
27
|
+
readonly type: "address";
|
|
28
|
+
}, {
|
|
29
|
+
readonly indexed: false;
|
|
30
|
+
readonly name: "value";
|
|
31
|
+
readonly type: "uint256";
|
|
32
|
+
}];
|
|
33
|
+
}, {
|
|
34
|
+
readonly type: "event";
|
|
35
|
+
readonly name: "Transfer";
|
|
36
|
+
readonly inputs: readonly [{
|
|
37
|
+
readonly indexed: true;
|
|
38
|
+
readonly name: "from";
|
|
39
|
+
readonly type: "address";
|
|
40
|
+
}, {
|
|
41
|
+
readonly indexed: true;
|
|
42
|
+
readonly name: "to";
|
|
43
|
+
readonly type: "address";
|
|
44
|
+
}, {
|
|
45
|
+
readonly indexed: false;
|
|
46
|
+
readonly name: "value";
|
|
47
|
+
readonly type: "uint256";
|
|
48
|
+
}];
|
|
49
|
+
}, {
|
|
50
|
+
readonly type: "function";
|
|
51
|
+
readonly name: "allowance";
|
|
52
|
+
readonly stateMutability: "view";
|
|
53
|
+
readonly inputs: readonly [{
|
|
54
|
+
readonly name: "owner";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "spender";
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
}];
|
|
60
|
+
readonly outputs: readonly [{
|
|
61
|
+
readonly type: "uint256";
|
|
62
|
+
}];
|
|
63
|
+
}, {
|
|
64
|
+
readonly type: "function";
|
|
65
|
+
readonly name: "approve";
|
|
66
|
+
readonly stateMutability: "nonpayable";
|
|
67
|
+
readonly inputs: readonly [{
|
|
68
|
+
readonly name: "spender";
|
|
69
|
+
readonly type: "address";
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: "amount";
|
|
72
|
+
readonly type: "uint256";
|
|
73
|
+
}];
|
|
74
|
+
readonly outputs: readonly [{
|
|
75
|
+
readonly type: "bool";
|
|
76
|
+
}];
|
|
77
|
+
}, {
|
|
78
|
+
readonly type: "function";
|
|
79
|
+
readonly name: "balanceOf";
|
|
80
|
+
readonly stateMutability: "view";
|
|
81
|
+
readonly inputs: readonly [{
|
|
82
|
+
readonly name: "account";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
}];
|
|
85
|
+
readonly outputs: readonly [{
|
|
86
|
+
readonly type: "uint256";
|
|
87
|
+
}];
|
|
88
|
+
}, {
|
|
89
|
+
readonly type: "function";
|
|
90
|
+
readonly name: "decimals";
|
|
91
|
+
readonly stateMutability: "view";
|
|
92
|
+
readonly inputs: readonly [];
|
|
93
|
+
readonly outputs: readonly [{
|
|
94
|
+
readonly type: "uint8";
|
|
95
|
+
}];
|
|
96
|
+
}, {
|
|
97
|
+
readonly type: "function";
|
|
98
|
+
readonly name: "name";
|
|
99
|
+
readonly stateMutability: "view";
|
|
100
|
+
readonly inputs: readonly [];
|
|
101
|
+
readonly outputs: readonly [{
|
|
102
|
+
readonly type: "string";
|
|
103
|
+
}];
|
|
104
|
+
}, {
|
|
105
|
+
readonly type: "function";
|
|
106
|
+
readonly name: "symbol";
|
|
107
|
+
readonly stateMutability: "view";
|
|
108
|
+
readonly inputs: readonly [];
|
|
109
|
+
readonly outputs: readonly [{
|
|
110
|
+
readonly type: "string";
|
|
111
|
+
}];
|
|
112
|
+
}, {
|
|
113
|
+
readonly type: "function";
|
|
114
|
+
readonly name: "totalSupply";
|
|
115
|
+
readonly stateMutability: "view";
|
|
116
|
+
readonly inputs: readonly [];
|
|
117
|
+
readonly outputs: readonly [{
|
|
118
|
+
readonly type: "uint256";
|
|
119
|
+
}];
|
|
120
|
+
}, {
|
|
121
|
+
readonly type: "function";
|
|
122
|
+
readonly name: "transfer";
|
|
123
|
+
readonly stateMutability: "nonpayable";
|
|
124
|
+
readonly inputs: readonly [{
|
|
125
|
+
readonly name: "recipient";
|
|
126
|
+
readonly type: "address";
|
|
127
|
+
}, {
|
|
128
|
+
readonly name: "amount";
|
|
129
|
+
readonly type: "uint256";
|
|
130
|
+
}];
|
|
131
|
+
readonly outputs: readonly [{
|
|
132
|
+
readonly type: "bool";
|
|
133
|
+
}];
|
|
134
|
+
}, {
|
|
135
|
+
readonly type: "function";
|
|
136
|
+
readonly name: "transferFrom";
|
|
137
|
+
readonly stateMutability: "nonpayable";
|
|
138
|
+
readonly inputs: readonly [{
|
|
139
|
+
readonly name: "sender";
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "recipient";
|
|
143
|
+
readonly type: "address";
|
|
144
|
+
}, {
|
|
145
|
+
readonly name: "amount";
|
|
146
|
+
readonly type: "uint256";
|
|
147
|
+
}];
|
|
148
|
+
readonly outputs: readonly [{
|
|
149
|
+
readonly type: "bool";
|
|
150
|
+
}];
|
|
151
|
+
}];
|
|
152
|
+
readonly read: {
|
|
153
|
+
readonly decimals: () => 6;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
readonly multicall3: {
|
|
157
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
158
|
+
readonly blockCreated: 9248132;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
ensTlds?: readonly string[] | undefined;
|
|
162
|
+
id: 143;
|
|
163
|
+
name: "Monad";
|
|
164
|
+
nativeCurrency: {
|
|
165
|
+
readonly name: "Monad";
|
|
166
|
+
readonly symbol: "MON";
|
|
167
|
+
readonly decimals: 18;
|
|
168
|
+
};
|
|
169
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
170
|
+
rpcUrls: {
|
|
171
|
+
readonly default: {
|
|
172
|
+
readonly http: readonly ["https://rpc.monad.xyz", "https://rpc1.monad.xyz"];
|
|
173
|
+
readonly webSocket: readonly ["wss://rpc.monad.xyz", "wss://rpc1.monad.xyz"];
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
sourceId?: number | undefined | undefined;
|
|
177
|
+
testnet: false;
|
|
178
|
+
custom?: Record<string, unknown> | undefined;
|
|
179
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
180
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
181
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
182
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
183
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
184
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
185
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
186
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
187
|
+
}] | undefined;
|
|
188
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
189
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
190
|
+
readonly blockchainId: "MONAD";
|
|
191
|
+
readonly blockchainVm: "EVM";
|
|
192
|
+
readonly formatters?: undefined | undefined;
|
|
193
|
+
};
|
|
@@ -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 { monad } from 'viem/chains';
|
|
13
|
+
export const chain = defineChain({
|
|
14
|
+
...monad,
|
|
15
|
+
blockchainId: 'MONAD',
|
|
16
|
+
blockchainVm: 'EVM',
|
|
17
|
+
contracts: {
|
|
18
|
+
...monad.contracts,
|
|
19
|
+
USDC: { address: '0x754704Bc059F8C67012fEd69BC8A327a5aafb603', abi: erc20Abi, read: { decimals: () => 6 } },
|
|
20
|
+
},
|
|
21
|
+
});
|
|
@@ -0,0 +1,187 @@
|
|
|
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
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
174
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
175
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
176
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
177
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
178
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
179
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
180
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
181
|
+
}] | undefined;
|
|
182
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
183
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
184
|
+
readonly blockchainId: "MONAD-TESTNET";
|
|
185
|
+
readonly blockchainVm: "EVM";
|
|
186
|
+
readonly formatters?: undefined | undefined;
|
|
187
|
+
};
|
|
@@ -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;
|
|
@@ -35,8 +35,17 @@ export declare const chain: {
|
|
|
35
35
|
sourceId?: number | undefined | undefined;
|
|
36
36
|
testnet: false;
|
|
37
37
|
custom?: Record<string, unknown> | undefined;
|
|
38
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
38
39
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
40
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
41
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
42
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
43
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
44
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
45
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
46
|
+
}] | undefined;
|
|
39
47
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
48
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
40
49
|
readonly blockchainId: "NEAR";
|
|
41
50
|
readonly blockchainVm: "NEAR";
|
|
42
51
|
readonly formatters?: undefined | undefined;
|
|
@@ -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;
|
|
@@ -35,8 +35,17 @@ export declare const chain: {
|
|
|
35
35
|
sourceId?: number | undefined | undefined;
|
|
36
36
|
testnet: true;
|
|
37
37
|
custom?: Record<string, unknown> | undefined;
|
|
38
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
38
39
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
40
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
41
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
42
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
43
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
44
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
45
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
46
|
+
}] | undefined;
|
|
39
47
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
48
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
40
49
|
readonly blockchainId: "NEAR-TESTNET";
|
|
41
50
|
readonly blockchainVm: "NEAR";
|
|
42
51
|
readonly formatters?: undefined | undefined;
|
package/dist/esm/chains/OP.d.ts
CHANGED
|
@@ -209,11 +209,12 @@ export declare const chain: {
|
|
|
209
209
|
sourceId: 1;
|
|
210
210
|
testnet?: boolean | undefined | undefined;
|
|
211
211
|
custom?: Record<string, unknown> | undefined;
|
|
212
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
212
213
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
213
214
|
formatters: {
|
|
214
215
|
readonly block: {
|
|
215
216
|
exclude: [] | undefined;
|
|
216
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
217
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
217
218
|
baseFeePerGas: bigint | null;
|
|
218
219
|
blobGasUsed: bigint;
|
|
219
220
|
difficulty: bigint;
|
|
@@ -246,7 +247,7 @@ export declare const chain: {
|
|
|
246
247
|
};
|
|
247
248
|
readonly transaction: {
|
|
248
249
|
exclude: [] | undefined;
|
|
249
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
250
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
250
251
|
blockHash: `0x${string}` | null;
|
|
251
252
|
blockNumber: bigint | null;
|
|
252
253
|
from: import("viem").Address;
|
|
@@ -415,11 +416,12 @@ export declare const chain: {
|
|
|
415
416
|
};
|
|
416
417
|
readonly transactionReceipt: {
|
|
417
418
|
exclude: [] | undefined;
|
|
418
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
419
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
419
420
|
blobGasPrice?: bigint | undefined;
|
|
420
421
|
blobGasUsed?: bigint | undefined;
|
|
421
422
|
blockHash: import("viem").Hash;
|
|
422
423
|
blockNumber: bigint;
|
|
424
|
+
blockTimestamp?: bigint | undefined;
|
|
423
425
|
contractAddress: import("viem").Address | null | undefined;
|
|
424
426
|
cumulativeGasUsed: bigint;
|
|
425
427
|
effectiveGasPrice: bigint;
|
|
@@ -441,9 +443,17 @@ export declare const chain: {
|
|
|
441
443
|
type: "transactionReceipt";
|
|
442
444
|
};
|
|
443
445
|
};
|
|
446
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
447
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
448
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
449
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
450
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
451
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
452
|
+
}] | undefined;
|
|
444
453
|
serializers: {
|
|
445
454
|
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
446
455
|
};
|
|
456
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
447
457
|
readonly blockchainId: "OP";
|
|
448
458
|
readonly blockchainVm: "EVM";
|
|
449
459
|
};
|
|
@@ -209,11 +209,12 @@ export declare const chain: {
|
|
|
209
209
|
sourceId: 11155111;
|
|
210
210
|
testnet: true;
|
|
211
211
|
custom?: Record<string, unknown> | undefined;
|
|
212
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
212
213
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
213
214
|
formatters: {
|
|
214
215
|
readonly block: {
|
|
215
216
|
exclude: [] | undefined;
|
|
216
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
217
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
217
218
|
baseFeePerGas: bigint | null;
|
|
218
219
|
blobGasUsed: bigint;
|
|
219
220
|
difficulty: bigint;
|
|
@@ -246,7 +247,7 @@ export declare const chain: {
|
|
|
246
247
|
};
|
|
247
248
|
readonly transaction: {
|
|
248
249
|
exclude: [] | undefined;
|
|
249
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
250
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
250
251
|
blockHash: `0x${string}` | null;
|
|
251
252
|
blockNumber: bigint | null;
|
|
252
253
|
from: import("viem").Address;
|
|
@@ -415,11 +416,12 @@ export declare const chain: {
|
|
|
415
416
|
};
|
|
416
417
|
readonly transactionReceipt: {
|
|
417
418
|
exclude: [] | undefined;
|
|
418
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
419
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
419
420
|
blobGasPrice?: bigint | undefined;
|
|
420
421
|
blobGasUsed?: bigint | undefined;
|
|
421
422
|
blockHash: import("viem").Hash;
|
|
422
423
|
blockNumber: bigint;
|
|
424
|
+
blockTimestamp?: bigint | undefined;
|
|
423
425
|
contractAddress: import("viem").Address | null | undefined;
|
|
424
426
|
cumulativeGasUsed: bigint;
|
|
425
427
|
effectiveGasPrice: bigint;
|
|
@@ -441,9 +443,17 @@ export declare const chain: {
|
|
|
441
443
|
type: "transactionReceipt";
|
|
442
444
|
};
|
|
443
445
|
};
|
|
446
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
447
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
448
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
449
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
450
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
451
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
452
|
+
}] | undefined;
|
|
444
453
|
serializers: {
|
|
445
454
|
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
446
455
|
};
|
|
456
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
447
457
|
readonly blockchainId: "OP-SEPOLIA";
|
|
448
458
|
readonly blockchainVm: "EVM";
|
|
449
459
|
};
|
package/dist/esm/chains/SOL.d.ts
CHANGED
|
@@ -38,9 +38,18 @@ export declare const chain: {
|
|
|
38
38
|
sourceId?: number | undefined | undefined;
|
|
39
39
|
testnet?: boolean | undefined | undefined;
|
|
40
40
|
custom?: Record<string, unknown> | undefined;
|
|
41
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
41
42
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
42
43
|
formatters?: undefined;
|
|
44
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
45
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
46
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
47
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
48
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
49
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
50
|
+
}] | undefined;
|
|
43
51
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
52
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
44
53
|
readonly blockchainId: "SOL";
|
|
45
54
|
readonly blockchainVm: "SVM";
|
|
46
55
|
};
|
|
@@ -39,9 +39,18 @@ export declare const chain: {
|
|
|
39
39
|
sourceId?: number | undefined | undefined;
|
|
40
40
|
testnet: true;
|
|
41
41
|
custom?: Record<string, unknown> | undefined;
|
|
42
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
42
43
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
43
44
|
formatters?: undefined;
|
|
45
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
46
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
47
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
48
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
49
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
50
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
51
|
+
}] | undefined;
|
|
44
52
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
53
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
45
54
|
readonly blockchainId: "SOL-DEVNET";
|
|
46
55
|
readonly blockchainVm: "SVM";
|
|
47
56
|
};
|