bandkit 0.0.1 → 0.1.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.
Files changed (73) hide show
  1. package/.env.example +9 -0
  2. package/LICENSE +3 -3
  3. package/README.md +41 -12
  4. package/bin/bandkit.js +38 -0
  5. package/contracts/BandExecutor.sol +178 -0
  6. package/contracts/BandStrategy.sol +111 -0
  7. package/contracts/test/MockDexTarget.sol +29 -0
  8. package/contracts/test/MockErc20.sol +40 -0
  9. package/dist/BandContractPanel.d.ts +11 -0
  10. package/dist/BandContractPanel.d.ts.map +1 -0
  11. package/dist/BandContractPanel.js +95 -0
  12. package/dist/BandContractPanel.js.map +1 -0
  13. package/dist/BandPanel.d.ts +13 -0
  14. package/dist/BandPanel.d.ts.map +1 -0
  15. package/dist/BandPanel.js +142 -0
  16. package/dist/BandPanel.js.map +1 -0
  17. package/dist/bandExecutorAbi.d.ts +431 -0
  18. package/dist/bandExecutorAbi.d.ts.map +1 -0
  19. package/dist/bandExecutorAbi.js +558 -0
  20. package/dist/bandExecutorAbi.js.map +1 -0
  21. package/dist/bandExecutorBytecode.d.ts +2 -0
  22. package/dist/bandExecutorBytecode.d.ts.map +1 -0
  23. package/dist/bandExecutorBytecode.js +3 -0
  24. package/dist/bandExecutorBytecode.js.map +1 -0
  25. package/dist/bandStrategyAbi.d.ts +250 -0
  26. package/dist/bandStrategyAbi.d.ts.map +1 -0
  27. package/dist/bandStrategyAbi.js +323 -0
  28. package/dist/bandStrategyAbi.js.map +1 -0
  29. package/dist/bandStrategyBytecode.d.ts +2 -0
  30. package/dist/bandStrategyBytecode.d.ts.map +1 -0
  31. package/dist/bandStrategyBytecode.js +3 -0
  32. package/dist/bandStrategyBytecode.js.map +1 -0
  33. package/dist/index.d.ts +36 -0
  34. package/dist/index.d.ts.map +1 -0
  35. package/dist/index.js +36 -0
  36. package/dist/index.js.map +1 -0
  37. package/dist/rainbowkit.d.ts +7 -0
  38. package/dist/rainbowkit.d.ts.map +1 -0
  39. package/dist/rainbowkit.js +33 -0
  40. package/dist/rainbowkit.js.map +1 -0
  41. package/dist/tradingExecutor.d.ts +38 -0
  42. package/dist/tradingExecutor.d.ts.map +1 -0
  43. package/dist/tradingExecutor.js +125 -0
  44. package/dist/tradingExecutor.js.map +1 -0
  45. package/dist/useBandDashboard.d.ts +27 -0
  46. package/dist/useBandDashboard.d.ts.map +1 -0
  47. package/dist/useBandDashboard.js +35 -0
  48. package/dist/useBandDashboard.js.map +1 -0
  49. package/dist/useEthPriceTicker.d.ts +32 -0
  50. package/dist/useEthPriceTicker.d.ts.map +1 -0
  51. package/dist/useEthPriceTicker.js +95 -0
  52. package/dist/useEthPriceTicker.js.map +1 -0
  53. package/dist/useStrategyContract.d.ts +42 -0
  54. package/dist/useStrategyContract.d.ts.map +1 -0
  55. package/dist/useStrategyContract.js +258 -0
  56. package/dist/useStrategyContract.js.map +1 -0
  57. package/dist/useStrategyContractDeployment.d.ts +31 -0
  58. package/dist/useStrategyContractDeployment.d.ts.map +1 -0
  59. package/dist/useStrategyContractDeployment.js +229 -0
  60. package/dist/useStrategyContractDeployment.js.map +1 -0
  61. package/dist/useWalletEthBalance.d.ts +17 -0
  62. package/dist/useWalletEthBalance.d.ts.map +1 -0
  63. package/dist/useWalletEthBalance.js +98 -0
  64. package/dist/useWalletEthBalance.js.map +1 -0
  65. package/engine/browser-provider.js +25 -0
  66. package/engine/executor-searcher.js +138 -0
  67. package/engine/provider.js +32 -0
  68. package/engine/uniswap-v2-roundtrip.js +215 -0
  69. package/hardhat.config.cjs +27 -0
  70. package/package.json +75 -14
  71. package/scripts/deploy.cjs +31 -0
  72. package/index.d.ts +0 -2
  73. package/index.js +0 -2
@@ -0,0 +1,250 @@
1
+ export declare const BAND_STRATEGY_ABI: readonly [{
2
+ readonly inputs: readonly [{
3
+ readonly internalType: "address payable";
4
+ readonly name: "strategyWallet_";
5
+ readonly type: "address";
6
+ }];
7
+ readonly stateMutability: "nonpayable";
8
+ readonly type: "constructor";
9
+ }, {
10
+ readonly inputs: readonly [];
11
+ readonly name: "DepositsPaused";
12
+ readonly type: "error";
13
+ }, {
14
+ readonly inputs: readonly [];
15
+ readonly name: "EthTransferFailed";
16
+ readonly type: "error";
17
+ }, {
18
+ readonly inputs: readonly [];
19
+ readonly name: "InsufficientBalance";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly inputs: readonly [];
23
+ readonly name: "NoStrategyContractBalance";
24
+ readonly type: "error";
25
+ }, {
26
+ readonly inputs: readonly [];
27
+ readonly name: "NotOwner";
28
+ readonly type: "error";
29
+ }, {
30
+ readonly inputs: readonly [];
31
+ readonly name: "ReentrantCall";
32
+ readonly type: "error";
33
+ }, {
34
+ readonly inputs: readonly [];
35
+ readonly name: "StrategyAlreadyActive";
36
+ readonly type: "error";
37
+ }, {
38
+ readonly inputs: readonly [];
39
+ readonly name: "ZeroAddress";
40
+ readonly type: "error";
41
+ }, {
42
+ readonly inputs: readonly [];
43
+ readonly name: "ZeroAmount";
44
+ readonly type: "error";
45
+ }, {
46
+ readonly anonymous: false;
47
+ readonly inputs: readonly [{
48
+ readonly indexed: true;
49
+ readonly internalType: "address";
50
+ readonly name: "user";
51
+ readonly type: "address";
52
+ }, {
53
+ readonly indexed: false;
54
+ readonly internalType: "uint256";
55
+ readonly name: "amount";
56
+ readonly type: "uint256";
57
+ }];
58
+ readonly name: "Deposited";
59
+ readonly type: "event";
60
+ }, {
61
+ readonly anonymous: false;
62
+ readonly inputs: readonly [{
63
+ readonly indexed: false;
64
+ readonly internalType: "bool";
65
+ readonly name: "paused";
66
+ readonly type: "bool";
67
+ }];
68
+ readonly name: "DepositsPausedSet";
69
+ readonly type: "event";
70
+ }, {
71
+ readonly anonymous: false;
72
+ readonly inputs: readonly [{
73
+ readonly indexed: true;
74
+ readonly internalType: "address";
75
+ readonly name: "user";
76
+ readonly type: "address";
77
+ }, {
78
+ readonly indexed: false;
79
+ readonly internalType: "uint256";
80
+ readonly name: "amount";
81
+ readonly type: "uint256";
82
+ }];
83
+ readonly name: "StrategyEngineActivated";
84
+ readonly type: "event";
85
+ }, {
86
+ readonly anonymous: false;
87
+ readonly inputs: readonly [{
88
+ readonly indexed: true;
89
+ readonly internalType: "address";
90
+ readonly name: "user";
91
+ readonly type: "address";
92
+ }];
93
+ readonly name: "StrategyEngineDeactivated";
94
+ readonly type: "event";
95
+ }, {
96
+ readonly anonymous: false;
97
+ readonly inputs: readonly [{
98
+ readonly indexed: true;
99
+ readonly internalType: "address";
100
+ readonly name: "user";
101
+ readonly type: "address";
102
+ }, {
103
+ readonly indexed: false;
104
+ readonly internalType: "uint256";
105
+ readonly name: "amount";
106
+ readonly type: "uint256";
107
+ }];
108
+ readonly name: "Withdrawn";
109
+ readonly type: "event";
110
+ }, {
111
+ readonly inputs: readonly [];
112
+ readonly name: "activateStrategyEngine";
113
+ readonly outputs: readonly [];
114
+ readonly stateMutability: "nonpayable";
115
+ readonly type: "function";
116
+ }, {
117
+ readonly inputs: readonly [{
118
+ readonly internalType: "address";
119
+ readonly name: "user";
120
+ readonly type: "address";
121
+ }];
122
+ readonly name: "allocatedToStrategy";
123
+ readonly outputs: readonly [{
124
+ readonly internalType: "uint256";
125
+ readonly name: "amount";
126
+ readonly type: "uint256";
127
+ }];
128
+ readonly stateMutability: "view";
129
+ readonly type: "function";
130
+ }, {
131
+ readonly inputs: readonly [{
132
+ readonly internalType: "address";
133
+ readonly name: "user";
134
+ readonly type: "address";
135
+ }];
136
+ readonly name: "balances";
137
+ readonly outputs: readonly [{
138
+ readonly internalType: "uint256";
139
+ readonly name: "balance";
140
+ readonly type: "uint256";
141
+ }];
142
+ readonly stateMutability: "view";
143
+ readonly type: "function";
144
+ }, {
145
+ readonly inputs: readonly [];
146
+ readonly name: "deactivateStrategyEngine";
147
+ readonly outputs: readonly [];
148
+ readonly stateMutability: "nonpayable";
149
+ readonly type: "function";
150
+ }, {
151
+ readonly inputs: readonly [];
152
+ readonly name: "deposit";
153
+ readonly outputs: readonly [];
154
+ readonly stateMutability: "payable";
155
+ readonly type: "function";
156
+ }, {
157
+ readonly inputs: readonly [];
158
+ readonly name: "depositsPaused";
159
+ readonly outputs: readonly [{
160
+ readonly internalType: "bool";
161
+ readonly name: "";
162
+ readonly type: "bool";
163
+ }];
164
+ readonly stateMutability: "view";
165
+ readonly type: "function";
166
+ }, {
167
+ readonly inputs: readonly [];
168
+ readonly name: "owner";
169
+ readonly outputs: readonly [{
170
+ readonly internalType: "address";
171
+ readonly name: "";
172
+ readonly type: "address";
173
+ }];
174
+ readonly stateMutability: "view";
175
+ readonly type: "function";
176
+ }, {
177
+ readonly inputs: readonly [{
178
+ readonly internalType: "bool";
179
+ readonly name: "paused";
180
+ readonly type: "bool";
181
+ }];
182
+ readonly name: "setDepositsPaused";
183
+ readonly outputs: readonly [];
184
+ readonly stateMutability: "nonpayable";
185
+ readonly type: "function";
186
+ }, {
187
+ readonly inputs: readonly [{
188
+ readonly internalType: "address";
189
+ readonly name: "user";
190
+ readonly type: "address";
191
+ }];
192
+ readonly name: "strategyActive";
193
+ readonly outputs: readonly [{
194
+ readonly internalType: "bool";
195
+ readonly name: "enabled";
196
+ readonly type: "bool";
197
+ }];
198
+ readonly stateMutability: "view";
199
+ readonly type: "function";
200
+ }, {
201
+ readonly inputs: readonly [];
202
+ readonly name: "strategyWallet";
203
+ readonly outputs: readonly [{
204
+ readonly internalType: "address payable";
205
+ readonly name: "";
206
+ readonly type: "address";
207
+ }];
208
+ readonly stateMutability: "view";
209
+ readonly type: "function";
210
+ }, {
211
+ readonly inputs: readonly [];
212
+ readonly name: "totalAllocatedToStrategy";
213
+ readonly outputs: readonly [{
214
+ readonly internalType: "uint256";
215
+ readonly name: "";
216
+ readonly type: "uint256";
217
+ }];
218
+ readonly stateMutability: "view";
219
+ readonly type: "function";
220
+ }, {
221
+ readonly inputs: readonly [];
222
+ readonly name: "totalDeposits";
223
+ readonly outputs: readonly [{
224
+ readonly internalType: "uint256";
225
+ readonly name: "";
226
+ readonly type: "uint256";
227
+ }];
228
+ readonly stateMutability: "view";
229
+ readonly type: "function";
230
+ }, {
231
+ readonly inputs: readonly [{
232
+ readonly internalType: "uint256";
233
+ readonly name: "amount";
234
+ readonly type: "uint256";
235
+ }];
236
+ readonly name: "withdraw";
237
+ readonly outputs: readonly [];
238
+ readonly stateMutability: "nonpayable";
239
+ readonly type: "function";
240
+ }, {
241
+ readonly inputs: readonly [];
242
+ readonly name: "withdrawAll";
243
+ readonly outputs: readonly [];
244
+ readonly stateMutability: "nonpayable";
245
+ readonly type: "function";
246
+ }, {
247
+ readonly stateMutability: "payable";
248
+ readonly type: "receive";
249
+ }];
250
+ //# sourceMappingURL=bandStrategyAbi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bandStrategyAbi.d.ts","sourceRoot":"","sources":["../src/bandStrategyAbi.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgXpB,CAAC"}
@@ -0,0 +1,323 @@
1
+ // Generated from artifacts/contracts/BandStrategy.sol/BandStrategy.json
2
+ export const BAND_STRATEGY_ABI = [
3
+ {
4
+ "inputs": [
5
+ {
6
+ "internalType": "address payable",
7
+ "name": "strategyWallet_",
8
+ "type": "address"
9
+ }
10
+ ],
11
+ "stateMutability": "nonpayable",
12
+ "type": "constructor"
13
+ },
14
+ {
15
+ "inputs": [],
16
+ "name": "DepositsPaused",
17
+ "type": "error"
18
+ },
19
+ {
20
+ "inputs": [],
21
+ "name": "EthTransferFailed",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "inputs": [],
26
+ "name": "InsufficientBalance",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [],
31
+ "name": "NoStrategyContractBalance",
32
+ "type": "error"
33
+ },
34
+ {
35
+ "inputs": [],
36
+ "name": "NotOwner",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [],
41
+ "name": "ReentrantCall",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "StrategyAlreadyActive",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ZeroAddress",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "ZeroAmount",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "anonymous": false,
61
+ "inputs": [
62
+ {
63
+ "indexed": true,
64
+ "internalType": "address",
65
+ "name": "user",
66
+ "type": "address"
67
+ },
68
+ {
69
+ "indexed": false,
70
+ "internalType": "uint256",
71
+ "name": "amount",
72
+ "type": "uint256"
73
+ }
74
+ ],
75
+ "name": "Deposited",
76
+ "type": "event"
77
+ },
78
+ {
79
+ "anonymous": false,
80
+ "inputs": [
81
+ {
82
+ "indexed": false,
83
+ "internalType": "bool",
84
+ "name": "paused",
85
+ "type": "bool"
86
+ }
87
+ ],
88
+ "name": "DepositsPausedSet",
89
+ "type": "event"
90
+ },
91
+ {
92
+ "anonymous": false,
93
+ "inputs": [
94
+ {
95
+ "indexed": true,
96
+ "internalType": "address",
97
+ "name": "user",
98
+ "type": "address"
99
+ },
100
+ {
101
+ "indexed": false,
102
+ "internalType": "uint256",
103
+ "name": "amount",
104
+ "type": "uint256"
105
+ }
106
+ ],
107
+ "name": "StrategyEngineActivated",
108
+ "type": "event"
109
+ },
110
+ {
111
+ "anonymous": false,
112
+ "inputs": [
113
+ {
114
+ "indexed": true,
115
+ "internalType": "address",
116
+ "name": "user",
117
+ "type": "address"
118
+ }
119
+ ],
120
+ "name": "StrategyEngineDeactivated",
121
+ "type": "event"
122
+ },
123
+ {
124
+ "anonymous": false,
125
+ "inputs": [
126
+ {
127
+ "indexed": true,
128
+ "internalType": "address",
129
+ "name": "user",
130
+ "type": "address"
131
+ },
132
+ {
133
+ "indexed": false,
134
+ "internalType": "uint256",
135
+ "name": "amount",
136
+ "type": "uint256"
137
+ }
138
+ ],
139
+ "name": "Withdrawn",
140
+ "type": "event"
141
+ },
142
+ {
143
+ "inputs": [],
144
+ "name": "activateStrategyEngine",
145
+ "outputs": [],
146
+ "stateMutability": "nonpayable",
147
+ "type": "function"
148
+ },
149
+ {
150
+ "inputs": [
151
+ {
152
+ "internalType": "address",
153
+ "name": "user",
154
+ "type": "address"
155
+ }
156
+ ],
157
+ "name": "allocatedToStrategy",
158
+ "outputs": [
159
+ {
160
+ "internalType": "uint256",
161
+ "name": "amount",
162
+ "type": "uint256"
163
+ }
164
+ ],
165
+ "stateMutability": "view",
166
+ "type": "function"
167
+ },
168
+ {
169
+ "inputs": [
170
+ {
171
+ "internalType": "address",
172
+ "name": "user",
173
+ "type": "address"
174
+ }
175
+ ],
176
+ "name": "balances",
177
+ "outputs": [
178
+ {
179
+ "internalType": "uint256",
180
+ "name": "balance",
181
+ "type": "uint256"
182
+ }
183
+ ],
184
+ "stateMutability": "view",
185
+ "type": "function"
186
+ },
187
+ {
188
+ "inputs": [],
189
+ "name": "deactivateStrategyEngine",
190
+ "outputs": [],
191
+ "stateMutability": "nonpayable",
192
+ "type": "function"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "deposit",
197
+ "outputs": [],
198
+ "stateMutability": "payable",
199
+ "type": "function"
200
+ },
201
+ {
202
+ "inputs": [],
203
+ "name": "depositsPaused",
204
+ "outputs": [
205
+ {
206
+ "internalType": "bool",
207
+ "name": "",
208
+ "type": "bool"
209
+ }
210
+ ],
211
+ "stateMutability": "view",
212
+ "type": "function"
213
+ },
214
+ {
215
+ "inputs": [],
216
+ "name": "owner",
217
+ "outputs": [
218
+ {
219
+ "internalType": "address",
220
+ "name": "",
221
+ "type": "address"
222
+ }
223
+ ],
224
+ "stateMutability": "view",
225
+ "type": "function"
226
+ },
227
+ {
228
+ "inputs": [
229
+ {
230
+ "internalType": "bool",
231
+ "name": "paused",
232
+ "type": "bool"
233
+ }
234
+ ],
235
+ "name": "setDepositsPaused",
236
+ "outputs": [],
237
+ "stateMutability": "nonpayable",
238
+ "type": "function"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "address",
244
+ "name": "user",
245
+ "type": "address"
246
+ }
247
+ ],
248
+ "name": "strategyActive",
249
+ "outputs": [
250
+ {
251
+ "internalType": "bool",
252
+ "name": "enabled",
253
+ "type": "bool"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "strategyWallet",
262
+ "outputs": [
263
+ {
264
+ "internalType": "address payable",
265
+ "name": "",
266
+ "type": "address"
267
+ }
268
+ ],
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [],
274
+ "name": "totalAllocatedToStrategy",
275
+ "outputs": [
276
+ {
277
+ "internalType": "uint256",
278
+ "name": "",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "stateMutability": "view",
283
+ "type": "function"
284
+ },
285
+ {
286
+ "inputs": [],
287
+ "name": "totalDeposits",
288
+ "outputs": [
289
+ {
290
+ "internalType": "uint256",
291
+ "name": "",
292
+ "type": "uint256"
293
+ }
294
+ ],
295
+ "stateMutability": "view",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "inputs": [
300
+ {
301
+ "internalType": "uint256",
302
+ "name": "amount",
303
+ "type": "uint256"
304
+ }
305
+ ],
306
+ "name": "withdraw",
307
+ "outputs": [],
308
+ "stateMutability": "nonpayable",
309
+ "type": "function"
310
+ },
311
+ {
312
+ "inputs": [],
313
+ "name": "withdrawAll",
314
+ "outputs": [],
315
+ "stateMutability": "nonpayable",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "stateMutability": "payable",
320
+ "type": "receive"
321
+ }
322
+ ];
323
+ //# sourceMappingURL=bandStrategyAbi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bandStrategyAbi.js","sourceRoot":"","sources":["../src/bandStrategyAbi.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B;QACI,QAAQ,EAAG;YACI;gBACI,cAAc,EAAG,iBAAiB;gBAClC,MAAM,EAAG,iBAAiB;gBAC1B,MAAM,EAAG,SAAS;aACrB;SACJ;QACZ,iBAAiB,EAAG,YAAY;QAChC,MAAM,EAAG,aAAa;KACzB;IACD;QACI,QAAQ,EAAG,EAEC;QACZ,MAAM,EAAG,gBAAgB;QACzB,MAAM,EAAG,OAAO;KACnB;IACD;QACI,QAAQ,EAAG,EAEC;QACZ,MAAM,EAAG,mBAAmB;QAC5B,MAAM,EAAG,OAAO;KACnB;IACD;QACI,QAAQ,EAAG,EAEC;QACZ,MAAM,EAAG,qBAAqB;QAC9B,MAAM,EAAG,OAAO;KACnB;IACD;QACI,QAAQ,EAAG,EAEC;QACZ,MAAM,EAAG,2BAA2B;QACpC,MAAM,EAAG,OAAO;KACnB;IACD;QACI,QAAQ,EAAG,EAEC;QACZ,MAAM,EAAG,UAAU;QACnB,MAAM,EAAG,OAAO;KACnB;IACD;QACI,QAAQ,EAAG,EAEC;QACZ,MAAM,EAAG,eAAe;QACxB,MAAM,EAAG,OAAO;KACnB;IACD;QACI,QAAQ,EAAG,EAEC;QACZ,MAAM,EAAG,uBAAuB;QAChC,MAAM,EAAG,OAAO;KACnB;IACD;QACI,QAAQ,EAAG,EAEC;QACZ,MAAM,EAAG,aAAa;QACtB,MAAM,EAAG,OAAO;KACnB;IACD;QACI,QAAQ,EAAG,EAEC;QACZ,MAAM,EAAG,YAAY;QACrB,MAAM,EAAG,OAAO;KACnB;IACD;QACI,WAAW,EAAG,KAAK;QACnB,QAAQ,EAAG;YACI;gBACI,SAAS,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AAM,EAAG,EAAE;gBACX,MAAM,EAAG,SAAS;aACrB;SACJ;QACb,iBAAiB,EAAG,MAAM;QAC1B,MAAM,EAAG,UAAU;KACtB;IACD;QACI,QAAQ,EAAG,EAEC;QACZ,MAAM,EAAG,eAAe;QACxB,SAAS,EAAG;YACI;gBACI,cAAc,EAAG,SAAS;gBAC1B,MAAM,EAAG,EAAE;gBACX,MAAM,EAAG,SAAS;aACrB;SACJ;QACb,iBAAiB,EAAG,MAAM;QAC1B,MAAM,EAAG,UAAU;KACtB;IACD;QACI,QAAQ,EAAG;YACI;gBACI,cAAc,EAAG,SAAS;gBAC1B,MAAM,EAAG,QAAQ;gBACjB,MAAM,EAAG,SAAS;aACrB;SACJ;QACZ,MAAM,EAAG,UAAU;QACnB,SAAS,EAAG,EAEC;QACb,iBAAiB,EAAG,YAAY;QAChC,MAAM,EAAG,UAAU;KACtB;IACD;QACI,QAAQ,EAAG,EAEC;QACZ,MAAM,EAAG,aAAa;QACtB,SAAS,EAAG,EAEC;QACb,iBAAiB,EAAG,YAAY;QAChC,MAAM,EAAG,UAAU;KACtB;IACD;QACI,iBAAiB,EAAG,SAAS;QAC7B,MAAM,EAAG,SAAS;KACrB;CACK,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const BAND_STRATEGY_BYTECODE: "0x60c0604052600160065534801561001557600080fd5b5060405161098238038061098283398101604081905261003491610070565b6001600160a01b03811661005b5760405163d92e233d60e01b815260040160405180910390fd5b336080526001600160a01b031660a0526100a0565b60006020828403121561008257600080fd5b81516001600160a01b038116811461009957600080fd5b9392505050565b60805160a0516108af6100d36000396000818161023d01526107180152600081816101f101526103b301526108af6000f3fe6080604052600436106100e15760003560e01c80638da5cb5b1161007f578063ad3ad42411610059578063ad3ad42414610274578063b37313bf146102a1578063d0e30db0146102b7578063ede1b22e146102bf57600080fd5b80638da5cb5b146101df5780638ed034e91461022b578063959f54e11461025f57600080fd5b80634b830b8b116100bb5780634b830b8b1461017557806360da3e831461018a5780637d882097146101b4578063853828b6146101ca57600080fd5b80631c481e2d146100f557806327e235e3146101155780632e1a7d4d1461015557600080fd5b366100f0576100ee6102ef565b005b600080fd5b34801561010157600080fd5b506100ee6101103660046107cc565b6103a8565b34801561012157600080fd5b506101426101303660046107f5565b60036020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561016157600080fd5b506100ee61017036600461081e565b610438565b34801561018157600080fd5b506100ee6105a9565b34801561019657600080fd5b506000546101a49060ff1681565b604051901515815260200161014c565b3480156101c057600080fd5b5061014260015481565b3480156101d657600080fd5b506100ee6105e8565b3480156101eb57600080fd5b506102137f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161014c565b34801561023757600080fd5b506102137f000000000000000000000000000000000000000000000000000000000000000081565b34801561026b57600080fd5b506100ee610603565b34801561028057600080fd5b5061014261028f3660046107f5565b60056020526000908152604090205481565b3480156102ad57600080fd5b5061014260025481565b6100ee6102ef565b3480156102cb57600080fd5b506101a46102da3660046107f5565b60046020526000908152604090205460ff1681565b60005460ff16156103135760405163deeb694360e01b815260040160405180910390fd5b3460000361033457604051631f2a200560e01b815260040160405180910390fd5b336000908152600360205260408120805434929061035390849061084d565b92505081905550346001600082825461036c919061084d565b909155505060405134815233907f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c49060200160405180910390a2565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103f1576040516330cd747160e01b815260040160405180910390fd5b6000805460ff19168215159081179091556040519081527f9cc2044889457670dcf1b4f002e64d84b8507017b30f77aab31d88416a23c4cd9060200160405180910390a150565b60065460011461045b576040516306fda65d60e31b815260040160405180910390fd5b6002600655600081900361048257604051631f2a200560e01b815260040160405180910390fd5b336000908152600360205260409020548111156104b257604051631e9acf1760e31b815260040160405180910390fd5b336000908152600460209081526040808320805460ff191690556003909152812080548392906104e3908490610866565b9250508190555080600160008282546104fc9190610866565b9091555050604051600090339083908381818185875af1925050503d8060008114610543576040519150601f19603f3d011682016040523d82523d6000602084013e610548565b606091505b505090508061056a57604051630db2c7f160e31b815260040160405180910390fd5b60405182815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a250506001600655565b33600081815260046020526040808220805460ff19169055517f868c2d19a0487b1bf360b36a2b1cee837a89a1c10edfde53a7b7afc7a165e4899190a2565b3360009081526003602052604090205461060190610438565b565b600654600114610626576040516306fda65d60e31b815260040160405180910390fd5b6002600655336000908152600360205260408120549081900361065c576040516306ccbe3f60e11b815260040160405180910390fd5b3360009081526004602052604090205460ff161561068d5760405163c976754d60e01b815260040160405180910390fd5b336000908152600360205260408120819055600180548392906106b1908490610866565b9091555050336000908152600460209081526040808320805460ff191660011790556005909152812080548392906106ea90849061084d565b925050819055508060026000828254610703919061084d565b90915550506040516000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083908381818185875af1925050503d8060008114610773576040519150601f19603f3d011682016040523d82523d6000602084013e610778565b606091505b505090508061079a57604051630db2c7f160e31b815260040160405180910390fd5b60405182815233907fcfe84fb5dd78d472809f0f9795da6a1bba953df285dee2c4ea72b999f1f1f50090602001610598565b6000602082840312156107de57600080fd5b813580151581146107ee57600080fd5b9392505050565b60006020828403121561080757600080fd5b81356001600160a01b03811681146107ee57600080fd5b60006020828403121561083057600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561086057610860610837565b92915050565b818103818111156108605761086061083756fea2646970667358221220d6519b262d7439c2b284a8c6ff6729e7d430baa7ca4ee419b2b714e967af1e9664736f6c63430008180033";
2
+ //# sourceMappingURL=bandStrategyBytecode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bandStrategyBytecode.d.ts","sourceRoot":"","sources":["../src/bandStrategyBytecode.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,sBAAsB,EAAG,wwJAAixJ,CAAC"}
@@ -0,0 +1,3 @@
1
+ // Generated from artifacts/contracts/BandStrategy.sol/BandStrategy.json
2
+ export const BAND_STRATEGY_BYTECODE = "0x60c0604052600160065534801561001557600080fd5b5060405161098238038061098283398101604081905261003491610070565b6001600160a01b03811661005b5760405163d92e233d60e01b815260040160405180910390fd5b336080526001600160a01b031660a0526100a0565b60006020828403121561008257600080fd5b81516001600160a01b038116811461009957600080fd5b9392505050565b60805160a0516108af6100d36000396000818161023d01526107180152600081816101f101526103b301526108af6000f3fe6080604052600436106100e15760003560e01c80638da5cb5b1161007f578063ad3ad42411610059578063ad3ad42414610274578063b37313bf146102a1578063d0e30db0146102b7578063ede1b22e146102bf57600080fd5b80638da5cb5b146101df5780638ed034e91461022b578063959f54e11461025f57600080fd5b80634b830b8b116100bb5780634b830b8b1461017557806360da3e831461018a5780637d882097146101b4578063853828b6146101ca57600080fd5b80631c481e2d146100f557806327e235e3146101155780632e1a7d4d1461015557600080fd5b366100f0576100ee6102ef565b005b600080fd5b34801561010157600080fd5b506100ee6101103660046107cc565b6103a8565b34801561012157600080fd5b506101426101303660046107f5565b60036020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561016157600080fd5b506100ee61017036600461081e565b610438565b34801561018157600080fd5b506100ee6105a9565b34801561019657600080fd5b506000546101a49060ff1681565b604051901515815260200161014c565b3480156101c057600080fd5b5061014260015481565b3480156101d657600080fd5b506100ee6105e8565b3480156101eb57600080fd5b506102137f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161014c565b34801561023757600080fd5b506102137f000000000000000000000000000000000000000000000000000000000000000081565b34801561026b57600080fd5b506100ee610603565b34801561028057600080fd5b5061014261028f3660046107f5565b60056020526000908152604090205481565b3480156102ad57600080fd5b5061014260025481565b6100ee6102ef565b3480156102cb57600080fd5b506101a46102da3660046107f5565b60046020526000908152604090205460ff1681565b60005460ff16156103135760405163deeb694360e01b815260040160405180910390fd5b3460000361033457604051631f2a200560e01b815260040160405180910390fd5b336000908152600360205260408120805434929061035390849061084d565b92505081905550346001600082825461036c919061084d565b909155505060405134815233907f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c49060200160405180910390a2565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103f1576040516330cd747160e01b815260040160405180910390fd5b6000805460ff19168215159081179091556040519081527f9cc2044889457670dcf1b4f002e64d84b8507017b30f77aab31d88416a23c4cd9060200160405180910390a150565b60065460011461045b576040516306fda65d60e31b815260040160405180910390fd5b6002600655600081900361048257604051631f2a200560e01b815260040160405180910390fd5b336000908152600360205260409020548111156104b257604051631e9acf1760e31b815260040160405180910390fd5b336000908152600460209081526040808320805460ff191690556003909152812080548392906104e3908490610866565b9250508190555080600160008282546104fc9190610866565b9091555050604051600090339083908381818185875af1925050503d8060008114610543576040519150601f19603f3d011682016040523d82523d6000602084013e610548565b606091505b505090508061056a57604051630db2c7f160e31b815260040160405180910390fd5b60405182815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a250506001600655565b33600081815260046020526040808220805460ff19169055517f868c2d19a0487b1bf360b36a2b1cee837a89a1c10edfde53a7b7afc7a165e4899190a2565b3360009081526003602052604090205461060190610438565b565b600654600114610626576040516306fda65d60e31b815260040160405180910390fd5b6002600655336000908152600360205260408120549081900361065c576040516306ccbe3f60e11b815260040160405180910390fd5b3360009081526004602052604090205460ff161561068d5760405163c976754d60e01b815260040160405180910390fd5b336000908152600360205260408120819055600180548392906106b1908490610866565b9091555050336000908152600460209081526040808320805460ff191660011790556005909152812080548392906106ea90849061084d565b925050819055508060026000828254610703919061084d565b90915550506040516000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083908381818185875af1925050503d8060008114610773576040519150601f19603f3d011682016040523d82523d6000602084013e610778565b606091505b505090508061079a57604051630db2c7f160e31b815260040160405180910390fd5b60405182815233907fcfe84fb5dd78d472809f0f9795da6a1bba953df285dee2c4ea72b999f1f1f50090602001610598565b6000602082840312156107de57600080fd5b813580151581146107ee57600080fd5b9392505050565b60006020828403121561080757600080fd5b81356001600160a01b03811681146107ee57600080fd5b60006020828403121561083057600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561086057610860610837565b92915050565b818103818111156108605761086061083756fea2646970667358221220d6519b262d7439c2b284a8c6ff6729e7d430baa7ca4ee419b2b714e967af1e9664736f6c63430008180033";
3
+ //# sourceMappingURL=bandStrategyBytecode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bandStrategyBytecode.js","sourceRoot":"","sources":["../src/bandStrategyBytecode.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,MAAM,CAAC,MAAM,sBAAsB,GAAG,wwJAAixJ,CAAC"}
@@ -0,0 +1,36 @@
1
+ export { BAND_STRATEGY_ABI } from "./bandStrategyAbi.js";
2
+ export { BAND_STRATEGY_BYTECODE } from "./bandStrategyBytecode.js";
3
+ export { BAND_EXECUTOR_ABI } from "./bandExecutorAbi.js";
4
+ export { BAND_EXECUTOR_BYTECODE } from "./bandExecutorBytecode.js";
5
+ export { BandPanel, type BandPanelProps } from "./BandPanel.js";
6
+ export { BandContractPanel, type BandContractPanelProps } from "./BandContractPanel.js";
7
+ export { createBandKitConfig, type CreateBandKitConfigOptions } from "./rainbowkit.js";
8
+ export { DEFAULT_BAND_STRATEGY_STORAGE_KEY, useStrategyContractDeployment, type UseStrategyContractDeploymentOptions, type UseStrategyContractDeploymentResult } from "./useStrategyContractDeployment.js";
9
+ export { useBandDashboard, type UseBandDashboardOptions } from "./useBandDashboard.js";
10
+ export { approveUniswapV2RoundTripToken, previewUniswapV2RoundTrip, type EthereumRequestProvider, type UniswapV2RoundTripOptions, type UniswapV2RoundTripPreview } from "./tradingExecutor.js";
11
+ export { useEthPriceTicker, type BinanceMiniTickerMessage, type EthPriceTickerStatus, type UseEthPriceTickerOptions, type UseEthPriceTickerResult } from "./useEthPriceTicker.js";
12
+ export { useStrategyContract, type StrategyContractAction, type UseStrategyContractOptions, type UseStrategyContractResult } from "./useStrategyContract.js";
13
+ export { useWalletEthBalance, type UseWalletEthBalanceOptions, type UseWalletEthBalanceResult } from "./useWalletEthBalance.js";
14
+ /** @deprecated Use BAND_STRATEGY_ABI. Will be removed in v1.0. */
15
+ export { BAND_STRATEGY_ABI as ETH_BOT_VAULT_ABI } from "./bandStrategyAbi.js";
16
+ /** @deprecated Use BAND_STRATEGY_BYTECODE. Will be removed in v1.0. */
17
+ export { BAND_STRATEGY_BYTECODE as ETH_BOT_VAULT_BYTECODE } from "./bandStrategyBytecode.js";
18
+ /** @deprecated Use BAND_EXECUTOR_ABI. Will be removed in v1.0. */
19
+ export { BAND_EXECUTOR_ABI as BOT_TRADE_EXECUTOR_ABI } from "./bandExecutorAbi.js";
20
+ /** @deprecated Use BAND_EXECUTOR_BYTECODE. Will be removed in v1.0. */
21
+ export { BAND_EXECUTOR_BYTECODE as BOT_TRADE_EXECUTOR_BYTECODE } from "./bandExecutorBytecode.js";
22
+ /** @deprecated Use BandPanel. Will be removed in v1.0. */
23
+ export { BandPanel as EthBotPanel, type BandPanelProps as EthBotPanelProps } from "./BandPanel.js";
24
+ /** @deprecated Use BandContractPanel. Will be removed in v1.0. */
25
+ export { BandContractPanel as EthVaultPanel, type BandContractPanelProps as EthVaultPanelProps } from "./BandContractPanel.js";
26
+ /** @deprecated Use createBandKitConfig. Will be removed in v1.0. */
27
+ export { createBandKitConfig as createEthBotRainbowKitConfig, type CreateBandKitConfigOptions as CreateEthBotRainbowKitConfigOptions } from "./rainbowkit.js";
28
+ /** @deprecated Use DEFAULT_BAND_STRATEGY_STORAGE_KEY. Will be removed in v1.0. */
29
+ export { DEFAULT_BAND_STRATEGY_STORAGE_KEY as DEFAULT_ETH_BOT_VAULT_STORAGE_KEY } from "./useStrategyContractDeployment.js";
30
+ /** @deprecated Use useStrategyContractDeployment. Will be removed in v1.0. */
31
+ export { useStrategyContractDeployment as useEthBotVaultDeployment, type UseStrategyContractDeploymentOptions as UseEthBotVaultDeploymentOptions, type UseStrategyContractDeploymentResult as UseEthBotVaultDeploymentResult } from "./useStrategyContractDeployment.js";
32
+ /** @deprecated Use useBandDashboard. Will be removed in v1.0. */
33
+ export { useBandDashboard as useEthBotDashboard, type UseBandDashboardOptions as UseEthBotDashboardOptions } from "./useBandDashboard.js";
34
+ /** @deprecated Use useStrategyContract. Will be removed in v1.0. */
35
+ export { useStrategyContract as useEthVault, type StrategyContractAction as EthVaultAction, type UseStrategyContractOptions as UseEthVaultOptions, type UseStrategyContractResult as UseEthVaultResult } from "./useStrategyContract.js";
36
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AACvF,OAAO,EACL,iCAAiC,EACjC,6BAA6B,EAC7B,KAAK,oCAAoC,EACzC,KAAK,mCAAmC,EACzC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AACvF,OAAO,EACL,8BAA8B,EAC9B,yBAAyB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,u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