@paraswap/dex-lib 2.12.12 → 2.12.13-curvev1-cusdc-enable.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/abi/maverick/pool.json +913 -0
- package/build/abi/maverick/router.json +703 -0
- package/build/dex/curve-v1/config.js +0 -2
- package/build/dex/curve-v1/config.js.map +1 -1
- package/build/dex/curve-v1/curve-v1.js +0 -2
- package/build/dex/curve-v1/curve-v1.js.map +1 -1
- package/build/dex/curve-v1/types.d.ts +0 -1
- package/build/dex/curve-v1/types.js.map +1 -1
- package/build/dex/maverick/config.d.ts +4 -0
- package/build/dex/maverick/config.js +20 -0
- package/build/dex/maverick/config.js.map +1 -0
- package/build/dex/maverick/maverick-math/maverick-pool-math.d.ts +67 -0
- package/build/dex/maverick/maverick-math/maverick-pool-math.js +406 -0
- package/build/dex/maverick/maverick-math/maverick-pool-math.js.map +1 -0
- package/build/dex/maverick/maverick-math/maverick-sol-math.d.ts +17 -0
- package/build/dex/maverick/maverick-math/maverick-sol-math.js +139 -0
- package/build/dex/maverick/maverick-math/maverick-sol-math.js.map +1 -0
- package/build/dex/maverick/maverick-pool.d.ts +41 -0
- package/build/dex/maverick/maverick-pool.js +130 -0
- package/build/dex/maverick/maverick-pool.js.map +1 -0
- package/build/dex/maverick/maverick.d.ts +42 -0
- package/build/dex/maverick/maverick.js +174 -0
- package/build/dex/maverick/maverick.js.map +1 -0
- package/build/dex/maverick/subgraph-queries.d.ts +4 -0
- package/build/dex/maverick/subgraph-queries.js +114 -0
- package/build/dex/maverick/subgraph-queries.js.map +1 -0
- package/build/dex/maverick/types.d.ts +46 -0
- package/build/dex/{test-dex → maverick}/types.js.map +1 -1
- package/package.json +1 -1
- package/src/dex/curve-v1/config.ts +0 -2
- package/src/dex/curve-v1/curve-v1-e2e.test.ts +37 -18
- package/src/dex/curve-v1/curve-v1.ts +0 -2
- package/src/dex/curve-v1/types.ts +0 -1
- package/tests/constants-e2e.ts +6 -1
- package/build/abi/augustus.json +0 -375
- package/build/abi/woo-fi-v2/IntegrationHelper.abi.json +0 -116
- package/build/abi/woo-fi-v2/WooOracleV2.abi.json +0 -358
- package/build/abi/woo-fi-v2/WooPPV2.abi.json +0 -580
- package/build/dex/aave-v3/tokens/arbitrum.json +0 -50
- package/build/dex/aave-v3/tokens/avalanche.json +0 -74
- package/build/dex/aave-v3/tokens/fantom.json +0 -62
- package/build/dex/aave-v3/tokens/optimism.json +0 -50
- package/build/dex/aave-v3/tokens/polygon.json +0 -116
- package/build/dex/hashflow/rate-fetcher.d.ts +0 -14
- package/build/dex/hashflow/rate-fetcher.js +0 -37
- package/build/dex/hashflow/rate-fetcher.js.map +0 -1
- package/build/dex/hashflow/validators.d.ts +0 -3
- package/build/dex/hashflow/validators.js +0 -12
- package/build/dex/hashflow/validators.js.map +0 -1
- package/build/dex/test-dex/config.d.ts +0 -4
- package/build/dex/test-dex/config.js +0 -15
- package/build/dex/test-dex/config.js.map +0 -1
- package/build/dex/test-dex/test-dex-pool.d.ts +0 -39
- package/build/dex/test-dex/test-dex-pool.js +0 -63
- package/build/dex/test-dex/test-dex-pool.js.map +0 -1
- package/build/dex/test-dex/test-dex.d.ts +0 -37
- package/build/dex/test-dex/test-dex.js +0 -126
- package/build/dex/test-dex/test-dex.js.map +0 -1
- package/build/dex/test-dex/types.d.ts +0 -6
- package/build/dex/woo-fi-v2/config.d.ts +0 -4
- package/build/dex/woo-fi-v2/config.js +0 -87
- package/build/dex/woo-fi-v2/config.js.map +0 -1
- package/build/dex/woo-fi-v2/constants.d.ts +0 -5
- package/build/dex/woo-fi-v2/constants.js +0 -15
- package/build/dex/woo-fi-v2/constants.js.map +0 -1
- package/build/dex/woo-fi-v2/decoders.d.ts +0 -6
- package/build/dex/woo-fi-v2/decoders.js +0 -29
- package/build/dex/woo-fi-v2/decoders.js.map +0 -1
- package/build/dex/woo-fi-v2/types.d.ts +0 -41
- package/build/dex/woo-fi-v2/types.js +0 -3
- package/build/dex/woo-fi-v2/types.js.map +0 -1
- package/build/dex/woo-fi-v2/utils.d.ts +0 -2
- package/build/dex/woo-fi-v2/utils.js +0 -24
- package/build/dex/woo-fi-v2/utils.js.map +0 -1
- package/build/dex/woo-fi-v2/woo-fi-math.d.ts +0 -16
- package/build/dex/woo-fi-v2/woo-fi-math.js +0 -137
- package/build/dex/woo-fi-v2/woo-fi-math.js.map +0 -1
- package/build/dex/woo-fi-v2/woo-fi-v2-math.d.ts +0 -16
- package/build/dex/woo-fi-v2/woo-fi-v2-math.js +0 -137
- package/build/dex/woo-fi-v2/woo-fi-v2-math.js.map +0 -1
- package/build/dex/woo-fi-v2/woo-fi-v2-pool.d.ts +0 -12
- package/build/dex/woo-fi-v2/woo-fi-v2-pool.js +0 -79
- package/build/dex/woo-fi-v2/woo-fi-v2-pool.js.map +0 -1
- package/build/dex/woo-fi-v2/woo-fi-v2.d.ts +0 -52
- package/build/dex/woo-fi-v2/woo-fi-v2.js +0 -310
- package/build/dex/woo-fi-v2/woo-fi-v2.js.map +0 -1
- package/build/lib/log-messages-suppressor.d.ts +0 -30
- package/build/lib/log-messages-suppressor.js +0 -107
- package/build/lib/log-messages-suppressor.js.map +0 -1
- package/build/lib/stateful-rpc-poller/state-polling-manager.d.ts +0 -23
- package/build/lib/stateful-rpc-poller/state-polling-manager.js +0 -173
- package/build/lib/stateful-rpc-poller/state-polling-manager.js.map +0 -1
- package/build/lib/stateful-rpc-poller/stateful-rpc-poller.d.ts +0 -72
- package/build/lib/stateful-rpc-poller/stateful-rpc-poller.js +0 -369
- package/build/lib/stateful-rpc-poller/stateful-rpc-poller.js.map +0 -1
- package/build/lib/stateful-rpc-poller/types.d.ts +0 -35
- package/build/lib/stateful-rpc-poller/types.js +0 -10
- package/build/lib/stateful-rpc-poller/types.js.map +0 -1
- package/build/lib/stateful-rpc-poller/utils.d.ts +0 -4
- package/build/lib/stateful-rpc-poller/utils.js +0 -17
- package/build/lib/stateful-rpc-poller/utils.js.map +0 -1
- package/build/lib/validators.d.ts +0 -7
- package/build/lib/validators.js +0 -27
- package/build/lib/validators.js.map +0 -1
- /package/build/dex/{test-dex → maverick}/types.js +0 -0
package/tests/constants-e2e.ts
CHANGED
|
@@ -33,6 +33,10 @@ export const Tokens: {
|
|
|
33
33
|
addBalance: balancesFn,
|
|
34
34
|
addAllowance: allowedFn,
|
|
35
35
|
},
|
|
36
|
+
CUSDC: {
|
|
37
|
+
address: '0x39AA39c021dfbaE8faC545936693aC917d5E7563',
|
|
38
|
+
decimals: 8,
|
|
39
|
+
},
|
|
36
40
|
WBTC: {
|
|
37
41
|
address: '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599',
|
|
38
42
|
decimals: 8,
|
|
@@ -801,7 +805,7 @@ export const Holders: {
|
|
|
801
805
|
CVX: '0x0aCA67Fa70B142A3b9bF2eD89A81B40ff85dACdC',
|
|
802
806
|
MIM: '0xa046a8660e66d178ee07ec97c585eeb6aa18c26c',
|
|
803
807
|
AnkETH: '0xF7260D4ADc48fEefd5a19a9Eb23f9747CeE15C92',
|
|
804
|
-
DAI: '
|
|
808
|
+
DAI: '0x60FaAe176336dAb62e284Fe19B885B095d29fB7F',
|
|
805
809
|
oldFRAX: '0x183d0dc5867c01bfb1dbbc41d6a9d3de6e044626',
|
|
806
810
|
newFRAX: '0x183d0dc5867c01bfb1dbbc41d6a9d3de6e044626',
|
|
807
811
|
FEI: '0x19c549357034d10db8d75ed812b45be1dd8a7218',
|
|
@@ -823,6 +827,7 @@ export const Holders: {
|
|
|
823
827
|
ADAIv1: '0x3021026e4ff227571a5a563ad19ea657c7027e59',
|
|
824
828
|
CETH: '0x712d0f306956a6a4b4f9319ad9b9de48c5345996',
|
|
825
829
|
CDAI: '0xab4ce310054a11328685ece1043211b68ba5d082',
|
|
830
|
+
CUSDC: '0xC2F61a6eEEC48d686901D325CDE9233b81c793F3',
|
|
826
831
|
EURS: '0xC1056Adeb61a01964Ea265cA95EffB7016f9Ed78',
|
|
827
832
|
EURT: '0x6914FC70fAC4caB20a8922E900C4BA57fEECf8E1',
|
|
828
833
|
CRV: '0x7a16fF8270133F063aAb6C9977183D9e72835428',
|
package/build/abi/augustus.json
DELETED
|
@@ -1,375 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [
|
|
4
|
-
{
|
|
5
|
-
"internalType": "address payable",
|
|
6
|
-
"name": "_feeWallet",
|
|
7
|
-
"type": "address"
|
|
8
|
-
}
|
|
9
|
-
],
|
|
10
|
-
"stateMutability": "nonpayable",
|
|
11
|
-
"type": "constructor"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"anonymous": false,
|
|
15
|
-
"inputs": [
|
|
16
|
-
{
|
|
17
|
-
"indexed": true,
|
|
18
|
-
"internalType": "address",
|
|
19
|
-
"name": "adapter",
|
|
20
|
-
"type": "address"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"name": "AdapterInitialized",
|
|
24
|
-
"type": "event"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"anonymous": false,
|
|
28
|
-
"inputs": [
|
|
29
|
-
{
|
|
30
|
-
"indexed": true,
|
|
31
|
-
"internalType": "bytes32",
|
|
32
|
-
"name": "role",
|
|
33
|
-
"type": "bytes32"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"indexed": true,
|
|
37
|
-
"internalType": "bytes32",
|
|
38
|
-
"name": "previousAdminRole",
|
|
39
|
-
"type": "bytes32"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"indexed": true,
|
|
43
|
-
"internalType": "bytes32",
|
|
44
|
-
"name": "newAdminRole",
|
|
45
|
-
"type": "bytes32"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"name": "RoleAdminChanged",
|
|
49
|
-
"type": "event"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"anonymous": false,
|
|
53
|
-
"inputs": [
|
|
54
|
-
{
|
|
55
|
-
"indexed": true,
|
|
56
|
-
"internalType": "bytes32",
|
|
57
|
-
"name": "role",
|
|
58
|
-
"type": "bytes32"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"indexed": true,
|
|
62
|
-
"internalType": "address",
|
|
63
|
-
"name": "account",
|
|
64
|
-
"type": "address"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"indexed": true,
|
|
68
|
-
"internalType": "address",
|
|
69
|
-
"name": "sender",
|
|
70
|
-
"type": "address"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"name": "RoleGranted",
|
|
74
|
-
"type": "event"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"anonymous": false,
|
|
78
|
-
"inputs": [
|
|
79
|
-
{
|
|
80
|
-
"indexed": true,
|
|
81
|
-
"internalType": "bytes32",
|
|
82
|
-
"name": "role",
|
|
83
|
-
"type": "bytes32"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"indexed": true,
|
|
87
|
-
"internalType": "address",
|
|
88
|
-
"name": "account",
|
|
89
|
-
"type": "address"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"indexed": true,
|
|
93
|
-
"internalType": "address",
|
|
94
|
-
"name": "sender",
|
|
95
|
-
"type": "address"
|
|
96
|
-
}
|
|
97
|
-
],
|
|
98
|
-
"name": "RoleRevoked",
|
|
99
|
-
"type": "event"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"anonymous": false,
|
|
103
|
-
"inputs": [
|
|
104
|
-
{
|
|
105
|
-
"indexed": true,
|
|
106
|
-
"internalType": "address",
|
|
107
|
-
"name": "router",
|
|
108
|
-
"type": "address"
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"name": "RouterInitialized",
|
|
112
|
-
"type": "event"
|
|
113
|
-
},
|
|
114
|
-
{ "stateMutability": "payable", "type": "fallback" },
|
|
115
|
-
{
|
|
116
|
-
"inputs": [],
|
|
117
|
-
"name": "DEFAULT_ADMIN_ROLE",
|
|
118
|
-
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
119
|
-
"stateMutability": "view",
|
|
120
|
-
"type": "function"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"inputs": [],
|
|
124
|
-
"name": "ROUTER_ROLE",
|
|
125
|
-
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
126
|
-
"stateMutability": "view",
|
|
127
|
-
"type": "function"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"inputs": [],
|
|
131
|
-
"name": "WHITELISTED_ROLE",
|
|
132
|
-
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
133
|
-
"stateMutability": "view",
|
|
134
|
-
"type": "function"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }],
|
|
138
|
-
"name": "getAdapterData",
|
|
139
|
-
"outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
|
|
140
|
-
"stateMutability": "view",
|
|
141
|
-
"type": "function"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"inputs": [],
|
|
145
|
-
"name": "getFeeWallet",
|
|
146
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
147
|
-
"stateMutability": "view",
|
|
148
|
-
"type": "function"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"inputs": [
|
|
152
|
-
{ "internalType": "bytes4", "name": "selector", "type": "bytes4" }
|
|
153
|
-
],
|
|
154
|
-
"name": "getImplementation",
|
|
155
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
156
|
-
"stateMutability": "view",
|
|
157
|
-
"type": "function"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"inputs": [
|
|
161
|
-
{ "internalType": "address", "name": "partner", "type": "address" }
|
|
162
|
-
],
|
|
163
|
-
"name": "getPartnerFeeStructure",
|
|
164
|
-
"outputs": [
|
|
165
|
-
{
|
|
166
|
-
"components": [
|
|
167
|
-
{
|
|
168
|
-
"internalType": "uint256",
|
|
169
|
-
"name": "partnerShare",
|
|
170
|
-
"type": "uint256"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"internalType": "bool",
|
|
174
|
-
"name": "noPositiveSlippage",
|
|
175
|
-
"type": "bool"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"internalType": "bool",
|
|
179
|
-
"name": "positiveSlippageToUser",
|
|
180
|
-
"type": "bool"
|
|
181
|
-
},
|
|
182
|
-
{ "internalType": "uint16", "name": "feePercent", "type": "uint16" },
|
|
183
|
-
{ "internalType": "string", "name": "partnerId", "type": "string" },
|
|
184
|
-
{ "internalType": "bytes", "name": "data", "type": "bytes" }
|
|
185
|
-
],
|
|
186
|
-
"internalType": "struct AugustusStorage.FeeStructure",
|
|
187
|
-
"name": "",
|
|
188
|
-
"type": "tuple"
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
"stateMutability": "view",
|
|
192
|
-
"type": "function"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"inputs": [
|
|
196
|
-
{ "internalType": "bytes32", "name": "role", "type": "bytes32" }
|
|
197
|
-
],
|
|
198
|
-
"name": "getRoleAdmin",
|
|
199
|
-
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
200
|
-
"stateMutability": "view",
|
|
201
|
-
"type": "function"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"inputs": [
|
|
205
|
-
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
|
|
206
|
-
{ "internalType": "uint256", "name": "index", "type": "uint256" }
|
|
207
|
-
],
|
|
208
|
-
"name": "getRoleMember",
|
|
209
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
210
|
-
"stateMutability": "view",
|
|
211
|
-
"type": "function"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"inputs": [
|
|
215
|
-
{ "internalType": "bytes32", "name": "role", "type": "bytes32" }
|
|
216
|
-
],
|
|
217
|
-
"name": "getRoleMemberCount",
|
|
218
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
219
|
-
"stateMutability": "view",
|
|
220
|
-
"type": "function"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }],
|
|
224
|
-
"name": "getRouterData",
|
|
225
|
-
"outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
|
|
226
|
-
"stateMutability": "view",
|
|
227
|
-
"type": "function"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"inputs": [],
|
|
231
|
-
"name": "getTokenTransferProxy",
|
|
232
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
233
|
-
"stateMutability": "view",
|
|
234
|
-
"type": "function"
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"inputs": [],
|
|
238
|
-
"name": "getVersion",
|
|
239
|
-
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
|
|
240
|
-
"stateMutability": "pure",
|
|
241
|
-
"type": "function"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"inputs": [
|
|
245
|
-
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
|
|
246
|
-
{ "internalType": "address", "name": "account", "type": "address" }
|
|
247
|
-
],
|
|
248
|
-
"name": "grantRole",
|
|
249
|
-
"outputs": [],
|
|
250
|
-
"stateMutability": "nonpayable",
|
|
251
|
-
"type": "function"
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"inputs": [
|
|
255
|
-
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
|
|
256
|
-
{ "internalType": "address", "name": "account", "type": "address" }
|
|
257
|
-
],
|
|
258
|
-
"name": "hasRole",
|
|
259
|
-
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
260
|
-
"stateMutability": "view",
|
|
261
|
-
"type": "function"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"inputs": [
|
|
265
|
-
{ "internalType": "address", "name": "adapter", "type": "address" },
|
|
266
|
-
{ "internalType": "bytes", "name": "data", "type": "bytes" }
|
|
267
|
-
],
|
|
268
|
-
"name": "initializeAdapter",
|
|
269
|
-
"outputs": [],
|
|
270
|
-
"stateMutability": "nonpayable",
|
|
271
|
-
"type": "function"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"inputs": [
|
|
275
|
-
{ "internalType": "address", "name": "router", "type": "address" },
|
|
276
|
-
{ "internalType": "bytes", "name": "data", "type": "bytes" }
|
|
277
|
-
],
|
|
278
|
-
"name": "initializeRouter",
|
|
279
|
-
"outputs": [],
|
|
280
|
-
"stateMutability": "nonpayable",
|
|
281
|
-
"type": "function"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }],
|
|
285
|
-
"name": "isAdapterInitialized",
|
|
286
|
-
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
287
|
-
"stateMutability": "view",
|
|
288
|
-
"type": "function"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }],
|
|
292
|
-
"name": "isRouterInitialized",
|
|
293
|
-
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
294
|
-
"stateMutability": "view",
|
|
295
|
-
"type": "function"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"inputs": [
|
|
299
|
-
{ "internalType": "address", "name": "partner", "type": "address" },
|
|
300
|
-
{ "internalType": "uint256", "name": "_partnerShare", "type": "uint256" },
|
|
301
|
-
{ "internalType": "bool", "name": "_noPositiveSlippage", "type": "bool" },
|
|
302
|
-
{
|
|
303
|
-
"internalType": "bool",
|
|
304
|
-
"name": "_positiveSlippageToUser",
|
|
305
|
-
"type": "bool"
|
|
306
|
-
},
|
|
307
|
-
{ "internalType": "uint16", "name": "_feePercent", "type": "uint16" },
|
|
308
|
-
{ "internalType": "string", "name": "partnerId", "type": "string" },
|
|
309
|
-
{ "internalType": "bytes", "name": "_data", "type": "bytes" }
|
|
310
|
-
],
|
|
311
|
-
"name": "registerPartner",
|
|
312
|
-
"outputs": [],
|
|
313
|
-
"stateMutability": "nonpayable",
|
|
314
|
-
"type": "function"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"inputs": [
|
|
318
|
-
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
|
|
319
|
-
{ "internalType": "address", "name": "account", "type": "address" }
|
|
320
|
-
],
|
|
321
|
-
"name": "renounceRole",
|
|
322
|
-
"outputs": [],
|
|
323
|
-
"stateMutability": "nonpayable",
|
|
324
|
-
"type": "function"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"inputs": [
|
|
328
|
-
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
|
|
329
|
-
{ "internalType": "address", "name": "account", "type": "address" }
|
|
330
|
-
],
|
|
331
|
-
"name": "revokeRole",
|
|
332
|
-
"outputs": [],
|
|
333
|
-
"stateMutability": "nonpayable",
|
|
334
|
-
"type": "function"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"inputs": [
|
|
338
|
-
{
|
|
339
|
-
"internalType": "address payable",
|
|
340
|
-
"name": "_feeWallet",
|
|
341
|
-
"type": "address"
|
|
342
|
-
}
|
|
343
|
-
],
|
|
344
|
-
"name": "setFeeWallet",
|
|
345
|
-
"outputs": [],
|
|
346
|
-
"stateMutability": "nonpayable",
|
|
347
|
-
"type": "function"
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"inputs": [
|
|
351
|
-
{ "internalType": "bytes4", "name": "selector", "type": "bytes4" },
|
|
352
|
-
{ "internalType": "address", "name": "implementation", "type": "address" }
|
|
353
|
-
],
|
|
354
|
-
"name": "setImplementation",
|
|
355
|
-
"outputs": [],
|
|
356
|
-
"stateMutability": "nonpayable",
|
|
357
|
-
"type": "function"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"inputs": [
|
|
361
|
-
{ "internalType": "address", "name": "token", "type": "address" },
|
|
362
|
-
{
|
|
363
|
-
"internalType": "address payable",
|
|
364
|
-
"name": "destination",
|
|
365
|
-
"type": "address"
|
|
366
|
-
},
|
|
367
|
-
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
368
|
-
],
|
|
369
|
-
"name": "transferTokens",
|
|
370
|
-
"outputs": [],
|
|
371
|
-
"stateMutability": "nonpayable",
|
|
372
|
-
"type": "function"
|
|
373
|
-
},
|
|
374
|
-
{ "stateMutability": "payable", "type": "receive" }
|
|
375
|
-
]
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [
|
|
4
|
-
{ "internalType": "address", "name": "_quoteToken", "type": "address" },
|
|
5
|
-
{
|
|
6
|
-
"internalType": "address[]",
|
|
7
|
-
"name": "_baseTokens",
|
|
8
|
-
"type": "address[]"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"stateMutability": "nonpayable",
|
|
12
|
-
"type": "constructor"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"anonymous": false,
|
|
16
|
-
"inputs": [
|
|
17
|
-
{
|
|
18
|
-
"indexed": true,
|
|
19
|
-
"internalType": "address",
|
|
20
|
-
"name": "previousOwner",
|
|
21
|
-
"type": "address"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"indexed": true,
|
|
25
|
-
"internalType": "address",
|
|
26
|
-
"name": "newOwner",
|
|
27
|
-
"type": "address"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"name": "OwnershipTransferred",
|
|
31
|
-
"type": "event"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"inputs": [
|
|
35
|
-
{ "internalType": "address", "name": "token", "type": "address" }
|
|
36
|
-
],
|
|
37
|
-
"name": "addBaseToken",
|
|
38
|
-
"outputs": [],
|
|
39
|
-
"stateMutability": "nonpayable",
|
|
40
|
-
"type": "function"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"inputs": [],
|
|
44
|
-
"name": "allBaseTokens",
|
|
45
|
-
"outputs": [
|
|
46
|
-
{ "internalType": "address[]", "name": "", "type": "address[]" }
|
|
47
|
-
],
|
|
48
|
-
"stateMutability": "view",
|
|
49
|
-
"type": "function"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"inputs": [],
|
|
53
|
-
"name": "allBaseTokensLength",
|
|
54
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
55
|
-
"stateMutability": "view",
|
|
56
|
-
"type": "function"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"inputs": [],
|
|
60
|
-
"name": "getSupportTokens",
|
|
61
|
-
"outputs": [
|
|
62
|
-
{ "internalType": "address", "name": "", "type": "address" },
|
|
63
|
-
{ "internalType": "address[]", "name": "", "type": "address[]" }
|
|
64
|
-
],
|
|
65
|
-
"stateMutability": "view",
|
|
66
|
-
"type": "function"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"inputs": [],
|
|
70
|
-
"name": "owner",
|
|
71
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
72
|
-
"stateMutability": "view",
|
|
73
|
-
"type": "function"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"inputs": [],
|
|
77
|
-
"name": "quoteToken",
|
|
78
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
79
|
-
"stateMutability": "view",
|
|
80
|
-
"type": "function"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"inputs": [
|
|
84
|
-
{ "internalType": "address", "name": "token", "type": "address" }
|
|
85
|
-
],
|
|
86
|
-
"name": "removeBaseToken",
|
|
87
|
-
"outputs": [],
|
|
88
|
-
"stateMutability": "nonpayable",
|
|
89
|
-
"type": "function"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"inputs": [],
|
|
93
|
-
"name": "renounceOwnership",
|
|
94
|
-
"outputs": [],
|
|
95
|
-
"stateMutability": "nonpayable",
|
|
96
|
-
"type": "function"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"inputs": [
|
|
100
|
-
{ "internalType": "address", "name": "_quoteToken", "type": "address" }
|
|
101
|
-
],
|
|
102
|
-
"name": "setQutoeToken",
|
|
103
|
-
"outputs": [],
|
|
104
|
-
"stateMutability": "nonpayable",
|
|
105
|
-
"type": "function"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"inputs": [
|
|
109
|
-
{ "internalType": "address", "name": "newOwner", "type": "address" }
|
|
110
|
-
],
|
|
111
|
-
"name": "transferOwnership",
|
|
112
|
-
"outputs": [],
|
|
113
|
-
"stateMutability": "nonpayable",
|
|
114
|
-
"type": "function"
|
|
115
|
-
}
|
|
116
|
-
]
|