@pufferfinance/puffer-sdk 1.30.1 → 1.31.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/contracts/abis/mainnet/Teller.cjs +1 -1
- package/dist/contracts/abis/mainnet/Teller.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/Teller.d.ts +234 -18
- package/dist/contracts/abis/mainnet/Teller.js +165 -13
- package/dist/contracts/abis/mainnet/Teller.js.map +1 -1
- package/dist/contracts/handlers/institutional-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/institutional-vault-handler.cjs.map +1 -1
- package/dist/contracts/handlers/institutional-vault-handler.js +2 -1
- package/dist/contracts/handlers/institutional-vault-handler.js.map +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.cjs.map +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.d.ts +254 -18
- package/dist/contracts/handlers/nucleus-teller-handler.js +62 -47
- package/dist/contracts/handlers/nucleus-teller-handler.js.map +1 -1
- package/dist/contracts/tokens.cjs +1 -1
- package/dist/contracts/tokens.cjs.map +1 -1
- package/dist/contracts/tokens.js +7 -2
- package/dist/contracts/tokens.js.map +1 -1
- package/dist/utils/version.cjs +1 -1
- package/dist/utils/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=[{inputs:[],name:"accountant",outputs:[{internalType:"contract AccountantWithRateProviders",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=[{inputs:[],name:"accountant",outputs:[{internalType:"contract AccountantWithRateProviders",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract ERC20",name:"asset",type:"address"}],name:"addAsset",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"authority",outputs:[{internalType:"contract Authority",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"}],name:"beforeTransfer",outputs:[],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract ERC20",name:"depositAsset",type:"address"},{internalType:"uint256",name:"depositAmount",type:"uint256"},{internalType:"uint256",name:"minimumMint",type:"uint256"},{internalType:"address",name:"to",type:"address"}],name:"bulkDeposit",outputs:[{internalType:"uint256",name:"shares",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract ERC20",name:"withdrawAsset",type:"address"},{internalType:"uint256",name:"shareAmount",type:"uint256"},{internalType:"uint256",name:"minimumAssets",type:"uint256"},{internalType:"address",name:"to",type:"address"}],name:"bulkWithdraw",outputs:[{internalType:"uint256",name:"assetsOut",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract ERC20",name:"depositAsset",type:"address"},{internalType:"uint256",name:"depositAmount",type:"uint256"},{internalType:"uint256",name:"minimumMint",type:"uint256"}],name:"deposit",outputs:[{internalType:"uint256",name:"shares",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"depositNonce",outputs:[{internalType:"uint96",name:"",type:"uint96"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract ERC20",name:"depositAsset",type:"address"},{internalType:"uint256",name:"depositAmount",type:"uint256"},{internalType:"uint256",name:"minimumMint",type:"uint256"},{internalType:"uint256",name:"deadline",type:"uint256"},{internalType:"uint8",name:"v",type:"uint8"},{internalType:"bytes32",name:"r",type:"bytes32"},{internalType:"bytes32",name:"s",type:"bytes32"}],name:"depositWithPermit",outputs:[{internalType:"uint256",name:"shares",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"isPaused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract ERC20",name:"",type:"address"}],name:"isSupported",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"owner",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"publicDepositHistory",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"address",name:"receiver",type:"address"},{internalType:"address",name:"depositAsset",type:"address"},{internalType:"uint256",name:"depositAmount",type:"uint256"},{internalType:"uint256",name:"shareAmount",type:"uint256"},{internalType:"uint256",name:"depositTimestamp",type:"uint256"},{internalType:"uint256",name:"shareLockUpPeriodAtTimeOfDeposit",type:"uint256"}],name:"refundDeposit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract ERC20",name:"asset",type:"address"}],name:"removeAsset",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract Authority",name:"newAuthority",type:"address"}],name:"setAuthority",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint64",name:"_shareLockPeriod",type:"uint64"}],name:"setShareLockPeriod",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"shareLockPeriod",outputs:[{internalType:"uint64",name:"",type:"uint64"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"shareUnlockTime",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"newOwner",type:"address"}],name:"transferOwnership",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unpause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"vault",outputs:[{internalType:"contract BoringVault",name:"",type:"address"}],stateMutability:"view",type:"function"}];exports.Teller=t;
|
|
2
2
|
//# sourceMappingURL=Teller.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Teller.cjs","sources":["../../../../lib/contracts/abis/mainnet/Teller.ts"],"sourcesContent":["export const Teller = <const>[\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 name: 'vault',\n outputs: [\n { internalType: 'contract BoringVault', name: '', type: 'address' },\n ],\n stateMutability: 'view',\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: [],\n name: 'isPaused',\n outputs: [{ internalType: 'bool', name: '', type: 'bool' }],\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 ],\n name: 'deposit',\n outputs: [{ internalType: 'uint256', name: 'shares', 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 { 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"],"names":["Teller"],"mappings":"gFAAO,MAAMA,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AAA,EAC1C,CAAE,aAAc,UAAW,KAAM,IAAK,KAAM,SAAA,EAC5C,CAAE,aAAc,UAAW,KAAM,IAAK,KAAM,SAAA,CAAU,EAExD,KAAM,oBACN,QAAS,CAAC,CAAE,aAAc,UAAW,KAAM,SAAU,KAAM,UAAW,EACtE,gBAAiB,aACjB,KAAM,UAAA,CAEV"}
|
|
1
|
+
{"version":3,"file":"Teller.cjs","sources":["../../../../lib/contracts/abis/mainnet/Teller.ts"],"sourcesContent":["export const Teller = <const>[\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":"gFAAO,MAAMA,EAAgB,CA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AAc,UAAW,KAAM,GAAI,KAAM,UAAW,EAC/D,KAAM,kBACN,QAAS,CAAC,CAAE,aAAc,UAAW,KAAM,GAAI,KAAM,UAAW,EAChE,gBAAiB,OACjB,KAAM,UAAA,EAER,CACE,OAAQ,CAAC,CAAE,aAAc,UAAW,KAAM,WAAY,KAAM,UAAW,EACvE,KAAM,oBACN,QAAS,CAAA,EACT,gBAAiB,aACjB,KAAM,UAAA,EAER,CACE,OAAQ,CAAA,EACR,KAAM,UACN,QAAS,CAAA,EACT,gBAAiB,aACjB,KAAM,UAAA,EAER,CACE,OAAQ,CAAA,EACR,KAAM,QACN,QAAS,CACP,CAAE,aAAc,uBAAwB,KAAM,GAAI,KAAM,SAAA,CAAU,EAEpE,gBAAiB,OACjB,KAAM,UAAA,CAEV"}
|
|
@@ -8,49 +8,87 @@ export declare const Teller: readonly [{
|
|
|
8
8
|
}];
|
|
9
9
|
readonly stateMutability: "view";
|
|
10
10
|
readonly type: "function";
|
|
11
|
+
}, {
|
|
12
|
+
readonly inputs: readonly [{
|
|
13
|
+
readonly internalType: "contract ERC20";
|
|
14
|
+
readonly name: "asset";
|
|
15
|
+
readonly type: "address";
|
|
16
|
+
}];
|
|
17
|
+
readonly name: "addAsset";
|
|
18
|
+
readonly outputs: readonly [];
|
|
19
|
+
readonly stateMutability: "nonpayable";
|
|
20
|
+
readonly type: "function";
|
|
11
21
|
}, {
|
|
12
22
|
readonly inputs: readonly [];
|
|
13
|
-
readonly name: "
|
|
23
|
+
readonly name: "authority";
|
|
14
24
|
readonly outputs: readonly [{
|
|
15
|
-
readonly internalType: "contract
|
|
25
|
+
readonly internalType: "contract Authority";
|
|
16
26
|
readonly name: "";
|
|
17
27
|
readonly type: "address";
|
|
18
28
|
}];
|
|
19
29
|
readonly stateMutability: "view";
|
|
20
30
|
readonly type: "function";
|
|
21
31
|
}, {
|
|
22
|
-
readonly inputs: readonly [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
readonly
|
|
26
|
-
readonly name: "";
|
|
27
|
-
readonly type: "uint64";
|
|
32
|
+
readonly inputs: readonly [{
|
|
33
|
+
readonly internalType: "address";
|
|
34
|
+
readonly name: "from";
|
|
35
|
+
readonly type: "address";
|
|
28
36
|
}];
|
|
37
|
+
readonly name: "beforeTransfer";
|
|
38
|
+
readonly outputs: readonly [];
|
|
29
39
|
readonly stateMutability: "view";
|
|
30
40
|
readonly type: "function";
|
|
31
41
|
}, {
|
|
32
42
|
readonly inputs: readonly [{
|
|
43
|
+
readonly internalType: "contract ERC20";
|
|
44
|
+
readonly name: "depositAsset";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
}, {
|
|
47
|
+
readonly internalType: "uint256";
|
|
48
|
+
readonly name: "depositAmount";
|
|
49
|
+
readonly type: "uint256";
|
|
50
|
+
}, {
|
|
51
|
+
readonly internalType: "uint256";
|
|
52
|
+
readonly name: "minimumMint";
|
|
53
|
+
readonly type: "uint256";
|
|
54
|
+
}, {
|
|
33
55
|
readonly internalType: "address";
|
|
34
|
-
readonly name: "";
|
|
56
|
+
readonly name: "to";
|
|
35
57
|
readonly type: "address";
|
|
36
58
|
}];
|
|
37
|
-
readonly name: "
|
|
59
|
+
readonly name: "bulkDeposit";
|
|
38
60
|
readonly outputs: readonly [{
|
|
39
61
|
readonly internalType: "uint256";
|
|
40
|
-
readonly name: "";
|
|
62
|
+
readonly name: "shares";
|
|
41
63
|
readonly type: "uint256";
|
|
42
64
|
}];
|
|
43
|
-
readonly stateMutability: "
|
|
65
|
+
readonly stateMutability: "nonpayable";
|
|
44
66
|
readonly type: "function";
|
|
45
67
|
}, {
|
|
46
|
-
readonly inputs: readonly [
|
|
47
|
-
|
|
68
|
+
readonly inputs: readonly [{
|
|
69
|
+
readonly internalType: "contract ERC20";
|
|
70
|
+
readonly name: "withdrawAsset";
|
|
71
|
+
readonly type: "address";
|
|
72
|
+
}, {
|
|
73
|
+
readonly internalType: "uint256";
|
|
74
|
+
readonly name: "shareAmount";
|
|
75
|
+
readonly type: "uint256";
|
|
76
|
+
}, {
|
|
77
|
+
readonly internalType: "uint256";
|
|
78
|
+
readonly name: "minimumAssets";
|
|
79
|
+
readonly type: "uint256";
|
|
80
|
+
}, {
|
|
81
|
+
readonly internalType: "address";
|
|
82
|
+
readonly name: "to";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
}];
|
|
85
|
+
readonly name: "bulkWithdraw";
|
|
48
86
|
readonly outputs: readonly [{
|
|
49
|
-
readonly internalType: "
|
|
50
|
-
readonly name: "";
|
|
51
|
-
readonly type: "
|
|
87
|
+
readonly internalType: "uint256";
|
|
88
|
+
readonly name: "assetsOut";
|
|
89
|
+
readonly type: "uint256";
|
|
52
90
|
}];
|
|
53
|
-
readonly stateMutability: "
|
|
91
|
+
readonly stateMutability: "nonpayable";
|
|
54
92
|
readonly type: "function";
|
|
55
93
|
}, {
|
|
56
94
|
readonly inputs: readonly [{
|
|
@@ -74,6 +112,16 @@ export declare const Teller: readonly [{
|
|
|
74
112
|
}];
|
|
75
113
|
readonly stateMutability: "nonpayable";
|
|
76
114
|
readonly type: "function";
|
|
115
|
+
}, {
|
|
116
|
+
readonly inputs: readonly [];
|
|
117
|
+
readonly name: "depositNonce";
|
|
118
|
+
readonly outputs: readonly [{
|
|
119
|
+
readonly internalType: "uint96";
|
|
120
|
+
readonly name: "";
|
|
121
|
+
readonly type: "uint96";
|
|
122
|
+
}];
|
|
123
|
+
readonly stateMutability: "view";
|
|
124
|
+
readonly type: "function";
|
|
77
125
|
}, {
|
|
78
126
|
readonly inputs: readonly [{
|
|
79
127
|
readonly internalType: "contract ERC20";
|
|
@@ -112,4 +160,172 @@ export declare const Teller: readonly [{
|
|
|
112
160
|
}];
|
|
113
161
|
readonly stateMutability: "nonpayable";
|
|
114
162
|
readonly type: "function";
|
|
163
|
+
}, {
|
|
164
|
+
readonly inputs: readonly [];
|
|
165
|
+
readonly name: "isPaused";
|
|
166
|
+
readonly outputs: readonly [{
|
|
167
|
+
readonly internalType: "bool";
|
|
168
|
+
readonly name: "";
|
|
169
|
+
readonly type: "bool";
|
|
170
|
+
}];
|
|
171
|
+
readonly stateMutability: "view";
|
|
172
|
+
readonly type: "function";
|
|
173
|
+
}, {
|
|
174
|
+
readonly inputs: readonly [{
|
|
175
|
+
readonly internalType: "contract ERC20";
|
|
176
|
+
readonly name: "";
|
|
177
|
+
readonly type: "address";
|
|
178
|
+
}];
|
|
179
|
+
readonly name: "isSupported";
|
|
180
|
+
readonly outputs: readonly [{
|
|
181
|
+
readonly internalType: "bool";
|
|
182
|
+
readonly name: "";
|
|
183
|
+
readonly type: "bool";
|
|
184
|
+
}];
|
|
185
|
+
readonly stateMutability: "view";
|
|
186
|
+
readonly type: "function";
|
|
187
|
+
}, {
|
|
188
|
+
readonly inputs: readonly [];
|
|
189
|
+
readonly name: "owner";
|
|
190
|
+
readonly outputs: readonly [{
|
|
191
|
+
readonly internalType: "address";
|
|
192
|
+
readonly name: "";
|
|
193
|
+
readonly type: "address";
|
|
194
|
+
}];
|
|
195
|
+
readonly stateMutability: "view";
|
|
196
|
+
readonly type: "function";
|
|
197
|
+
}, {
|
|
198
|
+
readonly inputs: readonly [];
|
|
199
|
+
readonly name: "pause";
|
|
200
|
+
readonly outputs: readonly [];
|
|
201
|
+
readonly stateMutability: "nonpayable";
|
|
202
|
+
readonly type: "function";
|
|
203
|
+
}, {
|
|
204
|
+
readonly inputs: readonly [{
|
|
205
|
+
readonly internalType: "uint256";
|
|
206
|
+
readonly name: "";
|
|
207
|
+
readonly type: "uint256";
|
|
208
|
+
}];
|
|
209
|
+
readonly name: "publicDepositHistory";
|
|
210
|
+
readonly outputs: readonly [{
|
|
211
|
+
readonly internalType: "bytes32";
|
|
212
|
+
readonly name: "";
|
|
213
|
+
readonly type: "bytes32";
|
|
214
|
+
}];
|
|
215
|
+
readonly stateMutability: "view";
|
|
216
|
+
readonly type: "function";
|
|
217
|
+
}, {
|
|
218
|
+
readonly inputs: readonly [{
|
|
219
|
+
readonly internalType: "uint256";
|
|
220
|
+
readonly name: "nonce";
|
|
221
|
+
readonly type: "uint256";
|
|
222
|
+
}, {
|
|
223
|
+
readonly internalType: "address";
|
|
224
|
+
readonly name: "receiver";
|
|
225
|
+
readonly type: "address";
|
|
226
|
+
}, {
|
|
227
|
+
readonly internalType: "address";
|
|
228
|
+
readonly name: "depositAsset";
|
|
229
|
+
readonly type: "address";
|
|
230
|
+
}, {
|
|
231
|
+
readonly internalType: "uint256";
|
|
232
|
+
readonly name: "depositAmount";
|
|
233
|
+
readonly type: "uint256";
|
|
234
|
+
}, {
|
|
235
|
+
readonly internalType: "uint256";
|
|
236
|
+
readonly name: "shareAmount";
|
|
237
|
+
readonly type: "uint256";
|
|
238
|
+
}, {
|
|
239
|
+
readonly internalType: "uint256";
|
|
240
|
+
readonly name: "depositTimestamp";
|
|
241
|
+
readonly type: "uint256";
|
|
242
|
+
}, {
|
|
243
|
+
readonly internalType: "uint256";
|
|
244
|
+
readonly name: "shareLockUpPeriodAtTimeOfDeposit";
|
|
245
|
+
readonly type: "uint256";
|
|
246
|
+
}];
|
|
247
|
+
readonly name: "refundDeposit";
|
|
248
|
+
readonly outputs: readonly [];
|
|
249
|
+
readonly stateMutability: "nonpayable";
|
|
250
|
+
readonly type: "function";
|
|
251
|
+
}, {
|
|
252
|
+
readonly inputs: readonly [{
|
|
253
|
+
readonly internalType: "contract ERC20";
|
|
254
|
+
readonly name: "asset";
|
|
255
|
+
readonly type: "address";
|
|
256
|
+
}];
|
|
257
|
+
readonly name: "removeAsset";
|
|
258
|
+
readonly outputs: readonly [];
|
|
259
|
+
readonly stateMutability: "nonpayable";
|
|
260
|
+
readonly type: "function";
|
|
261
|
+
}, {
|
|
262
|
+
readonly inputs: readonly [{
|
|
263
|
+
readonly internalType: "contract Authority";
|
|
264
|
+
readonly name: "newAuthority";
|
|
265
|
+
readonly type: "address";
|
|
266
|
+
}];
|
|
267
|
+
readonly name: "setAuthority";
|
|
268
|
+
readonly outputs: readonly [];
|
|
269
|
+
readonly stateMutability: "nonpayable";
|
|
270
|
+
readonly type: "function";
|
|
271
|
+
}, {
|
|
272
|
+
readonly inputs: readonly [{
|
|
273
|
+
readonly internalType: "uint64";
|
|
274
|
+
readonly name: "_shareLockPeriod";
|
|
275
|
+
readonly type: "uint64";
|
|
276
|
+
}];
|
|
277
|
+
readonly name: "setShareLockPeriod";
|
|
278
|
+
readonly outputs: readonly [];
|
|
279
|
+
readonly stateMutability: "nonpayable";
|
|
280
|
+
readonly type: "function";
|
|
281
|
+
}, {
|
|
282
|
+
readonly inputs: readonly [];
|
|
283
|
+
readonly name: "shareLockPeriod";
|
|
284
|
+
readonly outputs: readonly [{
|
|
285
|
+
readonly internalType: "uint64";
|
|
286
|
+
readonly name: "";
|
|
287
|
+
readonly type: "uint64";
|
|
288
|
+
}];
|
|
289
|
+
readonly stateMutability: "view";
|
|
290
|
+
readonly type: "function";
|
|
291
|
+
}, {
|
|
292
|
+
readonly inputs: readonly [{
|
|
293
|
+
readonly internalType: "address";
|
|
294
|
+
readonly name: "";
|
|
295
|
+
readonly type: "address";
|
|
296
|
+
}];
|
|
297
|
+
readonly name: "shareUnlockTime";
|
|
298
|
+
readonly outputs: readonly [{
|
|
299
|
+
readonly internalType: "uint256";
|
|
300
|
+
readonly name: "";
|
|
301
|
+
readonly type: "uint256";
|
|
302
|
+
}];
|
|
303
|
+
readonly stateMutability: "view";
|
|
304
|
+
readonly type: "function";
|
|
305
|
+
}, {
|
|
306
|
+
readonly inputs: readonly [{
|
|
307
|
+
readonly internalType: "address";
|
|
308
|
+
readonly name: "newOwner";
|
|
309
|
+
readonly type: "address";
|
|
310
|
+
}];
|
|
311
|
+
readonly name: "transferOwnership";
|
|
312
|
+
readonly outputs: readonly [];
|
|
313
|
+
readonly stateMutability: "nonpayable";
|
|
314
|
+
readonly type: "function";
|
|
315
|
+
}, {
|
|
316
|
+
readonly inputs: readonly [];
|
|
317
|
+
readonly name: "unpause";
|
|
318
|
+
readonly outputs: readonly [];
|
|
319
|
+
readonly stateMutability: "nonpayable";
|
|
320
|
+
readonly type: "function";
|
|
321
|
+
}, {
|
|
322
|
+
readonly inputs: readonly [];
|
|
323
|
+
readonly name: "vault";
|
|
324
|
+
readonly outputs: readonly [{
|
|
325
|
+
readonly internalType: "contract BoringVault";
|
|
326
|
+
readonly name: "";
|
|
327
|
+
readonly type: "address";
|
|
328
|
+
}];
|
|
329
|
+
readonly stateMutability: "view";
|
|
330
|
+
readonly type: "function";
|
|
115
331
|
}];
|
|
@@ -12,34 +12,57 @@ const t = [
|
|
|
12
12
|
stateMutability: "view",
|
|
13
13
|
type: "function"
|
|
14
14
|
},
|
|
15
|
+
{
|
|
16
|
+
inputs: [
|
|
17
|
+
{ internalType: "contract ERC20", name: "asset", type: "address" }
|
|
18
|
+
],
|
|
19
|
+
name: "addAsset",
|
|
20
|
+
outputs: [],
|
|
21
|
+
stateMutability: "nonpayable",
|
|
22
|
+
type: "function"
|
|
23
|
+
},
|
|
15
24
|
{
|
|
16
25
|
inputs: [],
|
|
17
|
-
name: "
|
|
26
|
+
name: "authority",
|
|
18
27
|
outputs: [
|
|
19
|
-
{ internalType: "contract
|
|
28
|
+
{ internalType: "contract Authority", name: "", type: "address" }
|
|
20
29
|
],
|
|
21
30
|
stateMutability: "view",
|
|
22
31
|
type: "function"
|
|
23
32
|
},
|
|
24
33
|
{
|
|
25
|
-
inputs: [],
|
|
26
|
-
name: "
|
|
27
|
-
outputs: [
|
|
34
|
+
inputs: [{ internalType: "address", name: "from", type: "address" }],
|
|
35
|
+
name: "beforeTransfer",
|
|
36
|
+
outputs: [],
|
|
28
37
|
stateMutability: "view",
|
|
29
38
|
type: "function"
|
|
30
39
|
},
|
|
31
40
|
{
|
|
32
|
-
inputs: [
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
41
|
+
inputs: [
|
|
42
|
+
{ internalType: "contract ERC20", name: "depositAsset", type: "address" },
|
|
43
|
+
{ internalType: "uint256", name: "depositAmount", type: "uint256" },
|
|
44
|
+
{ internalType: "uint256", name: "minimumMint", type: "uint256" },
|
|
45
|
+
{ internalType: "address", name: "to", type: "address" }
|
|
46
|
+
],
|
|
47
|
+
name: "bulkDeposit",
|
|
48
|
+
outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
|
|
49
|
+
stateMutability: "nonpayable",
|
|
36
50
|
type: "function"
|
|
37
51
|
},
|
|
38
52
|
{
|
|
39
|
-
inputs: [
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
internalType: "contract ERC20",
|
|
56
|
+
name: "withdrawAsset",
|
|
57
|
+
type: "address"
|
|
58
|
+
},
|
|
59
|
+
{ internalType: "uint256", name: "shareAmount", type: "uint256" },
|
|
60
|
+
{ internalType: "uint256", name: "minimumAssets", type: "uint256" },
|
|
61
|
+
{ internalType: "address", name: "to", type: "address" }
|
|
62
|
+
],
|
|
63
|
+
name: "bulkWithdraw",
|
|
64
|
+
outputs: [{ internalType: "uint256", name: "assetsOut", type: "uint256" }],
|
|
65
|
+
stateMutability: "nonpayable",
|
|
43
66
|
type: "function"
|
|
44
67
|
},
|
|
45
68
|
{
|
|
@@ -53,6 +76,13 @@ const t = [
|
|
|
53
76
|
stateMutability: "nonpayable",
|
|
54
77
|
type: "function"
|
|
55
78
|
},
|
|
79
|
+
{
|
|
80
|
+
inputs: [],
|
|
81
|
+
name: "depositNonce",
|
|
82
|
+
outputs: [{ internalType: "uint96", name: "", type: "uint96" }],
|
|
83
|
+
stateMutability: "view",
|
|
84
|
+
type: "function"
|
|
85
|
+
},
|
|
56
86
|
{
|
|
57
87
|
inputs: [
|
|
58
88
|
{ internalType: "contract ERC20", name: "depositAsset", type: "address" },
|
|
@@ -67,6 +97,128 @@ const t = [
|
|
|
67
97
|
outputs: [{ internalType: "uint256", name: "shares", type: "uint256" }],
|
|
68
98
|
stateMutability: "nonpayable",
|
|
69
99
|
type: "function"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
inputs: [],
|
|
103
|
+
name: "isPaused",
|
|
104
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
105
|
+
stateMutability: "view",
|
|
106
|
+
type: "function"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
inputs: [{ internalType: "contract ERC20", name: "", type: "address" }],
|
|
110
|
+
name: "isSupported",
|
|
111
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
112
|
+
stateMutability: "view",
|
|
113
|
+
type: "function"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
inputs: [],
|
|
117
|
+
name: "owner",
|
|
118
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
119
|
+
stateMutability: "view",
|
|
120
|
+
type: "function"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
inputs: [],
|
|
124
|
+
name: "pause",
|
|
125
|
+
outputs: [],
|
|
126
|
+
stateMutability: "nonpayable",
|
|
127
|
+
type: "function"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
inputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
131
|
+
name: "publicDepositHistory",
|
|
132
|
+
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
133
|
+
stateMutability: "view",
|
|
134
|
+
type: "function"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
inputs: [
|
|
138
|
+
{ internalType: "uint256", name: "nonce", type: "uint256" },
|
|
139
|
+
{ internalType: "address", name: "receiver", type: "address" },
|
|
140
|
+
{ internalType: "address", name: "depositAsset", type: "address" },
|
|
141
|
+
{ internalType: "uint256", name: "depositAmount", type: "uint256" },
|
|
142
|
+
{ internalType: "uint256", name: "shareAmount", type: "uint256" },
|
|
143
|
+
{ internalType: "uint256", name: "depositTimestamp", type: "uint256" },
|
|
144
|
+
{
|
|
145
|
+
internalType: "uint256",
|
|
146
|
+
name: "shareLockUpPeriodAtTimeOfDeposit",
|
|
147
|
+
type: "uint256"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
name: "refundDeposit",
|
|
151
|
+
outputs: [],
|
|
152
|
+
stateMutability: "nonpayable",
|
|
153
|
+
type: "function"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
inputs: [
|
|
157
|
+
{ internalType: "contract ERC20", name: "asset", type: "address" }
|
|
158
|
+
],
|
|
159
|
+
name: "removeAsset",
|
|
160
|
+
outputs: [],
|
|
161
|
+
stateMutability: "nonpayable",
|
|
162
|
+
type: "function"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
inputs: [
|
|
166
|
+
{
|
|
167
|
+
internalType: "contract Authority",
|
|
168
|
+
name: "newAuthority",
|
|
169
|
+
type: "address"
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
name: "setAuthority",
|
|
173
|
+
outputs: [],
|
|
174
|
+
stateMutability: "nonpayable",
|
|
175
|
+
type: "function"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
inputs: [
|
|
179
|
+
{ internalType: "uint64", name: "_shareLockPeriod", type: "uint64" }
|
|
180
|
+
],
|
|
181
|
+
name: "setShareLockPeriod",
|
|
182
|
+
outputs: [],
|
|
183
|
+
stateMutability: "nonpayable",
|
|
184
|
+
type: "function"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
inputs: [],
|
|
188
|
+
name: "shareLockPeriod",
|
|
189
|
+
outputs: [{ internalType: "uint64", name: "", type: "uint64" }],
|
|
190
|
+
stateMutability: "view",
|
|
191
|
+
type: "function"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
inputs: [{ internalType: "address", name: "", type: "address" }],
|
|
195
|
+
name: "shareUnlockTime",
|
|
196
|
+
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
197
|
+
stateMutability: "view",
|
|
198
|
+
type: "function"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
|
|
202
|
+
name: "transferOwnership",
|
|
203
|
+
outputs: [],
|
|
204
|
+
stateMutability: "nonpayable",
|
|
205
|
+
type: "function"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
inputs: [],
|
|
209
|
+
name: "unpause",
|
|
210
|
+
outputs: [],
|
|
211
|
+
stateMutability: "nonpayable",
|
|
212
|
+
type: "function"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
inputs: [],
|
|
216
|
+
name: "vault",
|
|
217
|
+
outputs: [
|
|
218
|
+
{ internalType: "contract BoringVault", name: "", type: "address" }
|
|
219
|
+
],
|
|
220
|
+
stateMutability: "view",
|
|
221
|
+
type: "function"
|
|
70
222
|
}
|
|
71
223
|
];
|
|
72
224
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Teller.js","sources":["../../../../lib/contracts/abis/mainnet/Teller.ts"],"sourcesContent":["export const Teller = <const>[\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 name: 'vault',\n outputs: [\n { internalType: 'contract BoringVault', name: '', type: 'address' },\n ],\n stateMutability: 'view',\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: [],\n name: 'isPaused',\n outputs: [{ internalType: 'bool', name: '', type: 'bool' }],\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 ],\n name: 'deposit',\n outputs: [{ internalType: 'uint256', name: 'shares', 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 { 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"],"names":["Teller"],"mappings":"AAAO,MAAMA,IAAgB;AAAA,EAC3B;AAAA,IACE,QAAQ,CAAA;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,MACP;AAAA,QACE,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,MAAA;AAAA,IACR;AAAA,IAEF,iBAAiB;AAAA,IACjB,MAAM;AAAA,EAAA;AAAA,EAER;AAAA,IACE,QAAQ,CAAA;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,MACP,EAAE,cAAc,wBAAwB,MAAM,IAAI,MAAM,UAAA;AAAA,IAAU;AAAA,IAEpE,iBAAiB;AAAA,IACjB,MAAM;AAAA,EAAA;AAAA,EAER;AAAA,IACE,QAAQ,CAAA;AAAA,IACR,MAAM;AAAA,IACN,SAAS,CAAC,EAAE,cAAc,UAAU,MAAM,IAAI,MAAM,UAAU;AAAA,IAC9D,iBAAiB;AAAA,IACjB,MAAM;AAAA,EAAA;AAAA,EAER;AAAA,IACE,QAAQ,CAAC,EAAE,cAAc,WAAW,MAAM,IAAI,MAAM,WAAW;AAAA,IAC/D,MAAM;AAAA,IACN,SAAS,CAAC,EAAE,cAAc,WAAW,MAAM,IAAI,MAAM,WAAW;AAAA,IAChE,iBAAiB;AAAA,IACjB,MAAM;AAAA,EAAA;AAAA,EAER;AAAA,IACE,QAAQ,CAAA;AAAA,IACR,MAAM;AAAA,IACN,SAAS,CAAC,EAAE,cAAc,QAAQ,MAAM,IAAI,MAAM,QAAQ;AAAA,IAC1D,iBAAiB;AAAA,IACjB,MAAM;AAAA,EAAA;AAAA,EAER;AAAA,IACE,QAAQ;AAAA,MACN,EAAE,cAAc,kBAAkB,MAAM,gBAAgB,MAAM,UAAA;AAAA,MAC9D,EAAE,cAAc,WAAW,MAAM,iBAAiB,MAAM,UAAA;AAAA,MACxD,EAAE,cAAc,WAAW,MAAM,eAAe,MAAM,UAAA;AAAA,IAAU;AAAA,IAElE,MAAM;AAAA,IACN,SAAS,CAAC,EAAE,cAAc,WAAW,MAAM,UAAU,MAAM,WAAW;AAAA,IACtE,iBAAiB;AAAA,IACjB,MAAM;AAAA,EAAA;AAAA,EAER;AAAA,IACE,QAAQ;AAAA,MACN,EAAE,cAAc,kBAAkB,MAAM,gBAAgB,MAAM,UAAA;AAAA,MAC9D,EAAE,cAAc,WAAW,MAAM,iBAAiB,MAAM,UAAA;AAAA,MACxD,EAAE,cAAc,WAAW,MAAM,eAAe,MAAM,UAAA;AAAA,MACtD,EAAE,cAAc,WAAW,MAAM,YAAY,MAAM,UAAA;AAAA,MACnD,EAAE,cAAc,SAAS,MAAM,KAAK,MAAM,QAAA;AAAA,MAC1C,EAAE,cAAc,WAAW,MAAM,KAAK,MAAM,UAAA;AAAA,MAC5C,EAAE,cAAc,WAAW,MAAM,KAAK,MAAM,UAAA;AAAA,IAAU;AAAA,IAExD,MAAM;AAAA,IACN,SAAS,CAAC,EAAE,cAAc,WAAW,MAAM,UAAU,MAAM,WAAW;AAAA,IACtE,iBAAiB;AAAA,IACjB,MAAM;AAAA,EAAA;AAEV;"}
|
|
1
|
+
{"version":3,"file":"Teller.js","sources":["../../../../lib/contracts/abis/mainnet/Teller.ts"],"sourcesContent":["export const Teller = <const>[\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,CAAA;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,MACP;AAAA,QACE,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,MAAA;AAAA,IACR;AAAA,IAEF,iBAAiB;AAAA,IACjB,MAAM;AAAA,EAAA;AAAA,EAER;AAAA,IACE,QAAQ;AAAA,MACN,EAAE,cAAc,kBAAkB,MAAM,SAAS,MAAM,UAAA;AAAA,IAAU;AAAA,IAEnE,MAAM;AAAA,IACN,SAA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AAA,IACT,iBAAiB;AAAA,IACjB,MAAM;AAAA,EAAA;AAAA,EAER;AAAA,IACE,QAAQ,CAAA;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,MACP,EAAE,cAAc,wBAAwB,MAAM,IAAI,MAAM,UAAA;AAAA,IAAU;AAAA,IAEpE,iBAAiB;AAAA,IACjB,MAAM;AAAA,EAAA;AAEV;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../abis/mainnet/InstitutionalVault.cjs"),n=require("../../constants-Dhpa19or.cjs"),s=require("../../errors/validation-errors.cjs"),o=require("../../getContract-Cgkj3G1g.cjs");class c{constructor(t,e,a){this.walletClient=e,this.publicClient=a,this.viemChain=n.VIEM_CHAINS[t]}viemChain;address;withAddress(t){return this.address=t,this}getAddress(){return this.address}getContract(){if(!this.address)throw new s.InvalidContractAddressError("No address specified for the contract",{fixMessage:"Set the contract address in the handler by using the setAddress method"});const t=i.InstitutionalVault,e={public:this.publicClient,wallet:this.walletClient};return o.getContract({address:this.address,abi:t,client:e})}getBeaconDepositContract(){return this.getContract().read.BEACON_DEPOSIT_CONTRACT()}getNonRestakingWithdrawalCredentialsFactory(){return this.getContract().read.NON_RESTORAKING_WITHDRAWAL_CREDENTIALS_FACTORY()}getWeth(){return this.getContract().read.WETH()}getEigenDelegationManager(){return this.getContract().read.EIGEN_DELEGATION_MANAGER()}getEigenPodManager(){return this.getContract().read.EIGEN_POD_MANAGER()}getEigenPod(){return this.getContract().read.getEigenPod()}getEigenPodWithdrawalCredentials(){return this.getContract().read.getEigenPodWithdrawalCredentials()}getNoRestakingWithdrawalCredentials(){return this.getContract().read.getNoRestakingWithdrawalCredentials()}allowance(t,e){return this.getContract().read.allowance([t,e])}approve(t,e){return this.getContract().write.approve([t,e],{account:this.walletClient.account,chain:this.viemChain})}asset(){return this.getContract().read.asset()}authority(){return this.getContract().read.authority()}balanceOf(t){return this.getContract().read.balanceOf([t])}decimals(){return this.getContract().read.decimals()}completeQueuedWithdrawals(t,e){return this.getContract().write.completeQueuedWithdrawals([t,e],{account:this.walletClient.account,chain:this.viemChain})}convertToAssets(t){return this.getContract().read.convertToAssets([t])}convertToShares(t){return this.getContract().read.convertToShares([t])}deposit(t,e){return this.getContract().write.deposit([t,e],{account:this.walletClient.account,chain:this.viemChain})}depositETH(t,e){return this.getContract().write.depositETH([t],{account:this.walletClient.account,chain:this.viemChain,value:e})}getNonRestakedValidatorETH(){return this.getContract().read.getNonRestakedValidatorETH()}getRestakedValidatorETH(){return this.getContract().read.getRestakedValidatorETH()}getWithdrawalCredentials(){return this.getContract().read.getWithdrawalCredentials()}maxDeposit(t){return this.getContract().read.maxDeposit([t])}maxMint(t){return this.getContract().read.maxMint([t])}maxRedeem(t){return this.getContract().read.maxRedeem([t])}maxWithdraw(t){return this.getContract().read.maxWithdraw([t])}mint(t,e){return this.getContract().write.mint([t,e],{account:this.walletClient.account,chain:this.viemChain})}name(){return this.getContract().read.name()}previewDeposit(t){return this.getContract().read.previewDeposit([t])}previewMint(t){return this.getContract().read.previewMint([t])}previewRedeem(t){return this.getContract().read.previewRedeem([t])}previewWithdraw(t){return this.getContract().read.previewWithdraw([t])}queueWithdrawals(t){return this.getContract().write.queueWithdrawals([t],{account:this.walletClient.account,chain:this.viemChain})}requestWithdrawal(t,e){return this.getContract().write.requestWithdrawal([t],{account:this.walletClient.account,chain:this.viemChain,value:e})}redeem(t,e,a){return this.getContract().write.redeem([t,e,a],{account:this.walletClient.account,chain:this.viemChain})}setValidatorsETH(t,e){return this.getContract().write.setValidatorsETH([t,e],{account:this.walletClient.account,chain:this.viemChain})}startNonRestakingValidators(t,e,a,r){return this.getContract().write.startNonRestakingValidators([t,e,a,r],{account:this.walletClient.account,chain:this.viemChain})}startRestakingValidators(t,e,a,r){return this.getContract().write.startRestakingValidators([t,e,a,r],{account:this.walletClient.account,chain:this.viemChain})}withdraw(t,e,a){return this.getContract().write.withdraw([t,e,a],{account:this.walletClient.account,chain:this.viemChain})}symbol(){return this.getContract().read.symbol()}totalAssets(){return this.getContract().read.totalAssets()}totalSupply(){return this.getContract().read.totalSupply()}transfer(t,e){return this.getContract().write.transfer([t,e],{account:this.walletClient.account,chain:this.viemChain})}transferFrom(t,e,a){return this.getContract().write.transferFrom([t,e,a],{account:this.walletClient.account,chain:this.viemChain})}customExternalCall(t,e,a){return this.getContract().write.customExternalCall([t,e,a],{account:this.walletClient.account,chain:this.viemChain})}requestEigenPodConsolidation(t,e,a){return this.getContract().write.requestEigenPodConsolidation([t,e],{account:this.walletClient.account,chain:this.viemChain,value:a})}withdrawNonRestakedETH(){return this.getContract().write.withdrawNonRestakedETH({account:this.walletClient.account,chain:this.viemChain})}}exports.InstitutionalVaultHandler=c;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../abis/mainnet/InstitutionalVault.cjs"),n=require("../../constants-Dhpa19or.cjs"),s=require("../../errors/validation-errors.cjs"),o=require("../../getContract-Cgkj3G1g.cjs");class c{constructor(t,e,a){this.walletClient=e,this.publicClient=a,this.viemChain=n.VIEM_CHAINS[t]}viemChain;address;withAddress(t){return this.address=t,this}getAddress(){return this.address}getContract(){if(!this.address)throw new s.InvalidContractAddressError("No address specified for the contract",{fixMessage:"Set the contract address in the handler by using the setAddress method"});const t=i.InstitutionalVault,e={public:this.publicClient,wallet:this.walletClient};return o.getContract({address:this.address,abi:t,client:e})}getBeaconDepositContract(){return this.getContract().read.BEACON_DEPOSIT_CONTRACT()}getNonRestakingWithdrawalCredentialsFactory(){return this.getContract().read.NON_RESTORAKING_WITHDRAWAL_CREDENTIALS_FACTORY()}getWeth(){return this.getContract().read.WETH()}getEigenDelegationManager(){return this.getContract().read.EIGEN_DELEGATION_MANAGER()}getEigenPodManager(){return this.getContract().read.EIGEN_POD_MANAGER()}getEigenPod(){return this.getContract().read.getEigenPod()}getEigenPodWithdrawalCredentials(){return this.getContract().read.getEigenPodWithdrawalCredentials()}getNoRestakingWithdrawalCredentials(){return this.getContract().read.getNoRestakingWithdrawalCredentials()}allowance(t,e){return this.getContract().read.allowance([t,e])}approve(t,e){return this.getContract().write.approve([t,e],{account:this.walletClient.account,chain:this.viemChain})}asset(){return this.getContract().read.asset()}authority(){return this.getContract().read.authority()}balanceOf(t){return this.getContract().read.balanceOf([t])}decimals(){return this.getContract().read.decimals()}completeQueuedWithdrawals(t,e){return this.getContract().write.completeQueuedWithdrawals([t,e],{account:this.walletClient.account,chain:this.viemChain})}convertToAssets(t){return this.getContract().read.convertToAssets([t])}convertToShares(t){return this.getContract().read.convertToShares([t])}deposit(t,e){return this.getContract().write.deposit([t,e],{account:this.walletClient.account,chain:this.viemChain})}depositETH(t,e){return this.getContract().write.depositETH([t],{account:this.walletClient.account,chain:this.viemChain,value:e})}getNonRestakedValidatorETH(){return this.getContract().read.getNonRestakedValidatorETH()}getRestakedValidatorETH(){return this.getContract().read.getRestakedValidatorETH()}getWithdrawalCredentials(){return this.getContract().read.getWithdrawalCredentials()}maxDeposit(t){return this.getContract().read.maxDeposit([t])}maxMint(t){return this.getContract().read.maxMint([t])}maxRedeem(t){return this.getContract().read.maxRedeem([t])}maxWithdraw(t){return this.getContract().read.maxWithdraw([t])}mint(t,e){return this.getContract().write.mint([t,e],{account:this.walletClient.account,chain:this.viemChain})}name(){return this.getContract().read.name()}previewDeposit(t){return this.getContract().read.previewDeposit([t])}previewMint(t){return this.getContract().read.previewMint([t])}previewRedeem(t){return this.getContract().read.previewRedeem([t])}previewWithdraw(t){return this.getContract().read.previewWithdraw([t])}queueWithdrawals(t){return this.getContract().write.queueWithdrawals([t],{account:this.walletClient.account,chain:this.viemChain})}requestWithdrawal(t,e){return this.getContract().write.requestWithdrawal([t],{account:this.walletClient.account,chain:this.viemChain,value:e})}redeem(t,e,a){return this.getContract().write.redeem([t,e,a],{account:this.walletClient.account,chain:this.viemChain})}setValidatorsETH(t,e){return this.getContract().write.setValidatorsETH([t,e],{account:this.walletClient.account,chain:this.viemChain})}startNonRestakingValidators(t,e,a,r){return this.getContract().write.startNonRestakingValidators([t,e,a,r],{account:this.walletClient.account,chain:this.viemChain})}startRestakingValidators(t,e,a,r){return this.getContract().write.startRestakingValidators([t,e,a,r],{account:this.walletClient.account,chain:this.viemChain})}withdraw(t,e,a){return this.getContract().write.withdraw([t,e,a],{account:this.walletClient.account,chain:this.viemChain})}symbol(){return this.getContract().read.symbol()}totalAssets(){return this.getContract().read.totalAssets()}totalSupply(){return this.getContract().read.totalSupply()}transfer(t,e){return this.getContract().write.transfer([t,e],{account:this.walletClient.account,chain:this.viemChain})}transferFrom(t,e,a){return this.getContract().write.transferFrom([t,e,a],{account:this.walletClient.account,chain:this.viemChain})}customExternalCall(t,e,a){return this.getContract().write.customExternalCall([t,e,a],{account:this.walletClient.account,chain:this.viemChain,value:a})}requestEigenPodConsolidation(t,e,a){return this.getContract().write.requestEigenPodConsolidation([t,e],{account:this.walletClient.account,chain:this.viemChain,value:a})}withdrawNonRestakedETH(){return this.getContract().write.withdrawNonRestakedETH({account:this.walletClient.account,chain:this.viemChain})}}exports.InstitutionalVaultHandler=c;
|
|
2
2
|
//# sourceMappingURL=institutional-vault-handler.cjs.map
|