@dripfi/drip-sdk 1.4.34 → 1.4.35-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/package.json +11 -12
  2. package/dist/PerqApi.d.ts +0 -49
  3. package/dist/PerqApi.js +0 -475
  4. package/dist/PerqSdk.d.ts +0 -40
  5. package/dist/PerqSdk.js +0 -75
  6. package/dist/abi/ERC20.json +0 -222
  7. package/dist/abi/SlotBurnTokenAbi.json +0 -130
  8. package/dist/abi/WethTokenAbi.json +0 -25
  9. package/dist/abi/index.d.ts +0 -411
  10. package/dist/abi/index.js +0 -23
  11. package/dist/abi/perq/BridgeMainnetPerqToSonicAbi.json +0 -598
  12. package/dist/abi/perq/BridgeSonicPerqToMainnetAbi.json +0 -733
  13. package/dist/abi/perq/PerqSwapAndRecyclerAbi.json +0 -95
  14. package/dist/abi/perq/PerqTokenAbi.json +0 -48
  15. package/dist/abi/perq/PerqVestingAbi.json +0 -126
  16. package/dist/abi/perq/TokenRecyclerAbi.json +0 -41
  17. package/dist/constants.d.ts +0 -2
  18. package/dist/constants.js +0 -5
  19. package/dist/contracts/BaseContract.d.ts +0 -7
  20. package/dist/contracts/BaseContract.js +0 -16
  21. package/dist/contracts/BridgeMainnetPerqToSonicContract.d.ts +0 -9
  22. package/dist/contracts/BridgeMainnetPerqToSonicContract.js +0 -48
  23. package/dist/contracts/BridgeSonicPerqToMainnetContract.d.ts +0 -9
  24. package/dist/contracts/BridgeSonicPerqToMainnetContract.js +0 -47
  25. package/dist/contracts/ERC20TokenContract.d.ts +0 -10
  26. package/dist/contracts/ERC20TokenContract.js +0 -34
  27. package/dist/contracts/SlotBurnTokenContract.d.ts +0 -8
  28. package/dist/contracts/SlotBurnTokenContract.js +0 -26
  29. package/dist/contracts/index.d.ts +0 -9
  30. package/dist/contracts/index.js +0 -22
  31. package/dist/contracts/perq/PerqSwapAndRecyclerContract.d.ts +0 -8
  32. package/dist/contracts/perq/PerqSwapAndRecyclerContract.js +0 -28
  33. package/dist/contracts/perq/PerqTokenContract.d.ts +0 -7
  34. package/dist/contracts/perq/PerqTokenContract.js +0 -26
  35. package/dist/contracts/perq/PerqTokenRecyclerContract.d.ts +0 -7
  36. package/dist/contracts/perq/PerqTokenRecyclerContract.js +0 -20
  37. package/dist/contracts/perq/PerqVestingContract.d.ts +0 -13
  38. package/dist/contracts/perq/PerqVestingContract.js +0 -56
  39. package/dist/index.d.ts +0 -5
  40. package/dist/index.js +0 -28
  41. package/dist/subpackages/BridgePerqPackage.d.ts +0 -36
  42. package/dist/subpackages/BridgePerqPackage.js +0 -205
  43. package/dist/subpackages/LitePackage.d.ts +0 -19
  44. package/dist/subpackages/LitePackage.js +0 -106
  45. package/dist/subpackages/LoyaltyCardsPackage.d.ts +0 -21
  46. package/dist/subpackages/LoyaltyCardsPackage.js +0 -123
  47. package/dist/subpackages/PoolsPackage.d.ts +0 -21
  48. package/dist/subpackages/PoolsPackage.js +0 -58
  49. package/dist/subpackages/RecyclerPackage.d.ts +0 -13
  50. package/dist/subpackages/RecyclerPackage.js +0 -87
  51. package/dist/subpackages/SignHandlerPackage.d.ts +0 -8
  52. package/dist/subpackages/SignHandlerPackage.js +0 -33
  53. package/dist/subpackages/SiloPackage.d.ts +0 -18
  54. package/dist/subpackages/SiloPackage.js +0 -112
  55. package/dist/subpackages/SiloVaultOperations.d.ts +0 -31
  56. package/dist/subpackages/SiloVaultOperations.js +0 -119
  57. package/dist/subpackages/TokenUtilsPackage.d.ts +0 -27
  58. package/dist/subpackages/TokenUtilsPackage.js +0 -93
  59. package/dist/subpackages/UserPackage.d.ts +0 -11
  60. package/dist/subpackages/UserPackage.js +0 -43
  61. package/dist/subpackages/VaultHandlerPackage.d.ts +0 -54
  62. package/dist/subpackages/VaultHandlerPackage.js +0 -107
  63. package/dist/subpackages/VestingPackage.d.ts +0 -14
  64. package/dist/subpackages/VestingPackage.js +0 -112
  65. package/dist/subpackages/YelayVaultOperations.d.ts +0 -13
  66. package/dist/subpackages/YelayVaultOperations.js +0 -107
  67. package/dist/types/Asset.d.ts +0 -5
  68. package/dist/types/Asset.js +0 -2
  69. package/dist/types/BeanEntry.d.ts +0 -12
  70. package/dist/types/BeanEntry.js +0 -2
  71. package/dist/types/BeansBalance.d.ts +0 -5
  72. package/dist/types/BeansBalance.js +0 -2
  73. package/dist/types/BridgePerq.d.ts +0 -14
  74. package/dist/types/BridgePerq.js +0 -2
  75. package/dist/types/ChainId.d.ts +0 -7
  76. package/dist/types/ChainId.js +0 -9
  77. package/dist/types/ClaimSpecialEditionLoyaltyCardPayload.d.ts +0 -4
  78. package/dist/types/ClaimSpecialEditionLoyaltyCardPayload.js +0 -2
  79. package/dist/types/DeployedProject.d.ts +0 -55
  80. package/dist/types/DeployedProject.js +0 -2
  81. package/dist/types/DeployedVault.d.ts +0 -14
  82. package/dist/types/DeployedVault.js +0 -2
  83. package/dist/types/DepositToken.d.ts +0 -8
  84. package/dist/types/DepositToken.js +0 -2
  85. package/dist/types/DetailedProjectData.d.ts +0 -34
  86. package/dist/types/DetailedProjectData.js +0 -2
  87. package/dist/types/DistributionToken.d.ts +0 -6
  88. package/dist/types/DistributionToken.js +0 -2
  89. package/dist/types/ELoyaltyCardTier.d.ts +0 -10
  90. package/dist/types/ELoyaltyCardTier.js +0 -13
  91. package/dist/types/Earnings.d.ts +0 -11
  92. package/dist/types/Earnings.js +0 -2
  93. package/dist/types/LinkWalletPayload.d.ts +0 -9
  94. package/dist/types/LinkWalletPayload.js +0 -2
  95. package/dist/types/LinkedPodWallets.d.ts +0 -6
  96. package/dist/types/LinkedPodWallets.js +0 -2
  97. package/dist/types/LoyaltyCard.d.ts +0 -11
  98. package/dist/types/LoyaltyCard.js +0 -2
  99. package/dist/types/MigrationOption.d.ts +0 -6
  100. package/dist/types/MigrationOption.js +0 -2
  101. package/dist/types/MyPerqData.d.ts +0 -19
  102. package/dist/types/MyPerqData.js +0 -2
  103. package/dist/types/NFTBoost.d.ts +0 -10
  104. package/dist/types/NFTBoost.js +0 -2
  105. package/dist/types/OverallStats.d.ts +0 -7
  106. package/dist/types/OverallStats.js +0 -2
  107. package/dist/types/PerqConfig.d.ts +0 -18
  108. package/dist/types/PerqConfig.js +0 -37
  109. package/dist/types/PerqToBeansSwapInfo.d.ts +0 -8
  110. package/dist/types/PerqToBeansSwapInfo.js +0 -2
  111. package/dist/types/ProjectHistoricalTvl.d.ts +0 -4
  112. package/dist/types/ProjectHistoricalTvl.js +0 -2
  113. package/dist/types/QLFastRedeem.d.ts +0 -16
  114. package/dist/types/QLFastRedeem.js +0 -2
  115. package/dist/types/ReducedProjectData.d.ts +0 -21
  116. package/dist/types/ReducedProjectData.js +0 -2
  117. package/dist/types/SdkType.d.ts +0 -2
  118. package/dist/types/SdkType.js +0 -2
  119. package/dist/types/SignedPayload.d.ts +0 -12
  120. package/dist/types/SignedPayload.js +0 -2
  121. package/dist/types/SlotMachineSpinCost.d.ts +0 -7
  122. package/dist/types/SlotMachineSpinCost.js +0 -2
  123. package/dist/types/SpecialEditionLoyaltyCard.d.ts +0 -9
  124. package/dist/types/SpecialEditionLoyaltyCard.js +0 -2
  125. package/dist/types/Strategy.d.ts +0 -9
  126. package/dist/types/Strategy.js +0 -2
  127. package/dist/types/StretchGoal.d.ts +0 -5
  128. package/dist/types/StretchGoal.js +0 -2
  129. package/dist/types/SwapInfo.d.ts +0 -6
  130. package/dist/types/SwapInfo.js +0 -2
  131. package/dist/types/UpgradeLoyaltyCardPayload.d.ts +0 -4
  132. package/dist/types/UpgradeLoyaltyCardPayload.js +0 -2
  133. package/dist/types/UserRewards.d.ts +0 -6
  134. package/dist/types/UserRewards.js +0 -2
  135. package/dist/types/VaultData.d.ts +0 -32
  136. package/dist/types/VaultData.js +0 -2
  137. package/dist/types/VaultOperationParams.d.ts +0 -12
  138. package/dist/types/VaultOperationParams.js +0 -2
  139. package/dist/types/VaultReward.d.ts +0 -16
  140. package/dist/types/VaultReward.js +0 -4
  141. package/dist/types/VaultStats.d.ts +0 -6
  142. package/dist/types/VaultStats.js +0 -2
  143. package/dist/types/VaultType.d.ts +0 -3
  144. package/dist/types/VaultType.js +0 -4
  145. package/dist/types/VestingInfo.d.ts +0 -8
  146. package/dist/types/VestingInfo.js +0 -2
  147. package/dist/types/YelayVersion.d.ts +0 -2
  148. package/dist/types/YelayVersion.js +0 -2
  149. package/dist/types/index.d.ts +0 -34
  150. package/dist/types/index.js +0 -8
@@ -1,598 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- { "internalType": "address", "name": "_token", "type": "address" },
5
- { "internalType": "address", "name": "_lzEndpoint", "type": "address" },
6
- { "internalType": "address", "name": "_owner", "type": "address" }
7
- ],
8
- "stateMutability": "nonpayable",
9
- "type": "constructor"
10
- },
11
- { "inputs": [], "name": "InvalidDelegate", "type": "error" },
12
- { "inputs": [], "name": "InvalidEndpointCall", "type": "error" },
13
- { "inputs": [], "name": "InvalidLocalDecimals", "type": "error" },
14
- {
15
- "inputs": [{ "internalType": "bytes", "name": "options", "type": "bytes" }],
16
- "name": "InvalidOptions",
17
- "type": "error"
18
- },
19
- { "inputs": [], "name": "LzTokenUnavailable", "type": "error" },
20
- { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "NoPeer", "type": "error" },
21
- {
22
- "inputs": [{ "internalType": "uint256", "name": "msgValue", "type": "uint256" }],
23
- "name": "NotEnoughNative",
24
- "type": "error"
25
- },
26
- {
27
- "inputs": [{ "internalType": "address", "name": "addr", "type": "address" }],
28
- "name": "OnlyEndpoint",
29
- "type": "error"
30
- },
31
- {
32
- "inputs": [
33
- { "internalType": "uint32", "name": "eid", "type": "uint32" },
34
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" }
35
- ],
36
- "name": "OnlyPeer",
37
- "type": "error"
38
- },
39
- { "inputs": [], "name": "OnlySelf", "type": "error" },
40
- {
41
- "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }],
42
- "name": "OwnableInvalidOwner",
43
- "type": "error"
44
- },
45
- {
46
- "inputs": [{ "internalType": "address", "name": "account", "type": "address" }],
47
- "name": "OwnableUnauthorizedAccount",
48
- "type": "error"
49
- },
50
- {
51
- "inputs": [{ "internalType": "address", "name": "token", "type": "address" }],
52
- "name": "SafeERC20FailedOperation",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [{ "internalType": "bytes", "name": "result", "type": "bytes" }],
57
- "name": "SimulationResult",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [
62
- { "internalType": "uint256", "name": "amountLD", "type": "uint256" },
63
- { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }
64
- ],
65
- "name": "SlippageExceeded",
66
- "type": "error"
67
- },
68
- {
69
- "anonymous": false,
70
- "inputs": [
71
- {
72
- "components": [
73
- { "internalType": "uint32", "name": "eid", "type": "uint32" },
74
- { "internalType": "uint16", "name": "msgType", "type": "uint16" },
75
- { "internalType": "bytes", "name": "options", "type": "bytes" }
76
- ],
77
- "indexed": false,
78
- "internalType": "struct EnforcedOptionParam[]",
79
- "name": "_enforcedOptions",
80
- "type": "tuple[]"
81
- }
82
- ],
83
- "name": "EnforcedOptionSet",
84
- "type": "event"
85
- },
86
- {
87
- "anonymous": false,
88
- "inputs": [{ "indexed": false, "internalType": "address", "name": "inspector", "type": "address" }],
89
- "name": "MsgInspectorSet",
90
- "type": "event"
91
- },
92
- {
93
- "anonymous": false,
94
- "inputs": [
95
- { "indexed": true, "internalType": "bytes32", "name": "guid", "type": "bytes32" },
96
- { "indexed": false, "internalType": "uint32", "name": "srcEid", "type": "uint32" },
97
- { "indexed": true, "internalType": "address", "name": "toAddress", "type": "address" },
98
- { "indexed": false, "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }
99
- ],
100
- "name": "OFTReceived",
101
- "type": "event"
102
- },
103
- {
104
- "anonymous": false,
105
- "inputs": [
106
- { "indexed": true, "internalType": "bytes32", "name": "guid", "type": "bytes32" },
107
- { "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" },
108
- { "indexed": true, "internalType": "address", "name": "fromAddress", "type": "address" },
109
- { "indexed": false, "internalType": "uint256", "name": "amountSentLD", "type": "uint256" },
110
- { "indexed": false, "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }
111
- ],
112
- "name": "OFTSent",
113
- "type": "event"
114
- },
115
- {
116
- "anonymous": false,
117
- "inputs": [
118
- { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" },
119
- { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }
120
- ],
121
- "name": "OwnershipTransferred",
122
- "type": "event"
123
- },
124
- {
125
- "anonymous": false,
126
- "inputs": [
127
- { "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" },
128
- { "indexed": false, "internalType": "bytes32", "name": "peer", "type": "bytes32" }
129
- ],
130
- "name": "PeerSet",
131
- "type": "event"
132
- },
133
- {
134
- "anonymous": false,
135
- "inputs": [{ "indexed": false, "internalType": "address", "name": "preCrimeAddress", "type": "address" }],
136
- "name": "PreCrimeSet",
137
- "type": "event"
138
- },
139
- {
140
- "inputs": [],
141
- "name": "SEND",
142
- "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }],
143
- "stateMutability": "view",
144
- "type": "function"
145
- },
146
- {
147
- "inputs": [],
148
- "name": "SEND_AND_CALL",
149
- "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }],
150
- "stateMutability": "view",
151
- "type": "function"
152
- },
153
- {
154
- "inputs": [
155
- {
156
- "components": [
157
- { "internalType": "uint32", "name": "srcEid", "type": "uint32" },
158
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" },
159
- { "internalType": "uint64", "name": "nonce", "type": "uint64" }
160
- ],
161
- "internalType": "struct Origin",
162
- "name": "origin",
163
- "type": "tuple"
164
- }
165
- ],
166
- "name": "allowInitializePath",
167
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
168
- "stateMutability": "view",
169
- "type": "function"
170
- },
171
- {
172
- "inputs": [],
173
- "name": "approvalRequired",
174
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
175
- "stateMutability": "pure",
176
- "type": "function"
177
- },
178
- {
179
- "inputs": [
180
- { "internalType": "uint32", "name": "_eid", "type": "uint32" },
181
- { "internalType": "uint16", "name": "_msgType", "type": "uint16" },
182
- { "internalType": "bytes", "name": "_extraOptions", "type": "bytes" }
183
- ],
184
- "name": "combineOptions",
185
- "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
186
- "stateMutability": "view",
187
- "type": "function"
188
- },
189
- {
190
- "inputs": [],
191
- "name": "decimalConversionRate",
192
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
193
- "stateMutability": "view",
194
- "type": "function"
195
- },
196
- {
197
- "inputs": [],
198
- "name": "endpoint",
199
- "outputs": [{ "internalType": "contract ILayerZeroEndpointV2", "name": "", "type": "address" }],
200
- "stateMutability": "view",
201
- "type": "function"
202
- },
203
- {
204
- "inputs": [
205
- { "internalType": "uint32", "name": "eid", "type": "uint32" },
206
- { "internalType": "uint16", "name": "msgType", "type": "uint16" }
207
- ],
208
- "name": "enforcedOptions",
209
- "outputs": [{ "internalType": "bytes", "name": "enforcedOption", "type": "bytes" }],
210
- "stateMutability": "view",
211
- "type": "function"
212
- },
213
- {
214
- "inputs": [
215
- {
216
- "components": [
217
- { "internalType": "uint32", "name": "srcEid", "type": "uint32" },
218
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" },
219
- { "internalType": "uint64", "name": "nonce", "type": "uint64" }
220
- ],
221
- "internalType": "struct Origin",
222
- "name": "",
223
- "type": "tuple"
224
- },
225
- { "internalType": "bytes", "name": "", "type": "bytes" },
226
- { "internalType": "address", "name": "_sender", "type": "address" }
227
- ],
228
- "name": "isComposeMsgSender",
229
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
230
- "stateMutability": "view",
231
- "type": "function"
232
- },
233
- {
234
- "inputs": [
235
- { "internalType": "uint32", "name": "_eid", "type": "uint32" },
236
- { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }
237
- ],
238
- "name": "isPeer",
239
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
240
- "stateMutability": "view",
241
- "type": "function"
242
- },
243
- {
244
- "inputs": [
245
- {
246
- "components": [
247
- { "internalType": "uint32", "name": "srcEid", "type": "uint32" },
248
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" },
249
- { "internalType": "uint64", "name": "nonce", "type": "uint64" }
250
- ],
251
- "internalType": "struct Origin",
252
- "name": "_origin",
253
- "type": "tuple"
254
- },
255
- { "internalType": "bytes32", "name": "_guid", "type": "bytes32" },
256
- { "internalType": "bytes", "name": "_message", "type": "bytes" },
257
- { "internalType": "address", "name": "_executor", "type": "address" },
258
- { "internalType": "bytes", "name": "_extraData", "type": "bytes" }
259
- ],
260
- "name": "lzReceive",
261
- "outputs": [],
262
- "stateMutability": "payable",
263
- "type": "function"
264
- },
265
- {
266
- "inputs": [
267
- {
268
- "components": [
269
- {
270
- "components": [
271
- { "internalType": "uint32", "name": "srcEid", "type": "uint32" },
272
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" },
273
- { "internalType": "uint64", "name": "nonce", "type": "uint64" }
274
- ],
275
- "internalType": "struct Origin",
276
- "name": "origin",
277
- "type": "tuple"
278
- },
279
- { "internalType": "uint32", "name": "dstEid", "type": "uint32" },
280
- { "internalType": "address", "name": "receiver", "type": "address" },
281
- { "internalType": "bytes32", "name": "guid", "type": "bytes32" },
282
- { "internalType": "uint256", "name": "value", "type": "uint256" },
283
- { "internalType": "address", "name": "executor", "type": "address" },
284
- { "internalType": "bytes", "name": "message", "type": "bytes" },
285
- { "internalType": "bytes", "name": "extraData", "type": "bytes" }
286
- ],
287
- "internalType": "struct InboundPacket[]",
288
- "name": "_packets",
289
- "type": "tuple[]"
290
- }
291
- ],
292
- "name": "lzReceiveAndRevert",
293
- "outputs": [],
294
- "stateMutability": "payable",
295
- "type": "function"
296
- },
297
- {
298
- "inputs": [
299
- {
300
- "components": [
301
- { "internalType": "uint32", "name": "srcEid", "type": "uint32" },
302
- { "internalType": "bytes32", "name": "sender", "type": "bytes32" },
303
- { "internalType": "uint64", "name": "nonce", "type": "uint64" }
304
- ],
305
- "internalType": "struct Origin",
306
- "name": "_origin",
307
- "type": "tuple"
308
- },
309
- { "internalType": "bytes32", "name": "_guid", "type": "bytes32" },
310
- { "internalType": "bytes", "name": "_message", "type": "bytes" },
311
- { "internalType": "address", "name": "_executor", "type": "address" },
312
- { "internalType": "bytes", "name": "_extraData", "type": "bytes" }
313
- ],
314
- "name": "lzReceiveSimulate",
315
- "outputs": [],
316
- "stateMutability": "payable",
317
- "type": "function"
318
- },
319
- {
320
- "inputs": [],
321
- "name": "msgInspector",
322
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
323
- "stateMutability": "view",
324
- "type": "function"
325
- },
326
- {
327
- "inputs": [
328
- { "internalType": "uint32", "name": "", "type": "uint32" },
329
- { "internalType": "bytes32", "name": "", "type": "bytes32" }
330
- ],
331
- "name": "nextNonce",
332
- "outputs": [{ "internalType": "uint64", "name": "nonce", "type": "uint64" }],
333
- "stateMutability": "view",
334
- "type": "function"
335
- },
336
- {
337
- "inputs": [],
338
- "name": "oApp",
339
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
340
- "stateMutability": "view",
341
- "type": "function"
342
- },
343
- {
344
- "inputs": [],
345
- "name": "oAppVersion",
346
- "outputs": [
347
- { "internalType": "uint64", "name": "senderVersion", "type": "uint64" },
348
- { "internalType": "uint64", "name": "receiverVersion", "type": "uint64" }
349
- ],
350
- "stateMutability": "pure",
351
- "type": "function"
352
- },
353
- {
354
- "inputs": [],
355
- "name": "oftVersion",
356
- "outputs": [
357
- { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" },
358
- { "internalType": "uint64", "name": "version", "type": "uint64" }
359
- ],
360
- "stateMutability": "pure",
361
- "type": "function"
362
- },
363
- {
364
- "inputs": [],
365
- "name": "owner",
366
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
367
- "stateMutability": "view",
368
- "type": "function"
369
- },
370
- {
371
- "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }],
372
- "name": "peers",
373
- "outputs": [{ "internalType": "bytes32", "name": "peer", "type": "bytes32" }],
374
- "stateMutability": "view",
375
- "type": "function"
376
- },
377
- {
378
- "inputs": [],
379
- "name": "preCrime",
380
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
381
- "stateMutability": "view",
382
- "type": "function"
383
- },
384
- {
385
- "inputs": [
386
- {
387
- "components": [
388
- { "internalType": "uint32", "name": "dstEid", "type": "uint32" },
389
- { "internalType": "bytes32", "name": "to", "type": "bytes32" },
390
- { "internalType": "uint256", "name": "amountLD", "type": "uint256" },
391
- { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" },
392
- { "internalType": "bytes", "name": "extraOptions", "type": "bytes" },
393
- { "internalType": "bytes", "name": "composeMsg", "type": "bytes" },
394
- { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }
395
- ],
396
- "internalType": "struct SendParam",
397
- "name": "_sendParam",
398
- "type": "tuple"
399
- }
400
- ],
401
- "name": "quoteOFT",
402
- "outputs": [
403
- {
404
- "components": [
405
- { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" },
406
- { "internalType": "uint256", "name": "maxAmountLD", "type": "uint256" }
407
- ],
408
- "internalType": "struct OFTLimit",
409
- "name": "oftLimit",
410
- "type": "tuple"
411
- },
412
- {
413
- "components": [
414
- { "internalType": "int256", "name": "feeAmountLD", "type": "int256" },
415
- { "internalType": "string", "name": "description", "type": "string" }
416
- ],
417
- "internalType": "struct OFTFeeDetail[]",
418
- "name": "oftFeeDetails",
419
- "type": "tuple[]"
420
- },
421
- {
422
- "components": [
423
- { "internalType": "uint256", "name": "amountSentLD", "type": "uint256" },
424
- { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }
425
- ],
426
- "internalType": "struct OFTReceipt",
427
- "name": "oftReceipt",
428
- "type": "tuple"
429
- }
430
- ],
431
- "stateMutability": "view",
432
- "type": "function"
433
- },
434
- {
435
- "inputs": [
436
- {
437
- "components": [
438
- { "internalType": "uint32", "name": "dstEid", "type": "uint32" },
439
- { "internalType": "bytes32", "name": "to", "type": "bytes32" },
440
- { "internalType": "uint256", "name": "amountLD", "type": "uint256" },
441
- { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" },
442
- { "internalType": "bytes", "name": "extraOptions", "type": "bytes" },
443
- { "internalType": "bytes", "name": "composeMsg", "type": "bytes" },
444
- { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }
445
- ],
446
- "internalType": "struct SendParam",
447
- "name": "_sendParam",
448
- "type": "tuple"
449
- },
450
- { "internalType": "bool", "name": "_payInLzToken", "type": "bool" }
451
- ],
452
- "name": "quoteSend",
453
- "outputs": [
454
- {
455
- "components": [
456
- { "internalType": "uint256", "name": "nativeFee", "type": "uint256" },
457
- { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }
458
- ],
459
- "internalType": "struct MessagingFee",
460
- "name": "msgFee",
461
- "type": "tuple"
462
- }
463
- ],
464
- "stateMutability": "view",
465
- "type": "function"
466
- },
467
- { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
468
- {
469
- "inputs": [
470
- {
471
- "components": [
472
- { "internalType": "uint32", "name": "dstEid", "type": "uint32" },
473
- { "internalType": "bytes32", "name": "to", "type": "bytes32" },
474
- { "internalType": "uint256", "name": "amountLD", "type": "uint256" },
475
- { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" },
476
- { "internalType": "bytes", "name": "extraOptions", "type": "bytes" },
477
- { "internalType": "bytes", "name": "composeMsg", "type": "bytes" },
478
- { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }
479
- ],
480
- "internalType": "struct SendParam",
481
- "name": "_sendParam",
482
- "type": "tuple"
483
- },
484
- {
485
- "components": [
486
- { "internalType": "uint256", "name": "nativeFee", "type": "uint256" },
487
- { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }
488
- ],
489
- "internalType": "struct MessagingFee",
490
- "name": "_fee",
491
- "type": "tuple"
492
- },
493
- { "internalType": "address", "name": "_refundAddress", "type": "address" }
494
- ],
495
- "name": "send",
496
- "outputs": [
497
- {
498
- "components": [
499
- { "internalType": "bytes32", "name": "guid", "type": "bytes32" },
500
- { "internalType": "uint64", "name": "nonce", "type": "uint64" },
501
- {
502
- "components": [
503
- { "internalType": "uint256", "name": "nativeFee", "type": "uint256" },
504
- { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }
505
- ],
506
- "internalType": "struct MessagingFee",
507
- "name": "fee",
508
- "type": "tuple"
509
- }
510
- ],
511
- "internalType": "struct MessagingReceipt",
512
- "name": "msgReceipt",
513
- "type": "tuple"
514
- },
515
- {
516
- "components": [
517
- { "internalType": "uint256", "name": "amountSentLD", "type": "uint256" },
518
- { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }
519
- ],
520
- "internalType": "struct OFTReceipt",
521
- "name": "oftReceipt",
522
- "type": "tuple"
523
- }
524
- ],
525
- "stateMutability": "payable",
526
- "type": "function"
527
- },
528
- {
529
- "inputs": [{ "internalType": "address", "name": "_delegate", "type": "address" }],
530
- "name": "setDelegate",
531
- "outputs": [],
532
- "stateMutability": "nonpayable",
533
- "type": "function"
534
- },
535
- {
536
- "inputs": [
537
- {
538
- "components": [
539
- { "internalType": "uint32", "name": "eid", "type": "uint32" },
540
- { "internalType": "uint16", "name": "msgType", "type": "uint16" },
541
- { "internalType": "bytes", "name": "options", "type": "bytes" }
542
- ],
543
- "internalType": "struct EnforcedOptionParam[]",
544
- "name": "_enforcedOptions",
545
- "type": "tuple[]"
546
- }
547
- ],
548
- "name": "setEnforcedOptions",
549
- "outputs": [],
550
- "stateMutability": "nonpayable",
551
- "type": "function"
552
- },
553
- {
554
- "inputs": [{ "internalType": "address", "name": "_msgInspector", "type": "address" }],
555
- "name": "setMsgInspector",
556
- "outputs": [],
557
- "stateMutability": "nonpayable",
558
- "type": "function"
559
- },
560
- {
561
- "inputs": [
562
- { "internalType": "uint32", "name": "_eid", "type": "uint32" },
563
- { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }
564
- ],
565
- "name": "setPeer",
566
- "outputs": [],
567
- "stateMutability": "nonpayable",
568
- "type": "function"
569
- },
570
- {
571
- "inputs": [{ "internalType": "address", "name": "_preCrime", "type": "address" }],
572
- "name": "setPreCrime",
573
- "outputs": [],
574
- "stateMutability": "nonpayable",
575
- "type": "function"
576
- },
577
- {
578
- "inputs": [],
579
- "name": "sharedDecimals",
580
- "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
581
- "stateMutability": "view",
582
- "type": "function"
583
- },
584
- {
585
- "inputs": [],
586
- "name": "token",
587
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
588
- "stateMutability": "view",
589
- "type": "function"
590
- },
591
- {
592
- "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }],
593
- "name": "transferOwnership",
594
- "outputs": [],
595
- "stateMutability": "nonpayable",
596
- "type": "function"
597
- }
598
- ]