@clober/v2-sdk 0.0.59 → 0.0.60
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/dist/cjs/abis/rebalancer/minter-abi.js +262 -0
- package/dist/cjs/abis/rebalancer/minter-abi.js.map +1 -0
- package/dist/cjs/abis/rebalancer/mock-swap-abi.js +95 -0
- package/dist/cjs/abis/rebalancer/mock-swap-abi.js.map +1 -0
- package/dist/cjs/abis/rebalancer/operator-abi.js +370 -0
- package/dist/cjs/abis/rebalancer/operator-abi.js.map +1 -0
- package/dist/cjs/abis/rebalancer/rebalancer-abi.js +1235 -0
- package/dist/cjs/abis/rebalancer/rebalancer-abi.js.map +1 -0
- package/dist/cjs/abis/rebalancer/strategy-abi.js +633 -0
- package/dist/cjs/abis/rebalancer/strategy-abi.js.map +1 -0
- package/dist/cjs/apis/market.js +2 -2
- package/dist/cjs/apis/market.js.map +1 -1
- package/dist/cjs/apis/odos.js +100 -0
- package/dist/cjs/apis/odos.js.map +1 -0
- package/dist/cjs/apis/pool.js +61 -0
- package/dist/cjs/apis/pool.js.map +1 -0
- package/dist/cjs/apis/strategy.js +23 -0
- package/dist/cjs/apis/strategy.js.map +1 -0
- package/dist/cjs/call.js +359 -1
- package/dist/cjs/call.js.map +1 -1
- package/dist/cjs/constants/addresses.js +23 -3
- package/dist/cjs/constants/addresses.js.map +1 -1
- package/dist/cjs/constants/chain.js +5 -1
- package/dist/cjs/constants/chain.js.map +1 -1
- package/dist/cjs/constants/permit.js +13 -0
- package/dist/cjs/constants/permit.js.map +1 -0
- package/dist/cjs/constants/subgraph.js +1 -1
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/model/market.js +45 -0
- package/dist/cjs/model/market.js.map +1 -1
- package/dist/cjs/model/pool.js +136 -0
- package/dist/cjs/model/pool.js.map +1 -0
- package/dist/cjs/model/strategy.js +3 -0
- package/dist/cjs/model/strategy.js.map +1 -0
- package/dist/cjs/type.js.map +1 -1
- package/dist/cjs/utils/math.js +3 -1
- package/dist/cjs/utils/math.js.map +1 -1
- package/dist/cjs/utils/open.js +34 -35
- package/dist/cjs/utils/open.js.map +1 -1
- package/dist/cjs/utils/pool-key.js +17 -0
- package/dist/cjs/utils/pool-key.js.map +1 -0
- package/dist/cjs/utils/pool.js +88 -0
- package/dist/cjs/utils/pool.js.map +1 -0
- package/dist/cjs/utils/prices.js +7 -2
- package/dist/cjs/utils/prices.js.map +1 -1
- package/dist/cjs/view.js +37 -30
- package/dist/cjs/view.js.map +1 -1
- package/dist/esm/abis/rebalancer/minter-abi.js +259 -0
- package/dist/esm/abis/rebalancer/minter-abi.js.map +1 -0
- package/dist/esm/abis/rebalancer/mock-swap-abi.js +92 -0
- package/dist/esm/abis/rebalancer/mock-swap-abi.js.map +1 -0
- package/dist/esm/abis/rebalancer/operator-abi.js +367 -0
- package/dist/esm/abis/rebalancer/operator-abi.js.map +1 -0
- package/dist/esm/abis/rebalancer/rebalancer-abi.js +1232 -0
- package/dist/esm/abis/rebalancer/rebalancer-abi.js.map +1 -0
- package/dist/esm/abis/rebalancer/strategy-abi.js +630 -0
- package/dist/esm/abis/rebalancer/strategy-abi.js.map +1 -0
- package/dist/esm/apis/market.js +3 -3
- package/dist/esm/apis/market.js.map +1 -1
- package/dist/esm/apis/odos.js +94 -0
- package/dist/esm/apis/odos.js.map +1 -0
- package/dist/esm/apis/pool.js +57 -0
- package/dist/esm/apis/pool.js.map +1 -0
- package/dist/esm/apis/strategy.js +19 -0
- package/dist/esm/apis/strategy.js.map +1 -0
- package/dist/esm/call.js +390 -45
- package/dist/esm/call.js.map +1 -1
- package/dist/esm/constants/addresses.js +24 -4
- package/dist/esm/constants/addresses.js.map +1 -1
- package/dist/esm/constants/chain.js +3 -0
- package/dist/esm/constants/chain.js.map +1 -1
- package/dist/esm/constants/permit.js +10 -0
- package/dist/esm/constants/permit.js.map +1 -0
- package/dist/esm/constants/subgraph.js +1 -1
- package/dist/esm/index.js +0 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/model/market.js +46 -1
- package/dist/esm/model/market.js.map +1 -1
- package/dist/esm/model/pool.js +133 -0
- package/dist/esm/model/pool.js.map +1 -0
- package/dist/esm/model/strategy.js +2 -0
- package/dist/esm/model/strategy.js.map +1 -0
- package/dist/esm/type.js.map +1 -1
- package/dist/esm/utils/math.js +1 -0
- package/dist/esm/utils/math.js.map +1 -1
- package/dist/esm/utils/open.js +32 -33
- package/dist/esm/utils/open.js.map +1 -1
- package/dist/esm/utils/pool-key.js +12 -0
- package/dist/esm/utils/pool-key.js.map +1 -0
- package/dist/esm/utils/pool.js +84 -0
- package/dist/esm/utils/pool.js.map +1 -0
- package/dist/esm/utils/prices.js +5 -1
- package/dist/esm/utils/prices.js.map +1 -1
- package/dist/esm/view.js +62 -43
- package/dist/esm/view.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/abis/rebalancer/minter-abi.d.ts +198 -0
- package/dist/types/abis/rebalancer/minter-abi.d.ts.map +1 -0
- package/dist/types/abis/rebalancer/mock-swap-abi.d.ts +70 -0
- package/dist/types/abis/rebalancer/mock-swap-abi.d.ts.map +1 -0
- package/dist/types/abis/rebalancer/operator-abi.d.ts +283 -0
- package/dist/types/abis/rebalancer/operator-abi.d.ts.map +1 -0
- package/dist/types/abis/rebalancer/rebalancer-abi.d.ts +952 -0
- package/dist/types/abis/rebalancer/rebalancer-abi.d.ts.map +1 -0
- package/dist/types/abis/rebalancer/strategy-abi.d.ts +487 -0
- package/dist/types/abis/rebalancer/strategy-abi.d.ts.map +1 -0
- package/dist/types/apis/odos.d.ts +28 -0
- package/dist/types/apis/odos.d.ts.map +1 -0
- package/dist/types/apis/pool.d.ts +5 -0
- package/dist/types/apis/pool.d.ts.map +1 -0
- package/dist/types/apis/strategy.d.ts +5 -0
- package/dist/types/apis/strategy.d.ts.map +1 -0
- package/dist/types/call.d.ts +108 -44
- package/dist/types/call.d.ts.map +1 -1
- package/dist/types/constants/addresses.d.ts +4 -0
- package/dist/types/constants/addresses.d.ts.map +1 -1
- package/dist/types/constants/chain.d.ts +1 -0
- package/dist/types/constants/chain.d.ts.map +1 -1
- package/dist/types/constants/permit.d.ts +10 -0
- package/dist/types/constants/permit.d.ts.map +1 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/model/currency.d.ts +7 -0
- package/dist/types/model/currency.d.ts.map +1 -1
- package/dist/types/model/market.d.ts +3 -0
- package/dist/types/model/market.d.ts.map +1 -1
- package/dist/types/model/pool.d.ts +38 -0
- package/dist/types/model/pool.d.ts.map +1 -0
- package/dist/types/model/strategy.d.ts +6 -0
- package/dist/types/model/strategy.d.ts.map +1 -0
- package/dist/types/type.d.ts +20 -1
- package/dist/types/type.d.ts.map +1 -1
- package/dist/types/utils/math.d.ts +1 -0
- package/dist/types/utils/math.d.ts.map +1 -1
- package/dist/types/utils/open.d.ts +1 -1
- package/dist/types/utils/open.d.ts.map +1 -1
- package/dist/types/utils/pool-key.d.ts +3 -0
- package/dist/types/utils/pool-key.d.ts.map +1 -0
- package/dist/types/utils/pool.d.ts +11 -0
- package/dist/types/utils/pool.d.ts.map +1 -0
- package/dist/types/utils/prices.d.ts +1 -0
- package/dist/types/utils/prices.d.ts.map +1 -1
- package/dist/types/view.d.ts +52 -17
- package/dist/types/view.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/signature.js +0 -149
- package/dist/cjs/signature.js.map +0 -1
- package/dist/esm/signature.js +0 -172
- package/dist/esm/signature.js.map +0 -1
- package/dist/types/signature.d.ts +0 -38
- package/dist/types/signature.d.ts.map +0 -1
|
@@ -0,0 +1,952 @@
|
|
|
1
|
+
export declare const REBALANCER_ABI: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "contract IBookManager";
|
|
4
|
+
readonly name: "bookManager_";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly internalType: "address";
|
|
8
|
+
readonly name: "initialOwner_";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
}];
|
|
11
|
+
readonly stateMutability: "nonpayable";
|
|
12
|
+
readonly type: "constructor";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly internalType: "address";
|
|
16
|
+
readonly name: "target";
|
|
17
|
+
readonly type: "address";
|
|
18
|
+
}];
|
|
19
|
+
readonly name: "AddressEmptyCode";
|
|
20
|
+
readonly type: "error";
|
|
21
|
+
}, {
|
|
22
|
+
readonly inputs: readonly [];
|
|
23
|
+
readonly name: "AlreadyOpened";
|
|
24
|
+
readonly type: "error";
|
|
25
|
+
}, {
|
|
26
|
+
readonly inputs: readonly [];
|
|
27
|
+
readonly name: "ERC20TransferFailed";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly inputs: readonly [];
|
|
31
|
+
readonly name: "FailedCall";
|
|
32
|
+
readonly type: "error";
|
|
33
|
+
}, {
|
|
34
|
+
readonly inputs: readonly [{
|
|
35
|
+
readonly internalType: "uint256";
|
|
36
|
+
readonly name: "balance";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
}, {
|
|
39
|
+
readonly internalType: "uint256";
|
|
40
|
+
readonly name: "needed";
|
|
41
|
+
readonly type: "uint256";
|
|
42
|
+
}];
|
|
43
|
+
readonly name: "InsufficientBalance";
|
|
44
|
+
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly name: "InvalidAmount";
|
|
48
|
+
readonly type: "error";
|
|
49
|
+
}, {
|
|
50
|
+
readonly inputs: readonly [];
|
|
51
|
+
readonly name: "InvalidBookPair";
|
|
52
|
+
readonly type: "error";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [];
|
|
55
|
+
readonly name: "InvalidHook";
|
|
56
|
+
readonly type: "error";
|
|
57
|
+
}, {
|
|
58
|
+
readonly inputs: readonly [];
|
|
59
|
+
readonly name: "InvalidLockAcquiredSender";
|
|
60
|
+
readonly type: "error";
|
|
61
|
+
}, {
|
|
62
|
+
readonly inputs: readonly [];
|
|
63
|
+
readonly name: "InvalidLockCaller";
|
|
64
|
+
readonly type: "error";
|
|
65
|
+
}, {
|
|
66
|
+
readonly inputs: readonly [];
|
|
67
|
+
readonly name: "InvalidMaker";
|
|
68
|
+
readonly type: "error";
|
|
69
|
+
}, {
|
|
70
|
+
readonly inputs: readonly [];
|
|
71
|
+
readonly name: "InvalidStrategy";
|
|
72
|
+
readonly type: "error";
|
|
73
|
+
}, {
|
|
74
|
+
readonly inputs: readonly [];
|
|
75
|
+
readonly name: "InvalidTick";
|
|
76
|
+
readonly type: "error";
|
|
77
|
+
}, {
|
|
78
|
+
readonly inputs: readonly [];
|
|
79
|
+
readonly name: "InvalidValue";
|
|
80
|
+
readonly type: "error";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [];
|
|
83
|
+
readonly name: "LockFailure";
|
|
84
|
+
readonly type: "error";
|
|
85
|
+
}, {
|
|
86
|
+
readonly inputs: readonly [];
|
|
87
|
+
readonly name: "NativeTransferFailed";
|
|
88
|
+
readonly type: "error";
|
|
89
|
+
}, {
|
|
90
|
+
readonly inputs: readonly [];
|
|
91
|
+
readonly name: "NotSelf";
|
|
92
|
+
readonly type: "error";
|
|
93
|
+
}, {
|
|
94
|
+
readonly inputs: readonly [{
|
|
95
|
+
readonly internalType: "address";
|
|
96
|
+
readonly name: "owner";
|
|
97
|
+
readonly type: "address";
|
|
98
|
+
}];
|
|
99
|
+
readonly name: "OwnableInvalidOwner";
|
|
100
|
+
readonly type: "error";
|
|
101
|
+
}, {
|
|
102
|
+
readonly inputs: readonly [{
|
|
103
|
+
readonly internalType: "address";
|
|
104
|
+
readonly name: "account";
|
|
105
|
+
readonly type: "address";
|
|
106
|
+
}];
|
|
107
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
108
|
+
readonly type: "error";
|
|
109
|
+
}, {
|
|
110
|
+
readonly inputs: readonly [{
|
|
111
|
+
readonly internalType: "address";
|
|
112
|
+
readonly name: "token";
|
|
113
|
+
readonly type: "address";
|
|
114
|
+
}];
|
|
115
|
+
readonly name: "SafeERC20FailedOperation";
|
|
116
|
+
readonly type: "error";
|
|
117
|
+
}, {
|
|
118
|
+
readonly inputs: readonly [];
|
|
119
|
+
readonly name: "Slippage";
|
|
120
|
+
readonly type: "error";
|
|
121
|
+
}, {
|
|
122
|
+
readonly anonymous: false;
|
|
123
|
+
readonly inputs: readonly [{
|
|
124
|
+
readonly indexed: true;
|
|
125
|
+
readonly internalType: "address";
|
|
126
|
+
readonly name: "owner";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
}, {
|
|
129
|
+
readonly indexed: true;
|
|
130
|
+
readonly internalType: "address";
|
|
131
|
+
readonly name: "spender";
|
|
132
|
+
readonly type: "address";
|
|
133
|
+
}, {
|
|
134
|
+
readonly indexed: true;
|
|
135
|
+
readonly internalType: "uint256";
|
|
136
|
+
readonly name: "id";
|
|
137
|
+
readonly type: "uint256";
|
|
138
|
+
}, {
|
|
139
|
+
readonly indexed: false;
|
|
140
|
+
readonly internalType: "uint256";
|
|
141
|
+
readonly name: "amount";
|
|
142
|
+
readonly type: "uint256";
|
|
143
|
+
}];
|
|
144
|
+
readonly name: "Approval";
|
|
145
|
+
readonly type: "event";
|
|
146
|
+
}, {
|
|
147
|
+
readonly anonymous: false;
|
|
148
|
+
readonly inputs: readonly [{
|
|
149
|
+
readonly indexed: true;
|
|
150
|
+
readonly internalType: "address";
|
|
151
|
+
readonly name: "user";
|
|
152
|
+
readonly type: "address";
|
|
153
|
+
}, {
|
|
154
|
+
readonly indexed: true;
|
|
155
|
+
readonly internalType: "bytes32";
|
|
156
|
+
readonly name: "key";
|
|
157
|
+
readonly type: "bytes32";
|
|
158
|
+
}, {
|
|
159
|
+
readonly indexed: false;
|
|
160
|
+
readonly internalType: "uint256";
|
|
161
|
+
readonly name: "amountA";
|
|
162
|
+
readonly type: "uint256";
|
|
163
|
+
}, {
|
|
164
|
+
readonly indexed: false;
|
|
165
|
+
readonly internalType: "uint256";
|
|
166
|
+
readonly name: "amountB";
|
|
167
|
+
readonly type: "uint256";
|
|
168
|
+
}, {
|
|
169
|
+
readonly indexed: false;
|
|
170
|
+
readonly internalType: "uint256";
|
|
171
|
+
readonly name: "lpAmount";
|
|
172
|
+
readonly type: "uint256";
|
|
173
|
+
}];
|
|
174
|
+
readonly name: "Burn";
|
|
175
|
+
readonly type: "event";
|
|
176
|
+
}, {
|
|
177
|
+
readonly anonymous: false;
|
|
178
|
+
readonly inputs: readonly [{
|
|
179
|
+
readonly indexed: true;
|
|
180
|
+
readonly internalType: "address";
|
|
181
|
+
readonly name: "user";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
}, {
|
|
184
|
+
readonly indexed: true;
|
|
185
|
+
readonly internalType: "bytes32";
|
|
186
|
+
readonly name: "key";
|
|
187
|
+
readonly type: "bytes32";
|
|
188
|
+
}, {
|
|
189
|
+
readonly indexed: false;
|
|
190
|
+
readonly internalType: "uint256";
|
|
191
|
+
readonly name: "amountA";
|
|
192
|
+
readonly type: "uint256";
|
|
193
|
+
}, {
|
|
194
|
+
readonly indexed: false;
|
|
195
|
+
readonly internalType: "uint256";
|
|
196
|
+
readonly name: "amountB";
|
|
197
|
+
readonly type: "uint256";
|
|
198
|
+
}, {
|
|
199
|
+
readonly indexed: false;
|
|
200
|
+
readonly internalType: "uint256";
|
|
201
|
+
readonly name: "lpAmount";
|
|
202
|
+
readonly type: "uint256";
|
|
203
|
+
}];
|
|
204
|
+
readonly name: "Mint";
|
|
205
|
+
readonly type: "event";
|
|
206
|
+
}, {
|
|
207
|
+
readonly anonymous: false;
|
|
208
|
+
readonly inputs: readonly [{
|
|
209
|
+
readonly indexed: true;
|
|
210
|
+
readonly internalType: "bytes32";
|
|
211
|
+
readonly name: "key";
|
|
212
|
+
readonly type: "bytes32";
|
|
213
|
+
}, {
|
|
214
|
+
readonly indexed: true;
|
|
215
|
+
readonly internalType: "BookId";
|
|
216
|
+
readonly name: "bookIdA";
|
|
217
|
+
readonly type: "uint192";
|
|
218
|
+
}, {
|
|
219
|
+
readonly indexed: true;
|
|
220
|
+
readonly internalType: "BookId";
|
|
221
|
+
readonly name: "bookIdB";
|
|
222
|
+
readonly type: "uint192";
|
|
223
|
+
}, {
|
|
224
|
+
readonly indexed: false;
|
|
225
|
+
readonly internalType: "bytes32";
|
|
226
|
+
readonly name: "salt";
|
|
227
|
+
readonly type: "bytes32";
|
|
228
|
+
}, {
|
|
229
|
+
readonly indexed: false;
|
|
230
|
+
readonly internalType: "address";
|
|
231
|
+
readonly name: "strategy";
|
|
232
|
+
readonly type: "address";
|
|
233
|
+
}];
|
|
234
|
+
readonly name: "Open";
|
|
235
|
+
readonly type: "event";
|
|
236
|
+
}, {
|
|
237
|
+
readonly anonymous: false;
|
|
238
|
+
readonly inputs: readonly [{
|
|
239
|
+
readonly indexed: true;
|
|
240
|
+
readonly internalType: "address";
|
|
241
|
+
readonly name: "owner";
|
|
242
|
+
readonly type: "address";
|
|
243
|
+
}, {
|
|
244
|
+
readonly indexed: true;
|
|
245
|
+
readonly internalType: "address";
|
|
246
|
+
readonly name: "operator";
|
|
247
|
+
readonly type: "address";
|
|
248
|
+
}, {
|
|
249
|
+
readonly indexed: false;
|
|
250
|
+
readonly internalType: "bool";
|
|
251
|
+
readonly name: "approved";
|
|
252
|
+
readonly type: "bool";
|
|
253
|
+
}];
|
|
254
|
+
readonly name: "OperatorSet";
|
|
255
|
+
readonly type: "event";
|
|
256
|
+
}, {
|
|
257
|
+
readonly anonymous: false;
|
|
258
|
+
readonly inputs: readonly [{
|
|
259
|
+
readonly indexed: true;
|
|
260
|
+
readonly internalType: "address";
|
|
261
|
+
readonly name: "previousOwner";
|
|
262
|
+
readonly type: "address";
|
|
263
|
+
}, {
|
|
264
|
+
readonly indexed: true;
|
|
265
|
+
readonly internalType: "address";
|
|
266
|
+
readonly name: "newOwner";
|
|
267
|
+
readonly type: "address";
|
|
268
|
+
}];
|
|
269
|
+
readonly name: "OwnershipTransferStarted";
|
|
270
|
+
readonly type: "event";
|
|
271
|
+
}, {
|
|
272
|
+
readonly anonymous: false;
|
|
273
|
+
readonly inputs: readonly [{
|
|
274
|
+
readonly indexed: true;
|
|
275
|
+
readonly internalType: "address";
|
|
276
|
+
readonly name: "previousOwner";
|
|
277
|
+
readonly type: "address";
|
|
278
|
+
}, {
|
|
279
|
+
readonly indexed: true;
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
readonly name: "newOwner";
|
|
282
|
+
readonly type: "address";
|
|
283
|
+
}];
|
|
284
|
+
readonly name: "OwnershipTransferred";
|
|
285
|
+
readonly type: "event";
|
|
286
|
+
}, {
|
|
287
|
+
readonly anonymous: false;
|
|
288
|
+
readonly inputs: readonly [{
|
|
289
|
+
readonly indexed: true;
|
|
290
|
+
readonly internalType: "bytes32";
|
|
291
|
+
readonly name: "key";
|
|
292
|
+
readonly type: "bytes32";
|
|
293
|
+
}];
|
|
294
|
+
readonly name: "Rebalance";
|
|
295
|
+
readonly type: "event";
|
|
296
|
+
}, {
|
|
297
|
+
readonly anonymous: false;
|
|
298
|
+
readonly inputs: readonly [{
|
|
299
|
+
readonly indexed: false;
|
|
300
|
+
readonly internalType: "address";
|
|
301
|
+
readonly name: "caller";
|
|
302
|
+
readonly type: "address";
|
|
303
|
+
}, {
|
|
304
|
+
readonly indexed: true;
|
|
305
|
+
readonly internalType: "address";
|
|
306
|
+
readonly name: "from";
|
|
307
|
+
readonly type: "address";
|
|
308
|
+
}, {
|
|
309
|
+
readonly indexed: true;
|
|
310
|
+
readonly internalType: "address";
|
|
311
|
+
readonly name: "to";
|
|
312
|
+
readonly type: "address";
|
|
313
|
+
}, {
|
|
314
|
+
readonly indexed: true;
|
|
315
|
+
readonly internalType: "uint256";
|
|
316
|
+
readonly name: "id";
|
|
317
|
+
readonly type: "uint256";
|
|
318
|
+
}, {
|
|
319
|
+
readonly indexed: false;
|
|
320
|
+
readonly internalType: "uint256";
|
|
321
|
+
readonly name: "amount";
|
|
322
|
+
readonly type: "uint256";
|
|
323
|
+
}];
|
|
324
|
+
readonly name: "Transfer";
|
|
325
|
+
readonly type: "event";
|
|
326
|
+
}, {
|
|
327
|
+
readonly inputs: readonly [{
|
|
328
|
+
readonly internalType: "bytes32";
|
|
329
|
+
readonly name: "key";
|
|
330
|
+
readonly type: "bytes32";
|
|
331
|
+
}, {
|
|
332
|
+
readonly components: readonly [{
|
|
333
|
+
readonly internalType: "address";
|
|
334
|
+
readonly name: "user";
|
|
335
|
+
readonly type: "address";
|
|
336
|
+
}, {
|
|
337
|
+
readonly internalType: "uint256";
|
|
338
|
+
readonly name: "burnAmount";
|
|
339
|
+
readonly type: "uint256";
|
|
340
|
+
}, {
|
|
341
|
+
readonly internalType: "uint256";
|
|
342
|
+
readonly name: "minAmountA";
|
|
343
|
+
readonly type: "uint256";
|
|
344
|
+
}, {
|
|
345
|
+
readonly internalType: "uint256";
|
|
346
|
+
readonly name: "minAmountB";
|
|
347
|
+
readonly type: "uint256";
|
|
348
|
+
}];
|
|
349
|
+
readonly internalType: "struct Rebalancer.BurnParams";
|
|
350
|
+
readonly name: "burnParams";
|
|
351
|
+
readonly type: "tuple";
|
|
352
|
+
}];
|
|
353
|
+
readonly name: "_burnAndRebalance";
|
|
354
|
+
readonly outputs: readonly [{
|
|
355
|
+
readonly internalType: "uint256";
|
|
356
|
+
readonly name: "withdrawalA";
|
|
357
|
+
readonly type: "uint256";
|
|
358
|
+
}, {
|
|
359
|
+
readonly internalType: "uint256";
|
|
360
|
+
readonly name: "withdrawalB";
|
|
361
|
+
readonly type: "uint256";
|
|
362
|
+
}];
|
|
363
|
+
readonly stateMutability: "nonpayable";
|
|
364
|
+
readonly type: "function";
|
|
365
|
+
}, {
|
|
366
|
+
readonly inputs: readonly [{
|
|
367
|
+
readonly components: readonly [{
|
|
368
|
+
readonly internalType: "Currency";
|
|
369
|
+
readonly name: "base";
|
|
370
|
+
readonly type: "address";
|
|
371
|
+
}, {
|
|
372
|
+
readonly internalType: "uint64";
|
|
373
|
+
readonly name: "unitSize";
|
|
374
|
+
readonly type: "uint64";
|
|
375
|
+
}, {
|
|
376
|
+
readonly internalType: "Currency";
|
|
377
|
+
readonly name: "quote";
|
|
378
|
+
readonly type: "address";
|
|
379
|
+
}, {
|
|
380
|
+
readonly internalType: "FeePolicy";
|
|
381
|
+
readonly name: "makerPolicy";
|
|
382
|
+
readonly type: "uint24";
|
|
383
|
+
}, {
|
|
384
|
+
readonly internalType: "contract IHooks";
|
|
385
|
+
readonly name: "hooks";
|
|
386
|
+
readonly type: "address";
|
|
387
|
+
}, {
|
|
388
|
+
readonly internalType: "FeePolicy";
|
|
389
|
+
readonly name: "takerPolicy";
|
|
390
|
+
readonly type: "uint24";
|
|
391
|
+
}];
|
|
392
|
+
readonly internalType: "struct IBookManager.BookKey";
|
|
393
|
+
readonly name: "bookKeyA";
|
|
394
|
+
readonly type: "tuple";
|
|
395
|
+
}, {
|
|
396
|
+
readonly components: readonly [{
|
|
397
|
+
readonly internalType: "Currency";
|
|
398
|
+
readonly name: "base";
|
|
399
|
+
readonly type: "address";
|
|
400
|
+
}, {
|
|
401
|
+
readonly internalType: "uint64";
|
|
402
|
+
readonly name: "unitSize";
|
|
403
|
+
readonly type: "uint64";
|
|
404
|
+
}, {
|
|
405
|
+
readonly internalType: "Currency";
|
|
406
|
+
readonly name: "quote";
|
|
407
|
+
readonly type: "address";
|
|
408
|
+
}, {
|
|
409
|
+
readonly internalType: "FeePolicy";
|
|
410
|
+
readonly name: "makerPolicy";
|
|
411
|
+
readonly type: "uint24";
|
|
412
|
+
}, {
|
|
413
|
+
readonly internalType: "contract IHooks";
|
|
414
|
+
readonly name: "hooks";
|
|
415
|
+
readonly type: "address";
|
|
416
|
+
}, {
|
|
417
|
+
readonly internalType: "FeePolicy";
|
|
418
|
+
readonly name: "takerPolicy";
|
|
419
|
+
readonly type: "uint24";
|
|
420
|
+
}];
|
|
421
|
+
readonly internalType: "struct IBookManager.BookKey";
|
|
422
|
+
readonly name: "bookKeyB";
|
|
423
|
+
readonly type: "tuple";
|
|
424
|
+
}, {
|
|
425
|
+
readonly internalType: "bytes32";
|
|
426
|
+
readonly name: "salt";
|
|
427
|
+
readonly type: "bytes32";
|
|
428
|
+
}, {
|
|
429
|
+
readonly internalType: "address";
|
|
430
|
+
readonly name: "strategy";
|
|
431
|
+
readonly type: "address";
|
|
432
|
+
}];
|
|
433
|
+
readonly name: "_open";
|
|
434
|
+
readonly outputs: readonly [{
|
|
435
|
+
readonly internalType: "bytes32";
|
|
436
|
+
readonly name: "key";
|
|
437
|
+
readonly type: "bytes32";
|
|
438
|
+
}];
|
|
439
|
+
readonly stateMutability: "nonpayable";
|
|
440
|
+
readonly type: "function";
|
|
441
|
+
}, {
|
|
442
|
+
readonly inputs: readonly [];
|
|
443
|
+
readonly name: "acceptOwnership";
|
|
444
|
+
readonly outputs: readonly [];
|
|
445
|
+
readonly stateMutability: "nonpayable";
|
|
446
|
+
readonly type: "function";
|
|
447
|
+
}, {
|
|
448
|
+
readonly inputs: readonly [{
|
|
449
|
+
readonly internalType: "address";
|
|
450
|
+
readonly name: "";
|
|
451
|
+
readonly type: "address";
|
|
452
|
+
}, {
|
|
453
|
+
readonly internalType: "address";
|
|
454
|
+
readonly name: "";
|
|
455
|
+
readonly type: "address";
|
|
456
|
+
}, {
|
|
457
|
+
readonly internalType: "uint256";
|
|
458
|
+
readonly name: "";
|
|
459
|
+
readonly type: "uint256";
|
|
460
|
+
}];
|
|
461
|
+
readonly name: "allowance";
|
|
462
|
+
readonly outputs: readonly [{
|
|
463
|
+
readonly internalType: "uint256";
|
|
464
|
+
readonly name: "";
|
|
465
|
+
readonly type: "uint256";
|
|
466
|
+
}];
|
|
467
|
+
readonly stateMutability: "view";
|
|
468
|
+
readonly type: "function";
|
|
469
|
+
}, {
|
|
470
|
+
readonly inputs: readonly [{
|
|
471
|
+
readonly internalType: "address";
|
|
472
|
+
readonly name: "spender";
|
|
473
|
+
readonly type: "address";
|
|
474
|
+
}, {
|
|
475
|
+
readonly internalType: "uint256";
|
|
476
|
+
readonly name: "id";
|
|
477
|
+
readonly type: "uint256";
|
|
478
|
+
}, {
|
|
479
|
+
readonly internalType: "uint256";
|
|
480
|
+
readonly name: "amount";
|
|
481
|
+
readonly type: "uint256";
|
|
482
|
+
}];
|
|
483
|
+
readonly name: "approve";
|
|
484
|
+
readonly outputs: readonly [{
|
|
485
|
+
readonly internalType: "bool";
|
|
486
|
+
readonly name: "";
|
|
487
|
+
readonly type: "bool";
|
|
488
|
+
}];
|
|
489
|
+
readonly stateMutability: "nonpayable";
|
|
490
|
+
readonly type: "function";
|
|
491
|
+
}, {
|
|
492
|
+
readonly inputs: readonly [{
|
|
493
|
+
readonly internalType: "address";
|
|
494
|
+
readonly name: "";
|
|
495
|
+
readonly type: "address";
|
|
496
|
+
}, {
|
|
497
|
+
readonly internalType: "uint256";
|
|
498
|
+
readonly name: "";
|
|
499
|
+
readonly type: "uint256";
|
|
500
|
+
}];
|
|
501
|
+
readonly name: "balanceOf";
|
|
502
|
+
readonly outputs: readonly [{
|
|
503
|
+
readonly internalType: "uint256";
|
|
504
|
+
readonly name: "";
|
|
505
|
+
readonly type: "uint256";
|
|
506
|
+
}];
|
|
507
|
+
readonly stateMutability: "view";
|
|
508
|
+
readonly type: "function";
|
|
509
|
+
}, {
|
|
510
|
+
readonly inputs: readonly [];
|
|
511
|
+
readonly name: "bookManager";
|
|
512
|
+
readonly outputs: readonly [{
|
|
513
|
+
readonly internalType: "contract IBookManager";
|
|
514
|
+
readonly name: "";
|
|
515
|
+
readonly type: "address";
|
|
516
|
+
}];
|
|
517
|
+
readonly stateMutability: "view";
|
|
518
|
+
readonly type: "function";
|
|
519
|
+
}, {
|
|
520
|
+
readonly inputs: readonly [{
|
|
521
|
+
readonly internalType: "BookId";
|
|
522
|
+
readonly name: "";
|
|
523
|
+
readonly type: "uint192";
|
|
524
|
+
}];
|
|
525
|
+
readonly name: "bookPair";
|
|
526
|
+
readonly outputs: readonly [{
|
|
527
|
+
readonly internalType: "BookId";
|
|
528
|
+
readonly name: "";
|
|
529
|
+
readonly type: "uint192";
|
|
530
|
+
}];
|
|
531
|
+
readonly stateMutability: "view";
|
|
532
|
+
readonly type: "function";
|
|
533
|
+
}, {
|
|
534
|
+
readonly inputs: readonly [{
|
|
535
|
+
readonly internalType: "bytes32";
|
|
536
|
+
readonly name: "key";
|
|
537
|
+
readonly type: "bytes32";
|
|
538
|
+
}, {
|
|
539
|
+
readonly internalType: "uint256";
|
|
540
|
+
readonly name: "amount";
|
|
541
|
+
readonly type: "uint256";
|
|
542
|
+
}, {
|
|
543
|
+
readonly internalType: "uint256";
|
|
544
|
+
readonly name: "minAmountA";
|
|
545
|
+
readonly type: "uint256";
|
|
546
|
+
}, {
|
|
547
|
+
readonly internalType: "uint256";
|
|
548
|
+
readonly name: "minAmountB";
|
|
549
|
+
readonly type: "uint256";
|
|
550
|
+
}];
|
|
551
|
+
readonly name: "burn";
|
|
552
|
+
readonly outputs: readonly [{
|
|
553
|
+
readonly internalType: "uint256";
|
|
554
|
+
readonly name: "";
|
|
555
|
+
readonly type: "uint256";
|
|
556
|
+
}, {
|
|
557
|
+
readonly internalType: "uint256";
|
|
558
|
+
readonly name: "";
|
|
559
|
+
readonly type: "uint256";
|
|
560
|
+
}];
|
|
561
|
+
readonly stateMutability: "nonpayable";
|
|
562
|
+
readonly type: "function";
|
|
563
|
+
}, {
|
|
564
|
+
readonly inputs: readonly [{
|
|
565
|
+
readonly internalType: "uint256";
|
|
566
|
+
readonly name: "";
|
|
567
|
+
readonly type: "uint256";
|
|
568
|
+
}];
|
|
569
|
+
readonly name: "decimals";
|
|
570
|
+
readonly outputs: readonly [{
|
|
571
|
+
readonly internalType: "uint8";
|
|
572
|
+
readonly name: "";
|
|
573
|
+
readonly type: "uint8";
|
|
574
|
+
}];
|
|
575
|
+
readonly stateMutability: "pure";
|
|
576
|
+
readonly type: "function";
|
|
577
|
+
}, {
|
|
578
|
+
readonly inputs: readonly [{
|
|
579
|
+
readonly internalType: "bytes32";
|
|
580
|
+
readonly name: "key";
|
|
581
|
+
readonly type: "bytes32";
|
|
582
|
+
}];
|
|
583
|
+
readonly name: "getBookPairs";
|
|
584
|
+
readonly outputs: readonly [{
|
|
585
|
+
readonly internalType: "BookId";
|
|
586
|
+
readonly name: "";
|
|
587
|
+
readonly type: "uint192";
|
|
588
|
+
}, {
|
|
589
|
+
readonly internalType: "BookId";
|
|
590
|
+
readonly name: "";
|
|
591
|
+
readonly type: "uint192";
|
|
592
|
+
}];
|
|
593
|
+
readonly stateMutability: "view";
|
|
594
|
+
readonly type: "function";
|
|
595
|
+
}, {
|
|
596
|
+
readonly inputs: readonly [{
|
|
597
|
+
readonly internalType: "bytes32";
|
|
598
|
+
readonly name: "key";
|
|
599
|
+
readonly type: "bytes32";
|
|
600
|
+
}];
|
|
601
|
+
readonly name: "getLiquidity";
|
|
602
|
+
readonly outputs: readonly [{
|
|
603
|
+
readonly internalType: "uint256";
|
|
604
|
+
readonly name: "liquidityA";
|
|
605
|
+
readonly type: "uint256";
|
|
606
|
+
}, {
|
|
607
|
+
readonly internalType: "uint256";
|
|
608
|
+
readonly name: "liquidityB";
|
|
609
|
+
readonly type: "uint256";
|
|
610
|
+
}];
|
|
611
|
+
readonly stateMutability: "view";
|
|
612
|
+
readonly type: "function";
|
|
613
|
+
}, {
|
|
614
|
+
readonly inputs: readonly [{
|
|
615
|
+
readonly internalType: "bytes32";
|
|
616
|
+
readonly name: "key";
|
|
617
|
+
readonly type: "bytes32";
|
|
618
|
+
}];
|
|
619
|
+
readonly name: "getPool";
|
|
620
|
+
readonly outputs: readonly [{
|
|
621
|
+
readonly components: readonly [{
|
|
622
|
+
readonly internalType: "BookId";
|
|
623
|
+
readonly name: "bookIdA";
|
|
624
|
+
readonly type: "uint192";
|
|
625
|
+
}, {
|
|
626
|
+
readonly internalType: "BookId";
|
|
627
|
+
readonly name: "bookIdB";
|
|
628
|
+
readonly type: "uint192";
|
|
629
|
+
}, {
|
|
630
|
+
readonly internalType: "contract IStrategy";
|
|
631
|
+
readonly name: "strategy";
|
|
632
|
+
readonly type: "address";
|
|
633
|
+
}, {
|
|
634
|
+
readonly internalType: "uint256";
|
|
635
|
+
readonly name: "reserveA";
|
|
636
|
+
readonly type: "uint256";
|
|
637
|
+
}, {
|
|
638
|
+
readonly internalType: "uint256";
|
|
639
|
+
readonly name: "reserveB";
|
|
640
|
+
readonly type: "uint256";
|
|
641
|
+
}, {
|
|
642
|
+
readonly internalType: "OrderId[]";
|
|
643
|
+
readonly name: "orderListA";
|
|
644
|
+
readonly type: "uint256[]";
|
|
645
|
+
}, {
|
|
646
|
+
readonly internalType: "OrderId[]";
|
|
647
|
+
readonly name: "orderListB";
|
|
648
|
+
readonly type: "uint256[]";
|
|
649
|
+
}];
|
|
650
|
+
readonly internalType: "struct IPoolStorage.Pool";
|
|
651
|
+
readonly name: "";
|
|
652
|
+
readonly type: "tuple";
|
|
653
|
+
}];
|
|
654
|
+
readonly stateMutability: "view";
|
|
655
|
+
readonly type: "function";
|
|
656
|
+
}, {
|
|
657
|
+
readonly inputs: readonly [{
|
|
658
|
+
readonly internalType: "address";
|
|
659
|
+
readonly name: "";
|
|
660
|
+
readonly type: "address";
|
|
661
|
+
}, {
|
|
662
|
+
readonly internalType: "address";
|
|
663
|
+
readonly name: "";
|
|
664
|
+
readonly type: "address";
|
|
665
|
+
}];
|
|
666
|
+
readonly name: "isOperator";
|
|
667
|
+
readonly outputs: readonly [{
|
|
668
|
+
readonly internalType: "bool";
|
|
669
|
+
readonly name: "";
|
|
670
|
+
readonly type: "bool";
|
|
671
|
+
}];
|
|
672
|
+
readonly stateMutability: "view";
|
|
673
|
+
readonly type: "function";
|
|
674
|
+
}, {
|
|
675
|
+
readonly inputs: readonly [{
|
|
676
|
+
readonly internalType: "address";
|
|
677
|
+
readonly name: "lockCaller";
|
|
678
|
+
readonly type: "address";
|
|
679
|
+
}, {
|
|
680
|
+
readonly internalType: "bytes";
|
|
681
|
+
readonly name: "data";
|
|
682
|
+
readonly type: "bytes";
|
|
683
|
+
}];
|
|
684
|
+
readonly name: "lockAcquired";
|
|
685
|
+
readonly outputs: readonly [{
|
|
686
|
+
readonly internalType: "bytes";
|
|
687
|
+
readonly name: "";
|
|
688
|
+
readonly type: "bytes";
|
|
689
|
+
}];
|
|
690
|
+
readonly stateMutability: "nonpayable";
|
|
691
|
+
readonly type: "function";
|
|
692
|
+
}, {
|
|
693
|
+
readonly inputs: readonly [{
|
|
694
|
+
readonly internalType: "bytes32";
|
|
695
|
+
readonly name: "key";
|
|
696
|
+
readonly type: "bytes32";
|
|
697
|
+
}, {
|
|
698
|
+
readonly internalType: "uint256";
|
|
699
|
+
readonly name: "amountA";
|
|
700
|
+
readonly type: "uint256";
|
|
701
|
+
}, {
|
|
702
|
+
readonly internalType: "uint256";
|
|
703
|
+
readonly name: "amountB";
|
|
704
|
+
readonly type: "uint256";
|
|
705
|
+
}, {
|
|
706
|
+
readonly internalType: "uint256";
|
|
707
|
+
readonly name: "minLpAmount";
|
|
708
|
+
readonly type: "uint256";
|
|
709
|
+
}];
|
|
710
|
+
readonly name: "mint";
|
|
711
|
+
readonly outputs: readonly [{
|
|
712
|
+
readonly internalType: "uint256";
|
|
713
|
+
readonly name: "mintAmount";
|
|
714
|
+
readonly type: "uint256";
|
|
715
|
+
}];
|
|
716
|
+
readonly stateMutability: "payable";
|
|
717
|
+
readonly type: "function";
|
|
718
|
+
}, {
|
|
719
|
+
readonly inputs: readonly [{
|
|
720
|
+
readonly components: readonly [{
|
|
721
|
+
readonly internalType: "Currency";
|
|
722
|
+
readonly name: "base";
|
|
723
|
+
readonly type: "address";
|
|
724
|
+
}, {
|
|
725
|
+
readonly internalType: "uint64";
|
|
726
|
+
readonly name: "unitSize";
|
|
727
|
+
readonly type: "uint64";
|
|
728
|
+
}, {
|
|
729
|
+
readonly internalType: "Currency";
|
|
730
|
+
readonly name: "quote";
|
|
731
|
+
readonly type: "address";
|
|
732
|
+
}, {
|
|
733
|
+
readonly internalType: "FeePolicy";
|
|
734
|
+
readonly name: "makerPolicy";
|
|
735
|
+
readonly type: "uint24";
|
|
736
|
+
}, {
|
|
737
|
+
readonly internalType: "contract IHooks";
|
|
738
|
+
readonly name: "hooks";
|
|
739
|
+
readonly type: "address";
|
|
740
|
+
}, {
|
|
741
|
+
readonly internalType: "FeePolicy";
|
|
742
|
+
readonly name: "takerPolicy";
|
|
743
|
+
readonly type: "uint24";
|
|
744
|
+
}];
|
|
745
|
+
readonly internalType: "struct IBookManager.BookKey";
|
|
746
|
+
readonly name: "bookKeyA";
|
|
747
|
+
readonly type: "tuple";
|
|
748
|
+
}, {
|
|
749
|
+
readonly components: readonly [{
|
|
750
|
+
readonly internalType: "Currency";
|
|
751
|
+
readonly name: "base";
|
|
752
|
+
readonly type: "address";
|
|
753
|
+
}, {
|
|
754
|
+
readonly internalType: "uint64";
|
|
755
|
+
readonly name: "unitSize";
|
|
756
|
+
readonly type: "uint64";
|
|
757
|
+
}, {
|
|
758
|
+
readonly internalType: "Currency";
|
|
759
|
+
readonly name: "quote";
|
|
760
|
+
readonly type: "address";
|
|
761
|
+
}, {
|
|
762
|
+
readonly internalType: "FeePolicy";
|
|
763
|
+
readonly name: "makerPolicy";
|
|
764
|
+
readonly type: "uint24";
|
|
765
|
+
}, {
|
|
766
|
+
readonly internalType: "contract IHooks";
|
|
767
|
+
readonly name: "hooks";
|
|
768
|
+
readonly type: "address";
|
|
769
|
+
}, {
|
|
770
|
+
readonly internalType: "FeePolicy";
|
|
771
|
+
readonly name: "takerPolicy";
|
|
772
|
+
readonly type: "uint24";
|
|
773
|
+
}];
|
|
774
|
+
readonly internalType: "struct IBookManager.BookKey";
|
|
775
|
+
readonly name: "bookKeyB";
|
|
776
|
+
readonly type: "tuple";
|
|
777
|
+
}, {
|
|
778
|
+
readonly internalType: "bytes32";
|
|
779
|
+
readonly name: "salt";
|
|
780
|
+
readonly type: "bytes32";
|
|
781
|
+
}, {
|
|
782
|
+
readonly internalType: "address";
|
|
783
|
+
readonly name: "strategy";
|
|
784
|
+
readonly type: "address";
|
|
785
|
+
}];
|
|
786
|
+
readonly name: "open";
|
|
787
|
+
readonly outputs: readonly [{
|
|
788
|
+
readonly internalType: "bytes32";
|
|
789
|
+
readonly name: "";
|
|
790
|
+
readonly type: "bytes32";
|
|
791
|
+
}];
|
|
792
|
+
readonly stateMutability: "nonpayable";
|
|
793
|
+
readonly type: "function";
|
|
794
|
+
}, {
|
|
795
|
+
readonly inputs: readonly [];
|
|
796
|
+
readonly name: "owner";
|
|
797
|
+
readonly outputs: readonly [{
|
|
798
|
+
readonly internalType: "address";
|
|
799
|
+
readonly name: "";
|
|
800
|
+
readonly type: "address";
|
|
801
|
+
}];
|
|
802
|
+
readonly stateMutability: "view";
|
|
803
|
+
readonly type: "function";
|
|
804
|
+
}, {
|
|
805
|
+
readonly inputs: readonly [];
|
|
806
|
+
readonly name: "pendingOwner";
|
|
807
|
+
readonly outputs: readonly [{
|
|
808
|
+
readonly internalType: "address";
|
|
809
|
+
readonly name: "";
|
|
810
|
+
readonly type: "address";
|
|
811
|
+
}];
|
|
812
|
+
readonly stateMutability: "view";
|
|
813
|
+
readonly type: "function";
|
|
814
|
+
}, {
|
|
815
|
+
readonly inputs: readonly [{
|
|
816
|
+
readonly internalType: "bytes32";
|
|
817
|
+
readonly name: "key";
|
|
818
|
+
readonly type: "bytes32";
|
|
819
|
+
}];
|
|
820
|
+
readonly name: "rebalance";
|
|
821
|
+
readonly outputs: readonly [];
|
|
822
|
+
readonly stateMutability: "nonpayable";
|
|
823
|
+
readonly type: "function";
|
|
824
|
+
}, {
|
|
825
|
+
readonly inputs: readonly [];
|
|
826
|
+
readonly name: "renounceOwnership";
|
|
827
|
+
readonly outputs: readonly [];
|
|
828
|
+
readonly stateMutability: "nonpayable";
|
|
829
|
+
readonly type: "function";
|
|
830
|
+
}, {
|
|
831
|
+
readonly inputs: readonly [{
|
|
832
|
+
readonly internalType: "address";
|
|
833
|
+
readonly name: "operator";
|
|
834
|
+
readonly type: "address";
|
|
835
|
+
}, {
|
|
836
|
+
readonly internalType: "bool";
|
|
837
|
+
readonly name: "approved";
|
|
838
|
+
readonly type: "bool";
|
|
839
|
+
}];
|
|
840
|
+
readonly name: "setOperator";
|
|
841
|
+
readonly outputs: readonly [{
|
|
842
|
+
readonly internalType: "bool";
|
|
843
|
+
readonly name: "";
|
|
844
|
+
readonly type: "bool";
|
|
845
|
+
}];
|
|
846
|
+
readonly stateMutability: "nonpayable";
|
|
847
|
+
readonly type: "function";
|
|
848
|
+
}, {
|
|
849
|
+
readonly inputs: readonly [{
|
|
850
|
+
readonly internalType: "bytes32";
|
|
851
|
+
readonly name: "key";
|
|
852
|
+
readonly type: "bytes32";
|
|
853
|
+
}, {
|
|
854
|
+
readonly internalType: "address";
|
|
855
|
+
readonly name: "strategy";
|
|
856
|
+
readonly type: "address";
|
|
857
|
+
}];
|
|
858
|
+
readonly name: "setStrategy";
|
|
859
|
+
readonly outputs: readonly [];
|
|
860
|
+
readonly stateMutability: "nonpayable";
|
|
861
|
+
readonly type: "function";
|
|
862
|
+
}, {
|
|
863
|
+
readonly inputs: readonly [{
|
|
864
|
+
readonly internalType: "bytes4";
|
|
865
|
+
readonly name: "interfaceId";
|
|
866
|
+
readonly type: "bytes4";
|
|
867
|
+
}];
|
|
868
|
+
readonly name: "supportsInterface";
|
|
869
|
+
readonly outputs: readonly [{
|
|
870
|
+
readonly internalType: "bool";
|
|
871
|
+
readonly name: "";
|
|
872
|
+
readonly type: "bool";
|
|
873
|
+
}];
|
|
874
|
+
readonly stateMutability: "view";
|
|
875
|
+
readonly type: "function";
|
|
876
|
+
}, {
|
|
877
|
+
readonly inputs: readonly [{
|
|
878
|
+
readonly internalType: "uint256";
|
|
879
|
+
readonly name: "";
|
|
880
|
+
readonly type: "uint256";
|
|
881
|
+
}];
|
|
882
|
+
readonly name: "totalSupply";
|
|
883
|
+
readonly outputs: readonly [{
|
|
884
|
+
readonly internalType: "uint256";
|
|
885
|
+
readonly name: "";
|
|
886
|
+
readonly type: "uint256";
|
|
887
|
+
}];
|
|
888
|
+
readonly stateMutability: "view";
|
|
889
|
+
readonly type: "function";
|
|
890
|
+
}, {
|
|
891
|
+
readonly inputs: readonly [{
|
|
892
|
+
readonly internalType: "address";
|
|
893
|
+
readonly name: "receiver";
|
|
894
|
+
readonly type: "address";
|
|
895
|
+
}, {
|
|
896
|
+
readonly internalType: "uint256";
|
|
897
|
+
readonly name: "id";
|
|
898
|
+
readonly type: "uint256";
|
|
899
|
+
}, {
|
|
900
|
+
readonly internalType: "uint256";
|
|
901
|
+
readonly name: "amount";
|
|
902
|
+
readonly type: "uint256";
|
|
903
|
+
}];
|
|
904
|
+
readonly name: "transfer";
|
|
905
|
+
readonly outputs: readonly [{
|
|
906
|
+
readonly internalType: "bool";
|
|
907
|
+
readonly name: "";
|
|
908
|
+
readonly type: "bool";
|
|
909
|
+
}];
|
|
910
|
+
readonly stateMutability: "nonpayable";
|
|
911
|
+
readonly type: "function";
|
|
912
|
+
}, {
|
|
913
|
+
readonly inputs: readonly [{
|
|
914
|
+
readonly internalType: "address";
|
|
915
|
+
readonly name: "sender";
|
|
916
|
+
readonly type: "address";
|
|
917
|
+
}, {
|
|
918
|
+
readonly internalType: "address";
|
|
919
|
+
readonly name: "receiver";
|
|
920
|
+
readonly type: "address";
|
|
921
|
+
}, {
|
|
922
|
+
readonly internalType: "uint256";
|
|
923
|
+
readonly name: "id";
|
|
924
|
+
readonly type: "uint256";
|
|
925
|
+
}, {
|
|
926
|
+
readonly internalType: "uint256";
|
|
927
|
+
readonly name: "amount";
|
|
928
|
+
readonly type: "uint256";
|
|
929
|
+
}];
|
|
930
|
+
readonly name: "transferFrom";
|
|
931
|
+
readonly outputs: readonly [{
|
|
932
|
+
readonly internalType: "bool";
|
|
933
|
+
readonly name: "";
|
|
934
|
+
readonly type: "bool";
|
|
935
|
+
}];
|
|
936
|
+
readonly stateMutability: "nonpayable";
|
|
937
|
+
readonly type: "function";
|
|
938
|
+
}, {
|
|
939
|
+
readonly inputs: readonly [{
|
|
940
|
+
readonly internalType: "address";
|
|
941
|
+
readonly name: "newOwner";
|
|
942
|
+
readonly type: "address";
|
|
943
|
+
}];
|
|
944
|
+
readonly name: "transferOwnership";
|
|
945
|
+
readonly outputs: readonly [];
|
|
946
|
+
readonly stateMutability: "nonpayable";
|
|
947
|
+
readonly type: "function";
|
|
948
|
+
}, {
|
|
949
|
+
readonly stateMutability: "payable";
|
|
950
|
+
readonly type: "receive";
|
|
951
|
+
}];
|
|
952
|
+
//# sourceMappingURL=rebalancer-abi.d.ts.map
|