@plutonlabs/sdk 0.0.11-beta → 0.0.13-beta

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 (152) hide show
  1. package/dist/common/consts/index.d.ts.map +1 -1
  2. package/dist/common/consts/index.js.map +1 -1
  3. package/dist/common/enums/index.d.ts +2 -2
  4. package/dist/common/index.d.ts +4 -4
  5. package/dist/common/interfaces/IChain.d.ts +1 -1
  6. package/dist/common/utils/index.d.ts +2 -2
  7. package/dist/index.d.ts +8 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +11 -0
  10. package/dist/index.js.map +1 -1
  11. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts.map +1 -1
  12. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js.map +1 -1
  13. package/dist/modules/chainsync/domain/dto/index.d.ts +0 -1
  14. package/dist/modules/chainsync/domain/dto/index.d.ts.map +1 -1
  15. package/dist/modules/chainsync/domain/dto/index.js +0 -1
  16. package/dist/modules/chainsync/domain/dto/index.js.map +1 -1
  17. package/dist/modules/index.d.ts.map +1 -1
  18. package/dist/modules/index.js.map +1 -1
  19. package/dist/modules/network/domain/dto/index.d.ts.map +1 -1
  20. package/dist/modules/network/domain/dto/index.js.map +1 -1
  21. package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts +1 -1
  22. package/dist/modules/network/domain/dto/network_tokens_view.dto.d.ts +19 -7
  23. package/dist/modules/network/domain/dto/network_tokens_view.dto.d.ts.map +1 -1
  24. package/dist/modules/network/domain/dto/network_tokens_view.dto.js +2 -2
  25. package/dist/modules/network/domain/dto/network_tokens_view.dto.js.map +1 -1
  26. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.d.ts.map +1 -1
  27. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js.map +1 -1
  28. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.d.ts.map +1 -1
  29. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js.map +1 -1
  30. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts +13 -13
  31. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts.map +1 -1
  32. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js +1 -1
  33. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js.map +1 -1
  34. package/dist/modules/quote/domain/dto/index.d.ts +3 -3
  35. package/dist/modules/quote/domain/dto/quote/index.d.ts +15 -16
  36. package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -1
  37. package/dist/modules/quote/domain/dto/quote/index.js +0 -1
  38. package/dist/modules/quote/domain/dto/quote/index.js.map +1 -1
  39. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts +1 -6
  40. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts.map +1 -1
  41. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js +4 -8
  42. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js.map +1 -1
  43. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts +18 -0
  44. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts.map +1 -0
  45. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js +44 -0
  46. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js.map +1 -0
  47. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts +1 -9
  48. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts.map +1 -1
  49. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js +2 -2
  50. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js.map +1 -1
  51. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts +2 -2
  52. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts.map +1 -1
  53. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js +3 -3
  54. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js.map +1 -1
  55. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts +0 -9
  56. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts.map +1 -1
  57. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js +0 -57
  58. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js.map +1 -1
  59. package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts +6 -1
  60. package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts.map +1 -1
  61. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js +5 -6
  62. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js.map +1 -1
  63. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts +2 -1
  64. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts.map +1 -1
  65. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js +5 -8
  66. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js.map +1 -1
  67. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +13 -0
  68. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -1
  69. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +13 -21
  70. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -1
  71. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts +1 -0
  72. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts.map +1 -1
  73. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js +4 -7
  74. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js.map +1 -1
  75. package/dist/modules/quote/domain/dto/refund/index.d.ts +4 -4
  76. package/dist/modules/quote/domain/dto/refund/index.d.ts.map +1 -1
  77. package/dist/modules/quote/domain/dto/refund/index.js +2 -2
  78. package/dist/modules/quote/domain/dto/refund/index.js.map +1 -1
  79. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_request.dto.d.ts → quote_refund_request.dto.d.ts} +3 -3
  80. package/dist/modules/quote/domain/dto/refund/quote_refund_request.dto.d.ts.map +1 -0
  81. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_request.dto.js → quote_refund_request.dto.js} +9 -7
  82. package/dist/modules/quote/domain/dto/refund/quote_refund_request.dto.js.map +1 -0
  83. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_response.dto.d.ts → quote_refund_response.dto.d.ts} +4 -4
  84. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.d.ts.map +1 -0
  85. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.js +37 -0
  86. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.js.map +1 -0
  87. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.d.ts +1 -1
  88. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.js +1 -1
  89. package/dist/modules/quote/domain/index.d.ts +2 -2
  90. package/dist/modules/swap/domain/dto/index.d.ts +3 -3
  91. package/dist/modules/swap/domain/dto/index.d.ts.map +1 -1
  92. package/dist/modules/swap/domain/dto/index.js +3 -3
  93. package/dist/modules/swap/domain/dto/index.js.map +1 -1
  94. package/dist/modules/swap/domain/dto/{token_swap_output_estimate_response.dto.d.ts → swap_estimate_response.dto.d.ts} +2 -2
  95. package/dist/modules/swap/domain/dto/swap_estimate_response.dto.d.ts.map +1 -0
  96. package/dist/modules/swap/domain/dto/{token_swap_output_estimate_response.dto.js → swap_estimate_response.dto.js} +5 -5
  97. package/dist/modules/swap/domain/dto/swap_estimate_response.dto.js.map +1 -0
  98. package/dist/modules/swap/domain/dto/{token_swap_request.dto.d.ts → swap_request.dto.d.ts} +3 -3
  99. package/dist/modules/swap/domain/dto/swap_request.dto.d.ts.map +1 -0
  100. package/dist/modules/swap/domain/dto/{token_swap_request.dto.js → swap_request.dto.js} +7 -7
  101. package/dist/modules/swap/domain/dto/swap_request.dto.js.map +1 -0
  102. package/dist/modules/swap/domain/dto/{token_swap_response.dto.d.ts → swap_response.dto.d.ts} +2 -2
  103. package/dist/modules/swap/domain/dto/swap_response.dto.d.ts.map +1 -0
  104. package/dist/modules/swap/domain/dto/{token_swap_response.dto.js → swap_response.dto.js} +7 -7
  105. package/dist/modules/swap/domain/dto/swap_response.dto.js.map +1 -0
  106. package/dist/modules/swap/index.d.ts +1 -1
  107. package/dist/modules/token/domain/dto/index.d.ts +1 -1
  108. package/dist/modules/token/domain/dto/index.d.ts.map +1 -1
  109. package/dist/modules/token/domain/dto/index.js +1 -1
  110. package/dist/modules/token/domain/dto/index.js.map +1 -1
  111. package/dist/modules/token/domain/dto/token.dto.d.ts +15 -14
  112. package/dist/modules/token/domain/dto/token.dto.d.ts.map +1 -1
  113. package/dist/modules/token/domain/dto/token.dto.js +19 -10
  114. package/dist/modules/token/domain/dto/token.dto.js.map +1 -1
  115. package/dist/modules/token/domain/dto/token.find.dto.d.ts +29 -0
  116. package/dist/modules/token/domain/dto/token.find.dto.d.ts.map +1 -0
  117. package/dist/modules/token/domain/dto/{network_contract_find_token.dto.js → token.find.dto.js} +13 -18
  118. package/dist/modules/token/domain/dto/token.find.dto.js.map +1 -0
  119. package/dist/modules/token/domain/dto/token.update.dto.d.ts +27 -23
  120. package/dist/modules/token/domain/dto/token.update.dto.d.ts.map +1 -1
  121. package/dist/modules/token/domain/dto/token.update.dto.js +15 -17
  122. package/dist/modules/token/domain/dto/token.update.dto.js.map +1 -1
  123. package/dist/modules/token/domain/dto/token_find.dto.d.ts +29 -0
  124. package/dist/modules/token/domain/dto/token_find.dto.d.ts.map +1 -0
  125. package/dist/modules/token/domain/dto/token_find.dto.js +41 -0
  126. package/dist/modules/token/domain/dto/token_find.dto.js.map +1 -0
  127. package/dist/seed-data/index.d.ts +1 -0
  128. package/dist/seed-data/index.d.ts.map +1 -0
  129. package/dist/seed-data/index.js +2 -0
  130. package/dist/seed-data/index.js.map +1 -0
  131. package/dist/seed-data/networks_seed.json +47 -0
  132. package/dist/seed-data/pluton_contracts_seed.json +1312 -0
  133. package/dist/seed-data/tokens_seed.json +119 -0
  134. package/package.json +28 -25
  135. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.d.ts +0 -31
  136. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.d.ts.map +0 -1
  137. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.js +0 -53
  138. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.js.map +0 -1
  139. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.d.ts.map +0 -1
  140. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.js.map +0 -1
  141. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.d.ts.map +0 -1
  142. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js +0 -7
  143. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js.map +0 -1
  144. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.d.ts.map +0 -1
  145. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.js.map +0 -1
  146. package/dist/modules/swap/domain/dto/token_swap_request.dto.d.ts.map +0 -1
  147. package/dist/modules/swap/domain/dto/token_swap_request.dto.js.map +0 -1
  148. package/dist/modules/swap/domain/dto/token_swap_response.dto.d.ts.map +0 -1
  149. package/dist/modules/swap/domain/dto/token_swap_response.dto.js.map +0 -1
  150. package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts +0 -27
  151. package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts.map +0 -1
  152. package/dist/modules/token/domain/dto/network_contract_find_token.dto.js.map +0 -1
@@ -0,0 +1,1312 @@
1
+ [
2
+ {
3
+ "coinType": 9001,
4
+ "chainId": 42161,
5
+ "pluton": {
6
+ "address": "0x2ce98643a10abc814031704769957099b6074e32",
7
+ "abi": [
8
+ {
9
+ "type": "constructor",
10
+ "inputs": [],
11
+ "stateMutability": "nonpayable"
12
+ },
13
+ {
14
+ "type": "function",
15
+ "name": "claimAdmin",
16
+ "inputs": [
17
+ {
18
+ "name": "claimAddress",
19
+ "type": "address",
20
+ "internalType": "address"
21
+ },
22
+ {
23
+ "name": "tokenAddress",
24
+ "type": "address",
25
+ "internalType": "address"
26
+ },
27
+ { "name": "amount", "type": "uint256", "internalType": "uint256" }
28
+ ],
29
+ "outputs": [],
30
+ "stateMutability": "nonpayable"
31
+ },
32
+ {
33
+ "type": "function",
34
+ "name": "claimAffiliate",
35
+ "inputs": [
36
+ { "name": "signature", "type": "bytes", "internalType": "bytes" },
37
+ {
38
+ "name": "affiliateAddress",
39
+ "type": "address",
40
+ "internalType": "address"
41
+ },
42
+ {
43
+ "name": "tokenAddress",
44
+ "type": "address",
45
+ "internalType": "address"
46
+ },
47
+ { "name": "amount", "type": "uint256", "internalType": "uint256" }
48
+ ],
49
+ "outputs": [],
50
+ "stateMutability": "nonpayable"
51
+ },
52
+ {
53
+ "type": "function",
54
+ "name": "claimSolver",
55
+ "inputs": [
56
+ { "name": "signature", "type": "bytes", "internalType": "bytes" },
57
+ {
58
+ "name": "claimerAddress",
59
+ "type": "address",
60
+ "internalType": "address"
61
+ },
62
+ {
63
+ "name": "tokenAddress",
64
+ "type": "address",
65
+ "internalType": "address"
66
+ },
67
+ { "name": "amount", "type": "uint256", "internalType": "uint256" }
68
+ ],
69
+ "outputs": [],
70
+ "stateMutability": "nonpayable"
71
+ },
72
+ {
73
+ "type": "function",
74
+ "name": "eip712Domain",
75
+ "inputs": [],
76
+ "outputs": [
77
+ { "name": "fields", "type": "bytes1", "internalType": "bytes1" },
78
+ { "name": "name", "type": "string", "internalType": "string" },
79
+ { "name": "version", "type": "string", "internalType": "string" },
80
+ { "name": "chainId", "type": "uint256", "internalType": "uint256" },
81
+ {
82
+ "name": "verifyingContract",
83
+ "type": "address",
84
+ "internalType": "address"
85
+ },
86
+ { "name": "salt", "type": "bytes32", "internalType": "bytes32" },
87
+ {
88
+ "name": "extensions",
89
+ "type": "uint256[]",
90
+ "internalType": "uint256[]"
91
+ }
92
+ ],
93
+ "stateMutability": "view"
94
+ },
95
+ {
96
+ "type": "function",
97
+ "name": "lastAffiliateAddressAmount",
98
+ "inputs": [
99
+ {
100
+ "name": "affiliateAddress",
101
+ "type": "address",
102
+ "internalType": "address"
103
+ },
104
+ {
105
+ "name": "tokenAddress",
106
+ "type": "address",
107
+ "internalType": "address"
108
+ }
109
+ ],
110
+ "outputs": [
111
+ {
112
+ "name": "lastClaim",
113
+ "type": "uint256",
114
+ "internalType": "uint256"
115
+ }
116
+ ],
117
+ "stateMutability": "view"
118
+ },
119
+ {
120
+ "type": "function",
121
+ "name": "lastRefundAddressAmount",
122
+ "inputs": [
123
+ {
124
+ "name": "refundAddress",
125
+ "type": "address",
126
+ "internalType": "address"
127
+ },
128
+ {
129
+ "name": "tokenAddress",
130
+ "type": "address",
131
+ "internalType": "address"
132
+ }
133
+ ],
134
+ "outputs": [
135
+ {
136
+ "name": "lastClaim",
137
+ "type": "uint256",
138
+ "internalType": "uint256"
139
+ }
140
+ ],
141
+ "stateMutability": "view"
142
+ },
143
+ {
144
+ "type": "function",
145
+ "name": "lastSolverAddressAmount",
146
+ "inputs": [
147
+ {
148
+ "name": "solverAddress",
149
+ "type": "address",
150
+ "internalType": "address"
151
+ },
152
+ {
153
+ "name": "tokenAddress",
154
+ "type": "address",
155
+ "internalType": "address"
156
+ }
157
+ ],
158
+ "outputs": [
159
+ {
160
+ "name": "lastClaim",
161
+ "type": "uint256",
162
+ "internalType": "uint256"
163
+ }
164
+ ],
165
+ "stateMutability": "view"
166
+ },
167
+ {
168
+ "type": "function",
169
+ "name": "owner",
170
+ "inputs": [],
171
+ "outputs": [
172
+ { "name": "", "type": "address", "internalType": "address" }
173
+ ],
174
+ "stateMutability": "view"
175
+ },
176
+ {
177
+ "type": "function",
178
+ "name": "pluton",
179
+ "inputs": [
180
+ {
181
+ "name": "plutonRequest",
182
+ "type": "tuple",
183
+ "internalType": "struct PlutonContract.PlutonRequest",
184
+ "components": [
185
+ { "name": "id", "type": "bytes", "internalType": "bytes" },
186
+ {
187
+ "name": "user",
188
+ "type": "address",
189
+ "internalType": "address"
190
+ },
191
+ {
192
+ "name": "tokenInAddress",
193
+ "type": "address",
194
+ "internalType": "address"
195
+ },
196
+ {
197
+ "name": "amountIn",
198
+ "type": "uint256",
199
+ "internalType": "uint256"
200
+ },
201
+ {
202
+ "name": "initiationExpiry",
203
+ "type": "uint256",
204
+ "internalType": "uint256"
205
+ },
206
+ {
207
+ "name": "orderDataType",
208
+ "type": "bytes32",
209
+ "internalType": "bytes32"
210
+ },
211
+ {
212
+ "name": "orderData",
213
+ "type": "bytes",
214
+ "internalType": "bytes"
215
+ }
216
+ ]
217
+ }
218
+ ],
219
+ "outputs": [],
220
+ "stateMutability": "payable"
221
+ },
222
+ {
223
+ "type": "function",
224
+ "name": "refundUser",
225
+ "inputs": [
226
+ { "name": "signature", "type": "bytes", "internalType": "bytes" },
227
+ {
228
+ "name": "refundAddress",
229
+ "type": "address",
230
+ "internalType": "address"
231
+ },
232
+ {
233
+ "name": "tokenAddress",
234
+ "type": "address",
235
+ "internalType": "address"
236
+ },
237
+ { "name": "amount", "type": "uint256", "internalType": "uint256" }
238
+ ],
239
+ "outputs": [],
240
+ "stateMutability": "nonpayable"
241
+ },
242
+ {
243
+ "type": "function",
244
+ "name": "renounceOwnership",
245
+ "inputs": [],
246
+ "outputs": [],
247
+ "stateMutability": "nonpayable"
248
+ },
249
+ {
250
+ "type": "function",
251
+ "name": "transferOwnership",
252
+ "inputs": [
253
+ { "name": "newOwner", "type": "address", "internalType": "address" }
254
+ ],
255
+ "outputs": [],
256
+ "stateMutability": "nonpayable"
257
+ },
258
+ {
259
+ "type": "event",
260
+ "name": "ClaimAdmin",
261
+ "inputs": [
262
+ {
263
+ "name": "claimerAdmin",
264
+ "type": "address",
265
+ "indexed": true,
266
+ "internalType": "address"
267
+ },
268
+ {
269
+ "name": "tokenAddress",
270
+ "type": "address",
271
+ "indexed": true,
272
+ "internalType": "address"
273
+ },
274
+ {
275
+ "name": "amount",
276
+ "type": "uint256",
277
+ "indexed": true,
278
+ "internalType": "uint256"
279
+ },
280
+ {
281
+ "name": "balanceDifference",
282
+ "type": "uint256",
283
+ "indexed": false,
284
+ "internalType": "uint256"
285
+ }
286
+ ],
287
+ "anonymous": false
288
+ },
289
+ {
290
+ "type": "event",
291
+ "name": "ClaimAffiliate",
292
+ "inputs": [
293
+ {
294
+ "name": "affiliate",
295
+ "type": "address",
296
+ "indexed": true,
297
+ "internalType": "address"
298
+ },
299
+ {
300
+ "name": "tokenAddress",
301
+ "type": "address",
302
+ "indexed": true,
303
+ "internalType": "address"
304
+ },
305
+ {
306
+ "name": "amount",
307
+ "type": "uint256",
308
+ "indexed": true,
309
+ "internalType": "uint256"
310
+ },
311
+ {
312
+ "name": "balanceDifference",
313
+ "type": "uint256",
314
+ "indexed": false,
315
+ "internalType": "uint256"
316
+ }
317
+ ],
318
+ "anonymous": false
319
+ },
320
+ {
321
+ "type": "event",
322
+ "name": "ClaimSolver",
323
+ "inputs": [
324
+ {
325
+ "name": "claimerSolver",
326
+ "type": "address",
327
+ "indexed": true,
328
+ "internalType": "address"
329
+ },
330
+ {
331
+ "name": "tokenAddress",
332
+ "type": "address",
333
+ "indexed": true,
334
+ "internalType": "address"
335
+ },
336
+ {
337
+ "name": "amount",
338
+ "type": "uint256",
339
+ "indexed": true,
340
+ "internalType": "uint256"
341
+ },
342
+ {
343
+ "name": "balanceDifference",
344
+ "type": "uint256",
345
+ "indexed": false,
346
+ "internalType": "uint256"
347
+ }
348
+ ],
349
+ "anonymous": false
350
+ },
351
+ {
352
+ "type": "event",
353
+ "name": "EIP712DomainChanged",
354
+ "inputs": [],
355
+ "anonymous": false
356
+ },
357
+ {
358
+ "type": "event",
359
+ "name": "OwnershipTransferred",
360
+ "inputs": [
361
+ {
362
+ "name": "previousOwner",
363
+ "type": "address",
364
+ "indexed": true,
365
+ "internalType": "address"
366
+ },
367
+ {
368
+ "name": "newOwner",
369
+ "type": "address",
370
+ "indexed": true,
371
+ "internalType": "address"
372
+ }
373
+ ],
374
+ "anonymous": false
375
+ },
376
+ {
377
+ "type": "event",
378
+ "name": "Pluton",
379
+ "inputs": [
380
+ {
381
+ "name": "id",
382
+ "type": "bytes",
383
+ "indexed": true,
384
+ "internalType": "bytes"
385
+ },
386
+ {
387
+ "name": "sender",
388
+ "type": "address",
389
+ "indexed": true,
390
+ "internalType": "address"
391
+ },
392
+ {
393
+ "name": "plutonRequest",
394
+ "type": "tuple",
395
+ "indexed": false,
396
+ "internalType": "struct PlutonContract.PlutonRequest",
397
+ "components": [
398
+ { "name": "id", "type": "bytes", "internalType": "bytes" },
399
+ {
400
+ "name": "user",
401
+ "type": "address",
402
+ "internalType": "address"
403
+ },
404
+ {
405
+ "name": "tokenInAddress",
406
+ "type": "address",
407
+ "internalType": "address"
408
+ },
409
+ {
410
+ "name": "amountIn",
411
+ "type": "uint256",
412
+ "internalType": "uint256"
413
+ },
414
+ {
415
+ "name": "initiationExpiry",
416
+ "type": "uint256",
417
+ "internalType": "uint256"
418
+ },
419
+ {
420
+ "name": "orderDataType",
421
+ "type": "bytes32",
422
+ "internalType": "bytes32"
423
+ },
424
+ {
425
+ "name": "orderData",
426
+ "type": "bytes",
427
+ "internalType": "bytes"
428
+ }
429
+ ]
430
+ },
431
+ {
432
+ "name": "balanceDifference",
433
+ "type": "uint256",
434
+ "indexed": false,
435
+ "internalType": "uint256"
436
+ }
437
+ ],
438
+ "anonymous": false
439
+ },
440
+ {
441
+ "type": "event",
442
+ "name": "Refund",
443
+ "inputs": [
444
+ {
445
+ "name": "refunder",
446
+ "type": "address",
447
+ "indexed": true,
448
+ "internalType": "address"
449
+ },
450
+ {
451
+ "name": "tokenAddress",
452
+ "type": "address",
453
+ "indexed": true,
454
+ "internalType": "address"
455
+ },
456
+ {
457
+ "name": "amount",
458
+ "type": "uint256",
459
+ "indexed": true,
460
+ "internalType": "uint256"
461
+ },
462
+ {
463
+ "name": "balanceDifference",
464
+ "type": "uint256",
465
+ "indexed": false,
466
+ "internalType": "uint256"
467
+ }
468
+ ],
469
+ "anonymous": false
470
+ },
471
+ { "type": "error", "name": "AlreadyResolved", "inputs": [] },
472
+ {
473
+ "type": "error",
474
+ "name": "DeadlineReached",
475
+ "inputs": [
476
+ { "name": "", "type": "uint256", "internalType": "uint256" },
477
+ { "name": "", "type": "uint256", "internalType": "uint256" }
478
+ ]
479
+ },
480
+ { "type": "error", "name": "ECDSAInvalidSignature", "inputs": [] },
481
+ {
482
+ "type": "error",
483
+ "name": "ECDSAInvalidSignatureLength",
484
+ "inputs": [
485
+ { "name": "length", "type": "uint256", "internalType": "uint256" }
486
+ ]
487
+ },
488
+ {
489
+ "type": "error",
490
+ "name": "ECDSAInvalidSignatureS",
491
+ "inputs": [
492
+ { "name": "s", "type": "bytes32", "internalType": "bytes32" }
493
+ ]
494
+ },
495
+ { "type": "error", "name": "EthNotTransferred", "inputs": [] },
496
+ { "type": "error", "name": "InvalidShortString", "inputs": [] },
497
+ {
498
+ "type": "error",
499
+ "name": "OwnableInvalidOwner",
500
+ "inputs": [
501
+ { "name": "owner", "type": "address", "internalType": "address" }
502
+ ]
503
+ },
504
+ {
505
+ "type": "error",
506
+ "name": "OwnableUnauthorizedAccount",
507
+ "inputs": [
508
+ { "name": "account", "type": "address", "internalType": "address" }
509
+ ]
510
+ },
511
+ {
512
+ "type": "error",
513
+ "name": "ReentrancyGuardReentrantCall",
514
+ "inputs": []
515
+ },
516
+ {
517
+ "type": "error",
518
+ "name": "SafeERC20FailedOperation",
519
+ "inputs": [
520
+ { "name": "token", "type": "address", "internalType": "address" }
521
+ ]
522
+ },
523
+ { "type": "error", "name": "SignatureFailed", "inputs": [] },
524
+ {
525
+ "type": "error",
526
+ "name": "StringTooLong",
527
+ "inputs": [
528
+ { "name": "str", "type": "string", "internalType": "string" }
529
+ ]
530
+ },
531
+ {
532
+ "type": "error",
533
+ "name": "ValueNotEnough",
534
+ "inputs": [
535
+ { "name": "", "type": "uint256", "internalType": "uint256" },
536
+ { "name": "", "type": "uint256", "internalType": "uint256" }
537
+ ]
538
+ }
539
+ ]
540
+ },
541
+ "proxy": {
542
+ "address": "0x83d9838B460FD583E9942960B732A494A345a4cc",
543
+ "abi": [
544
+ {
545
+ "type": "constructor",
546
+ "inputs": [
547
+ {
548
+ "name": "_rangoDiamondAddress",
549
+ "type": "address",
550
+ "internalType": "address"
551
+ },
552
+ {
553
+ "name": "_plutonContractAddress",
554
+ "type": "address",
555
+ "internalType": "address"
556
+ },
557
+ {
558
+ "name": "_baseTokenAddress",
559
+ "type": "address",
560
+ "internalType": "address"
561
+ }
562
+ ],
563
+ "stateMutability": "nonpayable"
564
+ },
565
+ {
566
+ "type": "function",
567
+ "name": "baseTokenAddress",
568
+ "inputs": [],
569
+ "outputs": [
570
+ { "name": "", "type": "address", "internalType": "address" }
571
+ ],
572
+ "stateMutability": "view"
573
+ },
574
+ {
575
+ "type": "function",
576
+ "name": "plutonContract",
577
+ "inputs": [],
578
+ "outputs": [
579
+ {
580
+ "name": "",
581
+ "type": "address",
582
+ "internalType": "contract PlutonContract"
583
+ }
584
+ ],
585
+ "stateMutability": "view"
586
+ },
587
+ {
588
+ "type": "function",
589
+ "name": "rangoDiamondAddress",
590
+ "inputs": [],
591
+ "outputs": [
592
+ { "name": "", "type": "address", "internalType": "address" }
593
+ ],
594
+ "stateMutability": "view"
595
+ },
596
+ {
597
+ "type": "function",
598
+ "name": "swapAndpluton",
599
+ "inputs": [
600
+ { "name": "request", "type": "bytes", "internalType": "bytes" },
601
+ {
602
+ "name": "srcTokenAddress",
603
+ "type": "address",
604
+ "internalType": "address"
605
+ },
606
+ {
607
+ "name": "amountIn",
608
+ "type": "uint256",
609
+ "internalType": "uint256"
610
+ },
611
+ {
612
+ "name": "plutonRequest",
613
+ "type": "tuple",
614
+ "internalType": "struct IOnChainSwaps.PlutonRequest",
615
+ "components": [
616
+ { "name": "id", "type": "bytes", "internalType": "bytes" },
617
+ {
618
+ "name": "user",
619
+ "type": "address",
620
+ "internalType": "address"
621
+ },
622
+ {
623
+ "name": "tokenInAddress",
624
+ "type": "address",
625
+ "internalType": "address"
626
+ },
627
+ {
628
+ "name": "initiationExpiry",
629
+ "type": "uint256",
630
+ "internalType": "uint256"
631
+ },
632
+ {
633
+ "name": "orderDataType",
634
+ "type": "bytes32",
635
+ "internalType": "bytes32"
636
+ },
637
+ {
638
+ "name": "orderData",
639
+ "type": "bytes",
640
+ "internalType": "bytes"
641
+ }
642
+ ]
643
+ }
644
+ ],
645
+ "outputs": [],
646
+ "stateMutability": "payable"
647
+ },
648
+ { "type": "error", "name": "RangoSwapFailed", "inputs": [] },
649
+ {
650
+ "type": "error",
651
+ "name": "ReentrancyGuardReentrantCall",
652
+ "inputs": []
653
+ }
654
+ ]
655
+ }
656
+ },
657
+ {
658
+ "coinType": 8453,
659
+ "chainId": 8453,
660
+ "pluton": {
661
+ "address": "0x2C07aD3B59791F630E109C822af6f9f09392C661",
662
+ "abi": [
663
+ {
664
+ "type": "constructor",
665
+ "inputs": [],
666
+ "stateMutability": "nonpayable"
667
+ },
668
+ {
669
+ "type": "function",
670
+ "name": "claimAdmin",
671
+ "inputs": [
672
+ {
673
+ "name": "claimAddress",
674
+ "type": "address",
675
+ "internalType": "address"
676
+ },
677
+ {
678
+ "name": "tokenAddress",
679
+ "type": "address",
680
+ "internalType": "address"
681
+ },
682
+ { "name": "amount", "type": "uint256", "internalType": "uint256" }
683
+ ],
684
+ "outputs": [],
685
+ "stateMutability": "nonpayable"
686
+ },
687
+ {
688
+ "type": "function",
689
+ "name": "claimAffiliate",
690
+ "inputs": [
691
+ { "name": "signature", "type": "bytes", "internalType": "bytes" },
692
+ {
693
+ "name": "affiliateAddress",
694
+ "type": "address",
695
+ "internalType": "address"
696
+ },
697
+ {
698
+ "name": "tokenAddress",
699
+ "type": "address",
700
+ "internalType": "address"
701
+ },
702
+ { "name": "amount", "type": "uint256", "internalType": "uint256" }
703
+ ],
704
+ "outputs": [],
705
+ "stateMutability": "nonpayable"
706
+ },
707
+ {
708
+ "type": "function",
709
+ "name": "claimSolver",
710
+ "inputs": [
711
+ { "name": "signature", "type": "bytes", "internalType": "bytes" },
712
+ {
713
+ "name": "claimerAddress",
714
+ "type": "address",
715
+ "internalType": "address"
716
+ },
717
+ {
718
+ "name": "tokenAddress",
719
+ "type": "address",
720
+ "internalType": "address"
721
+ },
722
+ { "name": "amount", "type": "uint256", "internalType": "uint256" }
723
+ ],
724
+ "outputs": [],
725
+ "stateMutability": "nonpayable"
726
+ },
727
+ {
728
+ "type": "function",
729
+ "name": "eip712Domain",
730
+ "inputs": [],
731
+ "outputs": [
732
+ { "name": "fields", "type": "bytes1", "internalType": "bytes1" },
733
+ { "name": "name", "type": "string", "internalType": "string" },
734
+ { "name": "version", "type": "string", "internalType": "string" },
735
+ { "name": "chainId", "type": "uint256", "internalType": "uint256" },
736
+ {
737
+ "name": "verifyingContract",
738
+ "type": "address",
739
+ "internalType": "address"
740
+ },
741
+ { "name": "salt", "type": "bytes32", "internalType": "bytes32" },
742
+ {
743
+ "name": "extensions",
744
+ "type": "uint256[]",
745
+ "internalType": "uint256[]"
746
+ }
747
+ ],
748
+ "stateMutability": "view"
749
+ },
750
+ {
751
+ "type": "function",
752
+ "name": "lastAffiliateAddressAmount",
753
+ "inputs": [
754
+ {
755
+ "name": "affiliateAddress",
756
+ "type": "address",
757
+ "internalType": "address"
758
+ },
759
+ {
760
+ "name": "tokenAddress",
761
+ "type": "address",
762
+ "internalType": "address"
763
+ }
764
+ ],
765
+ "outputs": [
766
+ {
767
+ "name": "lastClaim",
768
+ "type": "uint256",
769
+ "internalType": "uint256"
770
+ }
771
+ ],
772
+ "stateMutability": "view"
773
+ },
774
+ {
775
+ "type": "function",
776
+ "name": "lastRefundAddressAmount",
777
+ "inputs": [
778
+ {
779
+ "name": "refundAddress",
780
+ "type": "address",
781
+ "internalType": "address"
782
+ },
783
+ {
784
+ "name": "tokenAddress",
785
+ "type": "address",
786
+ "internalType": "address"
787
+ }
788
+ ],
789
+ "outputs": [
790
+ {
791
+ "name": "lastClaim",
792
+ "type": "uint256",
793
+ "internalType": "uint256"
794
+ }
795
+ ],
796
+ "stateMutability": "view"
797
+ },
798
+ {
799
+ "type": "function",
800
+ "name": "lastSolverAddressAmount",
801
+ "inputs": [
802
+ {
803
+ "name": "solverAddress",
804
+ "type": "address",
805
+ "internalType": "address"
806
+ },
807
+ {
808
+ "name": "tokenAddress",
809
+ "type": "address",
810
+ "internalType": "address"
811
+ }
812
+ ],
813
+ "outputs": [
814
+ {
815
+ "name": "lastClaim",
816
+ "type": "uint256",
817
+ "internalType": "uint256"
818
+ }
819
+ ],
820
+ "stateMutability": "view"
821
+ },
822
+ {
823
+ "type": "function",
824
+ "name": "owner",
825
+ "inputs": [],
826
+ "outputs": [
827
+ { "name": "", "type": "address", "internalType": "address" }
828
+ ],
829
+ "stateMutability": "view"
830
+ },
831
+ {
832
+ "type": "function",
833
+ "name": "pluton",
834
+ "inputs": [
835
+ {
836
+ "name": "plutonRequest",
837
+ "type": "tuple",
838
+ "internalType": "struct PlutonContract.PlutonRequest",
839
+ "components": [
840
+ { "name": "id", "type": "bytes", "internalType": "bytes" },
841
+ {
842
+ "name": "user",
843
+ "type": "address",
844
+ "internalType": "address"
845
+ },
846
+ {
847
+ "name": "tokenInAddress",
848
+ "type": "address",
849
+ "internalType": "address"
850
+ },
851
+ {
852
+ "name": "amountIn",
853
+ "type": "uint256",
854
+ "internalType": "uint256"
855
+ },
856
+ {
857
+ "name": "initiationExpiry",
858
+ "type": "uint256",
859
+ "internalType": "uint256"
860
+ },
861
+ {
862
+ "name": "orderDataType",
863
+ "type": "bytes32",
864
+ "internalType": "bytes32"
865
+ },
866
+ {
867
+ "name": "orderData",
868
+ "type": "bytes",
869
+ "internalType": "bytes"
870
+ }
871
+ ]
872
+ }
873
+ ],
874
+ "outputs": [],
875
+ "stateMutability": "payable"
876
+ },
877
+ {
878
+ "type": "function",
879
+ "name": "refundUser",
880
+ "inputs": [
881
+ { "name": "signature", "type": "bytes", "internalType": "bytes" },
882
+ {
883
+ "name": "refundAddress",
884
+ "type": "address",
885
+ "internalType": "address"
886
+ },
887
+ {
888
+ "name": "tokenAddress",
889
+ "type": "address",
890
+ "internalType": "address"
891
+ },
892
+ { "name": "amount", "type": "uint256", "internalType": "uint256" }
893
+ ],
894
+ "outputs": [],
895
+ "stateMutability": "nonpayable"
896
+ },
897
+ {
898
+ "type": "function",
899
+ "name": "renounceOwnership",
900
+ "inputs": [],
901
+ "outputs": [],
902
+ "stateMutability": "nonpayable"
903
+ },
904
+ {
905
+ "type": "function",
906
+ "name": "transferOwnership",
907
+ "inputs": [
908
+ { "name": "newOwner", "type": "address", "internalType": "address" }
909
+ ],
910
+ "outputs": [],
911
+ "stateMutability": "nonpayable"
912
+ },
913
+ {
914
+ "type": "event",
915
+ "name": "ClaimAdmin",
916
+ "inputs": [
917
+ {
918
+ "name": "claimerAdmin",
919
+ "type": "address",
920
+ "indexed": true,
921
+ "internalType": "address"
922
+ },
923
+ {
924
+ "name": "tokenAddress",
925
+ "type": "address",
926
+ "indexed": true,
927
+ "internalType": "address"
928
+ },
929
+ {
930
+ "name": "amount",
931
+ "type": "uint256",
932
+ "indexed": true,
933
+ "internalType": "uint256"
934
+ },
935
+ {
936
+ "name": "balanceDifference",
937
+ "type": "uint256",
938
+ "indexed": false,
939
+ "internalType": "uint256"
940
+ }
941
+ ],
942
+ "anonymous": false
943
+ },
944
+ {
945
+ "type": "event",
946
+ "name": "ClaimAffiliate",
947
+ "inputs": [
948
+ {
949
+ "name": "affiliate",
950
+ "type": "address",
951
+ "indexed": true,
952
+ "internalType": "address"
953
+ },
954
+ {
955
+ "name": "tokenAddress",
956
+ "type": "address",
957
+ "indexed": true,
958
+ "internalType": "address"
959
+ },
960
+ {
961
+ "name": "amount",
962
+ "type": "uint256",
963
+ "indexed": true,
964
+ "internalType": "uint256"
965
+ },
966
+ {
967
+ "name": "balanceDifference",
968
+ "type": "uint256",
969
+ "indexed": false,
970
+ "internalType": "uint256"
971
+ }
972
+ ],
973
+ "anonymous": false
974
+ },
975
+ {
976
+ "type": "event",
977
+ "name": "ClaimSolver",
978
+ "inputs": [
979
+ {
980
+ "name": "claimerSolver",
981
+ "type": "address",
982
+ "indexed": true,
983
+ "internalType": "address"
984
+ },
985
+ {
986
+ "name": "tokenAddress",
987
+ "type": "address",
988
+ "indexed": true,
989
+ "internalType": "address"
990
+ },
991
+ {
992
+ "name": "amount",
993
+ "type": "uint256",
994
+ "indexed": true,
995
+ "internalType": "uint256"
996
+ },
997
+ {
998
+ "name": "balanceDifference",
999
+ "type": "uint256",
1000
+ "indexed": false,
1001
+ "internalType": "uint256"
1002
+ }
1003
+ ],
1004
+ "anonymous": false
1005
+ },
1006
+ {
1007
+ "type": "event",
1008
+ "name": "EIP712DomainChanged",
1009
+ "inputs": [],
1010
+ "anonymous": false
1011
+ },
1012
+ {
1013
+ "type": "event",
1014
+ "name": "OwnershipTransferred",
1015
+ "inputs": [
1016
+ {
1017
+ "name": "previousOwner",
1018
+ "type": "address",
1019
+ "indexed": true,
1020
+ "internalType": "address"
1021
+ },
1022
+ {
1023
+ "name": "newOwner",
1024
+ "type": "address",
1025
+ "indexed": true,
1026
+ "internalType": "address"
1027
+ }
1028
+ ],
1029
+ "anonymous": false
1030
+ },
1031
+ {
1032
+ "type": "event",
1033
+ "name": "Pluton",
1034
+ "inputs": [
1035
+ {
1036
+ "name": "id",
1037
+ "type": "bytes",
1038
+ "indexed": true,
1039
+ "internalType": "bytes"
1040
+ },
1041
+ {
1042
+ "name": "sender",
1043
+ "type": "address",
1044
+ "indexed": true,
1045
+ "internalType": "address"
1046
+ },
1047
+ {
1048
+ "name": "plutonRequest",
1049
+ "type": "tuple",
1050
+ "indexed": false,
1051
+ "internalType": "struct PlutonContract.PlutonRequest",
1052
+ "components": [
1053
+ { "name": "id", "type": "bytes", "internalType": "bytes" },
1054
+ {
1055
+ "name": "user",
1056
+ "type": "address",
1057
+ "internalType": "address"
1058
+ },
1059
+ {
1060
+ "name": "tokenInAddress",
1061
+ "type": "address",
1062
+ "internalType": "address"
1063
+ },
1064
+ {
1065
+ "name": "amountIn",
1066
+ "type": "uint256",
1067
+ "internalType": "uint256"
1068
+ },
1069
+ {
1070
+ "name": "initiationExpiry",
1071
+ "type": "uint256",
1072
+ "internalType": "uint256"
1073
+ },
1074
+ {
1075
+ "name": "orderDataType",
1076
+ "type": "bytes32",
1077
+ "internalType": "bytes32"
1078
+ },
1079
+ {
1080
+ "name": "orderData",
1081
+ "type": "bytes",
1082
+ "internalType": "bytes"
1083
+ }
1084
+ ]
1085
+ },
1086
+ {
1087
+ "name": "balanceDifference",
1088
+ "type": "uint256",
1089
+ "indexed": false,
1090
+ "internalType": "uint256"
1091
+ }
1092
+ ],
1093
+ "anonymous": false
1094
+ },
1095
+ {
1096
+ "type": "event",
1097
+ "name": "Refund",
1098
+ "inputs": [
1099
+ {
1100
+ "name": "refunder",
1101
+ "type": "address",
1102
+ "indexed": true,
1103
+ "internalType": "address"
1104
+ },
1105
+ {
1106
+ "name": "tokenAddress",
1107
+ "type": "address",
1108
+ "indexed": true,
1109
+ "internalType": "address"
1110
+ },
1111
+ {
1112
+ "name": "amount",
1113
+ "type": "uint256",
1114
+ "indexed": true,
1115
+ "internalType": "uint256"
1116
+ },
1117
+ {
1118
+ "name": "balanceDifference",
1119
+ "type": "uint256",
1120
+ "indexed": false,
1121
+ "internalType": "uint256"
1122
+ }
1123
+ ],
1124
+ "anonymous": false
1125
+ },
1126
+ { "type": "error", "name": "AlreadyResolved", "inputs": [] },
1127
+ {
1128
+ "type": "error",
1129
+ "name": "DeadlineReached",
1130
+ "inputs": [
1131
+ { "name": "", "type": "uint256", "internalType": "uint256" },
1132
+ { "name": "", "type": "uint256", "internalType": "uint256" }
1133
+ ]
1134
+ },
1135
+ { "type": "error", "name": "ECDSAInvalidSignature", "inputs": [] },
1136
+ {
1137
+ "type": "error",
1138
+ "name": "ECDSAInvalidSignatureLength",
1139
+ "inputs": [
1140
+ { "name": "length", "type": "uint256", "internalType": "uint256" }
1141
+ ]
1142
+ },
1143
+ {
1144
+ "type": "error",
1145
+ "name": "ECDSAInvalidSignatureS",
1146
+ "inputs": [
1147
+ { "name": "s", "type": "bytes32", "internalType": "bytes32" }
1148
+ ]
1149
+ },
1150
+ { "type": "error", "name": "EthNotTransferred", "inputs": [] },
1151
+ { "type": "error", "name": "InvalidShortString", "inputs": [] },
1152
+ {
1153
+ "type": "error",
1154
+ "name": "OwnableInvalidOwner",
1155
+ "inputs": [
1156
+ { "name": "owner", "type": "address", "internalType": "address" }
1157
+ ]
1158
+ },
1159
+ {
1160
+ "type": "error",
1161
+ "name": "OwnableUnauthorizedAccount",
1162
+ "inputs": [
1163
+ { "name": "account", "type": "address", "internalType": "address" }
1164
+ ]
1165
+ },
1166
+ {
1167
+ "type": "error",
1168
+ "name": "ReentrancyGuardReentrantCall",
1169
+ "inputs": []
1170
+ },
1171
+ {
1172
+ "type": "error",
1173
+ "name": "SafeERC20FailedOperation",
1174
+ "inputs": [
1175
+ { "name": "token", "type": "address", "internalType": "address" }
1176
+ ]
1177
+ },
1178
+ { "type": "error", "name": "SignatureFailed", "inputs": [] },
1179
+ {
1180
+ "type": "error",
1181
+ "name": "StringTooLong",
1182
+ "inputs": [
1183
+ { "name": "str", "type": "string", "internalType": "string" }
1184
+ ]
1185
+ },
1186
+ {
1187
+ "type": "error",
1188
+ "name": "ValueNotEnough",
1189
+ "inputs": [
1190
+ { "name": "", "type": "uint256", "internalType": "uint256" },
1191
+ { "name": "", "type": "uint256", "internalType": "uint256" }
1192
+ ]
1193
+ }
1194
+ ]
1195
+ },
1196
+ "proxy": {
1197
+ "address": "0x937848941811143d599AdfF13317728EC4876B7b",
1198
+ "abi": [
1199
+ {
1200
+ "type": "constructor",
1201
+ "inputs": [
1202
+ {
1203
+ "name": "_rangoDiamondAddress",
1204
+ "type": "address",
1205
+ "internalType": "address"
1206
+ },
1207
+ {
1208
+ "name": "_plutonContractAddress",
1209
+ "type": "address",
1210
+ "internalType": "address"
1211
+ },
1212
+ {
1213
+ "name": "_baseTokenAddress",
1214
+ "type": "address",
1215
+ "internalType": "address"
1216
+ }
1217
+ ],
1218
+ "stateMutability": "nonpayable"
1219
+ },
1220
+ {
1221
+ "type": "function",
1222
+ "name": "baseTokenAddress",
1223
+ "inputs": [],
1224
+ "outputs": [
1225
+ { "name": "", "type": "address", "internalType": "address" }
1226
+ ],
1227
+ "stateMutability": "view"
1228
+ },
1229
+ {
1230
+ "type": "function",
1231
+ "name": "plutonContract",
1232
+ "inputs": [],
1233
+ "outputs": [
1234
+ {
1235
+ "name": "",
1236
+ "type": "address",
1237
+ "internalType": "contract PlutonContract"
1238
+ }
1239
+ ],
1240
+ "stateMutability": "view"
1241
+ },
1242
+ {
1243
+ "type": "function",
1244
+ "name": "rangoDiamondAddress",
1245
+ "inputs": [],
1246
+ "outputs": [
1247
+ { "name": "", "type": "address", "internalType": "address" }
1248
+ ],
1249
+ "stateMutability": "view"
1250
+ },
1251
+ {
1252
+ "type": "function",
1253
+ "name": "swapAndpluton",
1254
+ "inputs": [
1255
+ { "name": "request", "type": "bytes", "internalType": "bytes" },
1256
+ {
1257
+ "name": "srcTokenAddress",
1258
+ "type": "address",
1259
+ "internalType": "address"
1260
+ },
1261
+ {
1262
+ "name": "amountIn",
1263
+ "type": "uint256",
1264
+ "internalType": "uint256"
1265
+ },
1266
+ {
1267
+ "name": "plutonRequest",
1268
+ "type": "tuple",
1269
+ "internalType": "struct IOnChainSwaps.PlutonRequest",
1270
+ "components": [
1271
+ { "name": "id", "type": "bytes", "internalType": "bytes" },
1272
+ {
1273
+ "name": "user",
1274
+ "type": "address",
1275
+ "internalType": "address"
1276
+ },
1277
+ {
1278
+ "name": "tokenInAddress",
1279
+ "type": "address",
1280
+ "internalType": "address"
1281
+ },
1282
+ {
1283
+ "name": "initiationExpiry",
1284
+ "type": "uint256",
1285
+ "internalType": "uint256"
1286
+ },
1287
+ {
1288
+ "name": "orderDataType",
1289
+ "type": "bytes32",
1290
+ "internalType": "bytes32"
1291
+ },
1292
+ {
1293
+ "name": "orderData",
1294
+ "type": "bytes",
1295
+ "internalType": "bytes"
1296
+ }
1297
+ ]
1298
+ }
1299
+ ],
1300
+ "outputs": [],
1301
+ "stateMutability": "payable"
1302
+ },
1303
+ { "type": "error", "name": "RangoSwapFailed", "inputs": [] },
1304
+ {
1305
+ "type": "error",
1306
+ "name": "ReentrancyGuardReentrantCall",
1307
+ "inputs": []
1308
+ }
1309
+ ]
1310
+ }
1311
+ }
1312
+ ]