@pufferfinance/puffer-sdk 1.6.1 → 1.7.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/dist/api/puffer-client.cjs +1 -1
- package/dist/api/puffer-client.cjs.map +1 -1
- package/dist/api/puffer-client.d.ts +9 -3
- package/dist/api/puffer-client.js +65 -51
- package/dist/api/puffer-client.js.map +1 -1
- package/dist/contracts/abis/mainnet/Accountant.cjs +2 -0
- package/dist/contracts/abis/mainnet/Accountant.cjs.map +1 -0
- package/dist/contracts/abis/mainnet/Accountant.d.ts +521 -0
- package/dist/contracts/abis/mainnet/Accountant.js +494 -0
- package/dist/contracts/abis/mainnet/Accountant.js.map +1 -0
- package/dist/contracts/abis/mainnet/BoringVault.cjs +2 -0
- package/dist/contracts/abis/mainnet/BoringVault.cjs.map +1 -0
- package/dist/contracts/abis/mainnet/{PufToken.d.ts → BoringVault.d.ts} +395 -449
- package/dist/contracts/abis/mainnet/BoringVault.js +407 -0
- package/dist/contracts/abis/mainnet/BoringVault.js.map +1 -0
- package/dist/contracts/abis/mainnet/Teller.cjs +2 -0
- package/dist/contracts/abis/mainnet/Teller.cjs.map +1 -0
- package/dist/contracts/abis/mainnet/Teller.d.ts +541 -0
- package/dist/contracts/abis/mainnet/Teller.js +450 -0
- package/dist/contracts/abis/mainnet/Teller.js.map +1 -0
- package/dist/contracts/abis/nucleus-accountant-abis.cjs +2 -0
- package/dist/contracts/abis/nucleus-accountant-abis.cjs.map +1 -0
- package/dist/contracts/abis/nucleus-accountant-abis.d.ts +525 -0
- package/dist/contracts/abis/nucleus-accountant-abis.js +9 -0
- package/dist/contracts/abis/nucleus-accountant-abis.js.map +1 -0
- package/dist/contracts/abis/nucleus-boring-vault-abis.cjs +2 -0
- package/dist/contracts/abis/nucleus-boring-vault-abis.cjs.map +1 -0
- package/dist/contracts/abis/{puf-token-abis.d.ts → nucleus-boring-vault-abis.d.ts} +396 -450
- package/dist/contracts/abis/nucleus-boring-vault-abis.js +9 -0
- package/dist/contracts/abis/nucleus-boring-vault-abis.js.map +1 -0
- package/dist/contracts/abis/nucleus-teller-abis.cjs +2 -0
- package/dist/contracts/abis/nucleus-teller-abis.cjs.map +1 -0
- package/dist/contracts/abis/nucleus-teller-abis.d.ts +545 -0
- package/dist/contracts/abis/nucleus-teller-abis.js +9 -0
- package/dist/contracts/abis/nucleus-teller-abis.js.map +1 -0
- package/dist/contracts/addresses.cjs +1 -1
- package/dist/contracts/addresses.cjs.map +1 -1
- package/dist/contracts/addresses.d.ts +6 -0
- package/dist/contracts/addresses.js +15 -8
- package/dist/contracts/addresses.js.map +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.cjs +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.cjs.map +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.d.ts +2 -2
- package/dist/contracts/handlers/erc20-permit-handler.js +4 -4
- package/dist/contracts/handlers/erc20-permit-handler.js.map +1 -1
- package/dist/contracts/handlers/nucleus-accountant-handler.cjs +2 -0
- package/dist/contracts/handlers/nucleus-accountant-handler.cjs.map +1 -0
- package/dist/contracts/handlers/nucleus-accountant-handler.d.ts +6702 -0
- package/dist/contracts/handlers/nucleus-accountant-handler.js +81 -0
- package/dist/contracts/handlers/nucleus-accountant-handler.js.map +1 -0
- package/dist/contracts/handlers/nucleus-boring-vault-handler.cjs +2 -0
- package/dist/contracts/handlers/nucleus-boring-vault-handler.cjs.map +1 -0
- package/dist/contracts/handlers/{puf-token-handler.d.ts → nucleus-boring-vault-handler.d.ts} +462 -517
- package/dist/contracts/handlers/nucleus-boring-vault-handler.js +159 -0
- package/dist/contracts/handlers/nucleus-boring-vault-handler.js.map +1 -0
- package/dist/contracts/handlers/nucleus-teller-handler.cjs +2 -0
- package/dist/contracts/handlers/nucleus-teller-handler.cjs.map +1 -0
- package/dist/contracts/handlers/nucleus-teller-handler.d.ts +6764 -0
- package/dist/contracts/handlers/nucleus-teller-handler.js +145 -0
- package/dist/contracts/handlers/nucleus-teller-handler.js.map +1 -0
- package/dist/contracts/handlers/puf-locker-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puf-locker-handler.d.ts +5 -5
- package/dist/contracts/handlers/puf-locker-handler.js.map +1 -1
- package/dist/contracts/tokens.cjs +1 -1
- package/dist/contracts/tokens.cjs.map +1 -1
- package/dist/contracts/tokens.d.ts +3 -24
- package/dist/contracts/tokens.js +38 -96
- package/dist/contracts/tokens.js.map +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.d.ts +0 -1
- package/dist/main.js +23 -26
- package/dist/main.js.map +1 -1
- package/dist/utils/version.cjs +1 -1
- package/dist/utils/version.js +1 -1
- package/package.json +1 -1
- package/dist/contracts/abis/mainnet/PufToken.cjs +0 -2
- package/dist/contracts/abis/mainnet/PufToken.cjs.map +0 -1
- package/dist/contracts/abis/mainnet/PufToken.js +0 -883
- package/dist/contracts/abis/mainnet/PufToken.js.map +0 -1
- package/dist/contracts/abis/puf-token-abis.cjs +0 -2
- package/dist/contracts/abis/puf-token-abis.cjs.map +0 -1
- package/dist/contracts/abis/puf-token-abis.js +0 -10
- package/dist/contracts/abis/puf-token-abis.js.map +0 -1
- package/dist/contracts/handlers/puf-token-handler.cjs +0 -2
- package/dist/contracts/handlers/puf-token-handler.cjs.map +0 -1
- package/dist/contracts/handlers/puf-token-handler.js +0 -174
- package/dist/contracts/handlers/puf-token-handler.js.map +0 -1
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
const e = [
|
|
2
|
+
{
|
|
3
|
+
inputs: [
|
|
4
|
+
{ internalType: "address", name: "_owner", type: "address" },
|
|
5
|
+
{ internalType: "address", name: "_vault", type: "address" },
|
|
6
|
+
{ internalType: "address", name: "_accountant", type: "address" }
|
|
7
|
+
],
|
|
8
|
+
stateMutability: "nonpayable",
|
|
9
|
+
type: "constructor"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
inputs: [],
|
|
13
|
+
name: "TellerWithMultiAssetSupport__AssetNotSupported",
|
|
14
|
+
type: "error"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
inputs: [],
|
|
18
|
+
name: "TellerWithMultiAssetSupport__BadDepositHash",
|
|
19
|
+
type: "error"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
inputs: [],
|
|
23
|
+
name: "TellerWithMultiAssetSupport__MinimumAssetsNotMet",
|
|
24
|
+
type: "error"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
inputs: [],
|
|
28
|
+
name: "TellerWithMultiAssetSupport__MinimumMintNotMet",
|
|
29
|
+
type: "error"
|
|
30
|
+
},
|
|
31
|
+
{ inputs: [], name: "TellerWithMultiAssetSupport__Paused", type: "error" },
|
|
32
|
+
{
|
|
33
|
+
inputs: [],
|
|
34
|
+
name: "TellerWithMultiAssetSupport__PermitFailedAndAllowanceTooLow",
|
|
35
|
+
type: "error"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
inputs: [],
|
|
39
|
+
name: "TellerWithMultiAssetSupport__ShareLockPeriodTooLong",
|
|
40
|
+
type: "error"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
inputs: [],
|
|
44
|
+
name: "TellerWithMultiAssetSupport__SharesAreLocked",
|
|
45
|
+
type: "error"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
inputs: [],
|
|
49
|
+
name: "TellerWithMultiAssetSupport__SharesAreUnLocked",
|
|
50
|
+
type: "error"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [],
|
|
54
|
+
name: "TellerWithMultiAssetSupport__ZeroAssets",
|
|
55
|
+
type: "error"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
inputs: [],
|
|
59
|
+
name: "TellerWithMultiAssetSupport__ZeroShares",
|
|
60
|
+
type: "error"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
anonymous: !1,
|
|
64
|
+
inputs: [
|
|
65
|
+
{
|
|
66
|
+
indexed: !0,
|
|
67
|
+
internalType: "address",
|
|
68
|
+
name: "asset",
|
|
69
|
+
type: "address"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
name: "AssetAdded",
|
|
73
|
+
type: "event"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
anonymous: !1,
|
|
77
|
+
inputs: [
|
|
78
|
+
{
|
|
79
|
+
indexed: !0,
|
|
80
|
+
internalType: "address",
|
|
81
|
+
name: "asset",
|
|
82
|
+
type: "address"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
name: "AssetRemoved",
|
|
86
|
+
type: "event"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
anonymous: !1,
|
|
90
|
+
inputs: [
|
|
91
|
+
{ indexed: !0, internalType: "address", name: "user", type: "address" },
|
|
92
|
+
{
|
|
93
|
+
indexed: !0,
|
|
94
|
+
internalType: "contract Authority",
|
|
95
|
+
name: "newAuthority",
|
|
96
|
+
type: "address"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
name: "AuthorityUpdated",
|
|
100
|
+
type: "event"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
anonymous: !1,
|
|
104
|
+
inputs: [
|
|
105
|
+
{
|
|
106
|
+
indexed: !0,
|
|
107
|
+
internalType: "address",
|
|
108
|
+
name: "asset",
|
|
109
|
+
type: "address"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
indexed: !1,
|
|
113
|
+
internalType: "uint256",
|
|
114
|
+
name: "depositAmount",
|
|
115
|
+
type: "uint256"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
name: "BulkDeposit",
|
|
119
|
+
type: "event"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
anonymous: !1,
|
|
123
|
+
inputs: [
|
|
124
|
+
{
|
|
125
|
+
indexed: !0,
|
|
126
|
+
internalType: "address",
|
|
127
|
+
name: "asset",
|
|
128
|
+
type: "address"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
indexed: !1,
|
|
132
|
+
internalType: "uint256",
|
|
133
|
+
name: "shareAmount",
|
|
134
|
+
type: "uint256"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
name: "BulkWithdraw",
|
|
138
|
+
type: "event"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
anonymous: !1,
|
|
142
|
+
inputs: [
|
|
143
|
+
{
|
|
144
|
+
indexed: !0,
|
|
145
|
+
internalType: "uint256",
|
|
146
|
+
name: "nonce",
|
|
147
|
+
type: "uint256"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
indexed: !0,
|
|
151
|
+
internalType: "address",
|
|
152
|
+
name: "receiver",
|
|
153
|
+
type: "address"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
indexed: !0,
|
|
157
|
+
internalType: "address",
|
|
158
|
+
name: "depositAsset",
|
|
159
|
+
type: "address"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
indexed: !1,
|
|
163
|
+
internalType: "uint256",
|
|
164
|
+
name: "depositAmount",
|
|
165
|
+
type: "uint256"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
indexed: !1,
|
|
169
|
+
internalType: "uint256",
|
|
170
|
+
name: "shareAmount",
|
|
171
|
+
type: "uint256"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
indexed: !1,
|
|
175
|
+
internalType: "uint256",
|
|
176
|
+
name: "depositTimestamp",
|
|
177
|
+
type: "uint256"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
indexed: !1,
|
|
181
|
+
internalType: "uint256",
|
|
182
|
+
name: "shareLockPeriodAtTimeOfDeposit",
|
|
183
|
+
type: "uint256"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
name: "Deposit",
|
|
187
|
+
type: "event"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
anonymous: !1,
|
|
191
|
+
inputs: [
|
|
192
|
+
{
|
|
193
|
+
indexed: !0,
|
|
194
|
+
internalType: "uint256",
|
|
195
|
+
name: "nonce",
|
|
196
|
+
type: "uint256"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
indexed: !1,
|
|
200
|
+
internalType: "bytes32",
|
|
201
|
+
name: "depositHash",
|
|
202
|
+
type: "bytes32"
|
|
203
|
+
},
|
|
204
|
+
{ indexed: !0, internalType: "address", name: "user", type: "address" }
|
|
205
|
+
],
|
|
206
|
+
name: "DepositRefunded",
|
|
207
|
+
type: "event"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
anonymous: !1,
|
|
211
|
+
inputs: [
|
|
212
|
+
{ indexed: !0, internalType: "address", name: "user", type: "address" },
|
|
213
|
+
{
|
|
214
|
+
indexed: !0,
|
|
215
|
+
internalType: "address",
|
|
216
|
+
name: "newOwner",
|
|
217
|
+
type: "address"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
name: "OwnershipTransferred",
|
|
221
|
+
type: "event"
|
|
222
|
+
},
|
|
223
|
+
{ anonymous: !1, inputs: [], name: "Paused", type: "event" },
|
|
224
|
+
{ anonymous: !1, inputs: [], name: "Unpaused", type: "event" },
|
|
225
|
+
{
|
|
226
|
+
inputs: [],
|
|
227
|
+
name: "accountant",
|
|
228
|
+
outputs: [
|
|
229
|
+
{
|
|
230
|
+
internalType: "contract AccountantWithRateProviders",
|
|
231
|
+
name: "",
|
|
232
|
+
type: "address"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
stateMutability: "view",
|
|
236
|
+
type: "function"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
inputs: [
|
|
240
|
+
{ internalType: "contract ERC20", name: "asset", type: "address" }
|
|
241
|
+
],
|
|
242
|
+
name: "addAsset",
|
|
243
|
+
outputs: [],
|
|
244
|
+
stateMutability: "nonpayable",
|
|
245
|
+
type: "function"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
inputs: [],
|
|
249
|
+
name: "authority",
|
|
250
|
+
outputs: [
|
|
251
|
+
{ internalType: "contract Authority", name: "", type: "address" }
|
|
252
|
+
],
|
|
253
|
+
stateMutability: "view",
|
|
254
|
+
type: "function"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
inputs: [{ internalType: "address", name: "from", type: "address" }],
|
|
258
|
+
name: "beforeTransfer",
|
|
259
|
+
outputs: [],
|
|
260
|
+
stateMutability: "view",
|
|
261
|
+
type: "function"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
inputs: [
|
|
265
|
+
{ internalType: "contract ERC20", name: "depositAsset", type: "address" },
|
|
266
|
+
{ internalType: "uint256", name: "depositAmount", type: "uint256" },
|
|
267
|
+
{ internalType: "uint256", name: "minimumMint", type: "uint256" },
|
|
268
|
+
{ internalType: "address", name: "to", type: "address" }
|
|
269
|
+
],
|
|
270
|
+
name: "bulkDeposit",
|
|
271
|
+
outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
|
|
272
|
+
stateMutability: "nonpayable",
|
|
273
|
+
type: "function"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
inputs: [
|
|
277
|
+
{
|
|
278
|
+
internalType: "contract ERC20",
|
|
279
|
+
name: "withdrawAsset",
|
|
280
|
+
type: "address"
|
|
281
|
+
},
|
|
282
|
+
{ internalType: "uint256", name: "shareAmount", type: "uint256" },
|
|
283
|
+
{ internalType: "uint256", name: "minimumAssets", type: "uint256" },
|
|
284
|
+
{ internalType: "address", name: "to", type: "address" }
|
|
285
|
+
],
|
|
286
|
+
name: "bulkWithdraw",
|
|
287
|
+
outputs: [{ internalType: "uint256", name: "assetsOut", type: "uint256" }],
|
|
288
|
+
stateMutability: "nonpayable",
|
|
289
|
+
type: "function"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
inputs: [
|
|
293
|
+
{ internalType: "contract ERC20", name: "depositAsset", type: "address" },
|
|
294
|
+
{ internalType: "uint256", name: "depositAmount", type: "uint256" },
|
|
295
|
+
{ internalType: "uint256", name: "minimumMint", type: "uint256" }
|
|
296
|
+
],
|
|
297
|
+
name: "deposit",
|
|
298
|
+
outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
|
|
299
|
+
stateMutability: "nonpayable",
|
|
300
|
+
type: "function"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
inputs: [],
|
|
304
|
+
name: "depositNonce",
|
|
305
|
+
outputs: [{ internalType: "uint96", name: "", type: "uint96" }],
|
|
306
|
+
stateMutability: "view",
|
|
307
|
+
type: "function"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
inputs: [
|
|
311
|
+
{ internalType: "contract ERC20", name: "depositAsset", type: "address" },
|
|
312
|
+
{ internalType: "uint256", name: "depositAmount", type: "uint256" },
|
|
313
|
+
{ internalType: "uint256", name: "minimumMint", type: "uint256" },
|
|
314
|
+
{ internalType: "uint256", name: "deadline", type: "uint256" },
|
|
315
|
+
{ internalType: "uint8", name: "v", type: "uint8" },
|
|
316
|
+
{ internalType: "bytes32", name: "r", type: "bytes32" },
|
|
317
|
+
{ internalType: "bytes32", name: "s", type: "bytes32" }
|
|
318
|
+
],
|
|
319
|
+
name: "depositWithPermit",
|
|
320
|
+
outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
|
|
321
|
+
stateMutability: "nonpayable",
|
|
322
|
+
type: "function"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
inputs: [],
|
|
326
|
+
name: "isPaused",
|
|
327
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
328
|
+
stateMutability: "view",
|
|
329
|
+
type: "function"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
inputs: [{ internalType: "contract ERC20", name: "", type: "address" }],
|
|
333
|
+
name: "isSupported",
|
|
334
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
335
|
+
stateMutability: "view",
|
|
336
|
+
type: "function"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
inputs: [],
|
|
340
|
+
name: "owner",
|
|
341
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
342
|
+
stateMutability: "view",
|
|
343
|
+
type: "function"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
inputs: [],
|
|
347
|
+
name: "pause",
|
|
348
|
+
outputs: [],
|
|
349
|
+
stateMutability: "nonpayable",
|
|
350
|
+
type: "function"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
inputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
354
|
+
name: "publicDepositHistory",
|
|
355
|
+
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
356
|
+
stateMutability: "view",
|
|
357
|
+
type: "function"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
inputs: [
|
|
361
|
+
{ internalType: "uint256", name: "nonce", type: "uint256" },
|
|
362
|
+
{ internalType: "address", name: "receiver", type: "address" },
|
|
363
|
+
{ internalType: "address", name: "depositAsset", type: "address" },
|
|
364
|
+
{ internalType: "uint256", name: "depositAmount", type: "uint256" },
|
|
365
|
+
{ internalType: "uint256", name: "shareAmount", type: "uint256" },
|
|
366
|
+
{ internalType: "uint256", name: "depositTimestamp", type: "uint256" },
|
|
367
|
+
{
|
|
368
|
+
internalType: "uint256",
|
|
369
|
+
name: "shareLockUpPeriodAtTimeOfDeposit",
|
|
370
|
+
type: "uint256"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
name: "refundDeposit",
|
|
374
|
+
outputs: [],
|
|
375
|
+
stateMutability: "nonpayable",
|
|
376
|
+
type: "function"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
inputs: [
|
|
380
|
+
{ internalType: "contract ERC20", name: "asset", type: "address" }
|
|
381
|
+
],
|
|
382
|
+
name: "removeAsset",
|
|
383
|
+
outputs: [],
|
|
384
|
+
stateMutability: "nonpayable",
|
|
385
|
+
type: "function"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
inputs: [
|
|
389
|
+
{
|
|
390
|
+
internalType: "contract Authority",
|
|
391
|
+
name: "newAuthority",
|
|
392
|
+
type: "address"
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
name: "setAuthority",
|
|
396
|
+
outputs: [],
|
|
397
|
+
stateMutability: "nonpayable",
|
|
398
|
+
type: "function"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
inputs: [
|
|
402
|
+
{ internalType: "uint64", name: "_shareLockPeriod", type: "uint64" }
|
|
403
|
+
],
|
|
404
|
+
name: "setShareLockPeriod",
|
|
405
|
+
outputs: [],
|
|
406
|
+
stateMutability: "nonpayable",
|
|
407
|
+
type: "function"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
inputs: [],
|
|
411
|
+
name: "shareLockPeriod",
|
|
412
|
+
outputs: [{ internalType: "uint64", name: "", type: "uint64" }],
|
|
413
|
+
stateMutability: "view",
|
|
414
|
+
type: "function"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
inputs: [{ internalType: "address", name: "", type: "address" }],
|
|
418
|
+
name: "shareUnlockTime",
|
|
419
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
420
|
+
stateMutability: "view",
|
|
421
|
+
type: "function"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
|
|
425
|
+
name: "transferOwnership",
|
|
426
|
+
outputs: [],
|
|
427
|
+
stateMutability: "nonpayable",
|
|
428
|
+
type: "function"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
inputs: [],
|
|
432
|
+
name: "unpause",
|
|
433
|
+
outputs: [],
|
|
434
|
+
stateMutability: "nonpayable",
|
|
435
|
+
type: "function"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
inputs: [],
|
|
439
|
+
name: "vault",
|
|
440
|
+
outputs: [
|
|
441
|
+
{ internalType: "contract BoringVault", name: "", type: "address" }
|
|
442
|
+
],
|
|
443
|
+
stateMutability: "view",
|
|
444
|
+
type: "function"
|
|
445
|
+
}
|
|
446
|
+
];
|
|
447
|
+
export {
|
|
448
|
+
e as Teller
|
|
449
|
+
};
|
|
450
|
+
//# sourceMappingURL=Teller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Teller.js","sources":["../../../../lib/contracts/abis/mainnet/Teller.ts"],"sourcesContent":["export const Teller = <const>[\n {\n inputs: [\n { internalType: 'address', name: '_owner', type: 'address' },\n { internalType: 'address', name: '_vault', type: 'address' },\n { internalType: 'address', name: '_accountant', type: 'address' },\n ],\n stateMutability: 'nonpayable',\n type: 'constructor',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__AssetNotSupported',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__BadDepositHash',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__MinimumAssetsNotMet',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__MinimumMintNotMet',\n type: 'error',\n },\n { inputs: [], name: 'TellerWithMultiAssetSupport__Paused', type: 'error' },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__PermitFailedAndAllowanceTooLow',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__ShareLockPeriodTooLong',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__SharesAreLocked',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__SharesAreUnLocked',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__ZeroAssets',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__ZeroShares',\n type: 'error',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'address',\n name: 'asset',\n type: 'address',\n },\n ],\n name: 'AssetAdded',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'address',\n name: 'asset',\n type: 'address',\n },\n ],\n name: 'AssetRemoved',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: 'address', name: 'user', type: 'address' },\n {\n indexed: true,\n internalType: 'contract Authority',\n name: 'newAuthority',\n type: 'address',\n },\n ],\n name: 'AuthorityUpdated',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'address',\n name: 'asset',\n type: 'address',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'depositAmount',\n type: 'uint256',\n },\n ],\n name: 'BulkDeposit',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'address',\n name: 'asset',\n type: 'address',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'shareAmount',\n type: 'uint256',\n },\n ],\n name: 'BulkWithdraw',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'uint256',\n name: 'nonce',\n type: 'uint256',\n },\n {\n indexed: true,\n internalType: 'address',\n name: 'receiver',\n type: 'address',\n },\n {\n indexed: true,\n internalType: 'address',\n name: 'depositAsset',\n type: 'address',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'depositAmount',\n type: 'uint256',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'shareAmount',\n type: 'uint256',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'depositTimestamp',\n type: 'uint256',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'shareLockPeriodAtTimeOfDeposit',\n type: 'uint256',\n },\n ],\n name: 'Deposit',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'uint256',\n name: 'nonce',\n type: 'uint256',\n },\n {\n indexed: false,\n internalType: 'bytes32',\n name: 'depositHash',\n type: 'bytes32',\n },\n { indexed: true, internalType: 'address', name: 'user', type: 'address' },\n ],\n name: 'DepositRefunded',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: 'address', name: 'user', type: 'address' },\n {\n indexed: true,\n internalType: 'address',\n name: 'newOwner',\n type: 'address',\n },\n ],\n name: 'OwnershipTransferred',\n type: 'event',\n },\n { anonymous: false, inputs: [], name: 'Paused', type: 'event' },\n { anonymous: false, inputs: [], name: 'Unpaused', type: 'event' },\n {\n inputs: [],\n name: 'accountant',\n outputs: [\n {\n internalType: 'contract AccountantWithRateProviders',\n name: '',\n type: 'address',\n },\n ],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'asset', type: 'address' },\n ],\n name: 'addAsset',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'authority',\n outputs: [\n { internalType: 'contract Authority', name: '', type: 'address' },\n ],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [{ internalType: 'address', name: 'from', type: 'address' }],\n name: 'beforeTransfer',\n outputs: [],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'depositAsset', type: 'address' },\n { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'minimumMint', type: 'uint256' },\n { internalType: 'address', name: 'to', type: 'address' },\n ],\n name: 'bulkDeposit',\n outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [\n {\n internalType: 'contract ERC20',\n name: 'withdrawAsset',\n type: 'address',\n },\n { internalType: 'uint256', name: 'shareAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'minimumAssets', type: 'uint256' },\n { internalType: 'address', name: 'to', type: 'address' },\n ],\n name: 'bulkWithdraw',\n outputs: [{ internalType: 'uint256', name: 'assetsOut', type: 'uint256' }],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'depositAsset', type: 'address' },\n { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'minimumMint', type: 'uint256' },\n ],\n name: 'deposit',\n outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'depositNonce',\n outputs: [{ internalType: 'uint96', name: '', type: 'uint96' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'depositAsset', type: 'address' },\n { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'minimumMint', type: 'uint256' },\n { internalType: 'uint256', name: 'deadline', type: 'uint256' },\n { internalType: 'uint8', name: 'v', type: 'uint8' },\n { internalType: 'bytes32', name: 'r', type: 'bytes32' },\n { internalType: 'bytes32', name: 's', type: 'bytes32' },\n ],\n name: 'depositWithPermit',\n outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'isPaused',\n outputs: [{ internalType: 'bool', name: '', type: 'bool' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [{ internalType: 'contract ERC20', name: '', type: 'address' }],\n name: 'isSupported',\n outputs: [{ internalType: 'bool', name: '', type: 'bool' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [],\n name: 'owner',\n outputs: [{ internalType: 'address', name: '', type: 'address' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [],\n name: 'pause',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],\n name: 'publicDepositHistory',\n outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'uint256', name: 'nonce', type: 'uint256' },\n { internalType: 'address', name: 'receiver', type: 'address' },\n { internalType: 'address', name: 'depositAsset', type: 'address' },\n { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'shareAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'depositTimestamp', type: 'uint256' },\n {\n internalType: 'uint256',\n name: 'shareLockUpPeriodAtTimeOfDeposit',\n type: 'uint256',\n },\n ],\n name: 'refundDeposit',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'asset', type: 'address' },\n ],\n name: 'removeAsset',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [\n {\n internalType: 'contract Authority',\n name: 'newAuthority',\n type: 'address',\n },\n ],\n name: 'setAuthority',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'uint64', name: '_shareLockPeriod', type: 'uint64' },\n ],\n name: 'setShareLockPeriod',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'shareLockPeriod',\n outputs: [{ internalType: 'uint64', name: '', type: 'uint64' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [{ internalType: 'address', name: '', type: 'address' }],\n name: 'shareUnlockTime',\n outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],\n name: 'transferOwnership',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'unpause',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'vault',\n outputs: [\n { internalType: 'contract BoringVault', name: '', type: 'address' },\n ],\n stateMutability: 'view',\n type: 'function',\n },\n];\n"],"names":["Teller"],"mappings":"AAAO,MAAMA,IAAgB;AAAA,EAC3B;AAAA,IACE,QAAQ;AAAA,MACN,EAAE,cAA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Ac,WAAW,MAAM,IAAI,MAAM,WAAW;AAAA,IAChE,iBAAiB;AAAA,IACjB,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,QAAQ,CAAC,EAAE,cAAc,WAAW,MAAM,YAAY,MAAM,WAAW;AAAA,IACvE,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,iBAAiB;AAAA,IACjB,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,QAAQ,CAAC;AAAA,IACT,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,iBAAiB;AAAA,IACjB,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,QAAQ,CAAC;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,MACP,EAAE,cAAc,wBAAwB,MAAM,IAAI,MAAM,UAAU;AAAA,IACpE;AAAA,IACA,iBAAiB;AAAA,IACjB,MAAM;AAAA,EACR;AACF;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../constants-BvU-JhfL.cjs"),n=require("./mainnet/Accountant.cjs"),c={[t.Chain.Mainnet]:{Accountant:n.Accountant}};exports.NUCLEUS_ACCOUNTANT_ABIS=c;
|
|
2
|
+
//# sourceMappingURL=nucleus-accountant-abis.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nucleus-accountant-abis.cjs","sources":["../../../lib/contracts/abis/nucleus-accountant-abis.ts"],"sourcesContent":["import { Chain } from '../../chains/constants';\nimport { Accountant } from './mainnet/Accountant';\n\nexport const NUCLEUS_ACCOUNTANT_ABIS = {\n [Chain.Mainnet]: { Accountant },\n};\n"],"names":["NUCLEUS_ACCOUNTANT_ABIS","Chain","Accountant"],"mappings":"sKAGaA,EAA0B,CACrC,CAACC,EAAA,MAAM,OAAO,EAAG,CAAA,WAAEC,YAAW,CAChC"}
|