@stargatefinance/stg-evm-sdk-v2 1.3.2 → 2.0.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/README.md +3 -3
- package/deployments/gensyn-mainnet/CreditMessaging.json +1501 -0
- package/deployments/gensyn-mainnet/FeeLibV1USDC.json +611 -0
- package/deployments/gensyn-mainnet/OFTWrapper.json +1506 -0
- package/deployments/gensyn-mainnet/StargateOFTUSDC.json +1978 -0
- package/deployments/gensyn-mainnet/TokenMessaging.json +2475 -0
- package/deployments/gensyn-mainnet/Treasurer.json +450 -0
- package/deployments/moca-mainnet/CreditMessaging.json +1501 -0
- package/deployments/moca-mainnet/FeeLibV1ETH.json +611 -0
- package/deployments/moca-mainnet/FeeLibV1USDC.json +611 -0
- package/deployments/moca-mainnet/OFTTokenETH.json +693 -0
- package/deployments/moca-mainnet/OFTWrapper.json +1506 -0
- package/deployments/moca-mainnet/StargateOFTETH.json +1989 -0
- package/deployments/moca-mainnet/StargateOFTUSDC.json +1978 -0
- package/deployments/moca-mainnet/TokenMessaging.json +2475 -0
- package/deployments/moca-mainnet/Treasurer.json +450 -0
- package/dist/deployed/CreditMessaging.cjs +6 -0
- package/dist/deployed/CreditMessaging.cjs.map +1 -1
- package/dist/deployed/CreditMessaging.mjs +6 -0
- package/dist/deployed/CreditMessaging.mjs.map +1 -1
- package/dist/deployed/FeeLibV1ETH.cjs +3 -0
- package/dist/deployed/FeeLibV1ETH.cjs.map +1 -1
- package/dist/deployed/FeeLibV1ETH.mjs +3 -0
- package/dist/deployed/FeeLibV1ETH.mjs.map +1 -1
- package/dist/deployed/FeeLibV1USDC.cjs +6 -0
- package/dist/deployed/FeeLibV1USDC.cjs.map +1 -1
- package/dist/deployed/FeeLibV1USDC.mjs +6 -0
- package/dist/deployed/FeeLibV1USDC.mjs.map +1 -1
- package/dist/deployed/OFTTokenETH.cjs +3 -0
- package/dist/deployed/OFTTokenETH.cjs.map +1 -1
- package/dist/deployed/OFTTokenETH.mjs +3 -0
- package/dist/deployed/OFTTokenETH.mjs.map +1 -1
- package/dist/deployed/OFTWrapper.cjs +6 -0
- package/dist/deployed/OFTWrapper.cjs.map +1 -1
- package/dist/deployed/OFTWrapper.mjs +6 -0
- package/dist/deployed/OFTWrapper.mjs.map +1 -1
- package/dist/deployed/StargateOFTETH.cjs +3 -0
- package/dist/deployed/StargateOFTETH.cjs.map +1 -1
- package/dist/deployed/StargateOFTETH.mjs +3 -0
- package/dist/deployed/StargateOFTETH.mjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC.cjs +6 -0
- package/dist/deployed/StargateOFTUSDC.cjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC.mjs +6 -0
- package/dist/deployed/StargateOFTUSDC.mjs.map +1 -1
- package/dist/deployed/TokenMessaging.cjs +6 -0
- package/dist/deployed/TokenMessaging.cjs.map +1 -1
- package/dist/deployed/TokenMessaging.mjs +6 -0
- package/dist/deployed/TokenMessaging.mjs.map +1 -1
- package/dist/deployed/Treasurer.cjs +6 -0
- package/dist/deployed/Treasurer.cjs.map +1 -1
- package/dist/deployed/Treasurer.mjs +6 -0
- package/dist/deployed/Treasurer.mjs.map +1 -1
- package/dist/deployed/contracts.cjs +45 -0
- package/dist/deployed/contracts.cjs.map +1 -1
- package/dist/deployed/contracts.mjs +45 -0
- package/dist/deployed/contracts.mjs.map +1 -1
- package/dist/deployed/index.cjs +45 -0
- package/dist/deployed/index.cjs.map +1 -1
- package/dist/deployed/index.mjs +45 -0
- package/dist/deployed/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/deployed/CreditMessaging-IGOQxSXd.d.mts +0 -1943
- package/dist/deployed/CreditMessaging-IGOQxSXd.d.ts +0 -1943
- package/dist/deployed/CreditMessaging.d.mts +0 -1
- package/dist/deployed/CreditMessaging.d.ts +0 -1
- package/dist/deployed/FeeLibV1ETH-8z96VA3A.d.mts +0 -497
- package/dist/deployed/FeeLibV1ETH-8z96VA3A.d.ts +0 -497
- package/dist/deployed/FeeLibV1ETH.d.mts +0 -1
- package/dist/deployed/FeeLibV1ETH.d.ts +0 -1
- package/dist/deployed/FeeLibV1EURC-yReJhQhE.d.mts +0 -352
- package/dist/deployed/FeeLibV1EURC-yReJhQhE.d.ts +0 -352
- package/dist/deployed/FeeLibV1EURC.d.mts +0 -1
- package/dist/deployed/FeeLibV1EURC.d.ts +0 -1
- package/dist/deployed/FeeLibV1METIS-B3y8ZOp-.d.mts +0 -328
- package/dist/deployed/FeeLibV1METIS-B3y8ZOp-.d.ts +0 -328
- package/dist/deployed/FeeLibV1METIS.d.mts +0 -1
- package/dist/deployed/FeeLibV1METIS.d.ts +0 -1
- package/dist/deployed/FeeLibV1USDC-C8_hd8f9.d.mts +0 -524
- package/dist/deployed/FeeLibV1USDC-C8_hd8f9.d.ts +0 -524
- package/dist/deployed/FeeLibV1USDC.d.mts +0 -1
- package/dist/deployed/FeeLibV1USDC.d.ts +0 -1
- package/dist/deployed/FeeLibV1USDT-aw57zGRO.d.mts +0 -468
- package/dist/deployed/FeeLibV1USDT-aw57zGRO.d.ts +0 -468
- package/dist/deployed/FeeLibV1USDT.d.mts +0 -1
- package/dist/deployed/FeeLibV1USDT.d.ts +0 -1
- package/dist/deployed/FeeLibV1mETH-D6xTtHP2.d.mts +0 -328
- package/dist/deployed/FeeLibV1mETH-D6xTtHP2.d.ts +0 -328
- package/dist/deployed/FeeLibV1mETH.d.mts +0 -1
- package/dist/deployed/FeeLibV1mETH.d.ts +0 -1
- package/dist/deployed/OFTTokenETH-D8zQcFzC.d.mts +0 -473
- package/dist/deployed/OFTTokenETH-D8zQcFzC.d.ts +0 -473
- package/dist/deployed/OFTTokenETH.d.mts +0 -1
- package/dist/deployed/OFTTokenETH.d.ts +0 -1
- package/dist/deployed/OFTWrapper-Ct2E5Mwd.d.mts +0 -1364
- package/dist/deployed/OFTWrapper-Ct2E5Mwd.d.ts +0 -1364
- package/dist/deployed/OFTWrapper.d.mts +0 -1
- package/dist/deployed/OFTWrapper.d.ts +0 -1
- package/dist/deployed/RewardLib-DZPcpNd5.d.mts +0 -115
- package/dist/deployed/RewardLib-DZPcpNd5.d.ts +0 -115
- package/dist/deployed/RewardLib.d.mts +0 -1
- package/dist/deployed/RewardLib.d.ts +0 -1
- package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.mts +0 -115
- package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.ts +0 -115
- package/dist/deployed/RewardRegistryLib.d.mts +0 -1
- package/dist/deployed/RewardRegistryLib.d.ts +0 -1
- package/dist/deployed/RewardTokenMock-B_bipjnn.d.mts +0 -308
- package/dist/deployed/RewardTokenMock-B_bipjnn.d.ts +0 -308
- package/dist/deployed/RewardTokenMock.d.mts +0 -1
- package/dist/deployed/RewardTokenMock.d.ts +0 -1
- package/dist/deployed/StargateMultiRewarder-CI0gdC89.d.mts +0 -622
- package/dist/deployed/StargateMultiRewarder-CI0gdC89.d.ts +0 -622
- package/dist/deployed/StargateMultiRewarder.d.mts +0 -1
- package/dist/deployed/StargateMultiRewarder.d.ts +0 -1
- package/dist/deployed/StargateOFTETH-DnpwT3Cg.d.mts +0 -2511
- package/dist/deployed/StargateOFTETH-DnpwT3Cg.d.ts +0 -2511
- package/dist/deployed/StargateOFTETH.d.mts +0 -1
- package/dist/deployed/StargateOFTETH.d.ts +0 -1
- package/dist/deployed/StargateOFTEURC-DKulPApM.d.mts +0 -3683
- package/dist/deployed/StargateOFTEURC-DKulPApM.d.ts +0 -3683
- package/dist/deployed/StargateOFTEURC.d.mts +0 -1
- package/dist/deployed/StargateOFTEURC.d.ts +0 -1
- package/dist/deployed/StargateOFTUSDC-gNoY8tx0.d.mts +0 -4995
- package/dist/deployed/StargateOFTUSDC-gNoY8tx0.d.ts +0 -4995
- package/dist/deployed/StargateOFTUSDC.d.mts +0 -1
- package/dist/deployed/StargateOFTUSDC.d.ts +0 -1
- package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.mts +0 -2492
- package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.ts +0 -2492
- package/dist/deployed/StargateOFTUSDT.d.mts +0 -1
- package/dist/deployed/StargateOFTUSDT.d.ts +0 -1
- package/dist/deployed/StargatePoolETH-lOsiDbJC.d.mts +0 -1530
- package/dist/deployed/StargatePoolETH-lOsiDbJC.d.ts +0 -1530
- package/dist/deployed/StargatePoolETH.d.mts +0 -1
- package/dist/deployed/StargatePoolETH.d.ts +0 -1
- package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.mts +0 -1582
- package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.ts +0 -1582
- package/dist/deployed/StargatePoolEURC.d.mts +0 -1
- package/dist/deployed/StargatePoolEURC.d.ts +0 -1
- package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.mts +0 -1519
- package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.ts +0 -1519
- package/dist/deployed/StargatePoolMETIS.d.mts +0 -1
- package/dist/deployed/StargatePoolMETIS.d.ts +0 -1
- package/dist/deployed/StargatePoolNative-BKokoo5S.d.mts +0 -1568
- package/dist/deployed/StargatePoolNative-BKokoo5S.d.ts +0 -1568
- package/dist/deployed/StargatePoolNative.d.mts +0 -1
- package/dist/deployed/StargatePoolNative.d.ts +0 -1
- package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.mts +0 -1632
- package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.ts +0 -1632
- package/dist/deployed/StargatePoolUSDC.d.mts +0 -1
- package/dist/deployed/StargatePoolUSDC.d.ts +0 -1
- package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.mts +0 -1627
- package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.ts +0 -1627
- package/dist/deployed/StargatePoolUSDT.d.mts +0 -1
- package/dist/deployed/StargatePoolUSDT.d.ts +0 -1
- package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.mts +0 -1519
- package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.ts +0 -1519
- package/dist/deployed/StargatePoolmETH.d.mts +0 -1
- package/dist/deployed/StargatePoolmETH.d.ts +0 -1
- package/dist/deployed/StargateStaking-BL9axih_.d.mts +0 -459
- package/dist/deployed/StargateStaking-BL9axih_.d.ts +0 -459
- package/dist/deployed/StargateStaking.d.mts +0 -1
- package/dist/deployed/StargateStaking.d.ts +0 -1
- package/dist/deployed/TokenMessaging-DblIo7R9.d.mts +0 -3177
- package/dist/deployed/TokenMessaging-DblIo7R9.d.ts +0 -3177
- package/dist/deployed/TokenMessaging.d.mts +0 -1
- package/dist/deployed/TokenMessaging.d.ts +0 -1
- package/dist/deployed/Treasurer-OOFshPmY.d.mts +0 -453
- package/dist/deployed/Treasurer-OOFshPmY.d.ts +0 -453
- package/dist/deployed/Treasurer.d.mts +0 -1
- package/dist/deployed/Treasurer.d.ts +0 -1
- package/dist/deployed/USDCImpl-DN89Rpdz.d.mts +0 -1124
- package/dist/deployed/USDCImpl-DN89Rpdz.d.ts +0 -1124
- package/dist/deployed/USDCImpl.d.mts +0 -1
- package/dist/deployed/USDCImpl.d.ts +0 -1
- package/dist/deployed/USDCProxy-BsrYumZv.d.mts +0 -141
- package/dist/deployed/USDCProxy-BsrYumZv.d.ts +0 -141
- package/dist/deployed/USDCProxy.d.mts +0 -1
- package/dist/deployed/USDCProxy.d.ts +0 -1
- package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.mts +0 -73
- package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.ts +0 -73
- package/dist/deployed/USDCSignatureLib.d.mts +0 -1
- package/dist/deployed/USDCSignatureLib.d.ts +0 -1
- package/dist/deployed/USDT-DVAQjDdu.d.mts +0 -690
- package/dist/deployed/USDT-DVAQjDdu.d.ts +0 -690
- package/dist/deployed/USDT.d.mts +0 -1
- package/dist/deployed/USDT.d.ts +0 -1
- package/dist/deployed/contracts-BtrnE9gq.d.ts +0 -68
- package/dist/deployed/contracts-CRtAyxkQ.d.mts +0 -68
- package/dist/deployed/contracts.d.mts +0 -31
- package/dist/deployed/contracts.d.ts +0 -31
- package/dist/deployed/index.d.mts +0 -36
- package/dist/deployed/index.d.ts +0 -36
|
@@ -1,1632 +0,0 @@
|
|
|
1
|
-
declare const addresses: {
|
|
2
|
-
"arbitrum-mainnet": string;
|
|
3
|
-
"arbsep-testnet": string;
|
|
4
|
-
"aurora-mainnet": string;
|
|
5
|
-
"avalanche-mainnet": string;
|
|
6
|
-
"base-mainnet": string;
|
|
7
|
-
"bsc-mainnet": string;
|
|
8
|
-
"coredao-mainnet": string;
|
|
9
|
-
"ethereum-mainnet": string;
|
|
10
|
-
"ethereum-sandbox-local": string;
|
|
11
|
-
"gnosis-mainnet": string;
|
|
12
|
-
"mantle-mainnet": string;
|
|
13
|
-
"mantlesep-testnet": string;
|
|
14
|
-
"monad-testnet": string;
|
|
15
|
-
"optimism-mainnet": string;
|
|
16
|
-
"optsep-testnet": string;
|
|
17
|
-
"polygon-mainnet": string;
|
|
18
|
-
"scroll-mainnet": string;
|
|
19
|
-
"sei-mainnet": string;
|
|
20
|
-
"sepolia-testnet": string;
|
|
21
|
-
"soneium-mainnet": string;
|
|
22
|
-
"sonic-mainnet": string;
|
|
23
|
-
"sophon-mainnet": string;
|
|
24
|
-
};
|
|
25
|
-
declare const transactionHashes: {
|
|
26
|
-
"arbitrum-mainnet": string;
|
|
27
|
-
"arbsep-testnet": string;
|
|
28
|
-
"aurora-mainnet": string;
|
|
29
|
-
"avalanche-mainnet": string;
|
|
30
|
-
"base-mainnet": string;
|
|
31
|
-
"bsc-mainnet": string;
|
|
32
|
-
"coredao-mainnet": string;
|
|
33
|
-
"ethereum-mainnet": string;
|
|
34
|
-
"ethereum-sandbox-local": string;
|
|
35
|
-
"gnosis-mainnet": string;
|
|
36
|
-
"mantle-mainnet": string;
|
|
37
|
-
"mantlesep-testnet": string;
|
|
38
|
-
"monad-testnet": string;
|
|
39
|
-
"optimism-mainnet": string;
|
|
40
|
-
"optsep-testnet": string;
|
|
41
|
-
"polygon-mainnet": string;
|
|
42
|
-
"scroll-mainnet": string;
|
|
43
|
-
"sei-mainnet": string;
|
|
44
|
-
"sepolia-testnet": string;
|
|
45
|
-
"soneium-mainnet": string;
|
|
46
|
-
"sonic-mainnet": string;
|
|
47
|
-
};
|
|
48
|
-
declare const abi0: readonly [{
|
|
49
|
-
readonly inputs: readonly [{
|
|
50
|
-
readonly internalType: "string";
|
|
51
|
-
readonly name: "_lpTokenName";
|
|
52
|
-
readonly type: "string";
|
|
53
|
-
}, {
|
|
54
|
-
readonly internalType: "string";
|
|
55
|
-
readonly name: "_lpTokenSymbol";
|
|
56
|
-
readonly type: "string";
|
|
57
|
-
}, {
|
|
58
|
-
readonly internalType: "address";
|
|
59
|
-
readonly name: "_token";
|
|
60
|
-
readonly type: "address";
|
|
61
|
-
}, {
|
|
62
|
-
readonly internalType: "uint8";
|
|
63
|
-
readonly name: "_tokenDecimals";
|
|
64
|
-
readonly type: "uint8";
|
|
65
|
-
}, {
|
|
66
|
-
readonly internalType: "uint8";
|
|
67
|
-
readonly name: "_sharedDecimals";
|
|
68
|
-
readonly type: "uint8";
|
|
69
|
-
}, {
|
|
70
|
-
readonly internalType: "address";
|
|
71
|
-
readonly name: "_endpoint";
|
|
72
|
-
readonly type: "address";
|
|
73
|
-
}, {
|
|
74
|
-
readonly internalType: "address";
|
|
75
|
-
readonly name: "_owner";
|
|
76
|
-
readonly type: "address";
|
|
77
|
-
}];
|
|
78
|
-
readonly stateMutability: "nonpayable";
|
|
79
|
-
readonly type: "constructor";
|
|
80
|
-
}, {
|
|
81
|
-
readonly inputs: readonly [];
|
|
82
|
-
readonly name: "InvalidLocalDecimals";
|
|
83
|
-
readonly type: "error";
|
|
84
|
-
}, {
|
|
85
|
-
readonly inputs: readonly [];
|
|
86
|
-
readonly name: "Path_AlreadyHasCredit";
|
|
87
|
-
readonly type: "error";
|
|
88
|
-
}, {
|
|
89
|
-
readonly inputs: readonly [];
|
|
90
|
-
readonly name: "Path_InsufficientCredit";
|
|
91
|
-
readonly type: "error";
|
|
92
|
-
}, {
|
|
93
|
-
readonly inputs: readonly [];
|
|
94
|
-
readonly name: "Path_UnlimitedCredit";
|
|
95
|
-
readonly type: "error";
|
|
96
|
-
}, {
|
|
97
|
-
readonly inputs: readonly [{
|
|
98
|
-
readonly internalType: "uint256";
|
|
99
|
-
readonly name: "amountLD";
|
|
100
|
-
readonly type: "uint256";
|
|
101
|
-
}, {
|
|
102
|
-
readonly internalType: "uint256";
|
|
103
|
-
readonly name: "minAmountLD";
|
|
104
|
-
readonly type: "uint256";
|
|
105
|
-
}];
|
|
106
|
-
readonly name: "SlippageExceeded";
|
|
107
|
-
readonly type: "error";
|
|
108
|
-
}, {
|
|
109
|
-
readonly inputs: readonly [];
|
|
110
|
-
readonly name: "StargatePoolUSDC_BurnAmountExceedsBalance";
|
|
111
|
-
readonly type: "error";
|
|
112
|
-
}, {
|
|
113
|
-
readonly inputs: readonly [];
|
|
114
|
-
readonly name: "Stargate_InsufficientFare";
|
|
115
|
-
readonly type: "error";
|
|
116
|
-
}, {
|
|
117
|
-
readonly inputs: readonly [];
|
|
118
|
-
readonly name: "Stargate_InvalidAmount";
|
|
119
|
-
readonly type: "error";
|
|
120
|
-
}, {
|
|
121
|
-
readonly inputs: readonly [];
|
|
122
|
-
readonly name: "Stargate_InvalidPath";
|
|
123
|
-
readonly type: "error";
|
|
124
|
-
}, {
|
|
125
|
-
readonly inputs: readonly [];
|
|
126
|
-
readonly name: "Stargate_InvalidTokenDecimals";
|
|
127
|
-
readonly type: "error";
|
|
128
|
-
}, {
|
|
129
|
-
readonly inputs: readonly [];
|
|
130
|
-
readonly name: "Stargate_LzTokenUnavailable";
|
|
131
|
-
readonly type: "error";
|
|
132
|
-
}, {
|
|
133
|
-
readonly inputs: readonly [];
|
|
134
|
-
readonly name: "Stargate_OnlyTaxi";
|
|
135
|
-
readonly type: "error";
|
|
136
|
-
}, {
|
|
137
|
-
readonly inputs: readonly [];
|
|
138
|
-
readonly name: "Stargate_OutflowFailed";
|
|
139
|
-
readonly type: "error";
|
|
140
|
-
}, {
|
|
141
|
-
readonly inputs: readonly [];
|
|
142
|
-
readonly name: "Stargate_Paused";
|
|
143
|
-
readonly type: "error";
|
|
144
|
-
}, {
|
|
145
|
-
readonly inputs: readonly [];
|
|
146
|
-
readonly name: "Stargate_RecoverTokenUnsupported";
|
|
147
|
-
readonly type: "error";
|
|
148
|
-
}, {
|
|
149
|
-
readonly inputs: readonly [];
|
|
150
|
-
readonly name: "Stargate_ReentrantCall";
|
|
151
|
-
readonly type: "error";
|
|
152
|
-
}, {
|
|
153
|
-
readonly inputs: readonly [];
|
|
154
|
-
readonly name: "Stargate_SlippageTooHigh";
|
|
155
|
-
readonly type: "error";
|
|
156
|
-
}, {
|
|
157
|
-
readonly inputs: readonly [];
|
|
158
|
-
readonly name: "Stargate_Unauthorized";
|
|
159
|
-
readonly type: "error";
|
|
160
|
-
}, {
|
|
161
|
-
readonly inputs: readonly [];
|
|
162
|
-
readonly name: "Stargate_UnreceivedTokenNotFound";
|
|
163
|
-
readonly type: "error";
|
|
164
|
-
}, {
|
|
165
|
-
readonly inputs: readonly [];
|
|
166
|
-
readonly name: "Transfer_ApproveFailed";
|
|
167
|
-
readonly type: "error";
|
|
168
|
-
}, {
|
|
169
|
-
readonly inputs: readonly [];
|
|
170
|
-
readonly name: "Transfer_TransferFailed";
|
|
171
|
-
readonly type: "error";
|
|
172
|
-
}, {
|
|
173
|
-
readonly anonymous: false;
|
|
174
|
-
readonly inputs: readonly [{
|
|
175
|
-
readonly components: readonly [{
|
|
176
|
-
readonly internalType: "address";
|
|
177
|
-
readonly name: "feeLib";
|
|
178
|
-
readonly type: "address";
|
|
179
|
-
}, {
|
|
180
|
-
readonly internalType: "address";
|
|
181
|
-
readonly name: "planner";
|
|
182
|
-
readonly type: "address";
|
|
183
|
-
}, {
|
|
184
|
-
readonly internalType: "address";
|
|
185
|
-
readonly name: "treasurer";
|
|
186
|
-
readonly type: "address";
|
|
187
|
-
}, {
|
|
188
|
-
readonly internalType: "address";
|
|
189
|
-
readonly name: "tokenMessaging";
|
|
190
|
-
readonly type: "address";
|
|
191
|
-
}, {
|
|
192
|
-
readonly internalType: "address";
|
|
193
|
-
readonly name: "creditMessaging";
|
|
194
|
-
readonly type: "address";
|
|
195
|
-
}, {
|
|
196
|
-
readonly internalType: "address";
|
|
197
|
-
readonly name: "lzToken";
|
|
198
|
-
readonly type: "address";
|
|
199
|
-
}];
|
|
200
|
-
readonly indexed: false;
|
|
201
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
202
|
-
readonly name: "config";
|
|
203
|
-
readonly type: "tuple";
|
|
204
|
-
}];
|
|
205
|
-
readonly name: "AddressConfigSet";
|
|
206
|
-
readonly type: "event";
|
|
207
|
-
}, {
|
|
208
|
-
readonly anonymous: false;
|
|
209
|
-
readonly inputs: readonly [{
|
|
210
|
-
readonly indexed: false;
|
|
211
|
-
readonly internalType: "uint32";
|
|
212
|
-
readonly name: "srcEid";
|
|
213
|
-
readonly type: "uint32";
|
|
214
|
-
}, {
|
|
215
|
-
readonly components: readonly [{
|
|
216
|
-
readonly internalType: "uint32";
|
|
217
|
-
readonly name: "srcEid";
|
|
218
|
-
readonly type: "uint32";
|
|
219
|
-
}, {
|
|
220
|
-
readonly internalType: "uint64";
|
|
221
|
-
readonly name: "amount";
|
|
222
|
-
readonly type: "uint64";
|
|
223
|
-
}];
|
|
224
|
-
readonly indexed: false;
|
|
225
|
-
readonly internalType: "struct Credit[]";
|
|
226
|
-
readonly name: "credits";
|
|
227
|
-
readonly type: "tuple[]";
|
|
228
|
-
}];
|
|
229
|
-
readonly name: "CreditsReceived";
|
|
230
|
-
readonly type: "event";
|
|
231
|
-
}, {
|
|
232
|
-
readonly anonymous: false;
|
|
233
|
-
readonly inputs: readonly [{
|
|
234
|
-
readonly indexed: false;
|
|
235
|
-
readonly internalType: "uint32";
|
|
236
|
-
readonly name: "dstEid";
|
|
237
|
-
readonly type: "uint32";
|
|
238
|
-
}, {
|
|
239
|
-
readonly components: readonly [{
|
|
240
|
-
readonly internalType: "uint32";
|
|
241
|
-
readonly name: "srcEid";
|
|
242
|
-
readonly type: "uint32";
|
|
243
|
-
}, {
|
|
244
|
-
readonly internalType: "uint64";
|
|
245
|
-
readonly name: "amount";
|
|
246
|
-
readonly type: "uint64";
|
|
247
|
-
}];
|
|
248
|
-
readonly indexed: false;
|
|
249
|
-
readonly internalType: "struct Credit[]";
|
|
250
|
-
readonly name: "credits";
|
|
251
|
-
readonly type: "tuple[]";
|
|
252
|
-
}];
|
|
253
|
-
readonly name: "CreditsSent";
|
|
254
|
-
readonly type: "event";
|
|
255
|
-
}, {
|
|
256
|
-
readonly anonymous: false;
|
|
257
|
-
readonly inputs: readonly [{
|
|
258
|
-
readonly indexed: true;
|
|
259
|
-
readonly internalType: "address";
|
|
260
|
-
readonly name: "payer";
|
|
261
|
-
readonly type: "address";
|
|
262
|
-
}, {
|
|
263
|
-
readonly indexed: true;
|
|
264
|
-
readonly internalType: "address";
|
|
265
|
-
readonly name: "receiver";
|
|
266
|
-
readonly type: "address";
|
|
267
|
-
}, {
|
|
268
|
-
readonly indexed: false;
|
|
269
|
-
readonly internalType: "uint256";
|
|
270
|
-
readonly name: "amountLD";
|
|
271
|
-
readonly type: "uint256";
|
|
272
|
-
}];
|
|
273
|
-
readonly name: "Deposited";
|
|
274
|
-
readonly type: "event";
|
|
275
|
-
}, {
|
|
276
|
-
readonly anonymous: false;
|
|
277
|
-
readonly inputs: readonly [{
|
|
278
|
-
readonly indexed: false;
|
|
279
|
-
readonly internalType: "uint32";
|
|
280
|
-
readonly name: "dstEid";
|
|
281
|
-
readonly type: "uint32";
|
|
282
|
-
}, {
|
|
283
|
-
readonly indexed: false;
|
|
284
|
-
readonly internalType: "bool";
|
|
285
|
-
readonly name: "oft";
|
|
286
|
-
readonly type: "bool";
|
|
287
|
-
}];
|
|
288
|
-
readonly name: "OFTPathSet";
|
|
289
|
-
readonly type: "event";
|
|
290
|
-
}, {
|
|
291
|
-
readonly anonymous: false;
|
|
292
|
-
readonly inputs: readonly [{
|
|
293
|
-
readonly indexed: true;
|
|
294
|
-
readonly internalType: "bytes32";
|
|
295
|
-
readonly name: "guid";
|
|
296
|
-
readonly type: "bytes32";
|
|
297
|
-
}, {
|
|
298
|
-
readonly indexed: false;
|
|
299
|
-
readonly internalType: "uint32";
|
|
300
|
-
readonly name: "srcEid";
|
|
301
|
-
readonly type: "uint32";
|
|
302
|
-
}, {
|
|
303
|
-
readonly indexed: true;
|
|
304
|
-
readonly internalType: "address";
|
|
305
|
-
readonly name: "toAddress";
|
|
306
|
-
readonly type: "address";
|
|
307
|
-
}, {
|
|
308
|
-
readonly indexed: false;
|
|
309
|
-
readonly internalType: "uint256";
|
|
310
|
-
readonly name: "amountReceivedLD";
|
|
311
|
-
readonly type: "uint256";
|
|
312
|
-
}];
|
|
313
|
-
readonly name: "OFTReceived";
|
|
314
|
-
readonly type: "event";
|
|
315
|
-
}, {
|
|
316
|
-
readonly anonymous: false;
|
|
317
|
-
readonly inputs: readonly [{
|
|
318
|
-
readonly indexed: true;
|
|
319
|
-
readonly internalType: "bytes32";
|
|
320
|
-
readonly name: "guid";
|
|
321
|
-
readonly type: "bytes32";
|
|
322
|
-
}, {
|
|
323
|
-
readonly indexed: false;
|
|
324
|
-
readonly internalType: "uint32";
|
|
325
|
-
readonly name: "dstEid";
|
|
326
|
-
readonly type: "uint32";
|
|
327
|
-
}, {
|
|
328
|
-
readonly indexed: true;
|
|
329
|
-
readonly internalType: "address";
|
|
330
|
-
readonly name: "fromAddress";
|
|
331
|
-
readonly type: "address";
|
|
332
|
-
}, {
|
|
333
|
-
readonly indexed: false;
|
|
334
|
-
readonly internalType: "uint256";
|
|
335
|
-
readonly name: "amountSentLD";
|
|
336
|
-
readonly type: "uint256";
|
|
337
|
-
}, {
|
|
338
|
-
readonly indexed: false;
|
|
339
|
-
readonly internalType: "uint256";
|
|
340
|
-
readonly name: "amountReceivedLD";
|
|
341
|
-
readonly type: "uint256";
|
|
342
|
-
}];
|
|
343
|
-
readonly name: "OFTSent";
|
|
344
|
-
readonly type: "event";
|
|
345
|
-
}, {
|
|
346
|
-
readonly anonymous: false;
|
|
347
|
-
readonly inputs: readonly [{
|
|
348
|
-
readonly indexed: true;
|
|
349
|
-
readonly internalType: "address";
|
|
350
|
-
readonly name: "previousOwner";
|
|
351
|
-
readonly type: "address";
|
|
352
|
-
}, {
|
|
353
|
-
readonly indexed: true;
|
|
354
|
-
readonly internalType: "address";
|
|
355
|
-
readonly name: "newOwner";
|
|
356
|
-
readonly type: "address";
|
|
357
|
-
}];
|
|
358
|
-
readonly name: "OwnershipTransferred";
|
|
359
|
-
readonly type: "event";
|
|
360
|
-
}, {
|
|
361
|
-
readonly anonymous: false;
|
|
362
|
-
readonly inputs: readonly [{
|
|
363
|
-
readonly indexed: false;
|
|
364
|
-
readonly internalType: "uint64";
|
|
365
|
-
readonly name: "amountSD";
|
|
366
|
-
readonly type: "uint64";
|
|
367
|
-
}];
|
|
368
|
-
readonly name: "Path_CreditBurned";
|
|
369
|
-
readonly type: "event";
|
|
370
|
-
}, {
|
|
371
|
-
readonly anonymous: false;
|
|
372
|
-
readonly inputs: readonly [{
|
|
373
|
-
readonly indexed: false;
|
|
374
|
-
readonly internalType: "bool";
|
|
375
|
-
readonly name: "paused";
|
|
376
|
-
readonly type: "bool";
|
|
377
|
-
}];
|
|
378
|
-
readonly name: "PauseSet";
|
|
379
|
-
readonly type: "event";
|
|
380
|
-
}, {
|
|
381
|
-
readonly anonymous: false;
|
|
382
|
-
readonly inputs: readonly [{
|
|
383
|
-
readonly indexed: false;
|
|
384
|
-
readonly internalType: "uint256";
|
|
385
|
-
readonly name: "amount";
|
|
386
|
-
readonly type: "uint256";
|
|
387
|
-
}];
|
|
388
|
-
readonly name: "PlannerFeeWithdrawn";
|
|
389
|
-
readonly type: "event";
|
|
390
|
-
}, {
|
|
391
|
-
readonly anonymous: false;
|
|
392
|
-
readonly inputs: readonly [{
|
|
393
|
-
readonly indexed: true;
|
|
394
|
-
readonly internalType: "address";
|
|
395
|
-
readonly name: "payer";
|
|
396
|
-
readonly type: "address";
|
|
397
|
-
}, {
|
|
398
|
-
readonly indexed: true;
|
|
399
|
-
readonly internalType: "address";
|
|
400
|
-
readonly name: "receiver";
|
|
401
|
-
readonly type: "address";
|
|
402
|
-
}, {
|
|
403
|
-
readonly indexed: false;
|
|
404
|
-
readonly internalType: "uint256";
|
|
405
|
-
readonly name: "amountLD";
|
|
406
|
-
readonly type: "uint256";
|
|
407
|
-
}];
|
|
408
|
-
readonly name: "Redeemed";
|
|
409
|
-
readonly type: "event";
|
|
410
|
-
}, {
|
|
411
|
-
readonly anonymous: false;
|
|
412
|
-
readonly inputs: readonly [{
|
|
413
|
-
readonly indexed: false;
|
|
414
|
-
readonly internalType: "uint64";
|
|
415
|
-
readonly name: "amountSD";
|
|
416
|
-
readonly type: "uint64";
|
|
417
|
-
}];
|
|
418
|
-
readonly name: "TreasuryFeeAdded";
|
|
419
|
-
readonly type: "event";
|
|
420
|
-
}, {
|
|
421
|
-
readonly anonymous: false;
|
|
422
|
-
readonly inputs: readonly [{
|
|
423
|
-
readonly indexed: false;
|
|
424
|
-
readonly internalType: "address";
|
|
425
|
-
readonly name: "to";
|
|
426
|
-
readonly type: "address";
|
|
427
|
-
}, {
|
|
428
|
-
readonly indexed: false;
|
|
429
|
-
readonly internalType: "uint64";
|
|
430
|
-
readonly name: "amountSD";
|
|
431
|
-
readonly type: "uint64";
|
|
432
|
-
}];
|
|
433
|
-
readonly name: "TreasuryFeeWithdrawn";
|
|
434
|
-
readonly type: "event";
|
|
435
|
-
}, {
|
|
436
|
-
readonly anonymous: false;
|
|
437
|
-
readonly inputs: readonly [{
|
|
438
|
-
readonly indexed: false;
|
|
439
|
-
readonly internalType: "bytes32";
|
|
440
|
-
readonly name: "guid";
|
|
441
|
-
readonly type: "bytes32";
|
|
442
|
-
}, {
|
|
443
|
-
readonly indexed: false;
|
|
444
|
-
readonly internalType: "uint8";
|
|
445
|
-
readonly name: "index";
|
|
446
|
-
readonly type: "uint8";
|
|
447
|
-
}, {
|
|
448
|
-
readonly indexed: false;
|
|
449
|
-
readonly internalType: "uint32";
|
|
450
|
-
readonly name: "srcEid";
|
|
451
|
-
readonly type: "uint32";
|
|
452
|
-
}, {
|
|
453
|
-
readonly indexed: false;
|
|
454
|
-
readonly internalType: "address";
|
|
455
|
-
readonly name: "receiver";
|
|
456
|
-
readonly type: "address";
|
|
457
|
-
}, {
|
|
458
|
-
readonly indexed: false;
|
|
459
|
-
readonly internalType: "uint256";
|
|
460
|
-
readonly name: "amountLD";
|
|
461
|
-
readonly type: "uint256";
|
|
462
|
-
}, {
|
|
463
|
-
readonly indexed: false;
|
|
464
|
-
readonly internalType: "bytes";
|
|
465
|
-
readonly name: "composeMsg";
|
|
466
|
-
readonly type: "bytes";
|
|
467
|
-
}];
|
|
468
|
-
readonly name: "UnreceivedTokenCached";
|
|
469
|
-
readonly type: "event";
|
|
470
|
-
}, {
|
|
471
|
-
readonly inputs: readonly [{
|
|
472
|
-
readonly internalType: "uint256";
|
|
473
|
-
readonly name: "_amountLD";
|
|
474
|
-
readonly type: "uint256";
|
|
475
|
-
}];
|
|
476
|
-
readonly name: "addTreasuryFee";
|
|
477
|
-
readonly outputs: readonly [];
|
|
478
|
-
readonly stateMutability: "payable";
|
|
479
|
-
readonly type: "function";
|
|
480
|
-
}, {
|
|
481
|
-
readonly inputs: readonly [{
|
|
482
|
-
readonly internalType: "address";
|
|
483
|
-
readonly name: "_burnAdmin";
|
|
484
|
-
readonly type: "address";
|
|
485
|
-
}, {
|
|
486
|
-
readonly internalType: "uint64";
|
|
487
|
-
readonly name: "_burnAllowanceSD";
|
|
488
|
-
readonly type: "uint64";
|
|
489
|
-
}];
|
|
490
|
-
readonly name: "allowBurn";
|
|
491
|
-
readonly outputs: readonly [];
|
|
492
|
-
readonly stateMutability: "nonpayable";
|
|
493
|
-
readonly type: "function";
|
|
494
|
-
}, {
|
|
495
|
-
readonly inputs: readonly [];
|
|
496
|
-
readonly name: "approvalRequired";
|
|
497
|
-
readonly outputs: readonly [{
|
|
498
|
-
readonly internalType: "bool";
|
|
499
|
-
readonly name: "";
|
|
500
|
-
readonly type: "bool";
|
|
501
|
-
}];
|
|
502
|
-
readonly stateMutability: "pure";
|
|
503
|
-
readonly type: "function";
|
|
504
|
-
}, {
|
|
505
|
-
readonly inputs: readonly [];
|
|
506
|
-
readonly name: "burnAdmin";
|
|
507
|
-
readonly outputs: readonly [{
|
|
508
|
-
readonly internalType: "address";
|
|
509
|
-
readonly name: "";
|
|
510
|
-
readonly type: "address";
|
|
511
|
-
}];
|
|
512
|
-
readonly stateMutability: "view";
|
|
513
|
-
readonly type: "function";
|
|
514
|
-
}, {
|
|
515
|
-
readonly inputs: readonly [];
|
|
516
|
-
readonly name: "burnAllowanceSD";
|
|
517
|
-
readonly outputs: readonly [{
|
|
518
|
-
readonly internalType: "uint64";
|
|
519
|
-
readonly name: "";
|
|
520
|
-
readonly type: "uint64";
|
|
521
|
-
}];
|
|
522
|
-
readonly stateMutability: "view";
|
|
523
|
-
readonly type: "function";
|
|
524
|
-
}, {
|
|
525
|
-
readonly inputs: readonly [];
|
|
526
|
-
readonly name: "burnLockedUSDC";
|
|
527
|
-
readonly outputs: readonly [];
|
|
528
|
-
readonly stateMutability: "nonpayable";
|
|
529
|
-
readonly type: "function";
|
|
530
|
-
}, {
|
|
531
|
-
readonly inputs: readonly [];
|
|
532
|
-
readonly name: "deficitOffset";
|
|
533
|
-
readonly outputs: readonly [{
|
|
534
|
-
readonly internalType: "uint256";
|
|
535
|
-
readonly name: "";
|
|
536
|
-
readonly type: "uint256";
|
|
537
|
-
}];
|
|
538
|
-
readonly stateMutability: "view";
|
|
539
|
-
readonly type: "function";
|
|
540
|
-
}, {
|
|
541
|
-
readonly inputs: readonly [{
|
|
542
|
-
readonly internalType: "address";
|
|
543
|
-
readonly name: "_receiver";
|
|
544
|
-
readonly type: "address";
|
|
545
|
-
}, {
|
|
546
|
-
readonly internalType: "uint256";
|
|
547
|
-
readonly name: "_amountLD";
|
|
548
|
-
readonly type: "uint256";
|
|
549
|
-
}];
|
|
550
|
-
readonly name: "deposit";
|
|
551
|
-
readonly outputs: readonly [{
|
|
552
|
-
readonly internalType: "uint256";
|
|
553
|
-
readonly name: "amountLD";
|
|
554
|
-
readonly type: "uint256";
|
|
555
|
-
}];
|
|
556
|
-
readonly stateMutability: "payable";
|
|
557
|
-
readonly type: "function";
|
|
558
|
-
}, {
|
|
559
|
-
readonly inputs: readonly [];
|
|
560
|
-
readonly name: "endpoint";
|
|
561
|
-
readonly outputs: readonly [{
|
|
562
|
-
readonly internalType: "contract ILayerZeroEndpointV2";
|
|
563
|
-
readonly name: "";
|
|
564
|
-
readonly type: "address";
|
|
565
|
-
}];
|
|
566
|
-
readonly stateMutability: "view";
|
|
567
|
-
readonly type: "function";
|
|
568
|
-
}, {
|
|
569
|
-
readonly inputs: readonly [];
|
|
570
|
-
readonly name: "getAddressConfig";
|
|
571
|
-
readonly outputs: readonly [{
|
|
572
|
-
readonly components: readonly [{
|
|
573
|
-
readonly internalType: "address";
|
|
574
|
-
readonly name: "feeLib";
|
|
575
|
-
readonly type: "address";
|
|
576
|
-
}, {
|
|
577
|
-
readonly internalType: "address";
|
|
578
|
-
readonly name: "planner";
|
|
579
|
-
readonly type: "address";
|
|
580
|
-
}, {
|
|
581
|
-
readonly internalType: "address";
|
|
582
|
-
readonly name: "treasurer";
|
|
583
|
-
readonly type: "address";
|
|
584
|
-
}, {
|
|
585
|
-
readonly internalType: "address";
|
|
586
|
-
readonly name: "tokenMessaging";
|
|
587
|
-
readonly type: "address";
|
|
588
|
-
}, {
|
|
589
|
-
readonly internalType: "address";
|
|
590
|
-
readonly name: "creditMessaging";
|
|
591
|
-
readonly type: "address";
|
|
592
|
-
}, {
|
|
593
|
-
readonly internalType: "address";
|
|
594
|
-
readonly name: "lzToken";
|
|
595
|
-
readonly type: "address";
|
|
596
|
-
}];
|
|
597
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
598
|
-
readonly name: "";
|
|
599
|
-
readonly type: "tuple";
|
|
600
|
-
}];
|
|
601
|
-
readonly stateMutability: "view";
|
|
602
|
-
readonly type: "function";
|
|
603
|
-
}, {
|
|
604
|
-
readonly inputs: readonly [];
|
|
605
|
-
readonly name: "getTransferGasLimit";
|
|
606
|
-
readonly outputs: readonly [{
|
|
607
|
-
readonly internalType: "uint256";
|
|
608
|
-
readonly name: "";
|
|
609
|
-
readonly type: "uint256";
|
|
610
|
-
}];
|
|
611
|
-
readonly stateMutability: "view";
|
|
612
|
-
readonly type: "function";
|
|
613
|
-
}, {
|
|
614
|
-
readonly inputs: readonly [];
|
|
615
|
-
readonly name: "localEid";
|
|
616
|
-
readonly outputs: readonly [{
|
|
617
|
-
readonly internalType: "uint32";
|
|
618
|
-
readonly name: "";
|
|
619
|
-
readonly type: "uint32";
|
|
620
|
-
}];
|
|
621
|
-
readonly stateMutability: "view";
|
|
622
|
-
readonly type: "function";
|
|
623
|
-
}, {
|
|
624
|
-
readonly inputs: readonly [];
|
|
625
|
-
readonly name: "lpToken";
|
|
626
|
-
readonly outputs: readonly [{
|
|
627
|
-
readonly internalType: "address";
|
|
628
|
-
readonly name: "";
|
|
629
|
-
readonly type: "address";
|
|
630
|
-
}];
|
|
631
|
-
readonly stateMutability: "view";
|
|
632
|
-
readonly type: "function";
|
|
633
|
-
}, {
|
|
634
|
-
readonly inputs: readonly [];
|
|
635
|
-
readonly name: "oftVersion";
|
|
636
|
-
readonly outputs: readonly [{
|
|
637
|
-
readonly internalType: "bytes4";
|
|
638
|
-
readonly name: "interfaceId";
|
|
639
|
-
readonly type: "bytes4";
|
|
640
|
-
}, {
|
|
641
|
-
readonly internalType: "uint64";
|
|
642
|
-
readonly name: "version";
|
|
643
|
-
readonly type: "uint64";
|
|
644
|
-
}];
|
|
645
|
-
readonly stateMutability: "pure";
|
|
646
|
-
readonly type: "function";
|
|
647
|
-
}, {
|
|
648
|
-
readonly inputs: readonly [];
|
|
649
|
-
readonly name: "owner";
|
|
650
|
-
readonly outputs: readonly [{
|
|
651
|
-
readonly internalType: "address";
|
|
652
|
-
readonly name: "";
|
|
653
|
-
readonly type: "address";
|
|
654
|
-
}];
|
|
655
|
-
readonly stateMutability: "view";
|
|
656
|
-
readonly type: "function";
|
|
657
|
-
}, {
|
|
658
|
-
readonly inputs: readonly [{
|
|
659
|
-
readonly internalType: "uint32";
|
|
660
|
-
readonly name: "eid";
|
|
661
|
-
readonly type: "uint32";
|
|
662
|
-
}];
|
|
663
|
-
readonly name: "paths";
|
|
664
|
-
readonly outputs: readonly [{
|
|
665
|
-
readonly internalType: "uint64";
|
|
666
|
-
readonly name: "credit";
|
|
667
|
-
readonly type: "uint64";
|
|
668
|
-
}];
|
|
669
|
-
readonly stateMutability: "view";
|
|
670
|
-
readonly type: "function";
|
|
671
|
-
}, {
|
|
672
|
-
readonly inputs: readonly [];
|
|
673
|
-
readonly name: "plannerFee";
|
|
674
|
-
readonly outputs: readonly [{
|
|
675
|
-
readonly internalType: "uint256";
|
|
676
|
-
readonly name: "available";
|
|
677
|
-
readonly type: "uint256";
|
|
678
|
-
}];
|
|
679
|
-
readonly stateMutability: "view";
|
|
680
|
-
readonly type: "function";
|
|
681
|
-
}, {
|
|
682
|
-
readonly inputs: readonly [];
|
|
683
|
-
readonly name: "poolBalance";
|
|
684
|
-
readonly outputs: readonly [{
|
|
685
|
-
readonly internalType: "uint256";
|
|
686
|
-
readonly name: "";
|
|
687
|
-
readonly type: "uint256";
|
|
688
|
-
}];
|
|
689
|
-
readonly stateMutability: "view";
|
|
690
|
-
readonly type: "function";
|
|
691
|
-
}, {
|
|
692
|
-
readonly inputs: readonly [{
|
|
693
|
-
readonly components: readonly [{
|
|
694
|
-
readonly internalType: "uint32";
|
|
695
|
-
readonly name: "dstEid";
|
|
696
|
-
readonly type: "uint32";
|
|
697
|
-
}, {
|
|
698
|
-
readonly internalType: "bytes32";
|
|
699
|
-
readonly name: "to";
|
|
700
|
-
readonly type: "bytes32";
|
|
701
|
-
}, {
|
|
702
|
-
readonly internalType: "uint256";
|
|
703
|
-
readonly name: "amountLD";
|
|
704
|
-
readonly type: "uint256";
|
|
705
|
-
}, {
|
|
706
|
-
readonly internalType: "uint256";
|
|
707
|
-
readonly name: "minAmountLD";
|
|
708
|
-
readonly type: "uint256";
|
|
709
|
-
}, {
|
|
710
|
-
readonly internalType: "bytes";
|
|
711
|
-
readonly name: "extraOptions";
|
|
712
|
-
readonly type: "bytes";
|
|
713
|
-
}, {
|
|
714
|
-
readonly internalType: "bytes";
|
|
715
|
-
readonly name: "composeMsg";
|
|
716
|
-
readonly type: "bytes";
|
|
717
|
-
}, {
|
|
718
|
-
readonly internalType: "bytes";
|
|
719
|
-
readonly name: "oftCmd";
|
|
720
|
-
readonly type: "bytes";
|
|
721
|
-
}];
|
|
722
|
-
readonly internalType: "struct SendParam";
|
|
723
|
-
readonly name: "_sendParam";
|
|
724
|
-
readonly type: "tuple";
|
|
725
|
-
}];
|
|
726
|
-
readonly name: "quoteOFT";
|
|
727
|
-
readonly outputs: readonly [{
|
|
728
|
-
readonly components: readonly [{
|
|
729
|
-
readonly internalType: "uint256";
|
|
730
|
-
readonly name: "minAmountLD";
|
|
731
|
-
readonly type: "uint256";
|
|
732
|
-
}, {
|
|
733
|
-
readonly internalType: "uint256";
|
|
734
|
-
readonly name: "maxAmountLD";
|
|
735
|
-
readonly type: "uint256";
|
|
736
|
-
}];
|
|
737
|
-
readonly internalType: "struct OFTLimit";
|
|
738
|
-
readonly name: "limit";
|
|
739
|
-
readonly type: "tuple";
|
|
740
|
-
}, {
|
|
741
|
-
readonly components: readonly [{
|
|
742
|
-
readonly internalType: "int256";
|
|
743
|
-
readonly name: "feeAmountLD";
|
|
744
|
-
readonly type: "int256";
|
|
745
|
-
}, {
|
|
746
|
-
readonly internalType: "string";
|
|
747
|
-
readonly name: "description";
|
|
748
|
-
readonly type: "string";
|
|
749
|
-
}];
|
|
750
|
-
readonly internalType: "struct OFTFeeDetail[]";
|
|
751
|
-
readonly name: "oftFeeDetails";
|
|
752
|
-
readonly type: "tuple[]";
|
|
753
|
-
}, {
|
|
754
|
-
readonly components: readonly [{
|
|
755
|
-
readonly internalType: "uint256";
|
|
756
|
-
readonly name: "amountSentLD";
|
|
757
|
-
readonly type: "uint256";
|
|
758
|
-
}, {
|
|
759
|
-
readonly internalType: "uint256";
|
|
760
|
-
readonly name: "amountReceivedLD";
|
|
761
|
-
readonly type: "uint256";
|
|
762
|
-
}];
|
|
763
|
-
readonly internalType: "struct OFTReceipt";
|
|
764
|
-
readonly name: "receipt";
|
|
765
|
-
readonly type: "tuple";
|
|
766
|
-
}];
|
|
767
|
-
readonly stateMutability: "view";
|
|
768
|
-
readonly type: "function";
|
|
769
|
-
}, {
|
|
770
|
-
readonly inputs: readonly [{
|
|
771
|
-
readonly components: readonly [{
|
|
772
|
-
readonly internalType: "uint32";
|
|
773
|
-
readonly name: "dstEid";
|
|
774
|
-
readonly type: "uint32";
|
|
775
|
-
}, {
|
|
776
|
-
readonly internalType: "bytes32";
|
|
777
|
-
readonly name: "to";
|
|
778
|
-
readonly type: "bytes32";
|
|
779
|
-
}, {
|
|
780
|
-
readonly internalType: "uint256";
|
|
781
|
-
readonly name: "amountLD";
|
|
782
|
-
readonly type: "uint256";
|
|
783
|
-
}, {
|
|
784
|
-
readonly internalType: "uint256";
|
|
785
|
-
readonly name: "minAmountLD";
|
|
786
|
-
readonly type: "uint256";
|
|
787
|
-
}, {
|
|
788
|
-
readonly internalType: "bytes";
|
|
789
|
-
readonly name: "extraOptions";
|
|
790
|
-
readonly type: "bytes";
|
|
791
|
-
}, {
|
|
792
|
-
readonly internalType: "bytes";
|
|
793
|
-
readonly name: "composeMsg";
|
|
794
|
-
readonly type: "bytes";
|
|
795
|
-
}, {
|
|
796
|
-
readonly internalType: "bytes";
|
|
797
|
-
readonly name: "oftCmd";
|
|
798
|
-
readonly type: "bytes";
|
|
799
|
-
}];
|
|
800
|
-
readonly internalType: "struct SendParam";
|
|
801
|
-
readonly name: "_sendParam";
|
|
802
|
-
readonly type: "tuple";
|
|
803
|
-
}, {
|
|
804
|
-
readonly internalType: "bool";
|
|
805
|
-
readonly name: "_payInLzToken";
|
|
806
|
-
readonly type: "bool";
|
|
807
|
-
}];
|
|
808
|
-
readonly name: "quoteRedeemSend";
|
|
809
|
-
readonly outputs: readonly [{
|
|
810
|
-
readonly components: readonly [{
|
|
811
|
-
readonly internalType: "uint256";
|
|
812
|
-
readonly name: "nativeFee";
|
|
813
|
-
readonly type: "uint256";
|
|
814
|
-
}, {
|
|
815
|
-
readonly internalType: "uint256";
|
|
816
|
-
readonly name: "lzTokenFee";
|
|
817
|
-
readonly type: "uint256";
|
|
818
|
-
}];
|
|
819
|
-
readonly internalType: "struct MessagingFee";
|
|
820
|
-
readonly name: "fee";
|
|
821
|
-
readonly type: "tuple";
|
|
822
|
-
}];
|
|
823
|
-
readonly stateMutability: "view";
|
|
824
|
-
readonly type: "function";
|
|
825
|
-
}, {
|
|
826
|
-
readonly inputs: readonly [{
|
|
827
|
-
readonly components: readonly [{
|
|
828
|
-
readonly internalType: "uint32";
|
|
829
|
-
readonly name: "dstEid";
|
|
830
|
-
readonly type: "uint32";
|
|
831
|
-
}, {
|
|
832
|
-
readonly internalType: "bytes32";
|
|
833
|
-
readonly name: "to";
|
|
834
|
-
readonly type: "bytes32";
|
|
835
|
-
}, {
|
|
836
|
-
readonly internalType: "uint256";
|
|
837
|
-
readonly name: "amountLD";
|
|
838
|
-
readonly type: "uint256";
|
|
839
|
-
}, {
|
|
840
|
-
readonly internalType: "uint256";
|
|
841
|
-
readonly name: "minAmountLD";
|
|
842
|
-
readonly type: "uint256";
|
|
843
|
-
}, {
|
|
844
|
-
readonly internalType: "bytes";
|
|
845
|
-
readonly name: "extraOptions";
|
|
846
|
-
readonly type: "bytes";
|
|
847
|
-
}, {
|
|
848
|
-
readonly internalType: "bytes";
|
|
849
|
-
readonly name: "composeMsg";
|
|
850
|
-
readonly type: "bytes";
|
|
851
|
-
}, {
|
|
852
|
-
readonly internalType: "bytes";
|
|
853
|
-
readonly name: "oftCmd";
|
|
854
|
-
readonly type: "bytes";
|
|
855
|
-
}];
|
|
856
|
-
readonly internalType: "struct SendParam";
|
|
857
|
-
readonly name: "_sendParam";
|
|
858
|
-
readonly type: "tuple";
|
|
859
|
-
}, {
|
|
860
|
-
readonly internalType: "bool";
|
|
861
|
-
readonly name: "_payInLzToken";
|
|
862
|
-
readonly type: "bool";
|
|
863
|
-
}];
|
|
864
|
-
readonly name: "quoteSend";
|
|
865
|
-
readonly outputs: readonly [{
|
|
866
|
-
readonly components: readonly [{
|
|
867
|
-
readonly internalType: "uint256";
|
|
868
|
-
readonly name: "nativeFee";
|
|
869
|
-
readonly type: "uint256";
|
|
870
|
-
}, {
|
|
871
|
-
readonly internalType: "uint256";
|
|
872
|
-
readonly name: "lzTokenFee";
|
|
873
|
-
readonly type: "uint256";
|
|
874
|
-
}];
|
|
875
|
-
readonly internalType: "struct MessagingFee";
|
|
876
|
-
readonly name: "fee";
|
|
877
|
-
readonly type: "tuple";
|
|
878
|
-
}];
|
|
879
|
-
readonly stateMutability: "view";
|
|
880
|
-
readonly type: "function";
|
|
881
|
-
}, {
|
|
882
|
-
readonly inputs: readonly [{
|
|
883
|
-
readonly internalType: "uint32";
|
|
884
|
-
readonly name: "_srcEid";
|
|
885
|
-
readonly type: "uint32";
|
|
886
|
-
}, {
|
|
887
|
-
readonly components: readonly [{
|
|
888
|
-
readonly internalType: "uint32";
|
|
889
|
-
readonly name: "srcEid";
|
|
890
|
-
readonly type: "uint32";
|
|
891
|
-
}, {
|
|
892
|
-
readonly internalType: "uint64";
|
|
893
|
-
readonly name: "amount";
|
|
894
|
-
readonly type: "uint64";
|
|
895
|
-
}];
|
|
896
|
-
readonly internalType: "struct Credit[]";
|
|
897
|
-
readonly name: "_credits";
|
|
898
|
-
readonly type: "tuple[]";
|
|
899
|
-
}];
|
|
900
|
-
readonly name: "receiveCredits";
|
|
901
|
-
readonly outputs: readonly [];
|
|
902
|
-
readonly stateMutability: "nonpayable";
|
|
903
|
-
readonly type: "function";
|
|
904
|
-
}, {
|
|
905
|
-
readonly inputs: readonly [{
|
|
906
|
-
readonly components: readonly [{
|
|
907
|
-
readonly internalType: "uint32";
|
|
908
|
-
readonly name: "srcEid";
|
|
909
|
-
readonly type: "uint32";
|
|
910
|
-
}, {
|
|
911
|
-
readonly internalType: "bytes32";
|
|
912
|
-
readonly name: "sender";
|
|
913
|
-
readonly type: "bytes32";
|
|
914
|
-
}, {
|
|
915
|
-
readonly internalType: "uint64";
|
|
916
|
-
readonly name: "nonce";
|
|
917
|
-
readonly type: "uint64";
|
|
918
|
-
}];
|
|
919
|
-
readonly internalType: "struct Origin";
|
|
920
|
-
readonly name: "_origin";
|
|
921
|
-
readonly type: "tuple";
|
|
922
|
-
}, {
|
|
923
|
-
readonly internalType: "bytes32";
|
|
924
|
-
readonly name: "_guid";
|
|
925
|
-
readonly type: "bytes32";
|
|
926
|
-
}, {
|
|
927
|
-
readonly internalType: "uint8";
|
|
928
|
-
readonly name: "_seatNumber";
|
|
929
|
-
readonly type: "uint8";
|
|
930
|
-
}, {
|
|
931
|
-
readonly internalType: "address";
|
|
932
|
-
readonly name: "_receiver";
|
|
933
|
-
readonly type: "address";
|
|
934
|
-
}, {
|
|
935
|
-
readonly internalType: "uint64";
|
|
936
|
-
readonly name: "_amountSD";
|
|
937
|
-
readonly type: "uint64";
|
|
938
|
-
}];
|
|
939
|
-
readonly name: "receiveTokenBus";
|
|
940
|
-
readonly outputs: readonly [];
|
|
941
|
-
readonly stateMutability: "nonpayable";
|
|
942
|
-
readonly type: "function";
|
|
943
|
-
}, {
|
|
944
|
-
readonly inputs: readonly [{
|
|
945
|
-
readonly components: readonly [{
|
|
946
|
-
readonly internalType: "uint32";
|
|
947
|
-
readonly name: "srcEid";
|
|
948
|
-
readonly type: "uint32";
|
|
949
|
-
}, {
|
|
950
|
-
readonly internalType: "bytes32";
|
|
951
|
-
readonly name: "sender";
|
|
952
|
-
readonly type: "bytes32";
|
|
953
|
-
}, {
|
|
954
|
-
readonly internalType: "uint64";
|
|
955
|
-
readonly name: "nonce";
|
|
956
|
-
readonly type: "uint64";
|
|
957
|
-
}];
|
|
958
|
-
readonly internalType: "struct Origin";
|
|
959
|
-
readonly name: "_origin";
|
|
960
|
-
readonly type: "tuple";
|
|
961
|
-
}, {
|
|
962
|
-
readonly internalType: "bytes32";
|
|
963
|
-
readonly name: "_guid";
|
|
964
|
-
readonly type: "bytes32";
|
|
965
|
-
}, {
|
|
966
|
-
readonly internalType: "address";
|
|
967
|
-
readonly name: "_receiver";
|
|
968
|
-
readonly type: "address";
|
|
969
|
-
}, {
|
|
970
|
-
readonly internalType: "uint64";
|
|
971
|
-
readonly name: "_amountSD";
|
|
972
|
-
readonly type: "uint64";
|
|
973
|
-
}, {
|
|
974
|
-
readonly internalType: "bytes";
|
|
975
|
-
readonly name: "_composeMsg";
|
|
976
|
-
readonly type: "bytes";
|
|
977
|
-
}];
|
|
978
|
-
readonly name: "receiveTokenTaxi";
|
|
979
|
-
readonly outputs: readonly [];
|
|
980
|
-
readonly stateMutability: "nonpayable";
|
|
981
|
-
readonly type: "function";
|
|
982
|
-
}, {
|
|
983
|
-
readonly inputs: readonly [{
|
|
984
|
-
readonly internalType: "address";
|
|
985
|
-
readonly name: "_token";
|
|
986
|
-
readonly type: "address";
|
|
987
|
-
}, {
|
|
988
|
-
readonly internalType: "address";
|
|
989
|
-
readonly name: "_to";
|
|
990
|
-
readonly type: "address";
|
|
991
|
-
}, {
|
|
992
|
-
readonly internalType: "uint256";
|
|
993
|
-
readonly name: "_amount";
|
|
994
|
-
readonly type: "uint256";
|
|
995
|
-
}];
|
|
996
|
-
readonly name: "recoverToken";
|
|
997
|
-
readonly outputs: readonly [{
|
|
998
|
-
readonly internalType: "uint256";
|
|
999
|
-
readonly name: "";
|
|
1000
|
-
readonly type: "uint256";
|
|
1001
|
-
}];
|
|
1002
|
-
readonly stateMutability: "nonpayable";
|
|
1003
|
-
readonly type: "function";
|
|
1004
|
-
}, {
|
|
1005
|
-
readonly inputs: readonly [{
|
|
1006
|
-
readonly internalType: "uint256";
|
|
1007
|
-
readonly name: "_amountLD";
|
|
1008
|
-
readonly type: "uint256";
|
|
1009
|
-
}, {
|
|
1010
|
-
readonly internalType: "address";
|
|
1011
|
-
readonly name: "_receiver";
|
|
1012
|
-
readonly type: "address";
|
|
1013
|
-
}];
|
|
1014
|
-
readonly name: "redeem";
|
|
1015
|
-
readonly outputs: readonly [{
|
|
1016
|
-
readonly internalType: "uint256";
|
|
1017
|
-
readonly name: "amountLD";
|
|
1018
|
-
readonly type: "uint256";
|
|
1019
|
-
}];
|
|
1020
|
-
readonly stateMutability: "nonpayable";
|
|
1021
|
-
readonly type: "function";
|
|
1022
|
-
}, {
|
|
1023
|
-
readonly inputs: readonly [{
|
|
1024
|
-
readonly components: readonly [{
|
|
1025
|
-
readonly internalType: "uint32";
|
|
1026
|
-
readonly name: "dstEid";
|
|
1027
|
-
readonly type: "uint32";
|
|
1028
|
-
}, {
|
|
1029
|
-
readonly internalType: "bytes32";
|
|
1030
|
-
readonly name: "to";
|
|
1031
|
-
readonly type: "bytes32";
|
|
1032
|
-
}, {
|
|
1033
|
-
readonly internalType: "uint256";
|
|
1034
|
-
readonly name: "amountLD";
|
|
1035
|
-
readonly type: "uint256";
|
|
1036
|
-
}, {
|
|
1037
|
-
readonly internalType: "uint256";
|
|
1038
|
-
readonly name: "minAmountLD";
|
|
1039
|
-
readonly type: "uint256";
|
|
1040
|
-
}, {
|
|
1041
|
-
readonly internalType: "bytes";
|
|
1042
|
-
readonly name: "extraOptions";
|
|
1043
|
-
readonly type: "bytes";
|
|
1044
|
-
}, {
|
|
1045
|
-
readonly internalType: "bytes";
|
|
1046
|
-
readonly name: "composeMsg";
|
|
1047
|
-
readonly type: "bytes";
|
|
1048
|
-
}, {
|
|
1049
|
-
readonly internalType: "bytes";
|
|
1050
|
-
readonly name: "oftCmd";
|
|
1051
|
-
readonly type: "bytes";
|
|
1052
|
-
}];
|
|
1053
|
-
readonly internalType: "struct SendParam";
|
|
1054
|
-
readonly name: "_sendParam";
|
|
1055
|
-
readonly type: "tuple";
|
|
1056
|
-
}, {
|
|
1057
|
-
readonly components: readonly [{
|
|
1058
|
-
readonly internalType: "uint256";
|
|
1059
|
-
readonly name: "nativeFee";
|
|
1060
|
-
readonly type: "uint256";
|
|
1061
|
-
}, {
|
|
1062
|
-
readonly internalType: "uint256";
|
|
1063
|
-
readonly name: "lzTokenFee";
|
|
1064
|
-
readonly type: "uint256";
|
|
1065
|
-
}];
|
|
1066
|
-
readonly internalType: "struct MessagingFee";
|
|
1067
|
-
readonly name: "_fee";
|
|
1068
|
-
readonly type: "tuple";
|
|
1069
|
-
}, {
|
|
1070
|
-
readonly internalType: "address";
|
|
1071
|
-
readonly name: "_refundAddress";
|
|
1072
|
-
readonly type: "address";
|
|
1073
|
-
}];
|
|
1074
|
-
readonly name: "redeemSend";
|
|
1075
|
-
readonly outputs: readonly [{
|
|
1076
|
-
readonly components: readonly [{
|
|
1077
|
-
readonly internalType: "bytes32";
|
|
1078
|
-
readonly name: "guid";
|
|
1079
|
-
readonly type: "bytes32";
|
|
1080
|
-
}, {
|
|
1081
|
-
readonly internalType: "uint64";
|
|
1082
|
-
readonly name: "nonce";
|
|
1083
|
-
readonly type: "uint64";
|
|
1084
|
-
}, {
|
|
1085
|
-
readonly components: readonly [{
|
|
1086
|
-
readonly internalType: "uint256";
|
|
1087
|
-
readonly name: "nativeFee";
|
|
1088
|
-
readonly type: "uint256";
|
|
1089
|
-
}, {
|
|
1090
|
-
readonly internalType: "uint256";
|
|
1091
|
-
readonly name: "lzTokenFee";
|
|
1092
|
-
readonly type: "uint256";
|
|
1093
|
-
}];
|
|
1094
|
-
readonly internalType: "struct MessagingFee";
|
|
1095
|
-
readonly name: "fee";
|
|
1096
|
-
readonly type: "tuple";
|
|
1097
|
-
}];
|
|
1098
|
-
readonly internalType: "struct MessagingReceipt";
|
|
1099
|
-
readonly name: "msgReceipt";
|
|
1100
|
-
readonly type: "tuple";
|
|
1101
|
-
}, {
|
|
1102
|
-
readonly components: readonly [{
|
|
1103
|
-
readonly internalType: "uint256";
|
|
1104
|
-
readonly name: "amountSentLD";
|
|
1105
|
-
readonly type: "uint256";
|
|
1106
|
-
}, {
|
|
1107
|
-
readonly internalType: "uint256";
|
|
1108
|
-
readonly name: "amountReceivedLD";
|
|
1109
|
-
readonly type: "uint256";
|
|
1110
|
-
}];
|
|
1111
|
-
readonly internalType: "struct OFTReceipt";
|
|
1112
|
-
readonly name: "oftReceipt";
|
|
1113
|
-
readonly type: "tuple";
|
|
1114
|
-
}];
|
|
1115
|
-
readonly stateMutability: "payable";
|
|
1116
|
-
readonly type: "function";
|
|
1117
|
-
}, {
|
|
1118
|
-
readonly inputs: readonly [{
|
|
1119
|
-
readonly internalType: "address";
|
|
1120
|
-
readonly name: "_owner";
|
|
1121
|
-
readonly type: "address";
|
|
1122
|
-
}];
|
|
1123
|
-
readonly name: "redeemable";
|
|
1124
|
-
readonly outputs: readonly [{
|
|
1125
|
-
readonly internalType: "uint256";
|
|
1126
|
-
readonly name: "amountLD";
|
|
1127
|
-
readonly type: "uint256";
|
|
1128
|
-
}];
|
|
1129
|
-
readonly stateMutability: "view";
|
|
1130
|
-
readonly type: "function";
|
|
1131
|
-
}, {
|
|
1132
|
-
readonly inputs: readonly [];
|
|
1133
|
-
readonly name: "renounceOwnership";
|
|
1134
|
-
readonly outputs: readonly [];
|
|
1135
|
-
readonly stateMutability: "nonpayable";
|
|
1136
|
-
readonly type: "function";
|
|
1137
|
-
}, {
|
|
1138
|
-
readonly inputs: readonly [{
|
|
1139
|
-
readonly internalType: "bytes32";
|
|
1140
|
-
readonly name: "_guid";
|
|
1141
|
-
readonly type: "bytes32";
|
|
1142
|
-
}, {
|
|
1143
|
-
readonly internalType: "uint8";
|
|
1144
|
-
readonly name: "_index";
|
|
1145
|
-
readonly type: "uint8";
|
|
1146
|
-
}, {
|
|
1147
|
-
readonly internalType: "uint32";
|
|
1148
|
-
readonly name: "_srcEid";
|
|
1149
|
-
readonly type: "uint32";
|
|
1150
|
-
}, {
|
|
1151
|
-
readonly internalType: "address";
|
|
1152
|
-
readonly name: "_receiver";
|
|
1153
|
-
readonly type: "address";
|
|
1154
|
-
}, {
|
|
1155
|
-
readonly internalType: "uint256";
|
|
1156
|
-
readonly name: "_amountLD";
|
|
1157
|
-
readonly type: "uint256";
|
|
1158
|
-
}, {
|
|
1159
|
-
readonly internalType: "bytes";
|
|
1160
|
-
readonly name: "_composeMsg";
|
|
1161
|
-
readonly type: "bytes";
|
|
1162
|
-
}];
|
|
1163
|
-
readonly name: "retryReceiveToken";
|
|
1164
|
-
readonly outputs: readonly [];
|
|
1165
|
-
readonly stateMutability: "nonpayable";
|
|
1166
|
-
readonly type: "function";
|
|
1167
|
-
}, {
|
|
1168
|
-
readonly inputs: readonly [{
|
|
1169
|
-
readonly components: readonly [{
|
|
1170
|
-
readonly internalType: "uint32";
|
|
1171
|
-
readonly name: "dstEid";
|
|
1172
|
-
readonly type: "uint32";
|
|
1173
|
-
}, {
|
|
1174
|
-
readonly internalType: "bytes32";
|
|
1175
|
-
readonly name: "to";
|
|
1176
|
-
readonly type: "bytes32";
|
|
1177
|
-
}, {
|
|
1178
|
-
readonly internalType: "uint256";
|
|
1179
|
-
readonly name: "amountLD";
|
|
1180
|
-
readonly type: "uint256";
|
|
1181
|
-
}, {
|
|
1182
|
-
readonly internalType: "uint256";
|
|
1183
|
-
readonly name: "minAmountLD";
|
|
1184
|
-
readonly type: "uint256";
|
|
1185
|
-
}, {
|
|
1186
|
-
readonly internalType: "bytes";
|
|
1187
|
-
readonly name: "extraOptions";
|
|
1188
|
-
readonly type: "bytes";
|
|
1189
|
-
}, {
|
|
1190
|
-
readonly internalType: "bytes";
|
|
1191
|
-
readonly name: "composeMsg";
|
|
1192
|
-
readonly type: "bytes";
|
|
1193
|
-
}, {
|
|
1194
|
-
readonly internalType: "bytes";
|
|
1195
|
-
readonly name: "oftCmd";
|
|
1196
|
-
readonly type: "bytes";
|
|
1197
|
-
}];
|
|
1198
|
-
readonly internalType: "struct SendParam";
|
|
1199
|
-
readonly name: "_sendParam";
|
|
1200
|
-
readonly type: "tuple";
|
|
1201
|
-
}, {
|
|
1202
|
-
readonly components: readonly [{
|
|
1203
|
-
readonly internalType: "uint256";
|
|
1204
|
-
readonly name: "nativeFee";
|
|
1205
|
-
readonly type: "uint256";
|
|
1206
|
-
}, {
|
|
1207
|
-
readonly internalType: "uint256";
|
|
1208
|
-
readonly name: "lzTokenFee";
|
|
1209
|
-
readonly type: "uint256";
|
|
1210
|
-
}];
|
|
1211
|
-
readonly internalType: "struct MessagingFee";
|
|
1212
|
-
readonly name: "_fee";
|
|
1213
|
-
readonly type: "tuple";
|
|
1214
|
-
}, {
|
|
1215
|
-
readonly internalType: "address";
|
|
1216
|
-
readonly name: "_refundAddress";
|
|
1217
|
-
readonly type: "address";
|
|
1218
|
-
}];
|
|
1219
|
-
readonly name: "send";
|
|
1220
|
-
readonly outputs: readonly [{
|
|
1221
|
-
readonly components: readonly [{
|
|
1222
|
-
readonly internalType: "bytes32";
|
|
1223
|
-
readonly name: "guid";
|
|
1224
|
-
readonly type: "bytes32";
|
|
1225
|
-
}, {
|
|
1226
|
-
readonly internalType: "uint64";
|
|
1227
|
-
readonly name: "nonce";
|
|
1228
|
-
readonly type: "uint64";
|
|
1229
|
-
}, {
|
|
1230
|
-
readonly components: readonly [{
|
|
1231
|
-
readonly internalType: "uint256";
|
|
1232
|
-
readonly name: "nativeFee";
|
|
1233
|
-
readonly type: "uint256";
|
|
1234
|
-
}, {
|
|
1235
|
-
readonly internalType: "uint256";
|
|
1236
|
-
readonly name: "lzTokenFee";
|
|
1237
|
-
readonly type: "uint256";
|
|
1238
|
-
}];
|
|
1239
|
-
readonly internalType: "struct MessagingFee";
|
|
1240
|
-
readonly name: "fee";
|
|
1241
|
-
readonly type: "tuple";
|
|
1242
|
-
}];
|
|
1243
|
-
readonly internalType: "struct MessagingReceipt";
|
|
1244
|
-
readonly name: "msgReceipt";
|
|
1245
|
-
readonly type: "tuple";
|
|
1246
|
-
}, {
|
|
1247
|
-
readonly components: readonly [{
|
|
1248
|
-
readonly internalType: "uint256";
|
|
1249
|
-
readonly name: "amountSentLD";
|
|
1250
|
-
readonly type: "uint256";
|
|
1251
|
-
}, {
|
|
1252
|
-
readonly internalType: "uint256";
|
|
1253
|
-
readonly name: "amountReceivedLD";
|
|
1254
|
-
readonly type: "uint256";
|
|
1255
|
-
}];
|
|
1256
|
-
readonly internalType: "struct OFTReceipt";
|
|
1257
|
-
readonly name: "oftReceipt";
|
|
1258
|
-
readonly type: "tuple";
|
|
1259
|
-
}];
|
|
1260
|
-
readonly stateMutability: "payable";
|
|
1261
|
-
readonly type: "function";
|
|
1262
|
-
}, {
|
|
1263
|
-
readonly inputs: readonly [{
|
|
1264
|
-
readonly internalType: "uint32";
|
|
1265
|
-
readonly name: "_dstEid";
|
|
1266
|
-
readonly type: "uint32";
|
|
1267
|
-
}, {
|
|
1268
|
-
readonly components: readonly [{
|
|
1269
|
-
readonly internalType: "uint32";
|
|
1270
|
-
readonly name: "srcEid";
|
|
1271
|
-
readonly type: "uint32";
|
|
1272
|
-
}, {
|
|
1273
|
-
readonly internalType: "uint64";
|
|
1274
|
-
readonly name: "amount";
|
|
1275
|
-
readonly type: "uint64";
|
|
1276
|
-
}, {
|
|
1277
|
-
readonly internalType: "uint64";
|
|
1278
|
-
readonly name: "minAmount";
|
|
1279
|
-
readonly type: "uint64";
|
|
1280
|
-
}];
|
|
1281
|
-
readonly internalType: "struct TargetCredit[]";
|
|
1282
|
-
readonly name: "_credits";
|
|
1283
|
-
readonly type: "tuple[]";
|
|
1284
|
-
}];
|
|
1285
|
-
readonly name: "sendCredits";
|
|
1286
|
-
readonly outputs: readonly [{
|
|
1287
|
-
readonly components: readonly [{
|
|
1288
|
-
readonly internalType: "uint32";
|
|
1289
|
-
readonly name: "srcEid";
|
|
1290
|
-
readonly type: "uint32";
|
|
1291
|
-
}, {
|
|
1292
|
-
readonly internalType: "uint64";
|
|
1293
|
-
readonly name: "amount";
|
|
1294
|
-
readonly type: "uint64";
|
|
1295
|
-
}];
|
|
1296
|
-
readonly internalType: "struct Credit[]";
|
|
1297
|
-
readonly name: "";
|
|
1298
|
-
readonly type: "tuple[]";
|
|
1299
|
-
}];
|
|
1300
|
-
readonly stateMutability: "nonpayable";
|
|
1301
|
-
readonly type: "function";
|
|
1302
|
-
}, {
|
|
1303
|
-
readonly inputs: readonly [{
|
|
1304
|
-
readonly components: readonly [{
|
|
1305
|
-
readonly internalType: "uint32";
|
|
1306
|
-
readonly name: "dstEid";
|
|
1307
|
-
readonly type: "uint32";
|
|
1308
|
-
}, {
|
|
1309
|
-
readonly internalType: "bytes32";
|
|
1310
|
-
readonly name: "to";
|
|
1311
|
-
readonly type: "bytes32";
|
|
1312
|
-
}, {
|
|
1313
|
-
readonly internalType: "uint256";
|
|
1314
|
-
readonly name: "amountLD";
|
|
1315
|
-
readonly type: "uint256";
|
|
1316
|
-
}, {
|
|
1317
|
-
readonly internalType: "uint256";
|
|
1318
|
-
readonly name: "minAmountLD";
|
|
1319
|
-
readonly type: "uint256";
|
|
1320
|
-
}, {
|
|
1321
|
-
readonly internalType: "bytes";
|
|
1322
|
-
readonly name: "extraOptions";
|
|
1323
|
-
readonly type: "bytes";
|
|
1324
|
-
}, {
|
|
1325
|
-
readonly internalType: "bytes";
|
|
1326
|
-
readonly name: "composeMsg";
|
|
1327
|
-
readonly type: "bytes";
|
|
1328
|
-
}, {
|
|
1329
|
-
readonly internalType: "bytes";
|
|
1330
|
-
readonly name: "oftCmd";
|
|
1331
|
-
readonly type: "bytes";
|
|
1332
|
-
}];
|
|
1333
|
-
readonly internalType: "struct SendParam";
|
|
1334
|
-
readonly name: "_sendParam";
|
|
1335
|
-
readonly type: "tuple";
|
|
1336
|
-
}, {
|
|
1337
|
-
readonly components: readonly [{
|
|
1338
|
-
readonly internalType: "uint256";
|
|
1339
|
-
readonly name: "nativeFee";
|
|
1340
|
-
readonly type: "uint256";
|
|
1341
|
-
}, {
|
|
1342
|
-
readonly internalType: "uint256";
|
|
1343
|
-
readonly name: "lzTokenFee";
|
|
1344
|
-
readonly type: "uint256";
|
|
1345
|
-
}];
|
|
1346
|
-
readonly internalType: "struct MessagingFee";
|
|
1347
|
-
readonly name: "_fee";
|
|
1348
|
-
readonly type: "tuple";
|
|
1349
|
-
}, {
|
|
1350
|
-
readonly internalType: "address";
|
|
1351
|
-
readonly name: "_refundAddress";
|
|
1352
|
-
readonly type: "address";
|
|
1353
|
-
}];
|
|
1354
|
-
readonly name: "sendToken";
|
|
1355
|
-
readonly outputs: readonly [{
|
|
1356
|
-
readonly components: readonly [{
|
|
1357
|
-
readonly internalType: "bytes32";
|
|
1358
|
-
readonly name: "guid";
|
|
1359
|
-
readonly type: "bytes32";
|
|
1360
|
-
}, {
|
|
1361
|
-
readonly internalType: "uint64";
|
|
1362
|
-
readonly name: "nonce";
|
|
1363
|
-
readonly type: "uint64";
|
|
1364
|
-
}, {
|
|
1365
|
-
readonly components: readonly [{
|
|
1366
|
-
readonly internalType: "uint256";
|
|
1367
|
-
readonly name: "nativeFee";
|
|
1368
|
-
readonly type: "uint256";
|
|
1369
|
-
}, {
|
|
1370
|
-
readonly internalType: "uint256";
|
|
1371
|
-
readonly name: "lzTokenFee";
|
|
1372
|
-
readonly type: "uint256";
|
|
1373
|
-
}];
|
|
1374
|
-
readonly internalType: "struct MessagingFee";
|
|
1375
|
-
readonly name: "fee";
|
|
1376
|
-
readonly type: "tuple";
|
|
1377
|
-
}];
|
|
1378
|
-
readonly internalType: "struct MessagingReceipt";
|
|
1379
|
-
readonly name: "msgReceipt";
|
|
1380
|
-
readonly type: "tuple";
|
|
1381
|
-
}, {
|
|
1382
|
-
readonly components: readonly [{
|
|
1383
|
-
readonly internalType: "uint256";
|
|
1384
|
-
readonly name: "amountSentLD";
|
|
1385
|
-
readonly type: "uint256";
|
|
1386
|
-
}, {
|
|
1387
|
-
readonly internalType: "uint256";
|
|
1388
|
-
readonly name: "amountReceivedLD";
|
|
1389
|
-
readonly type: "uint256";
|
|
1390
|
-
}];
|
|
1391
|
-
readonly internalType: "struct OFTReceipt";
|
|
1392
|
-
readonly name: "oftReceipt";
|
|
1393
|
-
readonly type: "tuple";
|
|
1394
|
-
}, {
|
|
1395
|
-
readonly components: readonly [{
|
|
1396
|
-
readonly internalType: "uint72";
|
|
1397
|
-
readonly name: "ticketId";
|
|
1398
|
-
readonly type: "uint72";
|
|
1399
|
-
}, {
|
|
1400
|
-
readonly internalType: "bytes";
|
|
1401
|
-
readonly name: "passengerBytes";
|
|
1402
|
-
readonly type: "bytes";
|
|
1403
|
-
}];
|
|
1404
|
-
readonly internalType: "struct Ticket";
|
|
1405
|
-
readonly name: "ticket";
|
|
1406
|
-
readonly type: "tuple";
|
|
1407
|
-
}];
|
|
1408
|
-
readonly stateMutability: "payable";
|
|
1409
|
-
readonly type: "function";
|
|
1410
|
-
}, {
|
|
1411
|
-
readonly inputs: readonly [{
|
|
1412
|
-
readonly components: readonly [{
|
|
1413
|
-
readonly internalType: "address";
|
|
1414
|
-
readonly name: "feeLib";
|
|
1415
|
-
readonly type: "address";
|
|
1416
|
-
}, {
|
|
1417
|
-
readonly internalType: "address";
|
|
1418
|
-
readonly name: "planner";
|
|
1419
|
-
readonly type: "address";
|
|
1420
|
-
}, {
|
|
1421
|
-
readonly internalType: "address";
|
|
1422
|
-
readonly name: "treasurer";
|
|
1423
|
-
readonly type: "address";
|
|
1424
|
-
}, {
|
|
1425
|
-
readonly internalType: "address";
|
|
1426
|
-
readonly name: "tokenMessaging";
|
|
1427
|
-
readonly type: "address";
|
|
1428
|
-
}, {
|
|
1429
|
-
readonly internalType: "address";
|
|
1430
|
-
readonly name: "creditMessaging";
|
|
1431
|
-
readonly type: "address";
|
|
1432
|
-
}, {
|
|
1433
|
-
readonly internalType: "address";
|
|
1434
|
-
readonly name: "lzToken";
|
|
1435
|
-
readonly type: "address";
|
|
1436
|
-
}];
|
|
1437
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
1438
|
-
readonly name: "_config";
|
|
1439
|
-
readonly type: "tuple";
|
|
1440
|
-
}];
|
|
1441
|
-
readonly name: "setAddressConfig";
|
|
1442
|
-
readonly outputs: readonly [];
|
|
1443
|
-
readonly stateMutability: "nonpayable";
|
|
1444
|
-
readonly type: "function";
|
|
1445
|
-
}, {
|
|
1446
|
-
readonly inputs: readonly [{
|
|
1447
|
-
readonly internalType: "uint256";
|
|
1448
|
-
readonly name: "_deficitOffsetLD";
|
|
1449
|
-
readonly type: "uint256";
|
|
1450
|
-
}];
|
|
1451
|
-
readonly name: "setDeficitOffset";
|
|
1452
|
-
readonly outputs: readonly [];
|
|
1453
|
-
readonly stateMutability: "nonpayable";
|
|
1454
|
-
readonly type: "function";
|
|
1455
|
-
}, {
|
|
1456
|
-
readonly inputs: readonly [{
|
|
1457
|
-
readonly internalType: "uint32";
|
|
1458
|
-
readonly name: "_dstEid";
|
|
1459
|
-
readonly type: "uint32";
|
|
1460
|
-
}, {
|
|
1461
|
-
readonly internalType: "bool";
|
|
1462
|
-
readonly name: "_oft";
|
|
1463
|
-
readonly type: "bool";
|
|
1464
|
-
}];
|
|
1465
|
-
readonly name: "setOFTPath";
|
|
1466
|
-
readonly outputs: readonly [];
|
|
1467
|
-
readonly stateMutability: "nonpayable";
|
|
1468
|
-
readonly type: "function";
|
|
1469
|
-
}, {
|
|
1470
|
-
readonly inputs: readonly [{
|
|
1471
|
-
readonly internalType: "bool";
|
|
1472
|
-
readonly name: "_paused";
|
|
1473
|
-
readonly type: "bool";
|
|
1474
|
-
}];
|
|
1475
|
-
readonly name: "setPause";
|
|
1476
|
-
readonly outputs: readonly [];
|
|
1477
|
-
readonly stateMutability: "nonpayable";
|
|
1478
|
-
readonly type: "function";
|
|
1479
|
-
}, {
|
|
1480
|
-
readonly inputs: readonly [{
|
|
1481
|
-
readonly internalType: "uint256";
|
|
1482
|
-
readonly name: "_gasLimit";
|
|
1483
|
-
readonly type: "uint256";
|
|
1484
|
-
}];
|
|
1485
|
-
readonly name: "setTransferGasLimit";
|
|
1486
|
-
readonly outputs: readonly [];
|
|
1487
|
-
readonly stateMutability: "nonpayable";
|
|
1488
|
-
readonly type: "function";
|
|
1489
|
-
}, {
|
|
1490
|
-
readonly inputs: readonly [];
|
|
1491
|
-
readonly name: "sharedDecimals";
|
|
1492
|
-
readonly outputs: readonly [{
|
|
1493
|
-
readonly internalType: "uint8";
|
|
1494
|
-
readonly name: "";
|
|
1495
|
-
readonly type: "uint8";
|
|
1496
|
-
}];
|
|
1497
|
-
readonly stateMutability: "view";
|
|
1498
|
-
readonly type: "function";
|
|
1499
|
-
}, {
|
|
1500
|
-
readonly inputs: readonly [];
|
|
1501
|
-
readonly name: "stargateType";
|
|
1502
|
-
readonly outputs: readonly [{
|
|
1503
|
-
readonly internalType: "enum StargateType";
|
|
1504
|
-
readonly name: "";
|
|
1505
|
-
readonly type: "uint8";
|
|
1506
|
-
}];
|
|
1507
|
-
readonly stateMutability: "pure";
|
|
1508
|
-
readonly type: "function";
|
|
1509
|
-
}, {
|
|
1510
|
-
readonly inputs: readonly [];
|
|
1511
|
-
readonly name: "status";
|
|
1512
|
-
readonly outputs: readonly [{
|
|
1513
|
-
readonly internalType: "uint8";
|
|
1514
|
-
readonly name: "";
|
|
1515
|
-
readonly type: "uint8";
|
|
1516
|
-
}];
|
|
1517
|
-
readonly stateMutability: "view";
|
|
1518
|
-
readonly type: "function";
|
|
1519
|
-
}, {
|
|
1520
|
-
readonly inputs: readonly [];
|
|
1521
|
-
readonly name: "token";
|
|
1522
|
-
readonly outputs: readonly [{
|
|
1523
|
-
readonly internalType: "address";
|
|
1524
|
-
readonly name: "";
|
|
1525
|
-
readonly type: "address";
|
|
1526
|
-
}];
|
|
1527
|
-
readonly stateMutability: "view";
|
|
1528
|
-
readonly type: "function";
|
|
1529
|
-
}, {
|
|
1530
|
-
readonly inputs: readonly [{
|
|
1531
|
-
readonly internalType: "address";
|
|
1532
|
-
readonly name: "newOwner";
|
|
1533
|
-
readonly type: "address";
|
|
1534
|
-
}];
|
|
1535
|
-
readonly name: "transferOwnership";
|
|
1536
|
-
readonly outputs: readonly [];
|
|
1537
|
-
readonly stateMutability: "nonpayable";
|
|
1538
|
-
readonly type: "function";
|
|
1539
|
-
}, {
|
|
1540
|
-
readonly inputs: readonly [];
|
|
1541
|
-
readonly name: "treasuryFee";
|
|
1542
|
-
readonly outputs: readonly [{
|
|
1543
|
-
readonly internalType: "uint64";
|
|
1544
|
-
readonly name: "";
|
|
1545
|
-
readonly type: "uint64";
|
|
1546
|
-
}];
|
|
1547
|
-
readonly stateMutability: "view";
|
|
1548
|
-
readonly type: "function";
|
|
1549
|
-
}, {
|
|
1550
|
-
readonly inputs: readonly [];
|
|
1551
|
-
readonly name: "tvl";
|
|
1552
|
-
readonly outputs: readonly [{
|
|
1553
|
-
readonly internalType: "uint256";
|
|
1554
|
-
readonly name: "";
|
|
1555
|
-
readonly type: "uint256";
|
|
1556
|
-
}];
|
|
1557
|
-
readonly stateMutability: "view";
|
|
1558
|
-
readonly type: "function";
|
|
1559
|
-
}, {
|
|
1560
|
-
readonly inputs: readonly [{
|
|
1561
|
-
readonly internalType: "bytes32";
|
|
1562
|
-
readonly name: "guid";
|
|
1563
|
-
readonly type: "bytes32";
|
|
1564
|
-
}, {
|
|
1565
|
-
readonly internalType: "uint8";
|
|
1566
|
-
readonly name: "index";
|
|
1567
|
-
readonly type: "uint8";
|
|
1568
|
-
}];
|
|
1569
|
-
readonly name: "unreceivedTokens";
|
|
1570
|
-
readonly outputs: readonly [{
|
|
1571
|
-
readonly internalType: "bytes32";
|
|
1572
|
-
readonly name: "hash";
|
|
1573
|
-
readonly type: "bytes32";
|
|
1574
|
-
}];
|
|
1575
|
-
readonly stateMutability: "view";
|
|
1576
|
-
readonly type: "function";
|
|
1577
|
-
}, {
|
|
1578
|
-
readonly inputs: readonly [];
|
|
1579
|
-
readonly name: "withdrawPlannerFee";
|
|
1580
|
-
readonly outputs: readonly [];
|
|
1581
|
-
readonly stateMutability: "nonpayable";
|
|
1582
|
-
readonly type: "function";
|
|
1583
|
-
}, {
|
|
1584
|
-
readonly inputs: readonly [{
|
|
1585
|
-
readonly internalType: "address";
|
|
1586
|
-
readonly name: "_to";
|
|
1587
|
-
readonly type: "address";
|
|
1588
|
-
}, {
|
|
1589
|
-
readonly internalType: "uint64";
|
|
1590
|
-
readonly name: "_amountSD";
|
|
1591
|
-
readonly type: "uint64";
|
|
1592
|
-
}];
|
|
1593
|
-
readonly name: "withdrawTreasuryFee";
|
|
1594
|
-
readonly outputs: readonly [];
|
|
1595
|
-
readonly stateMutability: "nonpayable";
|
|
1596
|
-
readonly type: "function";
|
|
1597
|
-
}];
|
|
1598
|
-
type Abi0 = typeof abi0;
|
|
1599
|
-
type Abis = {
|
|
1600
|
-
"arbitrum-mainnet": Abi0;
|
|
1601
|
-
"arbsep-testnet": Abi0;
|
|
1602
|
-
"aurora-mainnet": Abi0;
|
|
1603
|
-
"avalanche-mainnet": Abi0;
|
|
1604
|
-
"base-mainnet": Abi0;
|
|
1605
|
-
"bsc-mainnet": Abi0;
|
|
1606
|
-
"coredao-mainnet": Abi0;
|
|
1607
|
-
"ethereum-mainnet": Abi0;
|
|
1608
|
-
"ethereum-sandbox-local": Abi0;
|
|
1609
|
-
"gnosis-mainnet": Abi0;
|
|
1610
|
-
"mantle-mainnet": Abi0;
|
|
1611
|
-
"mantlesep-testnet": Abi0;
|
|
1612
|
-
"monad-testnet": Abi0;
|
|
1613
|
-
"optimism-mainnet": Abi0;
|
|
1614
|
-
"optsep-testnet": Abi0;
|
|
1615
|
-
"polygon-mainnet": Abi0;
|
|
1616
|
-
"scroll-mainnet": Abi0;
|
|
1617
|
-
"sei-mainnet": Abi0;
|
|
1618
|
-
"sepolia-testnet": Abi0;
|
|
1619
|
-
"soneium-mainnet": Abi0;
|
|
1620
|
-
"sonic-mainnet": Abi0;
|
|
1621
|
-
"sophon-mainnet": Abi0;
|
|
1622
|
-
};
|
|
1623
|
-
declare const abis: Abis;
|
|
1624
|
-
|
|
1625
|
-
declare const StargatePoolUSDC_abis: typeof abis;
|
|
1626
|
-
declare const StargatePoolUSDC_addresses: typeof addresses;
|
|
1627
|
-
declare const StargatePoolUSDC_transactionHashes: typeof transactionHashes;
|
|
1628
|
-
declare namespace StargatePoolUSDC {
|
|
1629
|
-
export { StargatePoolUSDC_abis as abis, StargatePoolUSDC_addresses as addresses, StargatePoolUSDC_transactionHashes as transactionHashes };
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
export { StargatePoolUSDC as S, addresses as a, abis as b, transactionHashes as t };
|