@pufferfinance/puffer-sdk 1.13.2 → 1.14.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/api/puffer-client-helpers.cjs +1 -1
- package/dist/api/puffer-client-helpers.cjs.map +1 -1
- package/dist/api/puffer-client-helpers.js +3 -3
- package/dist/api/puffer-client-helpers.js.map +1 -1
- package/dist/api/puffer-client.cjs +1 -1
- package/dist/api/puffer-client.js +2 -2
- package/dist/{ccip-C0xwQhXU.cjs → ccip-BYEwaDSr.cjs} +2 -2
- package/dist/{ccip-C0xwQhXU.cjs.map → ccip-BYEwaDSr.cjs.map} +1 -1
- package/dist/{ccip-K-z2PL4P.js → ccip-DA_MOIPz.js} +3 -3
- package/dist/{ccip-K-z2PL4P.js.map → ccip-DA_MOIPz.js.map} +1 -1
- package/dist/chains/constants.cjs +1 -1
- package/dist/chains/constants.d.ts +4 -1
- package/dist/chains/constants.js +1 -1
- package/dist/constants-5WxIZnbu.cjs +9 -0
- package/dist/constants-5WxIZnbu.cjs.map +1 -0
- package/dist/{constants-CH7Tz5jz.js → constants-BDqMRitM.js} +924 -798
- package/dist/constants-BDqMRitM.js.map +1 -0
- package/dist/contracts/abis/mainnet/Accountant.cjs +1 -1
- package/dist/contracts/abis/mainnet/Accountant.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/Accountant.d.ts +13 -457
- package/dist/contracts/abis/mainnet/Accountant.js +12 -441
- package/dist/contracts/abis/mainnet/Accountant.js.map +1 -1
- package/dist/contracts/abis/mainnet/BoringVault.cjs +1 -1
- package/dist/contracts/abis/mainnet/BoringVault.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/BoringVault.d.ts +18 -505
- package/dist/contracts/abis/mainnet/BoringVault.js +15 -346
- package/dist/contracts/abis/mainnet/BoringVault.js.map +1 -1
- package/dist/contracts/abis/mainnet/CarrotStaker.cjs +1 -1
- package/dist/contracts/abis/mainnet/CarrotStaker.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/CarrotStaker.d.ts +2 -371
- package/dist/contracts/abis/mainnet/CarrotStaker.js +4 -295
- package/dist/contracts/abis/mainnet/CarrotStaker.js.map +1 -1
- package/dist/contracts/abis/mainnet/Distributor.cjs +1 -1
- package/dist/contracts/abis/mainnet/Distributor.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/Distributor.d.ts +0 -413
- package/dist/contracts/abis/mainnet/Distributor.js +2 -355
- package/dist/contracts/abis/mainnet/Distributor.js.map +1 -1
- package/dist/contracts/abis/mainnet/L1RewardManager.cjs +1 -1
- package/dist/contracts/abis/mainnet/L1RewardManager.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/L1RewardManager.d.ts +0 -489
- package/dist/contracts/abis/mainnet/L1RewardManager.js +0 -411
- package/dist/contracts/abis/mainnet/L1RewardManager.js.map +1 -1
- package/dist/contracts/abis/mainnet/L2RewardManager.cjs +1 -1
- package/dist/contracts/abis/mainnet/L2RewardManager.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/L2RewardManager.d.ts +23 -569
- package/dist/contracts/abis/mainnet/L2RewardManager.js +16 -484
- package/dist/contracts/abis/mainnet/L2RewardManager.js.map +1 -1
- package/dist/contracts/abis/mainnet/PufLocker.cjs +1 -1
- package/dist/contracts/abis/mainnet/PufLocker.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/PufLocker.d.ts +29 -371
- package/dist/contracts/abis/mainnet/PufLocker.js +15 -285
- package/dist/contracts/abis/mainnet/PufLocker.js.map +1 -1
- package/dist/contracts/abis/mainnet/PufferL2Depositor.cjs +1 -1
- package/dist/contracts/abis/mainnet/PufferL2Depositor.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/PufferL2Depositor.d.ts +0 -325
- package/dist/contracts/abis/mainnet/PufferL2Depositor.js +0 -270
- package/dist/contracts/abis/mainnet/PufferL2Depositor.js.map +1 -1
- package/dist/contracts/abis/mainnet/PufferVaultV2.cjs +1 -1
- package/dist/contracts/abis/mainnet/PufferVaultV2.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/PufferVaultV2.d.ts +35 -1289
- package/dist/contracts/abis/mainnet/PufferVaultV2.js +45 -1681
- package/dist/contracts/abis/mainnet/PufferVaultV2.js.map +1 -1
- package/dist/contracts/abis/mainnet/PufferWithdrawalManager.cjs +1 -1
- package/dist/contracts/abis/mainnet/PufferWithdrawalManager.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/PufferWithdrawalManager.d.ts +3 -426
- package/dist/contracts/abis/mainnet/PufferWithdrawalManager.js +5 -552
- package/dist/contracts/abis/mainnet/PufferWithdrawalManager.js.map +1 -1
- package/dist/contracts/abis/mainnet/Teller.cjs +1 -1
- package/dist/contracts/abis/mainnet/Teller.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/Teller.d.ts +18 -444
- package/dist/contracts/abis/mainnet/Teller.js +15 -390
- package/dist/contracts/abis/mainnet/Teller.js.map +1 -1
- package/dist/contracts/abis/mainnet/mtwCARROT.cjs +1 -1
- package/dist/contracts/abis/mainnet/mtwCARROT.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/mtwCARROT.d.ts +69 -399
- package/dist/contracts/abis/mainnet/mtwCARROT.js +43 -346
- package/dist/contracts/abis/mainnet/mtwCARROT.js.map +1 -1
- package/dist/contracts/addresses.cjs +1 -1
- package/dist/contracts/addresses.cjs.map +1 -1
- package/dist/contracts/addresses.js +4 -1
- package/dist/contracts/addresses.js.map +1 -1
- package/dist/contracts/handlers/carrot-staking-handler.cjs +1 -1
- package/dist/contracts/handlers/carrot-staking-handler.d.ts +1652 -0
- package/dist/contracts/handlers/carrot-staking-handler.js +2 -2
- package/dist/contracts/handlers/distributor-handler.cjs +1 -1
- package/dist/contracts/handlers/distributor-handler.cjs.map +1 -1
- package/dist/contracts/handlers/distributor-handler.d.ts +8762 -0
- package/dist/contracts/handlers/distributor-handler.js +13 -127
- package/dist/contracts/handlers/distributor-handler.js.map +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.cjs +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.cjs.map +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.d.ts +4 -4
- package/dist/contracts/handlers/erc20-permit-handler.js +14 -14
- package/dist/contracts/handlers/erc20-permit-handler.js.map +1 -1
- package/dist/contracts/handlers/l1-reward-manager-handler.cjs +1 -1
- package/dist/contracts/handlers/l1-reward-manager-handler.cjs.map +1 -1
- package/dist/contracts/handlers/l1-reward-manager-handler.d.ts +339 -0
- package/dist/contracts/handlers/l1-reward-manager-handler.js +14 -14
- package/dist/contracts/handlers/l1-reward-manager-handler.js.map +1 -1
- package/dist/contracts/handlers/l2-reward-manager-handler.cjs +1 -1
- package/dist/contracts/handlers/l2-reward-manager-handler.cjs.map +1 -1
- package/dist/contracts/handlers/l2-reward-manager-handler.d.ts +2423 -0
- package/dist/contracts/handlers/l2-reward-manager-handler.js +6 -6
- package/dist/contracts/handlers/l2-reward-manager-handler.js.map +1 -1
- package/dist/contracts/handlers/mtw-carrot-handler.cjs +1 -1
- package/dist/contracts/handlers/mtw-carrot-handler.d.ts +14333 -0
- package/dist/contracts/handlers/mtw-carrot-handler.js +2 -2
- package/dist/contracts/handlers/nucleus-accountant-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-accountant-handler.cjs.map +1 -1
- package/dist/contracts/handlers/nucleus-accountant-handler.d.ts +620 -0
- package/dist/contracts/handlers/nucleus-accountant-handler.js +8 -8
- package/dist/contracts/handlers/nucleus-accountant-handler.js.map +1 -1
- package/dist/contracts/handlers/nucleus-atomic-queue-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-atomic-queue-handler.cjs.map +1 -1
- package/dist/contracts/handlers/nucleus-atomic-queue-handler.js +9 -9
- package/dist/contracts/handlers/nucleus-atomic-queue-handler.js.map +1 -1
- package/dist/contracts/handlers/nucleus-boring-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-boring-vault-handler.cjs.map +1 -1
- package/dist/contracts/handlers/nucleus-boring-vault-handler.d.ts +3917 -0
- package/dist/contracts/handlers/nucleus-boring-vault-handler.js +24 -24
- package/dist/contracts/handlers/nucleus-boring-vault-handler.js.map +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.cjs.map +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.d.ts +2209 -0
- package/dist/contracts/handlers/nucleus-teller-handler.js +14 -14
- package/dist/contracts/handlers/nucleus-teller-handler.js.map +1 -1
- package/dist/contracts/handlers/puf-locker-handler.cjs +1 -1
- package/dist/contracts/handlers/puf-locker-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puf-locker-handler.d.ts +2389 -0
- package/dist/contracts/handlers/puf-locker-handler.js +12 -12
- package/dist/contracts/handlers/puf-locker-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-depositor-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-depositor-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-depositor-handler.d.ts +100 -100
- package/dist/contracts/handlers/puffer-depositor-handler.js +19 -19
- package/dist/contracts/handlers/puffer-depositor-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-l2-depositor-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-l2-depositor-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-l2-depositor-handler.d.ts +471 -0
- package/dist/contracts/handlers/puffer-l2-depositor-handler.js +17 -17
- package/dist/contracts/handlers/puffer-l2-depositor-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-vault-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-vault-handler.d.ts +4657 -0
- package/dist/contracts/handlers/puffer-vault-handler.js +4 -4
- package/dist/contracts/handlers/puffer-vault-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.d.ts +1882 -0
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.js +10 -10
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.js.map +1 -1
- package/dist/contracts/tokens.cjs +1 -1
- package/dist/contracts/tokens.cjs.map +1 -1
- package/dist/contracts/tokens.d.ts +3 -1
- package/dist/contracts/tokens.js +71 -60
- package/dist/contracts/tokens.js.map +1 -1
- package/dist/contracts/vaults-addresses.cjs +1 -1
- package/dist/contracts/vaults-addresses.d.ts +5 -4
- package/dist/contracts/vaults-addresses.js +1 -1
- package/dist/{createWalletClient-DNLhBkOd.js → createWalletClient-DMXR-Bug.js} +4 -4
- package/dist/{createWalletClient-DNLhBkOd.js.map → createWalletClient-DMXR-Bug.js.map} +1 -1
- package/dist/{createWalletClient-Di5of07E.cjs → createWalletClient-L7tR5Gda.cjs} +2 -2
- package/dist/{createWalletClient-Di5of07E.cjs.map → createWalletClient-L7tR5Gda.cjs.map} +1 -1
- package/dist/{getContract-ChPFzc5y.cjs → getContract-Bt9GsQBq.cjs} +2 -2
- package/dist/{getContract-ChPFzc5y.cjs.map → getContract-Bt9GsQBq.cjs.map} +1 -1
- package/dist/{getContract-6ajhFbP2.js → getContract-DXPZJOBy.js} +2 -2
- package/dist/{getContract-6ajhFbP2.js.map → getContract-DXPZJOBy.js.map} +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.js +1 -1
- package/dist/{secp256k1-Ev0s9Yr6.js → secp256k1-D02y6Pc-.js} +2 -2
- package/dist/{secp256k1-Ev0s9Yr6.js.map → secp256k1-D02y6Pc-.js.map} +1 -1
- package/dist/{secp256k1-B8plqpXf.cjs → secp256k1-q_akf6f-.cjs} +2 -2
- package/dist/{secp256k1-B8plqpXf.cjs.map → secp256k1-q_akf6f-.cjs.map} +1 -1
- package/dist/utils/version.cjs +1 -1
- package/dist/utils/version.js +1 -1
- package/dist/{writeContract-CjcOEtWX.js → writeContract-BsrMQkg5.js} +4 -4
- package/dist/{writeContract-CjcOEtWX.js.map → writeContract-BsrMQkg5.js.map} +1 -1
- package/dist/{writeContract-BatuNuTe.cjs → writeContract-Cbrw62uO.cjs} +3 -3
- package/dist/{writeContract-BatuNuTe.cjs.map → writeContract-Cbrw62uO.cjs.map} +1 -1
- package/package.json +2 -2
- package/dist/constants-BcPRVxdH.cjs +0 -9
- package/dist/constants-BcPRVxdH.cjs.map +0 -1
- package/dist/constants-CH7Tz5jz.js.map +0 -1
- package/dist/contracts/abis/holesky/PufferDepositor.cjs +0 -2
- package/dist/contracts/abis/holesky/PufferDepositor.cjs.map +0 -1
- package/dist/contracts/abis/holesky/PufferDepositor.d.ts +0 -283
- package/dist/contracts/abis/holesky/PufferDepositor.js +0 -377
- package/dist/contracts/abis/holesky/PufferDepositor.js.map +0 -1
- package/dist/contracts/abis/holesky/PufferVaultV2.cjs +0 -2
- package/dist/contracts/abis/holesky/PufferVaultV2.cjs.map +0 -1
- package/dist/contracts/abis/holesky/PufferVaultV2.d.ts +0 -1361
- package/dist/contracts/abis/holesky/PufferVaultV2.js +0 -1787
- package/dist/contracts/abis/holesky/PufferVaultV2.js.map +0 -1
- package/dist/contracts/abis/l1-reward-manager-abis.cjs +0 -2
- package/dist/contracts/abis/l1-reward-manager-abis.cjs.map +0 -1
- package/dist/contracts/abis/l1-reward-manager-abis.d.ts +0 -527
- package/dist/contracts/abis/l1-reward-manager-abis.js +0 -10
- package/dist/contracts/abis/l1-reward-manager-abis.js.map +0 -1
- package/dist/contracts/abis/l2-reward-manager-abis.cjs +0 -2
- package/dist/contracts/abis/l2-reward-manager-abis.cjs.map +0 -1
- package/dist/contracts/abis/l2-reward-manager-abis.d.ts +0 -709
- package/dist/contracts/abis/l2-reward-manager-abis.js +0 -11
- package/dist/contracts/abis/l2-reward-manager-abis.js.map +0 -1
- package/dist/contracts/abis/nucleus-accountant-abis.cjs +0 -2
- package/dist/contracts/abis/nucleus-accountant-abis.cjs.map +0 -1
- package/dist/contracts/abis/nucleus-accountant-abis.d.ts +0 -525
- package/dist/contracts/abis/nucleus-accountant-abis.js +0 -9
- package/dist/contracts/abis/nucleus-accountant-abis.js.map +0 -1
- package/dist/contracts/abis/nucleus-atomic-queue-abis.cjs +0 -2
- package/dist/contracts/abis/nucleus-atomic-queue-abis.cjs.map +0 -1
- package/dist/contracts/abis/nucleus-atomic-queue-abis.d.ts +0 -332
- package/dist/contracts/abis/nucleus-atomic-queue-abis.js +0 -9
- package/dist/contracts/abis/nucleus-atomic-queue-abis.js.map +0 -1
- package/dist/contracts/abis/nucleus-boring-vault-abis.cjs +0 -2
- package/dist/contracts/abis/nucleus-boring-vault-abis.cjs.map +0 -1
- package/dist/contracts/abis/nucleus-boring-vault-abis.d.ts +0 -626
- package/dist/contracts/abis/nucleus-boring-vault-abis.js +0 -9
- package/dist/contracts/abis/nucleus-boring-vault-abis.js.map +0 -1
- package/dist/contracts/abis/nucleus-teller-abis.cjs +0 -2
- package/dist/contracts/abis/nucleus-teller-abis.cjs.map +0 -1
- package/dist/contracts/abis/nucleus-teller-abis.d.ts +0 -545
- package/dist/contracts/abis/nucleus-teller-abis.js +0 -9
- package/dist/contracts/abis/nucleus-teller-abis.js.map +0 -1
- package/dist/contracts/abis/puf-locker-abis.cjs +0 -2
- package/dist/contracts/abis/puf-locker-abis.cjs.map +0 -1
- package/dist/contracts/abis/puf-locker-abis.d.ts +0 -484
- package/dist/contracts/abis/puf-locker-abis.js +0 -10
- package/dist/contracts/abis/puf-locker-abis.js.map +0 -1
- package/dist/contracts/abis/puffer-depositor-abis.cjs +0 -2
- package/dist/contracts/abis/puffer-depositor-abis.cjs.map +0 -1
- package/dist/contracts/abis/puffer-depositor-abis.d.ts +0 -664
- package/dist/contracts/abis/puffer-depositor-abis.js +0 -20
- package/dist/contracts/abis/puffer-depositor-abis.js.map +0 -1
- package/dist/contracts/abis/puffer-vault-abis.cjs +0 -2
- package/dist/contracts/abis/puffer-vault-abis.cjs.map +0 -1
- package/dist/contracts/abis/puffer-vault-abis.d.ts +0 -2787
- package/dist/contracts/abis/puffer-vault-abis.js +0 -15
- package/dist/contracts/abis/puffer-vault-abis.js.map +0 -1
- package/dist/contracts/abis/puffer-withdrawal-manager-abis.cjs +0 -2
- package/dist/contracts/abis/puffer-withdrawal-manager-abis.cjs.map +0 -1
- package/dist/contracts/abis/puffer-withdrawal-manager-abis.d.ts +0 -514
- package/dist/contracts/abis/puffer-withdrawal-manager-abis.js +0 -10
- package/dist/contracts/abis/puffer-withdrawal-manager-abis.js.map +0 -1
- package/dist/contracts/abis/tokens-abis.cjs +0 -2
- package/dist/contracts/abis/tokens-abis.cjs.map +0 -1
- package/dist/contracts/abis/tokens-abis.d.ts +0 -396
- package/dist/contracts/abis/tokens-abis.js +0 -6
- package/dist/contracts/abis/tokens-abis.js.map +0 -1
|
@@ -0,0 +1,3917 @@
|
|
|
1
|
+
import { WalletClient, PublicClient, Address } from 'viem';
|
|
2
|
+
import { Chain, ViemChain } from '../../chains/constants';
|
|
3
|
+
import { UnifiToken } from '../tokens';
|
|
4
|
+
export type PermitParams = {
|
|
5
|
+
account: Address;
|
|
6
|
+
owner: Address;
|
|
7
|
+
spender: Address;
|
|
8
|
+
value: bigint;
|
|
9
|
+
deadline: bigint;
|
|
10
|
+
v: number;
|
|
11
|
+
r: Address;
|
|
12
|
+
s: Address;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Handler for the `BoringVault` contract for a given token exposing
|
|
16
|
+
* methods to interact with the contract.
|
|
17
|
+
*/
|
|
18
|
+
export declare class NucleusBoringVaultHandler {
|
|
19
|
+
private chain;
|
|
20
|
+
private walletClient;
|
|
21
|
+
private publicClient;
|
|
22
|
+
private viemChain;
|
|
23
|
+
private token;
|
|
24
|
+
/**
|
|
25
|
+
* Create the handler for processing UniFi tokens.
|
|
26
|
+
*
|
|
27
|
+
* @param chain Chain to use for the client.
|
|
28
|
+
* @param walletClient The wallet client to use for wallet
|
|
29
|
+
* interactions.
|
|
30
|
+
* @param publicClient The public client to use for public
|
|
31
|
+
* interactions.
|
|
32
|
+
*/
|
|
33
|
+
constructor(chain: Chain, walletClient: WalletClient, publicClient: PublicClient);
|
|
34
|
+
/**
|
|
35
|
+
* Set the UniFi token to use for executing transactions on the
|
|
36
|
+
* contract.
|
|
37
|
+
*
|
|
38
|
+
* @param token UniFi token to use for the handler.
|
|
39
|
+
* @returns The handler.
|
|
40
|
+
*/
|
|
41
|
+
withToken(token: UnifiToken): this;
|
|
42
|
+
/**
|
|
43
|
+
* Get the contract. This is a method because the typings are complex
|
|
44
|
+
* and lost when trying to make it a member.
|
|
45
|
+
*
|
|
46
|
+
* @returns The viem contract.
|
|
47
|
+
*/
|
|
48
|
+
getContract(): {
|
|
49
|
+
read: {
|
|
50
|
+
balanceOf: (args: readonly [`0x${string}`], options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
51
|
+
readonly inputs: readonly [{
|
|
52
|
+
readonly internalType: "address";
|
|
53
|
+
readonly name: "";
|
|
54
|
+
readonly type: "address";
|
|
55
|
+
}, {
|
|
56
|
+
readonly internalType: "address";
|
|
57
|
+
readonly name: "";
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
}];
|
|
60
|
+
readonly name: "allowance";
|
|
61
|
+
readonly outputs: readonly [{
|
|
62
|
+
readonly internalType: "uint256";
|
|
63
|
+
readonly name: "";
|
|
64
|
+
readonly type: "uint256";
|
|
65
|
+
}];
|
|
66
|
+
readonly stateMutability: "view";
|
|
67
|
+
readonly type: "function";
|
|
68
|
+
}, {
|
|
69
|
+
readonly inputs: readonly [{
|
|
70
|
+
readonly internalType: "address";
|
|
71
|
+
readonly name: "";
|
|
72
|
+
readonly type: "address";
|
|
73
|
+
}];
|
|
74
|
+
readonly name: "balanceOf";
|
|
75
|
+
readonly outputs: readonly [{
|
|
76
|
+
readonly internalType: "uint256";
|
|
77
|
+
readonly name: "";
|
|
78
|
+
readonly type: "uint256";
|
|
79
|
+
}];
|
|
80
|
+
readonly stateMutability: "view";
|
|
81
|
+
readonly type: "function";
|
|
82
|
+
}, {
|
|
83
|
+
readonly inputs: readonly [];
|
|
84
|
+
readonly name: "totalSupply";
|
|
85
|
+
readonly outputs: readonly [{
|
|
86
|
+
readonly internalType: "uint256";
|
|
87
|
+
readonly name: "";
|
|
88
|
+
readonly type: "uint256";
|
|
89
|
+
}];
|
|
90
|
+
readonly stateMutability: "view";
|
|
91
|
+
readonly type: "function";
|
|
92
|
+
}, {
|
|
93
|
+
readonly inputs: readonly [{
|
|
94
|
+
readonly internalType: "address";
|
|
95
|
+
readonly name: "spender";
|
|
96
|
+
readonly type: "address";
|
|
97
|
+
}, {
|
|
98
|
+
readonly internalType: "uint256";
|
|
99
|
+
readonly name: "amount";
|
|
100
|
+
readonly type: "uint256";
|
|
101
|
+
}];
|
|
102
|
+
readonly name: "approve";
|
|
103
|
+
readonly outputs: readonly [{
|
|
104
|
+
readonly internalType: "bool";
|
|
105
|
+
readonly name: "";
|
|
106
|
+
readonly type: "bool";
|
|
107
|
+
}];
|
|
108
|
+
readonly stateMutability: "nonpayable";
|
|
109
|
+
readonly type: "function";
|
|
110
|
+
}, {
|
|
111
|
+
readonly inputs: readonly [{
|
|
112
|
+
readonly internalType: "address";
|
|
113
|
+
readonly name: "to";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
}, {
|
|
116
|
+
readonly internalType: "uint256";
|
|
117
|
+
readonly name: "amount";
|
|
118
|
+
readonly type: "uint256";
|
|
119
|
+
}];
|
|
120
|
+
readonly name: "transfer";
|
|
121
|
+
readonly outputs: readonly [{
|
|
122
|
+
readonly internalType: "bool";
|
|
123
|
+
readonly name: "";
|
|
124
|
+
readonly type: "bool";
|
|
125
|
+
}];
|
|
126
|
+
readonly stateMutability: "nonpayable";
|
|
127
|
+
readonly type: "function";
|
|
128
|
+
}, {
|
|
129
|
+
readonly inputs: readonly [{
|
|
130
|
+
readonly internalType: "address";
|
|
131
|
+
readonly name: "from";
|
|
132
|
+
readonly type: "address";
|
|
133
|
+
}, {
|
|
134
|
+
readonly internalType: "address";
|
|
135
|
+
readonly name: "to";
|
|
136
|
+
readonly type: "address";
|
|
137
|
+
}, {
|
|
138
|
+
readonly internalType: "uint256";
|
|
139
|
+
readonly name: "amount";
|
|
140
|
+
readonly type: "uint256";
|
|
141
|
+
}];
|
|
142
|
+
readonly name: "transferFrom";
|
|
143
|
+
readonly outputs: readonly [{
|
|
144
|
+
readonly internalType: "bool";
|
|
145
|
+
readonly name: "";
|
|
146
|
+
readonly type: "bool";
|
|
147
|
+
}];
|
|
148
|
+
readonly stateMutability: "nonpayable";
|
|
149
|
+
readonly type: "function";
|
|
150
|
+
}, {
|
|
151
|
+
readonly inputs: readonly [{
|
|
152
|
+
readonly internalType: "address";
|
|
153
|
+
readonly name: "owner";
|
|
154
|
+
readonly type: "address";
|
|
155
|
+
}, {
|
|
156
|
+
readonly internalType: "address";
|
|
157
|
+
readonly name: "spender";
|
|
158
|
+
readonly type: "address";
|
|
159
|
+
}, {
|
|
160
|
+
readonly internalType: "uint256";
|
|
161
|
+
readonly name: "value";
|
|
162
|
+
readonly type: "uint256";
|
|
163
|
+
}, {
|
|
164
|
+
readonly internalType: "uint256";
|
|
165
|
+
readonly name: "deadline";
|
|
166
|
+
readonly type: "uint256";
|
|
167
|
+
}, {
|
|
168
|
+
readonly internalType: "uint8";
|
|
169
|
+
readonly name: "v";
|
|
170
|
+
readonly type: "uint8";
|
|
171
|
+
}, {
|
|
172
|
+
readonly internalType: "bytes32";
|
|
173
|
+
readonly name: "r";
|
|
174
|
+
readonly type: "bytes32";
|
|
175
|
+
}, {
|
|
176
|
+
readonly internalType: "bytes32";
|
|
177
|
+
readonly name: "s";
|
|
178
|
+
readonly type: "bytes32";
|
|
179
|
+
}];
|
|
180
|
+
readonly name: "permit";
|
|
181
|
+
readonly outputs: readonly [];
|
|
182
|
+
readonly stateMutability: "nonpayable";
|
|
183
|
+
readonly type: "function";
|
|
184
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
185
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
186
|
+
readonly inputs: readonly [{
|
|
187
|
+
readonly internalType: "address";
|
|
188
|
+
readonly name: "";
|
|
189
|
+
readonly type: "address";
|
|
190
|
+
}, {
|
|
191
|
+
readonly internalType: "address";
|
|
192
|
+
readonly name: "";
|
|
193
|
+
readonly type: "address";
|
|
194
|
+
}];
|
|
195
|
+
readonly name: "allowance";
|
|
196
|
+
readonly outputs: readonly [{
|
|
197
|
+
readonly internalType: "uint256";
|
|
198
|
+
readonly name: "";
|
|
199
|
+
readonly type: "uint256";
|
|
200
|
+
}];
|
|
201
|
+
readonly stateMutability: "view";
|
|
202
|
+
readonly type: "function";
|
|
203
|
+
}, {
|
|
204
|
+
readonly inputs: readonly [{
|
|
205
|
+
readonly internalType: "address";
|
|
206
|
+
readonly name: "";
|
|
207
|
+
readonly type: "address";
|
|
208
|
+
}];
|
|
209
|
+
readonly name: "balanceOf";
|
|
210
|
+
readonly outputs: readonly [{
|
|
211
|
+
readonly internalType: "uint256";
|
|
212
|
+
readonly name: "";
|
|
213
|
+
readonly type: "uint256";
|
|
214
|
+
}];
|
|
215
|
+
readonly stateMutability: "view";
|
|
216
|
+
readonly type: "function";
|
|
217
|
+
}, {
|
|
218
|
+
readonly inputs: readonly [];
|
|
219
|
+
readonly name: "totalSupply";
|
|
220
|
+
readonly outputs: readonly [{
|
|
221
|
+
readonly internalType: "uint256";
|
|
222
|
+
readonly name: "";
|
|
223
|
+
readonly type: "uint256";
|
|
224
|
+
}];
|
|
225
|
+
readonly stateMutability: "view";
|
|
226
|
+
readonly type: "function";
|
|
227
|
+
}, {
|
|
228
|
+
readonly inputs: readonly [{
|
|
229
|
+
readonly internalType: "address";
|
|
230
|
+
readonly name: "spender";
|
|
231
|
+
readonly type: "address";
|
|
232
|
+
}, {
|
|
233
|
+
readonly internalType: "uint256";
|
|
234
|
+
readonly name: "amount";
|
|
235
|
+
readonly type: "uint256";
|
|
236
|
+
}];
|
|
237
|
+
readonly name: "approve";
|
|
238
|
+
readonly outputs: readonly [{
|
|
239
|
+
readonly internalType: "bool";
|
|
240
|
+
readonly name: "";
|
|
241
|
+
readonly type: "bool";
|
|
242
|
+
}];
|
|
243
|
+
readonly stateMutability: "nonpayable";
|
|
244
|
+
readonly type: "function";
|
|
245
|
+
}, {
|
|
246
|
+
readonly inputs: readonly [{
|
|
247
|
+
readonly internalType: "address";
|
|
248
|
+
readonly name: "to";
|
|
249
|
+
readonly type: "address";
|
|
250
|
+
}, {
|
|
251
|
+
readonly internalType: "uint256";
|
|
252
|
+
readonly name: "amount";
|
|
253
|
+
readonly type: "uint256";
|
|
254
|
+
}];
|
|
255
|
+
readonly name: "transfer";
|
|
256
|
+
readonly outputs: readonly [{
|
|
257
|
+
readonly internalType: "bool";
|
|
258
|
+
readonly name: "";
|
|
259
|
+
readonly type: "bool";
|
|
260
|
+
}];
|
|
261
|
+
readonly stateMutability: "nonpayable";
|
|
262
|
+
readonly type: "function";
|
|
263
|
+
}, {
|
|
264
|
+
readonly inputs: readonly [{
|
|
265
|
+
readonly internalType: "address";
|
|
266
|
+
readonly name: "from";
|
|
267
|
+
readonly type: "address";
|
|
268
|
+
}, {
|
|
269
|
+
readonly internalType: "address";
|
|
270
|
+
readonly name: "to";
|
|
271
|
+
readonly type: "address";
|
|
272
|
+
}, {
|
|
273
|
+
readonly internalType: "uint256";
|
|
274
|
+
readonly name: "amount";
|
|
275
|
+
readonly type: "uint256";
|
|
276
|
+
}];
|
|
277
|
+
readonly name: "transferFrom";
|
|
278
|
+
readonly outputs: readonly [{
|
|
279
|
+
readonly internalType: "bool";
|
|
280
|
+
readonly name: "";
|
|
281
|
+
readonly type: "bool";
|
|
282
|
+
}];
|
|
283
|
+
readonly stateMutability: "nonpayable";
|
|
284
|
+
readonly type: "function";
|
|
285
|
+
}, {
|
|
286
|
+
readonly inputs: readonly [{
|
|
287
|
+
readonly internalType: "address";
|
|
288
|
+
readonly name: "owner";
|
|
289
|
+
readonly type: "address";
|
|
290
|
+
}, {
|
|
291
|
+
readonly internalType: "address";
|
|
292
|
+
readonly name: "spender";
|
|
293
|
+
readonly type: "address";
|
|
294
|
+
}, {
|
|
295
|
+
readonly internalType: "uint256";
|
|
296
|
+
readonly name: "value";
|
|
297
|
+
readonly type: "uint256";
|
|
298
|
+
}, {
|
|
299
|
+
readonly internalType: "uint256";
|
|
300
|
+
readonly name: "deadline";
|
|
301
|
+
readonly type: "uint256";
|
|
302
|
+
}, {
|
|
303
|
+
readonly internalType: "uint8";
|
|
304
|
+
readonly name: "v";
|
|
305
|
+
readonly type: "uint8";
|
|
306
|
+
}, {
|
|
307
|
+
readonly internalType: "bytes32";
|
|
308
|
+
readonly name: "r";
|
|
309
|
+
readonly type: "bytes32";
|
|
310
|
+
}, {
|
|
311
|
+
readonly internalType: "bytes32";
|
|
312
|
+
readonly name: "s";
|
|
313
|
+
readonly type: "bytes32";
|
|
314
|
+
}];
|
|
315
|
+
readonly name: "permit";
|
|
316
|
+
readonly outputs: readonly [];
|
|
317
|
+
readonly stateMutability: "nonpayable";
|
|
318
|
+
readonly type: "function";
|
|
319
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
320
|
+
totalSupply: (options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
321
|
+
readonly inputs: readonly [{
|
|
322
|
+
readonly internalType: "address";
|
|
323
|
+
readonly name: "";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
}, {
|
|
326
|
+
readonly internalType: "address";
|
|
327
|
+
readonly name: "";
|
|
328
|
+
readonly type: "address";
|
|
329
|
+
}];
|
|
330
|
+
readonly name: "allowance";
|
|
331
|
+
readonly outputs: readonly [{
|
|
332
|
+
readonly internalType: "uint256";
|
|
333
|
+
readonly name: "";
|
|
334
|
+
readonly type: "uint256";
|
|
335
|
+
}];
|
|
336
|
+
readonly stateMutability: "view";
|
|
337
|
+
readonly type: "function";
|
|
338
|
+
}, {
|
|
339
|
+
readonly inputs: readonly [{
|
|
340
|
+
readonly internalType: "address";
|
|
341
|
+
readonly name: "";
|
|
342
|
+
readonly type: "address";
|
|
343
|
+
}];
|
|
344
|
+
readonly name: "balanceOf";
|
|
345
|
+
readonly outputs: readonly [{
|
|
346
|
+
readonly internalType: "uint256";
|
|
347
|
+
readonly name: "";
|
|
348
|
+
readonly type: "uint256";
|
|
349
|
+
}];
|
|
350
|
+
readonly stateMutability: "view";
|
|
351
|
+
readonly type: "function";
|
|
352
|
+
}, {
|
|
353
|
+
readonly inputs: readonly [];
|
|
354
|
+
readonly name: "totalSupply";
|
|
355
|
+
readonly outputs: readonly [{
|
|
356
|
+
readonly internalType: "uint256";
|
|
357
|
+
readonly name: "";
|
|
358
|
+
readonly type: "uint256";
|
|
359
|
+
}];
|
|
360
|
+
readonly stateMutability: "view";
|
|
361
|
+
readonly type: "function";
|
|
362
|
+
}, {
|
|
363
|
+
readonly inputs: readonly [{
|
|
364
|
+
readonly internalType: "address";
|
|
365
|
+
readonly name: "spender";
|
|
366
|
+
readonly type: "address";
|
|
367
|
+
}, {
|
|
368
|
+
readonly internalType: "uint256";
|
|
369
|
+
readonly name: "amount";
|
|
370
|
+
readonly type: "uint256";
|
|
371
|
+
}];
|
|
372
|
+
readonly name: "approve";
|
|
373
|
+
readonly outputs: readonly [{
|
|
374
|
+
readonly internalType: "bool";
|
|
375
|
+
readonly name: "";
|
|
376
|
+
readonly type: "bool";
|
|
377
|
+
}];
|
|
378
|
+
readonly stateMutability: "nonpayable";
|
|
379
|
+
readonly type: "function";
|
|
380
|
+
}, {
|
|
381
|
+
readonly inputs: readonly [{
|
|
382
|
+
readonly internalType: "address";
|
|
383
|
+
readonly name: "to";
|
|
384
|
+
readonly type: "address";
|
|
385
|
+
}, {
|
|
386
|
+
readonly internalType: "uint256";
|
|
387
|
+
readonly name: "amount";
|
|
388
|
+
readonly type: "uint256";
|
|
389
|
+
}];
|
|
390
|
+
readonly name: "transfer";
|
|
391
|
+
readonly outputs: readonly [{
|
|
392
|
+
readonly internalType: "bool";
|
|
393
|
+
readonly name: "";
|
|
394
|
+
readonly type: "bool";
|
|
395
|
+
}];
|
|
396
|
+
readonly stateMutability: "nonpayable";
|
|
397
|
+
readonly type: "function";
|
|
398
|
+
}, {
|
|
399
|
+
readonly inputs: readonly [{
|
|
400
|
+
readonly internalType: "address";
|
|
401
|
+
readonly name: "from";
|
|
402
|
+
readonly type: "address";
|
|
403
|
+
}, {
|
|
404
|
+
readonly internalType: "address";
|
|
405
|
+
readonly name: "to";
|
|
406
|
+
readonly type: "address";
|
|
407
|
+
}, {
|
|
408
|
+
readonly internalType: "uint256";
|
|
409
|
+
readonly name: "amount";
|
|
410
|
+
readonly type: "uint256";
|
|
411
|
+
}];
|
|
412
|
+
readonly name: "transferFrom";
|
|
413
|
+
readonly outputs: readonly [{
|
|
414
|
+
readonly internalType: "bool";
|
|
415
|
+
readonly name: "";
|
|
416
|
+
readonly type: "bool";
|
|
417
|
+
}];
|
|
418
|
+
readonly stateMutability: "nonpayable";
|
|
419
|
+
readonly type: "function";
|
|
420
|
+
}, {
|
|
421
|
+
readonly inputs: readonly [{
|
|
422
|
+
readonly internalType: "address";
|
|
423
|
+
readonly name: "owner";
|
|
424
|
+
readonly type: "address";
|
|
425
|
+
}, {
|
|
426
|
+
readonly internalType: "address";
|
|
427
|
+
readonly name: "spender";
|
|
428
|
+
readonly type: "address";
|
|
429
|
+
}, {
|
|
430
|
+
readonly internalType: "uint256";
|
|
431
|
+
readonly name: "value";
|
|
432
|
+
readonly type: "uint256";
|
|
433
|
+
}, {
|
|
434
|
+
readonly internalType: "uint256";
|
|
435
|
+
readonly name: "deadline";
|
|
436
|
+
readonly type: "uint256";
|
|
437
|
+
}, {
|
|
438
|
+
readonly internalType: "uint8";
|
|
439
|
+
readonly name: "v";
|
|
440
|
+
readonly type: "uint8";
|
|
441
|
+
}, {
|
|
442
|
+
readonly internalType: "bytes32";
|
|
443
|
+
readonly name: "r";
|
|
444
|
+
readonly type: "bytes32";
|
|
445
|
+
}, {
|
|
446
|
+
readonly internalType: "bytes32";
|
|
447
|
+
readonly name: "s";
|
|
448
|
+
readonly type: "bytes32";
|
|
449
|
+
}];
|
|
450
|
+
readonly name: "permit";
|
|
451
|
+
readonly outputs: readonly [];
|
|
452
|
+
readonly stateMutability: "nonpayable";
|
|
453
|
+
readonly type: "function";
|
|
454
|
+
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
455
|
+
};
|
|
456
|
+
estimateGas: {
|
|
457
|
+
approve: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
458
|
+
readonly inputs: readonly [{
|
|
459
|
+
readonly internalType: "address";
|
|
460
|
+
readonly name: "";
|
|
461
|
+
readonly type: "address";
|
|
462
|
+
}, {
|
|
463
|
+
readonly internalType: "address";
|
|
464
|
+
readonly name: "";
|
|
465
|
+
readonly type: "address";
|
|
466
|
+
}];
|
|
467
|
+
readonly name: "allowance";
|
|
468
|
+
readonly outputs: readonly [{
|
|
469
|
+
readonly internalType: "uint256";
|
|
470
|
+
readonly name: "";
|
|
471
|
+
readonly type: "uint256";
|
|
472
|
+
}];
|
|
473
|
+
readonly stateMutability: "view";
|
|
474
|
+
readonly type: "function";
|
|
475
|
+
}, {
|
|
476
|
+
readonly inputs: readonly [{
|
|
477
|
+
readonly internalType: "address";
|
|
478
|
+
readonly name: "";
|
|
479
|
+
readonly type: "address";
|
|
480
|
+
}];
|
|
481
|
+
readonly name: "balanceOf";
|
|
482
|
+
readonly outputs: readonly [{
|
|
483
|
+
readonly internalType: "uint256";
|
|
484
|
+
readonly name: "";
|
|
485
|
+
readonly type: "uint256";
|
|
486
|
+
}];
|
|
487
|
+
readonly stateMutability: "view";
|
|
488
|
+
readonly type: "function";
|
|
489
|
+
}, {
|
|
490
|
+
readonly inputs: readonly [];
|
|
491
|
+
readonly name: "totalSupply";
|
|
492
|
+
readonly outputs: readonly [{
|
|
493
|
+
readonly internalType: "uint256";
|
|
494
|
+
readonly name: "";
|
|
495
|
+
readonly type: "uint256";
|
|
496
|
+
}];
|
|
497
|
+
readonly stateMutability: "view";
|
|
498
|
+
readonly type: "function";
|
|
499
|
+
}, {
|
|
500
|
+
readonly inputs: readonly [{
|
|
501
|
+
readonly internalType: "address";
|
|
502
|
+
readonly name: "spender";
|
|
503
|
+
readonly type: "address";
|
|
504
|
+
}, {
|
|
505
|
+
readonly internalType: "uint256";
|
|
506
|
+
readonly name: "amount";
|
|
507
|
+
readonly type: "uint256";
|
|
508
|
+
}];
|
|
509
|
+
readonly name: "approve";
|
|
510
|
+
readonly outputs: readonly [{
|
|
511
|
+
readonly internalType: "bool";
|
|
512
|
+
readonly name: "";
|
|
513
|
+
readonly type: "bool";
|
|
514
|
+
}];
|
|
515
|
+
readonly stateMutability: "nonpayable";
|
|
516
|
+
readonly type: "function";
|
|
517
|
+
}, {
|
|
518
|
+
readonly inputs: readonly [{
|
|
519
|
+
readonly internalType: "address";
|
|
520
|
+
readonly name: "to";
|
|
521
|
+
readonly type: "address";
|
|
522
|
+
}, {
|
|
523
|
+
readonly internalType: "uint256";
|
|
524
|
+
readonly name: "amount";
|
|
525
|
+
readonly type: "uint256";
|
|
526
|
+
}];
|
|
527
|
+
readonly name: "transfer";
|
|
528
|
+
readonly outputs: readonly [{
|
|
529
|
+
readonly internalType: "bool";
|
|
530
|
+
readonly name: "";
|
|
531
|
+
readonly type: "bool";
|
|
532
|
+
}];
|
|
533
|
+
readonly stateMutability: "nonpayable";
|
|
534
|
+
readonly type: "function";
|
|
535
|
+
}, {
|
|
536
|
+
readonly inputs: readonly [{
|
|
537
|
+
readonly internalType: "address";
|
|
538
|
+
readonly name: "from";
|
|
539
|
+
readonly type: "address";
|
|
540
|
+
}, {
|
|
541
|
+
readonly internalType: "address";
|
|
542
|
+
readonly name: "to";
|
|
543
|
+
readonly type: "address";
|
|
544
|
+
}, {
|
|
545
|
+
readonly internalType: "uint256";
|
|
546
|
+
readonly name: "amount";
|
|
547
|
+
readonly type: "uint256";
|
|
548
|
+
}];
|
|
549
|
+
readonly name: "transferFrom";
|
|
550
|
+
readonly outputs: readonly [{
|
|
551
|
+
readonly internalType: "bool";
|
|
552
|
+
readonly name: "";
|
|
553
|
+
readonly type: "bool";
|
|
554
|
+
}];
|
|
555
|
+
readonly stateMutability: "nonpayable";
|
|
556
|
+
readonly type: "function";
|
|
557
|
+
}, {
|
|
558
|
+
readonly inputs: readonly [{
|
|
559
|
+
readonly internalType: "address";
|
|
560
|
+
readonly name: "owner";
|
|
561
|
+
readonly type: "address";
|
|
562
|
+
}, {
|
|
563
|
+
readonly internalType: "address";
|
|
564
|
+
readonly name: "spender";
|
|
565
|
+
readonly type: "address";
|
|
566
|
+
}, {
|
|
567
|
+
readonly internalType: "uint256";
|
|
568
|
+
readonly name: "value";
|
|
569
|
+
readonly type: "uint256";
|
|
570
|
+
}, {
|
|
571
|
+
readonly internalType: "uint256";
|
|
572
|
+
readonly name: "deadline";
|
|
573
|
+
readonly type: "uint256";
|
|
574
|
+
}, {
|
|
575
|
+
readonly internalType: "uint8";
|
|
576
|
+
readonly name: "v";
|
|
577
|
+
readonly type: "uint8";
|
|
578
|
+
}, {
|
|
579
|
+
readonly internalType: "bytes32";
|
|
580
|
+
readonly name: "r";
|
|
581
|
+
readonly type: "bytes32";
|
|
582
|
+
}, {
|
|
583
|
+
readonly internalType: "bytes32";
|
|
584
|
+
readonly name: "s";
|
|
585
|
+
readonly type: "bytes32";
|
|
586
|
+
}];
|
|
587
|
+
readonly name: "permit";
|
|
588
|
+
readonly outputs: readonly [];
|
|
589
|
+
readonly stateMutability: "nonpayable";
|
|
590
|
+
readonly type: "function";
|
|
591
|
+
}], "approve", readonly [`0x${string}`, bigint], ViemChain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
592
|
+
permit: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
593
|
+
readonly inputs: readonly [{
|
|
594
|
+
readonly internalType: "address";
|
|
595
|
+
readonly name: "";
|
|
596
|
+
readonly type: "address";
|
|
597
|
+
}, {
|
|
598
|
+
readonly internalType: "address";
|
|
599
|
+
readonly name: "";
|
|
600
|
+
readonly type: "address";
|
|
601
|
+
}];
|
|
602
|
+
readonly name: "allowance";
|
|
603
|
+
readonly outputs: readonly [{
|
|
604
|
+
readonly internalType: "uint256";
|
|
605
|
+
readonly name: "";
|
|
606
|
+
readonly type: "uint256";
|
|
607
|
+
}];
|
|
608
|
+
readonly stateMutability: "view";
|
|
609
|
+
readonly type: "function";
|
|
610
|
+
}, {
|
|
611
|
+
readonly inputs: readonly [{
|
|
612
|
+
readonly internalType: "address";
|
|
613
|
+
readonly name: "";
|
|
614
|
+
readonly type: "address";
|
|
615
|
+
}];
|
|
616
|
+
readonly name: "balanceOf";
|
|
617
|
+
readonly outputs: readonly [{
|
|
618
|
+
readonly internalType: "uint256";
|
|
619
|
+
readonly name: "";
|
|
620
|
+
readonly type: "uint256";
|
|
621
|
+
}];
|
|
622
|
+
readonly stateMutability: "view";
|
|
623
|
+
readonly type: "function";
|
|
624
|
+
}, {
|
|
625
|
+
readonly inputs: readonly [];
|
|
626
|
+
readonly name: "totalSupply";
|
|
627
|
+
readonly outputs: readonly [{
|
|
628
|
+
readonly internalType: "uint256";
|
|
629
|
+
readonly name: "";
|
|
630
|
+
readonly type: "uint256";
|
|
631
|
+
}];
|
|
632
|
+
readonly stateMutability: "view";
|
|
633
|
+
readonly type: "function";
|
|
634
|
+
}, {
|
|
635
|
+
readonly inputs: readonly [{
|
|
636
|
+
readonly internalType: "address";
|
|
637
|
+
readonly name: "spender";
|
|
638
|
+
readonly type: "address";
|
|
639
|
+
}, {
|
|
640
|
+
readonly internalType: "uint256";
|
|
641
|
+
readonly name: "amount";
|
|
642
|
+
readonly type: "uint256";
|
|
643
|
+
}];
|
|
644
|
+
readonly name: "approve";
|
|
645
|
+
readonly outputs: readonly [{
|
|
646
|
+
readonly internalType: "bool";
|
|
647
|
+
readonly name: "";
|
|
648
|
+
readonly type: "bool";
|
|
649
|
+
}];
|
|
650
|
+
readonly stateMutability: "nonpayable";
|
|
651
|
+
readonly type: "function";
|
|
652
|
+
}, {
|
|
653
|
+
readonly inputs: readonly [{
|
|
654
|
+
readonly internalType: "address";
|
|
655
|
+
readonly name: "to";
|
|
656
|
+
readonly type: "address";
|
|
657
|
+
}, {
|
|
658
|
+
readonly internalType: "uint256";
|
|
659
|
+
readonly name: "amount";
|
|
660
|
+
readonly type: "uint256";
|
|
661
|
+
}];
|
|
662
|
+
readonly name: "transfer";
|
|
663
|
+
readonly outputs: readonly [{
|
|
664
|
+
readonly internalType: "bool";
|
|
665
|
+
readonly name: "";
|
|
666
|
+
readonly type: "bool";
|
|
667
|
+
}];
|
|
668
|
+
readonly stateMutability: "nonpayable";
|
|
669
|
+
readonly type: "function";
|
|
670
|
+
}, {
|
|
671
|
+
readonly inputs: readonly [{
|
|
672
|
+
readonly internalType: "address";
|
|
673
|
+
readonly name: "from";
|
|
674
|
+
readonly type: "address";
|
|
675
|
+
}, {
|
|
676
|
+
readonly internalType: "address";
|
|
677
|
+
readonly name: "to";
|
|
678
|
+
readonly type: "address";
|
|
679
|
+
}, {
|
|
680
|
+
readonly internalType: "uint256";
|
|
681
|
+
readonly name: "amount";
|
|
682
|
+
readonly type: "uint256";
|
|
683
|
+
}];
|
|
684
|
+
readonly name: "transferFrom";
|
|
685
|
+
readonly outputs: readonly [{
|
|
686
|
+
readonly internalType: "bool";
|
|
687
|
+
readonly name: "";
|
|
688
|
+
readonly type: "bool";
|
|
689
|
+
}];
|
|
690
|
+
readonly stateMutability: "nonpayable";
|
|
691
|
+
readonly type: "function";
|
|
692
|
+
}, {
|
|
693
|
+
readonly inputs: readonly [{
|
|
694
|
+
readonly internalType: "address";
|
|
695
|
+
readonly name: "owner";
|
|
696
|
+
readonly type: "address";
|
|
697
|
+
}, {
|
|
698
|
+
readonly internalType: "address";
|
|
699
|
+
readonly name: "spender";
|
|
700
|
+
readonly type: "address";
|
|
701
|
+
}, {
|
|
702
|
+
readonly internalType: "uint256";
|
|
703
|
+
readonly name: "value";
|
|
704
|
+
readonly type: "uint256";
|
|
705
|
+
}, {
|
|
706
|
+
readonly internalType: "uint256";
|
|
707
|
+
readonly name: "deadline";
|
|
708
|
+
readonly type: "uint256";
|
|
709
|
+
}, {
|
|
710
|
+
readonly internalType: "uint8";
|
|
711
|
+
readonly name: "v";
|
|
712
|
+
readonly type: "uint8";
|
|
713
|
+
}, {
|
|
714
|
+
readonly internalType: "bytes32";
|
|
715
|
+
readonly name: "r";
|
|
716
|
+
readonly type: "bytes32";
|
|
717
|
+
}, {
|
|
718
|
+
readonly internalType: "bytes32";
|
|
719
|
+
readonly name: "s";
|
|
720
|
+
readonly type: "bytes32";
|
|
721
|
+
}];
|
|
722
|
+
readonly name: "permit";
|
|
723
|
+
readonly outputs: readonly [];
|
|
724
|
+
readonly stateMutability: "nonpayable";
|
|
725
|
+
readonly type: "function";
|
|
726
|
+
}], "permit", readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], ViemChain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
727
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
728
|
+
readonly inputs: readonly [{
|
|
729
|
+
readonly internalType: "address";
|
|
730
|
+
readonly name: "";
|
|
731
|
+
readonly type: "address";
|
|
732
|
+
}, {
|
|
733
|
+
readonly internalType: "address";
|
|
734
|
+
readonly name: "";
|
|
735
|
+
readonly type: "address";
|
|
736
|
+
}];
|
|
737
|
+
readonly name: "allowance";
|
|
738
|
+
readonly outputs: readonly [{
|
|
739
|
+
readonly internalType: "uint256";
|
|
740
|
+
readonly name: "";
|
|
741
|
+
readonly type: "uint256";
|
|
742
|
+
}];
|
|
743
|
+
readonly stateMutability: "view";
|
|
744
|
+
readonly type: "function";
|
|
745
|
+
}, {
|
|
746
|
+
readonly inputs: readonly [{
|
|
747
|
+
readonly internalType: "address";
|
|
748
|
+
readonly name: "";
|
|
749
|
+
readonly type: "address";
|
|
750
|
+
}];
|
|
751
|
+
readonly name: "balanceOf";
|
|
752
|
+
readonly outputs: readonly [{
|
|
753
|
+
readonly internalType: "uint256";
|
|
754
|
+
readonly name: "";
|
|
755
|
+
readonly type: "uint256";
|
|
756
|
+
}];
|
|
757
|
+
readonly stateMutability: "view";
|
|
758
|
+
readonly type: "function";
|
|
759
|
+
}, {
|
|
760
|
+
readonly inputs: readonly [];
|
|
761
|
+
readonly name: "totalSupply";
|
|
762
|
+
readonly outputs: readonly [{
|
|
763
|
+
readonly internalType: "uint256";
|
|
764
|
+
readonly name: "";
|
|
765
|
+
readonly type: "uint256";
|
|
766
|
+
}];
|
|
767
|
+
readonly stateMutability: "view";
|
|
768
|
+
readonly type: "function";
|
|
769
|
+
}, {
|
|
770
|
+
readonly inputs: readonly [{
|
|
771
|
+
readonly internalType: "address";
|
|
772
|
+
readonly name: "spender";
|
|
773
|
+
readonly type: "address";
|
|
774
|
+
}, {
|
|
775
|
+
readonly internalType: "uint256";
|
|
776
|
+
readonly name: "amount";
|
|
777
|
+
readonly type: "uint256";
|
|
778
|
+
}];
|
|
779
|
+
readonly name: "approve";
|
|
780
|
+
readonly outputs: readonly [{
|
|
781
|
+
readonly internalType: "bool";
|
|
782
|
+
readonly name: "";
|
|
783
|
+
readonly type: "bool";
|
|
784
|
+
}];
|
|
785
|
+
readonly stateMutability: "nonpayable";
|
|
786
|
+
readonly type: "function";
|
|
787
|
+
}, {
|
|
788
|
+
readonly inputs: readonly [{
|
|
789
|
+
readonly internalType: "address";
|
|
790
|
+
readonly name: "to";
|
|
791
|
+
readonly type: "address";
|
|
792
|
+
}, {
|
|
793
|
+
readonly internalType: "uint256";
|
|
794
|
+
readonly name: "amount";
|
|
795
|
+
readonly type: "uint256";
|
|
796
|
+
}];
|
|
797
|
+
readonly name: "transfer";
|
|
798
|
+
readonly outputs: readonly [{
|
|
799
|
+
readonly internalType: "bool";
|
|
800
|
+
readonly name: "";
|
|
801
|
+
readonly type: "bool";
|
|
802
|
+
}];
|
|
803
|
+
readonly stateMutability: "nonpayable";
|
|
804
|
+
readonly type: "function";
|
|
805
|
+
}, {
|
|
806
|
+
readonly inputs: readonly [{
|
|
807
|
+
readonly internalType: "address";
|
|
808
|
+
readonly name: "from";
|
|
809
|
+
readonly type: "address";
|
|
810
|
+
}, {
|
|
811
|
+
readonly internalType: "address";
|
|
812
|
+
readonly name: "to";
|
|
813
|
+
readonly type: "address";
|
|
814
|
+
}, {
|
|
815
|
+
readonly internalType: "uint256";
|
|
816
|
+
readonly name: "amount";
|
|
817
|
+
readonly type: "uint256";
|
|
818
|
+
}];
|
|
819
|
+
readonly name: "transferFrom";
|
|
820
|
+
readonly outputs: readonly [{
|
|
821
|
+
readonly internalType: "bool";
|
|
822
|
+
readonly name: "";
|
|
823
|
+
readonly type: "bool";
|
|
824
|
+
}];
|
|
825
|
+
readonly stateMutability: "nonpayable";
|
|
826
|
+
readonly type: "function";
|
|
827
|
+
}, {
|
|
828
|
+
readonly inputs: readonly [{
|
|
829
|
+
readonly internalType: "address";
|
|
830
|
+
readonly name: "owner";
|
|
831
|
+
readonly type: "address";
|
|
832
|
+
}, {
|
|
833
|
+
readonly internalType: "address";
|
|
834
|
+
readonly name: "spender";
|
|
835
|
+
readonly type: "address";
|
|
836
|
+
}, {
|
|
837
|
+
readonly internalType: "uint256";
|
|
838
|
+
readonly name: "value";
|
|
839
|
+
readonly type: "uint256";
|
|
840
|
+
}, {
|
|
841
|
+
readonly internalType: "uint256";
|
|
842
|
+
readonly name: "deadline";
|
|
843
|
+
readonly type: "uint256";
|
|
844
|
+
}, {
|
|
845
|
+
readonly internalType: "uint8";
|
|
846
|
+
readonly name: "v";
|
|
847
|
+
readonly type: "uint8";
|
|
848
|
+
}, {
|
|
849
|
+
readonly internalType: "bytes32";
|
|
850
|
+
readonly name: "r";
|
|
851
|
+
readonly type: "bytes32";
|
|
852
|
+
}, {
|
|
853
|
+
readonly internalType: "bytes32";
|
|
854
|
+
readonly name: "s";
|
|
855
|
+
readonly type: "bytes32";
|
|
856
|
+
}];
|
|
857
|
+
readonly name: "permit";
|
|
858
|
+
readonly outputs: readonly [];
|
|
859
|
+
readonly stateMutability: "nonpayable";
|
|
860
|
+
readonly type: "function";
|
|
861
|
+
}], "transfer", readonly [`0x${string}`, bigint], ViemChain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
862
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
863
|
+
readonly inputs: readonly [{
|
|
864
|
+
readonly internalType: "address";
|
|
865
|
+
readonly name: "";
|
|
866
|
+
readonly type: "address";
|
|
867
|
+
}, {
|
|
868
|
+
readonly internalType: "address";
|
|
869
|
+
readonly name: "";
|
|
870
|
+
readonly type: "address";
|
|
871
|
+
}];
|
|
872
|
+
readonly name: "allowance";
|
|
873
|
+
readonly outputs: readonly [{
|
|
874
|
+
readonly internalType: "uint256";
|
|
875
|
+
readonly name: "";
|
|
876
|
+
readonly type: "uint256";
|
|
877
|
+
}];
|
|
878
|
+
readonly stateMutability: "view";
|
|
879
|
+
readonly type: "function";
|
|
880
|
+
}, {
|
|
881
|
+
readonly inputs: readonly [{
|
|
882
|
+
readonly internalType: "address";
|
|
883
|
+
readonly name: "";
|
|
884
|
+
readonly type: "address";
|
|
885
|
+
}];
|
|
886
|
+
readonly name: "balanceOf";
|
|
887
|
+
readonly outputs: readonly [{
|
|
888
|
+
readonly internalType: "uint256";
|
|
889
|
+
readonly name: "";
|
|
890
|
+
readonly type: "uint256";
|
|
891
|
+
}];
|
|
892
|
+
readonly stateMutability: "view";
|
|
893
|
+
readonly type: "function";
|
|
894
|
+
}, {
|
|
895
|
+
readonly inputs: readonly [];
|
|
896
|
+
readonly name: "totalSupply";
|
|
897
|
+
readonly outputs: readonly [{
|
|
898
|
+
readonly internalType: "uint256";
|
|
899
|
+
readonly name: "";
|
|
900
|
+
readonly type: "uint256";
|
|
901
|
+
}];
|
|
902
|
+
readonly stateMutability: "view";
|
|
903
|
+
readonly type: "function";
|
|
904
|
+
}, {
|
|
905
|
+
readonly inputs: readonly [{
|
|
906
|
+
readonly internalType: "address";
|
|
907
|
+
readonly name: "spender";
|
|
908
|
+
readonly type: "address";
|
|
909
|
+
}, {
|
|
910
|
+
readonly internalType: "uint256";
|
|
911
|
+
readonly name: "amount";
|
|
912
|
+
readonly type: "uint256";
|
|
913
|
+
}];
|
|
914
|
+
readonly name: "approve";
|
|
915
|
+
readonly outputs: readonly [{
|
|
916
|
+
readonly internalType: "bool";
|
|
917
|
+
readonly name: "";
|
|
918
|
+
readonly type: "bool";
|
|
919
|
+
}];
|
|
920
|
+
readonly stateMutability: "nonpayable";
|
|
921
|
+
readonly type: "function";
|
|
922
|
+
}, {
|
|
923
|
+
readonly inputs: readonly [{
|
|
924
|
+
readonly internalType: "address";
|
|
925
|
+
readonly name: "to";
|
|
926
|
+
readonly type: "address";
|
|
927
|
+
}, {
|
|
928
|
+
readonly internalType: "uint256";
|
|
929
|
+
readonly name: "amount";
|
|
930
|
+
readonly type: "uint256";
|
|
931
|
+
}];
|
|
932
|
+
readonly name: "transfer";
|
|
933
|
+
readonly outputs: readonly [{
|
|
934
|
+
readonly internalType: "bool";
|
|
935
|
+
readonly name: "";
|
|
936
|
+
readonly type: "bool";
|
|
937
|
+
}];
|
|
938
|
+
readonly stateMutability: "nonpayable";
|
|
939
|
+
readonly type: "function";
|
|
940
|
+
}, {
|
|
941
|
+
readonly inputs: readonly [{
|
|
942
|
+
readonly internalType: "address";
|
|
943
|
+
readonly name: "from";
|
|
944
|
+
readonly type: "address";
|
|
945
|
+
}, {
|
|
946
|
+
readonly internalType: "address";
|
|
947
|
+
readonly name: "to";
|
|
948
|
+
readonly type: "address";
|
|
949
|
+
}, {
|
|
950
|
+
readonly internalType: "uint256";
|
|
951
|
+
readonly name: "amount";
|
|
952
|
+
readonly type: "uint256";
|
|
953
|
+
}];
|
|
954
|
+
readonly name: "transferFrom";
|
|
955
|
+
readonly outputs: readonly [{
|
|
956
|
+
readonly internalType: "bool";
|
|
957
|
+
readonly name: "";
|
|
958
|
+
readonly type: "bool";
|
|
959
|
+
}];
|
|
960
|
+
readonly stateMutability: "nonpayable";
|
|
961
|
+
readonly type: "function";
|
|
962
|
+
}, {
|
|
963
|
+
readonly inputs: readonly [{
|
|
964
|
+
readonly internalType: "address";
|
|
965
|
+
readonly name: "owner";
|
|
966
|
+
readonly type: "address";
|
|
967
|
+
}, {
|
|
968
|
+
readonly internalType: "address";
|
|
969
|
+
readonly name: "spender";
|
|
970
|
+
readonly type: "address";
|
|
971
|
+
}, {
|
|
972
|
+
readonly internalType: "uint256";
|
|
973
|
+
readonly name: "value";
|
|
974
|
+
readonly type: "uint256";
|
|
975
|
+
}, {
|
|
976
|
+
readonly internalType: "uint256";
|
|
977
|
+
readonly name: "deadline";
|
|
978
|
+
readonly type: "uint256";
|
|
979
|
+
}, {
|
|
980
|
+
readonly internalType: "uint8";
|
|
981
|
+
readonly name: "v";
|
|
982
|
+
readonly type: "uint8";
|
|
983
|
+
}, {
|
|
984
|
+
readonly internalType: "bytes32";
|
|
985
|
+
readonly name: "r";
|
|
986
|
+
readonly type: "bytes32";
|
|
987
|
+
}, {
|
|
988
|
+
readonly internalType: "bytes32";
|
|
989
|
+
readonly name: "s";
|
|
990
|
+
readonly type: "bytes32";
|
|
991
|
+
}];
|
|
992
|
+
readonly name: "permit";
|
|
993
|
+
readonly outputs: readonly [];
|
|
994
|
+
readonly stateMutability: "nonpayable";
|
|
995
|
+
readonly type: "function";
|
|
996
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], ViemChain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
997
|
+
} & {
|
|
998
|
+
approve: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
999
|
+
readonly inputs: readonly [{
|
|
1000
|
+
readonly internalType: "address";
|
|
1001
|
+
readonly name: "";
|
|
1002
|
+
readonly type: "address";
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly internalType: "address";
|
|
1005
|
+
readonly name: "";
|
|
1006
|
+
readonly type: "address";
|
|
1007
|
+
}];
|
|
1008
|
+
readonly name: "allowance";
|
|
1009
|
+
readonly outputs: readonly [{
|
|
1010
|
+
readonly internalType: "uint256";
|
|
1011
|
+
readonly name: "";
|
|
1012
|
+
readonly type: "uint256";
|
|
1013
|
+
}];
|
|
1014
|
+
readonly stateMutability: "view";
|
|
1015
|
+
readonly type: "function";
|
|
1016
|
+
}, {
|
|
1017
|
+
readonly inputs: readonly [{
|
|
1018
|
+
readonly internalType: "address";
|
|
1019
|
+
readonly name: "";
|
|
1020
|
+
readonly type: "address";
|
|
1021
|
+
}];
|
|
1022
|
+
readonly name: "balanceOf";
|
|
1023
|
+
readonly outputs: readonly [{
|
|
1024
|
+
readonly internalType: "uint256";
|
|
1025
|
+
readonly name: "";
|
|
1026
|
+
readonly type: "uint256";
|
|
1027
|
+
}];
|
|
1028
|
+
readonly stateMutability: "view";
|
|
1029
|
+
readonly type: "function";
|
|
1030
|
+
}, {
|
|
1031
|
+
readonly inputs: readonly [];
|
|
1032
|
+
readonly name: "totalSupply";
|
|
1033
|
+
readonly outputs: readonly [{
|
|
1034
|
+
readonly internalType: "uint256";
|
|
1035
|
+
readonly name: "";
|
|
1036
|
+
readonly type: "uint256";
|
|
1037
|
+
}];
|
|
1038
|
+
readonly stateMutability: "view";
|
|
1039
|
+
readonly type: "function";
|
|
1040
|
+
}, {
|
|
1041
|
+
readonly inputs: readonly [{
|
|
1042
|
+
readonly internalType: "address";
|
|
1043
|
+
readonly name: "spender";
|
|
1044
|
+
readonly type: "address";
|
|
1045
|
+
}, {
|
|
1046
|
+
readonly internalType: "uint256";
|
|
1047
|
+
readonly name: "amount";
|
|
1048
|
+
readonly type: "uint256";
|
|
1049
|
+
}];
|
|
1050
|
+
readonly name: "approve";
|
|
1051
|
+
readonly outputs: readonly [{
|
|
1052
|
+
readonly internalType: "bool";
|
|
1053
|
+
readonly name: "";
|
|
1054
|
+
readonly type: "bool";
|
|
1055
|
+
}];
|
|
1056
|
+
readonly stateMutability: "nonpayable";
|
|
1057
|
+
readonly type: "function";
|
|
1058
|
+
}, {
|
|
1059
|
+
readonly inputs: readonly [{
|
|
1060
|
+
readonly internalType: "address";
|
|
1061
|
+
readonly name: "to";
|
|
1062
|
+
readonly type: "address";
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly internalType: "uint256";
|
|
1065
|
+
readonly name: "amount";
|
|
1066
|
+
readonly type: "uint256";
|
|
1067
|
+
}];
|
|
1068
|
+
readonly name: "transfer";
|
|
1069
|
+
readonly outputs: readonly [{
|
|
1070
|
+
readonly internalType: "bool";
|
|
1071
|
+
readonly name: "";
|
|
1072
|
+
readonly type: "bool";
|
|
1073
|
+
}];
|
|
1074
|
+
readonly stateMutability: "nonpayable";
|
|
1075
|
+
readonly type: "function";
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly inputs: readonly [{
|
|
1078
|
+
readonly internalType: "address";
|
|
1079
|
+
readonly name: "from";
|
|
1080
|
+
readonly type: "address";
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly internalType: "address";
|
|
1083
|
+
readonly name: "to";
|
|
1084
|
+
readonly type: "address";
|
|
1085
|
+
}, {
|
|
1086
|
+
readonly internalType: "uint256";
|
|
1087
|
+
readonly name: "amount";
|
|
1088
|
+
readonly type: "uint256";
|
|
1089
|
+
}];
|
|
1090
|
+
readonly name: "transferFrom";
|
|
1091
|
+
readonly outputs: readonly [{
|
|
1092
|
+
readonly internalType: "bool";
|
|
1093
|
+
readonly name: "";
|
|
1094
|
+
readonly type: "bool";
|
|
1095
|
+
}];
|
|
1096
|
+
readonly stateMutability: "nonpayable";
|
|
1097
|
+
readonly type: "function";
|
|
1098
|
+
}, {
|
|
1099
|
+
readonly inputs: readonly [{
|
|
1100
|
+
readonly internalType: "address";
|
|
1101
|
+
readonly name: "owner";
|
|
1102
|
+
readonly type: "address";
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly internalType: "address";
|
|
1105
|
+
readonly name: "spender";
|
|
1106
|
+
readonly type: "address";
|
|
1107
|
+
}, {
|
|
1108
|
+
readonly internalType: "uint256";
|
|
1109
|
+
readonly name: "value";
|
|
1110
|
+
readonly type: "uint256";
|
|
1111
|
+
}, {
|
|
1112
|
+
readonly internalType: "uint256";
|
|
1113
|
+
readonly name: "deadline";
|
|
1114
|
+
readonly type: "uint256";
|
|
1115
|
+
}, {
|
|
1116
|
+
readonly internalType: "uint8";
|
|
1117
|
+
readonly name: "v";
|
|
1118
|
+
readonly type: "uint8";
|
|
1119
|
+
}, {
|
|
1120
|
+
readonly internalType: "bytes32";
|
|
1121
|
+
readonly name: "r";
|
|
1122
|
+
readonly type: "bytes32";
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly internalType: "bytes32";
|
|
1125
|
+
readonly name: "s";
|
|
1126
|
+
readonly type: "bytes32";
|
|
1127
|
+
}];
|
|
1128
|
+
readonly name: "permit";
|
|
1129
|
+
readonly outputs: readonly [];
|
|
1130
|
+
readonly stateMutability: "nonpayable";
|
|
1131
|
+
readonly type: "function";
|
|
1132
|
+
}], "approve", readonly [`0x${string}`, bigint], ViemChain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
1133
|
+
permit: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
1134
|
+
readonly inputs: readonly [{
|
|
1135
|
+
readonly internalType: "address";
|
|
1136
|
+
readonly name: "";
|
|
1137
|
+
readonly type: "address";
|
|
1138
|
+
}, {
|
|
1139
|
+
readonly internalType: "address";
|
|
1140
|
+
readonly name: "";
|
|
1141
|
+
readonly type: "address";
|
|
1142
|
+
}];
|
|
1143
|
+
readonly name: "allowance";
|
|
1144
|
+
readonly outputs: readonly [{
|
|
1145
|
+
readonly internalType: "uint256";
|
|
1146
|
+
readonly name: "";
|
|
1147
|
+
readonly type: "uint256";
|
|
1148
|
+
}];
|
|
1149
|
+
readonly stateMutability: "view";
|
|
1150
|
+
readonly type: "function";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly inputs: readonly [{
|
|
1153
|
+
readonly internalType: "address";
|
|
1154
|
+
readonly name: "";
|
|
1155
|
+
readonly type: "address";
|
|
1156
|
+
}];
|
|
1157
|
+
readonly name: "balanceOf";
|
|
1158
|
+
readonly outputs: readonly [{
|
|
1159
|
+
readonly internalType: "uint256";
|
|
1160
|
+
readonly name: "";
|
|
1161
|
+
readonly type: "uint256";
|
|
1162
|
+
}];
|
|
1163
|
+
readonly stateMutability: "view";
|
|
1164
|
+
readonly type: "function";
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly inputs: readonly [];
|
|
1167
|
+
readonly name: "totalSupply";
|
|
1168
|
+
readonly outputs: readonly [{
|
|
1169
|
+
readonly internalType: "uint256";
|
|
1170
|
+
readonly name: "";
|
|
1171
|
+
readonly type: "uint256";
|
|
1172
|
+
}];
|
|
1173
|
+
readonly stateMutability: "view";
|
|
1174
|
+
readonly type: "function";
|
|
1175
|
+
}, {
|
|
1176
|
+
readonly inputs: readonly [{
|
|
1177
|
+
readonly internalType: "address";
|
|
1178
|
+
readonly name: "spender";
|
|
1179
|
+
readonly type: "address";
|
|
1180
|
+
}, {
|
|
1181
|
+
readonly internalType: "uint256";
|
|
1182
|
+
readonly name: "amount";
|
|
1183
|
+
readonly type: "uint256";
|
|
1184
|
+
}];
|
|
1185
|
+
readonly name: "approve";
|
|
1186
|
+
readonly outputs: readonly [{
|
|
1187
|
+
readonly internalType: "bool";
|
|
1188
|
+
readonly name: "";
|
|
1189
|
+
readonly type: "bool";
|
|
1190
|
+
}];
|
|
1191
|
+
readonly stateMutability: "nonpayable";
|
|
1192
|
+
readonly type: "function";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly inputs: readonly [{
|
|
1195
|
+
readonly internalType: "address";
|
|
1196
|
+
readonly name: "to";
|
|
1197
|
+
readonly type: "address";
|
|
1198
|
+
}, {
|
|
1199
|
+
readonly internalType: "uint256";
|
|
1200
|
+
readonly name: "amount";
|
|
1201
|
+
readonly type: "uint256";
|
|
1202
|
+
}];
|
|
1203
|
+
readonly name: "transfer";
|
|
1204
|
+
readonly outputs: readonly [{
|
|
1205
|
+
readonly internalType: "bool";
|
|
1206
|
+
readonly name: "";
|
|
1207
|
+
readonly type: "bool";
|
|
1208
|
+
}];
|
|
1209
|
+
readonly stateMutability: "nonpayable";
|
|
1210
|
+
readonly type: "function";
|
|
1211
|
+
}, {
|
|
1212
|
+
readonly inputs: readonly [{
|
|
1213
|
+
readonly internalType: "address";
|
|
1214
|
+
readonly name: "from";
|
|
1215
|
+
readonly type: "address";
|
|
1216
|
+
}, {
|
|
1217
|
+
readonly internalType: "address";
|
|
1218
|
+
readonly name: "to";
|
|
1219
|
+
readonly type: "address";
|
|
1220
|
+
}, {
|
|
1221
|
+
readonly internalType: "uint256";
|
|
1222
|
+
readonly name: "amount";
|
|
1223
|
+
readonly type: "uint256";
|
|
1224
|
+
}];
|
|
1225
|
+
readonly name: "transferFrom";
|
|
1226
|
+
readonly outputs: readonly [{
|
|
1227
|
+
readonly internalType: "bool";
|
|
1228
|
+
readonly name: "";
|
|
1229
|
+
readonly type: "bool";
|
|
1230
|
+
}];
|
|
1231
|
+
readonly stateMutability: "nonpayable";
|
|
1232
|
+
readonly type: "function";
|
|
1233
|
+
}, {
|
|
1234
|
+
readonly inputs: readonly [{
|
|
1235
|
+
readonly internalType: "address";
|
|
1236
|
+
readonly name: "owner";
|
|
1237
|
+
readonly type: "address";
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly internalType: "address";
|
|
1240
|
+
readonly name: "spender";
|
|
1241
|
+
readonly type: "address";
|
|
1242
|
+
}, {
|
|
1243
|
+
readonly internalType: "uint256";
|
|
1244
|
+
readonly name: "value";
|
|
1245
|
+
readonly type: "uint256";
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly internalType: "uint256";
|
|
1248
|
+
readonly name: "deadline";
|
|
1249
|
+
readonly type: "uint256";
|
|
1250
|
+
}, {
|
|
1251
|
+
readonly internalType: "uint8";
|
|
1252
|
+
readonly name: "v";
|
|
1253
|
+
readonly type: "uint8";
|
|
1254
|
+
}, {
|
|
1255
|
+
readonly internalType: "bytes32";
|
|
1256
|
+
readonly name: "r";
|
|
1257
|
+
readonly type: "bytes32";
|
|
1258
|
+
}, {
|
|
1259
|
+
readonly internalType: "bytes32";
|
|
1260
|
+
readonly name: "s";
|
|
1261
|
+
readonly type: "bytes32";
|
|
1262
|
+
}];
|
|
1263
|
+
readonly name: "permit";
|
|
1264
|
+
readonly outputs: readonly [];
|
|
1265
|
+
readonly stateMutability: "nonpayable";
|
|
1266
|
+
readonly type: "function";
|
|
1267
|
+
}], "permit", readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], ViemChain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
1268
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
1269
|
+
readonly inputs: readonly [{
|
|
1270
|
+
readonly internalType: "address";
|
|
1271
|
+
readonly name: "";
|
|
1272
|
+
readonly type: "address";
|
|
1273
|
+
}, {
|
|
1274
|
+
readonly internalType: "address";
|
|
1275
|
+
readonly name: "";
|
|
1276
|
+
readonly type: "address";
|
|
1277
|
+
}];
|
|
1278
|
+
readonly name: "allowance";
|
|
1279
|
+
readonly outputs: readonly [{
|
|
1280
|
+
readonly internalType: "uint256";
|
|
1281
|
+
readonly name: "";
|
|
1282
|
+
readonly type: "uint256";
|
|
1283
|
+
}];
|
|
1284
|
+
readonly stateMutability: "view";
|
|
1285
|
+
readonly type: "function";
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly inputs: readonly [{
|
|
1288
|
+
readonly internalType: "address";
|
|
1289
|
+
readonly name: "";
|
|
1290
|
+
readonly type: "address";
|
|
1291
|
+
}];
|
|
1292
|
+
readonly name: "balanceOf";
|
|
1293
|
+
readonly outputs: readonly [{
|
|
1294
|
+
readonly internalType: "uint256";
|
|
1295
|
+
readonly name: "";
|
|
1296
|
+
readonly type: "uint256";
|
|
1297
|
+
}];
|
|
1298
|
+
readonly stateMutability: "view";
|
|
1299
|
+
readonly type: "function";
|
|
1300
|
+
}, {
|
|
1301
|
+
readonly inputs: readonly [];
|
|
1302
|
+
readonly name: "totalSupply";
|
|
1303
|
+
readonly outputs: readonly [{
|
|
1304
|
+
readonly internalType: "uint256";
|
|
1305
|
+
readonly name: "";
|
|
1306
|
+
readonly type: "uint256";
|
|
1307
|
+
}];
|
|
1308
|
+
readonly stateMutability: "view";
|
|
1309
|
+
readonly type: "function";
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly inputs: readonly [{
|
|
1312
|
+
readonly internalType: "address";
|
|
1313
|
+
readonly name: "spender";
|
|
1314
|
+
readonly type: "address";
|
|
1315
|
+
}, {
|
|
1316
|
+
readonly internalType: "uint256";
|
|
1317
|
+
readonly name: "amount";
|
|
1318
|
+
readonly type: "uint256";
|
|
1319
|
+
}];
|
|
1320
|
+
readonly name: "approve";
|
|
1321
|
+
readonly outputs: readonly [{
|
|
1322
|
+
readonly internalType: "bool";
|
|
1323
|
+
readonly name: "";
|
|
1324
|
+
readonly type: "bool";
|
|
1325
|
+
}];
|
|
1326
|
+
readonly stateMutability: "nonpayable";
|
|
1327
|
+
readonly type: "function";
|
|
1328
|
+
}, {
|
|
1329
|
+
readonly inputs: readonly [{
|
|
1330
|
+
readonly internalType: "address";
|
|
1331
|
+
readonly name: "to";
|
|
1332
|
+
readonly type: "address";
|
|
1333
|
+
}, {
|
|
1334
|
+
readonly internalType: "uint256";
|
|
1335
|
+
readonly name: "amount";
|
|
1336
|
+
readonly type: "uint256";
|
|
1337
|
+
}];
|
|
1338
|
+
readonly name: "transfer";
|
|
1339
|
+
readonly outputs: readonly [{
|
|
1340
|
+
readonly internalType: "bool";
|
|
1341
|
+
readonly name: "";
|
|
1342
|
+
readonly type: "bool";
|
|
1343
|
+
}];
|
|
1344
|
+
readonly stateMutability: "nonpayable";
|
|
1345
|
+
readonly type: "function";
|
|
1346
|
+
}, {
|
|
1347
|
+
readonly inputs: readonly [{
|
|
1348
|
+
readonly internalType: "address";
|
|
1349
|
+
readonly name: "from";
|
|
1350
|
+
readonly type: "address";
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly internalType: "address";
|
|
1353
|
+
readonly name: "to";
|
|
1354
|
+
readonly type: "address";
|
|
1355
|
+
}, {
|
|
1356
|
+
readonly internalType: "uint256";
|
|
1357
|
+
readonly name: "amount";
|
|
1358
|
+
readonly type: "uint256";
|
|
1359
|
+
}];
|
|
1360
|
+
readonly name: "transferFrom";
|
|
1361
|
+
readonly outputs: readonly [{
|
|
1362
|
+
readonly internalType: "bool";
|
|
1363
|
+
readonly name: "";
|
|
1364
|
+
readonly type: "bool";
|
|
1365
|
+
}];
|
|
1366
|
+
readonly stateMutability: "nonpayable";
|
|
1367
|
+
readonly type: "function";
|
|
1368
|
+
}, {
|
|
1369
|
+
readonly inputs: readonly [{
|
|
1370
|
+
readonly internalType: "address";
|
|
1371
|
+
readonly name: "owner";
|
|
1372
|
+
readonly type: "address";
|
|
1373
|
+
}, {
|
|
1374
|
+
readonly internalType: "address";
|
|
1375
|
+
readonly name: "spender";
|
|
1376
|
+
readonly type: "address";
|
|
1377
|
+
}, {
|
|
1378
|
+
readonly internalType: "uint256";
|
|
1379
|
+
readonly name: "value";
|
|
1380
|
+
readonly type: "uint256";
|
|
1381
|
+
}, {
|
|
1382
|
+
readonly internalType: "uint256";
|
|
1383
|
+
readonly name: "deadline";
|
|
1384
|
+
readonly type: "uint256";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly internalType: "uint8";
|
|
1387
|
+
readonly name: "v";
|
|
1388
|
+
readonly type: "uint8";
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly internalType: "bytes32";
|
|
1391
|
+
readonly name: "r";
|
|
1392
|
+
readonly type: "bytes32";
|
|
1393
|
+
}, {
|
|
1394
|
+
readonly internalType: "bytes32";
|
|
1395
|
+
readonly name: "s";
|
|
1396
|
+
readonly type: "bytes32";
|
|
1397
|
+
}];
|
|
1398
|
+
readonly name: "permit";
|
|
1399
|
+
readonly outputs: readonly [];
|
|
1400
|
+
readonly stateMutability: "nonpayable";
|
|
1401
|
+
readonly type: "function";
|
|
1402
|
+
}], "transfer", readonly [`0x${string}`, bigint], ViemChain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
1403
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
1404
|
+
readonly inputs: readonly [{
|
|
1405
|
+
readonly internalType: "address";
|
|
1406
|
+
readonly name: "";
|
|
1407
|
+
readonly type: "address";
|
|
1408
|
+
}, {
|
|
1409
|
+
readonly internalType: "address";
|
|
1410
|
+
readonly name: "";
|
|
1411
|
+
readonly type: "address";
|
|
1412
|
+
}];
|
|
1413
|
+
readonly name: "allowance";
|
|
1414
|
+
readonly outputs: readonly [{
|
|
1415
|
+
readonly internalType: "uint256";
|
|
1416
|
+
readonly name: "";
|
|
1417
|
+
readonly type: "uint256";
|
|
1418
|
+
}];
|
|
1419
|
+
readonly stateMutability: "view";
|
|
1420
|
+
readonly type: "function";
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly inputs: readonly [{
|
|
1423
|
+
readonly internalType: "address";
|
|
1424
|
+
readonly name: "";
|
|
1425
|
+
readonly type: "address";
|
|
1426
|
+
}];
|
|
1427
|
+
readonly name: "balanceOf";
|
|
1428
|
+
readonly outputs: readonly [{
|
|
1429
|
+
readonly internalType: "uint256";
|
|
1430
|
+
readonly name: "";
|
|
1431
|
+
readonly type: "uint256";
|
|
1432
|
+
}];
|
|
1433
|
+
readonly stateMutability: "view";
|
|
1434
|
+
readonly type: "function";
|
|
1435
|
+
}, {
|
|
1436
|
+
readonly inputs: readonly [];
|
|
1437
|
+
readonly name: "totalSupply";
|
|
1438
|
+
readonly outputs: readonly [{
|
|
1439
|
+
readonly internalType: "uint256";
|
|
1440
|
+
readonly name: "";
|
|
1441
|
+
readonly type: "uint256";
|
|
1442
|
+
}];
|
|
1443
|
+
readonly stateMutability: "view";
|
|
1444
|
+
readonly type: "function";
|
|
1445
|
+
}, {
|
|
1446
|
+
readonly inputs: readonly [{
|
|
1447
|
+
readonly internalType: "address";
|
|
1448
|
+
readonly name: "spender";
|
|
1449
|
+
readonly type: "address";
|
|
1450
|
+
}, {
|
|
1451
|
+
readonly internalType: "uint256";
|
|
1452
|
+
readonly name: "amount";
|
|
1453
|
+
readonly type: "uint256";
|
|
1454
|
+
}];
|
|
1455
|
+
readonly name: "approve";
|
|
1456
|
+
readonly outputs: readonly [{
|
|
1457
|
+
readonly internalType: "bool";
|
|
1458
|
+
readonly name: "";
|
|
1459
|
+
readonly type: "bool";
|
|
1460
|
+
}];
|
|
1461
|
+
readonly stateMutability: "nonpayable";
|
|
1462
|
+
readonly type: "function";
|
|
1463
|
+
}, {
|
|
1464
|
+
readonly inputs: readonly [{
|
|
1465
|
+
readonly internalType: "address";
|
|
1466
|
+
readonly name: "to";
|
|
1467
|
+
readonly type: "address";
|
|
1468
|
+
}, {
|
|
1469
|
+
readonly internalType: "uint256";
|
|
1470
|
+
readonly name: "amount";
|
|
1471
|
+
readonly type: "uint256";
|
|
1472
|
+
}];
|
|
1473
|
+
readonly name: "transfer";
|
|
1474
|
+
readonly outputs: readonly [{
|
|
1475
|
+
readonly internalType: "bool";
|
|
1476
|
+
readonly name: "";
|
|
1477
|
+
readonly type: "bool";
|
|
1478
|
+
}];
|
|
1479
|
+
readonly stateMutability: "nonpayable";
|
|
1480
|
+
readonly type: "function";
|
|
1481
|
+
}, {
|
|
1482
|
+
readonly inputs: readonly [{
|
|
1483
|
+
readonly internalType: "address";
|
|
1484
|
+
readonly name: "from";
|
|
1485
|
+
readonly type: "address";
|
|
1486
|
+
}, {
|
|
1487
|
+
readonly internalType: "address";
|
|
1488
|
+
readonly name: "to";
|
|
1489
|
+
readonly type: "address";
|
|
1490
|
+
}, {
|
|
1491
|
+
readonly internalType: "uint256";
|
|
1492
|
+
readonly name: "amount";
|
|
1493
|
+
readonly type: "uint256";
|
|
1494
|
+
}];
|
|
1495
|
+
readonly name: "transferFrom";
|
|
1496
|
+
readonly outputs: readonly [{
|
|
1497
|
+
readonly internalType: "bool";
|
|
1498
|
+
readonly name: "";
|
|
1499
|
+
readonly type: "bool";
|
|
1500
|
+
}];
|
|
1501
|
+
readonly stateMutability: "nonpayable";
|
|
1502
|
+
readonly type: "function";
|
|
1503
|
+
}, {
|
|
1504
|
+
readonly inputs: readonly [{
|
|
1505
|
+
readonly internalType: "address";
|
|
1506
|
+
readonly name: "owner";
|
|
1507
|
+
readonly type: "address";
|
|
1508
|
+
}, {
|
|
1509
|
+
readonly internalType: "address";
|
|
1510
|
+
readonly name: "spender";
|
|
1511
|
+
readonly type: "address";
|
|
1512
|
+
}, {
|
|
1513
|
+
readonly internalType: "uint256";
|
|
1514
|
+
readonly name: "value";
|
|
1515
|
+
readonly type: "uint256";
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly internalType: "uint256";
|
|
1518
|
+
readonly name: "deadline";
|
|
1519
|
+
readonly type: "uint256";
|
|
1520
|
+
}, {
|
|
1521
|
+
readonly internalType: "uint8";
|
|
1522
|
+
readonly name: "v";
|
|
1523
|
+
readonly type: "uint8";
|
|
1524
|
+
}, {
|
|
1525
|
+
readonly internalType: "bytes32";
|
|
1526
|
+
readonly name: "r";
|
|
1527
|
+
readonly type: "bytes32";
|
|
1528
|
+
}, {
|
|
1529
|
+
readonly internalType: "bytes32";
|
|
1530
|
+
readonly name: "s";
|
|
1531
|
+
readonly type: "bytes32";
|
|
1532
|
+
}];
|
|
1533
|
+
readonly name: "permit";
|
|
1534
|
+
readonly outputs: readonly [];
|
|
1535
|
+
readonly stateMutability: "nonpayable";
|
|
1536
|
+
readonly type: "function";
|
|
1537
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], ViemChain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
1538
|
+
};
|
|
1539
|
+
simulate: {
|
|
1540
|
+
approve: <chainOverride extends ViemChain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
1541
|
+
readonly inputs: readonly [{
|
|
1542
|
+
readonly internalType: "address";
|
|
1543
|
+
readonly name: "";
|
|
1544
|
+
readonly type: "address";
|
|
1545
|
+
}, {
|
|
1546
|
+
readonly internalType: "address";
|
|
1547
|
+
readonly name: "";
|
|
1548
|
+
readonly type: "address";
|
|
1549
|
+
}];
|
|
1550
|
+
readonly name: "allowance";
|
|
1551
|
+
readonly outputs: readonly [{
|
|
1552
|
+
readonly internalType: "uint256";
|
|
1553
|
+
readonly name: "";
|
|
1554
|
+
readonly type: "uint256";
|
|
1555
|
+
}];
|
|
1556
|
+
readonly stateMutability: "view";
|
|
1557
|
+
readonly type: "function";
|
|
1558
|
+
}, {
|
|
1559
|
+
readonly inputs: readonly [{
|
|
1560
|
+
readonly internalType: "address";
|
|
1561
|
+
readonly name: "";
|
|
1562
|
+
readonly type: "address";
|
|
1563
|
+
}];
|
|
1564
|
+
readonly name: "balanceOf";
|
|
1565
|
+
readonly outputs: readonly [{
|
|
1566
|
+
readonly internalType: "uint256";
|
|
1567
|
+
readonly name: "";
|
|
1568
|
+
readonly type: "uint256";
|
|
1569
|
+
}];
|
|
1570
|
+
readonly stateMutability: "view";
|
|
1571
|
+
readonly type: "function";
|
|
1572
|
+
}, {
|
|
1573
|
+
readonly inputs: readonly [];
|
|
1574
|
+
readonly name: "totalSupply";
|
|
1575
|
+
readonly outputs: readonly [{
|
|
1576
|
+
readonly internalType: "uint256";
|
|
1577
|
+
readonly name: "";
|
|
1578
|
+
readonly type: "uint256";
|
|
1579
|
+
}];
|
|
1580
|
+
readonly stateMutability: "view";
|
|
1581
|
+
readonly type: "function";
|
|
1582
|
+
}, {
|
|
1583
|
+
readonly inputs: readonly [{
|
|
1584
|
+
readonly internalType: "address";
|
|
1585
|
+
readonly name: "spender";
|
|
1586
|
+
readonly type: "address";
|
|
1587
|
+
}, {
|
|
1588
|
+
readonly internalType: "uint256";
|
|
1589
|
+
readonly name: "amount";
|
|
1590
|
+
readonly type: "uint256";
|
|
1591
|
+
}];
|
|
1592
|
+
readonly name: "approve";
|
|
1593
|
+
readonly outputs: readonly [{
|
|
1594
|
+
readonly internalType: "bool";
|
|
1595
|
+
readonly name: "";
|
|
1596
|
+
readonly type: "bool";
|
|
1597
|
+
}];
|
|
1598
|
+
readonly stateMutability: "nonpayable";
|
|
1599
|
+
readonly type: "function";
|
|
1600
|
+
}, {
|
|
1601
|
+
readonly inputs: readonly [{
|
|
1602
|
+
readonly internalType: "address";
|
|
1603
|
+
readonly name: "to";
|
|
1604
|
+
readonly type: "address";
|
|
1605
|
+
}, {
|
|
1606
|
+
readonly internalType: "uint256";
|
|
1607
|
+
readonly name: "amount";
|
|
1608
|
+
readonly type: "uint256";
|
|
1609
|
+
}];
|
|
1610
|
+
readonly name: "transfer";
|
|
1611
|
+
readonly outputs: readonly [{
|
|
1612
|
+
readonly internalType: "bool";
|
|
1613
|
+
readonly name: "";
|
|
1614
|
+
readonly type: "bool";
|
|
1615
|
+
}];
|
|
1616
|
+
readonly stateMutability: "nonpayable";
|
|
1617
|
+
readonly type: "function";
|
|
1618
|
+
}, {
|
|
1619
|
+
readonly inputs: readonly [{
|
|
1620
|
+
readonly internalType: "address";
|
|
1621
|
+
readonly name: "from";
|
|
1622
|
+
readonly type: "address";
|
|
1623
|
+
}, {
|
|
1624
|
+
readonly internalType: "address";
|
|
1625
|
+
readonly name: "to";
|
|
1626
|
+
readonly type: "address";
|
|
1627
|
+
}, {
|
|
1628
|
+
readonly internalType: "uint256";
|
|
1629
|
+
readonly name: "amount";
|
|
1630
|
+
readonly type: "uint256";
|
|
1631
|
+
}];
|
|
1632
|
+
readonly name: "transferFrom";
|
|
1633
|
+
readonly outputs: readonly [{
|
|
1634
|
+
readonly internalType: "bool";
|
|
1635
|
+
readonly name: "";
|
|
1636
|
+
readonly type: "bool";
|
|
1637
|
+
}];
|
|
1638
|
+
readonly stateMutability: "nonpayable";
|
|
1639
|
+
readonly type: "function";
|
|
1640
|
+
}, {
|
|
1641
|
+
readonly inputs: readonly [{
|
|
1642
|
+
readonly internalType: "address";
|
|
1643
|
+
readonly name: "owner";
|
|
1644
|
+
readonly type: "address";
|
|
1645
|
+
}, {
|
|
1646
|
+
readonly internalType: "address";
|
|
1647
|
+
readonly name: "spender";
|
|
1648
|
+
readonly type: "address";
|
|
1649
|
+
}, {
|
|
1650
|
+
readonly internalType: "uint256";
|
|
1651
|
+
readonly name: "value";
|
|
1652
|
+
readonly type: "uint256";
|
|
1653
|
+
}, {
|
|
1654
|
+
readonly internalType: "uint256";
|
|
1655
|
+
readonly name: "deadline";
|
|
1656
|
+
readonly type: "uint256";
|
|
1657
|
+
}, {
|
|
1658
|
+
readonly internalType: "uint8";
|
|
1659
|
+
readonly name: "v";
|
|
1660
|
+
readonly type: "uint8";
|
|
1661
|
+
}, {
|
|
1662
|
+
readonly internalType: "bytes32";
|
|
1663
|
+
readonly name: "r";
|
|
1664
|
+
readonly type: "bytes32";
|
|
1665
|
+
}, {
|
|
1666
|
+
readonly internalType: "bytes32";
|
|
1667
|
+
readonly name: "s";
|
|
1668
|
+
readonly type: "bytes32";
|
|
1669
|
+
}];
|
|
1670
|
+
readonly name: "permit";
|
|
1671
|
+
readonly outputs: readonly [];
|
|
1672
|
+
readonly stateMutability: "nonpayable";
|
|
1673
|
+
readonly type: "function";
|
|
1674
|
+
}], "approve", readonly [`0x${string}`, bigint], ViemChain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
1675
|
+
readonly inputs: readonly [{
|
|
1676
|
+
readonly internalType: "address";
|
|
1677
|
+
readonly name: "";
|
|
1678
|
+
readonly type: "address";
|
|
1679
|
+
}, {
|
|
1680
|
+
readonly internalType: "address";
|
|
1681
|
+
readonly name: "";
|
|
1682
|
+
readonly type: "address";
|
|
1683
|
+
}];
|
|
1684
|
+
readonly name: "allowance";
|
|
1685
|
+
readonly outputs: readonly [{
|
|
1686
|
+
readonly internalType: "uint256";
|
|
1687
|
+
readonly name: "";
|
|
1688
|
+
readonly type: "uint256";
|
|
1689
|
+
}];
|
|
1690
|
+
readonly stateMutability: "view";
|
|
1691
|
+
readonly type: "function";
|
|
1692
|
+
}, {
|
|
1693
|
+
readonly inputs: readonly [{
|
|
1694
|
+
readonly internalType: "address";
|
|
1695
|
+
readonly name: "";
|
|
1696
|
+
readonly type: "address";
|
|
1697
|
+
}];
|
|
1698
|
+
readonly name: "balanceOf";
|
|
1699
|
+
readonly outputs: readonly [{
|
|
1700
|
+
readonly internalType: "uint256";
|
|
1701
|
+
readonly name: "";
|
|
1702
|
+
readonly type: "uint256";
|
|
1703
|
+
}];
|
|
1704
|
+
readonly stateMutability: "view";
|
|
1705
|
+
readonly type: "function";
|
|
1706
|
+
}, {
|
|
1707
|
+
readonly inputs: readonly [];
|
|
1708
|
+
readonly name: "totalSupply";
|
|
1709
|
+
readonly outputs: readonly [{
|
|
1710
|
+
readonly internalType: "uint256";
|
|
1711
|
+
readonly name: "";
|
|
1712
|
+
readonly type: "uint256";
|
|
1713
|
+
}];
|
|
1714
|
+
readonly stateMutability: "view";
|
|
1715
|
+
readonly type: "function";
|
|
1716
|
+
}, {
|
|
1717
|
+
readonly inputs: readonly [{
|
|
1718
|
+
readonly internalType: "address";
|
|
1719
|
+
readonly name: "spender";
|
|
1720
|
+
readonly type: "address";
|
|
1721
|
+
}, {
|
|
1722
|
+
readonly internalType: "uint256";
|
|
1723
|
+
readonly name: "amount";
|
|
1724
|
+
readonly type: "uint256";
|
|
1725
|
+
}];
|
|
1726
|
+
readonly name: "approve";
|
|
1727
|
+
readonly outputs: readonly [{
|
|
1728
|
+
readonly internalType: "bool";
|
|
1729
|
+
readonly name: "";
|
|
1730
|
+
readonly type: "bool";
|
|
1731
|
+
}];
|
|
1732
|
+
readonly stateMutability: "nonpayable";
|
|
1733
|
+
readonly type: "function";
|
|
1734
|
+
}, {
|
|
1735
|
+
readonly inputs: readonly [{
|
|
1736
|
+
readonly internalType: "address";
|
|
1737
|
+
readonly name: "to";
|
|
1738
|
+
readonly type: "address";
|
|
1739
|
+
}, {
|
|
1740
|
+
readonly internalType: "uint256";
|
|
1741
|
+
readonly name: "amount";
|
|
1742
|
+
readonly type: "uint256";
|
|
1743
|
+
}];
|
|
1744
|
+
readonly name: "transfer";
|
|
1745
|
+
readonly outputs: readonly [{
|
|
1746
|
+
readonly internalType: "bool";
|
|
1747
|
+
readonly name: "";
|
|
1748
|
+
readonly type: "bool";
|
|
1749
|
+
}];
|
|
1750
|
+
readonly stateMutability: "nonpayable";
|
|
1751
|
+
readonly type: "function";
|
|
1752
|
+
}, {
|
|
1753
|
+
readonly inputs: readonly [{
|
|
1754
|
+
readonly internalType: "address";
|
|
1755
|
+
readonly name: "from";
|
|
1756
|
+
readonly type: "address";
|
|
1757
|
+
}, {
|
|
1758
|
+
readonly internalType: "address";
|
|
1759
|
+
readonly name: "to";
|
|
1760
|
+
readonly type: "address";
|
|
1761
|
+
}, {
|
|
1762
|
+
readonly internalType: "uint256";
|
|
1763
|
+
readonly name: "amount";
|
|
1764
|
+
readonly type: "uint256";
|
|
1765
|
+
}];
|
|
1766
|
+
readonly name: "transferFrom";
|
|
1767
|
+
readonly outputs: readonly [{
|
|
1768
|
+
readonly internalType: "bool";
|
|
1769
|
+
readonly name: "";
|
|
1770
|
+
readonly type: "bool";
|
|
1771
|
+
}];
|
|
1772
|
+
readonly stateMutability: "nonpayable";
|
|
1773
|
+
readonly type: "function";
|
|
1774
|
+
}, {
|
|
1775
|
+
readonly inputs: readonly [{
|
|
1776
|
+
readonly internalType: "address";
|
|
1777
|
+
readonly name: "owner";
|
|
1778
|
+
readonly type: "address";
|
|
1779
|
+
}, {
|
|
1780
|
+
readonly internalType: "address";
|
|
1781
|
+
readonly name: "spender";
|
|
1782
|
+
readonly type: "address";
|
|
1783
|
+
}, {
|
|
1784
|
+
readonly internalType: "uint256";
|
|
1785
|
+
readonly name: "value";
|
|
1786
|
+
readonly type: "uint256";
|
|
1787
|
+
}, {
|
|
1788
|
+
readonly internalType: "uint256";
|
|
1789
|
+
readonly name: "deadline";
|
|
1790
|
+
readonly type: "uint256";
|
|
1791
|
+
}, {
|
|
1792
|
+
readonly internalType: "uint8";
|
|
1793
|
+
readonly name: "v";
|
|
1794
|
+
readonly type: "uint8";
|
|
1795
|
+
}, {
|
|
1796
|
+
readonly internalType: "bytes32";
|
|
1797
|
+
readonly name: "r";
|
|
1798
|
+
readonly type: "bytes32";
|
|
1799
|
+
}, {
|
|
1800
|
+
readonly internalType: "bytes32";
|
|
1801
|
+
readonly name: "s";
|
|
1802
|
+
readonly type: "bytes32";
|
|
1803
|
+
}];
|
|
1804
|
+
readonly name: "permit";
|
|
1805
|
+
readonly outputs: readonly [];
|
|
1806
|
+
readonly stateMutability: "nonpayable";
|
|
1807
|
+
readonly type: "function";
|
|
1808
|
+
}], "approve", readonly [`0x${string}`, bigint], ViemChain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
1809
|
+
permit: <chainOverride extends ViemChain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
1810
|
+
readonly inputs: readonly [{
|
|
1811
|
+
readonly internalType: "address";
|
|
1812
|
+
readonly name: "";
|
|
1813
|
+
readonly type: "address";
|
|
1814
|
+
}, {
|
|
1815
|
+
readonly internalType: "address";
|
|
1816
|
+
readonly name: "";
|
|
1817
|
+
readonly type: "address";
|
|
1818
|
+
}];
|
|
1819
|
+
readonly name: "allowance";
|
|
1820
|
+
readonly outputs: readonly [{
|
|
1821
|
+
readonly internalType: "uint256";
|
|
1822
|
+
readonly name: "";
|
|
1823
|
+
readonly type: "uint256";
|
|
1824
|
+
}];
|
|
1825
|
+
readonly stateMutability: "view";
|
|
1826
|
+
readonly type: "function";
|
|
1827
|
+
}, {
|
|
1828
|
+
readonly inputs: readonly [{
|
|
1829
|
+
readonly internalType: "address";
|
|
1830
|
+
readonly name: "";
|
|
1831
|
+
readonly type: "address";
|
|
1832
|
+
}];
|
|
1833
|
+
readonly name: "balanceOf";
|
|
1834
|
+
readonly outputs: readonly [{
|
|
1835
|
+
readonly internalType: "uint256";
|
|
1836
|
+
readonly name: "";
|
|
1837
|
+
readonly type: "uint256";
|
|
1838
|
+
}];
|
|
1839
|
+
readonly stateMutability: "view";
|
|
1840
|
+
readonly type: "function";
|
|
1841
|
+
}, {
|
|
1842
|
+
readonly inputs: readonly [];
|
|
1843
|
+
readonly name: "totalSupply";
|
|
1844
|
+
readonly outputs: readonly [{
|
|
1845
|
+
readonly internalType: "uint256";
|
|
1846
|
+
readonly name: "";
|
|
1847
|
+
readonly type: "uint256";
|
|
1848
|
+
}];
|
|
1849
|
+
readonly stateMutability: "view";
|
|
1850
|
+
readonly type: "function";
|
|
1851
|
+
}, {
|
|
1852
|
+
readonly inputs: readonly [{
|
|
1853
|
+
readonly internalType: "address";
|
|
1854
|
+
readonly name: "spender";
|
|
1855
|
+
readonly type: "address";
|
|
1856
|
+
}, {
|
|
1857
|
+
readonly internalType: "uint256";
|
|
1858
|
+
readonly name: "amount";
|
|
1859
|
+
readonly type: "uint256";
|
|
1860
|
+
}];
|
|
1861
|
+
readonly name: "approve";
|
|
1862
|
+
readonly outputs: readonly [{
|
|
1863
|
+
readonly internalType: "bool";
|
|
1864
|
+
readonly name: "";
|
|
1865
|
+
readonly type: "bool";
|
|
1866
|
+
}];
|
|
1867
|
+
readonly stateMutability: "nonpayable";
|
|
1868
|
+
readonly type: "function";
|
|
1869
|
+
}, {
|
|
1870
|
+
readonly inputs: readonly [{
|
|
1871
|
+
readonly internalType: "address";
|
|
1872
|
+
readonly name: "to";
|
|
1873
|
+
readonly type: "address";
|
|
1874
|
+
}, {
|
|
1875
|
+
readonly internalType: "uint256";
|
|
1876
|
+
readonly name: "amount";
|
|
1877
|
+
readonly type: "uint256";
|
|
1878
|
+
}];
|
|
1879
|
+
readonly name: "transfer";
|
|
1880
|
+
readonly outputs: readonly [{
|
|
1881
|
+
readonly internalType: "bool";
|
|
1882
|
+
readonly name: "";
|
|
1883
|
+
readonly type: "bool";
|
|
1884
|
+
}];
|
|
1885
|
+
readonly stateMutability: "nonpayable";
|
|
1886
|
+
readonly type: "function";
|
|
1887
|
+
}, {
|
|
1888
|
+
readonly inputs: readonly [{
|
|
1889
|
+
readonly internalType: "address";
|
|
1890
|
+
readonly name: "from";
|
|
1891
|
+
readonly type: "address";
|
|
1892
|
+
}, {
|
|
1893
|
+
readonly internalType: "address";
|
|
1894
|
+
readonly name: "to";
|
|
1895
|
+
readonly type: "address";
|
|
1896
|
+
}, {
|
|
1897
|
+
readonly internalType: "uint256";
|
|
1898
|
+
readonly name: "amount";
|
|
1899
|
+
readonly type: "uint256";
|
|
1900
|
+
}];
|
|
1901
|
+
readonly name: "transferFrom";
|
|
1902
|
+
readonly outputs: readonly [{
|
|
1903
|
+
readonly internalType: "bool";
|
|
1904
|
+
readonly name: "";
|
|
1905
|
+
readonly type: "bool";
|
|
1906
|
+
}];
|
|
1907
|
+
readonly stateMutability: "nonpayable";
|
|
1908
|
+
readonly type: "function";
|
|
1909
|
+
}, {
|
|
1910
|
+
readonly inputs: readonly [{
|
|
1911
|
+
readonly internalType: "address";
|
|
1912
|
+
readonly name: "owner";
|
|
1913
|
+
readonly type: "address";
|
|
1914
|
+
}, {
|
|
1915
|
+
readonly internalType: "address";
|
|
1916
|
+
readonly name: "spender";
|
|
1917
|
+
readonly type: "address";
|
|
1918
|
+
}, {
|
|
1919
|
+
readonly internalType: "uint256";
|
|
1920
|
+
readonly name: "value";
|
|
1921
|
+
readonly type: "uint256";
|
|
1922
|
+
}, {
|
|
1923
|
+
readonly internalType: "uint256";
|
|
1924
|
+
readonly name: "deadline";
|
|
1925
|
+
readonly type: "uint256";
|
|
1926
|
+
}, {
|
|
1927
|
+
readonly internalType: "uint8";
|
|
1928
|
+
readonly name: "v";
|
|
1929
|
+
readonly type: "uint8";
|
|
1930
|
+
}, {
|
|
1931
|
+
readonly internalType: "bytes32";
|
|
1932
|
+
readonly name: "r";
|
|
1933
|
+
readonly type: "bytes32";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly internalType: "bytes32";
|
|
1936
|
+
readonly name: "s";
|
|
1937
|
+
readonly type: "bytes32";
|
|
1938
|
+
}];
|
|
1939
|
+
readonly name: "permit";
|
|
1940
|
+
readonly outputs: readonly [];
|
|
1941
|
+
readonly stateMutability: "nonpayable";
|
|
1942
|
+
readonly type: "function";
|
|
1943
|
+
}], "permit", readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], ViemChain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
1944
|
+
readonly inputs: readonly [{
|
|
1945
|
+
readonly internalType: "address";
|
|
1946
|
+
readonly name: "";
|
|
1947
|
+
readonly type: "address";
|
|
1948
|
+
}, {
|
|
1949
|
+
readonly internalType: "address";
|
|
1950
|
+
readonly name: "";
|
|
1951
|
+
readonly type: "address";
|
|
1952
|
+
}];
|
|
1953
|
+
readonly name: "allowance";
|
|
1954
|
+
readonly outputs: readonly [{
|
|
1955
|
+
readonly internalType: "uint256";
|
|
1956
|
+
readonly name: "";
|
|
1957
|
+
readonly type: "uint256";
|
|
1958
|
+
}];
|
|
1959
|
+
readonly stateMutability: "view";
|
|
1960
|
+
readonly type: "function";
|
|
1961
|
+
}, {
|
|
1962
|
+
readonly inputs: readonly [{
|
|
1963
|
+
readonly internalType: "address";
|
|
1964
|
+
readonly name: "";
|
|
1965
|
+
readonly type: "address";
|
|
1966
|
+
}];
|
|
1967
|
+
readonly name: "balanceOf";
|
|
1968
|
+
readonly outputs: readonly [{
|
|
1969
|
+
readonly internalType: "uint256";
|
|
1970
|
+
readonly name: "";
|
|
1971
|
+
readonly type: "uint256";
|
|
1972
|
+
}];
|
|
1973
|
+
readonly stateMutability: "view";
|
|
1974
|
+
readonly type: "function";
|
|
1975
|
+
}, {
|
|
1976
|
+
readonly inputs: readonly [];
|
|
1977
|
+
readonly name: "totalSupply";
|
|
1978
|
+
readonly outputs: readonly [{
|
|
1979
|
+
readonly internalType: "uint256";
|
|
1980
|
+
readonly name: "";
|
|
1981
|
+
readonly type: "uint256";
|
|
1982
|
+
}];
|
|
1983
|
+
readonly stateMutability: "view";
|
|
1984
|
+
readonly type: "function";
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly inputs: readonly [{
|
|
1987
|
+
readonly internalType: "address";
|
|
1988
|
+
readonly name: "spender";
|
|
1989
|
+
readonly type: "address";
|
|
1990
|
+
}, {
|
|
1991
|
+
readonly internalType: "uint256";
|
|
1992
|
+
readonly name: "amount";
|
|
1993
|
+
readonly type: "uint256";
|
|
1994
|
+
}];
|
|
1995
|
+
readonly name: "approve";
|
|
1996
|
+
readonly outputs: readonly [{
|
|
1997
|
+
readonly internalType: "bool";
|
|
1998
|
+
readonly name: "";
|
|
1999
|
+
readonly type: "bool";
|
|
2000
|
+
}];
|
|
2001
|
+
readonly stateMutability: "nonpayable";
|
|
2002
|
+
readonly type: "function";
|
|
2003
|
+
}, {
|
|
2004
|
+
readonly inputs: readonly [{
|
|
2005
|
+
readonly internalType: "address";
|
|
2006
|
+
readonly name: "to";
|
|
2007
|
+
readonly type: "address";
|
|
2008
|
+
}, {
|
|
2009
|
+
readonly internalType: "uint256";
|
|
2010
|
+
readonly name: "amount";
|
|
2011
|
+
readonly type: "uint256";
|
|
2012
|
+
}];
|
|
2013
|
+
readonly name: "transfer";
|
|
2014
|
+
readonly outputs: readonly [{
|
|
2015
|
+
readonly internalType: "bool";
|
|
2016
|
+
readonly name: "";
|
|
2017
|
+
readonly type: "bool";
|
|
2018
|
+
}];
|
|
2019
|
+
readonly stateMutability: "nonpayable";
|
|
2020
|
+
readonly type: "function";
|
|
2021
|
+
}, {
|
|
2022
|
+
readonly inputs: readonly [{
|
|
2023
|
+
readonly internalType: "address";
|
|
2024
|
+
readonly name: "from";
|
|
2025
|
+
readonly type: "address";
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly internalType: "address";
|
|
2028
|
+
readonly name: "to";
|
|
2029
|
+
readonly type: "address";
|
|
2030
|
+
}, {
|
|
2031
|
+
readonly internalType: "uint256";
|
|
2032
|
+
readonly name: "amount";
|
|
2033
|
+
readonly type: "uint256";
|
|
2034
|
+
}];
|
|
2035
|
+
readonly name: "transferFrom";
|
|
2036
|
+
readonly outputs: readonly [{
|
|
2037
|
+
readonly internalType: "bool";
|
|
2038
|
+
readonly name: "";
|
|
2039
|
+
readonly type: "bool";
|
|
2040
|
+
}];
|
|
2041
|
+
readonly stateMutability: "nonpayable";
|
|
2042
|
+
readonly type: "function";
|
|
2043
|
+
}, {
|
|
2044
|
+
readonly inputs: readonly [{
|
|
2045
|
+
readonly internalType: "address";
|
|
2046
|
+
readonly name: "owner";
|
|
2047
|
+
readonly type: "address";
|
|
2048
|
+
}, {
|
|
2049
|
+
readonly internalType: "address";
|
|
2050
|
+
readonly name: "spender";
|
|
2051
|
+
readonly type: "address";
|
|
2052
|
+
}, {
|
|
2053
|
+
readonly internalType: "uint256";
|
|
2054
|
+
readonly name: "value";
|
|
2055
|
+
readonly type: "uint256";
|
|
2056
|
+
}, {
|
|
2057
|
+
readonly internalType: "uint256";
|
|
2058
|
+
readonly name: "deadline";
|
|
2059
|
+
readonly type: "uint256";
|
|
2060
|
+
}, {
|
|
2061
|
+
readonly internalType: "uint8";
|
|
2062
|
+
readonly name: "v";
|
|
2063
|
+
readonly type: "uint8";
|
|
2064
|
+
}, {
|
|
2065
|
+
readonly internalType: "bytes32";
|
|
2066
|
+
readonly name: "r";
|
|
2067
|
+
readonly type: "bytes32";
|
|
2068
|
+
}, {
|
|
2069
|
+
readonly internalType: "bytes32";
|
|
2070
|
+
readonly name: "s";
|
|
2071
|
+
readonly type: "bytes32";
|
|
2072
|
+
}];
|
|
2073
|
+
readonly name: "permit";
|
|
2074
|
+
readonly outputs: readonly [];
|
|
2075
|
+
readonly stateMutability: "nonpayable";
|
|
2076
|
+
readonly type: "function";
|
|
2077
|
+
}], "permit", readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], ViemChain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
2078
|
+
transfer: <chainOverride extends ViemChain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
2079
|
+
readonly inputs: readonly [{
|
|
2080
|
+
readonly internalType: "address";
|
|
2081
|
+
readonly name: "";
|
|
2082
|
+
readonly type: "address";
|
|
2083
|
+
}, {
|
|
2084
|
+
readonly internalType: "address";
|
|
2085
|
+
readonly name: "";
|
|
2086
|
+
readonly type: "address";
|
|
2087
|
+
}];
|
|
2088
|
+
readonly name: "allowance";
|
|
2089
|
+
readonly outputs: readonly [{
|
|
2090
|
+
readonly internalType: "uint256";
|
|
2091
|
+
readonly name: "";
|
|
2092
|
+
readonly type: "uint256";
|
|
2093
|
+
}];
|
|
2094
|
+
readonly stateMutability: "view";
|
|
2095
|
+
readonly type: "function";
|
|
2096
|
+
}, {
|
|
2097
|
+
readonly inputs: readonly [{
|
|
2098
|
+
readonly internalType: "address";
|
|
2099
|
+
readonly name: "";
|
|
2100
|
+
readonly type: "address";
|
|
2101
|
+
}];
|
|
2102
|
+
readonly name: "balanceOf";
|
|
2103
|
+
readonly outputs: readonly [{
|
|
2104
|
+
readonly internalType: "uint256";
|
|
2105
|
+
readonly name: "";
|
|
2106
|
+
readonly type: "uint256";
|
|
2107
|
+
}];
|
|
2108
|
+
readonly stateMutability: "view";
|
|
2109
|
+
readonly type: "function";
|
|
2110
|
+
}, {
|
|
2111
|
+
readonly inputs: readonly [];
|
|
2112
|
+
readonly name: "totalSupply";
|
|
2113
|
+
readonly outputs: readonly [{
|
|
2114
|
+
readonly internalType: "uint256";
|
|
2115
|
+
readonly name: "";
|
|
2116
|
+
readonly type: "uint256";
|
|
2117
|
+
}];
|
|
2118
|
+
readonly stateMutability: "view";
|
|
2119
|
+
readonly type: "function";
|
|
2120
|
+
}, {
|
|
2121
|
+
readonly inputs: readonly [{
|
|
2122
|
+
readonly internalType: "address";
|
|
2123
|
+
readonly name: "spender";
|
|
2124
|
+
readonly type: "address";
|
|
2125
|
+
}, {
|
|
2126
|
+
readonly internalType: "uint256";
|
|
2127
|
+
readonly name: "amount";
|
|
2128
|
+
readonly type: "uint256";
|
|
2129
|
+
}];
|
|
2130
|
+
readonly name: "approve";
|
|
2131
|
+
readonly outputs: readonly [{
|
|
2132
|
+
readonly internalType: "bool";
|
|
2133
|
+
readonly name: "";
|
|
2134
|
+
readonly type: "bool";
|
|
2135
|
+
}];
|
|
2136
|
+
readonly stateMutability: "nonpayable";
|
|
2137
|
+
readonly type: "function";
|
|
2138
|
+
}, {
|
|
2139
|
+
readonly inputs: readonly [{
|
|
2140
|
+
readonly internalType: "address";
|
|
2141
|
+
readonly name: "to";
|
|
2142
|
+
readonly type: "address";
|
|
2143
|
+
}, {
|
|
2144
|
+
readonly internalType: "uint256";
|
|
2145
|
+
readonly name: "amount";
|
|
2146
|
+
readonly type: "uint256";
|
|
2147
|
+
}];
|
|
2148
|
+
readonly name: "transfer";
|
|
2149
|
+
readonly outputs: readonly [{
|
|
2150
|
+
readonly internalType: "bool";
|
|
2151
|
+
readonly name: "";
|
|
2152
|
+
readonly type: "bool";
|
|
2153
|
+
}];
|
|
2154
|
+
readonly stateMutability: "nonpayable";
|
|
2155
|
+
readonly type: "function";
|
|
2156
|
+
}, {
|
|
2157
|
+
readonly inputs: readonly [{
|
|
2158
|
+
readonly internalType: "address";
|
|
2159
|
+
readonly name: "from";
|
|
2160
|
+
readonly type: "address";
|
|
2161
|
+
}, {
|
|
2162
|
+
readonly internalType: "address";
|
|
2163
|
+
readonly name: "to";
|
|
2164
|
+
readonly type: "address";
|
|
2165
|
+
}, {
|
|
2166
|
+
readonly internalType: "uint256";
|
|
2167
|
+
readonly name: "amount";
|
|
2168
|
+
readonly type: "uint256";
|
|
2169
|
+
}];
|
|
2170
|
+
readonly name: "transferFrom";
|
|
2171
|
+
readonly outputs: readonly [{
|
|
2172
|
+
readonly internalType: "bool";
|
|
2173
|
+
readonly name: "";
|
|
2174
|
+
readonly type: "bool";
|
|
2175
|
+
}];
|
|
2176
|
+
readonly stateMutability: "nonpayable";
|
|
2177
|
+
readonly type: "function";
|
|
2178
|
+
}, {
|
|
2179
|
+
readonly inputs: readonly [{
|
|
2180
|
+
readonly internalType: "address";
|
|
2181
|
+
readonly name: "owner";
|
|
2182
|
+
readonly type: "address";
|
|
2183
|
+
}, {
|
|
2184
|
+
readonly internalType: "address";
|
|
2185
|
+
readonly name: "spender";
|
|
2186
|
+
readonly type: "address";
|
|
2187
|
+
}, {
|
|
2188
|
+
readonly internalType: "uint256";
|
|
2189
|
+
readonly name: "value";
|
|
2190
|
+
readonly type: "uint256";
|
|
2191
|
+
}, {
|
|
2192
|
+
readonly internalType: "uint256";
|
|
2193
|
+
readonly name: "deadline";
|
|
2194
|
+
readonly type: "uint256";
|
|
2195
|
+
}, {
|
|
2196
|
+
readonly internalType: "uint8";
|
|
2197
|
+
readonly name: "v";
|
|
2198
|
+
readonly type: "uint8";
|
|
2199
|
+
}, {
|
|
2200
|
+
readonly internalType: "bytes32";
|
|
2201
|
+
readonly name: "r";
|
|
2202
|
+
readonly type: "bytes32";
|
|
2203
|
+
}, {
|
|
2204
|
+
readonly internalType: "bytes32";
|
|
2205
|
+
readonly name: "s";
|
|
2206
|
+
readonly type: "bytes32";
|
|
2207
|
+
}];
|
|
2208
|
+
readonly name: "permit";
|
|
2209
|
+
readonly outputs: readonly [];
|
|
2210
|
+
readonly stateMutability: "nonpayable";
|
|
2211
|
+
readonly type: "function";
|
|
2212
|
+
}], "transfer", readonly [`0x${string}`, bigint], ViemChain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
2213
|
+
readonly inputs: readonly [{
|
|
2214
|
+
readonly internalType: "address";
|
|
2215
|
+
readonly name: "";
|
|
2216
|
+
readonly type: "address";
|
|
2217
|
+
}, {
|
|
2218
|
+
readonly internalType: "address";
|
|
2219
|
+
readonly name: "";
|
|
2220
|
+
readonly type: "address";
|
|
2221
|
+
}];
|
|
2222
|
+
readonly name: "allowance";
|
|
2223
|
+
readonly outputs: readonly [{
|
|
2224
|
+
readonly internalType: "uint256";
|
|
2225
|
+
readonly name: "";
|
|
2226
|
+
readonly type: "uint256";
|
|
2227
|
+
}];
|
|
2228
|
+
readonly stateMutability: "view";
|
|
2229
|
+
readonly type: "function";
|
|
2230
|
+
}, {
|
|
2231
|
+
readonly inputs: readonly [{
|
|
2232
|
+
readonly internalType: "address";
|
|
2233
|
+
readonly name: "";
|
|
2234
|
+
readonly type: "address";
|
|
2235
|
+
}];
|
|
2236
|
+
readonly name: "balanceOf";
|
|
2237
|
+
readonly outputs: readonly [{
|
|
2238
|
+
readonly internalType: "uint256";
|
|
2239
|
+
readonly name: "";
|
|
2240
|
+
readonly type: "uint256";
|
|
2241
|
+
}];
|
|
2242
|
+
readonly stateMutability: "view";
|
|
2243
|
+
readonly type: "function";
|
|
2244
|
+
}, {
|
|
2245
|
+
readonly inputs: readonly [];
|
|
2246
|
+
readonly name: "totalSupply";
|
|
2247
|
+
readonly outputs: readonly [{
|
|
2248
|
+
readonly internalType: "uint256";
|
|
2249
|
+
readonly name: "";
|
|
2250
|
+
readonly type: "uint256";
|
|
2251
|
+
}];
|
|
2252
|
+
readonly stateMutability: "view";
|
|
2253
|
+
readonly type: "function";
|
|
2254
|
+
}, {
|
|
2255
|
+
readonly inputs: readonly [{
|
|
2256
|
+
readonly internalType: "address";
|
|
2257
|
+
readonly name: "spender";
|
|
2258
|
+
readonly type: "address";
|
|
2259
|
+
}, {
|
|
2260
|
+
readonly internalType: "uint256";
|
|
2261
|
+
readonly name: "amount";
|
|
2262
|
+
readonly type: "uint256";
|
|
2263
|
+
}];
|
|
2264
|
+
readonly name: "approve";
|
|
2265
|
+
readonly outputs: readonly [{
|
|
2266
|
+
readonly internalType: "bool";
|
|
2267
|
+
readonly name: "";
|
|
2268
|
+
readonly type: "bool";
|
|
2269
|
+
}];
|
|
2270
|
+
readonly stateMutability: "nonpayable";
|
|
2271
|
+
readonly type: "function";
|
|
2272
|
+
}, {
|
|
2273
|
+
readonly inputs: readonly [{
|
|
2274
|
+
readonly internalType: "address";
|
|
2275
|
+
readonly name: "to";
|
|
2276
|
+
readonly type: "address";
|
|
2277
|
+
}, {
|
|
2278
|
+
readonly internalType: "uint256";
|
|
2279
|
+
readonly name: "amount";
|
|
2280
|
+
readonly type: "uint256";
|
|
2281
|
+
}];
|
|
2282
|
+
readonly name: "transfer";
|
|
2283
|
+
readonly outputs: readonly [{
|
|
2284
|
+
readonly internalType: "bool";
|
|
2285
|
+
readonly name: "";
|
|
2286
|
+
readonly type: "bool";
|
|
2287
|
+
}];
|
|
2288
|
+
readonly stateMutability: "nonpayable";
|
|
2289
|
+
readonly type: "function";
|
|
2290
|
+
}, {
|
|
2291
|
+
readonly inputs: readonly [{
|
|
2292
|
+
readonly internalType: "address";
|
|
2293
|
+
readonly name: "from";
|
|
2294
|
+
readonly type: "address";
|
|
2295
|
+
}, {
|
|
2296
|
+
readonly internalType: "address";
|
|
2297
|
+
readonly name: "to";
|
|
2298
|
+
readonly type: "address";
|
|
2299
|
+
}, {
|
|
2300
|
+
readonly internalType: "uint256";
|
|
2301
|
+
readonly name: "amount";
|
|
2302
|
+
readonly type: "uint256";
|
|
2303
|
+
}];
|
|
2304
|
+
readonly name: "transferFrom";
|
|
2305
|
+
readonly outputs: readonly [{
|
|
2306
|
+
readonly internalType: "bool";
|
|
2307
|
+
readonly name: "";
|
|
2308
|
+
readonly type: "bool";
|
|
2309
|
+
}];
|
|
2310
|
+
readonly stateMutability: "nonpayable";
|
|
2311
|
+
readonly type: "function";
|
|
2312
|
+
}, {
|
|
2313
|
+
readonly inputs: readonly [{
|
|
2314
|
+
readonly internalType: "address";
|
|
2315
|
+
readonly name: "owner";
|
|
2316
|
+
readonly type: "address";
|
|
2317
|
+
}, {
|
|
2318
|
+
readonly internalType: "address";
|
|
2319
|
+
readonly name: "spender";
|
|
2320
|
+
readonly type: "address";
|
|
2321
|
+
}, {
|
|
2322
|
+
readonly internalType: "uint256";
|
|
2323
|
+
readonly name: "value";
|
|
2324
|
+
readonly type: "uint256";
|
|
2325
|
+
}, {
|
|
2326
|
+
readonly internalType: "uint256";
|
|
2327
|
+
readonly name: "deadline";
|
|
2328
|
+
readonly type: "uint256";
|
|
2329
|
+
}, {
|
|
2330
|
+
readonly internalType: "uint8";
|
|
2331
|
+
readonly name: "v";
|
|
2332
|
+
readonly type: "uint8";
|
|
2333
|
+
}, {
|
|
2334
|
+
readonly internalType: "bytes32";
|
|
2335
|
+
readonly name: "r";
|
|
2336
|
+
readonly type: "bytes32";
|
|
2337
|
+
}, {
|
|
2338
|
+
readonly internalType: "bytes32";
|
|
2339
|
+
readonly name: "s";
|
|
2340
|
+
readonly type: "bytes32";
|
|
2341
|
+
}];
|
|
2342
|
+
readonly name: "permit";
|
|
2343
|
+
readonly outputs: readonly [];
|
|
2344
|
+
readonly stateMutability: "nonpayable";
|
|
2345
|
+
readonly type: "function";
|
|
2346
|
+
}], "transfer", readonly [`0x${string}`, bigint], ViemChain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
2347
|
+
transferFrom: <chainOverride extends ViemChain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
2348
|
+
readonly inputs: readonly [{
|
|
2349
|
+
readonly internalType: "address";
|
|
2350
|
+
readonly name: "";
|
|
2351
|
+
readonly type: "address";
|
|
2352
|
+
}, {
|
|
2353
|
+
readonly internalType: "address";
|
|
2354
|
+
readonly name: "";
|
|
2355
|
+
readonly type: "address";
|
|
2356
|
+
}];
|
|
2357
|
+
readonly name: "allowance";
|
|
2358
|
+
readonly outputs: readonly [{
|
|
2359
|
+
readonly internalType: "uint256";
|
|
2360
|
+
readonly name: "";
|
|
2361
|
+
readonly type: "uint256";
|
|
2362
|
+
}];
|
|
2363
|
+
readonly stateMutability: "view";
|
|
2364
|
+
readonly type: "function";
|
|
2365
|
+
}, {
|
|
2366
|
+
readonly inputs: readonly [{
|
|
2367
|
+
readonly internalType: "address";
|
|
2368
|
+
readonly name: "";
|
|
2369
|
+
readonly type: "address";
|
|
2370
|
+
}];
|
|
2371
|
+
readonly name: "balanceOf";
|
|
2372
|
+
readonly outputs: readonly [{
|
|
2373
|
+
readonly internalType: "uint256";
|
|
2374
|
+
readonly name: "";
|
|
2375
|
+
readonly type: "uint256";
|
|
2376
|
+
}];
|
|
2377
|
+
readonly stateMutability: "view";
|
|
2378
|
+
readonly type: "function";
|
|
2379
|
+
}, {
|
|
2380
|
+
readonly inputs: readonly [];
|
|
2381
|
+
readonly name: "totalSupply";
|
|
2382
|
+
readonly outputs: readonly [{
|
|
2383
|
+
readonly internalType: "uint256";
|
|
2384
|
+
readonly name: "";
|
|
2385
|
+
readonly type: "uint256";
|
|
2386
|
+
}];
|
|
2387
|
+
readonly stateMutability: "view";
|
|
2388
|
+
readonly type: "function";
|
|
2389
|
+
}, {
|
|
2390
|
+
readonly inputs: readonly [{
|
|
2391
|
+
readonly internalType: "address";
|
|
2392
|
+
readonly name: "spender";
|
|
2393
|
+
readonly type: "address";
|
|
2394
|
+
}, {
|
|
2395
|
+
readonly internalType: "uint256";
|
|
2396
|
+
readonly name: "amount";
|
|
2397
|
+
readonly type: "uint256";
|
|
2398
|
+
}];
|
|
2399
|
+
readonly name: "approve";
|
|
2400
|
+
readonly outputs: readonly [{
|
|
2401
|
+
readonly internalType: "bool";
|
|
2402
|
+
readonly name: "";
|
|
2403
|
+
readonly type: "bool";
|
|
2404
|
+
}];
|
|
2405
|
+
readonly stateMutability: "nonpayable";
|
|
2406
|
+
readonly type: "function";
|
|
2407
|
+
}, {
|
|
2408
|
+
readonly inputs: readonly [{
|
|
2409
|
+
readonly internalType: "address";
|
|
2410
|
+
readonly name: "to";
|
|
2411
|
+
readonly type: "address";
|
|
2412
|
+
}, {
|
|
2413
|
+
readonly internalType: "uint256";
|
|
2414
|
+
readonly name: "amount";
|
|
2415
|
+
readonly type: "uint256";
|
|
2416
|
+
}];
|
|
2417
|
+
readonly name: "transfer";
|
|
2418
|
+
readonly outputs: readonly [{
|
|
2419
|
+
readonly internalType: "bool";
|
|
2420
|
+
readonly name: "";
|
|
2421
|
+
readonly type: "bool";
|
|
2422
|
+
}];
|
|
2423
|
+
readonly stateMutability: "nonpayable";
|
|
2424
|
+
readonly type: "function";
|
|
2425
|
+
}, {
|
|
2426
|
+
readonly inputs: readonly [{
|
|
2427
|
+
readonly internalType: "address";
|
|
2428
|
+
readonly name: "from";
|
|
2429
|
+
readonly type: "address";
|
|
2430
|
+
}, {
|
|
2431
|
+
readonly internalType: "address";
|
|
2432
|
+
readonly name: "to";
|
|
2433
|
+
readonly type: "address";
|
|
2434
|
+
}, {
|
|
2435
|
+
readonly internalType: "uint256";
|
|
2436
|
+
readonly name: "amount";
|
|
2437
|
+
readonly type: "uint256";
|
|
2438
|
+
}];
|
|
2439
|
+
readonly name: "transferFrom";
|
|
2440
|
+
readonly outputs: readonly [{
|
|
2441
|
+
readonly internalType: "bool";
|
|
2442
|
+
readonly name: "";
|
|
2443
|
+
readonly type: "bool";
|
|
2444
|
+
}];
|
|
2445
|
+
readonly stateMutability: "nonpayable";
|
|
2446
|
+
readonly type: "function";
|
|
2447
|
+
}, {
|
|
2448
|
+
readonly inputs: readonly [{
|
|
2449
|
+
readonly internalType: "address";
|
|
2450
|
+
readonly name: "owner";
|
|
2451
|
+
readonly type: "address";
|
|
2452
|
+
}, {
|
|
2453
|
+
readonly internalType: "address";
|
|
2454
|
+
readonly name: "spender";
|
|
2455
|
+
readonly type: "address";
|
|
2456
|
+
}, {
|
|
2457
|
+
readonly internalType: "uint256";
|
|
2458
|
+
readonly name: "value";
|
|
2459
|
+
readonly type: "uint256";
|
|
2460
|
+
}, {
|
|
2461
|
+
readonly internalType: "uint256";
|
|
2462
|
+
readonly name: "deadline";
|
|
2463
|
+
readonly type: "uint256";
|
|
2464
|
+
}, {
|
|
2465
|
+
readonly internalType: "uint8";
|
|
2466
|
+
readonly name: "v";
|
|
2467
|
+
readonly type: "uint8";
|
|
2468
|
+
}, {
|
|
2469
|
+
readonly internalType: "bytes32";
|
|
2470
|
+
readonly name: "r";
|
|
2471
|
+
readonly type: "bytes32";
|
|
2472
|
+
}, {
|
|
2473
|
+
readonly internalType: "bytes32";
|
|
2474
|
+
readonly name: "s";
|
|
2475
|
+
readonly type: "bytes32";
|
|
2476
|
+
}];
|
|
2477
|
+
readonly name: "permit";
|
|
2478
|
+
readonly outputs: readonly [];
|
|
2479
|
+
readonly stateMutability: "nonpayable";
|
|
2480
|
+
readonly type: "function";
|
|
2481
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], ViemChain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
2482
|
+
readonly inputs: readonly [{
|
|
2483
|
+
readonly internalType: "address";
|
|
2484
|
+
readonly name: "";
|
|
2485
|
+
readonly type: "address";
|
|
2486
|
+
}, {
|
|
2487
|
+
readonly internalType: "address";
|
|
2488
|
+
readonly name: "";
|
|
2489
|
+
readonly type: "address";
|
|
2490
|
+
}];
|
|
2491
|
+
readonly name: "allowance";
|
|
2492
|
+
readonly outputs: readonly [{
|
|
2493
|
+
readonly internalType: "uint256";
|
|
2494
|
+
readonly name: "";
|
|
2495
|
+
readonly type: "uint256";
|
|
2496
|
+
}];
|
|
2497
|
+
readonly stateMutability: "view";
|
|
2498
|
+
readonly type: "function";
|
|
2499
|
+
}, {
|
|
2500
|
+
readonly inputs: readonly [{
|
|
2501
|
+
readonly internalType: "address";
|
|
2502
|
+
readonly name: "";
|
|
2503
|
+
readonly type: "address";
|
|
2504
|
+
}];
|
|
2505
|
+
readonly name: "balanceOf";
|
|
2506
|
+
readonly outputs: readonly [{
|
|
2507
|
+
readonly internalType: "uint256";
|
|
2508
|
+
readonly name: "";
|
|
2509
|
+
readonly type: "uint256";
|
|
2510
|
+
}];
|
|
2511
|
+
readonly stateMutability: "view";
|
|
2512
|
+
readonly type: "function";
|
|
2513
|
+
}, {
|
|
2514
|
+
readonly inputs: readonly [];
|
|
2515
|
+
readonly name: "totalSupply";
|
|
2516
|
+
readonly outputs: readonly [{
|
|
2517
|
+
readonly internalType: "uint256";
|
|
2518
|
+
readonly name: "";
|
|
2519
|
+
readonly type: "uint256";
|
|
2520
|
+
}];
|
|
2521
|
+
readonly stateMutability: "view";
|
|
2522
|
+
readonly type: "function";
|
|
2523
|
+
}, {
|
|
2524
|
+
readonly inputs: readonly [{
|
|
2525
|
+
readonly internalType: "address";
|
|
2526
|
+
readonly name: "spender";
|
|
2527
|
+
readonly type: "address";
|
|
2528
|
+
}, {
|
|
2529
|
+
readonly internalType: "uint256";
|
|
2530
|
+
readonly name: "amount";
|
|
2531
|
+
readonly type: "uint256";
|
|
2532
|
+
}];
|
|
2533
|
+
readonly name: "approve";
|
|
2534
|
+
readonly outputs: readonly [{
|
|
2535
|
+
readonly internalType: "bool";
|
|
2536
|
+
readonly name: "";
|
|
2537
|
+
readonly type: "bool";
|
|
2538
|
+
}];
|
|
2539
|
+
readonly stateMutability: "nonpayable";
|
|
2540
|
+
readonly type: "function";
|
|
2541
|
+
}, {
|
|
2542
|
+
readonly inputs: readonly [{
|
|
2543
|
+
readonly internalType: "address";
|
|
2544
|
+
readonly name: "to";
|
|
2545
|
+
readonly type: "address";
|
|
2546
|
+
}, {
|
|
2547
|
+
readonly internalType: "uint256";
|
|
2548
|
+
readonly name: "amount";
|
|
2549
|
+
readonly type: "uint256";
|
|
2550
|
+
}];
|
|
2551
|
+
readonly name: "transfer";
|
|
2552
|
+
readonly outputs: readonly [{
|
|
2553
|
+
readonly internalType: "bool";
|
|
2554
|
+
readonly name: "";
|
|
2555
|
+
readonly type: "bool";
|
|
2556
|
+
}];
|
|
2557
|
+
readonly stateMutability: "nonpayable";
|
|
2558
|
+
readonly type: "function";
|
|
2559
|
+
}, {
|
|
2560
|
+
readonly inputs: readonly [{
|
|
2561
|
+
readonly internalType: "address";
|
|
2562
|
+
readonly name: "from";
|
|
2563
|
+
readonly type: "address";
|
|
2564
|
+
}, {
|
|
2565
|
+
readonly internalType: "address";
|
|
2566
|
+
readonly name: "to";
|
|
2567
|
+
readonly type: "address";
|
|
2568
|
+
}, {
|
|
2569
|
+
readonly internalType: "uint256";
|
|
2570
|
+
readonly name: "amount";
|
|
2571
|
+
readonly type: "uint256";
|
|
2572
|
+
}];
|
|
2573
|
+
readonly name: "transferFrom";
|
|
2574
|
+
readonly outputs: readonly [{
|
|
2575
|
+
readonly internalType: "bool";
|
|
2576
|
+
readonly name: "";
|
|
2577
|
+
readonly type: "bool";
|
|
2578
|
+
}];
|
|
2579
|
+
readonly stateMutability: "nonpayable";
|
|
2580
|
+
readonly type: "function";
|
|
2581
|
+
}, {
|
|
2582
|
+
readonly inputs: readonly [{
|
|
2583
|
+
readonly internalType: "address";
|
|
2584
|
+
readonly name: "owner";
|
|
2585
|
+
readonly type: "address";
|
|
2586
|
+
}, {
|
|
2587
|
+
readonly internalType: "address";
|
|
2588
|
+
readonly name: "spender";
|
|
2589
|
+
readonly type: "address";
|
|
2590
|
+
}, {
|
|
2591
|
+
readonly internalType: "uint256";
|
|
2592
|
+
readonly name: "value";
|
|
2593
|
+
readonly type: "uint256";
|
|
2594
|
+
}, {
|
|
2595
|
+
readonly internalType: "uint256";
|
|
2596
|
+
readonly name: "deadline";
|
|
2597
|
+
readonly type: "uint256";
|
|
2598
|
+
}, {
|
|
2599
|
+
readonly internalType: "uint8";
|
|
2600
|
+
readonly name: "v";
|
|
2601
|
+
readonly type: "uint8";
|
|
2602
|
+
}, {
|
|
2603
|
+
readonly internalType: "bytes32";
|
|
2604
|
+
readonly name: "r";
|
|
2605
|
+
readonly type: "bytes32";
|
|
2606
|
+
}, {
|
|
2607
|
+
readonly internalType: "bytes32";
|
|
2608
|
+
readonly name: "s";
|
|
2609
|
+
readonly type: "bytes32";
|
|
2610
|
+
}];
|
|
2611
|
+
readonly name: "permit";
|
|
2612
|
+
readonly outputs: readonly [];
|
|
2613
|
+
readonly stateMutability: "nonpayable";
|
|
2614
|
+
readonly type: "function";
|
|
2615
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], ViemChain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
2616
|
+
};
|
|
2617
|
+
write: {
|
|
2618
|
+
approve: <chainOverride extends ViemChain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
2619
|
+
readonly inputs: readonly [{
|
|
2620
|
+
readonly internalType: "address";
|
|
2621
|
+
readonly name: "";
|
|
2622
|
+
readonly type: "address";
|
|
2623
|
+
}, {
|
|
2624
|
+
readonly internalType: "address";
|
|
2625
|
+
readonly name: "";
|
|
2626
|
+
readonly type: "address";
|
|
2627
|
+
}];
|
|
2628
|
+
readonly name: "allowance";
|
|
2629
|
+
readonly outputs: readonly [{
|
|
2630
|
+
readonly internalType: "uint256";
|
|
2631
|
+
readonly name: "";
|
|
2632
|
+
readonly type: "uint256";
|
|
2633
|
+
}];
|
|
2634
|
+
readonly stateMutability: "view";
|
|
2635
|
+
readonly type: "function";
|
|
2636
|
+
}, {
|
|
2637
|
+
readonly inputs: readonly [{
|
|
2638
|
+
readonly internalType: "address";
|
|
2639
|
+
readonly name: "";
|
|
2640
|
+
readonly type: "address";
|
|
2641
|
+
}];
|
|
2642
|
+
readonly name: "balanceOf";
|
|
2643
|
+
readonly outputs: readonly [{
|
|
2644
|
+
readonly internalType: "uint256";
|
|
2645
|
+
readonly name: "";
|
|
2646
|
+
readonly type: "uint256";
|
|
2647
|
+
}];
|
|
2648
|
+
readonly stateMutability: "view";
|
|
2649
|
+
readonly type: "function";
|
|
2650
|
+
}, {
|
|
2651
|
+
readonly inputs: readonly [];
|
|
2652
|
+
readonly name: "totalSupply";
|
|
2653
|
+
readonly outputs: readonly [{
|
|
2654
|
+
readonly internalType: "uint256";
|
|
2655
|
+
readonly name: "";
|
|
2656
|
+
readonly type: "uint256";
|
|
2657
|
+
}];
|
|
2658
|
+
readonly stateMutability: "view";
|
|
2659
|
+
readonly type: "function";
|
|
2660
|
+
}, {
|
|
2661
|
+
readonly inputs: readonly [{
|
|
2662
|
+
readonly internalType: "address";
|
|
2663
|
+
readonly name: "spender";
|
|
2664
|
+
readonly type: "address";
|
|
2665
|
+
}, {
|
|
2666
|
+
readonly internalType: "uint256";
|
|
2667
|
+
readonly name: "amount";
|
|
2668
|
+
readonly type: "uint256";
|
|
2669
|
+
}];
|
|
2670
|
+
readonly name: "approve";
|
|
2671
|
+
readonly outputs: readonly [{
|
|
2672
|
+
readonly internalType: "bool";
|
|
2673
|
+
readonly name: "";
|
|
2674
|
+
readonly type: "bool";
|
|
2675
|
+
}];
|
|
2676
|
+
readonly stateMutability: "nonpayable";
|
|
2677
|
+
readonly type: "function";
|
|
2678
|
+
}, {
|
|
2679
|
+
readonly inputs: readonly [{
|
|
2680
|
+
readonly internalType: "address";
|
|
2681
|
+
readonly name: "to";
|
|
2682
|
+
readonly type: "address";
|
|
2683
|
+
}, {
|
|
2684
|
+
readonly internalType: "uint256";
|
|
2685
|
+
readonly name: "amount";
|
|
2686
|
+
readonly type: "uint256";
|
|
2687
|
+
}];
|
|
2688
|
+
readonly name: "transfer";
|
|
2689
|
+
readonly outputs: readonly [{
|
|
2690
|
+
readonly internalType: "bool";
|
|
2691
|
+
readonly name: "";
|
|
2692
|
+
readonly type: "bool";
|
|
2693
|
+
}];
|
|
2694
|
+
readonly stateMutability: "nonpayable";
|
|
2695
|
+
readonly type: "function";
|
|
2696
|
+
}, {
|
|
2697
|
+
readonly inputs: readonly [{
|
|
2698
|
+
readonly internalType: "address";
|
|
2699
|
+
readonly name: "from";
|
|
2700
|
+
readonly type: "address";
|
|
2701
|
+
}, {
|
|
2702
|
+
readonly internalType: "address";
|
|
2703
|
+
readonly name: "to";
|
|
2704
|
+
readonly type: "address";
|
|
2705
|
+
}, {
|
|
2706
|
+
readonly internalType: "uint256";
|
|
2707
|
+
readonly name: "amount";
|
|
2708
|
+
readonly type: "uint256";
|
|
2709
|
+
}];
|
|
2710
|
+
readonly name: "transferFrom";
|
|
2711
|
+
readonly outputs: readonly [{
|
|
2712
|
+
readonly internalType: "bool";
|
|
2713
|
+
readonly name: "";
|
|
2714
|
+
readonly type: "bool";
|
|
2715
|
+
}];
|
|
2716
|
+
readonly stateMutability: "nonpayable";
|
|
2717
|
+
readonly type: "function";
|
|
2718
|
+
}, {
|
|
2719
|
+
readonly inputs: readonly [{
|
|
2720
|
+
readonly internalType: "address";
|
|
2721
|
+
readonly name: "owner";
|
|
2722
|
+
readonly type: "address";
|
|
2723
|
+
}, {
|
|
2724
|
+
readonly internalType: "address";
|
|
2725
|
+
readonly name: "spender";
|
|
2726
|
+
readonly type: "address";
|
|
2727
|
+
}, {
|
|
2728
|
+
readonly internalType: "uint256";
|
|
2729
|
+
readonly name: "value";
|
|
2730
|
+
readonly type: "uint256";
|
|
2731
|
+
}, {
|
|
2732
|
+
readonly internalType: "uint256";
|
|
2733
|
+
readonly name: "deadline";
|
|
2734
|
+
readonly type: "uint256";
|
|
2735
|
+
}, {
|
|
2736
|
+
readonly internalType: "uint8";
|
|
2737
|
+
readonly name: "v";
|
|
2738
|
+
readonly type: "uint8";
|
|
2739
|
+
}, {
|
|
2740
|
+
readonly internalType: "bytes32";
|
|
2741
|
+
readonly name: "r";
|
|
2742
|
+
readonly type: "bytes32";
|
|
2743
|
+
}, {
|
|
2744
|
+
readonly internalType: "bytes32";
|
|
2745
|
+
readonly name: "s";
|
|
2746
|
+
readonly type: "bytes32";
|
|
2747
|
+
}];
|
|
2748
|
+
readonly name: "permit";
|
|
2749
|
+
readonly outputs: readonly [];
|
|
2750
|
+
readonly stateMutability: "nonpayable";
|
|
2751
|
+
readonly type: "function";
|
|
2752
|
+
}], "approve", readonly [`0x${string}`, bigint], ViemChain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
2753
|
+
readonly inputs: readonly [{
|
|
2754
|
+
readonly internalType: "address";
|
|
2755
|
+
readonly name: "";
|
|
2756
|
+
readonly type: "address";
|
|
2757
|
+
}, {
|
|
2758
|
+
readonly internalType: "address";
|
|
2759
|
+
readonly name: "";
|
|
2760
|
+
readonly type: "address";
|
|
2761
|
+
}];
|
|
2762
|
+
readonly name: "allowance";
|
|
2763
|
+
readonly outputs: readonly [{
|
|
2764
|
+
readonly internalType: "uint256";
|
|
2765
|
+
readonly name: "";
|
|
2766
|
+
readonly type: "uint256";
|
|
2767
|
+
}];
|
|
2768
|
+
readonly stateMutability: "view";
|
|
2769
|
+
readonly type: "function";
|
|
2770
|
+
}, {
|
|
2771
|
+
readonly inputs: readonly [{
|
|
2772
|
+
readonly internalType: "address";
|
|
2773
|
+
readonly name: "";
|
|
2774
|
+
readonly type: "address";
|
|
2775
|
+
}];
|
|
2776
|
+
readonly name: "balanceOf";
|
|
2777
|
+
readonly outputs: readonly [{
|
|
2778
|
+
readonly internalType: "uint256";
|
|
2779
|
+
readonly name: "";
|
|
2780
|
+
readonly type: "uint256";
|
|
2781
|
+
}];
|
|
2782
|
+
readonly stateMutability: "view";
|
|
2783
|
+
readonly type: "function";
|
|
2784
|
+
}, {
|
|
2785
|
+
readonly inputs: readonly [];
|
|
2786
|
+
readonly name: "totalSupply";
|
|
2787
|
+
readonly outputs: readonly [{
|
|
2788
|
+
readonly internalType: "uint256";
|
|
2789
|
+
readonly name: "";
|
|
2790
|
+
readonly type: "uint256";
|
|
2791
|
+
}];
|
|
2792
|
+
readonly stateMutability: "view";
|
|
2793
|
+
readonly type: "function";
|
|
2794
|
+
}, {
|
|
2795
|
+
readonly inputs: readonly [{
|
|
2796
|
+
readonly internalType: "address";
|
|
2797
|
+
readonly name: "spender";
|
|
2798
|
+
readonly type: "address";
|
|
2799
|
+
}, {
|
|
2800
|
+
readonly internalType: "uint256";
|
|
2801
|
+
readonly name: "amount";
|
|
2802
|
+
readonly type: "uint256";
|
|
2803
|
+
}];
|
|
2804
|
+
readonly name: "approve";
|
|
2805
|
+
readonly outputs: readonly [{
|
|
2806
|
+
readonly internalType: "bool";
|
|
2807
|
+
readonly name: "";
|
|
2808
|
+
readonly type: "bool";
|
|
2809
|
+
}];
|
|
2810
|
+
readonly stateMutability: "nonpayable";
|
|
2811
|
+
readonly type: "function";
|
|
2812
|
+
}, {
|
|
2813
|
+
readonly inputs: readonly [{
|
|
2814
|
+
readonly internalType: "address";
|
|
2815
|
+
readonly name: "to";
|
|
2816
|
+
readonly type: "address";
|
|
2817
|
+
}, {
|
|
2818
|
+
readonly internalType: "uint256";
|
|
2819
|
+
readonly name: "amount";
|
|
2820
|
+
readonly type: "uint256";
|
|
2821
|
+
}];
|
|
2822
|
+
readonly name: "transfer";
|
|
2823
|
+
readonly outputs: readonly [{
|
|
2824
|
+
readonly internalType: "bool";
|
|
2825
|
+
readonly name: "";
|
|
2826
|
+
readonly type: "bool";
|
|
2827
|
+
}];
|
|
2828
|
+
readonly stateMutability: "nonpayable";
|
|
2829
|
+
readonly type: "function";
|
|
2830
|
+
}, {
|
|
2831
|
+
readonly inputs: readonly [{
|
|
2832
|
+
readonly internalType: "address";
|
|
2833
|
+
readonly name: "from";
|
|
2834
|
+
readonly type: "address";
|
|
2835
|
+
}, {
|
|
2836
|
+
readonly internalType: "address";
|
|
2837
|
+
readonly name: "to";
|
|
2838
|
+
readonly type: "address";
|
|
2839
|
+
}, {
|
|
2840
|
+
readonly internalType: "uint256";
|
|
2841
|
+
readonly name: "amount";
|
|
2842
|
+
readonly type: "uint256";
|
|
2843
|
+
}];
|
|
2844
|
+
readonly name: "transferFrom";
|
|
2845
|
+
readonly outputs: readonly [{
|
|
2846
|
+
readonly internalType: "bool";
|
|
2847
|
+
readonly name: "";
|
|
2848
|
+
readonly type: "bool";
|
|
2849
|
+
}];
|
|
2850
|
+
readonly stateMutability: "nonpayable";
|
|
2851
|
+
readonly type: "function";
|
|
2852
|
+
}, {
|
|
2853
|
+
readonly inputs: readonly [{
|
|
2854
|
+
readonly internalType: "address";
|
|
2855
|
+
readonly name: "owner";
|
|
2856
|
+
readonly type: "address";
|
|
2857
|
+
}, {
|
|
2858
|
+
readonly internalType: "address";
|
|
2859
|
+
readonly name: "spender";
|
|
2860
|
+
readonly type: "address";
|
|
2861
|
+
}, {
|
|
2862
|
+
readonly internalType: "uint256";
|
|
2863
|
+
readonly name: "value";
|
|
2864
|
+
readonly type: "uint256";
|
|
2865
|
+
}, {
|
|
2866
|
+
readonly internalType: "uint256";
|
|
2867
|
+
readonly name: "deadline";
|
|
2868
|
+
readonly type: "uint256";
|
|
2869
|
+
}, {
|
|
2870
|
+
readonly internalType: "uint8";
|
|
2871
|
+
readonly name: "v";
|
|
2872
|
+
readonly type: "uint8";
|
|
2873
|
+
}, {
|
|
2874
|
+
readonly internalType: "bytes32";
|
|
2875
|
+
readonly name: "r";
|
|
2876
|
+
readonly type: "bytes32";
|
|
2877
|
+
}, {
|
|
2878
|
+
readonly internalType: "bytes32";
|
|
2879
|
+
readonly name: "s";
|
|
2880
|
+
readonly type: "bytes32";
|
|
2881
|
+
}];
|
|
2882
|
+
readonly name: "permit";
|
|
2883
|
+
readonly outputs: readonly [];
|
|
2884
|
+
readonly stateMutability: "nonpayable";
|
|
2885
|
+
readonly type: "function";
|
|
2886
|
+
}], "approve", readonly [`0x${string}`, bigint], ViemChain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
2887
|
+
permit: <chainOverride extends ViemChain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
2888
|
+
readonly inputs: readonly [{
|
|
2889
|
+
readonly internalType: "address";
|
|
2890
|
+
readonly name: "";
|
|
2891
|
+
readonly type: "address";
|
|
2892
|
+
}, {
|
|
2893
|
+
readonly internalType: "address";
|
|
2894
|
+
readonly name: "";
|
|
2895
|
+
readonly type: "address";
|
|
2896
|
+
}];
|
|
2897
|
+
readonly name: "allowance";
|
|
2898
|
+
readonly outputs: readonly [{
|
|
2899
|
+
readonly internalType: "uint256";
|
|
2900
|
+
readonly name: "";
|
|
2901
|
+
readonly type: "uint256";
|
|
2902
|
+
}];
|
|
2903
|
+
readonly stateMutability: "view";
|
|
2904
|
+
readonly type: "function";
|
|
2905
|
+
}, {
|
|
2906
|
+
readonly inputs: readonly [{
|
|
2907
|
+
readonly internalType: "address";
|
|
2908
|
+
readonly name: "";
|
|
2909
|
+
readonly type: "address";
|
|
2910
|
+
}];
|
|
2911
|
+
readonly name: "balanceOf";
|
|
2912
|
+
readonly outputs: readonly [{
|
|
2913
|
+
readonly internalType: "uint256";
|
|
2914
|
+
readonly name: "";
|
|
2915
|
+
readonly type: "uint256";
|
|
2916
|
+
}];
|
|
2917
|
+
readonly stateMutability: "view";
|
|
2918
|
+
readonly type: "function";
|
|
2919
|
+
}, {
|
|
2920
|
+
readonly inputs: readonly [];
|
|
2921
|
+
readonly name: "totalSupply";
|
|
2922
|
+
readonly outputs: readonly [{
|
|
2923
|
+
readonly internalType: "uint256";
|
|
2924
|
+
readonly name: "";
|
|
2925
|
+
readonly type: "uint256";
|
|
2926
|
+
}];
|
|
2927
|
+
readonly stateMutability: "view";
|
|
2928
|
+
readonly type: "function";
|
|
2929
|
+
}, {
|
|
2930
|
+
readonly inputs: readonly [{
|
|
2931
|
+
readonly internalType: "address";
|
|
2932
|
+
readonly name: "spender";
|
|
2933
|
+
readonly type: "address";
|
|
2934
|
+
}, {
|
|
2935
|
+
readonly internalType: "uint256";
|
|
2936
|
+
readonly name: "amount";
|
|
2937
|
+
readonly type: "uint256";
|
|
2938
|
+
}];
|
|
2939
|
+
readonly name: "approve";
|
|
2940
|
+
readonly outputs: readonly [{
|
|
2941
|
+
readonly internalType: "bool";
|
|
2942
|
+
readonly name: "";
|
|
2943
|
+
readonly type: "bool";
|
|
2944
|
+
}];
|
|
2945
|
+
readonly stateMutability: "nonpayable";
|
|
2946
|
+
readonly type: "function";
|
|
2947
|
+
}, {
|
|
2948
|
+
readonly inputs: readonly [{
|
|
2949
|
+
readonly internalType: "address";
|
|
2950
|
+
readonly name: "to";
|
|
2951
|
+
readonly type: "address";
|
|
2952
|
+
}, {
|
|
2953
|
+
readonly internalType: "uint256";
|
|
2954
|
+
readonly name: "amount";
|
|
2955
|
+
readonly type: "uint256";
|
|
2956
|
+
}];
|
|
2957
|
+
readonly name: "transfer";
|
|
2958
|
+
readonly outputs: readonly [{
|
|
2959
|
+
readonly internalType: "bool";
|
|
2960
|
+
readonly name: "";
|
|
2961
|
+
readonly type: "bool";
|
|
2962
|
+
}];
|
|
2963
|
+
readonly stateMutability: "nonpayable";
|
|
2964
|
+
readonly type: "function";
|
|
2965
|
+
}, {
|
|
2966
|
+
readonly inputs: readonly [{
|
|
2967
|
+
readonly internalType: "address";
|
|
2968
|
+
readonly name: "from";
|
|
2969
|
+
readonly type: "address";
|
|
2970
|
+
}, {
|
|
2971
|
+
readonly internalType: "address";
|
|
2972
|
+
readonly name: "to";
|
|
2973
|
+
readonly type: "address";
|
|
2974
|
+
}, {
|
|
2975
|
+
readonly internalType: "uint256";
|
|
2976
|
+
readonly name: "amount";
|
|
2977
|
+
readonly type: "uint256";
|
|
2978
|
+
}];
|
|
2979
|
+
readonly name: "transferFrom";
|
|
2980
|
+
readonly outputs: readonly [{
|
|
2981
|
+
readonly internalType: "bool";
|
|
2982
|
+
readonly name: "";
|
|
2983
|
+
readonly type: "bool";
|
|
2984
|
+
}];
|
|
2985
|
+
readonly stateMutability: "nonpayable";
|
|
2986
|
+
readonly type: "function";
|
|
2987
|
+
}, {
|
|
2988
|
+
readonly inputs: readonly [{
|
|
2989
|
+
readonly internalType: "address";
|
|
2990
|
+
readonly name: "owner";
|
|
2991
|
+
readonly type: "address";
|
|
2992
|
+
}, {
|
|
2993
|
+
readonly internalType: "address";
|
|
2994
|
+
readonly name: "spender";
|
|
2995
|
+
readonly type: "address";
|
|
2996
|
+
}, {
|
|
2997
|
+
readonly internalType: "uint256";
|
|
2998
|
+
readonly name: "value";
|
|
2999
|
+
readonly type: "uint256";
|
|
3000
|
+
}, {
|
|
3001
|
+
readonly internalType: "uint256";
|
|
3002
|
+
readonly name: "deadline";
|
|
3003
|
+
readonly type: "uint256";
|
|
3004
|
+
}, {
|
|
3005
|
+
readonly internalType: "uint8";
|
|
3006
|
+
readonly name: "v";
|
|
3007
|
+
readonly type: "uint8";
|
|
3008
|
+
}, {
|
|
3009
|
+
readonly internalType: "bytes32";
|
|
3010
|
+
readonly name: "r";
|
|
3011
|
+
readonly type: "bytes32";
|
|
3012
|
+
}, {
|
|
3013
|
+
readonly internalType: "bytes32";
|
|
3014
|
+
readonly name: "s";
|
|
3015
|
+
readonly type: "bytes32";
|
|
3016
|
+
}];
|
|
3017
|
+
readonly name: "permit";
|
|
3018
|
+
readonly outputs: readonly [];
|
|
3019
|
+
readonly stateMutability: "nonpayable";
|
|
3020
|
+
readonly type: "function";
|
|
3021
|
+
}], "permit", readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], ViemChain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
3022
|
+
readonly inputs: readonly [{
|
|
3023
|
+
readonly internalType: "address";
|
|
3024
|
+
readonly name: "";
|
|
3025
|
+
readonly type: "address";
|
|
3026
|
+
}, {
|
|
3027
|
+
readonly internalType: "address";
|
|
3028
|
+
readonly name: "";
|
|
3029
|
+
readonly type: "address";
|
|
3030
|
+
}];
|
|
3031
|
+
readonly name: "allowance";
|
|
3032
|
+
readonly outputs: readonly [{
|
|
3033
|
+
readonly internalType: "uint256";
|
|
3034
|
+
readonly name: "";
|
|
3035
|
+
readonly type: "uint256";
|
|
3036
|
+
}];
|
|
3037
|
+
readonly stateMutability: "view";
|
|
3038
|
+
readonly type: "function";
|
|
3039
|
+
}, {
|
|
3040
|
+
readonly inputs: readonly [{
|
|
3041
|
+
readonly internalType: "address";
|
|
3042
|
+
readonly name: "";
|
|
3043
|
+
readonly type: "address";
|
|
3044
|
+
}];
|
|
3045
|
+
readonly name: "balanceOf";
|
|
3046
|
+
readonly outputs: readonly [{
|
|
3047
|
+
readonly internalType: "uint256";
|
|
3048
|
+
readonly name: "";
|
|
3049
|
+
readonly type: "uint256";
|
|
3050
|
+
}];
|
|
3051
|
+
readonly stateMutability: "view";
|
|
3052
|
+
readonly type: "function";
|
|
3053
|
+
}, {
|
|
3054
|
+
readonly inputs: readonly [];
|
|
3055
|
+
readonly name: "totalSupply";
|
|
3056
|
+
readonly outputs: readonly [{
|
|
3057
|
+
readonly internalType: "uint256";
|
|
3058
|
+
readonly name: "";
|
|
3059
|
+
readonly type: "uint256";
|
|
3060
|
+
}];
|
|
3061
|
+
readonly stateMutability: "view";
|
|
3062
|
+
readonly type: "function";
|
|
3063
|
+
}, {
|
|
3064
|
+
readonly inputs: readonly [{
|
|
3065
|
+
readonly internalType: "address";
|
|
3066
|
+
readonly name: "spender";
|
|
3067
|
+
readonly type: "address";
|
|
3068
|
+
}, {
|
|
3069
|
+
readonly internalType: "uint256";
|
|
3070
|
+
readonly name: "amount";
|
|
3071
|
+
readonly type: "uint256";
|
|
3072
|
+
}];
|
|
3073
|
+
readonly name: "approve";
|
|
3074
|
+
readonly outputs: readonly [{
|
|
3075
|
+
readonly internalType: "bool";
|
|
3076
|
+
readonly name: "";
|
|
3077
|
+
readonly type: "bool";
|
|
3078
|
+
}];
|
|
3079
|
+
readonly stateMutability: "nonpayable";
|
|
3080
|
+
readonly type: "function";
|
|
3081
|
+
}, {
|
|
3082
|
+
readonly inputs: readonly [{
|
|
3083
|
+
readonly internalType: "address";
|
|
3084
|
+
readonly name: "to";
|
|
3085
|
+
readonly type: "address";
|
|
3086
|
+
}, {
|
|
3087
|
+
readonly internalType: "uint256";
|
|
3088
|
+
readonly name: "amount";
|
|
3089
|
+
readonly type: "uint256";
|
|
3090
|
+
}];
|
|
3091
|
+
readonly name: "transfer";
|
|
3092
|
+
readonly outputs: readonly [{
|
|
3093
|
+
readonly internalType: "bool";
|
|
3094
|
+
readonly name: "";
|
|
3095
|
+
readonly type: "bool";
|
|
3096
|
+
}];
|
|
3097
|
+
readonly stateMutability: "nonpayable";
|
|
3098
|
+
readonly type: "function";
|
|
3099
|
+
}, {
|
|
3100
|
+
readonly inputs: readonly [{
|
|
3101
|
+
readonly internalType: "address";
|
|
3102
|
+
readonly name: "from";
|
|
3103
|
+
readonly type: "address";
|
|
3104
|
+
}, {
|
|
3105
|
+
readonly internalType: "address";
|
|
3106
|
+
readonly name: "to";
|
|
3107
|
+
readonly type: "address";
|
|
3108
|
+
}, {
|
|
3109
|
+
readonly internalType: "uint256";
|
|
3110
|
+
readonly name: "amount";
|
|
3111
|
+
readonly type: "uint256";
|
|
3112
|
+
}];
|
|
3113
|
+
readonly name: "transferFrom";
|
|
3114
|
+
readonly outputs: readonly [{
|
|
3115
|
+
readonly internalType: "bool";
|
|
3116
|
+
readonly name: "";
|
|
3117
|
+
readonly type: "bool";
|
|
3118
|
+
}];
|
|
3119
|
+
readonly stateMutability: "nonpayable";
|
|
3120
|
+
readonly type: "function";
|
|
3121
|
+
}, {
|
|
3122
|
+
readonly inputs: readonly [{
|
|
3123
|
+
readonly internalType: "address";
|
|
3124
|
+
readonly name: "owner";
|
|
3125
|
+
readonly type: "address";
|
|
3126
|
+
}, {
|
|
3127
|
+
readonly internalType: "address";
|
|
3128
|
+
readonly name: "spender";
|
|
3129
|
+
readonly type: "address";
|
|
3130
|
+
}, {
|
|
3131
|
+
readonly internalType: "uint256";
|
|
3132
|
+
readonly name: "value";
|
|
3133
|
+
readonly type: "uint256";
|
|
3134
|
+
}, {
|
|
3135
|
+
readonly internalType: "uint256";
|
|
3136
|
+
readonly name: "deadline";
|
|
3137
|
+
readonly type: "uint256";
|
|
3138
|
+
}, {
|
|
3139
|
+
readonly internalType: "uint8";
|
|
3140
|
+
readonly name: "v";
|
|
3141
|
+
readonly type: "uint8";
|
|
3142
|
+
}, {
|
|
3143
|
+
readonly internalType: "bytes32";
|
|
3144
|
+
readonly name: "r";
|
|
3145
|
+
readonly type: "bytes32";
|
|
3146
|
+
}, {
|
|
3147
|
+
readonly internalType: "bytes32";
|
|
3148
|
+
readonly name: "s";
|
|
3149
|
+
readonly type: "bytes32";
|
|
3150
|
+
}];
|
|
3151
|
+
readonly name: "permit";
|
|
3152
|
+
readonly outputs: readonly [];
|
|
3153
|
+
readonly stateMutability: "nonpayable";
|
|
3154
|
+
readonly type: "function";
|
|
3155
|
+
}], "permit", readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], ViemChain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
3156
|
+
transfer: <chainOverride extends ViemChain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
3157
|
+
readonly inputs: readonly [{
|
|
3158
|
+
readonly internalType: "address";
|
|
3159
|
+
readonly name: "";
|
|
3160
|
+
readonly type: "address";
|
|
3161
|
+
}, {
|
|
3162
|
+
readonly internalType: "address";
|
|
3163
|
+
readonly name: "";
|
|
3164
|
+
readonly type: "address";
|
|
3165
|
+
}];
|
|
3166
|
+
readonly name: "allowance";
|
|
3167
|
+
readonly outputs: readonly [{
|
|
3168
|
+
readonly internalType: "uint256";
|
|
3169
|
+
readonly name: "";
|
|
3170
|
+
readonly type: "uint256";
|
|
3171
|
+
}];
|
|
3172
|
+
readonly stateMutability: "view";
|
|
3173
|
+
readonly type: "function";
|
|
3174
|
+
}, {
|
|
3175
|
+
readonly inputs: readonly [{
|
|
3176
|
+
readonly internalType: "address";
|
|
3177
|
+
readonly name: "";
|
|
3178
|
+
readonly type: "address";
|
|
3179
|
+
}];
|
|
3180
|
+
readonly name: "balanceOf";
|
|
3181
|
+
readonly outputs: readonly [{
|
|
3182
|
+
readonly internalType: "uint256";
|
|
3183
|
+
readonly name: "";
|
|
3184
|
+
readonly type: "uint256";
|
|
3185
|
+
}];
|
|
3186
|
+
readonly stateMutability: "view";
|
|
3187
|
+
readonly type: "function";
|
|
3188
|
+
}, {
|
|
3189
|
+
readonly inputs: readonly [];
|
|
3190
|
+
readonly name: "totalSupply";
|
|
3191
|
+
readonly outputs: readonly [{
|
|
3192
|
+
readonly internalType: "uint256";
|
|
3193
|
+
readonly name: "";
|
|
3194
|
+
readonly type: "uint256";
|
|
3195
|
+
}];
|
|
3196
|
+
readonly stateMutability: "view";
|
|
3197
|
+
readonly type: "function";
|
|
3198
|
+
}, {
|
|
3199
|
+
readonly inputs: readonly [{
|
|
3200
|
+
readonly internalType: "address";
|
|
3201
|
+
readonly name: "spender";
|
|
3202
|
+
readonly type: "address";
|
|
3203
|
+
}, {
|
|
3204
|
+
readonly internalType: "uint256";
|
|
3205
|
+
readonly name: "amount";
|
|
3206
|
+
readonly type: "uint256";
|
|
3207
|
+
}];
|
|
3208
|
+
readonly name: "approve";
|
|
3209
|
+
readonly outputs: readonly [{
|
|
3210
|
+
readonly internalType: "bool";
|
|
3211
|
+
readonly name: "";
|
|
3212
|
+
readonly type: "bool";
|
|
3213
|
+
}];
|
|
3214
|
+
readonly stateMutability: "nonpayable";
|
|
3215
|
+
readonly type: "function";
|
|
3216
|
+
}, {
|
|
3217
|
+
readonly inputs: readonly [{
|
|
3218
|
+
readonly internalType: "address";
|
|
3219
|
+
readonly name: "to";
|
|
3220
|
+
readonly type: "address";
|
|
3221
|
+
}, {
|
|
3222
|
+
readonly internalType: "uint256";
|
|
3223
|
+
readonly name: "amount";
|
|
3224
|
+
readonly type: "uint256";
|
|
3225
|
+
}];
|
|
3226
|
+
readonly name: "transfer";
|
|
3227
|
+
readonly outputs: readonly [{
|
|
3228
|
+
readonly internalType: "bool";
|
|
3229
|
+
readonly name: "";
|
|
3230
|
+
readonly type: "bool";
|
|
3231
|
+
}];
|
|
3232
|
+
readonly stateMutability: "nonpayable";
|
|
3233
|
+
readonly type: "function";
|
|
3234
|
+
}, {
|
|
3235
|
+
readonly inputs: readonly [{
|
|
3236
|
+
readonly internalType: "address";
|
|
3237
|
+
readonly name: "from";
|
|
3238
|
+
readonly type: "address";
|
|
3239
|
+
}, {
|
|
3240
|
+
readonly internalType: "address";
|
|
3241
|
+
readonly name: "to";
|
|
3242
|
+
readonly type: "address";
|
|
3243
|
+
}, {
|
|
3244
|
+
readonly internalType: "uint256";
|
|
3245
|
+
readonly name: "amount";
|
|
3246
|
+
readonly type: "uint256";
|
|
3247
|
+
}];
|
|
3248
|
+
readonly name: "transferFrom";
|
|
3249
|
+
readonly outputs: readonly [{
|
|
3250
|
+
readonly internalType: "bool";
|
|
3251
|
+
readonly name: "";
|
|
3252
|
+
readonly type: "bool";
|
|
3253
|
+
}];
|
|
3254
|
+
readonly stateMutability: "nonpayable";
|
|
3255
|
+
readonly type: "function";
|
|
3256
|
+
}, {
|
|
3257
|
+
readonly inputs: readonly [{
|
|
3258
|
+
readonly internalType: "address";
|
|
3259
|
+
readonly name: "owner";
|
|
3260
|
+
readonly type: "address";
|
|
3261
|
+
}, {
|
|
3262
|
+
readonly internalType: "address";
|
|
3263
|
+
readonly name: "spender";
|
|
3264
|
+
readonly type: "address";
|
|
3265
|
+
}, {
|
|
3266
|
+
readonly internalType: "uint256";
|
|
3267
|
+
readonly name: "value";
|
|
3268
|
+
readonly type: "uint256";
|
|
3269
|
+
}, {
|
|
3270
|
+
readonly internalType: "uint256";
|
|
3271
|
+
readonly name: "deadline";
|
|
3272
|
+
readonly type: "uint256";
|
|
3273
|
+
}, {
|
|
3274
|
+
readonly internalType: "uint8";
|
|
3275
|
+
readonly name: "v";
|
|
3276
|
+
readonly type: "uint8";
|
|
3277
|
+
}, {
|
|
3278
|
+
readonly internalType: "bytes32";
|
|
3279
|
+
readonly name: "r";
|
|
3280
|
+
readonly type: "bytes32";
|
|
3281
|
+
}, {
|
|
3282
|
+
readonly internalType: "bytes32";
|
|
3283
|
+
readonly name: "s";
|
|
3284
|
+
readonly type: "bytes32";
|
|
3285
|
+
}];
|
|
3286
|
+
readonly name: "permit";
|
|
3287
|
+
readonly outputs: readonly [];
|
|
3288
|
+
readonly stateMutability: "nonpayable";
|
|
3289
|
+
readonly type: "function";
|
|
3290
|
+
}], "transfer", readonly [`0x${string}`, bigint], ViemChain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
3291
|
+
readonly inputs: readonly [{
|
|
3292
|
+
readonly internalType: "address";
|
|
3293
|
+
readonly name: "";
|
|
3294
|
+
readonly type: "address";
|
|
3295
|
+
}, {
|
|
3296
|
+
readonly internalType: "address";
|
|
3297
|
+
readonly name: "";
|
|
3298
|
+
readonly type: "address";
|
|
3299
|
+
}];
|
|
3300
|
+
readonly name: "allowance";
|
|
3301
|
+
readonly outputs: readonly [{
|
|
3302
|
+
readonly internalType: "uint256";
|
|
3303
|
+
readonly name: "";
|
|
3304
|
+
readonly type: "uint256";
|
|
3305
|
+
}];
|
|
3306
|
+
readonly stateMutability: "view";
|
|
3307
|
+
readonly type: "function";
|
|
3308
|
+
}, {
|
|
3309
|
+
readonly inputs: readonly [{
|
|
3310
|
+
readonly internalType: "address";
|
|
3311
|
+
readonly name: "";
|
|
3312
|
+
readonly type: "address";
|
|
3313
|
+
}];
|
|
3314
|
+
readonly name: "balanceOf";
|
|
3315
|
+
readonly outputs: readonly [{
|
|
3316
|
+
readonly internalType: "uint256";
|
|
3317
|
+
readonly name: "";
|
|
3318
|
+
readonly type: "uint256";
|
|
3319
|
+
}];
|
|
3320
|
+
readonly stateMutability: "view";
|
|
3321
|
+
readonly type: "function";
|
|
3322
|
+
}, {
|
|
3323
|
+
readonly inputs: readonly [];
|
|
3324
|
+
readonly name: "totalSupply";
|
|
3325
|
+
readonly outputs: readonly [{
|
|
3326
|
+
readonly internalType: "uint256";
|
|
3327
|
+
readonly name: "";
|
|
3328
|
+
readonly type: "uint256";
|
|
3329
|
+
}];
|
|
3330
|
+
readonly stateMutability: "view";
|
|
3331
|
+
readonly type: "function";
|
|
3332
|
+
}, {
|
|
3333
|
+
readonly inputs: readonly [{
|
|
3334
|
+
readonly internalType: "address";
|
|
3335
|
+
readonly name: "spender";
|
|
3336
|
+
readonly type: "address";
|
|
3337
|
+
}, {
|
|
3338
|
+
readonly internalType: "uint256";
|
|
3339
|
+
readonly name: "amount";
|
|
3340
|
+
readonly type: "uint256";
|
|
3341
|
+
}];
|
|
3342
|
+
readonly name: "approve";
|
|
3343
|
+
readonly outputs: readonly [{
|
|
3344
|
+
readonly internalType: "bool";
|
|
3345
|
+
readonly name: "";
|
|
3346
|
+
readonly type: "bool";
|
|
3347
|
+
}];
|
|
3348
|
+
readonly stateMutability: "nonpayable";
|
|
3349
|
+
readonly type: "function";
|
|
3350
|
+
}, {
|
|
3351
|
+
readonly inputs: readonly [{
|
|
3352
|
+
readonly internalType: "address";
|
|
3353
|
+
readonly name: "to";
|
|
3354
|
+
readonly type: "address";
|
|
3355
|
+
}, {
|
|
3356
|
+
readonly internalType: "uint256";
|
|
3357
|
+
readonly name: "amount";
|
|
3358
|
+
readonly type: "uint256";
|
|
3359
|
+
}];
|
|
3360
|
+
readonly name: "transfer";
|
|
3361
|
+
readonly outputs: readonly [{
|
|
3362
|
+
readonly internalType: "bool";
|
|
3363
|
+
readonly name: "";
|
|
3364
|
+
readonly type: "bool";
|
|
3365
|
+
}];
|
|
3366
|
+
readonly stateMutability: "nonpayable";
|
|
3367
|
+
readonly type: "function";
|
|
3368
|
+
}, {
|
|
3369
|
+
readonly inputs: readonly [{
|
|
3370
|
+
readonly internalType: "address";
|
|
3371
|
+
readonly name: "from";
|
|
3372
|
+
readonly type: "address";
|
|
3373
|
+
}, {
|
|
3374
|
+
readonly internalType: "address";
|
|
3375
|
+
readonly name: "to";
|
|
3376
|
+
readonly type: "address";
|
|
3377
|
+
}, {
|
|
3378
|
+
readonly internalType: "uint256";
|
|
3379
|
+
readonly name: "amount";
|
|
3380
|
+
readonly type: "uint256";
|
|
3381
|
+
}];
|
|
3382
|
+
readonly name: "transferFrom";
|
|
3383
|
+
readonly outputs: readonly [{
|
|
3384
|
+
readonly internalType: "bool";
|
|
3385
|
+
readonly name: "";
|
|
3386
|
+
readonly type: "bool";
|
|
3387
|
+
}];
|
|
3388
|
+
readonly stateMutability: "nonpayable";
|
|
3389
|
+
readonly type: "function";
|
|
3390
|
+
}, {
|
|
3391
|
+
readonly inputs: readonly [{
|
|
3392
|
+
readonly internalType: "address";
|
|
3393
|
+
readonly name: "owner";
|
|
3394
|
+
readonly type: "address";
|
|
3395
|
+
}, {
|
|
3396
|
+
readonly internalType: "address";
|
|
3397
|
+
readonly name: "spender";
|
|
3398
|
+
readonly type: "address";
|
|
3399
|
+
}, {
|
|
3400
|
+
readonly internalType: "uint256";
|
|
3401
|
+
readonly name: "value";
|
|
3402
|
+
readonly type: "uint256";
|
|
3403
|
+
}, {
|
|
3404
|
+
readonly internalType: "uint256";
|
|
3405
|
+
readonly name: "deadline";
|
|
3406
|
+
readonly type: "uint256";
|
|
3407
|
+
}, {
|
|
3408
|
+
readonly internalType: "uint8";
|
|
3409
|
+
readonly name: "v";
|
|
3410
|
+
readonly type: "uint8";
|
|
3411
|
+
}, {
|
|
3412
|
+
readonly internalType: "bytes32";
|
|
3413
|
+
readonly name: "r";
|
|
3414
|
+
readonly type: "bytes32";
|
|
3415
|
+
}, {
|
|
3416
|
+
readonly internalType: "bytes32";
|
|
3417
|
+
readonly name: "s";
|
|
3418
|
+
readonly type: "bytes32";
|
|
3419
|
+
}];
|
|
3420
|
+
readonly name: "permit";
|
|
3421
|
+
readonly outputs: readonly [];
|
|
3422
|
+
readonly stateMutability: "nonpayable";
|
|
3423
|
+
readonly type: "function";
|
|
3424
|
+
}], "transfer", readonly [`0x${string}`, bigint], ViemChain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
3425
|
+
transferFrom: <chainOverride extends ViemChain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
3426
|
+
readonly inputs: readonly [{
|
|
3427
|
+
readonly internalType: "address";
|
|
3428
|
+
readonly name: "";
|
|
3429
|
+
readonly type: "address";
|
|
3430
|
+
}, {
|
|
3431
|
+
readonly internalType: "address";
|
|
3432
|
+
readonly name: "";
|
|
3433
|
+
readonly type: "address";
|
|
3434
|
+
}];
|
|
3435
|
+
readonly name: "allowance";
|
|
3436
|
+
readonly outputs: readonly [{
|
|
3437
|
+
readonly internalType: "uint256";
|
|
3438
|
+
readonly name: "";
|
|
3439
|
+
readonly type: "uint256";
|
|
3440
|
+
}];
|
|
3441
|
+
readonly stateMutability: "view";
|
|
3442
|
+
readonly type: "function";
|
|
3443
|
+
}, {
|
|
3444
|
+
readonly inputs: readonly [{
|
|
3445
|
+
readonly internalType: "address";
|
|
3446
|
+
readonly name: "";
|
|
3447
|
+
readonly type: "address";
|
|
3448
|
+
}];
|
|
3449
|
+
readonly name: "balanceOf";
|
|
3450
|
+
readonly outputs: readonly [{
|
|
3451
|
+
readonly internalType: "uint256";
|
|
3452
|
+
readonly name: "";
|
|
3453
|
+
readonly type: "uint256";
|
|
3454
|
+
}];
|
|
3455
|
+
readonly stateMutability: "view";
|
|
3456
|
+
readonly type: "function";
|
|
3457
|
+
}, {
|
|
3458
|
+
readonly inputs: readonly [];
|
|
3459
|
+
readonly name: "totalSupply";
|
|
3460
|
+
readonly outputs: readonly [{
|
|
3461
|
+
readonly internalType: "uint256";
|
|
3462
|
+
readonly name: "";
|
|
3463
|
+
readonly type: "uint256";
|
|
3464
|
+
}];
|
|
3465
|
+
readonly stateMutability: "view";
|
|
3466
|
+
readonly type: "function";
|
|
3467
|
+
}, {
|
|
3468
|
+
readonly inputs: readonly [{
|
|
3469
|
+
readonly internalType: "address";
|
|
3470
|
+
readonly name: "spender";
|
|
3471
|
+
readonly type: "address";
|
|
3472
|
+
}, {
|
|
3473
|
+
readonly internalType: "uint256";
|
|
3474
|
+
readonly name: "amount";
|
|
3475
|
+
readonly type: "uint256";
|
|
3476
|
+
}];
|
|
3477
|
+
readonly name: "approve";
|
|
3478
|
+
readonly outputs: readonly [{
|
|
3479
|
+
readonly internalType: "bool";
|
|
3480
|
+
readonly name: "";
|
|
3481
|
+
readonly type: "bool";
|
|
3482
|
+
}];
|
|
3483
|
+
readonly stateMutability: "nonpayable";
|
|
3484
|
+
readonly type: "function";
|
|
3485
|
+
}, {
|
|
3486
|
+
readonly inputs: readonly [{
|
|
3487
|
+
readonly internalType: "address";
|
|
3488
|
+
readonly name: "to";
|
|
3489
|
+
readonly type: "address";
|
|
3490
|
+
}, {
|
|
3491
|
+
readonly internalType: "uint256";
|
|
3492
|
+
readonly name: "amount";
|
|
3493
|
+
readonly type: "uint256";
|
|
3494
|
+
}];
|
|
3495
|
+
readonly name: "transfer";
|
|
3496
|
+
readonly outputs: readonly [{
|
|
3497
|
+
readonly internalType: "bool";
|
|
3498
|
+
readonly name: "";
|
|
3499
|
+
readonly type: "bool";
|
|
3500
|
+
}];
|
|
3501
|
+
readonly stateMutability: "nonpayable";
|
|
3502
|
+
readonly type: "function";
|
|
3503
|
+
}, {
|
|
3504
|
+
readonly inputs: readonly [{
|
|
3505
|
+
readonly internalType: "address";
|
|
3506
|
+
readonly name: "from";
|
|
3507
|
+
readonly type: "address";
|
|
3508
|
+
}, {
|
|
3509
|
+
readonly internalType: "address";
|
|
3510
|
+
readonly name: "to";
|
|
3511
|
+
readonly type: "address";
|
|
3512
|
+
}, {
|
|
3513
|
+
readonly internalType: "uint256";
|
|
3514
|
+
readonly name: "amount";
|
|
3515
|
+
readonly type: "uint256";
|
|
3516
|
+
}];
|
|
3517
|
+
readonly name: "transferFrom";
|
|
3518
|
+
readonly outputs: readonly [{
|
|
3519
|
+
readonly internalType: "bool";
|
|
3520
|
+
readonly name: "";
|
|
3521
|
+
readonly type: "bool";
|
|
3522
|
+
}];
|
|
3523
|
+
readonly stateMutability: "nonpayable";
|
|
3524
|
+
readonly type: "function";
|
|
3525
|
+
}, {
|
|
3526
|
+
readonly inputs: readonly [{
|
|
3527
|
+
readonly internalType: "address";
|
|
3528
|
+
readonly name: "owner";
|
|
3529
|
+
readonly type: "address";
|
|
3530
|
+
}, {
|
|
3531
|
+
readonly internalType: "address";
|
|
3532
|
+
readonly name: "spender";
|
|
3533
|
+
readonly type: "address";
|
|
3534
|
+
}, {
|
|
3535
|
+
readonly internalType: "uint256";
|
|
3536
|
+
readonly name: "value";
|
|
3537
|
+
readonly type: "uint256";
|
|
3538
|
+
}, {
|
|
3539
|
+
readonly internalType: "uint256";
|
|
3540
|
+
readonly name: "deadline";
|
|
3541
|
+
readonly type: "uint256";
|
|
3542
|
+
}, {
|
|
3543
|
+
readonly internalType: "uint8";
|
|
3544
|
+
readonly name: "v";
|
|
3545
|
+
readonly type: "uint8";
|
|
3546
|
+
}, {
|
|
3547
|
+
readonly internalType: "bytes32";
|
|
3548
|
+
readonly name: "r";
|
|
3549
|
+
readonly type: "bytes32";
|
|
3550
|
+
}, {
|
|
3551
|
+
readonly internalType: "bytes32";
|
|
3552
|
+
readonly name: "s";
|
|
3553
|
+
readonly type: "bytes32";
|
|
3554
|
+
}];
|
|
3555
|
+
readonly name: "permit";
|
|
3556
|
+
readonly outputs: readonly [];
|
|
3557
|
+
readonly stateMutability: "nonpayable";
|
|
3558
|
+
readonly type: "function";
|
|
3559
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], ViemChain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
3560
|
+
readonly inputs: readonly [{
|
|
3561
|
+
readonly internalType: "address";
|
|
3562
|
+
readonly name: "";
|
|
3563
|
+
readonly type: "address";
|
|
3564
|
+
}, {
|
|
3565
|
+
readonly internalType: "address";
|
|
3566
|
+
readonly name: "";
|
|
3567
|
+
readonly type: "address";
|
|
3568
|
+
}];
|
|
3569
|
+
readonly name: "allowance";
|
|
3570
|
+
readonly outputs: readonly [{
|
|
3571
|
+
readonly internalType: "uint256";
|
|
3572
|
+
readonly name: "";
|
|
3573
|
+
readonly type: "uint256";
|
|
3574
|
+
}];
|
|
3575
|
+
readonly stateMutability: "view";
|
|
3576
|
+
readonly type: "function";
|
|
3577
|
+
}, {
|
|
3578
|
+
readonly inputs: readonly [{
|
|
3579
|
+
readonly internalType: "address";
|
|
3580
|
+
readonly name: "";
|
|
3581
|
+
readonly type: "address";
|
|
3582
|
+
}];
|
|
3583
|
+
readonly name: "balanceOf";
|
|
3584
|
+
readonly outputs: readonly [{
|
|
3585
|
+
readonly internalType: "uint256";
|
|
3586
|
+
readonly name: "";
|
|
3587
|
+
readonly type: "uint256";
|
|
3588
|
+
}];
|
|
3589
|
+
readonly stateMutability: "view";
|
|
3590
|
+
readonly type: "function";
|
|
3591
|
+
}, {
|
|
3592
|
+
readonly inputs: readonly [];
|
|
3593
|
+
readonly name: "totalSupply";
|
|
3594
|
+
readonly outputs: readonly [{
|
|
3595
|
+
readonly internalType: "uint256";
|
|
3596
|
+
readonly name: "";
|
|
3597
|
+
readonly type: "uint256";
|
|
3598
|
+
}];
|
|
3599
|
+
readonly stateMutability: "view";
|
|
3600
|
+
readonly type: "function";
|
|
3601
|
+
}, {
|
|
3602
|
+
readonly inputs: readonly [{
|
|
3603
|
+
readonly internalType: "address";
|
|
3604
|
+
readonly name: "spender";
|
|
3605
|
+
readonly type: "address";
|
|
3606
|
+
}, {
|
|
3607
|
+
readonly internalType: "uint256";
|
|
3608
|
+
readonly name: "amount";
|
|
3609
|
+
readonly type: "uint256";
|
|
3610
|
+
}];
|
|
3611
|
+
readonly name: "approve";
|
|
3612
|
+
readonly outputs: readonly [{
|
|
3613
|
+
readonly internalType: "bool";
|
|
3614
|
+
readonly name: "";
|
|
3615
|
+
readonly type: "bool";
|
|
3616
|
+
}];
|
|
3617
|
+
readonly stateMutability: "nonpayable";
|
|
3618
|
+
readonly type: "function";
|
|
3619
|
+
}, {
|
|
3620
|
+
readonly inputs: readonly [{
|
|
3621
|
+
readonly internalType: "address";
|
|
3622
|
+
readonly name: "to";
|
|
3623
|
+
readonly type: "address";
|
|
3624
|
+
}, {
|
|
3625
|
+
readonly internalType: "uint256";
|
|
3626
|
+
readonly name: "amount";
|
|
3627
|
+
readonly type: "uint256";
|
|
3628
|
+
}];
|
|
3629
|
+
readonly name: "transfer";
|
|
3630
|
+
readonly outputs: readonly [{
|
|
3631
|
+
readonly internalType: "bool";
|
|
3632
|
+
readonly name: "";
|
|
3633
|
+
readonly type: "bool";
|
|
3634
|
+
}];
|
|
3635
|
+
readonly stateMutability: "nonpayable";
|
|
3636
|
+
readonly type: "function";
|
|
3637
|
+
}, {
|
|
3638
|
+
readonly inputs: readonly [{
|
|
3639
|
+
readonly internalType: "address";
|
|
3640
|
+
readonly name: "from";
|
|
3641
|
+
readonly type: "address";
|
|
3642
|
+
}, {
|
|
3643
|
+
readonly internalType: "address";
|
|
3644
|
+
readonly name: "to";
|
|
3645
|
+
readonly type: "address";
|
|
3646
|
+
}, {
|
|
3647
|
+
readonly internalType: "uint256";
|
|
3648
|
+
readonly name: "amount";
|
|
3649
|
+
readonly type: "uint256";
|
|
3650
|
+
}];
|
|
3651
|
+
readonly name: "transferFrom";
|
|
3652
|
+
readonly outputs: readonly [{
|
|
3653
|
+
readonly internalType: "bool";
|
|
3654
|
+
readonly name: "";
|
|
3655
|
+
readonly type: "bool";
|
|
3656
|
+
}];
|
|
3657
|
+
readonly stateMutability: "nonpayable";
|
|
3658
|
+
readonly type: "function";
|
|
3659
|
+
}, {
|
|
3660
|
+
readonly inputs: readonly [{
|
|
3661
|
+
readonly internalType: "address";
|
|
3662
|
+
readonly name: "owner";
|
|
3663
|
+
readonly type: "address";
|
|
3664
|
+
}, {
|
|
3665
|
+
readonly internalType: "address";
|
|
3666
|
+
readonly name: "spender";
|
|
3667
|
+
readonly type: "address";
|
|
3668
|
+
}, {
|
|
3669
|
+
readonly internalType: "uint256";
|
|
3670
|
+
readonly name: "value";
|
|
3671
|
+
readonly type: "uint256";
|
|
3672
|
+
}, {
|
|
3673
|
+
readonly internalType: "uint256";
|
|
3674
|
+
readonly name: "deadline";
|
|
3675
|
+
readonly type: "uint256";
|
|
3676
|
+
}, {
|
|
3677
|
+
readonly internalType: "uint8";
|
|
3678
|
+
readonly name: "v";
|
|
3679
|
+
readonly type: "uint8";
|
|
3680
|
+
}, {
|
|
3681
|
+
readonly internalType: "bytes32";
|
|
3682
|
+
readonly name: "r";
|
|
3683
|
+
readonly type: "bytes32";
|
|
3684
|
+
}, {
|
|
3685
|
+
readonly internalType: "bytes32";
|
|
3686
|
+
readonly name: "s";
|
|
3687
|
+
readonly type: "bytes32";
|
|
3688
|
+
}];
|
|
3689
|
+
readonly name: "permit";
|
|
3690
|
+
readonly outputs: readonly [];
|
|
3691
|
+
readonly stateMutability: "nonpayable";
|
|
3692
|
+
readonly type: "function";
|
|
3693
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], ViemChain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
3694
|
+
};
|
|
3695
|
+
address: `0x${string}`;
|
|
3696
|
+
abi: readonly [{
|
|
3697
|
+
readonly inputs: readonly [{
|
|
3698
|
+
readonly internalType: "address";
|
|
3699
|
+
readonly name: "";
|
|
3700
|
+
readonly type: "address";
|
|
3701
|
+
}, {
|
|
3702
|
+
readonly internalType: "address";
|
|
3703
|
+
readonly name: "";
|
|
3704
|
+
readonly type: "address";
|
|
3705
|
+
}];
|
|
3706
|
+
readonly name: "allowance";
|
|
3707
|
+
readonly outputs: readonly [{
|
|
3708
|
+
readonly internalType: "uint256";
|
|
3709
|
+
readonly name: "";
|
|
3710
|
+
readonly type: "uint256";
|
|
3711
|
+
}];
|
|
3712
|
+
readonly stateMutability: "view";
|
|
3713
|
+
readonly type: "function";
|
|
3714
|
+
}, {
|
|
3715
|
+
readonly inputs: readonly [{
|
|
3716
|
+
readonly internalType: "address";
|
|
3717
|
+
readonly name: "";
|
|
3718
|
+
readonly type: "address";
|
|
3719
|
+
}];
|
|
3720
|
+
readonly name: "balanceOf";
|
|
3721
|
+
readonly outputs: readonly [{
|
|
3722
|
+
readonly internalType: "uint256";
|
|
3723
|
+
readonly name: "";
|
|
3724
|
+
readonly type: "uint256";
|
|
3725
|
+
}];
|
|
3726
|
+
readonly stateMutability: "view";
|
|
3727
|
+
readonly type: "function";
|
|
3728
|
+
}, {
|
|
3729
|
+
readonly inputs: readonly [];
|
|
3730
|
+
readonly name: "totalSupply";
|
|
3731
|
+
readonly outputs: readonly [{
|
|
3732
|
+
readonly internalType: "uint256";
|
|
3733
|
+
readonly name: "";
|
|
3734
|
+
readonly type: "uint256";
|
|
3735
|
+
}];
|
|
3736
|
+
readonly stateMutability: "view";
|
|
3737
|
+
readonly type: "function";
|
|
3738
|
+
}, {
|
|
3739
|
+
readonly inputs: readonly [{
|
|
3740
|
+
readonly internalType: "address";
|
|
3741
|
+
readonly name: "spender";
|
|
3742
|
+
readonly type: "address";
|
|
3743
|
+
}, {
|
|
3744
|
+
readonly internalType: "uint256";
|
|
3745
|
+
readonly name: "amount";
|
|
3746
|
+
readonly type: "uint256";
|
|
3747
|
+
}];
|
|
3748
|
+
readonly name: "approve";
|
|
3749
|
+
readonly outputs: readonly [{
|
|
3750
|
+
readonly internalType: "bool";
|
|
3751
|
+
readonly name: "";
|
|
3752
|
+
readonly type: "bool";
|
|
3753
|
+
}];
|
|
3754
|
+
readonly stateMutability: "nonpayable";
|
|
3755
|
+
readonly type: "function";
|
|
3756
|
+
}, {
|
|
3757
|
+
readonly inputs: readonly [{
|
|
3758
|
+
readonly internalType: "address";
|
|
3759
|
+
readonly name: "to";
|
|
3760
|
+
readonly type: "address";
|
|
3761
|
+
}, {
|
|
3762
|
+
readonly internalType: "uint256";
|
|
3763
|
+
readonly name: "amount";
|
|
3764
|
+
readonly type: "uint256";
|
|
3765
|
+
}];
|
|
3766
|
+
readonly name: "transfer";
|
|
3767
|
+
readonly outputs: readonly [{
|
|
3768
|
+
readonly internalType: "bool";
|
|
3769
|
+
readonly name: "";
|
|
3770
|
+
readonly type: "bool";
|
|
3771
|
+
}];
|
|
3772
|
+
readonly stateMutability: "nonpayable";
|
|
3773
|
+
readonly type: "function";
|
|
3774
|
+
}, {
|
|
3775
|
+
readonly inputs: readonly [{
|
|
3776
|
+
readonly internalType: "address";
|
|
3777
|
+
readonly name: "from";
|
|
3778
|
+
readonly type: "address";
|
|
3779
|
+
}, {
|
|
3780
|
+
readonly internalType: "address";
|
|
3781
|
+
readonly name: "to";
|
|
3782
|
+
readonly type: "address";
|
|
3783
|
+
}, {
|
|
3784
|
+
readonly internalType: "uint256";
|
|
3785
|
+
readonly name: "amount";
|
|
3786
|
+
readonly type: "uint256";
|
|
3787
|
+
}];
|
|
3788
|
+
readonly name: "transferFrom";
|
|
3789
|
+
readonly outputs: readonly [{
|
|
3790
|
+
readonly internalType: "bool";
|
|
3791
|
+
readonly name: "";
|
|
3792
|
+
readonly type: "bool";
|
|
3793
|
+
}];
|
|
3794
|
+
readonly stateMutability: "nonpayable";
|
|
3795
|
+
readonly type: "function";
|
|
3796
|
+
}, {
|
|
3797
|
+
readonly inputs: readonly [{
|
|
3798
|
+
readonly internalType: "address";
|
|
3799
|
+
readonly name: "owner";
|
|
3800
|
+
readonly type: "address";
|
|
3801
|
+
}, {
|
|
3802
|
+
readonly internalType: "address";
|
|
3803
|
+
readonly name: "spender";
|
|
3804
|
+
readonly type: "address";
|
|
3805
|
+
}, {
|
|
3806
|
+
readonly internalType: "uint256";
|
|
3807
|
+
readonly name: "value";
|
|
3808
|
+
readonly type: "uint256";
|
|
3809
|
+
}, {
|
|
3810
|
+
readonly internalType: "uint256";
|
|
3811
|
+
readonly name: "deadline";
|
|
3812
|
+
readonly type: "uint256";
|
|
3813
|
+
}, {
|
|
3814
|
+
readonly internalType: "uint8";
|
|
3815
|
+
readonly name: "v";
|
|
3816
|
+
readonly type: "uint8";
|
|
3817
|
+
}, {
|
|
3818
|
+
readonly internalType: "bytes32";
|
|
3819
|
+
readonly name: "r";
|
|
3820
|
+
readonly type: "bytes32";
|
|
3821
|
+
}, {
|
|
3822
|
+
readonly internalType: "bytes32";
|
|
3823
|
+
readonly name: "s";
|
|
3824
|
+
readonly type: "bytes32";
|
|
3825
|
+
}];
|
|
3826
|
+
readonly name: "permit";
|
|
3827
|
+
readonly outputs: readonly [];
|
|
3828
|
+
readonly stateMutability: "nonpayable";
|
|
3829
|
+
readonly type: "function";
|
|
3830
|
+
}];
|
|
3831
|
+
};
|
|
3832
|
+
/**
|
|
3833
|
+
* Get the allowance for the given owner and spender.
|
|
3834
|
+
*
|
|
3835
|
+
* @param owner Address of the owner.
|
|
3836
|
+
* @param spender Address of the spender.
|
|
3837
|
+
* @returns Allowance for the given owner and spender.
|
|
3838
|
+
*/
|
|
3839
|
+
getAllowance(owner: Address, spender: Address): Promise<bigint>;
|
|
3840
|
+
/**
|
|
3841
|
+
* Check the token balance of the wallet.
|
|
3842
|
+
*
|
|
3843
|
+
* @param walletAddress Wallet address to check the balance of.
|
|
3844
|
+
* @returns Token balance in wei.
|
|
3845
|
+
*/
|
|
3846
|
+
balanceOf(walletAddress: Address): Promise<bigint>;
|
|
3847
|
+
/**
|
|
3848
|
+
* Get the total supply of the token.
|
|
3849
|
+
*
|
|
3850
|
+
* @returns Total supply of the token.
|
|
3851
|
+
*/
|
|
3852
|
+
totalSupply(): Promise<bigint>;
|
|
3853
|
+
/**
|
|
3854
|
+
* Approve transaction for the spender to spend the owner's tokens.
|
|
3855
|
+
*
|
|
3856
|
+
* @param walletAddress Address of the caller of the transaction.
|
|
3857
|
+
* @param spenderAddress Address of the spender.
|
|
3858
|
+
* @param value Value to approve for the spender.
|
|
3859
|
+
* @returns Hash of the transaction.
|
|
3860
|
+
*/
|
|
3861
|
+
approve(walletAddress: Address, spenderAddress: Address, value: bigint): Promise<`0x${string}`>;
|
|
3862
|
+
/**
|
|
3863
|
+
* Transfer tokens from the owner's wallet to the given address.
|
|
3864
|
+
*
|
|
3865
|
+
* @param walletAddress Address of the owner's wallet.
|
|
3866
|
+
* @param toAddress Address to transfer the tokens to.
|
|
3867
|
+
* @param value Value to transfer.
|
|
3868
|
+
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
3869
|
+
* transaction with the given value.
|
|
3870
|
+
*
|
|
3871
|
+
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
3872
|
+
* transaction.
|
|
3873
|
+
*/
|
|
3874
|
+
transfer(walletAddress: Address, toAddress: Address, value: bigint): {
|
|
3875
|
+
transact: () => Promise<`0x${string}`>;
|
|
3876
|
+
estimate: () => Promise<bigint>;
|
|
3877
|
+
};
|
|
3878
|
+
/**
|
|
3879
|
+
* Transfer tokens from the given address to another address.
|
|
3880
|
+
*
|
|
3881
|
+
* @param walletAddress Address of the caller of the transaction.
|
|
3882
|
+
* @param fromAddress Address to transfer the tokens from.
|
|
3883
|
+
* @param toAddress Address to transfer the tokens to.
|
|
3884
|
+
* @param value Value to transfer.
|
|
3885
|
+
* @returns `transact: () => Promise<Address>` - Used to
|
|
3886
|
+
* make the transaction with the given value.
|
|
3887
|
+
*
|
|
3888
|
+
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
3889
|
+
* transaction.
|
|
3890
|
+
*/
|
|
3891
|
+
transferFrom(walletAddress: Address, fromAddress: Address, toAddress: Address, value: bigint): {
|
|
3892
|
+
transact: () => Promise<`0x${string}`>;
|
|
3893
|
+
estimate: () => Promise<bigint>;
|
|
3894
|
+
};
|
|
3895
|
+
/**
|
|
3896
|
+
* Get permit to be able to use the token.
|
|
3897
|
+
*
|
|
3898
|
+
* @param params Permit parameters.
|
|
3899
|
+
* @param params.account Address of the caller of the transaction.
|
|
3900
|
+
* @param params.owner Address of the owner.
|
|
3901
|
+
* @param params.spender Address of the spender.
|
|
3902
|
+
* @param params.value Value to approve for the spender.
|
|
3903
|
+
* @param params.deadline Deadline for the permit.
|
|
3904
|
+
* @param params.v v value of the permit.
|
|
3905
|
+
* @param params.r r value of the permit.
|
|
3906
|
+
* @param params.s s value of the permit.
|
|
3907
|
+
* @returns `transact: () => Promise<Address>` - Used to make the
|
|
3908
|
+
* transaction with the given value.
|
|
3909
|
+
*
|
|
3910
|
+
* `estimate: () => Promise<bigint>` - Gas estimate of the
|
|
3911
|
+
* transaction.
|
|
3912
|
+
*/
|
|
3913
|
+
permit(params: PermitParams): {
|
|
3914
|
+
transact: () => Promise<`0x${string}`>;
|
|
3915
|
+
estimate: () => Promise<bigint>;
|
|
3916
|
+
};
|
|
3917
|
+
}
|