@meterio/sumer-js 0.2.124 → 0.2.125
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/browser/sumer.min.js +9 -9
- package/dist/nodejs/abi.js +13 -17
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/beramain.d.ts +2 -0
- package/dist/nodejs/constants/beramain.js +18 -4
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/constants/monadtest.js +1 -1
- package/dist/nodejs/typechain/@balancer-labs/index.d.ts +2 -0
- package/dist/nodejs/typechain/@balancer-labs/index.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/index.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/index.d.ts +4 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/index.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/index.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/IAuthentication.d.ts +25 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/IAuthentication.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/IAuthentication.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ISignaturesValidator.d.ts +29 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ISignaturesValidator.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ISignaturesValidator.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ITemporarilyPausable.d.ts +63 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ITemporarilyPausable.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ITemporarilyPausable.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/index.d.ts +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/index.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/index.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/index.d.ts +6 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/index.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/index.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/IWETH.d.ts +137 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/IWETH.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/IWETH.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/index.d.ts +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/index.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/index.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/IERC20.d.ts +129 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/IERC20.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/IERC20.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/index.d.ts +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/index.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/index.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IAuthorizer.d.ts +37 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IAuthorizer.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IAuthorizer.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IFlashLoanRecipient.d.ts +39 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IFlashLoanRecipient.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IFlashLoanRecipient.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IProtocolFeesCollector.d.ts +115 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IProtocolFeesCollector.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IProtocolFeesCollector.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IVault.d.ts +802 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IVault.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/IVault.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/index.d.ts +4 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/index.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/contracts/vault/index.js.map +1 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/index.d.ts +2 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/index.js +3 -0
- package/dist/nodejs/typechain/@balancer-labs/v2-interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/index.d.ts +0 -2
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.d.ts +8 -7
- package/dist/nodejs/typechain/factories/@balancer-labs/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/index.js +31 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/index.js +32 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/IAuthentication__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/IAuthentication__factory.js +39 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/IAuthentication__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ISignaturesValidator__factory.d.ts +31 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ISignaturesValidator__factory.js +52 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ISignaturesValidator__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ITemporarilyPausable__factory.d.ts +35 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ITemporarilyPausable__factory.js +56 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/ITemporarilyPausable__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/index.js +13 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/helpers/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/index.js +33 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/IWETH__factory.d.ts +163 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/IWETH__factory.js +223 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/IWETH__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/index.js +9 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/misc/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/IERC20__factory.d.ts +147 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/IERC20__factory.js +203 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/IERC20__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/index.js +9 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IAuthorizer__factory.d.ts +29 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IAuthorizer__factory.js +49 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IAuthorizer__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IFlashLoanRecipient__factory.d.ts +29 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IFlashLoanRecipient__factory.js +48 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IFlashLoanRecipient__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IProtocolFeesCollector__factory.d.ts +119 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IProtocolFeesCollector__factory.js +166 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IProtocolFeesCollector__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IVault__factory.d.ts +900 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IVault__factory.js +1167 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IVault__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/index.js +15 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/index.js +31 -0
- package/dist/nodejs/typechain/factories/@balancer-labs/v2-interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +0 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js +1 -5
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js +1 -3
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +11 -18
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +12 -19
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/index.js +2 -1
- package/dist/nodejs/typechain/factories/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +162 -54
- package/dist/nodejs/typechain/index.d.ts +20 -10
- package/dist/nodejs/typechain/index.js +21 -13
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IERC20__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: true,
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "owner",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: true,
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "spender",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
indexed: false,
|
|
26
|
+
internalType: "uint256",
|
|
27
|
+
name: "value",
|
|
28
|
+
type: "uint256",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "Approval",
|
|
32
|
+
type: "event",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
anonymous: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
indexed: true,
|
|
39
|
+
internalType: "address",
|
|
40
|
+
name: "from",
|
|
41
|
+
type: "address",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
indexed: true,
|
|
45
|
+
internalType: "address",
|
|
46
|
+
name: "to",
|
|
47
|
+
type: "address",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
indexed: false,
|
|
51
|
+
internalType: "uint256",
|
|
52
|
+
name: "value",
|
|
53
|
+
type: "uint256",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "Transfer",
|
|
57
|
+
type: "event",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "owner",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
internalType: "address",
|
|
68
|
+
name: "spender",
|
|
69
|
+
type: "address",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
name: "allowance",
|
|
73
|
+
outputs: [
|
|
74
|
+
{
|
|
75
|
+
internalType: "uint256",
|
|
76
|
+
name: "",
|
|
77
|
+
type: "uint256",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
stateMutability: "view",
|
|
81
|
+
type: "function",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
inputs: [
|
|
85
|
+
{
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "spender",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
internalType: "uint256",
|
|
92
|
+
name: "amount",
|
|
93
|
+
type: "uint256",
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
name: "approve",
|
|
97
|
+
outputs: [
|
|
98
|
+
{
|
|
99
|
+
internalType: "bool",
|
|
100
|
+
name: "",
|
|
101
|
+
type: "bool",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
stateMutability: "nonpayable",
|
|
105
|
+
type: "function",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
inputs: [
|
|
109
|
+
{
|
|
110
|
+
internalType: "address",
|
|
111
|
+
name: "account",
|
|
112
|
+
type: "address",
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
name: "balanceOf",
|
|
116
|
+
outputs: [
|
|
117
|
+
{
|
|
118
|
+
internalType: "uint256",
|
|
119
|
+
name: "",
|
|
120
|
+
type: "uint256",
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
stateMutability: "view",
|
|
124
|
+
type: "function",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
inputs: [],
|
|
128
|
+
name: "totalSupply",
|
|
129
|
+
outputs: [
|
|
130
|
+
{
|
|
131
|
+
internalType: "uint256",
|
|
132
|
+
name: "",
|
|
133
|
+
type: "uint256",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
stateMutability: "view",
|
|
137
|
+
type: "function",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
inputs: [
|
|
141
|
+
{
|
|
142
|
+
internalType: "address",
|
|
143
|
+
name: "recipient",
|
|
144
|
+
type: "address",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
internalType: "uint256",
|
|
148
|
+
name: "amount",
|
|
149
|
+
type: "uint256",
|
|
150
|
+
},
|
|
151
|
+
],
|
|
152
|
+
name: "transfer",
|
|
153
|
+
outputs: [
|
|
154
|
+
{
|
|
155
|
+
internalType: "bool",
|
|
156
|
+
name: "",
|
|
157
|
+
type: "bool",
|
|
158
|
+
},
|
|
159
|
+
],
|
|
160
|
+
stateMutability: "nonpayable",
|
|
161
|
+
type: "function",
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
inputs: [
|
|
165
|
+
{
|
|
166
|
+
internalType: "address",
|
|
167
|
+
name: "sender",
|
|
168
|
+
type: "address",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
internalType: "address",
|
|
172
|
+
name: "recipient",
|
|
173
|
+
type: "address",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
internalType: "uint256",
|
|
177
|
+
name: "amount",
|
|
178
|
+
type: "uint256",
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
name: "transferFrom",
|
|
182
|
+
outputs: [
|
|
183
|
+
{
|
|
184
|
+
internalType: "bool",
|
|
185
|
+
name: "",
|
|
186
|
+
type: "bool",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
stateMutability: "nonpayable",
|
|
190
|
+
type: "function",
|
|
191
|
+
},
|
|
192
|
+
];
|
|
193
|
+
class IERC20__factory {
|
|
194
|
+
static createInterface() {
|
|
195
|
+
return new ethers_1.Interface(_abi);
|
|
196
|
+
}
|
|
197
|
+
static connect(address, runner) {
|
|
198
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
exports.IERC20__factory = IERC20__factory;
|
|
202
|
+
IERC20__factory.abi = _abi;
|
|
203
|
+
//# sourceMappingURL=IERC20__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IERC20__factory.js","sourceRoot":"","sources":["../../../../../../../../../src/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/IERC20__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,eAAe;IAE1B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAoB,CAAC;IAChD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAsB,CAAC;IAClE,CAAC;;AAPH,0CAQC;AAPiB,mBAAG,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IERC20__factory } from "./IERC20__factory";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IERC20__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
var IERC20__factory_1 = require("./IERC20__factory");
|
|
8
|
+
Object.defineProperty(exports, "IERC20__factory", { enumerable: true, get: function () { return IERC20__factory_1.IERC20__factory; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/typechain/factories/@balancer-labs/v2-interfaces/contracts/solidity-utils/openzeppelin/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,qDAAoD;AAA3C,kHAAA,eAAe,OAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IAuthorizer, IAuthorizerInterface } from "../../../../../@balancer-labs/v2-interfaces/contracts/vault/IAuthorizer";
|
|
3
|
+
export declare class IAuthorizer__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly internalType: "bytes32";
|
|
7
|
+
readonly name: "actionId";
|
|
8
|
+
readonly type: "bytes32";
|
|
9
|
+
}, {
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
readonly name: "account";
|
|
12
|
+
readonly type: "address";
|
|
13
|
+
}, {
|
|
14
|
+
readonly internalType: "address";
|
|
15
|
+
readonly name: "where";
|
|
16
|
+
readonly type: "address";
|
|
17
|
+
}];
|
|
18
|
+
readonly name: "canPerform";
|
|
19
|
+
readonly outputs: readonly [{
|
|
20
|
+
readonly internalType: "bool";
|
|
21
|
+
readonly name: "";
|
|
22
|
+
readonly type: "bool";
|
|
23
|
+
}];
|
|
24
|
+
readonly stateMutability: "view";
|
|
25
|
+
readonly type: "function";
|
|
26
|
+
}];
|
|
27
|
+
static createInterface(): IAuthorizerInterface;
|
|
28
|
+
static connect(address: string, runner?: ContractRunner | null): IAuthorizer;
|
|
29
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IAuthorizer__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "bytes32",
|
|
13
|
+
name: "actionId",
|
|
14
|
+
type: "bytes32",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "account",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "where",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
name: "canPerform",
|
|
28
|
+
outputs: [
|
|
29
|
+
{
|
|
30
|
+
internalType: "bool",
|
|
31
|
+
name: "",
|
|
32
|
+
type: "bool",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
stateMutability: "view",
|
|
36
|
+
type: "function",
|
|
37
|
+
},
|
|
38
|
+
];
|
|
39
|
+
class IAuthorizer__factory {
|
|
40
|
+
static createInterface() {
|
|
41
|
+
return new ethers_1.Interface(_abi);
|
|
42
|
+
}
|
|
43
|
+
static connect(address, runner) {
|
|
44
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.IAuthorizer__factory = IAuthorizer__factory;
|
|
48
|
+
IAuthorizer__factory.abi = _abi;
|
|
49
|
+
//# sourceMappingURL=IAuthorizer__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAuthorizer__factory.js","sourceRoot":"","sources":["../../../../../../../../src/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IAuthorizer__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,oBAAoB;IAE/B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAyB,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAA2B,CAAC;IACvE,CAAC;;AAPH,oDAQC;AAPiB,wBAAG,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IFlashLoanRecipient, IFlashLoanRecipientInterface } from "../../../../../@balancer-labs/v2-interfaces/contracts/vault/IFlashLoanRecipient";
|
|
3
|
+
export declare class IFlashLoanRecipient__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly internalType: "contract IERC20[]";
|
|
7
|
+
readonly name: "tokens";
|
|
8
|
+
readonly type: "address[]";
|
|
9
|
+
}, {
|
|
10
|
+
readonly internalType: "uint256[]";
|
|
11
|
+
readonly name: "amounts";
|
|
12
|
+
readonly type: "uint256[]";
|
|
13
|
+
}, {
|
|
14
|
+
readonly internalType: "uint256[]";
|
|
15
|
+
readonly name: "feeAmounts";
|
|
16
|
+
readonly type: "uint256[]";
|
|
17
|
+
}, {
|
|
18
|
+
readonly internalType: "bytes";
|
|
19
|
+
readonly name: "userData";
|
|
20
|
+
readonly type: "bytes";
|
|
21
|
+
}];
|
|
22
|
+
readonly name: "receiveFlashLoan";
|
|
23
|
+
readonly outputs: readonly [];
|
|
24
|
+
readonly stateMutability: "nonpayable";
|
|
25
|
+
readonly type: "function";
|
|
26
|
+
}];
|
|
27
|
+
static createInterface(): IFlashLoanRecipientInterface;
|
|
28
|
+
static connect(address: string, runner?: ContractRunner | null): IFlashLoanRecipient;
|
|
29
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IFlashLoanRecipient__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "contract IERC20[]",
|
|
13
|
+
name: "tokens",
|
|
14
|
+
type: "address[]",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "uint256[]",
|
|
18
|
+
name: "amounts",
|
|
19
|
+
type: "uint256[]",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "uint256[]",
|
|
23
|
+
name: "feeAmounts",
|
|
24
|
+
type: "uint256[]",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "bytes",
|
|
28
|
+
name: "userData",
|
|
29
|
+
type: "bytes",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "receiveFlashLoan",
|
|
33
|
+
outputs: [],
|
|
34
|
+
stateMutability: "nonpayable",
|
|
35
|
+
type: "function",
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
class IFlashLoanRecipient__factory {
|
|
39
|
+
static createInterface() {
|
|
40
|
+
return new ethers_1.Interface(_abi);
|
|
41
|
+
}
|
|
42
|
+
static connect(address, runner) {
|
|
43
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.IFlashLoanRecipient__factory = IFlashLoanRecipient__factory;
|
|
47
|
+
IFlashLoanRecipient__factory.abi = _abi;
|
|
48
|
+
//# sourceMappingURL=IFlashLoanRecipient__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFlashLoanRecipient__factory.js","sourceRoot":"","sources":["../../../../../../../../src/typechain/factories/@balancer-labs/v2-interfaces/contracts/vault/IFlashLoanRecipient__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,mBAAmB;gBACjC,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,WAAW;aAClB;YACD;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,WAAW;aAClB;YACD;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,WAAW;aAClB;YACD;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,OAAO;aACd;SACF;QACD,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,4BAA4B;IAEvC,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAiC,CAAC;IAC7D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,MAAM,CAC2B,CAAC;IACtC,CAAC;;AAdH,oEAeC;AAdiB,gCAAG,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IProtocolFeesCollector, IProtocolFeesCollectorInterface } from "../../../../../@balancer-labs/v2-interfaces/contracts/vault/IProtocolFeesCollector";
|
|
3
|
+
export declare class IProtocolFeesCollector__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly anonymous: false;
|
|
6
|
+
readonly inputs: readonly [{
|
|
7
|
+
readonly indexed: false;
|
|
8
|
+
readonly internalType: "uint256";
|
|
9
|
+
readonly name: "newFlashLoanFeePercentage";
|
|
10
|
+
readonly type: "uint256";
|
|
11
|
+
}];
|
|
12
|
+
readonly name: "FlashLoanFeePercentageChanged";
|
|
13
|
+
readonly type: "event";
|
|
14
|
+
}, {
|
|
15
|
+
readonly anonymous: false;
|
|
16
|
+
readonly inputs: readonly [{
|
|
17
|
+
readonly indexed: false;
|
|
18
|
+
readonly internalType: "uint256";
|
|
19
|
+
readonly name: "newSwapFeePercentage";
|
|
20
|
+
readonly type: "uint256";
|
|
21
|
+
}];
|
|
22
|
+
readonly name: "SwapFeePercentageChanged";
|
|
23
|
+
readonly type: "event";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly name: "getAuthorizer";
|
|
27
|
+
readonly outputs: readonly [{
|
|
28
|
+
readonly internalType: "contract IAuthorizer";
|
|
29
|
+
readonly name: "";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
}];
|
|
32
|
+
readonly stateMutability: "view";
|
|
33
|
+
readonly type: "function";
|
|
34
|
+
}, {
|
|
35
|
+
readonly inputs: readonly [{
|
|
36
|
+
readonly internalType: "contract IERC20[]";
|
|
37
|
+
readonly name: "tokens";
|
|
38
|
+
readonly type: "address[]";
|
|
39
|
+
}];
|
|
40
|
+
readonly name: "getCollectedFeeAmounts";
|
|
41
|
+
readonly outputs: readonly [{
|
|
42
|
+
readonly internalType: "uint256[]";
|
|
43
|
+
readonly name: "feeAmounts";
|
|
44
|
+
readonly type: "uint256[]";
|
|
45
|
+
}];
|
|
46
|
+
readonly stateMutability: "view";
|
|
47
|
+
readonly type: "function";
|
|
48
|
+
}, {
|
|
49
|
+
readonly inputs: readonly [];
|
|
50
|
+
readonly name: "getFlashLoanFeePercentage";
|
|
51
|
+
readonly outputs: readonly [{
|
|
52
|
+
readonly internalType: "uint256";
|
|
53
|
+
readonly name: "";
|
|
54
|
+
readonly type: "uint256";
|
|
55
|
+
}];
|
|
56
|
+
readonly stateMutability: "view";
|
|
57
|
+
readonly type: "function";
|
|
58
|
+
}, {
|
|
59
|
+
readonly inputs: readonly [];
|
|
60
|
+
readonly name: "getSwapFeePercentage";
|
|
61
|
+
readonly outputs: readonly [{
|
|
62
|
+
readonly internalType: "uint256";
|
|
63
|
+
readonly name: "";
|
|
64
|
+
readonly type: "uint256";
|
|
65
|
+
}];
|
|
66
|
+
readonly stateMutability: "view";
|
|
67
|
+
readonly type: "function";
|
|
68
|
+
}, {
|
|
69
|
+
readonly inputs: readonly [{
|
|
70
|
+
readonly internalType: "uint256";
|
|
71
|
+
readonly name: "newFlashLoanFeePercentage";
|
|
72
|
+
readonly type: "uint256";
|
|
73
|
+
}];
|
|
74
|
+
readonly name: "setFlashLoanFeePercentage";
|
|
75
|
+
readonly outputs: readonly [];
|
|
76
|
+
readonly stateMutability: "nonpayable";
|
|
77
|
+
readonly type: "function";
|
|
78
|
+
}, {
|
|
79
|
+
readonly inputs: readonly [{
|
|
80
|
+
readonly internalType: "uint256";
|
|
81
|
+
readonly name: "newSwapFeePercentage";
|
|
82
|
+
readonly type: "uint256";
|
|
83
|
+
}];
|
|
84
|
+
readonly name: "setSwapFeePercentage";
|
|
85
|
+
readonly outputs: readonly [];
|
|
86
|
+
readonly stateMutability: "nonpayable";
|
|
87
|
+
readonly type: "function";
|
|
88
|
+
}, {
|
|
89
|
+
readonly inputs: readonly [];
|
|
90
|
+
readonly name: "vault";
|
|
91
|
+
readonly outputs: readonly [{
|
|
92
|
+
readonly internalType: "contract IVault";
|
|
93
|
+
readonly name: "";
|
|
94
|
+
readonly type: "address";
|
|
95
|
+
}];
|
|
96
|
+
readonly stateMutability: "view";
|
|
97
|
+
readonly type: "function";
|
|
98
|
+
}, {
|
|
99
|
+
readonly inputs: readonly [{
|
|
100
|
+
readonly internalType: "contract IERC20[]";
|
|
101
|
+
readonly name: "tokens";
|
|
102
|
+
readonly type: "address[]";
|
|
103
|
+
}, {
|
|
104
|
+
readonly internalType: "uint256[]";
|
|
105
|
+
readonly name: "amounts";
|
|
106
|
+
readonly type: "uint256[]";
|
|
107
|
+
}, {
|
|
108
|
+
readonly internalType: "address";
|
|
109
|
+
readonly name: "recipient";
|
|
110
|
+
readonly type: "address";
|
|
111
|
+
}];
|
|
112
|
+
readonly name: "withdrawCollectedFees";
|
|
113
|
+
readonly outputs: readonly [];
|
|
114
|
+
readonly stateMutability: "nonpayable";
|
|
115
|
+
readonly type: "function";
|
|
116
|
+
}];
|
|
117
|
+
static createInterface(): IProtocolFeesCollectorInterface;
|
|
118
|
+
static connect(address: string, runner?: ContractRunner | null): IProtocolFeesCollector;
|
|
119
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IProtocolFeesCollector__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: false,
|
|
14
|
+
internalType: "uint256",
|
|
15
|
+
name: "newFlashLoanFeePercentage",
|
|
16
|
+
type: "uint256",
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
name: "FlashLoanFeePercentageChanged",
|
|
20
|
+
type: "event",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
anonymous: false,
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
indexed: false,
|
|
27
|
+
internalType: "uint256",
|
|
28
|
+
name: "newSwapFeePercentage",
|
|
29
|
+
type: "uint256",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "SwapFeePercentageChanged",
|
|
33
|
+
type: "event",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
inputs: [],
|
|
37
|
+
name: "getAuthorizer",
|
|
38
|
+
outputs: [
|
|
39
|
+
{
|
|
40
|
+
internalType: "contract IAuthorizer",
|
|
41
|
+
name: "",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
stateMutability: "view",
|
|
46
|
+
type: "function",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
inputs: [
|
|
50
|
+
{
|
|
51
|
+
internalType: "contract IERC20[]",
|
|
52
|
+
name: "tokens",
|
|
53
|
+
type: "address[]",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "getCollectedFeeAmounts",
|
|
57
|
+
outputs: [
|
|
58
|
+
{
|
|
59
|
+
internalType: "uint256[]",
|
|
60
|
+
name: "feeAmounts",
|
|
61
|
+
type: "uint256[]",
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
stateMutability: "view",
|
|
65
|
+
type: "function",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
inputs: [],
|
|
69
|
+
name: "getFlashLoanFeePercentage",
|
|
70
|
+
outputs: [
|
|
71
|
+
{
|
|
72
|
+
internalType: "uint256",
|
|
73
|
+
name: "",
|
|
74
|
+
type: "uint256",
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
stateMutability: "view",
|
|
78
|
+
type: "function",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
inputs: [],
|
|
82
|
+
name: "getSwapFeePercentage",
|
|
83
|
+
outputs: [
|
|
84
|
+
{
|
|
85
|
+
internalType: "uint256",
|
|
86
|
+
name: "",
|
|
87
|
+
type: "uint256",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
stateMutability: "view",
|
|
91
|
+
type: "function",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
inputs: [
|
|
95
|
+
{
|
|
96
|
+
internalType: "uint256",
|
|
97
|
+
name: "newFlashLoanFeePercentage",
|
|
98
|
+
type: "uint256",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
name: "setFlashLoanFeePercentage",
|
|
102
|
+
outputs: [],
|
|
103
|
+
stateMutability: "nonpayable",
|
|
104
|
+
type: "function",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
inputs: [
|
|
108
|
+
{
|
|
109
|
+
internalType: "uint256",
|
|
110
|
+
name: "newSwapFeePercentage",
|
|
111
|
+
type: "uint256",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
name: "setSwapFeePercentage",
|
|
115
|
+
outputs: [],
|
|
116
|
+
stateMutability: "nonpayable",
|
|
117
|
+
type: "function",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
inputs: [],
|
|
121
|
+
name: "vault",
|
|
122
|
+
outputs: [
|
|
123
|
+
{
|
|
124
|
+
internalType: "contract IVault",
|
|
125
|
+
name: "",
|
|
126
|
+
type: "address",
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
stateMutability: "view",
|
|
130
|
+
type: "function",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
inputs: [
|
|
134
|
+
{
|
|
135
|
+
internalType: "contract IERC20[]",
|
|
136
|
+
name: "tokens",
|
|
137
|
+
type: "address[]",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
internalType: "uint256[]",
|
|
141
|
+
name: "amounts",
|
|
142
|
+
type: "uint256[]",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
internalType: "address",
|
|
146
|
+
name: "recipient",
|
|
147
|
+
type: "address",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
name: "withdrawCollectedFees",
|
|
151
|
+
outputs: [],
|
|
152
|
+
stateMutability: "nonpayable",
|
|
153
|
+
type: "function",
|
|
154
|
+
},
|
|
155
|
+
];
|
|
156
|
+
class IProtocolFeesCollector__factory {
|
|
157
|
+
static createInterface() {
|
|
158
|
+
return new ethers_1.Interface(_abi);
|
|
159
|
+
}
|
|
160
|
+
static connect(address, runner) {
|
|
161
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
exports.IProtocolFeesCollector__factory = IProtocolFeesCollector__factory;
|
|
165
|
+
IProtocolFeesCollector__factory.abi = _abi;
|
|
166
|
+
//# sourceMappingURL=IProtocolFeesCollector__factory.js.map
|