@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,4995 +0,0 @@
|
|
|
1
|
-
declare const addresses: {
|
|
2
|
-
"abstract-mainnet": string;
|
|
3
|
-
"ape-mainnet": string;
|
|
4
|
-
"apexfusionnexus-mainnet": string;
|
|
5
|
-
"bera-mainnet": string;
|
|
6
|
-
"bl3-testnet": string;
|
|
7
|
-
"botanix-mainnet": string;
|
|
8
|
-
"bsc-sandbox-local": string;
|
|
9
|
-
"camp-mainnet": string;
|
|
10
|
-
"cronosevm-mainnet": string;
|
|
11
|
-
"degen-mainnet": string;
|
|
12
|
-
"doma-mainnet": string;
|
|
13
|
-
"edu-mainnet": string;
|
|
14
|
-
"flare-mainnet": string;
|
|
15
|
-
"flow-mainnet": string;
|
|
16
|
-
"fuse-mainnet": string;
|
|
17
|
-
"gatelayer-mainnet": string;
|
|
18
|
-
"glue-mainnet": string;
|
|
19
|
-
"goat-mainnet": string;
|
|
20
|
-
"gravity-mainnet": string;
|
|
21
|
-
"hemi-mainnet": string;
|
|
22
|
-
"horizen-mainnet": string;
|
|
23
|
-
"ink-mainnet": string;
|
|
24
|
-
"iota-mainnet": string;
|
|
25
|
-
"islander-mainnet": string;
|
|
26
|
-
"klaytn-mainnet": string;
|
|
27
|
-
"klaytn-testnet": string;
|
|
28
|
-
"lightlink-mainnet": string;
|
|
29
|
-
"moderato-testnet": string;
|
|
30
|
-
"nibiru-mainnet": string;
|
|
31
|
-
"odyssey-testnet": string;
|
|
32
|
-
"og-mainnet": string;
|
|
33
|
-
"orderly-mainnet": string;
|
|
34
|
-
"peaq-mainnet": string;
|
|
35
|
-
"plumephoenix-mainnet": string;
|
|
36
|
-
"polygon-sandbox-local": string;
|
|
37
|
-
"rarible-mainnet": string;
|
|
38
|
-
"redbelly-mainnet": string;
|
|
39
|
-
"rootstock-mainnet": string;
|
|
40
|
-
"somnia-mainnet": string;
|
|
41
|
-
"stable-mainnet": string;
|
|
42
|
-
"story-mainnet": string;
|
|
43
|
-
"superposition-mainnet": string;
|
|
44
|
-
"taiko-mainnet": string;
|
|
45
|
-
"telos-mainnet": string;
|
|
46
|
-
"tempo-mainnet": string;
|
|
47
|
-
"xdc-mainnet": string;
|
|
48
|
-
};
|
|
49
|
-
declare const transactionHashes: {
|
|
50
|
-
"ape-mainnet": string;
|
|
51
|
-
"apexfusionnexus-mainnet": string;
|
|
52
|
-
"bera-mainnet": string;
|
|
53
|
-
"bl3-testnet": string;
|
|
54
|
-
"botanix-mainnet": string;
|
|
55
|
-
"bsc-sandbox-local": string;
|
|
56
|
-
"camp-mainnet": string;
|
|
57
|
-
"cronosevm-mainnet": string;
|
|
58
|
-
"degen-mainnet": string;
|
|
59
|
-
"doma-mainnet": string;
|
|
60
|
-
"edu-mainnet": string;
|
|
61
|
-
"flare-mainnet": string;
|
|
62
|
-
"flow-mainnet": string;
|
|
63
|
-
"fuse-mainnet": string;
|
|
64
|
-
"gatelayer-mainnet": string;
|
|
65
|
-
"glue-mainnet": string;
|
|
66
|
-
"goat-mainnet": string;
|
|
67
|
-
"gravity-mainnet": string;
|
|
68
|
-
"hemi-mainnet": string;
|
|
69
|
-
"horizen-mainnet": string;
|
|
70
|
-
"ink-mainnet": string;
|
|
71
|
-
"iota-mainnet": string;
|
|
72
|
-
"islander-mainnet": string;
|
|
73
|
-
"klaytn-mainnet": string;
|
|
74
|
-
"klaytn-testnet": string;
|
|
75
|
-
"lightlink-mainnet": string;
|
|
76
|
-
"moderato-testnet": string;
|
|
77
|
-
"nibiru-mainnet": string;
|
|
78
|
-
"odyssey-testnet": string;
|
|
79
|
-
"og-mainnet": string;
|
|
80
|
-
"orderly-mainnet": string;
|
|
81
|
-
"peaq-mainnet": string;
|
|
82
|
-
"plumephoenix-mainnet": string;
|
|
83
|
-
"polygon-sandbox-local": string;
|
|
84
|
-
"rarible-mainnet": string;
|
|
85
|
-
"redbelly-mainnet": string;
|
|
86
|
-
"rootstock-mainnet": string;
|
|
87
|
-
"somnia-mainnet": string;
|
|
88
|
-
"stable-mainnet": string;
|
|
89
|
-
"story-mainnet": string;
|
|
90
|
-
"superposition-mainnet": string;
|
|
91
|
-
"taiko-mainnet": string;
|
|
92
|
-
"telos-mainnet": string;
|
|
93
|
-
"tempo-mainnet": string;
|
|
94
|
-
"xdc-mainnet": string;
|
|
95
|
-
};
|
|
96
|
-
declare const abi0: readonly [{
|
|
97
|
-
readonly inputs: readonly [{
|
|
98
|
-
readonly internalType: "address";
|
|
99
|
-
readonly name: "_token";
|
|
100
|
-
readonly type: "address";
|
|
101
|
-
}, {
|
|
102
|
-
readonly internalType: "uint8";
|
|
103
|
-
readonly name: "_sharedDecimals";
|
|
104
|
-
readonly type: "uint8";
|
|
105
|
-
}, {
|
|
106
|
-
readonly internalType: "address";
|
|
107
|
-
readonly name: "_endpoint";
|
|
108
|
-
readonly type: "address";
|
|
109
|
-
}, {
|
|
110
|
-
readonly internalType: "address";
|
|
111
|
-
readonly name: "_owner";
|
|
112
|
-
readonly type: "address";
|
|
113
|
-
}];
|
|
114
|
-
readonly stateMutability: "nonpayable";
|
|
115
|
-
readonly type: "constructor";
|
|
116
|
-
}, {
|
|
117
|
-
readonly inputs: readonly [];
|
|
118
|
-
readonly name: "InvalidLocalDecimals";
|
|
119
|
-
readonly type: "error";
|
|
120
|
-
}, {
|
|
121
|
-
readonly inputs: readonly [];
|
|
122
|
-
readonly name: "Path_AlreadyHasCredit";
|
|
123
|
-
readonly type: "error";
|
|
124
|
-
}, {
|
|
125
|
-
readonly inputs: readonly [];
|
|
126
|
-
readonly name: "Path_InsufficientCredit";
|
|
127
|
-
readonly type: "error";
|
|
128
|
-
}, {
|
|
129
|
-
readonly inputs: readonly [];
|
|
130
|
-
readonly name: "Path_UnlimitedCredit";
|
|
131
|
-
readonly type: "error";
|
|
132
|
-
}, {
|
|
133
|
-
readonly inputs: readonly [{
|
|
134
|
-
readonly internalType: "uint256";
|
|
135
|
-
readonly name: "amountLD";
|
|
136
|
-
readonly type: "uint256";
|
|
137
|
-
}, {
|
|
138
|
-
readonly internalType: "uint256";
|
|
139
|
-
readonly name: "minAmountLD";
|
|
140
|
-
readonly type: "uint256";
|
|
141
|
-
}];
|
|
142
|
-
readonly name: "SlippageExceeded";
|
|
143
|
-
readonly type: "error";
|
|
144
|
-
}, {
|
|
145
|
-
readonly inputs: readonly [];
|
|
146
|
-
readonly name: "Stargate_InsufficientFare";
|
|
147
|
-
readonly type: "error";
|
|
148
|
-
}, {
|
|
149
|
-
readonly inputs: readonly [];
|
|
150
|
-
readonly name: "Stargate_InvalidAmount";
|
|
151
|
-
readonly type: "error";
|
|
152
|
-
}, {
|
|
153
|
-
readonly inputs: readonly [];
|
|
154
|
-
readonly name: "Stargate_InvalidPath";
|
|
155
|
-
readonly type: "error";
|
|
156
|
-
}, {
|
|
157
|
-
readonly inputs: readonly [];
|
|
158
|
-
readonly name: "Stargate_InvalidTokenDecimals";
|
|
159
|
-
readonly type: "error";
|
|
160
|
-
}, {
|
|
161
|
-
readonly inputs: readonly [];
|
|
162
|
-
readonly name: "Stargate_LzTokenUnavailable";
|
|
163
|
-
readonly type: "error";
|
|
164
|
-
}, {
|
|
165
|
-
readonly inputs: readonly [];
|
|
166
|
-
readonly name: "Stargate_OutflowFailed";
|
|
167
|
-
readonly type: "error";
|
|
168
|
-
}, {
|
|
169
|
-
readonly inputs: readonly [];
|
|
170
|
-
readonly name: "Stargate_Paused";
|
|
171
|
-
readonly type: "error";
|
|
172
|
-
}, {
|
|
173
|
-
readonly inputs: readonly [];
|
|
174
|
-
readonly name: "Stargate_RecoverTokenUnsupported";
|
|
175
|
-
readonly type: "error";
|
|
176
|
-
}, {
|
|
177
|
-
readonly inputs: readonly [];
|
|
178
|
-
readonly name: "Stargate_ReentrantCall";
|
|
179
|
-
readonly type: "error";
|
|
180
|
-
}, {
|
|
181
|
-
readonly inputs: readonly [];
|
|
182
|
-
readonly name: "Stargate_SlippageTooHigh";
|
|
183
|
-
readonly type: "error";
|
|
184
|
-
}, {
|
|
185
|
-
readonly inputs: readonly [];
|
|
186
|
-
readonly name: "Stargate_Unauthorized";
|
|
187
|
-
readonly type: "error";
|
|
188
|
-
}, {
|
|
189
|
-
readonly inputs: readonly [];
|
|
190
|
-
readonly name: "Stargate_UnreceivedTokenNotFound";
|
|
191
|
-
readonly type: "error";
|
|
192
|
-
}, {
|
|
193
|
-
readonly inputs: readonly [];
|
|
194
|
-
readonly name: "Transfer_ApproveFailed";
|
|
195
|
-
readonly type: "error";
|
|
196
|
-
}, {
|
|
197
|
-
readonly inputs: readonly [];
|
|
198
|
-
readonly name: "Transfer_TransferFailed";
|
|
199
|
-
readonly type: "error";
|
|
200
|
-
}, {
|
|
201
|
-
readonly anonymous: false;
|
|
202
|
-
readonly inputs: readonly [{
|
|
203
|
-
readonly components: readonly [{
|
|
204
|
-
readonly internalType: "address";
|
|
205
|
-
readonly name: "feeLib";
|
|
206
|
-
readonly type: "address";
|
|
207
|
-
}, {
|
|
208
|
-
readonly internalType: "address";
|
|
209
|
-
readonly name: "planner";
|
|
210
|
-
readonly type: "address";
|
|
211
|
-
}, {
|
|
212
|
-
readonly internalType: "address";
|
|
213
|
-
readonly name: "treasurer";
|
|
214
|
-
readonly type: "address";
|
|
215
|
-
}, {
|
|
216
|
-
readonly internalType: "address";
|
|
217
|
-
readonly name: "tokenMessaging";
|
|
218
|
-
readonly type: "address";
|
|
219
|
-
}, {
|
|
220
|
-
readonly internalType: "address";
|
|
221
|
-
readonly name: "creditMessaging";
|
|
222
|
-
readonly type: "address";
|
|
223
|
-
}, {
|
|
224
|
-
readonly internalType: "address";
|
|
225
|
-
readonly name: "lzToken";
|
|
226
|
-
readonly type: "address";
|
|
227
|
-
}];
|
|
228
|
-
readonly indexed: false;
|
|
229
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
230
|
-
readonly name: "config";
|
|
231
|
-
readonly type: "tuple";
|
|
232
|
-
}];
|
|
233
|
-
readonly name: "AddressConfigSet";
|
|
234
|
-
readonly type: "event";
|
|
235
|
-
}, {
|
|
236
|
-
readonly anonymous: false;
|
|
237
|
-
readonly inputs: readonly [{
|
|
238
|
-
readonly indexed: false;
|
|
239
|
-
readonly internalType: "uint32";
|
|
240
|
-
readonly name: "srcEid";
|
|
241
|
-
readonly type: "uint32";
|
|
242
|
-
}, {
|
|
243
|
-
readonly components: readonly [{
|
|
244
|
-
readonly internalType: "uint32";
|
|
245
|
-
readonly name: "srcEid";
|
|
246
|
-
readonly type: "uint32";
|
|
247
|
-
}, {
|
|
248
|
-
readonly internalType: "uint64";
|
|
249
|
-
readonly name: "amount";
|
|
250
|
-
readonly type: "uint64";
|
|
251
|
-
}];
|
|
252
|
-
readonly indexed: false;
|
|
253
|
-
readonly internalType: "struct Credit[]";
|
|
254
|
-
readonly name: "credits";
|
|
255
|
-
readonly type: "tuple[]";
|
|
256
|
-
}];
|
|
257
|
-
readonly name: "CreditsReceived";
|
|
258
|
-
readonly type: "event";
|
|
259
|
-
}, {
|
|
260
|
-
readonly anonymous: false;
|
|
261
|
-
readonly inputs: readonly [{
|
|
262
|
-
readonly indexed: false;
|
|
263
|
-
readonly internalType: "uint32";
|
|
264
|
-
readonly name: "dstEid";
|
|
265
|
-
readonly type: "uint32";
|
|
266
|
-
}, {
|
|
267
|
-
readonly components: readonly [{
|
|
268
|
-
readonly internalType: "uint32";
|
|
269
|
-
readonly name: "srcEid";
|
|
270
|
-
readonly type: "uint32";
|
|
271
|
-
}, {
|
|
272
|
-
readonly internalType: "uint64";
|
|
273
|
-
readonly name: "amount";
|
|
274
|
-
readonly type: "uint64";
|
|
275
|
-
}];
|
|
276
|
-
readonly indexed: false;
|
|
277
|
-
readonly internalType: "struct Credit[]";
|
|
278
|
-
readonly name: "credits";
|
|
279
|
-
readonly type: "tuple[]";
|
|
280
|
-
}];
|
|
281
|
-
readonly name: "CreditsSent";
|
|
282
|
-
readonly type: "event";
|
|
283
|
-
}, {
|
|
284
|
-
readonly anonymous: false;
|
|
285
|
-
readonly inputs: readonly [{
|
|
286
|
-
readonly indexed: false;
|
|
287
|
-
readonly internalType: "uint32";
|
|
288
|
-
readonly name: "dstEid";
|
|
289
|
-
readonly type: "uint32";
|
|
290
|
-
}, {
|
|
291
|
-
readonly indexed: false;
|
|
292
|
-
readonly internalType: "bool";
|
|
293
|
-
readonly name: "oft";
|
|
294
|
-
readonly type: "bool";
|
|
295
|
-
}];
|
|
296
|
-
readonly name: "OFTPathSet";
|
|
297
|
-
readonly type: "event";
|
|
298
|
-
}, {
|
|
299
|
-
readonly anonymous: false;
|
|
300
|
-
readonly inputs: readonly [{
|
|
301
|
-
readonly indexed: true;
|
|
302
|
-
readonly internalType: "bytes32";
|
|
303
|
-
readonly name: "guid";
|
|
304
|
-
readonly type: "bytes32";
|
|
305
|
-
}, {
|
|
306
|
-
readonly indexed: false;
|
|
307
|
-
readonly internalType: "uint32";
|
|
308
|
-
readonly name: "srcEid";
|
|
309
|
-
readonly type: "uint32";
|
|
310
|
-
}, {
|
|
311
|
-
readonly indexed: true;
|
|
312
|
-
readonly internalType: "address";
|
|
313
|
-
readonly name: "toAddress";
|
|
314
|
-
readonly type: "address";
|
|
315
|
-
}, {
|
|
316
|
-
readonly indexed: false;
|
|
317
|
-
readonly internalType: "uint256";
|
|
318
|
-
readonly name: "amountReceivedLD";
|
|
319
|
-
readonly type: "uint256";
|
|
320
|
-
}];
|
|
321
|
-
readonly name: "OFTReceived";
|
|
322
|
-
readonly type: "event";
|
|
323
|
-
}, {
|
|
324
|
-
readonly anonymous: false;
|
|
325
|
-
readonly inputs: readonly [{
|
|
326
|
-
readonly indexed: true;
|
|
327
|
-
readonly internalType: "bytes32";
|
|
328
|
-
readonly name: "guid";
|
|
329
|
-
readonly type: "bytes32";
|
|
330
|
-
}, {
|
|
331
|
-
readonly indexed: false;
|
|
332
|
-
readonly internalType: "uint32";
|
|
333
|
-
readonly name: "dstEid";
|
|
334
|
-
readonly type: "uint32";
|
|
335
|
-
}, {
|
|
336
|
-
readonly indexed: true;
|
|
337
|
-
readonly internalType: "address";
|
|
338
|
-
readonly name: "fromAddress";
|
|
339
|
-
readonly type: "address";
|
|
340
|
-
}, {
|
|
341
|
-
readonly indexed: false;
|
|
342
|
-
readonly internalType: "uint256";
|
|
343
|
-
readonly name: "amountSentLD";
|
|
344
|
-
readonly type: "uint256";
|
|
345
|
-
}, {
|
|
346
|
-
readonly indexed: false;
|
|
347
|
-
readonly internalType: "uint256";
|
|
348
|
-
readonly name: "amountReceivedLD";
|
|
349
|
-
readonly type: "uint256";
|
|
350
|
-
}];
|
|
351
|
-
readonly name: "OFTSent";
|
|
352
|
-
readonly type: "event";
|
|
353
|
-
}, {
|
|
354
|
-
readonly anonymous: false;
|
|
355
|
-
readonly inputs: readonly [{
|
|
356
|
-
readonly indexed: true;
|
|
357
|
-
readonly internalType: "address";
|
|
358
|
-
readonly name: "previousOwner";
|
|
359
|
-
readonly type: "address";
|
|
360
|
-
}, {
|
|
361
|
-
readonly indexed: true;
|
|
362
|
-
readonly internalType: "address";
|
|
363
|
-
readonly name: "newOwner";
|
|
364
|
-
readonly type: "address";
|
|
365
|
-
}];
|
|
366
|
-
readonly name: "OwnershipTransferred";
|
|
367
|
-
readonly type: "event";
|
|
368
|
-
}, {
|
|
369
|
-
readonly anonymous: false;
|
|
370
|
-
readonly inputs: readonly [{
|
|
371
|
-
readonly indexed: false;
|
|
372
|
-
readonly internalType: "bool";
|
|
373
|
-
readonly name: "paused";
|
|
374
|
-
readonly type: "bool";
|
|
375
|
-
}];
|
|
376
|
-
readonly name: "PauseSet";
|
|
377
|
-
readonly type: "event";
|
|
378
|
-
}, {
|
|
379
|
-
readonly anonymous: false;
|
|
380
|
-
readonly inputs: readonly [{
|
|
381
|
-
readonly indexed: false;
|
|
382
|
-
readonly internalType: "uint256";
|
|
383
|
-
readonly name: "amount";
|
|
384
|
-
readonly type: "uint256";
|
|
385
|
-
}];
|
|
386
|
-
readonly name: "PlannerFeeWithdrawn";
|
|
387
|
-
readonly type: "event";
|
|
388
|
-
}, {
|
|
389
|
-
readonly anonymous: false;
|
|
390
|
-
readonly inputs: readonly [{
|
|
391
|
-
readonly indexed: false;
|
|
392
|
-
readonly internalType: "uint64";
|
|
393
|
-
readonly name: "amountSD";
|
|
394
|
-
readonly type: "uint64";
|
|
395
|
-
}];
|
|
396
|
-
readonly name: "TreasuryFeeAdded";
|
|
397
|
-
readonly type: "event";
|
|
398
|
-
}, {
|
|
399
|
-
readonly anonymous: false;
|
|
400
|
-
readonly inputs: readonly [{
|
|
401
|
-
readonly indexed: false;
|
|
402
|
-
readonly internalType: "address";
|
|
403
|
-
readonly name: "to";
|
|
404
|
-
readonly type: "address";
|
|
405
|
-
}, {
|
|
406
|
-
readonly indexed: false;
|
|
407
|
-
readonly internalType: "uint64";
|
|
408
|
-
readonly name: "amountSD";
|
|
409
|
-
readonly type: "uint64";
|
|
410
|
-
}];
|
|
411
|
-
readonly name: "TreasuryFeeWithdrawn";
|
|
412
|
-
readonly type: "event";
|
|
413
|
-
}, {
|
|
414
|
-
readonly anonymous: false;
|
|
415
|
-
readonly inputs: readonly [{
|
|
416
|
-
readonly indexed: false;
|
|
417
|
-
readonly internalType: "bytes32";
|
|
418
|
-
readonly name: "guid";
|
|
419
|
-
readonly type: "bytes32";
|
|
420
|
-
}, {
|
|
421
|
-
readonly indexed: false;
|
|
422
|
-
readonly internalType: "uint8";
|
|
423
|
-
readonly name: "index";
|
|
424
|
-
readonly type: "uint8";
|
|
425
|
-
}, {
|
|
426
|
-
readonly indexed: false;
|
|
427
|
-
readonly internalType: "uint32";
|
|
428
|
-
readonly name: "srcEid";
|
|
429
|
-
readonly type: "uint32";
|
|
430
|
-
}, {
|
|
431
|
-
readonly indexed: false;
|
|
432
|
-
readonly internalType: "address";
|
|
433
|
-
readonly name: "receiver";
|
|
434
|
-
readonly type: "address";
|
|
435
|
-
}, {
|
|
436
|
-
readonly indexed: false;
|
|
437
|
-
readonly internalType: "uint256";
|
|
438
|
-
readonly name: "amountLD";
|
|
439
|
-
readonly type: "uint256";
|
|
440
|
-
}, {
|
|
441
|
-
readonly indexed: false;
|
|
442
|
-
readonly internalType: "bytes";
|
|
443
|
-
readonly name: "composeMsg";
|
|
444
|
-
readonly type: "bytes";
|
|
445
|
-
}];
|
|
446
|
-
readonly name: "UnreceivedTokenCached";
|
|
447
|
-
readonly type: "event";
|
|
448
|
-
}, {
|
|
449
|
-
readonly inputs: readonly [{
|
|
450
|
-
readonly internalType: "uint256";
|
|
451
|
-
readonly name: "_amountLD";
|
|
452
|
-
readonly type: "uint256";
|
|
453
|
-
}];
|
|
454
|
-
readonly name: "addTreasuryFee";
|
|
455
|
-
readonly outputs: readonly [];
|
|
456
|
-
readonly stateMutability: "payable";
|
|
457
|
-
readonly type: "function";
|
|
458
|
-
}, {
|
|
459
|
-
readonly inputs: readonly [];
|
|
460
|
-
readonly name: "approvalRequired";
|
|
461
|
-
readonly outputs: readonly [{
|
|
462
|
-
readonly internalType: "bool";
|
|
463
|
-
readonly name: "";
|
|
464
|
-
readonly type: "bool";
|
|
465
|
-
}];
|
|
466
|
-
readonly stateMutability: "pure";
|
|
467
|
-
readonly type: "function";
|
|
468
|
-
}, {
|
|
469
|
-
readonly inputs: readonly [];
|
|
470
|
-
readonly name: "endpoint";
|
|
471
|
-
readonly outputs: readonly [{
|
|
472
|
-
readonly internalType: "contract ILayerZeroEndpointV2";
|
|
473
|
-
readonly name: "";
|
|
474
|
-
readonly type: "address";
|
|
475
|
-
}];
|
|
476
|
-
readonly stateMutability: "view";
|
|
477
|
-
readonly type: "function";
|
|
478
|
-
}, {
|
|
479
|
-
readonly inputs: readonly [];
|
|
480
|
-
readonly name: "getAddressConfig";
|
|
481
|
-
readonly outputs: readonly [{
|
|
482
|
-
readonly components: readonly [{
|
|
483
|
-
readonly internalType: "address";
|
|
484
|
-
readonly name: "feeLib";
|
|
485
|
-
readonly type: "address";
|
|
486
|
-
}, {
|
|
487
|
-
readonly internalType: "address";
|
|
488
|
-
readonly name: "planner";
|
|
489
|
-
readonly type: "address";
|
|
490
|
-
}, {
|
|
491
|
-
readonly internalType: "address";
|
|
492
|
-
readonly name: "treasurer";
|
|
493
|
-
readonly type: "address";
|
|
494
|
-
}, {
|
|
495
|
-
readonly internalType: "address";
|
|
496
|
-
readonly name: "tokenMessaging";
|
|
497
|
-
readonly type: "address";
|
|
498
|
-
}, {
|
|
499
|
-
readonly internalType: "address";
|
|
500
|
-
readonly name: "creditMessaging";
|
|
501
|
-
readonly type: "address";
|
|
502
|
-
}, {
|
|
503
|
-
readonly internalType: "address";
|
|
504
|
-
readonly name: "lzToken";
|
|
505
|
-
readonly type: "address";
|
|
506
|
-
}];
|
|
507
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
508
|
-
readonly name: "";
|
|
509
|
-
readonly type: "tuple";
|
|
510
|
-
}];
|
|
511
|
-
readonly stateMutability: "view";
|
|
512
|
-
readonly type: "function";
|
|
513
|
-
}, {
|
|
514
|
-
readonly inputs: readonly [];
|
|
515
|
-
readonly name: "getTransferGasLimit";
|
|
516
|
-
readonly outputs: readonly [{
|
|
517
|
-
readonly internalType: "uint256";
|
|
518
|
-
readonly name: "";
|
|
519
|
-
readonly type: "uint256";
|
|
520
|
-
}];
|
|
521
|
-
readonly stateMutability: "view";
|
|
522
|
-
readonly type: "function";
|
|
523
|
-
}, {
|
|
524
|
-
readonly inputs: readonly [];
|
|
525
|
-
readonly name: "localEid";
|
|
526
|
-
readonly outputs: readonly [{
|
|
527
|
-
readonly internalType: "uint32";
|
|
528
|
-
readonly name: "";
|
|
529
|
-
readonly type: "uint32";
|
|
530
|
-
}];
|
|
531
|
-
readonly stateMutability: "view";
|
|
532
|
-
readonly type: "function";
|
|
533
|
-
}, {
|
|
534
|
-
readonly inputs: readonly [];
|
|
535
|
-
readonly name: "oftVersion";
|
|
536
|
-
readonly outputs: readonly [{
|
|
537
|
-
readonly internalType: "bytes4";
|
|
538
|
-
readonly name: "interfaceId";
|
|
539
|
-
readonly type: "bytes4";
|
|
540
|
-
}, {
|
|
541
|
-
readonly internalType: "uint64";
|
|
542
|
-
readonly name: "version";
|
|
543
|
-
readonly type: "uint64";
|
|
544
|
-
}];
|
|
545
|
-
readonly stateMutability: "pure";
|
|
546
|
-
readonly type: "function";
|
|
547
|
-
}, {
|
|
548
|
-
readonly inputs: readonly [];
|
|
549
|
-
readonly name: "owner";
|
|
550
|
-
readonly outputs: readonly [{
|
|
551
|
-
readonly internalType: "address";
|
|
552
|
-
readonly name: "";
|
|
553
|
-
readonly type: "address";
|
|
554
|
-
}];
|
|
555
|
-
readonly stateMutability: "view";
|
|
556
|
-
readonly type: "function";
|
|
557
|
-
}, {
|
|
558
|
-
readonly inputs: readonly [{
|
|
559
|
-
readonly internalType: "uint32";
|
|
560
|
-
readonly name: "eid";
|
|
561
|
-
readonly type: "uint32";
|
|
562
|
-
}];
|
|
563
|
-
readonly name: "paths";
|
|
564
|
-
readonly outputs: readonly [{
|
|
565
|
-
readonly internalType: "uint64";
|
|
566
|
-
readonly name: "credit";
|
|
567
|
-
readonly type: "uint64";
|
|
568
|
-
}];
|
|
569
|
-
readonly stateMutability: "view";
|
|
570
|
-
readonly type: "function";
|
|
571
|
-
}, {
|
|
572
|
-
readonly inputs: readonly [];
|
|
573
|
-
readonly name: "plannerFee";
|
|
574
|
-
readonly outputs: readonly [{
|
|
575
|
-
readonly internalType: "uint256";
|
|
576
|
-
readonly name: "available";
|
|
577
|
-
readonly type: "uint256";
|
|
578
|
-
}];
|
|
579
|
-
readonly stateMutability: "view";
|
|
580
|
-
readonly type: "function";
|
|
581
|
-
}, {
|
|
582
|
-
readonly inputs: readonly [{
|
|
583
|
-
readonly components: readonly [{
|
|
584
|
-
readonly internalType: "uint32";
|
|
585
|
-
readonly name: "dstEid";
|
|
586
|
-
readonly type: "uint32";
|
|
587
|
-
}, {
|
|
588
|
-
readonly internalType: "bytes32";
|
|
589
|
-
readonly name: "to";
|
|
590
|
-
readonly type: "bytes32";
|
|
591
|
-
}, {
|
|
592
|
-
readonly internalType: "uint256";
|
|
593
|
-
readonly name: "amountLD";
|
|
594
|
-
readonly type: "uint256";
|
|
595
|
-
}, {
|
|
596
|
-
readonly internalType: "uint256";
|
|
597
|
-
readonly name: "minAmountLD";
|
|
598
|
-
readonly type: "uint256";
|
|
599
|
-
}, {
|
|
600
|
-
readonly internalType: "bytes";
|
|
601
|
-
readonly name: "extraOptions";
|
|
602
|
-
readonly type: "bytes";
|
|
603
|
-
}, {
|
|
604
|
-
readonly internalType: "bytes";
|
|
605
|
-
readonly name: "composeMsg";
|
|
606
|
-
readonly type: "bytes";
|
|
607
|
-
}, {
|
|
608
|
-
readonly internalType: "bytes";
|
|
609
|
-
readonly name: "oftCmd";
|
|
610
|
-
readonly type: "bytes";
|
|
611
|
-
}];
|
|
612
|
-
readonly internalType: "struct SendParam";
|
|
613
|
-
readonly name: "_sendParam";
|
|
614
|
-
readonly type: "tuple";
|
|
615
|
-
}];
|
|
616
|
-
readonly name: "quoteOFT";
|
|
617
|
-
readonly outputs: readonly [{
|
|
618
|
-
readonly components: readonly [{
|
|
619
|
-
readonly internalType: "uint256";
|
|
620
|
-
readonly name: "minAmountLD";
|
|
621
|
-
readonly type: "uint256";
|
|
622
|
-
}, {
|
|
623
|
-
readonly internalType: "uint256";
|
|
624
|
-
readonly name: "maxAmountLD";
|
|
625
|
-
readonly type: "uint256";
|
|
626
|
-
}];
|
|
627
|
-
readonly internalType: "struct OFTLimit";
|
|
628
|
-
readonly name: "limit";
|
|
629
|
-
readonly type: "tuple";
|
|
630
|
-
}, {
|
|
631
|
-
readonly components: readonly [{
|
|
632
|
-
readonly internalType: "int256";
|
|
633
|
-
readonly name: "feeAmountLD";
|
|
634
|
-
readonly type: "int256";
|
|
635
|
-
}, {
|
|
636
|
-
readonly internalType: "string";
|
|
637
|
-
readonly name: "description";
|
|
638
|
-
readonly type: "string";
|
|
639
|
-
}];
|
|
640
|
-
readonly internalType: "struct OFTFeeDetail[]";
|
|
641
|
-
readonly name: "oftFeeDetails";
|
|
642
|
-
readonly type: "tuple[]";
|
|
643
|
-
}, {
|
|
644
|
-
readonly components: readonly [{
|
|
645
|
-
readonly internalType: "uint256";
|
|
646
|
-
readonly name: "amountSentLD";
|
|
647
|
-
readonly type: "uint256";
|
|
648
|
-
}, {
|
|
649
|
-
readonly internalType: "uint256";
|
|
650
|
-
readonly name: "amountReceivedLD";
|
|
651
|
-
readonly type: "uint256";
|
|
652
|
-
}];
|
|
653
|
-
readonly internalType: "struct OFTReceipt";
|
|
654
|
-
readonly name: "receipt";
|
|
655
|
-
readonly type: "tuple";
|
|
656
|
-
}];
|
|
657
|
-
readonly stateMutability: "view";
|
|
658
|
-
readonly type: "function";
|
|
659
|
-
}, {
|
|
660
|
-
readonly inputs: readonly [{
|
|
661
|
-
readonly components: readonly [{
|
|
662
|
-
readonly internalType: "uint32";
|
|
663
|
-
readonly name: "dstEid";
|
|
664
|
-
readonly type: "uint32";
|
|
665
|
-
}, {
|
|
666
|
-
readonly internalType: "bytes32";
|
|
667
|
-
readonly name: "to";
|
|
668
|
-
readonly type: "bytes32";
|
|
669
|
-
}, {
|
|
670
|
-
readonly internalType: "uint256";
|
|
671
|
-
readonly name: "amountLD";
|
|
672
|
-
readonly type: "uint256";
|
|
673
|
-
}, {
|
|
674
|
-
readonly internalType: "uint256";
|
|
675
|
-
readonly name: "minAmountLD";
|
|
676
|
-
readonly type: "uint256";
|
|
677
|
-
}, {
|
|
678
|
-
readonly internalType: "bytes";
|
|
679
|
-
readonly name: "extraOptions";
|
|
680
|
-
readonly type: "bytes";
|
|
681
|
-
}, {
|
|
682
|
-
readonly internalType: "bytes";
|
|
683
|
-
readonly name: "composeMsg";
|
|
684
|
-
readonly type: "bytes";
|
|
685
|
-
}, {
|
|
686
|
-
readonly internalType: "bytes";
|
|
687
|
-
readonly name: "oftCmd";
|
|
688
|
-
readonly type: "bytes";
|
|
689
|
-
}];
|
|
690
|
-
readonly internalType: "struct SendParam";
|
|
691
|
-
readonly name: "_sendParam";
|
|
692
|
-
readonly type: "tuple";
|
|
693
|
-
}, {
|
|
694
|
-
readonly internalType: "bool";
|
|
695
|
-
readonly name: "_payInLzToken";
|
|
696
|
-
readonly type: "bool";
|
|
697
|
-
}];
|
|
698
|
-
readonly name: "quoteSend";
|
|
699
|
-
readonly outputs: readonly [{
|
|
700
|
-
readonly components: readonly [{
|
|
701
|
-
readonly internalType: "uint256";
|
|
702
|
-
readonly name: "nativeFee";
|
|
703
|
-
readonly type: "uint256";
|
|
704
|
-
}, {
|
|
705
|
-
readonly internalType: "uint256";
|
|
706
|
-
readonly name: "lzTokenFee";
|
|
707
|
-
readonly type: "uint256";
|
|
708
|
-
}];
|
|
709
|
-
readonly internalType: "struct MessagingFee";
|
|
710
|
-
readonly name: "fee";
|
|
711
|
-
readonly type: "tuple";
|
|
712
|
-
}];
|
|
713
|
-
readonly stateMutability: "view";
|
|
714
|
-
readonly type: "function";
|
|
715
|
-
}, {
|
|
716
|
-
readonly inputs: readonly [{
|
|
717
|
-
readonly internalType: "uint32";
|
|
718
|
-
readonly name: "_srcEid";
|
|
719
|
-
readonly type: "uint32";
|
|
720
|
-
}, {
|
|
721
|
-
readonly components: readonly [{
|
|
722
|
-
readonly internalType: "uint32";
|
|
723
|
-
readonly name: "srcEid";
|
|
724
|
-
readonly type: "uint32";
|
|
725
|
-
}, {
|
|
726
|
-
readonly internalType: "uint64";
|
|
727
|
-
readonly name: "amount";
|
|
728
|
-
readonly type: "uint64";
|
|
729
|
-
}];
|
|
730
|
-
readonly internalType: "struct Credit[]";
|
|
731
|
-
readonly name: "_credits";
|
|
732
|
-
readonly type: "tuple[]";
|
|
733
|
-
}];
|
|
734
|
-
readonly name: "receiveCredits";
|
|
735
|
-
readonly outputs: readonly [];
|
|
736
|
-
readonly stateMutability: "nonpayable";
|
|
737
|
-
readonly type: "function";
|
|
738
|
-
}, {
|
|
739
|
-
readonly inputs: readonly [{
|
|
740
|
-
readonly components: readonly [{
|
|
741
|
-
readonly internalType: "uint32";
|
|
742
|
-
readonly name: "srcEid";
|
|
743
|
-
readonly type: "uint32";
|
|
744
|
-
}, {
|
|
745
|
-
readonly internalType: "bytes32";
|
|
746
|
-
readonly name: "sender";
|
|
747
|
-
readonly type: "bytes32";
|
|
748
|
-
}, {
|
|
749
|
-
readonly internalType: "uint64";
|
|
750
|
-
readonly name: "nonce";
|
|
751
|
-
readonly type: "uint64";
|
|
752
|
-
}];
|
|
753
|
-
readonly internalType: "struct Origin";
|
|
754
|
-
readonly name: "_origin";
|
|
755
|
-
readonly type: "tuple";
|
|
756
|
-
}, {
|
|
757
|
-
readonly internalType: "bytes32";
|
|
758
|
-
readonly name: "_guid";
|
|
759
|
-
readonly type: "bytes32";
|
|
760
|
-
}, {
|
|
761
|
-
readonly internalType: "uint8";
|
|
762
|
-
readonly name: "_seatNumber";
|
|
763
|
-
readonly type: "uint8";
|
|
764
|
-
}, {
|
|
765
|
-
readonly internalType: "address";
|
|
766
|
-
readonly name: "_receiver";
|
|
767
|
-
readonly type: "address";
|
|
768
|
-
}, {
|
|
769
|
-
readonly internalType: "uint64";
|
|
770
|
-
readonly name: "_amountSD";
|
|
771
|
-
readonly type: "uint64";
|
|
772
|
-
}];
|
|
773
|
-
readonly name: "receiveTokenBus";
|
|
774
|
-
readonly outputs: readonly [];
|
|
775
|
-
readonly stateMutability: "nonpayable";
|
|
776
|
-
readonly type: "function";
|
|
777
|
-
}, {
|
|
778
|
-
readonly inputs: readonly [{
|
|
779
|
-
readonly components: readonly [{
|
|
780
|
-
readonly internalType: "uint32";
|
|
781
|
-
readonly name: "srcEid";
|
|
782
|
-
readonly type: "uint32";
|
|
783
|
-
}, {
|
|
784
|
-
readonly internalType: "bytes32";
|
|
785
|
-
readonly name: "sender";
|
|
786
|
-
readonly type: "bytes32";
|
|
787
|
-
}, {
|
|
788
|
-
readonly internalType: "uint64";
|
|
789
|
-
readonly name: "nonce";
|
|
790
|
-
readonly type: "uint64";
|
|
791
|
-
}];
|
|
792
|
-
readonly internalType: "struct Origin";
|
|
793
|
-
readonly name: "_origin";
|
|
794
|
-
readonly type: "tuple";
|
|
795
|
-
}, {
|
|
796
|
-
readonly internalType: "bytes32";
|
|
797
|
-
readonly name: "_guid";
|
|
798
|
-
readonly type: "bytes32";
|
|
799
|
-
}, {
|
|
800
|
-
readonly internalType: "address";
|
|
801
|
-
readonly name: "_receiver";
|
|
802
|
-
readonly type: "address";
|
|
803
|
-
}, {
|
|
804
|
-
readonly internalType: "uint64";
|
|
805
|
-
readonly name: "_amountSD";
|
|
806
|
-
readonly type: "uint64";
|
|
807
|
-
}, {
|
|
808
|
-
readonly internalType: "bytes";
|
|
809
|
-
readonly name: "_composeMsg";
|
|
810
|
-
readonly type: "bytes";
|
|
811
|
-
}];
|
|
812
|
-
readonly name: "receiveTokenTaxi";
|
|
813
|
-
readonly outputs: readonly [];
|
|
814
|
-
readonly stateMutability: "nonpayable";
|
|
815
|
-
readonly type: "function";
|
|
816
|
-
}, {
|
|
817
|
-
readonly inputs: readonly [{
|
|
818
|
-
readonly internalType: "address";
|
|
819
|
-
readonly name: "_token";
|
|
820
|
-
readonly type: "address";
|
|
821
|
-
}, {
|
|
822
|
-
readonly internalType: "address";
|
|
823
|
-
readonly name: "_to";
|
|
824
|
-
readonly type: "address";
|
|
825
|
-
}, {
|
|
826
|
-
readonly internalType: "uint256";
|
|
827
|
-
readonly name: "_amount";
|
|
828
|
-
readonly type: "uint256";
|
|
829
|
-
}];
|
|
830
|
-
readonly name: "recoverToken";
|
|
831
|
-
readonly outputs: readonly [{
|
|
832
|
-
readonly internalType: "uint256";
|
|
833
|
-
readonly name: "";
|
|
834
|
-
readonly type: "uint256";
|
|
835
|
-
}];
|
|
836
|
-
readonly stateMutability: "nonpayable";
|
|
837
|
-
readonly type: "function";
|
|
838
|
-
}, {
|
|
839
|
-
readonly inputs: readonly [];
|
|
840
|
-
readonly name: "renounceOwnership";
|
|
841
|
-
readonly outputs: readonly [];
|
|
842
|
-
readonly stateMutability: "nonpayable";
|
|
843
|
-
readonly type: "function";
|
|
844
|
-
}, {
|
|
845
|
-
readonly inputs: readonly [{
|
|
846
|
-
readonly internalType: "bytes32";
|
|
847
|
-
readonly name: "_guid";
|
|
848
|
-
readonly type: "bytes32";
|
|
849
|
-
}, {
|
|
850
|
-
readonly internalType: "uint8";
|
|
851
|
-
readonly name: "_index";
|
|
852
|
-
readonly type: "uint8";
|
|
853
|
-
}, {
|
|
854
|
-
readonly internalType: "uint32";
|
|
855
|
-
readonly name: "_srcEid";
|
|
856
|
-
readonly type: "uint32";
|
|
857
|
-
}, {
|
|
858
|
-
readonly internalType: "address";
|
|
859
|
-
readonly name: "_receiver";
|
|
860
|
-
readonly type: "address";
|
|
861
|
-
}, {
|
|
862
|
-
readonly internalType: "uint256";
|
|
863
|
-
readonly name: "_amountLD";
|
|
864
|
-
readonly type: "uint256";
|
|
865
|
-
}, {
|
|
866
|
-
readonly internalType: "bytes";
|
|
867
|
-
readonly name: "_composeMsg";
|
|
868
|
-
readonly type: "bytes";
|
|
869
|
-
}];
|
|
870
|
-
readonly name: "retryReceiveToken";
|
|
871
|
-
readonly outputs: readonly [];
|
|
872
|
-
readonly stateMutability: "nonpayable";
|
|
873
|
-
readonly type: "function";
|
|
874
|
-
}, {
|
|
875
|
-
readonly inputs: readonly [{
|
|
876
|
-
readonly components: readonly [{
|
|
877
|
-
readonly internalType: "uint32";
|
|
878
|
-
readonly name: "dstEid";
|
|
879
|
-
readonly type: "uint32";
|
|
880
|
-
}, {
|
|
881
|
-
readonly internalType: "bytes32";
|
|
882
|
-
readonly name: "to";
|
|
883
|
-
readonly type: "bytes32";
|
|
884
|
-
}, {
|
|
885
|
-
readonly internalType: "uint256";
|
|
886
|
-
readonly name: "amountLD";
|
|
887
|
-
readonly type: "uint256";
|
|
888
|
-
}, {
|
|
889
|
-
readonly internalType: "uint256";
|
|
890
|
-
readonly name: "minAmountLD";
|
|
891
|
-
readonly type: "uint256";
|
|
892
|
-
}, {
|
|
893
|
-
readonly internalType: "bytes";
|
|
894
|
-
readonly name: "extraOptions";
|
|
895
|
-
readonly type: "bytes";
|
|
896
|
-
}, {
|
|
897
|
-
readonly internalType: "bytes";
|
|
898
|
-
readonly name: "composeMsg";
|
|
899
|
-
readonly type: "bytes";
|
|
900
|
-
}, {
|
|
901
|
-
readonly internalType: "bytes";
|
|
902
|
-
readonly name: "oftCmd";
|
|
903
|
-
readonly type: "bytes";
|
|
904
|
-
}];
|
|
905
|
-
readonly internalType: "struct SendParam";
|
|
906
|
-
readonly name: "_sendParam";
|
|
907
|
-
readonly type: "tuple";
|
|
908
|
-
}, {
|
|
909
|
-
readonly components: readonly [{
|
|
910
|
-
readonly internalType: "uint256";
|
|
911
|
-
readonly name: "nativeFee";
|
|
912
|
-
readonly type: "uint256";
|
|
913
|
-
}, {
|
|
914
|
-
readonly internalType: "uint256";
|
|
915
|
-
readonly name: "lzTokenFee";
|
|
916
|
-
readonly type: "uint256";
|
|
917
|
-
}];
|
|
918
|
-
readonly internalType: "struct MessagingFee";
|
|
919
|
-
readonly name: "_fee";
|
|
920
|
-
readonly type: "tuple";
|
|
921
|
-
}, {
|
|
922
|
-
readonly internalType: "address";
|
|
923
|
-
readonly name: "_refundAddress";
|
|
924
|
-
readonly type: "address";
|
|
925
|
-
}];
|
|
926
|
-
readonly name: "send";
|
|
927
|
-
readonly outputs: readonly [{
|
|
928
|
-
readonly components: readonly [{
|
|
929
|
-
readonly internalType: "bytes32";
|
|
930
|
-
readonly name: "guid";
|
|
931
|
-
readonly type: "bytes32";
|
|
932
|
-
}, {
|
|
933
|
-
readonly internalType: "uint64";
|
|
934
|
-
readonly name: "nonce";
|
|
935
|
-
readonly type: "uint64";
|
|
936
|
-
}, {
|
|
937
|
-
readonly components: readonly [{
|
|
938
|
-
readonly internalType: "uint256";
|
|
939
|
-
readonly name: "nativeFee";
|
|
940
|
-
readonly type: "uint256";
|
|
941
|
-
}, {
|
|
942
|
-
readonly internalType: "uint256";
|
|
943
|
-
readonly name: "lzTokenFee";
|
|
944
|
-
readonly type: "uint256";
|
|
945
|
-
}];
|
|
946
|
-
readonly internalType: "struct MessagingFee";
|
|
947
|
-
readonly name: "fee";
|
|
948
|
-
readonly type: "tuple";
|
|
949
|
-
}];
|
|
950
|
-
readonly internalType: "struct MessagingReceipt";
|
|
951
|
-
readonly name: "msgReceipt";
|
|
952
|
-
readonly type: "tuple";
|
|
953
|
-
}, {
|
|
954
|
-
readonly components: readonly [{
|
|
955
|
-
readonly internalType: "uint256";
|
|
956
|
-
readonly name: "amountSentLD";
|
|
957
|
-
readonly type: "uint256";
|
|
958
|
-
}, {
|
|
959
|
-
readonly internalType: "uint256";
|
|
960
|
-
readonly name: "amountReceivedLD";
|
|
961
|
-
readonly type: "uint256";
|
|
962
|
-
}];
|
|
963
|
-
readonly internalType: "struct OFTReceipt";
|
|
964
|
-
readonly name: "oftReceipt";
|
|
965
|
-
readonly type: "tuple";
|
|
966
|
-
}];
|
|
967
|
-
readonly stateMutability: "payable";
|
|
968
|
-
readonly type: "function";
|
|
969
|
-
}, {
|
|
970
|
-
readonly inputs: readonly [{
|
|
971
|
-
readonly internalType: "uint32";
|
|
972
|
-
readonly name: "_dstEid";
|
|
973
|
-
readonly type: "uint32";
|
|
974
|
-
}, {
|
|
975
|
-
readonly components: readonly [{
|
|
976
|
-
readonly internalType: "uint32";
|
|
977
|
-
readonly name: "srcEid";
|
|
978
|
-
readonly type: "uint32";
|
|
979
|
-
}, {
|
|
980
|
-
readonly internalType: "uint64";
|
|
981
|
-
readonly name: "amount";
|
|
982
|
-
readonly type: "uint64";
|
|
983
|
-
}, {
|
|
984
|
-
readonly internalType: "uint64";
|
|
985
|
-
readonly name: "minAmount";
|
|
986
|
-
readonly type: "uint64";
|
|
987
|
-
}];
|
|
988
|
-
readonly internalType: "struct TargetCredit[]";
|
|
989
|
-
readonly name: "_credits";
|
|
990
|
-
readonly type: "tuple[]";
|
|
991
|
-
}];
|
|
992
|
-
readonly name: "sendCredits";
|
|
993
|
-
readonly outputs: readonly [{
|
|
994
|
-
readonly components: readonly [{
|
|
995
|
-
readonly internalType: "uint32";
|
|
996
|
-
readonly name: "srcEid";
|
|
997
|
-
readonly type: "uint32";
|
|
998
|
-
}, {
|
|
999
|
-
readonly internalType: "uint64";
|
|
1000
|
-
readonly name: "amount";
|
|
1001
|
-
readonly type: "uint64";
|
|
1002
|
-
}];
|
|
1003
|
-
readonly internalType: "struct Credit[]";
|
|
1004
|
-
readonly name: "";
|
|
1005
|
-
readonly type: "tuple[]";
|
|
1006
|
-
}];
|
|
1007
|
-
readonly stateMutability: "nonpayable";
|
|
1008
|
-
readonly type: "function";
|
|
1009
|
-
}, {
|
|
1010
|
-
readonly inputs: readonly [{
|
|
1011
|
-
readonly components: readonly [{
|
|
1012
|
-
readonly internalType: "uint32";
|
|
1013
|
-
readonly name: "dstEid";
|
|
1014
|
-
readonly type: "uint32";
|
|
1015
|
-
}, {
|
|
1016
|
-
readonly internalType: "bytes32";
|
|
1017
|
-
readonly name: "to";
|
|
1018
|
-
readonly type: "bytes32";
|
|
1019
|
-
}, {
|
|
1020
|
-
readonly internalType: "uint256";
|
|
1021
|
-
readonly name: "amountLD";
|
|
1022
|
-
readonly type: "uint256";
|
|
1023
|
-
}, {
|
|
1024
|
-
readonly internalType: "uint256";
|
|
1025
|
-
readonly name: "minAmountLD";
|
|
1026
|
-
readonly type: "uint256";
|
|
1027
|
-
}, {
|
|
1028
|
-
readonly internalType: "bytes";
|
|
1029
|
-
readonly name: "extraOptions";
|
|
1030
|
-
readonly type: "bytes";
|
|
1031
|
-
}, {
|
|
1032
|
-
readonly internalType: "bytes";
|
|
1033
|
-
readonly name: "composeMsg";
|
|
1034
|
-
readonly type: "bytes";
|
|
1035
|
-
}, {
|
|
1036
|
-
readonly internalType: "bytes";
|
|
1037
|
-
readonly name: "oftCmd";
|
|
1038
|
-
readonly type: "bytes";
|
|
1039
|
-
}];
|
|
1040
|
-
readonly internalType: "struct SendParam";
|
|
1041
|
-
readonly name: "_sendParam";
|
|
1042
|
-
readonly type: "tuple";
|
|
1043
|
-
}, {
|
|
1044
|
-
readonly components: readonly [{
|
|
1045
|
-
readonly internalType: "uint256";
|
|
1046
|
-
readonly name: "nativeFee";
|
|
1047
|
-
readonly type: "uint256";
|
|
1048
|
-
}, {
|
|
1049
|
-
readonly internalType: "uint256";
|
|
1050
|
-
readonly name: "lzTokenFee";
|
|
1051
|
-
readonly type: "uint256";
|
|
1052
|
-
}];
|
|
1053
|
-
readonly internalType: "struct MessagingFee";
|
|
1054
|
-
readonly name: "_fee";
|
|
1055
|
-
readonly type: "tuple";
|
|
1056
|
-
}, {
|
|
1057
|
-
readonly internalType: "address";
|
|
1058
|
-
readonly name: "_refundAddress";
|
|
1059
|
-
readonly type: "address";
|
|
1060
|
-
}];
|
|
1061
|
-
readonly name: "sendToken";
|
|
1062
|
-
readonly outputs: readonly [{
|
|
1063
|
-
readonly components: readonly [{
|
|
1064
|
-
readonly internalType: "bytes32";
|
|
1065
|
-
readonly name: "guid";
|
|
1066
|
-
readonly type: "bytes32";
|
|
1067
|
-
}, {
|
|
1068
|
-
readonly internalType: "uint64";
|
|
1069
|
-
readonly name: "nonce";
|
|
1070
|
-
readonly type: "uint64";
|
|
1071
|
-
}, {
|
|
1072
|
-
readonly components: readonly [{
|
|
1073
|
-
readonly internalType: "uint256";
|
|
1074
|
-
readonly name: "nativeFee";
|
|
1075
|
-
readonly type: "uint256";
|
|
1076
|
-
}, {
|
|
1077
|
-
readonly internalType: "uint256";
|
|
1078
|
-
readonly name: "lzTokenFee";
|
|
1079
|
-
readonly type: "uint256";
|
|
1080
|
-
}];
|
|
1081
|
-
readonly internalType: "struct MessagingFee";
|
|
1082
|
-
readonly name: "fee";
|
|
1083
|
-
readonly type: "tuple";
|
|
1084
|
-
}];
|
|
1085
|
-
readonly internalType: "struct MessagingReceipt";
|
|
1086
|
-
readonly name: "msgReceipt";
|
|
1087
|
-
readonly type: "tuple";
|
|
1088
|
-
}, {
|
|
1089
|
-
readonly components: readonly [{
|
|
1090
|
-
readonly internalType: "uint256";
|
|
1091
|
-
readonly name: "amountSentLD";
|
|
1092
|
-
readonly type: "uint256";
|
|
1093
|
-
}, {
|
|
1094
|
-
readonly internalType: "uint256";
|
|
1095
|
-
readonly name: "amountReceivedLD";
|
|
1096
|
-
readonly type: "uint256";
|
|
1097
|
-
}];
|
|
1098
|
-
readonly internalType: "struct OFTReceipt";
|
|
1099
|
-
readonly name: "oftReceipt";
|
|
1100
|
-
readonly type: "tuple";
|
|
1101
|
-
}, {
|
|
1102
|
-
readonly components: readonly [{
|
|
1103
|
-
readonly internalType: "uint72";
|
|
1104
|
-
readonly name: "ticketId";
|
|
1105
|
-
readonly type: "uint72";
|
|
1106
|
-
}, {
|
|
1107
|
-
readonly internalType: "bytes";
|
|
1108
|
-
readonly name: "passengerBytes";
|
|
1109
|
-
readonly type: "bytes";
|
|
1110
|
-
}];
|
|
1111
|
-
readonly internalType: "struct Ticket";
|
|
1112
|
-
readonly name: "ticket";
|
|
1113
|
-
readonly type: "tuple";
|
|
1114
|
-
}];
|
|
1115
|
-
readonly stateMutability: "payable";
|
|
1116
|
-
readonly type: "function";
|
|
1117
|
-
}, {
|
|
1118
|
-
readonly inputs: readonly [{
|
|
1119
|
-
readonly components: readonly [{
|
|
1120
|
-
readonly internalType: "address";
|
|
1121
|
-
readonly name: "feeLib";
|
|
1122
|
-
readonly type: "address";
|
|
1123
|
-
}, {
|
|
1124
|
-
readonly internalType: "address";
|
|
1125
|
-
readonly name: "planner";
|
|
1126
|
-
readonly type: "address";
|
|
1127
|
-
}, {
|
|
1128
|
-
readonly internalType: "address";
|
|
1129
|
-
readonly name: "treasurer";
|
|
1130
|
-
readonly type: "address";
|
|
1131
|
-
}, {
|
|
1132
|
-
readonly internalType: "address";
|
|
1133
|
-
readonly name: "tokenMessaging";
|
|
1134
|
-
readonly type: "address";
|
|
1135
|
-
}, {
|
|
1136
|
-
readonly internalType: "address";
|
|
1137
|
-
readonly name: "creditMessaging";
|
|
1138
|
-
readonly type: "address";
|
|
1139
|
-
}, {
|
|
1140
|
-
readonly internalType: "address";
|
|
1141
|
-
readonly name: "lzToken";
|
|
1142
|
-
readonly type: "address";
|
|
1143
|
-
}];
|
|
1144
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
1145
|
-
readonly name: "_config";
|
|
1146
|
-
readonly type: "tuple";
|
|
1147
|
-
}];
|
|
1148
|
-
readonly name: "setAddressConfig";
|
|
1149
|
-
readonly outputs: readonly [];
|
|
1150
|
-
readonly stateMutability: "nonpayable";
|
|
1151
|
-
readonly type: "function";
|
|
1152
|
-
}, {
|
|
1153
|
-
readonly inputs: readonly [{
|
|
1154
|
-
readonly internalType: "uint32";
|
|
1155
|
-
readonly name: "_dstEid";
|
|
1156
|
-
readonly type: "uint32";
|
|
1157
|
-
}, {
|
|
1158
|
-
readonly internalType: "bool";
|
|
1159
|
-
readonly name: "_oft";
|
|
1160
|
-
readonly type: "bool";
|
|
1161
|
-
}];
|
|
1162
|
-
readonly name: "setOFTPath";
|
|
1163
|
-
readonly outputs: readonly [];
|
|
1164
|
-
readonly stateMutability: "nonpayable";
|
|
1165
|
-
readonly type: "function";
|
|
1166
|
-
}, {
|
|
1167
|
-
readonly inputs: readonly [{
|
|
1168
|
-
readonly internalType: "bool";
|
|
1169
|
-
readonly name: "_paused";
|
|
1170
|
-
readonly type: "bool";
|
|
1171
|
-
}];
|
|
1172
|
-
readonly name: "setPause";
|
|
1173
|
-
readonly outputs: readonly [];
|
|
1174
|
-
readonly stateMutability: "nonpayable";
|
|
1175
|
-
readonly type: "function";
|
|
1176
|
-
}, {
|
|
1177
|
-
readonly inputs: readonly [{
|
|
1178
|
-
readonly internalType: "uint256";
|
|
1179
|
-
readonly name: "_gasLimit";
|
|
1180
|
-
readonly type: "uint256";
|
|
1181
|
-
}];
|
|
1182
|
-
readonly name: "setTransferGasLimit";
|
|
1183
|
-
readonly outputs: readonly [];
|
|
1184
|
-
readonly stateMutability: "nonpayable";
|
|
1185
|
-
readonly type: "function";
|
|
1186
|
-
}, {
|
|
1187
|
-
readonly inputs: readonly [];
|
|
1188
|
-
readonly name: "sharedDecimals";
|
|
1189
|
-
readonly outputs: readonly [{
|
|
1190
|
-
readonly internalType: "uint8";
|
|
1191
|
-
readonly name: "";
|
|
1192
|
-
readonly type: "uint8";
|
|
1193
|
-
}];
|
|
1194
|
-
readonly stateMutability: "view";
|
|
1195
|
-
readonly type: "function";
|
|
1196
|
-
}, {
|
|
1197
|
-
readonly inputs: readonly [];
|
|
1198
|
-
readonly name: "stargateType";
|
|
1199
|
-
readonly outputs: readonly [{
|
|
1200
|
-
readonly internalType: "enum StargateType";
|
|
1201
|
-
readonly name: "";
|
|
1202
|
-
readonly type: "uint8";
|
|
1203
|
-
}];
|
|
1204
|
-
readonly stateMutability: "pure";
|
|
1205
|
-
readonly type: "function";
|
|
1206
|
-
}, {
|
|
1207
|
-
readonly inputs: readonly [];
|
|
1208
|
-
readonly name: "status";
|
|
1209
|
-
readonly outputs: readonly [{
|
|
1210
|
-
readonly internalType: "uint8";
|
|
1211
|
-
readonly name: "";
|
|
1212
|
-
readonly type: "uint8";
|
|
1213
|
-
}];
|
|
1214
|
-
readonly stateMutability: "view";
|
|
1215
|
-
readonly type: "function";
|
|
1216
|
-
}, {
|
|
1217
|
-
readonly inputs: readonly [];
|
|
1218
|
-
readonly name: "token";
|
|
1219
|
-
readonly outputs: readonly [{
|
|
1220
|
-
readonly internalType: "address";
|
|
1221
|
-
readonly name: "";
|
|
1222
|
-
readonly type: "address";
|
|
1223
|
-
}];
|
|
1224
|
-
readonly stateMutability: "view";
|
|
1225
|
-
readonly type: "function";
|
|
1226
|
-
}, {
|
|
1227
|
-
readonly inputs: readonly [{
|
|
1228
|
-
readonly internalType: "address";
|
|
1229
|
-
readonly name: "newOwner";
|
|
1230
|
-
readonly type: "address";
|
|
1231
|
-
}];
|
|
1232
|
-
readonly name: "transferOwnership";
|
|
1233
|
-
readonly outputs: readonly [];
|
|
1234
|
-
readonly stateMutability: "nonpayable";
|
|
1235
|
-
readonly type: "function";
|
|
1236
|
-
}, {
|
|
1237
|
-
readonly inputs: readonly [{
|
|
1238
|
-
readonly internalType: "address";
|
|
1239
|
-
readonly name: "_newOwner";
|
|
1240
|
-
readonly type: "address";
|
|
1241
|
-
}];
|
|
1242
|
-
readonly name: "transferTokenOwnership";
|
|
1243
|
-
readonly outputs: readonly [];
|
|
1244
|
-
readonly stateMutability: "nonpayable";
|
|
1245
|
-
readonly type: "function";
|
|
1246
|
-
}, {
|
|
1247
|
-
readonly inputs: readonly [];
|
|
1248
|
-
readonly name: "treasuryFee";
|
|
1249
|
-
readonly outputs: readonly [{
|
|
1250
|
-
readonly internalType: "uint64";
|
|
1251
|
-
readonly name: "";
|
|
1252
|
-
readonly type: "uint64";
|
|
1253
|
-
}];
|
|
1254
|
-
readonly stateMutability: "view";
|
|
1255
|
-
readonly type: "function";
|
|
1256
|
-
}, {
|
|
1257
|
-
readonly inputs: readonly [{
|
|
1258
|
-
readonly internalType: "bytes32";
|
|
1259
|
-
readonly name: "guid";
|
|
1260
|
-
readonly type: "bytes32";
|
|
1261
|
-
}, {
|
|
1262
|
-
readonly internalType: "uint8";
|
|
1263
|
-
readonly name: "index";
|
|
1264
|
-
readonly type: "uint8";
|
|
1265
|
-
}];
|
|
1266
|
-
readonly name: "unreceivedTokens";
|
|
1267
|
-
readonly outputs: readonly [{
|
|
1268
|
-
readonly internalType: "bytes32";
|
|
1269
|
-
readonly name: "hash";
|
|
1270
|
-
readonly type: "bytes32";
|
|
1271
|
-
}];
|
|
1272
|
-
readonly stateMutability: "view";
|
|
1273
|
-
readonly type: "function";
|
|
1274
|
-
}, {
|
|
1275
|
-
readonly inputs: readonly [];
|
|
1276
|
-
readonly name: "withdrawPlannerFee";
|
|
1277
|
-
readonly outputs: readonly [];
|
|
1278
|
-
readonly stateMutability: "nonpayable";
|
|
1279
|
-
readonly type: "function";
|
|
1280
|
-
}, {
|
|
1281
|
-
readonly inputs: readonly [{
|
|
1282
|
-
readonly internalType: "address";
|
|
1283
|
-
readonly name: "_to";
|
|
1284
|
-
readonly type: "address";
|
|
1285
|
-
}, {
|
|
1286
|
-
readonly internalType: "uint64";
|
|
1287
|
-
readonly name: "_amountSD";
|
|
1288
|
-
readonly type: "uint64";
|
|
1289
|
-
}];
|
|
1290
|
-
readonly name: "withdrawTreasuryFee";
|
|
1291
|
-
readonly outputs: readonly [];
|
|
1292
|
-
readonly stateMutability: "nonpayable";
|
|
1293
|
-
readonly type: "function";
|
|
1294
|
-
}];
|
|
1295
|
-
declare const abi1: readonly [{
|
|
1296
|
-
readonly inputs: readonly [{
|
|
1297
|
-
readonly internalType: "address";
|
|
1298
|
-
readonly name: "_token";
|
|
1299
|
-
readonly type: "address";
|
|
1300
|
-
}, {
|
|
1301
|
-
readonly internalType: "uint8";
|
|
1302
|
-
readonly name: "_sharedDecimals";
|
|
1303
|
-
readonly type: "uint8";
|
|
1304
|
-
}, {
|
|
1305
|
-
readonly internalType: "address";
|
|
1306
|
-
readonly name: "_endpoint";
|
|
1307
|
-
readonly type: "address";
|
|
1308
|
-
}, {
|
|
1309
|
-
readonly internalType: "address";
|
|
1310
|
-
readonly name: "_owner";
|
|
1311
|
-
readonly type: "address";
|
|
1312
|
-
}];
|
|
1313
|
-
readonly stateMutability: "nonpayable";
|
|
1314
|
-
readonly type: "constructor";
|
|
1315
|
-
}, {
|
|
1316
|
-
readonly inputs: readonly [];
|
|
1317
|
-
readonly name: "InvalidLocalDecimals";
|
|
1318
|
-
readonly type: "error";
|
|
1319
|
-
}, {
|
|
1320
|
-
readonly inputs: readonly [];
|
|
1321
|
-
readonly name: "Path_AlreadyHasCredit";
|
|
1322
|
-
readonly type: "error";
|
|
1323
|
-
}, {
|
|
1324
|
-
readonly inputs: readonly [];
|
|
1325
|
-
readonly name: "Path_InsufficientCredit";
|
|
1326
|
-
readonly type: "error";
|
|
1327
|
-
}, {
|
|
1328
|
-
readonly inputs: readonly [];
|
|
1329
|
-
readonly name: "Path_UnlimitedCredit";
|
|
1330
|
-
readonly type: "error";
|
|
1331
|
-
}, {
|
|
1332
|
-
readonly inputs: readonly [{
|
|
1333
|
-
readonly internalType: "uint256";
|
|
1334
|
-
readonly name: "amountLD";
|
|
1335
|
-
readonly type: "uint256";
|
|
1336
|
-
}, {
|
|
1337
|
-
readonly internalType: "uint256";
|
|
1338
|
-
readonly name: "minAmountLD";
|
|
1339
|
-
readonly type: "uint256";
|
|
1340
|
-
}];
|
|
1341
|
-
readonly name: "SlippageExceeded";
|
|
1342
|
-
readonly type: "error";
|
|
1343
|
-
}, {
|
|
1344
|
-
readonly inputs: readonly [];
|
|
1345
|
-
readonly name: "Stargate_InsufficientFare";
|
|
1346
|
-
readonly type: "error";
|
|
1347
|
-
}, {
|
|
1348
|
-
readonly inputs: readonly [];
|
|
1349
|
-
readonly name: "Stargate_InvalidAmount";
|
|
1350
|
-
readonly type: "error";
|
|
1351
|
-
}, {
|
|
1352
|
-
readonly inputs: readonly [];
|
|
1353
|
-
readonly name: "Stargate_InvalidPath";
|
|
1354
|
-
readonly type: "error";
|
|
1355
|
-
}, {
|
|
1356
|
-
readonly inputs: readonly [];
|
|
1357
|
-
readonly name: "Stargate_InvalidTokenDecimals";
|
|
1358
|
-
readonly type: "error";
|
|
1359
|
-
}, {
|
|
1360
|
-
readonly inputs: readonly [];
|
|
1361
|
-
readonly name: "Stargate_LzTokenUnavailable";
|
|
1362
|
-
readonly type: "error";
|
|
1363
|
-
}, {
|
|
1364
|
-
readonly inputs: readonly [];
|
|
1365
|
-
readonly name: "Stargate_OutflowFailed";
|
|
1366
|
-
readonly type: "error";
|
|
1367
|
-
}, {
|
|
1368
|
-
readonly inputs: readonly [];
|
|
1369
|
-
readonly name: "Stargate_Paused";
|
|
1370
|
-
readonly type: "error";
|
|
1371
|
-
}, {
|
|
1372
|
-
readonly inputs: readonly [];
|
|
1373
|
-
readonly name: "Stargate_RecoverTokenUnsupported";
|
|
1374
|
-
readonly type: "error";
|
|
1375
|
-
}, {
|
|
1376
|
-
readonly inputs: readonly [];
|
|
1377
|
-
readonly name: "Stargate_ReentrantCall";
|
|
1378
|
-
readonly type: "error";
|
|
1379
|
-
}, {
|
|
1380
|
-
readonly inputs: readonly [];
|
|
1381
|
-
readonly name: "Stargate_SlippageTooHigh";
|
|
1382
|
-
readonly type: "error";
|
|
1383
|
-
}, {
|
|
1384
|
-
readonly inputs: readonly [];
|
|
1385
|
-
readonly name: "Stargate_Unauthorized";
|
|
1386
|
-
readonly type: "error";
|
|
1387
|
-
}, {
|
|
1388
|
-
readonly inputs: readonly [];
|
|
1389
|
-
readonly name: "Stargate_UnreceivedTokenNotFound";
|
|
1390
|
-
readonly type: "error";
|
|
1391
|
-
}, {
|
|
1392
|
-
readonly inputs: readonly [];
|
|
1393
|
-
readonly name: "Transfer_ApproveFailed";
|
|
1394
|
-
readonly type: "error";
|
|
1395
|
-
}, {
|
|
1396
|
-
readonly inputs: readonly [];
|
|
1397
|
-
readonly name: "Transfer_TransferFailed";
|
|
1398
|
-
readonly type: "error";
|
|
1399
|
-
}, {
|
|
1400
|
-
readonly anonymous: false;
|
|
1401
|
-
readonly inputs: readonly [{
|
|
1402
|
-
readonly components: readonly [{
|
|
1403
|
-
readonly internalType: "address";
|
|
1404
|
-
readonly name: "feeLib";
|
|
1405
|
-
readonly type: "address";
|
|
1406
|
-
}, {
|
|
1407
|
-
readonly internalType: "address";
|
|
1408
|
-
readonly name: "planner";
|
|
1409
|
-
readonly type: "address";
|
|
1410
|
-
}, {
|
|
1411
|
-
readonly internalType: "address";
|
|
1412
|
-
readonly name: "treasurer";
|
|
1413
|
-
readonly type: "address";
|
|
1414
|
-
}, {
|
|
1415
|
-
readonly internalType: "address";
|
|
1416
|
-
readonly name: "tokenMessaging";
|
|
1417
|
-
readonly type: "address";
|
|
1418
|
-
}, {
|
|
1419
|
-
readonly internalType: "address";
|
|
1420
|
-
readonly name: "creditMessaging";
|
|
1421
|
-
readonly type: "address";
|
|
1422
|
-
}, {
|
|
1423
|
-
readonly internalType: "address";
|
|
1424
|
-
readonly name: "lzToken";
|
|
1425
|
-
readonly type: "address";
|
|
1426
|
-
}];
|
|
1427
|
-
readonly indexed: false;
|
|
1428
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
1429
|
-
readonly name: "config";
|
|
1430
|
-
readonly type: "tuple";
|
|
1431
|
-
}];
|
|
1432
|
-
readonly name: "AddressConfigSet";
|
|
1433
|
-
readonly type: "event";
|
|
1434
|
-
}, {
|
|
1435
|
-
readonly anonymous: false;
|
|
1436
|
-
readonly inputs: readonly [{
|
|
1437
|
-
readonly indexed: false;
|
|
1438
|
-
readonly internalType: "uint32";
|
|
1439
|
-
readonly name: "srcEid";
|
|
1440
|
-
readonly type: "uint32";
|
|
1441
|
-
}, {
|
|
1442
|
-
readonly components: readonly [{
|
|
1443
|
-
readonly internalType: "uint32";
|
|
1444
|
-
readonly name: "srcEid";
|
|
1445
|
-
readonly type: "uint32";
|
|
1446
|
-
}, {
|
|
1447
|
-
readonly internalType: "uint64";
|
|
1448
|
-
readonly name: "amount";
|
|
1449
|
-
readonly type: "uint64";
|
|
1450
|
-
}];
|
|
1451
|
-
readonly indexed: false;
|
|
1452
|
-
readonly internalType: "struct Credit[]";
|
|
1453
|
-
readonly name: "credits";
|
|
1454
|
-
readonly type: "tuple[]";
|
|
1455
|
-
}];
|
|
1456
|
-
readonly name: "CreditsReceived";
|
|
1457
|
-
readonly type: "event";
|
|
1458
|
-
}, {
|
|
1459
|
-
readonly anonymous: false;
|
|
1460
|
-
readonly inputs: readonly [{
|
|
1461
|
-
readonly indexed: false;
|
|
1462
|
-
readonly internalType: "uint32";
|
|
1463
|
-
readonly name: "dstEid";
|
|
1464
|
-
readonly type: "uint32";
|
|
1465
|
-
}, {
|
|
1466
|
-
readonly components: readonly [{
|
|
1467
|
-
readonly internalType: "uint32";
|
|
1468
|
-
readonly name: "srcEid";
|
|
1469
|
-
readonly type: "uint32";
|
|
1470
|
-
}, {
|
|
1471
|
-
readonly internalType: "uint64";
|
|
1472
|
-
readonly name: "amount";
|
|
1473
|
-
readonly type: "uint64";
|
|
1474
|
-
}];
|
|
1475
|
-
readonly indexed: false;
|
|
1476
|
-
readonly internalType: "struct Credit[]";
|
|
1477
|
-
readonly name: "credits";
|
|
1478
|
-
readonly type: "tuple[]";
|
|
1479
|
-
}];
|
|
1480
|
-
readonly name: "CreditsSent";
|
|
1481
|
-
readonly type: "event";
|
|
1482
|
-
}, {
|
|
1483
|
-
readonly anonymous: false;
|
|
1484
|
-
readonly inputs: readonly [{
|
|
1485
|
-
readonly indexed: false;
|
|
1486
|
-
readonly internalType: "uint32";
|
|
1487
|
-
readonly name: "dstEid";
|
|
1488
|
-
readonly type: "uint32";
|
|
1489
|
-
}, {
|
|
1490
|
-
readonly indexed: false;
|
|
1491
|
-
readonly internalType: "bool";
|
|
1492
|
-
readonly name: "oft";
|
|
1493
|
-
readonly type: "bool";
|
|
1494
|
-
}];
|
|
1495
|
-
readonly name: "OFTPathSet";
|
|
1496
|
-
readonly type: "event";
|
|
1497
|
-
}, {
|
|
1498
|
-
readonly anonymous: false;
|
|
1499
|
-
readonly inputs: readonly [{
|
|
1500
|
-
readonly indexed: true;
|
|
1501
|
-
readonly internalType: "bytes32";
|
|
1502
|
-
readonly name: "guid";
|
|
1503
|
-
readonly type: "bytes32";
|
|
1504
|
-
}, {
|
|
1505
|
-
readonly indexed: false;
|
|
1506
|
-
readonly internalType: "uint32";
|
|
1507
|
-
readonly name: "srcEid";
|
|
1508
|
-
readonly type: "uint32";
|
|
1509
|
-
}, {
|
|
1510
|
-
readonly indexed: true;
|
|
1511
|
-
readonly internalType: "address";
|
|
1512
|
-
readonly name: "toAddress";
|
|
1513
|
-
readonly type: "address";
|
|
1514
|
-
}, {
|
|
1515
|
-
readonly indexed: false;
|
|
1516
|
-
readonly internalType: "uint256";
|
|
1517
|
-
readonly name: "amountReceivedLD";
|
|
1518
|
-
readonly type: "uint256";
|
|
1519
|
-
}];
|
|
1520
|
-
readonly name: "OFTReceived";
|
|
1521
|
-
readonly type: "event";
|
|
1522
|
-
}, {
|
|
1523
|
-
readonly anonymous: false;
|
|
1524
|
-
readonly inputs: readonly [{
|
|
1525
|
-
readonly indexed: true;
|
|
1526
|
-
readonly internalType: "bytes32";
|
|
1527
|
-
readonly name: "guid";
|
|
1528
|
-
readonly type: "bytes32";
|
|
1529
|
-
}, {
|
|
1530
|
-
readonly indexed: false;
|
|
1531
|
-
readonly internalType: "uint32";
|
|
1532
|
-
readonly name: "dstEid";
|
|
1533
|
-
readonly type: "uint32";
|
|
1534
|
-
}, {
|
|
1535
|
-
readonly indexed: true;
|
|
1536
|
-
readonly internalType: "address";
|
|
1537
|
-
readonly name: "fromAddress";
|
|
1538
|
-
readonly type: "address";
|
|
1539
|
-
}, {
|
|
1540
|
-
readonly indexed: false;
|
|
1541
|
-
readonly internalType: "uint256";
|
|
1542
|
-
readonly name: "amountSentLD";
|
|
1543
|
-
readonly type: "uint256";
|
|
1544
|
-
}, {
|
|
1545
|
-
readonly indexed: false;
|
|
1546
|
-
readonly internalType: "uint256";
|
|
1547
|
-
readonly name: "amountReceivedLD";
|
|
1548
|
-
readonly type: "uint256";
|
|
1549
|
-
}];
|
|
1550
|
-
readonly name: "OFTSent";
|
|
1551
|
-
readonly type: "event";
|
|
1552
|
-
}, {
|
|
1553
|
-
readonly anonymous: false;
|
|
1554
|
-
readonly inputs: readonly [{
|
|
1555
|
-
readonly indexed: true;
|
|
1556
|
-
readonly internalType: "address";
|
|
1557
|
-
readonly name: "previousOwner";
|
|
1558
|
-
readonly type: "address";
|
|
1559
|
-
}, {
|
|
1560
|
-
readonly indexed: true;
|
|
1561
|
-
readonly internalType: "address";
|
|
1562
|
-
readonly name: "newOwner";
|
|
1563
|
-
readonly type: "address";
|
|
1564
|
-
}];
|
|
1565
|
-
readonly name: "OwnershipTransferred";
|
|
1566
|
-
readonly type: "event";
|
|
1567
|
-
}, {
|
|
1568
|
-
readonly anonymous: false;
|
|
1569
|
-
readonly inputs: readonly [{
|
|
1570
|
-
readonly indexed: false;
|
|
1571
|
-
readonly internalType: "bool";
|
|
1572
|
-
readonly name: "paused";
|
|
1573
|
-
readonly type: "bool";
|
|
1574
|
-
}];
|
|
1575
|
-
readonly name: "PauseSet";
|
|
1576
|
-
readonly type: "event";
|
|
1577
|
-
}, {
|
|
1578
|
-
readonly anonymous: false;
|
|
1579
|
-
readonly inputs: readonly [{
|
|
1580
|
-
readonly indexed: false;
|
|
1581
|
-
readonly internalType: "uint256";
|
|
1582
|
-
readonly name: "amount";
|
|
1583
|
-
readonly type: "uint256";
|
|
1584
|
-
}];
|
|
1585
|
-
readonly name: "PlannerFeeWithdrawn";
|
|
1586
|
-
readonly type: "event";
|
|
1587
|
-
}, {
|
|
1588
|
-
readonly anonymous: false;
|
|
1589
|
-
readonly inputs: readonly [{
|
|
1590
|
-
readonly indexed: false;
|
|
1591
|
-
readonly internalType: "uint64";
|
|
1592
|
-
readonly name: "amountSD";
|
|
1593
|
-
readonly type: "uint64";
|
|
1594
|
-
}];
|
|
1595
|
-
readonly name: "TreasuryFeeAdded";
|
|
1596
|
-
readonly type: "event";
|
|
1597
|
-
}, {
|
|
1598
|
-
readonly anonymous: false;
|
|
1599
|
-
readonly inputs: readonly [{
|
|
1600
|
-
readonly indexed: false;
|
|
1601
|
-
readonly internalType: "address";
|
|
1602
|
-
readonly name: "to";
|
|
1603
|
-
readonly type: "address";
|
|
1604
|
-
}, {
|
|
1605
|
-
readonly indexed: false;
|
|
1606
|
-
readonly internalType: "uint64";
|
|
1607
|
-
readonly name: "amountSD";
|
|
1608
|
-
readonly type: "uint64";
|
|
1609
|
-
}];
|
|
1610
|
-
readonly name: "TreasuryFeeWithdrawn";
|
|
1611
|
-
readonly type: "event";
|
|
1612
|
-
}, {
|
|
1613
|
-
readonly anonymous: false;
|
|
1614
|
-
readonly inputs: readonly [{
|
|
1615
|
-
readonly indexed: false;
|
|
1616
|
-
readonly internalType: "bytes32";
|
|
1617
|
-
readonly name: "guid";
|
|
1618
|
-
readonly type: "bytes32";
|
|
1619
|
-
}, {
|
|
1620
|
-
readonly indexed: false;
|
|
1621
|
-
readonly internalType: "uint8";
|
|
1622
|
-
readonly name: "index";
|
|
1623
|
-
readonly type: "uint8";
|
|
1624
|
-
}, {
|
|
1625
|
-
readonly indexed: false;
|
|
1626
|
-
readonly internalType: "uint32";
|
|
1627
|
-
readonly name: "srcEid";
|
|
1628
|
-
readonly type: "uint32";
|
|
1629
|
-
}, {
|
|
1630
|
-
readonly indexed: false;
|
|
1631
|
-
readonly internalType: "address";
|
|
1632
|
-
readonly name: "receiver";
|
|
1633
|
-
readonly type: "address";
|
|
1634
|
-
}, {
|
|
1635
|
-
readonly indexed: false;
|
|
1636
|
-
readonly internalType: "uint256";
|
|
1637
|
-
readonly name: "amountLD";
|
|
1638
|
-
readonly type: "uint256";
|
|
1639
|
-
}, {
|
|
1640
|
-
readonly indexed: false;
|
|
1641
|
-
readonly internalType: "bytes";
|
|
1642
|
-
readonly name: "composeMsg";
|
|
1643
|
-
readonly type: "bytes";
|
|
1644
|
-
}];
|
|
1645
|
-
readonly name: "UnreceivedTokenCached";
|
|
1646
|
-
readonly type: "event";
|
|
1647
|
-
}, {
|
|
1648
|
-
readonly inputs: readonly [{
|
|
1649
|
-
readonly internalType: "uint256";
|
|
1650
|
-
readonly name: "_amountLD";
|
|
1651
|
-
readonly type: "uint256";
|
|
1652
|
-
}];
|
|
1653
|
-
readonly name: "addTreasuryFee";
|
|
1654
|
-
readonly outputs: readonly [];
|
|
1655
|
-
readonly stateMutability: "payable";
|
|
1656
|
-
readonly type: "function";
|
|
1657
|
-
}, {
|
|
1658
|
-
readonly inputs: readonly [];
|
|
1659
|
-
readonly name: "approvalRequired";
|
|
1660
|
-
readonly outputs: readonly [{
|
|
1661
|
-
readonly internalType: "bool";
|
|
1662
|
-
readonly name: "";
|
|
1663
|
-
readonly type: "bool";
|
|
1664
|
-
}];
|
|
1665
|
-
readonly stateMutability: "pure";
|
|
1666
|
-
readonly type: "function";
|
|
1667
|
-
}, {
|
|
1668
|
-
readonly inputs: readonly [];
|
|
1669
|
-
readonly name: "endpoint";
|
|
1670
|
-
readonly outputs: readonly [{
|
|
1671
|
-
readonly internalType: "contract ILayerZeroEndpointV2";
|
|
1672
|
-
readonly name: "";
|
|
1673
|
-
readonly type: "address";
|
|
1674
|
-
}];
|
|
1675
|
-
readonly stateMutability: "view";
|
|
1676
|
-
readonly type: "function";
|
|
1677
|
-
}, {
|
|
1678
|
-
readonly inputs: readonly [];
|
|
1679
|
-
readonly name: "getAddressConfig";
|
|
1680
|
-
readonly outputs: readonly [{
|
|
1681
|
-
readonly components: readonly [{
|
|
1682
|
-
readonly internalType: "address";
|
|
1683
|
-
readonly name: "feeLib";
|
|
1684
|
-
readonly type: "address";
|
|
1685
|
-
}, {
|
|
1686
|
-
readonly internalType: "address";
|
|
1687
|
-
readonly name: "planner";
|
|
1688
|
-
readonly type: "address";
|
|
1689
|
-
}, {
|
|
1690
|
-
readonly internalType: "address";
|
|
1691
|
-
readonly name: "treasurer";
|
|
1692
|
-
readonly type: "address";
|
|
1693
|
-
}, {
|
|
1694
|
-
readonly internalType: "address";
|
|
1695
|
-
readonly name: "tokenMessaging";
|
|
1696
|
-
readonly type: "address";
|
|
1697
|
-
}, {
|
|
1698
|
-
readonly internalType: "address";
|
|
1699
|
-
readonly name: "creditMessaging";
|
|
1700
|
-
readonly type: "address";
|
|
1701
|
-
}, {
|
|
1702
|
-
readonly internalType: "address";
|
|
1703
|
-
readonly name: "lzToken";
|
|
1704
|
-
readonly type: "address";
|
|
1705
|
-
}];
|
|
1706
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
1707
|
-
readonly name: "";
|
|
1708
|
-
readonly type: "tuple";
|
|
1709
|
-
}];
|
|
1710
|
-
readonly stateMutability: "view";
|
|
1711
|
-
readonly type: "function";
|
|
1712
|
-
}, {
|
|
1713
|
-
readonly inputs: readonly [];
|
|
1714
|
-
readonly name: "getTransferGasLimit";
|
|
1715
|
-
readonly outputs: readonly [{
|
|
1716
|
-
readonly internalType: "uint256";
|
|
1717
|
-
readonly name: "";
|
|
1718
|
-
readonly type: "uint256";
|
|
1719
|
-
}];
|
|
1720
|
-
readonly stateMutability: "view";
|
|
1721
|
-
readonly type: "function";
|
|
1722
|
-
}, {
|
|
1723
|
-
readonly inputs: readonly [];
|
|
1724
|
-
readonly name: "localEid";
|
|
1725
|
-
readonly outputs: readonly [{
|
|
1726
|
-
readonly internalType: "uint32";
|
|
1727
|
-
readonly name: "";
|
|
1728
|
-
readonly type: "uint32";
|
|
1729
|
-
}];
|
|
1730
|
-
readonly stateMutability: "view";
|
|
1731
|
-
readonly type: "function";
|
|
1732
|
-
}, {
|
|
1733
|
-
readonly inputs: readonly [];
|
|
1734
|
-
readonly name: "oftVersion";
|
|
1735
|
-
readonly outputs: readonly [{
|
|
1736
|
-
readonly internalType: "bytes4";
|
|
1737
|
-
readonly name: "interfaceId";
|
|
1738
|
-
readonly type: "bytes4";
|
|
1739
|
-
}, {
|
|
1740
|
-
readonly internalType: "uint64";
|
|
1741
|
-
readonly name: "version";
|
|
1742
|
-
readonly type: "uint64";
|
|
1743
|
-
}];
|
|
1744
|
-
readonly stateMutability: "pure";
|
|
1745
|
-
readonly type: "function";
|
|
1746
|
-
}, {
|
|
1747
|
-
readonly inputs: readonly [];
|
|
1748
|
-
readonly name: "owner";
|
|
1749
|
-
readonly outputs: readonly [{
|
|
1750
|
-
readonly internalType: "address";
|
|
1751
|
-
readonly name: "";
|
|
1752
|
-
readonly type: "address";
|
|
1753
|
-
}];
|
|
1754
|
-
readonly stateMutability: "view";
|
|
1755
|
-
readonly type: "function";
|
|
1756
|
-
}, {
|
|
1757
|
-
readonly inputs: readonly [{
|
|
1758
|
-
readonly internalType: "uint32";
|
|
1759
|
-
readonly name: "eid";
|
|
1760
|
-
readonly type: "uint32";
|
|
1761
|
-
}];
|
|
1762
|
-
readonly name: "paths";
|
|
1763
|
-
readonly outputs: readonly [{
|
|
1764
|
-
readonly internalType: "uint64";
|
|
1765
|
-
readonly name: "credit";
|
|
1766
|
-
readonly type: "uint64";
|
|
1767
|
-
}];
|
|
1768
|
-
readonly stateMutability: "view";
|
|
1769
|
-
readonly type: "function";
|
|
1770
|
-
}, {
|
|
1771
|
-
readonly inputs: readonly [];
|
|
1772
|
-
readonly name: "plannerFee";
|
|
1773
|
-
readonly outputs: readonly [{
|
|
1774
|
-
readonly internalType: "uint256";
|
|
1775
|
-
readonly name: "available";
|
|
1776
|
-
readonly type: "uint256";
|
|
1777
|
-
}];
|
|
1778
|
-
readonly stateMutability: "view";
|
|
1779
|
-
readonly type: "function";
|
|
1780
|
-
}, {
|
|
1781
|
-
readonly inputs: readonly [{
|
|
1782
|
-
readonly components: readonly [{
|
|
1783
|
-
readonly internalType: "uint32";
|
|
1784
|
-
readonly name: "dstEid";
|
|
1785
|
-
readonly type: "uint32";
|
|
1786
|
-
}, {
|
|
1787
|
-
readonly internalType: "bytes32";
|
|
1788
|
-
readonly name: "to";
|
|
1789
|
-
readonly type: "bytes32";
|
|
1790
|
-
}, {
|
|
1791
|
-
readonly internalType: "uint256";
|
|
1792
|
-
readonly name: "amountLD";
|
|
1793
|
-
readonly type: "uint256";
|
|
1794
|
-
}, {
|
|
1795
|
-
readonly internalType: "uint256";
|
|
1796
|
-
readonly name: "minAmountLD";
|
|
1797
|
-
readonly type: "uint256";
|
|
1798
|
-
}, {
|
|
1799
|
-
readonly internalType: "bytes";
|
|
1800
|
-
readonly name: "extraOptions";
|
|
1801
|
-
readonly type: "bytes";
|
|
1802
|
-
}, {
|
|
1803
|
-
readonly internalType: "bytes";
|
|
1804
|
-
readonly name: "composeMsg";
|
|
1805
|
-
readonly type: "bytes";
|
|
1806
|
-
}, {
|
|
1807
|
-
readonly internalType: "bytes";
|
|
1808
|
-
readonly name: "oftCmd";
|
|
1809
|
-
readonly type: "bytes";
|
|
1810
|
-
}];
|
|
1811
|
-
readonly internalType: "struct SendParam";
|
|
1812
|
-
readonly name: "_sendParam";
|
|
1813
|
-
readonly type: "tuple";
|
|
1814
|
-
}];
|
|
1815
|
-
readonly name: "quoteOFT";
|
|
1816
|
-
readonly outputs: readonly [{
|
|
1817
|
-
readonly components: readonly [{
|
|
1818
|
-
readonly internalType: "uint256";
|
|
1819
|
-
readonly name: "minAmountLD";
|
|
1820
|
-
readonly type: "uint256";
|
|
1821
|
-
}, {
|
|
1822
|
-
readonly internalType: "uint256";
|
|
1823
|
-
readonly name: "maxAmountLD";
|
|
1824
|
-
readonly type: "uint256";
|
|
1825
|
-
}];
|
|
1826
|
-
readonly internalType: "struct OFTLimit";
|
|
1827
|
-
readonly name: "limit";
|
|
1828
|
-
readonly type: "tuple";
|
|
1829
|
-
}, {
|
|
1830
|
-
readonly components: readonly [{
|
|
1831
|
-
readonly internalType: "int256";
|
|
1832
|
-
readonly name: "feeAmountLD";
|
|
1833
|
-
readonly type: "int256";
|
|
1834
|
-
}, {
|
|
1835
|
-
readonly internalType: "string";
|
|
1836
|
-
readonly name: "description";
|
|
1837
|
-
readonly type: "string";
|
|
1838
|
-
}];
|
|
1839
|
-
readonly internalType: "struct OFTFeeDetail[]";
|
|
1840
|
-
readonly name: "oftFeeDetails";
|
|
1841
|
-
readonly type: "tuple[]";
|
|
1842
|
-
}, {
|
|
1843
|
-
readonly components: readonly [{
|
|
1844
|
-
readonly internalType: "uint256";
|
|
1845
|
-
readonly name: "amountSentLD";
|
|
1846
|
-
readonly type: "uint256";
|
|
1847
|
-
}, {
|
|
1848
|
-
readonly internalType: "uint256";
|
|
1849
|
-
readonly name: "amountReceivedLD";
|
|
1850
|
-
readonly type: "uint256";
|
|
1851
|
-
}];
|
|
1852
|
-
readonly internalType: "struct OFTReceipt";
|
|
1853
|
-
readonly name: "receipt";
|
|
1854
|
-
readonly type: "tuple";
|
|
1855
|
-
}];
|
|
1856
|
-
readonly stateMutability: "view";
|
|
1857
|
-
readonly type: "function";
|
|
1858
|
-
}, {
|
|
1859
|
-
readonly inputs: readonly [{
|
|
1860
|
-
readonly components: readonly [{
|
|
1861
|
-
readonly internalType: "uint32";
|
|
1862
|
-
readonly name: "dstEid";
|
|
1863
|
-
readonly type: "uint32";
|
|
1864
|
-
}, {
|
|
1865
|
-
readonly internalType: "bytes32";
|
|
1866
|
-
readonly name: "to";
|
|
1867
|
-
readonly type: "bytes32";
|
|
1868
|
-
}, {
|
|
1869
|
-
readonly internalType: "uint256";
|
|
1870
|
-
readonly name: "amountLD";
|
|
1871
|
-
readonly type: "uint256";
|
|
1872
|
-
}, {
|
|
1873
|
-
readonly internalType: "uint256";
|
|
1874
|
-
readonly name: "minAmountLD";
|
|
1875
|
-
readonly type: "uint256";
|
|
1876
|
-
}, {
|
|
1877
|
-
readonly internalType: "bytes";
|
|
1878
|
-
readonly name: "extraOptions";
|
|
1879
|
-
readonly type: "bytes";
|
|
1880
|
-
}, {
|
|
1881
|
-
readonly internalType: "bytes";
|
|
1882
|
-
readonly name: "composeMsg";
|
|
1883
|
-
readonly type: "bytes";
|
|
1884
|
-
}, {
|
|
1885
|
-
readonly internalType: "bytes";
|
|
1886
|
-
readonly name: "oftCmd";
|
|
1887
|
-
readonly type: "bytes";
|
|
1888
|
-
}];
|
|
1889
|
-
readonly internalType: "struct SendParam";
|
|
1890
|
-
readonly name: "_sendParam";
|
|
1891
|
-
readonly type: "tuple";
|
|
1892
|
-
}, {
|
|
1893
|
-
readonly internalType: "bool";
|
|
1894
|
-
readonly name: "_payInLzToken";
|
|
1895
|
-
readonly type: "bool";
|
|
1896
|
-
}];
|
|
1897
|
-
readonly name: "quoteSend";
|
|
1898
|
-
readonly outputs: readonly [{
|
|
1899
|
-
readonly components: readonly [{
|
|
1900
|
-
readonly internalType: "uint256";
|
|
1901
|
-
readonly name: "nativeFee";
|
|
1902
|
-
readonly type: "uint256";
|
|
1903
|
-
}, {
|
|
1904
|
-
readonly internalType: "uint256";
|
|
1905
|
-
readonly name: "lzTokenFee";
|
|
1906
|
-
readonly type: "uint256";
|
|
1907
|
-
}];
|
|
1908
|
-
readonly internalType: "struct MessagingFee";
|
|
1909
|
-
readonly name: "fee";
|
|
1910
|
-
readonly type: "tuple";
|
|
1911
|
-
}];
|
|
1912
|
-
readonly stateMutability: "view";
|
|
1913
|
-
readonly type: "function";
|
|
1914
|
-
}, {
|
|
1915
|
-
readonly inputs: readonly [{
|
|
1916
|
-
readonly internalType: "uint32";
|
|
1917
|
-
readonly name: "_srcEid";
|
|
1918
|
-
readonly type: "uint32";
|
|
1919
|
-
}, {
|
|
1920
|
-
readonly components: readonly [{
|
|
1921
|
-
readonly internalType: "uint32";
|
|
1922
|
-
readonly name: "srcEid";
|
|
1923
|
-
readonly type: "uint32";
|
|
1924
|
-
}, {
|
|
1925
|
-
readonly internalType: "uint64";
|
|
1926
|
-
readonly name: "amount";
|
|
1927
|
-
readonly type: "uint64";
|
|
1928
|
-
}];
|
|
1929
|
-
readonly internalType: "struct Credit[]";
|
|
1930
|
-
readonly name: "_credits";
|
|
1931
|
-
readonly type: "tuple[]";
|
|
1932
|
-
}];
|
|
1933
|
-
readonly name: "receiveCredits";
|
|
1934
|
-
readonly outputs: readonly [];
|
|
1935
|
-
readonly stateMutability: "nonpayable";
|
|
1936
|
-
readonly type: "function";
|
|
1937
|
-
}, {
|
|
1938
|
-
readonly inputs: readonly [{
|
|
1939
|
-
readonly components: readonly [{
|
|
1940
|
-
readonly internalType: "uint32";
|
|
1941
|
-
readonly name: "srcEid";
|
|
1942
|
-
readonly type: "uint32";
|
|
1943
|
-
}, {
|
|
1944
|
-
readonly internalType: "bytes32";
|
|
1945
|
-
readonly name: "sender";
|
|
1946
|
-
readonly type: "bytes32";
|
|
1947
|
-
}, {
|
|
1948
|
-
readonly internalType: "uint64";
|
|
1949
|
-
readonly name: "nonce";
|
|
1950
|
-
readonly type: "uint64";
|
|
1951
|
-
}];
|
|
1952
|
-
readonly internalType: "struct Origin";
|
|
1953
|
-
readonly name: "_origin";
|
|
1954
|
-
readonly type: "tuple";
|
|
1955
|
-
}, {
|
|
1956
|
-
readonly internalType: "bytes32";
|
|
1957
|
-
readonly name: "_guid";
|
|
1958
|
-
readonly type: "bytes32";
|
|
1959
|
-
}, {
|
|
1960
|
-
readonly internalType: "uint8";
|
|
1961
|
-
readonly name: "_seatNumber";
|
|
1962
|
-
readonly type: "uint8";
|
|
1963
|
-
}, {
|
|
1964
|
-
readonly internalType: "address";
|
|
1965
|
-
readonly name: "_receiver";
|
|
1966
|
-
readonly type: "address";
|
|
1967
|
-
}, {
|
|
1968
|
-
readonly internalType: "uint64";
|
|
1969
|
-
readonly name: "_amountSD";
|
|
1970
|
-
readonly type: "uint64";
|
|
1971
|
-
}];
|
|
1972
|
-
readonly name: "receiveTokenBus";
|
|
1973
|
-
readonly outputs: readonly [];
|
|
1974
|
-
readonly stateMutability: "nonpayable";
|
|
1975
|
-
readonly type: "function";
|
|
1976
|
-
}, {
|
|
1977
|
-
readonly inputs: readonly [{
|
|
1978
|
-
readonly components: readonly [{
|
|
1979
|
-
readonly internalType: "uint32";
|
|
1980
|
-
readonly name: "srcEid";
|
|
1981
|
-
readonly type: "uint32";
|
|
1982
|
-
}, {
|
|
1983
|
-
readonly internalType: "bytes32";
|
|
1984
|
-
readonly name: "sender";
|
|
1985
|
-
readonly type: "bytes32";
|
|
1986
|
-
}, {
|
|
1987
|
-
readonly internalType: "uint64";
|
|
1988
|
-
readonly name: "nonce";
|
|
1989
|
-
readonly type: "uint64";
|
|
1990
|
-
}];
|
|
1991
|
-
readonly internalType: "struct Origin";
|
|
1992
|
-
readonly name: "_origin";
|
|
1993
|
-
readonly type: "tuple";
|
|
1994
|
-
}, {
|
|
1995
|
-
readonly internalType: "bytes32";
|
|
1996
|
-
readonly name: "_guid";
|
|
1997
|
-
readonly type: "bytes32";
|
|
1998
|
-
}, {
|
|
1999
|
-
readonly internalType: "address";
|
|
2000
|
-
readonly name: "_receiver";
|
|
2001
|
-
readonly type: "address";
|
|
2002
|
-
}, {
|
|
2003
|
-
readonly internalType: "uint64";
|
|
2004
|
-
readonly name: "_amountSD";
|
|
2005
|
-
readonly type: "uint64";
|
|
2006
|
-
}, {
|
|
2007
|
-
readonly internalType: "bytes";
|
|
2008
|
-
readonly name: "_composeMsg";
|
|
2009
|
-
readonly type: "bytes";
|
|
2010
|
-
}];
|
|
2011
|
-
readonly name: "receiveTokenTaxi";
|
|
2012
|
-
readonly outputs: readonly [];
|
|
2013
|
-
readonly stateMutability: "nonpayable";
|
|
2014
|
-
readonly type: "function";
|
|
2015
|
-
}, {
|
|
2016
|
-
readonly inputs: readonly [{
|
|
2017
|
-
readonly internalType: "address";
|
|
2018
|
-
readonly name: "_token";
|
|
2019
|
-
readonly type: "address";
|
|
2020
|
-
}, {
|
|
2021
|
-
readonly internalType: "address";
|
|
2022
|
-
readonly name: "_to";
|
|
2023
|
-
readonly type: "address";
|
|
2024
|
-
}, {
|
|
2025
|
-
readonly internalType: "uint256";
|
|
2026
|
-
readonly name: "_amount";
|
|
2027
|
-
readonly type: "uint256";
|
|
2028
|
-
}];
|
|
2029
|
-
readonly name: "recoverToken";
|
|
2030
|
-
readonly outputs: readonly [{
|
|
2031
|
-
readonly internalType: "uint256";
|
|
2032
|
-
readonly name: "";
|
|
2033
|
-
readonly type: "uint256";
|
|
2034
|
-
}];
|
|
2035
|
-
readonly stateMutability: "nonpayable";
|
|
2036
|
-
readonly type: "function";
|
|
2037
|
-
}, {
|
|
2038
|
-
readonly inputs: readonly [];
|
|
2039
|
-
readonly name: "renounceOwnership";
|
|
2040
|
-
readonly outputs: readonly [];
|
|
2041
|
-
readonly stateMutability: "nonpayable";
|
|
2042
|
-
readonly type: "function";
|
|
2043
|
-
}, {
|
|
2044
|
-
readonly inputs: readonly [{
|
|
2045
|
-
readonly internalType: "bytes32";
|
|
2046
|
-
readonly name: "_guid";
|
|
2047
|
-
readonly type: "bytes32";
|
|
2048
|
-
}, {
|
|
2049
|
-
readonly internalType: "uint8";
|
|
2050
|
-
readonly name: "_index";
|
|
2051
|
-
readonly type: "uint8";
|
|
2052
|
-
}, {
|
|
2053
|
-
readonly internalType: "uint32";
|
|
2054
|
-
readonly name: "_srcEid";
|
|
2055
|
-
readonly type: "uint32";
|
|
2056
|
-
}, {
|
|
2057
|
-
readonly internalType: "address";
|
|
2058
|
-
readonly name: "_receiver";
|
|
2059
|
-
readonly type: "address";
|
|
2060
|
-
}, {
|
|
2061
|
-
readonly internalType: "uint256";
|
|
2062
|
-
readonly name: "_amountLD";
|
|
2063
|
-
readonly type: "uint256";
|
|
2064
|
-
}, {
|
|
2065
|
-
readonly internalType: "bytes";
|
|
2066
|
-
readonly name: "_composeMsg";
|
|
2067
|
-
readonly type: "bytes";
|
|
2068
|
-
}];
|
|
2069
|
-
readonly name: "retryReceiveToken";
|
|
2070
|
-
readonly outputs: readonly [];
|
|
2071
|
-
readonly stateMutability: "nonpayable";
|
|
2072
|
-
readonly type: "function";
|
|
2073
|
-
}, {
|
|
2074
|
-
readonly inputs: readonly [{
|
|
2075
|
-
readonly components: readonly [{
|
|
2076
|
-
readonly internalType: "uint32";
|
|
2077
|
-
readonly name: "dstEid";
|
|
2078
|
-
readonly type: "uint32";
|
|
2079
|
-
}, {
|
|
2080
|
-
readonly internalType: "bytes32";
|
|
2081
|
-
readonly name: "to";
|
|
2082
|
-
readonly type: "bytes32";
|
|
2083
|
-
}, {
|
|
2084
|
-
readonly internalType: "uint256";
|
|
2085
|
-
readonly name: "amountLD";
|
|
2086
|
-
readonly type: "uint256";
|
|
2087
|
-
}, {
|
|
2088
|
-
readonly internalType: "uint256";
|
|
2089
|
-
readonly name: "minAmountLD";
|
|
2090
|
-
readonly type: "uint256";
|
|
2091
|
-
}, {
|
|
2092
|
-
readonly internalType: "bytes";
|
|
2093
|
-
readonly name: "extraOptions";
|
|
2094
|
-
readonly type: "bytes";
|
|
2095
|
-
}, {
|
|
2096
|
-
readonly internalType: "bytes";
|
|
2097
|
-
readonly name: "composeMsg";
|
|
2098
|
-
readonly type: "bytes";
|
|
2099
|
-
}, {
|
|
2100
|
-
readonly internalType: "bytes";
|
|
2101
|
-
readonly name: "oftCmd";
|
|
2102
|
-
readonly type: "bytes";
|
|
2103
|
-
}];
|
|
2104
|
-
readonly internalType: "struct SendParam";
|
|
2105
|
-
readonly name: "_sendParam";
|
|
2106
|
-
readonly type: "tuple";
|
|
2107
|
-
}, {
|
|
2108
|
-
readonly components: readonly [{
|
|
2109
|
-
readonly internalType: "uint256";
|
|
2110
|
-
readonly name: "nativeFee";
|
|
2111
|
-
readonly type: "uint256";
|
|
2112
|
-
}, {
|
|
2113
|
-
readonly internalType: "uint256";
|
|
2114
|
-
readonly name: "lzTokenFee";
|
|
2115
|
-
readonly type: "uint256";
|
|
2116
|
-
}];
|
|
2117
|
-
readonly internalType: "struct MessagingFee";
|
|
2118
|
-
readonly name: "_fee";
|
|
2119
|
-
readonly type: "tuple";
|
|
2120
|
-
}, {
|
|
2121
|
-
readonly internalType: "address";
|
|
2122
|
-
readonly name: "_refundAddress";
|
|
2123
|
-
readonly type: "address";
|
|
2124
|
-
}];
|
|
2125
|
-
readonly name: "send";
|
|
2126
|
-
readonly outputs: readonly [{
|
|
2127
|
-
readonly components: readonly [{
|
|
2128
|
-
readonly internalType: "bytes32";
|
|
2129
|
-
readonly name: "guid";
|
|
2130
|
-
readonly type: "bytes32";
|
|
2131
|
-
}, {
|
|
2132
|
-
readonly internalType: "uint64";
|
|
2133
|
-
readonly name: "nonce";
|
|
2134
|
-
readonly type: "uint64";
|
|
2135
|
-
}, {
|
|
2136
|
-
readonly components: readonly [{
|
|
2137
|
-
readonly internalType: "uint256";
|
|
2138
|
-
readonly name: "nativeFee";
|
|
2139
|
-
readonly type: "uint256";
|
|
2140
|
-
}, {
|
|
2141
|
-
readonly internalType: "uint256";
|
|
2142
|
-
readonly name: "lzTokenFee";
|
|
2143
|
-
readonly type: "uint256";
|
|
2144
|
-
}];
|
|
2145
|
-
readonly internalType: "struct MessagingFee";
|
|
2146
|
-
readonly name: "fee";
|
|
2147
|
-
readonly type: "tuple";
|
|
2148
|
-
}];
|
|
2149
|
-
readonly internalType: "struct MessagingReceipt";
|
|
2150
|
-
readonly name: "msgReceipt";
|
|
2151
|
-
readonly type: "tuple";
|
|
2152
|
-
}, {
|
|
2153
|
-
readonly components: readonly [{
|
|
2154
|
-
readonly internalType: "uint256";
|
|
2155
|
-
readonly name: "amountSentLD";
|
|
2156
|
-
readonly type: "uint256";
|
|
2157
|
-
}, {
|
|
2158
|
-
readonly internalType: "uint256";
|
|
2159
|
-
readonly name: "amountReceivedLD";
|
|
2160
|
-
readonly type: "uint256";
|
|
2161
|
-
}];
|
|
2162
|
-
readonly internalType: "struct OFTReceipt";
|
|
2163
|
-
readonly name: "oftReceipt";
|
|
2164
|
-
readonly type: "tuple";
|
|
2165
|
-
}];
|
|
2166
|
-
readonly stateMutability: "payable";
|
|
2167
|
-
readonly type: "function";
|
|
2168
|
-
}, {
|
|
2169
|
-
readonly inputs: readonly [{
|
|
2170
|
-
readonly internalType: "uint32";
|
|
2171
|
-
readonly name: "_dstEid";
|
|
2172
|
-
readonly type: "uint32";
|
|
2173
|
-
}, {
|
|
2174
|
-
readonly components: readonly [{
|
|
2175
|
-
readonly internalType: "uint32";
|
|
2176
|
-
readonly name: "srcEid";
|
|
2177
|
-
readonly type: "uint32";
|
|
2178
|
-
}, {
|
|
2179
|
-
readonly internalType: "uint64";
|
|
2180
|
-
readonly name: "amount";
|
|
2181
|
-
readonly type: "uint64";
|
|
2182
|
-
}, {
|
|
2183
|
-
readonly internalType: "uint64";
|
|
2184
|
-
readonly name: "minAmount";
|
|
2185
|
-
readonly type: "uint64";
|
|
2186
|
-
}];
|
|
2187
|
-
readonly internalType: "struct TargetCredit[]";
|
|
2188
|
-
readonly name: "_credits";
|
|
2189
|
-
readonly type: "tuple[]";
|
|
2190
|
-
}];
|
|
2191
|
-
readonly name: "sendCredits";
|
|
2192
|
-
readonly outputs: readonly [{
|
|
2193
|
-
readonly components: readonly [{
|
|
2194
|
-
readonly internalType: "uint32";
|
|
2195
|
-
readonly name: "srcEid";
|
|
2196
|
-
readonly type: "uint32";
|
|
2197
|
-
}, {
|
|
2198
|
-
readonly internalType: "uint64";
|
|
2199
|
-
readonly name: "amount";
|
|
2200
|
-
readonly type: "uint64";
|
|
2201
|
-
}];
|
|
2202
|
-
readonly internalType: "struct Credit[]";
|
|
2203
|
-
readonly name: "";
|
|
2204
|
-
readonly type: "tuple[]";
|
|
2205
|
-
}];
|
|
2206
|
-
readonly stateMutability: "nonpayable";
|
|
2207
|
-
readonly type: "function";
|
|
2208
|
-
}, {
|
|
2209
|
-
readonly inputs: readonly [{
|
|
2210
|
-
readonly components: readonly [{
|
|
2211
|
-
readonly internalType: "uint32";
|
|
2212
|
-
readonly name: "dstEid";
|
|
2213
|
-
readonly type: "uint32";
|
|
2214
|
-
}, {
|
|
2215
|
-
readonly internalType: "bytes32";
|
|
2216
|
-
readonly name: "to";
|
|
2217
|
-
readonly type: "bytes32";
|
|
2218
|
-
}, {
|
|
2219
|
-
readonly internalType: "uint256";
|
|
2220
|
-
readonly name: "amountLD";
|
|
2221
|
-
readonly type: "uint256";
|
|
2222
|
-
}, {
|
|
2223
|
-
readonly internalType: "uint256";
|
|
2224
|
-
readonly name: "minAmountLD";
|
|
2225
|
-
readonly type: "uint256";
|
|
2226
|
-
}, {
|
|
2227
|
-
readonly internalType: "bytes";
|
|
2228
|
-
readonly name: "extraOptions";
|
|
2229
|
-
readonly type: "bytes";
|
|
2230
|
-
}, {
|
|
2231
|
-
readonly internalType: "bytes";
|
|
2232
|
-
readonly name: "composeMsg";
|
|
2233
|
-
readonly type: "bytes";
|
|
2234
|
-
}, {
|
|
2235
|
-
readonly internalType: "bytes";
|
|
2236
|
-
readonly name: "oftCmd";
|
|
2237
|
-
readonly type: "bytes";
|
|
2238
|
-
}];
|
|
2239
|
-
readonly internalType: "struct SendParam";
|
|
2240
|
-
readonly name: "_sendParam";
|
|
2241
|
-
readonly type: "tuple";
|
|
2242
|
-
}, {
|
|
2243
|
-
readonly components: readonly [{
|
|
2244
|
-
readonly internalType: "uint256";
|
|
2245
|
-
readonly name: "nativeFee";
|
|
2246
|
-
readonly type: "uint256";
|
|
2247
|
-
}, {
|
|
2248
|
-
readonly internalType: "uint256";
|
|
2249
|
-
readonly name: "lzTokenFee";
|
|
2250
|
-
readonly type: "uint256";
|
|
2251
|
-
}];
|
|
2252
|
-
readonly internalType: "struct MessagingFee";
|
|
2253
|
-
readonly name: "_fee";
|
|
2254
|
-
readonly type: "tuple";
|
|
2255
|
-
}, {
|
|
2256
|
-
readonly internalType: "address";
|
|
2257
|
-
readonly name: "_refundAddress";
|
|
2258
|
-
readonly type: "address";
|
|
2259
|
-
}];
|
|
2260
|
-
readonly name: "sendToken";
|
|
2261
|
-
readonly outputs: readonly [{
|
|
2262
|
-
readonly components: readonly [{
|
|
2263
|
-
readonly internalType: "bytes32";
|
|
2264
|
-
readonly name: "guid";
|
|
2265
|
-
readonly type: "bytes32";
|
|
2266
|
-
}, {
|
|
2267
|
-
readonly internalType: "uint64";
|
|
2268
|
-
readonly name: "nonce";
|
|
2269
|
-
readonly type: "uint64";
|
|
2270
|
-
}, {
|
|
2271
|
-
readonly components: readonly [{
|
|
2272
|
-
readonly internalType: "uint256";
|
|
2273
|
-
readonly name: "nativeFee";
|
|
2274
|
-
readonly type: "uint256";
|
|
2275
|
-
}, {
|
|
2276
|
-
readonly internalType: "uint256";
|
|
2277
|
-
readonly name: "lzTokenFee";
|
|
2278
|
-
readonly type: "uint256";
|
|
2279
|
-
}];
|
|
2280
|
-
readonly internalType: "struct MessagingFee";
|
|
2281
|
-
readonly name: "fee";
|
|
2282
|
-
readonly type: "tuple";
|
|
2283
|
-
}];
|
|
2284
|
-
readonly internalType: "struct MessagingReceipt";
|
|
2285
|
-
readonly name: "msgReceipt";
|
|
2286
|
-
readonly type: "tuple";
|
|
2287
|
-
}, {
|
|
2288
|
-
readonly components: readonly [{
|
|
2289
|
-
readonly internalType: "uint256";
|
|
2290
|
-
readonly name: "amountSentLD";
|
|
2291
|
-
readonly type: "uint256";
|
|
2292
|
-
}, {
|
|
2293
|
-
readonly internalType: "uint256";
|
|
2294
|
-
readonly name: "amountReceivedLD";
|
|
2295
|
-
readonly type: "uint256";
|
|
2296
|
-
}];
|
|
2297
|
-
readonly internalType: "struct OFTReceipt";
|
|
2298
|
-
readonly name: "oftReceipt";
|
|
2299
|
-
readonly type: "tuple";
|
|
2300
|
-
}, {
|
|
2301
|
-
readonly components: readonly [{
|
|
2302
|
-
readonly internalType: "uint72";
|
|
2303
|
-
readonly name: "ticketId";
|
|
2304
|
-
readonly type: "uint72";
|
|
2305
|
-
}, {
|
|
2306
|
-
readonly internalType: "bytes";
|
|
2307
|
-
readonly name: "passengerBytes";
|
|
2308
|
-
readonly type: "bytes";
|
|
2309
|
-
}];
|
|
2310
|
-
readonly internalType: "struct Ticket";
|
|
2311
|
-
readonly name: "ticket";
|
|
2312
|
-
readonly type: "tuple";
|
|
2313
|
-
}];
|
|
2314
|
-
readonly stateMutability: "payable";
|
|
2315
|
-
readonly type: "function";
|
|
2316
|
-
}, {
|
|
2317
|
-
readonly inputs: readonly [{
|
|
2318
|
-
readonly components: readonly [{
|
|
2319
|
-
readonly internalType: "address";
|
|
2320
|
-
readonly name: "feeLib";
|
|
2321
|
-
readonly type: "address";
|
|
2322
|
-
}, {
|
|
2323
|
-
readonly internalType: "address";
|
|
2324
|
-
readonly name: "planner";
|
|
2325
|
-
readonly type: "address";
|
|
2326
|
-
}, {
|
|
2327
|
-
readonly internalType: "address";
|
|
2328
|
-
readonly name: "treasurer";
|
|
2329
|
-
readonly type: "address";
|
|
2330
|
-
}, {
|
|
2331
|
-
readonly internalType: "address";
|
|
2332
|
-
readonly name: "tokenMessaging";
|
|
2333
|
-
readonly type: "address";
|
|
2334
|
-
}, {
|
|
2335
|
-
readonly internalType: "address";
|
|
2336
|
-
readonly name: "creditMessaging";
|
|
2337
|
-
readonly type: "address";
|
|
2338
|
-
}, {
|
|
2339
|
-
readonly internalType: "address";
|
|
2340
|
-
readonly name: "lzToken";
|
|
2341
|
-
readonly type: "address";
|
|
2342
|
-
}];
|
|
2343
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
2344
|
-
readonly name: "_config";
|
|
2345
|
-
readonly type: "tuple";
|
|
2346
|
-
}];
|
|
2347
|
-
readonly name: "setAddressConfig";
|
|
2348
|
-
readonly outputs: readonly [];
|
|
2349
|
-
readonly stateMutability: "nonpayable";
|
|
2350
|
-
readonly type: "function";
|
|
2351
|
-
}, {
|
|
2352
|
-
readonly inputs: readonly [{
|
|
2353
|
-
readonly internalType: "uint32";
|
|
2354
|
-
readonly name: "_dstEid";
|
|
2355
|
-
readonly type: "uint32";
|
|
2356
|
-
}, {
|
|
2357
|
-
readonly internalType: "bool";
|
|
2358
|
-
readonly name: "_oft";
|
|
2359
|
-
readonly type: "bool";
|
|
2360
|
-
}];
|
|
2361
|
-
readonly name: "setOFTPath";
|
|
2362
|
-
readonly outputs: readonly [];
|
|
2363
|
-
readonly stateMutability: "nonpayable";
|
|
2364
|
-
readonly type: "function";
|
|
2365
|
-
}, {
|
|
2366
|
-
readonly inputs: readonly [{
|
|
2367
|
-
readonly internalType: "bool";
|
|
2368
|
-
readonly name: "_paused";
|
|
2369
|
-
readonly type: "bool";
|
|
2370
|
-
}];
|
|
2371
|
-
readonly name: "setPause";
|
|
2372
|
-
readonly outputs: readonly [];
|
|
2373
|
-
readonly stateMutability: "nonpayable";
|
|
2374
|
-
readonly type: "function";
|
|
2375
|
-
}, {
|
|
2376
|
-
readonly inputs: readonly [{
|
|
2377
|
-
readonly internalType: "uint256";
|
|
2378
|
-
readonly name: "_gasLimit";
|
|
2379
|
-
readonly type: "uint256";
|
|
2380
|
-
}];
|
|
2381
|
-
readonly name: "setTransferGasLimit";
|
|
2382
|
-
readonly outputs: readonly [];
|
|
2383
|
-
readonly stateMutability: "nonpayable";
|
|
2384
|
-
readonly type: "function";
|
|
2385
|
-
}, {
|
|
2386
|
-
readonly inputs: readonly [];
|
|
2387
|
-
readonly name: "sharedDecimals";
|
|
2388
|
-
readonly outputs: readonly [{
|
|
2389
|
-
readonly internalType: "uint8";
|
|
2390
|
-
readonly name: "";
|
|
2391
|
-
readonly type: "uint8";
|
|
2392
|
-
}];
|
|
2393
|
-
readonly stateMutability: "view";
|
|
2394
|
-
readonly type: "function";
|
|
2395
|
-
}, {
|
|
2396
|
-
readonly inputs: readonly [];
|
|
2397
|
-
readonly name: "stargateType";
|
|
2398
|
-
readonly outputs: readonly [{
|
|
2399
|
-
readonly internalType: "enum StargateType";
|
|
2400
|
-
readonly name: "";
|
|
2401
|
-
readonly type: "uint8";
|
|
2402
|
-
}];
|
|
2403
|
-
readonly stateMutability: "pure";
|
|
2404
|
-
readonly type: "function";
|
|
2405
|
-
}, {
|
|
2406
|
-
readonly inputs: readonly [];
|
|
2407
|
-
readonly name: "status";
|
|
2408
|
-
readonly outputs: readonly [{
|
|
2409
|
-
readonly internalType: "uint8";
|
|
2410
|
-
readonly name: "";
|
|
2411
|
-
readonly type: "uint8";
|
|
2412
|
-
}];
|
|
2413
|
-
readonly stateMutability: "view";
|
|
2414
|
-
readonly type: "function";
|
|
2415
|
-
}, {
|
|
2416
|
-
readonly inputs: readonly [];
|
|
2417
|
-
readonly name: "token";
|
|
2418
|
-
readonly outputs: readonly [{
|
|
2419
|
-
readonly internalType: "address";
|
|
2420
|
-
readonly name: "";
|
|
2421
|
-
readonly type: "address";
|
|
2422
|
-
}];
|
|
2423
|
-
readonly stateMutability: "view";
|
|
2424
|
-
readonly type: "function";
|
|
2425
|
-
}, {
|
|
2426
|
-
readonly inputs: readonly [{
|
|
2427
|
-
readonly internalType: "address";
|
|
2428
|
-
readonly name: "newOwner";
|
|
2429
|
-
readonly type: "address";
|
|
2430
|
-
}];
|
|
2431
|
-
readonly name: "transferOwnership";
|
|
2432
|
-
readonly outputs: readonly [];
|
|
2433
|
-
readonly stateMutability: "nonpayable";
|
|
2434
|
-
readonly type: "function";
|
|
2435
|
-
}, {
|
|
2436
|
-
readonly inputs: readonly [];
|
|
2437
|
-
readonly name: "treasuryFee";
|
|
2438
|
-
readonly outputs: readonly [{
|
|
2439
|
-
readonly internalType: "uint64";
|
|
2440
|
-
readonly name: "";
|
|
2441
|
-
readonly type: "uint64";
|
|
2442
|
-
}];
|
|
2443
|
-
readonly stateMutability: "view";
|
|
2444
|
-
readonly type: "function";
|
|
2445
|
-
}, {
|
|
2446
|
-
readonly inputs: readonly [{
|
|
2447
|
-
readonly internalType: "bytes32";
|
|
2448
|
-
readonly name: "guid";
|
|
2449
|
-
readonly type: "bytes32";
|
|
2450
|
-
}, {
|
|
2451
|
-
readonly internalType: "uint8";
|
|
2452
|
-
readonly name: "index";
|
|
2453
|
-
readonly type: "uint8";
|
|
2454
|
-
}];
|
|
2455
|
-
readonly name: "unreceivedTokens";
|
|
2456
|
-
readonly outputs: readonly [{
|
|
2457
|
-
readonly internalType: "bytes32";
|
|
2458
|
-
readonly name: "hash";
|
|
2459
|
-
readonly type: "bytes32";
|
|
2460
|
-
}];
|
|
2461
|
-
readonly stateMutability: "view";
|
|
2462
|
-
readonly type: "function";
|
|
2463
|
-
}, {
|
|
2464
|
-
readonly inputs: readonly [];
|
|
2465
|
-
readonly name: "withdrawPlannerFee";
|
|
2466
|
-
readonly outputs: readonly [];
|
|
2467
|
-
readonly stateMutability: "nonpayable";
|
|
2468
|
-
readonly type: "function";
|
|
2469
|
-
}, {
|
|
2470
|
-
readonly inputs: readonly [{
|
|
2471
|
-
readonly internalType: "address";
|
|
2472
|
-
readonly name: "_to";
|
|
2473
|
-
readonly type: "address";
|
|
2474
|
-
}, {
|
|
2475
|
-
readonly internalType: "uint64";
|
|
2476
|
-
readonly name: "_amountSD";
|
|
2477
|
-
readonly type: "uint64";
|
|
2478
|
-
}];
|
|
2479
|
-
readonly name: "withdrawTreasuryFee";
|
|
2480
|
-
readonly outputs: readonly [];
|
|
2481
|
-
readonly stateMutability: "nonpayable";
|
|
2482
|
-
readonly type: "function";
|
|
2483
|
-
}];
|
|
2484
|
-
declare const abi2: readonly [{
|
|
2485
|
-
readonly inputs: readonly [{
|
|
2486
|
-
readonly internalType: "address";
|
|
2487
|
-
readonly name: "_token";
|
|
2488
|
-
readonly type: "address";
|
|
2489
|
-
}, {
|
|
2490
|
-
readonly internalType: "uint8";
|
|
2491
|
-
readonly name: "_sharedDecimals";
|
|
2492
|
-
readonly type: "uint8";
|
|
2493
|
-
}, {
|
|
2494
|
-
readonly internalType: "address";
|
|
2495
|
-
readonly name: "_endpoint";
|
|
2496
|
-
readonly type: "address";
|
|
2497
|
-
}, {
|
|
2498
|
-
readonly internalType: "address";
|
|
2499
|
-
readonly name: "_owner";
|
|
2500
|
-
readonly type: "address";
|
|
2501
|
-
}];
|
|
2502
|
-
readonly stateMutability: "nonpayable";
|
|
2503
|
-
readonly type: "constructor";
|
|
2504
|
-
}, {
|
|
2505
|
-
readonly inputs: readonly [];
|
|
2506
|
-
readonly name: "InvalidLocalDecimals";
|
|
2507
|
-
readonly type: "error";
|
|
2508
|
-
}, {
|
|
2509
|
-
readonly inputs: readonly [];
|
|
2510
|
-
readonly name: "Path_AlreadyHasCredit";
|
|
2511
|
-
readonly type: "error";
|
|
2512
|
-
}, {
|
|
2513
|
-
readonly inputs: readonly [];
|
|
2514
|
-
readonly name: "Path_InsufficientCredit";
|
|
2515
|
-
readonly type: "error";
|
|
2516
|
-
}, {
|
|
2517
|
-
readonly inputs: readonly [];
|
|
2518
|
-
readonly name: "Path_UnlimitedCredit";
|
|
2519
|
-
readonly type: "error";
|
|
2520
|
-
}, {
|
|
2521
|
-
readonly inputs: readonly [{
|
|
2522
|
-
readonly internalType: "uint256";
|
|
2523
|
-
readonly name: "amountLD";
|
|
2524
|
-
readonly type: "uint256";
|
|
2525
|
-
}, {
|
|
2526
|
-
readonly internalType: "uint256";
|
|
2527
|
-
readonly name: "minAmountLD";
|
|
2528
|
-
readonly type: "uint256";
|
|
2529
|
-
}];
|
|
2530
|
-
readonly name: "SlippageExceeded";
|
|
2531
|
-
readonly type: "error";
|
|
2532
|
-
}, {
|
|
2533
|
-
readonly inputs: readonly [];
|
|
2534
|
-
readonly name: "Stargate_BusNotAllowedInAlt";
|
|
2535
|
-
readonly type: "error";
|
|
2536
|
-
}, {
|
|
2537
|
-
readonly inputs: readonly [];
|
|
2538
|
-
readonly name: "Stargate_InsufficientFare";
|
|
2539
|
-
readonly type: "error";
|
|
2540
|
-
}, {
|
|
2541
|
-
readonly inputs: readonly [];
|
|
2542
|
-
readonly name: "Stargate_InvalidAmount";
|
|
2543
|
-
readonly type: "error";
|
|
2544
|
-
}, {
|
|
2545
|
-
readonly inputs: readonly [];
|
|
2546
|
-
readonly name: "Stargate_InvalidPath";
|
|
2547
|
-
readonly type: "error";
|
|
2548
|
-
}, {
|
|
2549
|
-
readonly inputs: readonly [];
|
|
2550
|
-
readonly name: "Stargate_InvalidTokenDecimals";
|
|
2551
|
-
readonly type: "error";
|
|
2552
|
-
}, {
|
|
2553
|
-
readonly inputs: readonly [];
|
|
2554
|
-
readonly name: "Stargate_LzTokenUnavailable";
|
|
2555
|
-
readonly type: "error";
|
|
2556
|
-
}, {
|
|
2557
|
-
readonly inputs: readonly [];
|
|
2558
|
-
readonly name: "Stargate_NotAnAltEndpoint";
|
|
2559
|
-
readonly type: "error";
|
|
2560
|
-
}, {
|
|
2561
|
-
readonly inputs: readonly [];
|
|
2562
|
-
readonly name: "Stargate_OnlyAltToken";
|
|
2563
|
-
readonly type: "error";
|
|
2564
|
-
}, {
|
|
2565
|
-
readonly inputs: readonly [];
|
|
2566
|
-
readonly name: "Stargate_OutflowFailed";
|
|
2567
|
-
readonly type: "error";
|
|
2568
|
-
}, {
|
|
2569
|
-
readonly inputs: readonly [];
|
|
2570
|
-
readonly name: "Stargate_Paused";
|
|
2571
|
-
readonly type: "error";
|
|
2572
|
-
}, {
|
|
2573
|
-
readonly inputs: readonly [];
|
|
2574
|
-
readonly name: "Stargate_RecoverTokenUnsupported";
|
|
2575
|
-
readonly type: "error";
|
|
2576
|
-
}, {
|
|
2577
|
-
readonly inputs: readonly [];
|
|
2578
|
-
readonly name: "Stargate_ReentrantCall";
|
|
2579
|
-
readonly type: "error";
|
|
2580
|
-
}, {
|
|
2581
|
-
readonly inputs: readonly [];
|
|
2582
|
-
readonly name: "Stargate_SlippageTooHigh";
|
|
2583
|
-
readonly type: "error";
|
|
2584
|
-
}, {
|
|
2585
|
-
readonly inputs: readonly [];
|
|
2586
|
-
readonly name: "Stargate_Unauthorized";
|
|
2587
|
-
readonly type: "error";
|
|
2588
|
-
}, {
|
|
2589
|
-
readonly inputs: readonly [];
|
|
2590
|
-
readonly name: "Stargate_UnreceivedTokenNotFound";
|
|
2591
|
-
readonly type: "error";
|
|
2592
|
-
}, {
|
|
2593
|
-
readonly inputs: readonly [];
|
|
2594
|
-
readonly name: "Transfer_ApproveFailed";
|
|
2595
|
-
readonly type: "error";
|
|
2596
|
-
}, {
|
|
2597
|
-
readonly inputs: readonly [];
|
|
2598
|
-
readonly name: "Transfer_TransferFailed";
|
|
2599
|
-
readonly type: "error";
|
|
2600
|
-
}, {
|
|
2601
|
-
readonly anonymous: false;
|
|
2602
|
-
readonly inputs: readonly [{
|
|
2603
|
-
readonly components: readonly [{
|
|
2604
|
-
readonly internalType: "address";
|
|
2605
|
-
readonly name: "feeLib";
|
|
2606
|
-
readonly type: "address";
|
|
2607
|
-
}, {
|
|
2608
|
-
readonly internalType: "address";
|
|
2609
|
-
readonly name: "planner";
|
|
2610
|
-
readonly type: "address";
|
|
2611
|
-
}, {
|
|
2612
|
-
readonly internalType: "address";
|
|
2613
|
-
readonly name: "treasurer";
|
|
2614
|
-
readonly type: "address";
|
|
2615
|
-
}, {
|
|
2616
|
-
readonly internalType: "address";
|
|
2617
|
-
readonly name: "tokenMessaging";
|
|
2618
|
-
readonly type: "address";
|
|
2619
|
-
}, {
|
|
2620
|
-
readonly internalType: "address";
|
|
2621
|
-
readonly name: "creditMessaging";
|
|
2622
|
-
readonly type: "address";
|
|
2623
|
-
}, {
|
|
2624
|
-
readonly internalType: "address";
|
|
2625
|
-
readonly name: "lzToken";
|
|
2626
|
-
readonly type: "address";
|
|
2627
|
-
}];
|
|
2628
|
-
readonly indexed: false;
|
|
2629
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
2630
|
-
readonly name: "config";
|
|
2631
|
-
readonly type: "tuple";
|
|
2632
|
-
}];
|
|
2633
|
-
readonly name: "AddressConfigSet";
|
|
2634
|
-
readonly type: "event";
|
|
2635
|
-
}, {
|
|
2636
|
-
readonly anonymous: false;
|
|
2637
|
-
readonly inputs: readonly [{
|
|
2638
|
-
readonly indexed: false;
|
|
2639
|
-
readonly internalType: "uint32";
|
|
2640
|
-
readonly name: "srcEid";
|
|
2641
|
-
readonly type: "uint32";
|
|
2642
|
-
}, {
|
|
2643
|
-
readonly components: readonly [{
|
|
2644
|
-
readonly internalType: "uint32";
|
|
2645
|
-
readonly name: "srcEid";
|
|
2646
|
-
readonly type: "uint32";
|
|
2647
|
-
}, {
|
|
2648
|
-
readonly internalType: "uint64";
|
|
2649
|
-
readonly name: "amount";
|
|
2650
|
-
readonly type: "uint64";
|
|
2651
|
-
}];
|
|
2652
|
-
readonly indexed: false;
|
|
2653
|
-
readonly internalType: "struct Credit[]";
|
|
2654
|
-
readonly name: "credits";
|
|
2655
|
-
readonly type: "tuple[]";
|
|
2656
|
-
}];
|
|
2657
|
-
readonly name: "CreditsReceived";
|
|
2658
|
-
readonly type: "event";
|
|
2659
|
-
}, {
|
|
2660
|
-
readonly anonymous: false;
|
|
2661
|
-
readonly inputs: readonly [{
|
|
2662
|
-
readonly indexed: false;
|
|
2663
|
-
readonly internalType: "uint32";
|
|
2664
|
-
readonly name: "dstEid";
|
|
2665
|
-
readonly type: "uint32";
|
|
2666
|
-
}, {
|
|
2667
|
-
readonly components: readonly [{
|
|
2668
|
-
readonly internalType: "uint32";
|
|
2669
|
-
readonly name: "srcEid";
|
|
2670
|
-
readonly type: "uint32";
|
|
2671
|
-
}, {
|
|
2672
|
-
readonly internalType: "uint64";
|
|
2673
|
-
readonly name: "amount";
|
|
2674
|
-
readonly type: "uint64";
|
|
2675
|
-
}];
|
|
2676
|
-
readonly indexed: false;
|
|
2677
|
-
readonly internalType: "struct Credit[]";
|
|
2678
|
-
readonly name: "credits";
|
|
2679
|
-
readonly type: "tuple[]";
|
|
2680
|
-
}];
|
|
2681
|
-
readonly name: "CreditsSent";
|
|
2682
|
-
readonly type: "event";
|
|
2683
|
-
}, {
|
|
2684
|
-
readonly anonymous: false;
|
|
2685
|
-
readonly inputs: readonly [{
|
|
2686
|
-
readonly indexed: false;
|
|
2687
|
-
readonly internalType: "uint32";
|
|
2688
|
-
readonly name: "dstEid";
|
|
2689
|
-
readonly type: "uint32";
|
|
2690
|
-
}, {
|
|
2691
|
-
readonly indexed: false;
|
|
2692
|
-
readonly internalType: "bool";
|
|
2693
|
-
readonly name: "oft";
|
|
2694
|
-
readonly type: "bool";
|
|
2695
|
-
}];
|
|
2696
|
-
readonly name: "OFTPathSet";
|
|
2697
|
-
readonly type: "event";
|
|
2698
|
-
}, {
|
|
2699
|
-
readonly anonymous: false;
|
|
2700
|
-
readonly inputs: readonly [{
|
|
2701
|
-
readonly indexed: true;
|
|
2702
|
-
readonly internalType: "bytes32";
|
|
2703
|
-
readonly name: "guid";
|
|
2704
|
-
readonly type: "bytes32";
|
|
2705
|
-
}, {
|
|
2706
|
-
readonly indexed: false;
|
|
2707
|
-
readonly internalType: "uint32";
|
|
2708
|
-
readonly name: "srcEid";
|
|
2709
|
-
readonly type: "uint32";
|
|
2710
|
-
}, {
|
|
2711
|
-
readonly indexed: true;
|
|
2712
|
-
readonly internalType: "address";
|
|
2713
|
-
readonly name: "toAddress";
|
|
2714
|
-
readonly type: "address";
|
|
2715
|
-
}, {
|
|
2716
|
-
readonly indexed: false;
|
|
2717
|
-
readonly internalType: "uint256";
|
|
2718
|
-
readonly name: "amountReceivedLD";
|
|
2719
|
-
readonly type: "uint256";
|
|
2720
|
-
}];
|
|
2721
|
-
readonly name: "OFTReceived";
|
|
2722
|
-
readonly type: "event";
|
|
2723
|
-
}, {
|
|
2724
|
-
readonly anonymous: false;
|
|
2725
|
-
readonly inputs: readonly [{
|
|
2726
|
-
readonly indexed: true;
|
|
2727
|
-
readonly internalType: "bytes32";
|
|
2728
|
-
readonly name: "guid";
|
|
2729
|
-
readonly type: "bytes32";
|
|
2730
|
-
}, {
|
|
2731
|
-
readonly indexed: false;
|
|
2732
|
-
readonly internalType: "uint32";
|
|
2733
|
-
readonly name: "dstEid";
|
|
2734
|
-
readonly type: "uint32";
|
|
2735
|
-
}, {
|
|
2736
|
-
readonly indexed: true;
|
|
2737
|
-
readonly internalType: "address";
|
|
2738
|
-
readonly name: "fromAddress";
|
|
2739
|
-
readonly type: "address";
|
|
2740
|
-
}, {
|
|
2741
|
-
readonly indexed: false;
|
|
2742
|
-
readonly internalType: "uint256";
|
|
2743
|
-
readonly name: "amountSentLD";
|
|
2744
|
-
readonly type: "uint256";
|
|
2745
|
-
}, {
|
|
2746
|
-
readonly indexed: false;
|
|
2747
|
-
readonly internalType: "uint256";
|
|
2748
|
-
readonly name: "amountReceivedLD";
|
|
2749
|
-
readonly type: "uint256";
|
|
2750
|
-
}];
|
|
2751
|
-
readonly name: "OFTSent";
|
|
2752
|
-
readonly type: "event";
|
|
2753
|
-
}, {
|
|
2754
|
-
readonly anonymous: false;
|
|
2755
|
-
readonly inputs: readonly [{
|
|
2756
|
-
readonly indexed: true;
|
|
2757
|
-
readonly internalType: "address";
|
|
2758
|
-
readonly name: "previousOwner";
|
|
2759
|
-
readonly type: "address";
|
|
2760
|
-
}, {
|
|
2761
|
-
readonly indexed: true;
|
|
2762
|
-
readonly internalType: "address";
|
|
2763
|
-
readonly name: "newOwner";
|
|
2764
|
-
readonly type: "address";
|
|
2765
|
-
}];
|
|
2766
|
-
readonly name: "OwnershipTransferred";
|
|
2767
|
-
readonly type: "event";
|
|
2768
|
-
}, {
|
|
2769
|
-
readonly anonymous: false;
|
|
2770
|
-
readonly inputs: readonly [{
|
|
2771
|
-
readonly indexed: false;
|
|
2772
|
-
readonly internalType: "bool";
|
|
2773
|
-
readonly name: "paused";
|
|
2774
|
-
readonly type: "bool";
|
|
2775
|
-
}];
|
|
2776
|
-
readonly name: "PauseSet";
|
|
2777
|
-
readonly type: "event";
|
|
2778
|
-
}, {
|
|
2779
|
-
readonly anonymous: false;
|
|
2780
|
-
readonly inputs: readonly [{
|
|
2781
|
-
readonly indexed: false;
|
|
2782
|
-
readonly internalType: "uint256";
|
|
2783
|
-
readonly name: "amount";
|
|
2784
|
-
readonly type: "uint256";
|
|
2785
|
-
}];
|
|
2786
|
-
readonly name: "PlannerFeeWithdrawn";
|
|
2787
|
-
readonly type: "event";
|
|
2788
|
-
}, {
|
|
2789
|
-
readonly anonymous: false;
|
|
2790
|
-
readonly inputs: readonly [{
|
|
2791
|
-
readonly indexed: false;
|
|
2792
|
-
readonly internalType: "uint64";
|
|
2793
|
-
readonly name: "amountSD";
|
|
2794
|
-
readonly type: "uint64";
|
|
2795
|
-
}];
|
|
2796
|
-
readonly name: "TreasuryFeeAdded";
|
|
2797
|
-
readonly type: "event";
|
|
2798
|
-
}, {
|
|
2799
|
-
readonly anonymous: false;
|
|
2800
|
-
readonly inputs: readonly [{
|
|
2801
|
-
readonly indexed: false;
|
|
2802
|
-
readonly internalType: "address";
|
|
2803
|
-
readonly name: "to";
|
|
2804
|
-
readonly type: "address";
|
|
2805
|
-
}, {
|
|
2806
|
-
readonly indexed: false;
|
|
2807
|
-
readonly internalType: "uint64";
|
|
2808
|
-
readonly name: "amountSD";
|
|
2809
|
-
readonly type: "uint64";
|
|
2810
|
-
}];
|
|
2811
|
-
readonly name: "TreasuryFeeWithdrawn";
|
|
2812
|
-
readonly type: "event";
|
|
2813
|
-
}, {
|
|
2814
|
-
readonly anonymous: false;
|
|
2815
|
-
readonly inputs: readonly [{
|
|
2816
|
-
readonly indexed: false;
|
|
2817
|
-
readonly internalType: "bytes32";
|
|
2818
|
-
readonly name: "guid";
|
|
2819
|
-
readonly type: "bytes32";
|
|
2820
|
-
}, {
|
|
2821
|
-
readonly indexed: false;
|
|
2822
|
-
readonly internalType: "uint8";
|
|
2823
|
-
readonly name: "index";
|
|
2824
|
-
readonly type: "uint8";
|
|
2825
|
-
}, {
|
|
2826
|
-
readonly indexed: false;
|
|
2827
|
-
readonly internalType: "uint32";
|
|
2828
|
-
readonly name: "srcEid";
|
|
2829
|
-
readonly type: "uint32";
|
|
2830
|
-
}, {
|
|
2831
|
-
readonly indexed: false;
|
|
2832
|
-
readonly internalType: "address";
|
|
2833
|
-
readonly name: "receiver";
|
|
2834
|
-
readonly type: "address";
|
|
2835
|
-
}, {
|
|
2836
|
-
readonly indexed: false;
|
|
2837
|
-
readonly internalType: "uint256";
|
|
2838
|
-
readonly name: "amountLD";
|
|
2839
|
-
readonly type: "uint256";
|
|
2840
|
-
}, {
|
|
2841
|
-
readonly indexed: false;
|
|
2842
|
-
readonly internalType: "bytes";
|
|
2843
|
-
readonly name: "composeMsg";
|
|
2844
|
-
readonly type: "bytes";
|
|
2845
|
-
}];
|
|
2846
|
-
readonly name: "UnreceivedTokenCached";
|
|
2847
|
-
readonly type: "event";
|
|
2848
|
-
}, {
|
|
2849
|
-
readonly inputs: readonly [{
|
|
2850
|
-
readonly internalType: "uint256";
|
|
2851
|
-
readonly name: "_amountLD";
|
|
2852
|
-
readonly type: "uint256";
|
|
2853
|
-
}];
|
|
2854
|
-
readonly name: "addTreasuryFee";
|
|
2855
|
-
readonly outputs: readonly [];
|
|
2856
|
-
readonly stateMutability: "payable";
|
|
2857
|
-
readonly type: "function";
|
|
2858
|
-
}, {
|
|
2859
|
-
readonly inputs: readonly [];
|
|
2860
|
-
readonly name: "approvalRequired";
|
|
2861
|
-
readonly outputs: readonly [{
|
|
2862
|
-
readonly internalType: "bool";
|
|
2863
|
-
readonly name: "";
|
|
2864
|
-
readonly type: "bool";
|
|
2865
|
-
}];
|
|
2866
|
-
readonly stateMutability: "pure";
|
|
2867
|
-
readonly type: "function";
|
|
2868
|
-
}, {
|
|
2869
|
-
readonly inputs: readonly [];
|
|
2870
|
-
readonly name: "endpoint";
|
|
2871
|
-
readonly outputs: readonly [{
|
|
2872
|
-
readonly internalType: "contract ILayerZeroEndpointV2";
|
|
2873
|
-
readonly name: "";
|
|
2874
|
-
readonly type: "address";
|
|
2875
|
-
}];
|
|
2876
|
-
readonly stateMutability: "view";
|
|
2877
|
-
readonly type: "function";
|
|
2878
|
-
}, {
|
|
2879
|
-
readonly inputs: readonly [];
|
|
2880
|
-
readonly name: "feeToken";
|
|
2881
|
-
readonly outputs: readonly [{
|
|
2882
|
-
readonly internalType: "address";
|
|
2883
|
-
readonly name: "";
|
|
2884
|
-
readonly type: "address";
|
|
2885
|
-
}];
|
|
2886
|
-
readonly stateMutability: "view";
|
|
2887
|
-
readonly type: "function";
|
|
2888
|
-
}, {
|
|
2889
|
-
readonly inputs: readonly [];
|
|
2890
|
-
readonly name: "getAddressConfig";
|
|
2891
|
-
readonly outputs: readonly [{
|
|
2892
|
-
readonly components: readonly [{
|
|
2893
|
-
readonly internalType: "address";
|
|
2894
|
-
readonly name: "feeLib";
|
|
2895
|
-
readonly type: "address";
|
|
2896
|
-
}, {
|
|
2897
|
-
readonly internalType: "address";
|
|
2898
|
-
readonly name: "planner";
|
|
2899
|
-
readonly type: "address";
|
|
2900
|
-
}, {
|
|
2901
|
-
readonly internalType: "address";
|
|
2902
|
-
readonly name: "treasurer";
|
|
2903
|
-
readonly type: "address";
|
|
2904
|
-
}, {
|
|
2905
|
-
readonly internalType: "address";
|
|
2906
|
-
readonly name: "tokenMessaging";
|
|
2907
|
-
readonly type: "address";
|
|
2908
|
-
}, {
|
|
2909
|
-
readonly internalType: "address";
|
|
2910
|
-
readonly name: "creditMessaging";
|
|
2911
|
-
readonly type: "address";
|
|
2912
|
-
}, {
|
|
2913
|
-
readonly internalType: "address";
|
|
2914
|
-
readonly name: "lzToken";
|
|
2915
|
-
readonly type: "address";
|
|
2916
|
-
}];
|
|
2917
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
2918
|
-
readonly name: "";
|
|
2919
|
-
readonly type: "tuple";
|
|
2920
|
-
}];
|
|
2921
|
-
readonly stateMutability: "view";
|
|
2922
|
-
readonly type: "function";
|
|
2923
|
-
}, {
|
|
2924
|
-
readonly inputs: readonly [];
|
|
2925
|
-
readonly name: "getTransferGasLimit";
|
|
2926
|
-
readonly outputs: readonly [{
|
|
2927
|
-
readonly internalType: "uint256";
|
|
2928
|
-
readonly name: "";
|
|
2929
|
-
readonly type: "uint256";
|
|
2930
|
-
}];
|
|
2931
|
-
readonly stateMutability: "view";
|
|
2932
|
-
readonly type: "function";
|
|
2933
|
-
}, {
|
|
2934
|
-
readonly inputs: readonly [];
|
|
2935
|
-
readonly name: "localEid";
|
|
2936
|
-
readonly outputs: readonly [{
|
|
2937
|
-
readonly internalType: "uint32";
|
|
2938
|
-
readonly name: "";
|
|
2939
|
-
readonly type: "uint32";
|
|
2940
|
-
}];
|
|
2941
|
-
readonly stateMutability: "view";
|
|
2942
|
-
readonly type: "function";
|
|
2943
|
-
}, {
|
|
2944
|
-
readonly inputs: readonly [];
|
|
2945
|
-
readonly name: "oftVersion";
|
|
2946
|
-
readonly outputs: readonly [{
|
|
2947
|
-
readonly internalType: "bytes4";
|
|
2948
|
-
readonly name: "interfaceId";
|
|
2949
|
-
readonly type: "bytes4";
|
|
2950
|
-
}, {
|
|
2951
|
-
readonly internalType: "uint64";
|
|
2952
|
-
readonly name: "version";
|
|
2953
|
-
readonly type: "uint64";
|
|
2954
|
-
}];
|
|
2955
|
-
readonly stateMutability: "pure";
|
|
2956
|
-
readonly type: "function";
|
|
2957
|
-
}, {
|
|
2958
|
-
readonly inputs: readonly [];
|
|
2959
|
-
readonly name: "owner";
|
|
2960
|
-
readonly outputs: readonly [{
|
|
2961
|
-
readonly internalType: "address";
|
|
2962
|
-
readonly name: "";
|
|
2963
|
-
readonly type: "address";
|
|
2964
|
-
}];
|
|
2965
|
-
readonly stateMutability: "view";
|
|
2966
|
-
readonly type: "function";
|
|
2967
|
-
}, {
|
|
2968
|
-
readonly inputs: readonly [{
|
|
2969
|
-
readonly internalType: "uint32";
|
|
2970
|
-
readonly name: "eid";
|
|
2971
|
-
readonly type: "uint32";
|
|
2972
|
-
}];
|
|
2973
|
-
readonly name: "paths";
|
|
2974
|
-
readonly outputs: readonly [{
|
|
2975
|
-
readonly internalType: "uint64";
|
|
2976
|
-
readonly name: "credit";
|
|
2977
|
-
readonly type: "uint64";
|
|
2978
|
-
}];
|
|
2979
|
-
readonly stateMutability: "view";
|
|
2980
|
-
readonly type: "function";
|
|
2981
|
-
}, {
|
|
2982
|
-
readonly inputs: readonly [];
|
|
2983
|
-
readonly name: "plannerFee";
|
|
2984
|
-
readonly outputs: readonly [{
|
|
2985
|
-
readonly internalType: "uint256";
|
|
2986
|
-
readonly name: "available";
|
|
2987
|
-
readonly type: "uint256";
|
|
2988
|
-
}];
|
|
2989
|
-
readonly stateMutability: "view";
|
|
2990
|
-
readonly type: "function";
|
|
2991
|
-
}, {
|
|
2992
|
-
readonly inputs: readonly [{
|
|
2993
|
-
readonly components: readonly [{
|
|
2994
|
-
readonly internalType: "uint32";
|
|
2995
|
-
readonly name: "dstEid";
|
|
2996
|
-
readonly type: "uint32";
|
|
2997
|
-
}, {
|
|
2998
|
-
readonly internalType: "bytes32";
|
|
2999
|
-
readonly name: "to";
|
|
3000
|
-
readonly type: "bytes32";
|
|
3001
|
-
}, {
|
|
3002
|
-
readonly internalType: "uint256";
|
|
3003
|
-
readonly name: "amountLD";
|
|
3004
|
-
readonly type: "uint256";
|
|
3005
|
-
}, {
|
|
3006
|
-
readonly internalType: "uint256";
|
|
3007
|
-
readonly name: "minAmountLD";
|
|
3008
|
-
readonly type: "uint256";
|
|
3009
|
-
}, {
|
|
3010
|
-
readonly internalType: "bytes";
|
|
3011
|
-
readonly name: "extraOptions";
|
|
3012
|
-
readonly type: "bytes";
|
|
3013
|
-
}, {
|
|
3014
|
-
readonly internalType: "bytes";
|
|
3015
|
-
readonly name: "composeMsg";
|
|
3016
|
-
readonly type: "bytes";
|
|
3017
|
-
}, {
|
|
3018
|
-
readonly internalType: "bytes";
|
|
3019
|
-
readonly name: "oftCmd";
|
|
3020
|
-
readonly type: "bytes";
|
|
3021
|
-
}];
|
|
3022
|
-
readonly internalType: "struct SendParam";
|
|
3023
|
-
readonly name: "_sendParam";
|
|
3024
|
-
readonly type: "tuple";
|
|
3025
|
-
}];
|
|
3026
|
-
readonly name: "quoteOFT";
|
|
3027
|
-
readonly outputs: readonly [{
|
|
3028
|
-
readonly components: readonly [{
|
|
3029
|
-
readonly internalType: "uint256";
|
|
3030
|
-
readonly name: "minAmountLD";
|
|
3031
|
-
readonly type: "uint256";
|
|
3032
|
-
}, {
|
|
3033
|
-
readonly internalType: "uint256";
|
|
3034
|
-
readonly name: "maxAmountLD";
|
|
3035
|
-
readonly type: "uint256";
|
|
3036
|
-
}];
|
|
3037
|
-
readonly internalType: "struct OFTLimit";
|
|
3038
|
-
readonly name: "limit";
|
|
3039
|
-
readonly type: "tuple";
|
|
3040
|
-
}, {
|
|
3041
|
-
readonly components: readonly [{
|
|
3042
|
-
readonly internalType: "int256";
|
|
3043
|
-
readonly name: "feeAmountLD";
|
|
3044
|
-
readonly type: "int256";
|
|
3045
|
-
}, {
|
|
3046
|
-
readonly internalType: "string";
|
|
3047
|
-
readonly name: "description";
|
|
3048
|
-
readonly type: "string";
|
|
3049
|
-
}];
|
|
3050
|
-
readonly internalType: "struct OFTFeeDetail[]";
|
|
3051
|
-
readonly name: "oftFeeDetails";
|
|
3052
|
-
readonly type: "tuple[]";
|
|
3053
|
-
}, {
|
|
3054
|
-
readonly components: readonly [{
|
|
3055
|
-
readonly internalType: "uint256";
|
|
3056
|
-
readonly name: "amountSentLD";
|
|
3057
|
-
readonly type: "uint256";
|
|
3058
|
-
}, {
|
|
3059
|
-
readonly internalType: "uint256";
|
|
3060
|
-
readonly name: "amountReceivedLD";
|
|
3061
|
-
readonly type: "uint256";
|
|
3062
|
-
}];
|
|
3063
|
-
readonly internalType: "struct OFTReceipt";
|
|
3064
|
-
readonly name: "receipt";
|
|
3065
|
-
readonly type: "tuple";
|
|
3066
|
-
}];
|
|
3067
|
-
readonly stateMutability: "view";
|
|
3068
|
-
readonly type: "function";
|
|
3069
|
-
}, {
|
|
3070
|
-
readonly inputs: readonly [{
|
|
3071
|
-
readonly components: readonly [{
|
|
3072
|
-
readonly internalType: "uint32";
|
|
3073
|
-
readonly name: "dstEid";
|
|
3074
|
-
readonly type: "uint32";
|
|
3075
|
-
}, {
|
|
3076
|
-
readonly internalType: "bytes32";
|
|
3077
|
-
readonly name: "to";
|
|
3078
|
-
readonly type: "bytes32";
|
|
3079
|
-
}, {
|
|
3080
|
-
readonly internalType: "uint256";
|
|
3081
|
-
readonly name: "amountLD";
|
|
3082
|
-
readonly type: "uint256";
|
|
3083
|
-
}, {
|
|
3084
|
-
readonly internalType: "uint256";
|
|
3085
|
-
readonly name: "minAmountLD";
|
|
3086
|
-
readonly type: "uint256";
|
|
3087
|
-
}, {
|
|
3088
|
-
readonly internalType: "bytes";
|
|
3089
|
-
readonly name: "extraOptions";
|
|
3090
|
-
readonly type: "bytes";
|
|
3091
|
-
}, {
|
|
3092
|
-
readonly internalType: "bytes";
|
|
3093
|
-
readonly name: "composeMsg";
|
|
3094
|
-
readonly type: "bytes";
|
|
3095
|
-
}, {
|
|
3096
|
-
readonly internalType: "bytes";
|
|
3097
|
-
readonly name: "oftCmd";
|
|
3098
|
-
readonly type: "bytes";
|
|
3099
|
-
}];
|
|
3100
|
-
readonly internalType: "struct SendParam";
|
|
3101
|
-
readonly name: "_sendParam";
|
|
3102
|
-
readonly type: "tuple";
|
|
3103
|
-
}, {
|
|
3104
|
-
readonly internalType: "bool";
|
|
3105
|
-
readonly name: "_payInLzToken";
|
|
3106
|
-
readonly type: "bool";
|
|
3107
|
-
}];
|
|
3108
|
-
readonly name: "quoteSend";
|
|
3109
|
-
readonly outputs: readonly [{
|
|
3110
|
-
readonly components: readonly [{
|
|
3111
|
-
readonly internalType: "uint256";
|
|
3112
|
-
readonly name: "nativeFee";
|
|
3113
|
-
readonly type: "uint256";
|
|
3114
|
-
}, {
|
|
3115
|
-
readonly internalType: "uint256";
|
|
3116
|
-
readonly name: "lzTokenFee";
|
|
3117
|
-
readonly type: "uint256";
|
|
3118
|
-
}];
|
|
3119
|
-
readonly internalType: "struct MessagingFee";
|
|
3120
|
-
readonly name: "fee";
|
|
3121
|
-
readonly type: "tuple";
|
|
3122
|
-
}];
|
|
3123
|
-
readonly stateMutability: "view";
|
|
3124
|
-
readonly type: "function";
|
|
3125
|
-
}, {
|
|
3126
|
-
readonly inputs: readonly [{
|
|
3127
|
-
readonly internalType: "uint32";
|
|
3128
|
-
readonly name: "_srcEid";
|
|
3129
|
-
readonly type: "uint32";
|
|
3130
|
-
}, {
|
|
3131
|
-
readonly components: readonly [{
|
|
3132
|
-
readonly internalType: "uint32";
|
|
3133
|
-
readonly name: "srcEid";
|
|
3134
|
-
readonly type: "uint32";
|
|
3135
|
-
}, {
|
|
3136
|
-
readonly internalType: "uint64";
|
|
3137
|
-
readonly name: "amount";
|
|
3138
|
-
readonly type: "uint64";
|
|
3139
|
-
}];
|
|
3140
|
-
readonly internalType: "struct Credit[]";
|
|
3141
|
-
readonly name: "_credits";
|
|
3142
|
-
readonly type: "tuple[]";
|
|
3143
|
-
}];
|
|
3144
|
-
readonly name: "receiveCredits";
|
|
3145
|
-
readonly outputs: readonly [];
|
|
3146
|
-
readonly stateMutability: "nonpayable";
|
|
3147
|
-
readonly type: "function";
|
|
3148
|
-
}, {
|
|
3149
|
-
readonly inputs: readonly [{
|
|
3150
|
-
readonly components: readonly [{
|
|
3151
|
-
readonly internalType: "uint32";
|
|
3152
|
-
readonly name: "srcEid";
|
|
3153
|
-
readonly type: "uint32";
|
|
3154
|
-
}, {
|
|
3155
|
-
readonly internalType: "bytes32";
|
|
3156
|
-
readonly name: "sender";
|
|
3157
|
-
readonly type: "bytes32";
|
|
3158
|
-
}, {
|
|
3159
|
-
readonly internalType: "uint64";
|
|
3160
|
-
readonly name: "nonce";
|
|
3161
|
-
readonly type: "uint64";
|
|
3162
|
-
}];
|
|
3163
|
-
readonly internalType: "struct Origin";
|
|
3164
|
-
readonly name: "_origin";
|
|
3165
|
-
readonly type: "tuple";
|
|
3166
|
-
}, {
|
|
3167
|
-
readonly internalType: "bytes32";
|
|
3168
|
-
readonly name: "_guid";
|
|
3169
|
-
readonly type: "bytes32";
|
|
3170
|
-
}, {
|
|
3171
|
-
readonly internalType: "uint8";
|
|
3172
|
-
readonly name: "_seatNumber";
|
|
3173
|
-
readonly type: "uint8";
|
|
3174
|
-
}, {
|
|
3175
|
-
readonly internalType: "address";
|
|
3176
|
-
readonly name: "_receiver";
|
|
3177
|
-
readonly type: "address";
|
|
3178
|
-
}, {
|
|
3179
|
-
readonly internalType: "uint64";
|
|
3180
|
-
readonly name: "_amountSD";
|
|
3181
|
-
readonly type: "uint64";
|
|
3182
|
-
}];
|
|
3183
|
-
readonly name: "receiveTokenBus";
|
|
3184
|
-
readonly outputs: readonly [];
|
|
3185
|
-
readonly stateMutability: "nonpayable";
|
|
3186
|
-
readonly type: "function";
|
|
3187
|
-
}, {
|
|
3188
|
-
readonly inputs: readonly [{
|
|
3189
|
-
readonly components: readonly [{
|
|
3190
|
-
readonly internalType: "uint32";
|
|
3191
|
-
readonly name: "srcEid";
|
|
3192
|
-
readonly type: "uint32";
|
|
3193
|
-
}, {
|
|
3194
|
-
readonly internalType: "bytes32";
|
|
3195
|
-
readonly name: "sender";
|
|
3196
|
-
readonly type: "bytes32";
|
|
3197
|
-
}, {
|
|
3198
|
-
readonly internalType: "uint64";
|
|
3199
|
-
readonly name: "nonce";
|
|
3200
|
-
readonly type: "uint64";
|
|
3201
|
-
}];
|
|
3202
|
-
readonly internalType: "struct Origin";
|
|
3203
|
-
readonly name: "_origin";
|
|
3204
|
-
readonly type: "tuple";
|
|
3205
|
-
}, {
|
|
3206
|
-
readonly internalType: "bytes32";
|
|
3207
|
-
readonly name: "_guid";
|
|
3208
|
-
readonly type: "bytes32";
|
|
3209
|
-
}, {
|
|
3210
|
-
readonly internalType: "address";
|
|
3211
|
-
readonly name: "_receiver";
|
|
3212
|
-
readonly type: "address";
|
|
3213
|
-
}, {
|
|
3214
|
-
readonly internalType: "uint64";
|
|
3215
|
-
readonly name: "_amountSD";
|
|
3216
|
-
readonly type: "uint64";
|
|
3217
|
-
}, {
|
|
3218
|
-
readonly internalType: "bytes";
|
|
3219
|
-
readonly name: "_composeMsg";
|
|
3220
|
-
readonly type: "bytes";
|
|
3221
|
-
}];
|
|
3222
|
-
readonly name: "receiveTokenTaxi";
|
|
3223
|
-
readonly outputs: readonly [];
|
|
3224
|
-
readonly stateMutability: "nonpayable";
|
|
3225
|
-
readonly type: "function";
|
|
3226
|
-
}, {
|
|
3227
|
-
readonly inputs: readonly [{
|
|
3228
|
-
readonly internalType: "address";
|
|
3229
|
-
readonly name: "_token";
|
|
3230
|
-
readonly type: "address";
|
|
3231
|
-
}, {
|
|
3232
|
-
readonly internalType: "address";
|
|
3233
|
-
readonly name: "_to";
|
|
3234
|
-
readonly type: "address";
|
|
3235
|
-
}, {
|
|
3236
|
-
readonly internalType: "uint256";
|
|
3237
|
-
readonly name: "_amount";
|
|
3238
|
-
readonly type: "uint256";
|
|
3239
|
-
}];
|
|
3240
|
-
readonly name: "recoverToken";
|
|
3241
|
-
readonly outputs: readonly [{
|
|
3242
|
-
readonly internalType: "uint256";
|
|
3243
|
-
readonly name: "";
|
|
3244
|
-
readonly type: "uint256";
|
|
3245
|
-
}];
|
|
3246
|
-
readonly stateMutability: "nonpayable";
|
|
3247
|
-
readonly type: "function";
|
|
3248
|
-
}, {
|
|
3249
|
-
readonly inputs: readonly [];
|
|
3250
|
-
readonly name: "renounceOwnership";
|
|
3251
|
-
readonly outputs: readonly [];
|
|
3252
|
-
readonly stateMutability: "nonpayable";
|
|
3253
|
-
readonly type: "function";
|
|
3254
|
-
}, {
|
|
3255
|
-
readonly inputs: readonly [{
|
|
3256
|
-
readonly internalType: "bytes32";
|
|
3257
|
-
readonly name: "_guid";
|
|
3258
|
-
readonly type: "bytes32";
|
|
3259
|
-
}, {
|
|
3260
|
-
readonly internalType: "uint8";
|
|
3261
|
-
readonly name: "_index";
|
|
3262
|
-
readonly type: "uint8";
|
|
3263
|
-
}, {
|
|
3264
|
-
readonly internalType: "uint32";
|
|
3265
|
-
readonly name: "_srcEid";
|
|
3266
|
-
readonly type: "uint32";
|
|
3267
|
-
}, {
|
|
3268
|
-
readonly internalType: "address";
|
|
3269
|
-
readonly name: "_receiver";
|
|
3270
|
-
readonly type: "address";
|
|
3271
|
-
}, {
|
|
3272
|
-
readonly internalType: "uint256";
|
|
3273
|
-
readonly name: "_amountLD";
|
|
3274
|
-
readonly type: "uint256";
|
|
3275
|
-
}, {
|
|
3276
|
-
readonly internalType: "bytes";
|
|
3277
|
-
readonly name: "_composeMsg";
|
|
3278
|
-
readonly type: "bytes";
|
|
3279
|
-
}];
|
|
3280
|
-
readonly name: "retryReceiveToken";
|
|
3281
|
-
readonly outputs: readonly [];
|
|
3282
|
-
readonly stateMutability: "nonpayable";
|
|
3283
|
-
readonly type: "function";
|
|
3284
|
-
}, {
|
|
3285
|
-
readonly inputs: readonly [{
|
|
3286
|
-
readonly components: readonly [{
|
|
3287
|
-
readonly internalType: "uint32";
|
|
3288
|
-
readonly name: "dstEid";
|
|
3289
|
-
readonly type: "uint32";
|
|
3290
|
-
}, {
|
|
3291
|
-
readonly internalType: "bytes32";
|
|
3292
|
-
readonly name: "to";
|
|
3293
|
-
readonly type: "bytes32";
|
|
3294
|
-
}, {
|
|
3295
|
-
readonly internalType: "uint256";
|
|
3296
|
-
readonly name: "amountLD";
|
|
3297
|
-
readonly type: "uint256";
|
|
3298
|
-
}, {
|
|
3299
|
-
readonly internalType: "uint256";
|
|
3300
|
-
readonly name: "minAmountLD";
|
|
3301
|
-
readonly type: "uint256";
|
|
3302
|
-
}, {
|
|
3303
|
-
readonly internalType: "bytes";
|
|
3304
|
-
readonly name: "extraOptions";
|
|
3305
|
-
readonly type: "bytes";
|
|
3306
|
-
}, {
|
|
3307
|
-
readonly internalType: "bytes";
|
|
3308
|
-
readonly name: "composeMsg";
|
|
3309
|
-
readonly type: "bytes";
|
|
3310
|
-
}, {
|
|
3311
|
-
readonly internalType: "bytes";
|
|
3312
|
-
readonly name: "oftCmd";
|
|
3313
|
-
readonly type: "bytes";
|
|
3314
|
-
}];
|
|
3315
|
-
readonly internalType: "struct SendParam";
|
|
3316
|
-
readonly name: "_sendParam";
|
|
3317
|
-
readonly type: "tuple";
|
|
3318
|
-
}, {
|
|
3319
|
-
readonly components: readonly [{
|
|
3320
|
-
readonly internalType: "uint256";
|
|
3321
|
-
readonly name: "nativeFee";
|
|
3322
|
-
readonly type: "uint256";
|
|
3323
|
-
}, {
|
|
3324
|
-
readonly internalType: "uint256";
|
|
3325
|
-
readonly name: "lzTokenFee";
|
|
3326
|
-
readonly type: "uint256";
|
|
3327
|
-
}];
|
|
3328
|
-
readonly internalType: "struct MessagingFee";
|
|
3329
|
-
readonly name: "_fee";
|
|
3330
|
-
readonly type: "tuple";
|
|
3331
|
-
}, {
|
|
3332
|
-
readonly internalType: "address";
|
|
3333
|
-
readonly name: "_refundAddress";
|
|
3334
|
-
readonly type: "address";
|
|
3335
|
-
}];
|
|
3336
|
-
readonly name: "send";
|
|
3337
|
-
readonly outputs: readonly [{
|
|
3338
|
-
readonly components: readonly [{
|
|
3339
|
-
readonly internalType: "bytes32";
|
|
3340
|
-
readonly name: "guid";
|
|
3341
|
-
readonly type: "bytes32";
|
|
3342
|
-
}, {
|
|
3343
|
-
readonly internalType: "uint64";
|
|
3344
|
-
readonly name: "nonce";
|
|
3345
|
-
readonly type: "uint64";
|
|
3346
|
-
}, {
|
|
3347
|
-
readonly components: readonly [{
|
|
3348
|
-
readonly internalType: "uint256";
|
|
3349
|
-
readonly name: "nativeFee";
|
|
3350
|
-
readonly type: "uint256";
|
|
3351
|
-
}, {
|
|
3352
|
-
readonly internalType: "uint256";
|
|
3353
|
-
readonly name: "lzTokenFee";
|
|
3354
|
-
readonly type: "uint256";
|
|
3355
|
-
}];
|
|
3356
|
-
readonly internalType: "struct MessagingFee";
|
|
3357
|
-
readonly name: "fee";
|
|
3358
|
-
readonly type: "tuple";
|
|
3359
|
-
}];
|
|
3360
|
-
readonly internalType: "struct MessagingReceipt";
|
|
3361
|
-
readonly name: "msgReceipt";
|
|
3362
|
-
readonly type: "tuple";
|
|
3363
|
-
}, {
|
|
3364
|
-
readonly components: readonly [{
|
|
3365
|
-
readonly internalType: "uint256";
|
|
3366
|
-
readonly name: "amountSentLD";
|
|
3367
|
-
readonly type: "uint256";
|
|
3368
|
-
}, {
|
|
3369
|
-
readonly internalType: "uint256";
|
|
3370
|
-
readonly name: "amountReceivedLD";
|
|
3371
|
-
readonly type: "uint256";
|
|
3372
|
-
}];
|
|
3373
|
-
readonly internalType: "struct OFTReceipt";
|
|
3374
|
-
readonly name: "oftReceipt";
|
|
3375
|
-
readonly type: "tuple";
|
|
3376
|
-
}];
|
|
3377
|
-
readonly stateMutability: "payable";
|
|
3378
|
-
readonly type: "function";
|
|
3379
|
-
}, {
|
|
3380
|
-
readonly inputs: readonly [{
|
|
3381
|
-
readonly internalType: "uint32";
|
|
3382
|
-
readonly name: "_dstEid";
|
|
3383
|
-
readonly type: "uint32";
|
|
3384
|
-
}, {
|
|
3385
|
-
readonly components: readonly [{
|
|
3386
|
-
readonly internalType: "uint32";
|
|
3387
|
-
readonly name: "srcEid";
|
|
3388
|
-
readonly type: "uint32";
|
|
3389
|
-
}, {
|
|
3390
|
-
readonly internalType: "uint64";
|
|
3391
|
-
readonly name: "amount";
|
|
3392
|
-
readonly type: "uint64";
|
|
3393
|
-
}, {
|
|
3394
|
-
readonly internalType: "uint64";
|
|
3395
|
-
readonly name: "minAmount";
|
|
3396
|
-
readonly type: "uint64";
|
|
3397
|
-
}];
|
|
3398
|
-
readonly internalType: "struct TargetCredit[]";
|
|
3399
|
-
readonly name: "_credits";
|
|
3400
|
-
readonly type: "tuple[]";
|
|
3401
|
-
}];
|
|
3402
|
-
readonly name: "sendCredits";
|
|
3403
|
-
readonly outputs: readonly [{
|
|
3404
|
-
readonly components: readonly [{
|
|
3405
|
-
readonly internalType: "uint32";
|
|
3406
|
-
readonly name: "srcEid";
|
|
3407
|
-
readonly type: "uint32";
|
|
3408
|
-
}, {
|
|
3409
|
-
readonly internalType: "uint64";
|
|
3410
|
-
readonly name: "amount";
|
|
3411
|
-
readonly type: "uint64";
|
|
3412
|
-
}];
|
|
3413
|
-
readonly internalType: "struct Credit[]";
|
|
3414
|
-
readonly name: "";
|
|
3415
|
-
readonly type: "tuple[]";
|
|
3416
|
-
}];
|
|
3417
|
-
readonly stateMutability: "nonpayable";
|
|
3418
|
-
readonly type: "function";
|
|
3419
|
-
}, {
|
|
3420
|
-
readonly inputs: readonly [{
|
|
3421
|
-
readonly components: readonly [{
|
|
3422
|
-
readonly internalType: "uint32";
|
|
3423
|
-
readonly name: "dstEid";
|
|
3424
|
-
readonly type: "uint32";
|
|
3425
|
-
}, {
|
|
3426
|
-
readonly internalType: "bytes32";
|
|
3427
|
-
readonly name: "to";
|
|
3428
|
-
readonly type: "bytes32";
|
|
3429
|
-
}, {
|
|
3430
|
-
readonly internalType: "uint256";
|
|
3431
|
-
readonly name: "amountLD";
|
|
3432
|
-
readonly type: "uint256";
|
|
3433
|
-
}, {
|
|
3434
|
-
readonly internalType: "uint256";
|
|
3435
|
-
readonly name: "minAmountLD";
|
|
3436
|
-
readonly type: "uint256";
|
|
3437
|
-
}, {
|
|
3438
|
-
readonly internalType: "bytes";
|
|
3439
|
-
readonly name: "extraOptions";
|
|
3440
|
-
readonly type: "bytes";
|
|
3441
|
-
}, {
|
|
3442
|
-
readonly internalType: "bytes";
|
|
3443
|
-
readonly name: "composeMsg";
|
|
3444
|
-
readonly type: "bytes";
|
|
3445
|
-
}, {
|
|
3446
|
-
readonly internalType: "bytes";
|
|
3447
|
-
readonly name: "oftCmd";
|
|
3448
|
-
readonly type: "bytes";
|
|
3449
|
-
}];
|
|
3450
|
-
readonly internalType: "struct SendParam";
|
|
3451
|
-
readonly name: "_sendParam";
|
|
3452
|
-
readonly type: "tuple";
|
|
3453
|
-
}, {
|
|
3454
|
-
readonly components: readonly [{
|
|
3455
|
-
readonly internalType: "uint256";
|
|
3456
|
-
readonly name: "nativeFee";
|
|
3457
|
-
readonly type: "uint256";
|
|
3458
|
-
}, {
|
|
3459
|
-
readonly internalType: "uint256";
|
|
3460
|
-
readonly name: "lzTokenFee";
|
|
3461
|
-
readonly type: "uint256";
|
|
3462
|
-
}];
|
|
3463
|
-
readonly internalType: "struct MessagingFee";
|
|
3464
|
-
readonly name: "_fee";
|
|
3465
|
-
readonly type: "tuple";
|
|
3466
|
-
}, {
|
|
3467
|
-
readonly internalType: "address";
|
|
3468
|
-
readonly name: "_refundAddress";
|
|
3469
|
-
readonly type: "address";
|
|
3470
|
-
}];
|
|
3471
|
-
readonly name: "sendToken";
|
|
3472
|
-
readonly outputs: readonly [{
|
|
3473
|
-
readonly components: readonly [{
|
|
3474
|
-
readonly internalType: "bytes32";
|
|
3475
|
-
readonly name: "guid";
|
|
3476
|
-
readonly type: "bytes32";
|
|
3477
|
-
}, {
|
|
3478
|
-
readonly internalType: "uint64";
|
|
3479
|
-
readonly name: "nonce";
|
|
3480
|
-
readonly type: "uint64";
|
|
3481
|
-
}, {
|
|
3482
|
-
readonly components: readonly [{
|
|
3483
|
-
readonly internalType: "uint256";
|
|
3484
|
-
readonly name: "nativeFee";
|
|
3485
|
-
readonly type: "uint256";
|
|
3486
|
-
}, {
|
|
3487
|
-
readonly internalType: "uint256";
|
|
3488
|
-
readonly name: "lzTokenFee";
|
|
3489
|
-
readonly type: "uint256";
|
|
3490
|
-
}];
|
|
3491
|
-
readonly internalType: "struct MessagingFee";
|
|
3492
|
-
readonly name: "fee";
|
|
3493
|
-
readonly type: "tuple";
|
|
3494
|
-
}];
|
|
3495
|
-
readonly internalType: "struct MessagingReceipt";
|
|
3496
|
-
readonly name: "msgReceipt";
|
|
3497
|
-
readonly type: "tuple";
|
|
3498
|
-
}, {
|
|
3499
|
-
readonly components: readonly [{
|
|
3500
|
-
readonly internalType: "uint256";
|
|
3501
|
-
readonly name: "amountSentLD";
|
|
3502
|
-
readonly type: "uint256";
|
|
3503
|
-
}, {
|
|
3504
|
-
readonly internalType: "uint256";
|
|
3505
|
-
readonly name: "amountReceivedLD";
|
|
3506
|
-
readonly type: "uint256";
|
|
3507
|
-
}];
|
|
3508
|
-
readonly internalType: "struct OFTReceipt";
|
|
3509
|
-
readonly name: "oftReceipt";
|
|
3510
|
-
readonly type: "tuple";
|
|
3511
|
-
}, {
|
|
3512
|
-
readonly components: readonly [{
|
|
3513
|
-
readonly internalType: "uint72";
|
|
3514
|
-
readonly name: "ticketId";
|
|
3515
|
-
readonly type: "uint72";
|
|
3516
|
-
}, {
|
|
3517
|
-
readonly internalType: "bytes";
|
|
3518
|
-
readonly name: "passengerBytes";
|
|
3519
|
-
readonly type: "bytes";
|
|
3520
|
-
}];
|
|
3521
|
-
readonly internalType: "struct Ticket";
|
|
3522
|
-
readonly name: "ticket";
|
|
3523
|
-
readonly type: "tuple";
|
|
3524
|
-
}];
|
|
3525
|
-
readonly stateMutability: "payable";
|
|
3526
|
-
readonly type: "function";
|
|
3527
|
-
}, {
|
|
3528
|
-
readonly inputs: readonly [{
|
|
3529
|
-
readonly components: readonly [{
|
|
3530
|
-
readonly internalType: "address";
|
|
3531
|
-
readonly name: "feeLib";
|
|
3532
|
-
readonly type: "address";
|
|
3533
|
-
}, {
|
|
3534
|
-
readonly internalType: "address";
|
|
3535
|
-
readonly name: "planner";
|
|
3536
|
-
readonly type: "address";
|
|
3537
|
-
}, {
|
|
3538
|
-
readonly internalType: "address";
|
|
3539
|
-
readonly name: "treasurer";
|
|
3540
|
-
readonly type: "address";
|
|
3541
|
-
}, {
|
|
3542
|
-
readonly internalType: "address";
|
|
3543
|
-
readonly name: "tokenMessaging";
|
|
3544
|
-
readonly type: "address";
|
|
3545
|
-
}, {
|
|
3546
|
-
readonly internalType: "address";
|
|
3547
|
-
readonly name: "creditMessaging";
|
|
3548
|
-
readonly type: "address";
|
|
3549
|
-
}, {
|
|
3550
|
-
readonly internalType: "address";
|
|
3551
|
-
readonly name: "lzToken";
|
|
3552
|
-
readonly type: "address";
|
|
3553
|
-
}];
|
|
3554
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
3555
|
-
readonly name: "_config";
|
|
3556
|
-
readonly type: "tuple";
|
|
3557
|
-
}];
|
|
3558
|
-
readonly name: "setAddressConfig";
|
|
3559
|
-
readonly outputs: readonly [];
|
|
3560
|
-
readonly stateMutability: "nonpayable";
|
|
3561
|
-
readonly type: "function";
|
|
3562
|
-
}, {
|
|
3563
|
-
readonly inputs: readonly [{
|
|
3564
|
-
readonly internalType: "uint32";
|
|
3565
|
-
readonly name: "_dstEid";
|
|
3566
|
-
readonly type: "uint32";
|
|
3567
|
-
}, {
|
|
3568
|
-
readonly internalType: "bool";
|
|
3569
|
-
readonly name: "_oft";
|
|
3570
|
-
readonly type: "bool";
|
|
3571
|
-
}];
|
|
3572
|
-
readonly name: "setOFTPath";
|
|
3573
|
-
readonly outputs: readonly [];
|
|
3574
|
-
readonly stateMutability: "nonpayable";
|
|
3575
|
-
readonly type: "function";
|
|
3576
|
-
}, {
|
|
3577
|
-
readonly inputs: readonly [{
|
|
3578
|
-
readonly internalType: "bool";
|
|
3579
|
-
readonly name: "_paused";
|
|
3580
|
-
readonly type: "bool";
|
|
3581
|
-
}];
|
|
3582
|
-
readonly name: "setPause";
|
|
3583
|
-
readonly outputs: readonly [];
|
|
3584
|
-
readonly stateMutability: "nonpayable";
|
|
3585
|
-
readonly type: "function";
|
|
3586
|
-
}, {
|
|
3587
|
-
readonly inputs: readonly [{
|
|
3588
|
-
readonly internalType: "uint256";
|
|
3589
|
-
readonly name: "_gasLimit";
|
|
3590
|
-
readonly type: "uint256";
|
|
3591
|
-
}];
|
|
3592
|
-
readonly name: "setTransferGasLimit";
|
|
3593
|
-
readonly outputs: readonly [];
|
|
3594
|
-
readonly stateMutability: "nonpayable";
|
|
3595
|
-
readonly type: "function";
|
|
3596
|
-
}, {
|
|
3597
|
-
readonly inputs: readonly [];
|
|
3598
|
-
readonly name: "sharedDecimals";
|
|
3599
|
-
readonly outputs: readonly [{
|
|
3600
|
-
readonly internalType: "uint8";
|
|
3601
|
-
readonly name: "";
|
|
3602
|
-
readonly type: "uint8";
|
|
3603
|
-
}];
|
|
3604
|
-
readonly stateMutability: "view";
|
|
3605
|
-
readonly type: "function";
|
|
3606
|
-
}, {
|
|
3607
|
-
readonly inputs: readonly [];
|
|
3608
|
-
readonly name: "stargateType";
|
|
3609
|
-
readonly outputs: readonly [{
|
|
3610
|
-
readonly internalType: "enum StargateType";
|
|
3611
|
-
readonly name: "";
|
|
3612
|
-
readonly type: "uint8";
|
|
3613
|
-
}];
|
|
3614
|
-
readonly stateMutability: "pure";
|
|
3615
|
-
readonly type: "function";
|
|
3616
|
-
}, {
|
|
3617
|
-
readonly inputs: readonly [];
|
|
3618
|
-
readonly name: "status";
|
|
3619
|
-
readonly outputs: readonly [{
|
|
3620
|
-
readonly internalType: "uint8";
|
|
3621
|
-
readonly name: "";
|
|
3622
|
-
readonly type: "uint8";
|
|
3623
|
-
}];
|
|
3624
|
-
readonly stateMutability: "view";
|
|
3625
|
-
readonly type: "function";
|
|
3626
|
-
}, {
|
|
3627
|
-
readonly inputs: readonly [];
|
|
3628
|
-
readonly name: "token";
|
|
3629
|
-
readonly outputs: readonly [{
|
|
3630
|
-
readonly internalType: "address";
|
|
3631
|
-
readonly name: "";
|
|
3632
|
-
readonly type: "address";
|
|
3633
|
-
}];
|
|
3634
|
-
readonly stateMutability: "view";
|
|
3635
|
-
readonly type: "function";
|
|
3636
|
-
}, {
|
|
3637
|
-
readonly inputs: readonly [{
|
|
3638
|
-
readonly internalType: "address";
|
|
3639
|
-
readonly name: "newOwner";
|
|
3640
|
-
readonly type: "address";
|
|
3641
|
-
}];
|
|
3642
|
-
readonly name: "transferOwnership";
|
|
3643
|
-
readonly outputs: readonly [];
|
|
3644
|
-
readonly stateMutability: "nonpayable";
|
|
3645
|
-
readonly type: "function";
|
|
3646
|
-
}, {
|
|
3647
|
-
readonly inputs: readonly [{
|
|
3648
|
-
readonly internalType: "address";
|
|
3649
|
-
readonly name: "_newOwner";
|
|
3650
|
-
readonly type: "address";
|
|
3651
|
-
}];
|
|
3652
|
-
readonly name: "transferTokenOwnership";
|
|
3653
|
-
readonly outputs: readonly [];
|
|
3654
|
-
readonly stateMutability: "nonpayable";
|
|
3655
|
-
readonly type: "function";
|
|
3656
|
-
}, {
|
|
3657
|
-
readonly inputs: readonly [];
|
|
3658
|
-
readonly name: "treasuryFee";
|
|
3659
|
-
readonly outputs: readonly [{
|
|
3660
|
-
readonly internalType: "uint64";
|
|
3661
|
-
readonly name: "";
|
|
3662
|
-
readonly type: "uint64";
|
|
3663
|
-
}];
|
|
3664
|
-
readonly stateMutability: "view";
|
|
3665
|
-
readonly type: "function";
|
|
3666
|
-
}, {
|
|
3667
|
-
readonly inputs: readonly [{
|
|
3668
|
-
readonly internalType: "bytes32";
|
|
3669
|
-
readonly name: "guid";
|
|
3670
|
-
readonly type: "bytes32";
|
|
3671
|
-
}, {
|
|
3672
|
-
readonly internalType: "uint8";
|
|
3673
|
-
readonly name: "index";
|
|
3674
|
-
readonly type: "uint8";
|
|
3675
|
-
}];
|
|
3676
|
-
readonly name: "unreceivedTokens";
|
|
3677
|
-
readonly outputs: readonly [{
|
|
3678
|
-
readonly internalType: "bytes32";
|
|
3679
|
-
readonly name: "hash";
|
|
3680
|
-
readonly type: "bytes32";
|
|
3681
|
-
}];
|
|
3682
|
-
readonly stateMutability: "view";
|
|
3683
|
-
readonly type: "function";
|
|
3684
|
-
}, {
|
|
3685
|
-
readonly inputs: readonly [];
|
|
3686
|
-
readonly name: "withdrawPlannerFee";
|
|
3687
|
-
readonly outputs: readonly [];
|
|
3688
|
-
readonly stateMutability: "nonpayable";
|
|
3689
|
-
readonly type: "function";
|
|
3690
|
-
}, {
|
|
3691
|
-
readonly inputs: readonly [{
|
|
3692
|
-
readonly internalType: "address";
|
|
3693
|
-
readonly name: "_to";
|
|
3694
|
-
readonly type: "address";
|
|
3695
|
-
}, {
|
|
3696
|
-
readonly internalType: "uint64";
|
|
3697
|
-
readonly name: "_amountSD";
|
|
3698
|
-
readonly type: "uint64";
|
|
3699
|
-
}];
|
|
3700
|
-
readonly name: "withdrawTreasuryFee";
|
|
3701
|
-
readonly outputs: readonly [];
|
|
3702
|
-
readonly stateMutability: "nonpayable";
|
|
3703
|
-
readonly type: "function";
|
|
3704
|
-
}];
|
|
3705
|
-
declare const abi3: readonly [{
|
|
3706
|
-
readonly inputs: readonly [{
|
|
3707
|
-
readonly internalType: "address";
|
|
3708
|
-
readonly name: "_token";
|
|
3709
|
-
readonly type: "address";
|
|
3710
|
-
}, {
|
|
3711
|
-
readonly internalType: "uint8";
|
|
3712
|
-
readonly name: "_sharedDecimals";
|
|
3713
|
-
readonly type: "uint8";
|
|
3714
|
-
}, {
|
|
3715
|
-
readonly internalType: "address";
|
|
3716
|
-
readonly name: "_endpoint";
|
|
3717
|
-
readonly type: "address";
|
|
3718
|
-
}, {
|
|
3719
|
-
readonly internalType: "address";
|
|
3720
|
-
readonly name: "_owner";
|
|
3721
|
-
readonly type: "address";
|
|
3722
|
-
}];
|
|
3723
|
-
readonly stateMutability: "nonpayable";
|
|
3724
|
-
readonly type: "constructor";
|
|
3725
|
-
}, {
|
|
3726
|
-
readonly inputs: readonly [];
|
|
3727
|
-
readonly name: "InvalidLocalDecimals";
|
|
3728
|
-
readonly type: "error";
|
|
3729
|
-
}, {
|
|
3730
|
-
readonly inputs: readonly [];
|
|
3731
|
-
readonly name: "Path_AlreadyHasCredit";
|
|
3732
|
-
readonly type: "error";
|
|
3733
|
-
}, {
|
|
3734
|
-
readonly inputs: readonly [];
|
|
3735
|
-
readonly name: "Path_InsufficientCredit";
|
|
3736
|
-
readonly type: "error";
|
|
3737
|
-
}, {
|
|
3738
|
-
readonly inputs: readonly [];
|
|
3739
|
-
readonly name: "Path_UnlimitedCredit";
|
|
3740
|
-
readonly type: "error";
|
|
3741
|
-
}, {
|
|
3742
|
-
readonly inputs: readonly [{
|
|
3743
|
-
readonly internalType: "uint256";
|
|
3744
|
-
readonly name: "amountLD";
|
|
3745
|
-
readonly type: "uint256";
|
|
3746
|
-
}, {
|
|
3747
|
-
readonly internalType: "uint256";
|
|
3748
|
-
readonly name: "minAmountLD";
|
|
3749
|
-
readonly type: "uint256";
|
|
3750
|
-
}];
|
|
3751
|
-
readonly name: "SlippageExceeded";
|
|
3752
|
-
readonly type: "error";
|
|
3753
|
-
}, {
|
|
3754
|
-
readonly inputs: readonly [{
|
|
3755
|
-
readonly internalType: "address";
|
|
3756
|
-
readonly name: "_newOwner";
|
|
3757
|
-
readonly type: "address";
|
|
3758
|
-
}];
|
|
3759
|
-
readonly name: "StargateOFTTIP20_InvalidOwner";
|
|
3760
|
-
readonly type: "error";
|
|
3761
|
-
}, {
|
|
3762
|
-
readonly inputs: readonly [];
|
|
3763
|
-
readonly name: "Stargate_BusNotAllowedInAlt";
|
|
3764
|
-
readonly type: "error";
|
|
3765
|
-
}, {
|
|
3766
|
-
readonly inputs: readonly [];
|
|
3767
|
-
readonly name: "Stargate_InsufficientFare";
|
|
3768
|
-
readonly type: "error";
|
|
3769
|
-
}, {
|
|
3770
|
-
readonly inputs: readonly [];
|
|
3771
|
-
readonly name: "Stargate_InvalidAmount";
|
|
3772
|
-
readonly type: "error";
|
|
3773
|
-
}, {
|
|
3774
|
-
readonly inputs: readonly [];
|
|
3775
|
-
readonly name: "Stargate_InvalidPath";
|
|
3776
|
-
readonly type: "error";
|
|
3777
|
-
}, {
|
|
3778
|
-
readonly inputs: readonly [];
|
|
3779
|
-
readonly name: "Stargate_InvalidTokenDecimals";
|
|
3780
|
-
readonly type: "error";
|
|
3781
|
-
}, {
|
|
3782
|
-
readonly inputs: readonly [];
|
|
3783
|
-
readonly name: "Stargate_LzTokenUnavailable";
|
|
3784
|
-
readonly type: "error";
|
|
3785
|
-
}, {
|
|
3786
|
-
readonly inputs: readonly [];
|
|
3787
|
-
readonly name: "Stargate_NotAnAltEndpoint";
|
|
3788
|
-
readonly type: "error";
|
|
3789
|
-
}, {
|
|
3790
|
-
readonly inputs: readonly [];
|
|
3791
|
-
readonly name: "Stargate_OnlyAltToken";
|
|
3792
|
-
readonly type: "error";
|
|
3793
|
-
}, {
|
|
3794
|
-
readonly inputs: readonly [];
|
|
3795
|
-
readonly name: "Stargate_OutflowFailed";
|
|
3796
|
-
readonly type: "error";
|
|
3797
|
-
}, {
|
|
3798
|
-
readonly inputs: readonly [];
|
|
3799
|
-
readonly name: "Stargate_Paused";
|
|
3800
|
-
readonly type: "error";
|
|
3801
|
-
}, {
|
|
3802
|
-
readonly inputs: readonly [];
|
|
3803
|
-
readonly name: "Stargate_RecoverTokenUnsupported";
|
|
3804
|
-
readonly type: "error";
|
|
3805
|
-
}, {
|
|
3806
|
-
readonly inputs: readonly [];
|
|
3807
|
-
readonly name: "Stargate_ReentrantCall";
|
|
3808
|
-
readonly type: "error";
|
|
3809
|
-
}, {
|
|
3810
|
-
readonly inputs: readonly [];
|
|
3811
|
-
readonly name: "Stargate_SlippageTooHigh";
|
|
3812
|
-
readonly type: "error";
|
|
3813
|
-
}, {
|
|
3814
|
-
readonly inputs: readonly [];
|
|
3815
|
-
readonly name: "Stargate_Unauthorized";
|
|
3816
|
-
readonly type: "error";
|
|
3817
|
-
}, {
|
|
3818
|
-
readonly inputs: readonly [];
|
|
3819
|
-
readonly name: "Stargate_UnreceivedTokenNotFound";
|
|
3820
|
-
readonly type: "error";
|
|
3821
|
-
}, {
|
|
3822
|
-
readonly inputs: readonly [];
|
|
3823
|
-
readonly name: "Transfer_ApproveFailed";
|
|
3824
|
-
readonly type: "error";
|
|
3825
|
-
}, {
|
|
3826
|
-
readonly inputs: readonly [];
|
|
3827
|
-
readonly name: "Transfer_TransferFailed";
|
|
3828
|
-
readonly type: "error";
|
|
3829
|
-
}, {
|
|
3830
|
-
readonly anonymous: false;
|
|
3831
|
-
readonly inputs: readonly [{
|
|
3832
|
-
readonly components: readonly [{
|
|
3833
|
-
readonly internalType: "address";
|
|
3834
|
-
readonly name: "feeLib";
|
|
3835
|
-
readonly type: "address";
|
|
3836
|
-
}, {
|
|
3837
|
-
readonly internalType: "address";
|
|
3838
|
-
readonly name: "planner";
|
|
3839
|
-
readonly type: "address";
|
|
3840
|
-
}, {
|
|
3841
|
-
readonly internalType: "address";
|
|
3842
|
-
readonly name: "treasurer";
|
|
3843
|
-
readonly type: "address";
|
|
3844
|
-
}, {
|
|
3845
|
-
readonly internalType: "address";
|
|
3846
|
-
readonly name: "tokenMessaging";
|
|
3847
|
-
readonly type: "address";
|
|
3848
|
-
}, {
|
|
3849
|
-
readonly internalType: "address";
|
|
3850
|
-
readonly name: "creditMessaging";
|
|
3851
|
-
readonly type: "address";
|
|
3852
|
-
}, {
|
|
3853
|
-
readonly internalType: "address";
|
|
3854
|
-
readonly name: "lzToken";
|
|
3855
|
-
readonly type: "address";
|
|
3856
|
-
}];
|
|
3857
|
-
readonly indexed: false;
|
|
3858
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
3859
|
-
readonly name: "config";
|
|
3860
|
-
readonly type: "tuple";
|
|
3861
|
-
}];
|
|
3862
|
-
readonly name: "AddressConfigSet";
|
|
3863
|
-
readonly type: "event";
|
|
3864
|
-
}, {
|
|
3865
|
-
readonly anonymous: false;
|
|
3866
|
-
readonly inputs: readonly [{
|
|
3867
|
-
readonly indexed: false;
|
|
3868
|
-
readonly internalType: "uint32";
|
|
3869
|
-
readonly name: "srcEid";
|
|
3870
|
-
readonly type: "uint32";
|
|
3871
|
-
}, {
|
|
3872
|
-
readonly components: readonly [{
|
|
3873
|
-
readonly internalType: "uint32";
|
|
3874
|
-
readonly name: "srcEid";
|
|
3875
|
-
readonly type: "uint32";
|
|
3876
|
-
}, {
|
|
3877
|
-
readonly internalType: "uint64";
|
|
3878
|
-
readonly name: "amount";
|
|
3879
|
-
readonly type: "uint64";
|
|
3880
|
-
}];
|
|
3881
|
-
readonly indexed: false;
|
|
3882
|
-
readonly internalType: "struct Credit[]";
|
|
3883
|
-
readonly name: "credits";
|
|
3884
|
-
readonly type: "tuple[]";
|
|
3885
|
-
}];
|
|
3886
|
-
readonly name: "CreditsReceived";
|
|
3887
|
-
readonly type: "event";
|
|
3888
|
-
}, {
|
|
3889
|
-
readonly anonymous: false;
|
|
3890
|
-
readonly inputs: readonly [{
|
|
3891
|
-
readonly indexed: false;
|
|
3892
|
-
readonly internalType: "uint32";
|
|
3893
|
-
readonly name: "dstEid";
|
|
3894
|
-
readonly type: "uint32";
|
|
3895
|
-
}, {
|
|
3896
|
-
readonly components: readonly [{
|
|
3897
|
-
readonly internalType: "uint32";
|
|
3898
|
-
readonly name: "srcEid";
|
|
3899
|
-
readonly type: "uint32";
|
|
3900
|
-
}, {
|
|
3901
|
-
readonly internalType: "uint64";
|
|
3902
|
-
readonly name: "amount";
|
|
3903
|
-
readonly type: "uint64";
|
|
3904
|
-
}];
|
|
3905
|
-
readonly indexed: false;
|
|
3906
|
-
readonly internalType: "struct Credit[]";
|
|
3907
|
-
readonly name: "credits";
|
|
3908
|
-
readonly type: "tuple[]";
|
|
3909
|
-
}];
|
|
3910
|
-
readonly name: "CreditsSent";
|
|
3911
|
-
readonly type: "event";
|
|
3912
|
-
}, {
|
|
3913
|
-
readonly anonymous: false;
|
|
3914
|
-
readonly inputs: readonly [{
|
|
3915
|
-
readonly indexed: false;
|
|
3916
|
-
readonly internalType: "uint32";
|
|
3917
|
-
readonly name: "dstEid";
|
|
3918
|
-
readonly type: "uint32";
|
|
3919
|
-
}, {
|
|
3920
|
-
readonly indexed: false;
|
|
3921
|
-
readonly internalType: "bool";
|
|
3922
|
-
readonly name: "oft";
|
|
3923
|
-
readonly type: "bool";
|
|
3924
|
-
}];
|
|
3925
|
-
readonly name: "OFTPathSet";
|
|
3926
|
-
readonly type: "event";
|
|
3927
|
-
}, {
|
|
3928
|
-
readonly anonymous: false;
|
|
3929
|
-
readonly inputs: readonly [{
|
|
3930
|
-
readonly indexed: true;
|
|
3931
|
-
readonly internalType: "bytes32";
|
|
3932
|
-
readonly name: "guid";
|
|
3933
|
-
readonly type: "bytes32";
|
|
3934
|
-
}, {
|
|
3935
|
-
readonly indexed: false;
|
|
3936
|
-
readonly internalType: "uint32";
|
|
3937
|
-
readonly name: "srcEid";
|
|
3938
|
-
readonly type: "uint32";
|
|
3939
|
-
}, {
|
|
3940
|
-
readonly indexed: true;
|
|
3941
|
-
readonly internalType: "address";
|
|
3942
|
-
readonly name: "toAddress";
|
|
3943
|
-
readonly type: "address";
|
|
3944
|
-
}, {
|
|
3945
|
-
readonly indexed: false;
|
|
3946
|
-
readonly internalType: "uint256";
|
|
3947
|
-
readonly name: "amountReceivedLD";
|
|
3948
|
-
readonly type: "uint256";
|
|
3949
|
-
}];
|
|
3950
|
-
readonly name: "OFTReceived";
|
|
3951
|
-
readonly type: "event";
|
|
3952
|
-
}, {
|
|
3953
|
-
readonly anonymous: false;
|
|
3954
|
-
readonly inputs: readonly [{
|
|
3955
|
-
readonly indexed: true;
|
|
3956
|
-
readonly internalType: "bytes32";
|
|
3957
|
-
readonly name: "guid";
|
|
3958
|
-
readonly type: "bytes32";
|
|
3959
|
-
}, {
|
|
3960
|
-
readonly indexed: false;
|
|
3961
|
-
readonly internalType: "uint32";
|
|
3962
|
-
readonly name: "dstEid";
|
|
3963
|
-
readonly type: "uint32";
|
|
3964
|
-
}, {
|
|
3965
|
-
readonly indexed: true;
|
|
3966
|
-
readonly internalType: "address";
|
|
3967
|
-
readonly name: "fromAddress";
|
|
3968
|
-
readonly type: "address";
|
|
3969
|
-
}, {
|
|
3970
|
-
readonly indexed: false;
|
|
3971
|
-
readonly internalType: "uint256";
|
|
3972
|
-
readonly name: "amountSentLD";
|
|
3973
|
-
readonly type: "uint256";
|
|
3974
|
-
}, {
|
|
3975
|
-
readonly indexed: false;
|
|
3976
|
-
readonly internalType: "uint256";
|
|
3977
|
-
readonly name: "amountReceivedLD";
|
|
3978
|
-
readonly type: "uint256";
|
|
3979
|
-
}];
|
|
3980
|
-
readonly name: "OFTSent";
|
|
3981
|
-
readonly type: "event";
|
|
3982
|
-
}, {
|
|
3983
|
-
readonly anonymous: false;
|
|
3984
|
-
readonly inputs: readonly [{
|
|
3985
|
-
readonly indexed: true;
|
|
3986
|
-
readonly internalType: "address";
|
|
3987
|
-
readonly name: "previousOwner";
|
|
3988
|
-
readonly type: "address";
|
|
3989
|
-
}, {
|
|
3990
|
-
readonly indexed: true;
|
|
3991
|
-
readonly internalType: "address";
|
|
3992
|
-
readonly name: "newOwner";
|
|
3993
|
-
readonly type: "address";
|
|
3994
|
-
}];
|
|
3995
|
-
readonly name: "OwnershipTransferred";
|
|
3996
|
-
readonly type: "event";
|
|
3997
|
-
}, {
|
|
3998
|
-
readonly anonymous: false;
|
|
3999
|
-
readonly inputs: readonly [{
|
|
4000
|
-
readonly indexed: false;
|
|
4001
|
-
readonly internalType: "bool";
|
|
4002
|
-
readonly name: "paused";
|
|
4003
|
-
readonly type: "bool";
|
|
4004
|
-
}];
|
|
4005
|
-
readonly name: "PauseSet";
|
|
4006
|
-
readonly type: "event";
|
|
4007
|
-
}, {
|
|
4008
|
-
readonly anonymous: false;
|
|
4009
|
-
readonly inputs: readonly [{
|
|
4010
|
-
readonly indexed: false;
|
|
4011
|
-
readonly internalType: "uint256";
|
|
4012
|
-
readonly name: "amount";
|
|
4013
|
-
readonly type: "uint256";
|
|
4014
|
-
}];
|
|
4015
|
-
readonly name: "PlannerFeeWithdrawn";
|
|
4016
|
-
readonly type: "event";
|
|
4017
|
-
}, {
|
|
4018
|
-
readonly anonymous: false;
|
|
4019
|
-
readonly inputs: readonly [{
|
|
4020
|
-
readonly indexed: false;
|
|
4021
|
-
readonly internalType: "uint64";
|
|
4022
|
-
readonly name: "amountSD";
|
|
4023
|
-
readonly type: "uint64";
|
|
4024
|
-
}];
|
|
4025
|
-
readonly name: "TreasuryFeeAdded";
|
|
4026
|
-
readonly type: "event";
|
|
4027
|
-
}, {
|
|
4028
|
-
readonly anonymous: false;
|
|
4029
|
-
readonly inputs: readonly [{
|
|
4030
|
-
readonly indexed: false;
|
|
4031
|
-
readonly internalType: "address";
|
|
4032
|
-
readonly name: "to";
|
|
4033
|
-
readonly type: "address";
|
|
4034
|
-
}, {
|
|
4035
|
-
readonly indexed: false;
|
|
4036
|
-
readonly internalType: "uint64";
|
|
4037
|
-
readonly name: "amountSD";
|
|
4038
|
-
readonly type: "uint64";
|
|
4039
|
-
}];
|
|
4040
|
-
readonly name: "TreasuryFeeWithdrawn";
|
|
4041
|
-
readonly type: "event";
|
|
4042
|
-
}, {
|
|
4043
|
-
readonly anonymous: false;
|
|
4044
|
-
readonly inputs: readonly [{
|
|
4045
|
-
readonly indexed: false;
|
|
4046
|
-
readonly internalType: "bytes32";
|
|
4047
|
-
readonly name: "guid";
|
|
4048
|
-
readonly type: "bytes32";
|
|
4049
|
-
}, {
|
|
4050
|
-
readonly indexed: false;
|
|
4051
|
-
readonly internalType: "uint8";
|
|
4052
|
-
readonly name: "index";
|
|
4053
|
-
readonly type: "uint8";
|
|
4054
|
-
}, {
|
|
4055
|
-
readonly indexed: false;
|
|
4056
|
-
readonly internalType: "uint32";
|
|
4057
|
-
readonly name: "srcEid";
|
|
4058
|
-
readonly type: "uint32";
|
|
4059
|
-
}, {
|
|
4060
|
-
readonly indexed: false;
|
|
4061
|
-
readonly internalType: "address";
|
|
4062
|
-
readonly name: "receiver";
|
|
4063
|
-
readonly type: "address";
|
|
4064
|
-
}, {
|
|
4065
|
-
readonly indexed: false;
|
|
4066
|
-
readonly internalType: "uint256";
|
|
4067
|
-
readonly name: "amountLD";
|
|
4068
|
-
readonly type: "uint256";
|
|
4069
|
-
}, {
|
|
4070
|
-
readonly indexed: false;
|
|
4071
|
-
readonly internalType: "bytes";
|
|
4072
|
-
readonly name: "composeMsg";
|
|
4073
|
-
readonly type: "bytes";
|
|
4074
|
-
}];
|
|
4075
|
-
readonly name: "UnreceivedTokenCached";
|
|
4076
|
-
readonly type: "event";
|
|
4077
|
-
}, {
|
|
4078
|
-
readonly inputs: readonly [{
|
|
4079
|
-
readonly internalType: "uint256";
|
|
4080
|
-
readonly name: "_amountLD";
|
|
4081
|
-
readonly type: "uint256";
|
|
4082
|
-
}];
|
|
4083
|
-
readonly name: "addTreasuryFee";
|
|
4084
|
-
readonly outputs: readonly [];
|
|
4085
|
-
readonly stateMutability: "payable";
|
|
4086
|
-
readonly type: "function";
|
|
4087
|
-
}, {
|
|
4088
|
-
readonly inputs: readonly [];
|
|
4089
|
-
readonly name: "approvalRequired";
|
|
4090
|
-
readonly outputs: readonly [{
|
|
4091
|
-
readonly internalType: "bool";
|
|
4092
|
-
readonly name: "";
|
|
4093
|
-
readonly type: "bool";
|
|
4094
|
-
}];
|
|
4095
|
-
readonly stateMutability: "pure";
|
|
4096
|
-
readonly type: "function";
|
|
4097
|
-
}, {
|
|
4098
|
-
readonly inputs: readonly [];
|
|
4099
|
-
readonly name: "endpoint";
|
|
4100
|
-
readonly outputs: readonly [{
|
|
4101
|
-
readonly internalType: "contract ILayerZeroEndpointV2";
|
|
4102
|
-
readonly name: "";
|
|
4103
|
-
readonly type: "address";
|
|
4104
|
-
}];
|
|
4105
|
-
readonly stateMutability: "view";
|
|
4106
|
-
readonly type: "function";
|
|
4107
|
-
}, {
|
|
4108
|
-
readonly inputs: readonly [];
|
|
4109
|
-
readonly name: "feeToken";
|
|
4110
|
-
readonly outputs: readonly [{
|
|
4111
|
-
readonly internalType: "address";
|
|
4112
|
-
readonly name: "";
|
|
4113
|
-
readonly type: "address";
|
|
4114
|
-
}];
|
|
4115
|
-
readonly stateMutability: "view";
|
|
4116
|
-
readonly type: "function";
|
|
4117
|
-
}, {
|
|
4118
|
-
readonly inputs: readonly [];
|
|
4119
|
-
readonly name: "getAddressConfig";
|
|
4120
|
-
readonly outputs: readonly [{
|
|
4121
|
-
readonly components: readonly [{
|
|
4122
|
-
readonly internalType: "address";
|
|
4123
|
-
readonly name: "feeLib";
|
|
4124
|
-
readonly type: "address";
|
|
4125
|
-
}, {
|
|
4126
|
-
readonly internalType: "address";
|
|
4127
|
-
readonly name: "planner";
|
|
4128
|
-
readonly type: "address";
|
|
4129
|
-
}, {
|
|
4130
|
-
readonly internalType: "address";
|
|
4131
|
-
readonly name: "treasurer";
|
|
4132
|
-
readonly type: "address";
|
|
4133
|
-
}, {
|
|
4134
|
-
readonly internalType: "address";
|
|
4135
|
-
readonly name: "tokenMessaging";
|
|
4136
|
-
readonly type: "address";
|
|
4137
|
-
}, {
|
|
4138
|
-
readonly internalType: "address";
|
|
4139
|
-
readonly name: "creditMessaging";
|
|
4140
|
-
readonly type: "address";
|
|
4141
|
-
}, {
|
|
4142
|
-
readonly internalType: "address";
|
|
4143
|
-
readonly name: "lzToken";
|
|
4144
|
-
readonly type: "address";
|
|
4145
|
-
}];
|
|
4146
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
4147
|
-
readonly name: "";
|
|
4148
|
-
readonly type: "tuple";
|
|
4149
|
-
}];
|
|
4150
|
-
readonly stateMutability: "view";
|
|
4151
|
-
readonly type: "function";
|
|
4152
|
-
}, {
|
|
4153
|
-
readonly inputs: readonly [];
|
|
4154
|
-
readonly name: "getTransferGasLimit";
|
|
4155
|
-
readonly outputs: readonly [{
|
|
4156
|
-
readonly internalType: "uint256";
|
|
4157
|
-
readonly name: "";
|
|
4158
|
-
readonly type: "uint256";
|
|
4159
|
-
}];
|
|
4160
|
-
readonly stateMutability: "view";
|
|
4161
|
-
readonly type: "function";
|
|
4162
|
-
}, {
|
|
4163
|
-
readonly inputs: readonly [];
|
|
4164
|
-
readonly name: "localEid";
|
|
4165
|
-
readonly outputs: readonly [{
|
|
4166
|
-
readonly internalType: "uint32";
|
|
4167
|
-
readonly name: "";
|
|
4168
|
-
readonly type: "uint32";
|
|
4169
|
-
}];
|
|
4170
|
-
readonly stateMutability: "view";
|
|
4171
|
-
readonly type: "function";
|
|
4172
|
-
}, {
|
|
4173
|
-
readonly inputs: readonly [];
|
|
4174
|
-
readonly name: "oftVersion";
|
|
4175
|
-
readonly outputs: readonly [{
|
|
4176
|
-
readonly internalType: "bytes4";
|
|
4177
|
-
readonly name: "interfaceId";
|
|
4178
|
-
readonly type: "bytes4";
|
|
4179
|
-
}, {
|
|
4180
|
-
readonly internalType: "uint64";
|
|
4181
|
-
readonly name: "version";
|
|
4182
|
-
readonly type: "uint64";
|
|
4183
|
-
}];
|
|
4184
|
-
readonly stateMutability: "pure";
|
|
4185
|
-
readonly type: "function";
|
|
4186
|
-
}, {
|
|
4187
|
-
readonly inputs: readonly [];
|
|
4188
|
-
readonly name: "owner";
|
|
4189
|
-
readonly outputs: readonly [{
|
|
4190
|
-
readonly internalType: "address";
|
|
4191
|
-
readonly name: "";
|
|
4192
|
-
readonly type: "address";
|
|
4193
|
-
}];
|
|
4194
|
-
readonly stateMutability: "view";
|
|
4195
|
-
readonly type: "function";
|
|
4196
|
-
}, {
|
|
4197
|
-
readonly inputs: readonly [{
|
|
4198
|
-
readonly internalType: "uint32";
|
|
4199
|
-
readonly name: "eid";
|
|
4200
|
-
readonly type: "uint32";
|
|
4201
|
-
}];
|
|
4202
|
-
readonly name: "paths";
|
|
4203
|
-
readonly outputs: readonly [{
|
|
4204
|
-
readonly internalType: "uint64";
|
|
4205
|
-
readonly name: "credit";
|
|
4206
|
-
readonly type: "uint64";
|
|
4207
|
-
}];
|
|
4208
|
-
readonly stateMutability: "view";
|
|
4209
|
-
readonly type: "function";
|
|
4210
|
-
}, {
|
|
4211
|
-
readonly inputs: readonly [];
|
|
4212
|
-
readonly name: "plannerFee";
|
|
4213
|
-
readonly outputs: readonly [{
|
|
4214
|
-
readonly internalType: "uint256";
|
|
4215
|
-
readonly name: "available";
|
|
4216
|
-
readonly type: "uint256";
|
|
4217
|
-
}];
|
|
4218
|
-
readonly stateMutability: "view";
|
|
4219
|
-
readonly type: "function";
|
|
4220
|
-
}, {
|
|
4221
|
-
readonly inputs: readonly [{
|
|
4222
|
-
readonly components: readonly [{
|
|
4223
|
-
readonly internalType: "uint32";
|
|
4224
|
-
readonly name: "dstEid";
|
|
4225
|
-
readonly type: "uint32";
|
|
4226
|
-
}, {
|
|
4227
|
-
readonly internalType: "bytes32";
|
|
4228
|
-
readonly name: "to";
|
|
4229
|
-
readonly type: "bytes32";
|
|
4230
|
-
}, {
|
|
4231
|
-
readonly internalType: "uint256";
|
|
4232
|
-
readonly name: "amountLD";
|
|
4233
|
-
readonly type: "uint256";
|
|
4234
|
-
}, {
|
|
4235
|
-
readonly internalType: "uint256";
|
|
4236
|
-
readonly name: "minAmountLD";
|
|
4237
|
-
readonly type: "uint256";
|
|
4238
|
-
}, {
|
|
4239
|
-
readonly internalType: "bytes";
|
|
4240
|
-
readonly name: "extraOptions";
|
|
4241
|
-
readonly type: "bytes";
|
|
4242
|
-
}, {
|
|
4243
|
-
readonly internalType: "bytes";
|
|
4244
|
-
readonly name: "composeMsg";
|
|
4245
|
-
readonly type: "bytes";
|
|
4246
|
-
}, {
|
|
4247
|
-
readonly internalType: "bytes";
|
|
4248
|
-
readonly name: "oftCmd";
|
|
4249
|
-
readonly type: "bytes";
|
|
4250
|
-
}];
|
|
4251
|
-
readonly internalType: "struct SendParam";
|
|
4252
|
-
readonly name: "_sendParam";
|
|
4253
|
-
readonly type: "tuple";
|
|
4254
|
-
}];
|
|
4255
|
-
readonly name: "quoteOFT";
|
|
4256
|
-
readonly outputs: readonly [{
|
|
4257
|
-
readonly components: readonly [{
|
|
4258
|
-
readonly internalType: "uint256";
|
|
4259
|
-
readonly name: "minAmountLD";
|
|
4260
|
-
readonly type: "uint256";
|
|
4261
|
-
}, {
|
|
4262
|
-
readonly internalType: "uint256";
|
|
4263
|
-
readonly name: "maxAmountLD";
|
|
4264
|
-
readonly type: "uint256";
|
|
4265
|
-
}];
|
|
4266
|
-
readonly internalType: "struct OFTLimit";
|
|
4267
|
-
readonly name: "limit";
|
|
4268
|
-
readonly type: "tuple";
|
|
4269
|
-
}, {
|
|
4270
|
-
readonly components: readonly [{
|
|
4271
|
-
readonly internalType: "int256";
|
|
4272
|
-
readonly name: "feeAmountLD";
|
|
4273
|
-
readonly type: "int256";
|
|
4274
|
-
}, {
|
|
4275
|
-
readonly internalType: "string";
|
|
4276
|
-
readonly name: "description";
|
|
4277
|
-
readonly type: "string";
|
|
4278
|
-
}];
|
|
4279
|
-
readonly internalType: "struct OFTFeeDetail[]";
|
|
4280
|
-
readonly name: "oftFeeDetails";
|
|
4281
|
-
readonly type: "tuple[]";
|
|
4282
|
-
}, {
|
|
4283
|
-
readonly components: readonly [{
|
|
4284
|
-
readonly internalType: "uint256";
|
|
4285
|
-
readonly name: "amountSentLD";
|
|
4286
|
-
readonly type: "uint256";
|
|
4287
|
-
}, {
|
|
4288
|
-
readonly internalType: "uint256";
|
|
4289
|
-
readonly name: "amountReceivedLD";
|
|
4290
|
-
readonly type: "uint256";
|
|
4291
|
-
}];
|
|
4292
|
-
readonly internalType: "struct OFTReceipt";
|
|
4293
|
-
readonly name: "receipt";
|
|
4294
|
-
readonly type: "tuple";
|
|
4295
|
-
}];
|
|
4296
|
-
readonly stateMutability: "view";
|
|
4297
|
-
readonly type: "function";
|
|
4298
|
-
}, {
|
|
4299
|
-
readonly inputs: readonly [{
|
|
4300
|
-
readonly components: readonly [{
|
|
4301
|
-
readonly internalType: "uint32";
|
|
4302
|
-
readonly name: "dstEid";
|
|
4303
|
-
readonly type: "uint32";
|
|
4304
|
-
}, {
|
|
4305
|
-
readonly internalType: "bytes32";
|
|
4306
|
-
readonly name: "to";
|
|
4307
|
-
readonly type: "bytes32";
|
|
4308
|
-
}, {
|
|
4309
|
-
readonly internalType: "uint256";
|
|
4310
|
-
readonly name: "amountLD";
|
|
4311
|
-
readonly type: "uint256";
|
|
4312
|
-
}, {
|
|
4313
|
-
readonly internalType: "uint256";
|
|
4314
|
-
readonly name: "minAmountLD";
|
|
4315
|
-
readonly type: "uint256";
|
|
4316
|
-
}, {
|
|
4317
|
-
readonly internalType: "bytes";
|
|
4318
|
-
readonly name: "extraOptions";
|
|
4319
|
-
readonly type: "bytes";
|
|
4320
|
-
}, {
|
|
4321
|
-
readonly internalType: "bytes";
|
|
4322
|
-
readonly name: "composeMsg";
|
|
4323
|
-
readonly type: "bytes";
|
|
4324
|
-
}, {
|
|
4325
|
-
readonly internalType: "bytes";
|
|
4326
|
-
readonly name: "oftCmd";
|
|
4327
|
-
readonly type: "bytes";
|
|
4328
|
-
}];
|
|
4329
|
-
readonly internalType: "struct SendParam";
|
|
4330
|
-
readonly name: "_sendParam";
|
|
4331
|
-
readonly type: "tuple";
|
|
4332
|
-
}, {
|
|
4333
|
-
readonly internalType: "bool";
|
|
4334
|
-
readonly name: "_payInLzToken";
|
|
4335
|
-
readonly type: "bool";
|
|
4336
|
-
}];
|
|
4337
|
-
readonly name: "quoteSend";
|
|
4338
|
-
readonly outputs: readonly [{
|
|
4339
|
-
readonly components: readonly [{
|
|
4340
|
-
readonly internalType: "uint256";
|
|
4341
|
-
readonly name: "nativeFee";
|
|
4342
|
-
readonly type: "uint256";
|
|
4343
|
-
}, {
|
|
4344
|
-
readonly internalType: "uint256";
|
|
4345
|
-
readonly name: "lzTokenFee";
|
|
4346
|
-
readonly type: "uint256";
|
|
4347
|
-
}];
|
|
4348
|
-
readonly internalType: "struct MessagingFee";
|
|
4349
|
-
readonly name: "fee";
|
|
4350
|
-
readonly type: "tuple";
|
|
4351
|
-
}];
|
|
4352
|
-
readonly stateMutability: "view";
|
|
4353
|
-
readonly type: "function";
|
|
4354
|
-
}, {
|
|
4355
|
-
readonly inputs: readonly [{
|
|
4356
|
-
readonly internalType: "uint32";
|
|
4357
|
-
readonly name: "_srcEid";
|
|
4358
|
-
readonly type: "uint32";
|
|
4359
|
-
}, {
|
|
4360
|
-
readonly components: readonly [{
|
|
4361
|
-
readonly internalType: "uint32";
|
|
4362
|
-
readonly name: "srcEid";
|
|
4363
|
-
readonly type: "uint32";
|
|
4364
|
-
}, {
|
|
4365
|
-
readonly internalType: "uint64";
|
|
4366
|
-
readonly name: "amount";
|
|
4367
|
-
readonly type: "uint64";
|
|
4368
|
-
}];
|
|
4369
|
-
readonly internalType: "struct Credit[]";
|
|
4370
|
-
readonly name: "_credits";
|
|
4371
|
-
readonly type: "tuple[]";
|
|
4372
|
-
}];
|
|
4373
|
-
readonly name: "receiveCredits";
|
|
4374
|
-
readonly outputs: readonly [];
|
|
4375
|
-
readonly stateMutability: "nonpayable";
|
|
4376
|
-
readonly type: "function";
|
|
4377
|
-
}, {
|
|
4378
|
-
readonly inputs: readonly [{
|
|
4379
|
-
readonly components: readonly [{
|
|
4380
|
-
readonly internalType: "uint32";
|
|
4381
|
-
readonly name: "srcEid";
|
|
4382
|
-
readonly type: "uint32";
|
|
4383
|
-
}, {
|
|
4384
|
-
readonly internalType: "bytes32";
|
|
4385
|
-
readonly name: "sender";
|
|
4386
|
-
readonly type: "bytes32";
|
|
4387
|
-
}, {
|
|
4388
|
-
readonly internalType: "uint64";
|
|
4389
|
-
readonly name: "nonce";
|
|
4390
|
-
readonly type: "uint64";
|
|
4391
|
-
}];
|
|
4392
|
-
readonly internalType: "struct Origin";
|
|
4393
|
-
readonly name: "_origin";
|
|
4394
|
-
readonly type: "tuple";
|
|
4395
|
-
}, {
|
|
4396
|
-
readonly internalType: "bytes32";
|
|
4397
|
-
readonly name: "_guid";
|
|
4398
|
-
readonly type: "bytes32";
|
|
4399
|
-
}, {
|
|
4400
|
-
readonly internalType: "uint8";
|
|
4401
|
-
readonly name: "_seatNumber";
|
|
4402
|
-
readonly type: "uint8";
|
|
4403
|
-
}, {
|
|
4404
|
-
readonly internalType: "address";
|
|
4405
|
-
readonly name: "_receiver";
|
|
4406
|
-
readonly type: "address";
|
|
4407
|
-
}, {
|
|
4408
|
-
readonly internalType: "uint64";
|
|
4409
|
-
readonly name: "_amountSD";
|
|
4410
|
-
readonly type: "uint64";
|
|
4411
|
-
}];
|
|
4412
|
-
readonly name: "receiveTokenBus";
|
|
4413
|
-
readonly outputs: readonly [];
|
|
4414
|
-
readonly stateMutability: "nonpayable";
|
|
4415
|
-
readonly type: "function";
|
|
4416
|
-
}, {
|
|
4417
|
-
readonly inputs: readonly [{
|
|
4418
|
-
readonly components: readonly [{
|
|
4419
|
-
readonly internalType: "uint32";
|
|
4420
|
-
readonly name: "srcEid";
|
|
4421
|
-
readonly type: "uint32";
|
|
4422
|
-
}, {
|
|
4423
|
-
readonly internalType: "bytes32";
|
|
4424
|
-
readonly name: "sender";
|
|
4425
|
-
readonly type: "bytes32";
|
|
4426
|
-
}, {
|
|
4427
|
-
readonly internalType: "uint64";
|
|
4428
|
-
readonly name: "nonce";
|
|
4429
|
-
readonly type: "uint64";
|
|
4430
|
-
}];
|
|
4431
|
-
readonly internalType: "struct Origin";
|
|
4432
|
-
readonly name: "_origin";
|
|
4433
|
-
readonly type: "tuple";
|
|
4434
|
-
}, {
|
|
4435
|
-
readonly internalType: "bytes32";
|
|
4436
|
-
readonly name: "_guid";
|
|
4437
|
-
readonly type: "bytes32";
|
|
4438
|
-
}, {
|
|
4439
|
-
readonly internalType: "address";
|
|
4440
|
-
readonly name: "_receiver";
|
|
4441
|
-
readonly type: "address";
|
|
4442
|
-
}, {
|
|
4443
|
-
readonly internalType: "uint64";
|
|
4444
|
-
readonly name: "_amountSD";
|
|
4445
|
-
readonly type: "uint64";
|
|
4446
|
-
}, {
|
|
4447
|
-
readonly internalType: "bytes";
|
|
4448
|
-
readonly name: "_composeMsg";
|
|
4449
|
-
readonly type: "bytes";
|
|
4450
|
-
}];
|
|
4451
|
-
readonly name: "receiveTokenTaxi";
|
|
4452
|
-
readonly outputs: readonly [];
|
|
4453
|
-
readonly stateMutability: "nonpayable";
|
|
4454
|
-
readonly type: "function";
|
|
4455
|
-
}, {
|
|
4456
|
-
readonly inputs: readonly [{
|
|
4457
|
-
readonly internalType: "address";
|
|
4458
|
-
readonly name: "_token";
|
|
4459
|
-
readonly type: "address";
|
|
4460
|
-
}, {
|
|
4461
|
-
readonly internalType: "address";
|
|
4462
|
-
readonly name: "_to";
|
|
4463
|
-
readonly type: "address";
|
|
4464
|
-
}, {
|
|
4465
|
-
readonly internalType: "uint256";
|
|
4466
|
-
readonly name: "_amount";
|
|
4467
|
-
readonly type: "uint256";
|
|
4468
|
-
}];
|
|
4469
|
-
readonly name: "recoverToken";
|
|
4470
|
-
readonly outputs: readonly [{
|
|
4471
|
-
readonly internalType: "uint256";
|
|
4472
|
-
readonly name: "";
|
|
4473
|
-
readonly type: "uint256";
|
|
4474
|
-
}];
|
|
4475
|
-
readonly stateMutability: "nonpayable";
|
|
4476
|
-
readonly type: "function";
|
|
4477
|
-
}, {
|
|
4478
|
-
readonly inputs: readonly [];
|
|
4479
|
-
readonly name: "renounceOwnership";
|
|
4480
|
-
readonly outputs: readonly [];
|
|
4481
|
-
readonly stateMutability: "nonpayable";
|
|
4482
|
-
readonly type: "function";
|
|
4483
|
-
}, {
|
|
4484
|
-
readonly inputs: readonly [{
|
|
4485
|
-
readonly internalType: "bytes32";
|
|
4486
|
-
readonly name: "_guid";
|
|
4487
|
-
readonly type: "bytes32";
|
|
4488
|
-
}, {
|
|
4489
|
-
readonly internalType: "uint8";
|
|
4490
|
-
readonly name: "_index";
|
|
4491
|
-
readonly type: "uint8";
|
|
4492
|
-
}, {
|
|
4493
|
-
readonly internalType: "uint32";
|
|
4494
|
-
readonly name: "_srcEid";
|
|
4495
|
-
readonly type: "uint32";
|
|
4496
|
-
}, {
|
|
4497
|
-
readonly internalType: "address";
|
|
4498
|
-
readonly name: "_receiver";
|
|
4499
|
-
readonly type: "address";
|
|
4500
|
-
}, {
|
|
4501
|
-
readonly internalType: "uint256";
|
|
4502
|
-
readonly name: "_amountLD";
|
|
4503
|
-
readonly type: "uint256";
|
|
4504
|
-
}, {
|
|
4505
|
-
readonly internalType: "bytes";
|
|
4506
|
-
readonly name: "_composeMsg";
|
|
4507
|
-
readonly type: "bytes";
|
|
4508
|
-
}];
|
|
4509
|
-
readonly name: "retryReceiveToken";
|
|
4510
|
-
readonly outputs: readonly [];
|
|
4511
|
-
readonly stateMutability: "nonpayable";
|
|
4512
|
-
readonly type: "function";
|
|
4513
|
-
}, {
|
|
4514
|
-
readonly inputs: readonly [{
|
|
4515
|
-
readonly components: readonly [{
|
|
4516
|
-
readonly internalType: "uint32";
|
|
4517
|
-
readonly name: "dstEid";
|
|
4518
|
-
readonly type: "uint32";
|
|
4519
|
-
}, {
|
|
4520
|
-
readonly internalType: "bytes32";
|
|
4521
|
-
readonly name: "to";
|
|
4522
|
-
readonly type: "bytes32";
|
|
4523
|
-
}, {
|
|
4524
|
-
readonly internalType: "uint256";
|
|
4525
|
-
readonly name: "amountLD";
|
|
4526
|
-
readonly type: "uint256";
|
|
4527
|
-
}, {
|
|
4528
|
-
readonly internalType: "uint256";
|
|
4529
|
-
readonly name: "minAmountLD";
|
|
4530
|
-
readonly type: "uint256";
|
|
4531
|
-
}, {
|
|
4532
|
-
readonly internalType: "bytes";
|
|
4533
|
-
readonly name: "extraOptions";
|
|
4534
|
-
readonly type: "bytes";
|
|
4535
|
-
}, {
|
|
4536
|
-
readonly internalType: "bytes";
|
|
4537
|
-
readonly name: "composeMsg";
|
|
4538
|
-
readonly type: "bytes";
|
|
4539
|
-
}, {
|
|
4540
|
-
readonly internalType: "bytes";
|
|
4541
|
-
readonly name: "oftCmd";
|
|
4542
|
-
readonly type: "bytes";
|
|
4543
|
-
}];
|
|
4544
|
-
readonly internalType: "struct SendParam";
|
|
4545
|
-
readonly name: "_sendParam";
|
|
4546
|
-
readonly type: "tuple";
|
|
4547
|
-
}, {
|
|
4548
|
-
readonly components: readonly [{
|
|
4549
|
-
readonly internalType: "uint256";
|
|
4550
|
-
readonly name: "nativeFee";
|
|
4551
|
-
readonly type: "uint256";
|
|
4552
|
-
}, {
|
|
4553
|
-
readonly internalType: "uint256";
|
|
4554
|
-
readonly name: "lzTokenFee";
|
|
4555
|
-
readonly type: "uint256";
|
|
4556
|
-
}];
|
|
4557
|
-
readonly internalType: "struct MessagingFee";
|
|
4558
|
-
readonly name: "_fee";
|
|
4559
|
-
readonly type: "tuple";
|
|
4560
|
-
}, {
|
|
4561
|
-
readonly internalType: "address";
|
|
4562
|
-
readonly name: "_refundAddress";
|
|
4563
|
-
readonly type: "address";
|
|
4564
|
-
}];
|
|
4565
|
-
readonly name: "send";
|
|
4566
|
-
readonly outputs: readonly [{
|
|
4567
|
-
readonly components: readonly [{
|
|
4568
|
-
readonly internalType: "bytes32";
|
|
4569
|
-
readonly name: "guid";
|
|
4570
|
-
readonly type: "bytes32";
|
|
4571
|
-
}, {
|
|
4572
|
-
readonly internalType: "uint64";
|
|
4573
|
-
readonly name: "nonce";
|
|
4574
|
-
readonly type: "uint64";
|
|
4575
|
-
}, {
|
|
4576
|
-
readonly components: readonly [{
|
|
4577
|
-
readonly internalType: "uint256";
|
|
4578
|
-
readonly name: "nativeFee";
|
|
4579
|
-
readonly type: "uint256";
|
|
4580
|
-
}, {
|
|
4581
|
-
readonly internalType: "uint256";
|
|
4582
|
-
readonly name: "lzTokenFee";
|
|
4583
|
-
readonly type: "uint256";
|
|
4584
|
-
}];
|
|
4585
|
-
readonly internalType: "struct MessagingFee";
|
|
4586
|
-
readonly name: "fee";
|
|
4587
|
-
readonly type: "tuple";
|
|
4588
|
-
}];
|
|
4589
|
-
readonly internalType: "struct MessagingReceipt";
|
|
4590
|
-
readonly name: "msgReceipt";
|
|
4591
|
-
readonly type: "tuple";
|
|
4592
|
-
}, {
|
|
4593
|
-
readonly components: readonly [{
|
|
4594
|
-
readonly internalType: "uint256";
|
|
4595
|
-
readonly name: "amountSentLD";
|
|
4596
|
-
readonly type: "uint256";
|
|
4597
|
-
}, {
|
|
4598
|
-
readonly internalType: "uint256";
|
|
4599
|
-
readonly name: "amountReceivedLD";
|
|
4600
|
-
readonly type: "uint256";
|
|
4601
|
-
}];
|
|
4602
|
-
readonly internalType: "struct OFTReceipt";
|
|
4603
|
-
readonly name: "oftReceipt";
|
|
4604
|
-
readonly type: "tuple";
|
|
4605
|
-
}];
|
|
4606
|
-
readonly stateMutability: "payable";
|
|
4607
|
-
readonly type: "function";
|
|
4608
|
-
}, {
|
|
4609
|
-
readonly inputs: readonly [{
|
|
4610
|
-
readonly internalType: "uint32";
|
|
4611
|
-
readonly name: "_dstEid";
|
|
4612
|
-
readonly type: "uint32";
|
|
4613
|
-
}, {
|
|
4614
|
-
readonly components: readonly [{
|
|
4615
|
-
readonly internalType: "uint32";
|
|
4616
|
-
readonly name: "srcEid";
|
|
4617
|
-
readonly type: "uint32";
|
|
4618
|
-
}, {
|
|
4619
|
-
readonly internalType: "uint64";
|
|
4620
|
-
readonly name: "amount";
|
|
4621
|
-
readonly type: "uint64";
|
|
4622
|
-
}, {
|
|
4623
|
-
readonly internalType: "uint64";
|
|
4624
|
-
readonly name: "minAmount";
|
|
4625
|
-
readonly type: "uint64";
|
|
4626
|
-
}];
|
|
4627
|
-
readonly internalType: "struct TargetCredit[]";
|
|
4628
|
-
readonly name: "_credits";
|
|
4629
|
-
readonly type: "tuple[]";
|
|
4630
|
-
}];
|
|
4631
|
-
readonly name: "sendCredits";
|
|
4632
|
-
readonly outputs: readonly [{
|
|
4633
|
-
readonly components: readonly [{
|
|
4634
|
-
readonly internalType: "uint32";
|
|
4635
|
-
readonly name: "srcEid";
|
|
4636
|
-
readonly type: "uint32";
|
|
4637
|
-
}, {
|
|
4638
|
-
readonly internalType: "uint64";
|
|
4639
|
-
readonly name: "amount";
|
|
4640
|
-
readonly type: "uint64";
|
|
4641
|
-
}];
|
|
4642
|
-
readonly internalType: "struct Credit[]";
|
|
4643
|
-
readonly name: "";
|
|
4644
|
-
readonly type: "tuple[]";
|
|
4645
|
-
}];
|
|
4646
|
-
readonly stateMutability: "nonpayable";
|
|
4647
|
-
readonly type: "function";
|
|
4648
|
-
}, {
|
|
4649
|
-
readonly inputs: readonly [{
|
|
4650
|
-
readonly components: readonly [{
|
|
4651
|
-
readonly internalType: "uint32";
|
|
4652
|
-
readonly name: "dstEid";
|
|
4653
|
-
readonly type: "uint32";
|
|
4654
|
-
}, {
|
|
4655
|
-
readonly internalType: "bytes32";
|
|
4656
|
-
readonly name: "to";
|
|
4657
|
-
readonly type: "bytes32";
|
|
4658
|
-
}, {
|
|
4659
|
-
readonly internalType: "uint256";
|
|
4660
|
-
readonly name: "amountLD";
|
|
4661
|
-
readonly type: "uint256";
|
|
4662
|
-
}, {
|
|
4663
|
-
readonly internalType: "uint256";
|
|
4664
|
-
readonly name: "minAmountLD";
|
|
4665
|
-
readonly type: "uint256";
|
|
4666
|
-
}, {
|
|
4667
|
-
readonly internalType: "bytes";
|
|
4668
|
-
readonly name: "extraOptions";
|
|
4669
|
-
readonly type: "bytes";
|
|
4670
|
-
}, {
|
|
4671
|
-
readonly internalType: "bytes";
|
|
4672
|
-
readonly name: "composeMsg";
|
|
4673
|
-
readonly type: "bytes";
|
|
4674
|
-
}, {
|
|
4675
|
-
readonly internalType: "bytes";
|
|
4676
|
-
readonly name: "oftCmd";
|
|
4677
|
-
readonly type: "bytes";
|
|
4678
|
-
}];
|
|
4679
|
-
readonly internalType: "struct SendParam";
|
|
4680
|
-
readonly name: "_sendParam";
|
|
4681
|
-
readonly type: "tuple";
|
|
4682
|
-
}, {
|
|
4683
|
-
readonly components: readonly [{
|
|
4684
|
-
readonly internalType: "uint256";
|
|
4685
|
-
readonly name: "nativeFee";
|
|
4686
|
-
readonly type: "uint256";
|
|
4687
|
-
}, {
|
|
4688
|
-
readonly internalType: "uint256";
|
|
4689
|
-
readonly name: "lzTokenFee";
|
|
4690
|
-
readonly type: "uint256";
|
|
4691
|
-
}];
|
|
4692
|
-
readonly internalType: "struct MessagingFee";
|
|
4693
|
-
readonly name: "_fee";
|
|
4694
|
-
readonly type: "tuple";
|
|
4695
|
-
}, {
|
|
4696
|
-
readonly internalType: "address";
|
|
4697
|
-
readonly name: "_refundAddress";
|
|
4698
|
-
readonly type: "address";
|
|
4699
|
-
}];
|
|
4700
|
-
readonly name: "sendToken";
|
|
4701
|
-
readonly outputs: readonly [{
|
|
4702
|
-
readonly components: readonly [{
|
|
4703
|
-
readonly internalType: "bytes32";
|
|
4704
|
-
readonly name: "guid";
|
|
4705
|
-
readonly type: "bytes32";
|
|
4706
|
-
}, {
|
|
4707
|
-
readonly internalType: "uint64";
|
|
4708
|
-
readonly name: "nonce";
|
|
4709
|
-
readonly type: "uint64";
|
|
4710
|
-
}, {
|
|
4711
|
-
readonly components: readonly [{
|
|
4712
|
-
readonly internalType: "uint256";
|
|
4713
|
-
readonly name: "nativeFee";
|
|
4714
|
-
readonly type: "uint256";
|
|
4715
|
-
}, {
|
|
4716
|
-
readonly internalType: "uint256";
|
|
4717
|
-
readonly name: "lzTokenFee";
|
|
4718
|
-
readonly type: "uint256";
|
|
4719
|
-
}];
|
|
4720
|
-
readonly internalType: "struct MessagingFee";
|
|
4721
|
-
readonly name: "fee";
|
|
4722
|
-
readonly type: "tuple";
|
|
4723
|
-
}];
|
|
4724
|
-
readonly internalType: "struct MessagingReceipt";
|
|
4725
|
-
readonly name: "msgReceipt";
|
|
4726
|
-
readonly type: "tuple";
|
|
4727
|
-
}, {
|
|
4728
|
-
readonly components: readonly [{
|
|
4729
|
-
readonly internalType: "uint256";
|
|
4730
|
-
readonly name: "amountSentLD";
|
|
4731
|
-
readonly type: "uint256";
|
|
4732
|
-
}, {
|
|
4733
|
-
readonly internalType: "uint256";
|
|
4734
|
-
readonly name: "amountReceivedLD";
|
|
4735
|
-
readonly type: "uint256";
|
|
4736
|
-
}];
|
|
4737
|
-
readonly internalType: "struct OFTReceipt";
|
|
4738
|
-
readonly name: "oftReceipt";
|
|
4739
|
-
readonly type: "tuple";
|
|
4740
|
-
}, {
|
|
4741
|
-
readonly components: readonly [{
|
|
4742
|
-
readonly internalType: "uint72";
|
|
4743
|
-
readonly name: "ticketId";
|
|
4744
|
-
readonly type: "uint72";
|
|
4745
|
-
}, {
|
|
4746
|
-
readonly internalType: "bytes";
|
|
4747
|
-
readonly name: "passengerBytes";
|
|
4748
|
-
readonly type: "bytes";
|
|
4749
|
-
}];
|
|
4750
|
-
readonly internalType: "struct Ticket";
|
|
4751
|
-
readonly name: "ticket";
|
|
4752
|
-
readonly type: "tuple";
|
|
4753
|
-
}];
|
|
4754
|
-
readonly stateMutability: "payable";
|
|
4755
|
-
readonly type: "function";
|
|
4756
|
-
}, {
|
|
4757
|
-
readonly inputs: readonly [{
|
|
4758
|
-
readonly components: readonly [{
|
|
4759
|
-
readonly internalType: "address";
|
|
4760
|
-
readonly name: "feeLib";
|
|
4761
|
-
readonly type: "address";
|
|
4762
|
-
}, {
|
|
4763
|
-
readonly internalType: "address";
|
|
4764
|
-
readonly name: "planner";
|
|
4765
|
-
readonly type: "address";
|
|
4766
|
-
}, {
|
|
4767
|
-
readonly internalType: "address";
|
|
4768
|
-
readonly name: "treasurer";
|
|
4769
|
-
readonly type: "address";
|
|
4770
|
-
}, {
|
|
4771
|
-
readonly internalType: "address";
|
|
4772
|
-
readonly name: "tokenMessaging";
|
|
4773
|
-
readonly type: "address";
|
|
4774
|
-
}, {
|
|
4775
|
-
readonly internalType: "address";
|
|
4776
|
-
readonly name: "creditMessaging";
|
|
4777
|
-
readonly type: "address";
|
|
4778
|
-
}, {
|
|
4779
|
-
readonly internalType: "address";
|
|
4780
|
-
readonly name: "lzToken";
|
|
4781
|
-
readonly type: "address";
|
|
4782
|
-
}];
|
|
4783
|
-
readonly internalType: "struct StargateBase.AddressConfig";
|
|
4784
|
-
readonly name: "_config";
|
|
4785
|
-
readonly type: "tuple";
|
|
4786
|
-
}];
|
|
4787
|
-
readonly name: "setAddressConfig";
|
|
4788
|
-
readonly outputs: readonly [];
|
|
4789
|
-
readonly stateMutability: "nonpayable";
|
|
4790
|
-
readonly type: "function";
|
|
4791
|
-
}, {
|
|
4792
|
-
readonly inputs: readonly [{
|
|
4793
|
-
readonly internalType: "uint32";
|
|
4794
|
-
readonly name: "_dstEid";
|
|
4795
|
-
readonly type: "uint32";
|
|
4796
|
-
}, {
|
|
4797
|
-
readonly internalType: "bool";
|
|
4798
|
-
readonly name: "_oft";
|
|
4799
|
-
readonly type: "bool";
|
|
4800
|
-
}];
|
|
4801
|
-
readonly name: "setOFTPath";
|
|
4802
|
-
readonly outputs: readonly [];
|
|
4803
|
-
readonly stateMutability: "nonpayable";
|
|
4804
|
-
readonly type: "function";
|
|
4805
|
-
}, {
|
|
4806
|
-
readonly inputs: readonly [{
|
|
4807
|
-
readonly internalType: "bool";
|
|
4808
|
-
readonly name: "_paused";
|
|
4809
|
-
readonly type: "bool";
|
|
4810
|
-
}];
|
|
4811
|
-
readonly name: "setPause";
|
|
4812
|
-
readonly outputs: readonly [];
|
|
4813
|
-
readonly stateMutability: "nonpayable";
|
|
4814
|
-
readonly type: "function";
|
|
4815
|
-
}, {
|
|
4816
|
-
readonly inputs: readonly [{
|
|
4817
|
-
readonly internalType: "uint256";
|
|
4818
|
-
readonly name: "_gasLimit";
|
|
4819
|
-
readonly type: "uint256";
|
|
4820
|
-
}];
|
|
4821
|
-
readonly name: "setTransferGasLimit";
|
|
4822
|
-
readonly outputs: readonly [];
|
|
4823
|
-
readonly stateMutability: "nonpayable";
|
|
4824
|
-
readonly type: "function";
|
|
4825
|
-
}, {
|
|
4826
|
-
readonly inputs: readonly [];
|
|
4827
|
-
readonly name: "sharedDecimals";
|
|
4828
|
-
readonly outputs: readonly [{
|
|
4829
|
-
readonly internalType: "uint8";
|
|
4830
|
-
readonly name: "";
|
|
4831
|
-
readonly type: "uint8";
|
|
4832
|
-
}];
|
|
4833
|
-
readonly stateMutability: "view";
|
|
4834
|
-
readonly type: "function";
|
|
4835
|
-
}, {
|
|
4836
|
-
readonly inputs: readonly [];
|
|
4837
|
-
readonly name: "stargateType";
|
|
4838
|
-
readonly outputs: readonly [{
|
|
4839
|
-
readonly internalType: "enum StargateType";
|
|
4840
|
-
readonly name: "";
|
|
4841
|
-
readonly type: "uint8";
|
|
4842
|
-
}];
|
|
4843
|
-
readonly stateMutability: "pure";
|
|
4844
|
-
readonly type: "function";
|
|
4845
|
-
}, {
|
|
4846
|
-
readonly inputs: readonly [];
|
|
4847
|
-
readonly name: "status";
|
|
4848
|
-
readonly outputs: readonly [{
|
|
4849
|
-
readonly internalType: "uint8";
|
|
4850
|
-
readonly name: "";
|
|
4851
|
-
readonly type: "uint8";
|
|
4852
|
-
}];
|
|
4853
|
-
readonly stateMutability: "view";
|
|
4854
|
-
readonly type: "function";
|
|
4855
|
-
}, {
|
|
4856
|
-
readonly inputs: readonly [];
|
|
4857
|
-
readonly name: "token";
|
|
4858
|
-
readonly outputs: readonly [{
|
|
4859
|
-
readonly internalType: "address";
|
|
4860
|
-
readonly name: "";
|
|
4861
|
-
readonly type: "address";
|
|
4862
|
-
}];
|
|
4863
|
-
readonly stateMutability: "view";
|
|
4864
|
-
readonly type: "function";
|
|
4865
|
-
}, {
|
|
4866
|
-
readonly inputs: readonly [{
|
|
4867
|
-
readonly internalType: "address";
|
|
4868
|
-
readonly name: "newOwner";
|
|
4869
|
-
readonly type: "address";
|
|
4870
|
-
}];
|
|
4871
|
-
readonly name: "transferOwnership";
|
|
4872
|
-
readonly outputs: readonly [];
|
|
4873
|
-
readonly stateMutability: "nonpayable";
|
|
4874
|
-
readonly type: "function";
|
|
4875
|
-
}, {
|
|
4876
|
-
readonly inputs: readonly [{
|
|
4877
|
-
readonly internalType: "address";
|
|
4878
|
-
readonly name: "_newOwner";
|
|
4879
|
-
readonly type: "address";
|
|
4880
|
-
}];
|
|
4881
|
-
readonly name: "transferTokenOwnership";
|
|
4882
|
-
readonly outputs: readonly [];
|
|
4883
|
-
readonly stateMutability: "nonpayable";
|
|
4884
|
-
readonly type: "function";
|
|
4885
|
-
}, {
|
|
4886
|
-
readonly inputs: readonly [];
|
|
4887
|
-
readonly name: "treasuryFee";
|
|
4888
|
-
readonly outputs: readonly [{
|
|
4889
|
-
readonly internalType: "uint64";
|
|
4890
|
-
readonly name: "";
|
|
4891
|
-
readonly type: "uint64";
|
|
4892
|
-
}];
|
|
4893
|
-
readonly stateMutability: "view";
|
|
4894
|
-
readonly type: "function";
|
|
4895
|
-
}, {
|
|
4896
|
-
readonly inputs: readonly [{
|
|
4897
|
-
readonly internalType: "bytes32";
|
|
4898
|
-
readonly name: "guid";
|
|
4899
|
-
readonly type: "bytes32";
|
|
4900
|
-
}, {
|
|
4901
|
-
readonly internalType: "uint8";
|
|
4902
|
-
readonly name: "index";
|
|
4903
|
-
readonly type: "uint8";
|
|
4904
|
-
}];
|
|
4905
|
-
readonly name: "unreceivedTokens";
|
|
4906
|
-
readonly outputs: readonly [{
|
|
4907
|
-
readonly internalType: "bytes32";
|
|
4908
|
-
readonly name: "hash";
|
|
4909
|
-
readonly type: "bytes32";
|
|
4910
|
-
}];
|
|
4911
|
-
readonly stateMutability: "view";
|
|
4912
|
-
readonly type: "function";
|
|
4913
|
-
}, {
|
|
4914
|
-
readonly inputs: readonly [];
|
|
4915
|
-
readonly name: "withdrawPlannerFee";
|
|
4916
|
-
readonly outputs: readonly [];
|
|
4917
|
-
readonly stateMutability: "nonpayable";
|
|
4918
|
-
readonly type: "function";
|
|
4919
|
-
}, {
|
|
4920
|
-
readonly inputs: readonly [{
|
|
4921
|
-
readonly internalType: "address";
|
|
4922
|
-
readonly name: "_to";
|
|
4923
|
-
readonly type: "address";
|
|
4924
|
-
}, {
|
|
4925
|
-
readonly internalType: "uint64";
|
|
4926
|
-
readonly name: "_amountSD";
|
|
4927
|
-
readonly type: "uint64";
|
|
4928
|
-
}];
|
|
4929
|
-
readonly name: "withdrawTreasuryFee";
|
|
4930
|
-
readonly outputs: readonly [];
|
|
4931
|
-
readonly stateMutability: "nonpayable";
|
|
4932
|
-
readonly type: "function";
|
|
4933
|
-
}];
|
|
4934
|
-
type Abi0 = typeof abi0;
|
|
4935
|
-
type Abi1 = typeof abi1;
|
|
4936
|
-
type Abi2 = typeof abi2;
|
|
4937
|
-
type Abi3 = typeof abi3;
|
|
4938
|
-
type Abis = {
|
|
4939
|
-
"abstract-mainnet": Abi0;
|
|
4940
|
-
"ape-mainnet": Abi0;
|
|
4941
|
-
"apexfusionnexus-mainnet": Abi0;
|
|
4942
|
-
"bera-mainnet": Abi0;
|
|
4943
|
-
"bl3-testnet": Abi0;
|
|
4944
|
-
"botanix-mainnet": Abi0;
|
|
4945
|
-
"bsc-sandbox-local": Abi1;
|
|
4946
|
-
"camp-mainnet": Abi0;
|
|
4947
|
-
"cronosevm-mainnet": Abi0;
|
|
4948
|
-
"degen-mainnet": Abi0;
|
|
4949
|
-
"doma-mainnet": Abi0;
|
|
4950
|
-
"edu-mainnet": Abi0;
|
|
4951
|
-
"flare-mainnet": Abi1;
|
|
4952
|
-
"flow-mainnet": Abi0;
|
|
4953
|
-
"fuse-mainnet": Abi0;
|
|
4954
|
-
"gatelayer-mainnet": Abi0;
|
|
4955
|
-
"glue-mainnet": Abi0;
|
|
4956
|
-
"goat-mainnet": Abi0;
|
|
4957
|
-
"gravity-mainnet": Abi1;
|
|
4958
|
-
"hemi-mainnet": Abi0;
|
|
4959
|
-
"horizen-mainnet": Abi0;
|
|
4960
|
-
"ink-mainnet": Abi0;
|
|
4961
|
-
"iota-mainnet": Abi1;
|
|
4962
|
-
"islander-mainnet": Abi0;
|
|
4963
|
-
"klaytn-mainnet": Abi1;
|
|
4964
|
-
"klaytn-testnet": Abi1;
|
|
4965
|
-
"lightlink-mainnet": Abi1;
|
|
4966
|
-
"moderato-testnet": Abi2;
|
|
4967
|
-
"nibiru-mainnet": Abi0;
|
|
4968
|
-
"odyssey-testnet": Abi0;
|
|
4969
|
-
"og-mainnet": Abi0;
|
|
4970
|
-
"orderly-mainnet": Abi0;
|
|
4971
|
-
"peaq-mainnet": Abi1;
|
|
4972
|
-
"plumephoenix-mainnet": Abi0;
|
|
4973
|
-
"polygon-sandbox-local": Abi1;
|
|
4974
|
-
"rarible-mainnet": Abi1;
|
|
4975
|
-
"redbelly-mainnet": Abi0;
|
|
4976
|
-
"rootstock-mainnet": Abi0;
|
|
4977
|
-
"somnia-mainnet": Abi0;
|
|
4978
|
-
"stable-mainnet": Abi0;
|
|
4979
|
-
"story-mainnet": Abi0;
|
|
4980
|
-
"superposition-mainnet": Abi0;
|
|
4981
|
-
"taiko-mainnet": Abi1;
|
|
4982
|
-
"telos-mainnet": Abi0;
|
|
4983
|
-
"tempo-mainnet": Abi3;
|
|
4984
|
-
"xdc-mainnet": Abi0;
|
|
4985
|
-
};
|
|
4986
|
-
declare const abis: Abis;
|
|
4987
|
-
|
|
4988
|
-
declare const StargateOFTUSDC_abis: typeof abis;
|
|
4989
|
-
declare const StargateOFTUSDC_addresses: typeof addresses;
|
|
4990
|
-
declare const StargateOFTUSDC_transactionHashes: typeof transactionHashes;
|
|
4991
|
-
declare namespace StargateOFTUSDC {
|
|
4992
|
-
export { StargateOFTUSDC_abis as abis, StargateOFTUSDC_addresses as addresses, StargateOFTUSDC_transactionHashes as transactionHashes };
|
|
4993
|
-
}
|
|
4994
|
-
|
|
4995
|
-
export { StargateOFTUSDC as S, addresses as a, abis as b, transactionHashes as t };
|