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