@meterio/sumer-js 0.2.124 → 0.2.126
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,900 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IVault, IVaultInterface } from "../../../../../@balancer-labs/v2-interfaces/contracts/vault/IVault";
|
|
3
|
+
export declare class IVault__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly anonymous: false;
|
|
6
|
+
readonly inputs: readonly [{
|
|
7
|
+
readonly indexed: true;
|
|
8
|
+
readonly internalType: "contract IAuthorizer";
|
|
9
|
+
readonly name: "newAuthorizer";
|
|
10
|
+
readonly type: "address";
|
|
11
|
+
}];
|
|
12
|
+
readonly name: "AuthorizerChanged";
|
|
13
|
+
readonly type: "event";
|
|
14
|
+
}, {
|
|
15
|
+
readonly anonymous: false;
|
|
16
|
+
readonly inputs: readonly [{
|
|
17
|
+
readonly indexed: true;
|
|
18
|
+
readonly internalType: "contract IERC20";
|
|
19
|
+
readonly name: "token";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
}, {
|
|
22
|
+
readonly indexed: true;
|
|
23
|
+
readonly internalType: "address";
|
|
24
|
+
readonly name: "sender";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
}, {
|
|
27
|
+
readonly indexed: false;
|
|
28
|
+
readonly internalType: "address";
|
|
29
|
+
readonly name: "recipient";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
}, {
|
|
32
|
+
readonly indexed: false;
|
|
33
|
+
readonly internalType: "uint256";
|
|
34
|
+
readonly name: "amount";
|
|
35
|
+
readonly type: "uint256";
|
|
36
|
+
}];
|
|
37
|
+
readonly name: "ExternalBalanceTransfer";
|
|
38
|
+
readonly type: "event";
|
|
39
|
+
}, {
|
|
40
|
+
readonly anonymous: false;
|
|
41
|
+
readonly inputs: readonly [{
|
|
42
|
+
readonly indexed: true;
|
|
43
|
+
readonly internalType: "contract IFlashLoanRecipient";
|
|
44
|
+
readonly name: "recipient";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
}, {
|
|
47
|
+
readonly indexed: true;
|
|
48
|
+
readonly internalType: "contract IERC20";
|
|
49
|
+
readonly name: "token";
|
|
50
|
+
readonly type: "address";
|
|
51
|
+
}, {
|
|
52
|
+
readonly indexed: false;
|
|
53
|
+
readonly internalType: "uint256";
|
|
54
|
+
readonly name: "amount";
|
|
55
|
+
readonly type: "uint256";
|
|
56
|
+
}, {
|
|
57
|
+
readonly indexed: false;
|
|
58
|
+
readonly internalType: "uint256";
|
|
59
|
+
readonly name: "feeAmount";
|
|
60
|
+
readonly type: "uint256";
|
|
61
|
+
}];
|
|
62
|
+
readonly name: "FlashLoan";
|
|
63
|
+
readonly type: "event";
|
|
64
|
+
}, {
|
|
65
|
+
readonly anonymous: false;
|
|
66
|
+
readonly inputs: readonly [{
|
|
67
|
+
readonly indexed: true;
|
|
68
|
+
readonly internalType: "address";
|
|
69
|
+
readonly name: "user";
|
|
70
|
+
readonly type: "address";
|
|
71
|
+
}, {
|
|
72
|
+
readonly indexed: true;
|
|
73
|
+
readonly internalType: "contract IERC20";
|
|
74
|
+
readonly name: "token";
|
|
75
|
+
readonly type: "address";
|
|
76
|
+
}, {
|
|
77
|
+
readonly indexed: false;
|
|
78
|
+
readonly internalType: "int256";
|
|
79
|
+
readonly name: "delta";
|
|
80
|
+
readonly type: "int256";
|
|
81
|
+
}];
|
|
82
|
+
readonly name: "InternalBalanceChanged";
|
|
83
|
+
readonly type: "event";
|
|
84
|
+
}, {
|
|
85
|
+
readonly anonymous: false;
|
|
86
|
+
readonly inputs: readonly [{
|
|
87
|
+
readonly indexed: false;
|
|
88
|
+
readonly internalType: "bool";
|
|
89
|
+
readonly name: "paused";
|
|
90
|
+
readonly type: "bool";
|
|
91
|
+
}];
|
|
92
|
+
readonly name: "PausedStateChanged";
|
|
93
|
+
readonly type: "event";
|
|
94
|
+
}, {
|
|
95
|
+
readonly anonymous: false;
|
|
96
|
+
readonly inputs: readonly [{
|
|
97
|
+
readonly indexed: true;
|
|
98
|
+
readonly internalType: "bytes32";
|
|
99
|
+
readonly name: "poolId";
|
|
100
|
+
readonly type: "bytes32";
|
|
101
|
+
}, {
|
|
102
|
+
readonly indexed: true;
|
|
103
|
+
readonly internalType: "address";
|
|
104
|
+
readonly name: "liquidityProvider";
|
|
105
|
+
readonly type: "address";
|
|
106
|
+
}, {
|
|
107
|
+
readonly indexed: false;
|
|
108
|
+
readonly internalType: "contract IERC20[]";
|
|
109
|
+
readonly name: "tokens";
|
|
110
|
+
readonly type: "address[]";
|
|
111
|
+
}, {
|
|
112
|
+
readonly indexed: false;
|
|
113
|
+
readonly internalType: "int256[]";
|
|
114
|
+
readonly name: "deltas";
|
|
115
|
+
readonly type: "int256[]";
|
|
116
|
+
}, {
|
|
117
|
+
readonly indexed: false;
|
|
118
|
+
readonly internalType: "uint256[]";
|
|
119
|
+
readonly name: "protocolFeeAmounts";
|
|
120
|
+
readonly type: "uint256[]";
|
|
121
|
+
}];
|
|
122
|
+
readonly name: "PoolBalanceChanged";
|
|
123
|
+
readonly type: "event";
|
|
124
|
+
}, {
|
|
125
|
+
readonly anonymous: false;
|
|
126
|
+
readonly inputs: readonly [{
|
|
127
|
+
readonly indexed: true;
|
|
128
|
+
readonly internalType: "bytes32";
|
|
129
|
+
readonly name: "poolId";
|
|
130
|
+
readonly type: "bytes32";
|
|
131
|
+
}, {
|
|
132
|
+
readonly indexed: true;
|
|
133
|
+
readonly internalType: "address";
|
|
134
|
+
readonly name: "assetManager";
|
|
135
|
+
readonly type: "address";
|
|
136
|
+
}, {
|
|
137
|
+
readonly indexed: true;
|
|
138
|
+
readonly internalType: "contract IERC20";
|
|
139
|
+
readonly name: "token";
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
}, {
|
|
142
|
+
readonly indexed: false;
|
|
143
|
+
readonly internalType: "int256";
|
|
144
|
+
readonly name: "cashDelta";
|
|
145
|
+
readonly type: "int256";
|
|
146
|
+
}, {
|
|
147
|
+
readonly indexed: false;
|
|
148
|
+
readonly internalType: "int256";
|
|
149
|
+
readonly name: "managedDelta";
|
|
150
|
+
readonly type: "int256";
|
|
151
|
+
}];
|
|
152
|
+
readonly name: "PoolBalanceManaged";
|
|
153
|
+
readonly type: "event";
|
|
154
|
+
}, {
|
|
155
|
+
readonly anonymous: false;
|
|
156
|
+
readonly inputs: readonly [{
|
|
157
|
+
readonly indexed: true;
|
|
158
|
+
readonly internalType: "bytes32";
|
|
159
|
+
readonly name: "poolId";
|
|
160
|
+
readonly type: "bytes32";
|
|
161
|
+
}, {
|
|
162
|
+
readonly indexed: true;
|
|
163
|
+
readonly internalType: "address";
|
|
164
|
+
readonly name: "poolAddress";
|
|
165
|
+
readonly type: "address";
|
|
166
|
+
}, {
|
|
167
|
+
readonly indexed: false;
|
|
168
|
+
readonly internalType: "enum IVault.PoolSpecialization";
|
|
169
|
+
readonly name: "specialization";
|
|
170
|
+
readonly type: "uint8";
|
|
171
|
+
}];
|
|
172
|
+
readonly name: "PoolRegistered";
|
|
173
|
+
readonly type: "event";
|
|
174
|
+
}, {
|
|
175
|
+
readonly anonymous: false;
|
|
176
|
+
readonly inputs: readonly [{
|
|
177
|
+
readonly indexed: true;
|
|
178
|
+
readonly internalType: "address";
|
|
179
|
+
readonly name: "relayer";
|
|
180
|
+
readonly type: "address";
|
|
181
|
+
}, {
|
|
182
|
+
readonly indexed: true;
|
|
183
|
+
readonly internalType: "address";
|
|
184
|
+
readonly name: "sender";
|
|
185
|
+
readonly type: "address";
|
|
186
|
+
}, {
|
|
187
|
+
readonly indexed: false;
|
|
188
|
+
readonly internalType: "bool";
|
|
189
|
+
readonly name: "approved";
|
|
190
|
+
readonly type: "bool";
|
|
191
|
+
}];
|
|
192
|
+
readonly name: "RelayerApprovalChanged";
|
|
193
|
+
readonly type: "event";
|
|
194
|
+
}, {
|
|
195
|
+
readonly anonymous: false;
|
|
196
|
+
readonly inputs: readonly [{
|
|
197
|
+
readonly indexed: true;
|
|
198
|
+
readonly internalType: "bytes32";
|
|
199
|
+
readonly name: "poolId";
|
|
200
|
+
readonly type: "bytes32";
|
|
201
|
+
}, {
|
|
202
|
+
readonly indexed: true;
|
|
203
|
+
readonly internalType: "contract IERC20";
|
|
204
|
+
readonly name: "tokenIn";
|
|
205
|
+
readonly type: "address";
|
|
206
|
+
}, {
|
|
207
|
+
readonly indexed: true;
|
|
208
|
+
readonly internalType: "contract IERC20";
|
|
209
|
+
readonly name: "tokenOut";
|
|
210
|
+
readonly type: "address";
|
|
211
|
+
}, {
|
|
212
|
+
readonly indexed: false;
|
|
213
|
+
readonly internalType: "uint256";
|
|
214
|
+
readonly name: "amountIn";
|
|
215
|
+
readonly type: "uint256";
|
|
216
|
+
}, {
|
|
217
|
+
readonly indexed: false;
|
|
218
|
+
readonly internalType: "uint256";
|
|
219
|
+
readonly name: "amountOut";
|
|
220
|
+
readonly type: "uint256";
|
|
221
|
+
}];
|
|
222
|
+
readonly name: "Swap";
|
|
223
|
+
readonly type: "event";
|
|
224
|
+
}, {
|
|
225
|
+
readonly anonymous: false;
|
|
226
|
+
readonly inputs: readonly [{
|
|
227
|
+
readonly indexed: true;
|
|
228
|
+
readonly internalType: "bytes32";
|
|
229
|
+
readonly name: "poolId";
|
|
230
|
+
readonly type: "bytes32";
|
|
231
|
+
}, {
|
|
232
|
+
readonly indexed: false;
|
|
233
|
+
readonly internalType: "contract IERC20[]";
|
|
234
|
+
readonly name: "tokens";
|
|
235
|
+
readonly type: "address[]";
|
|
236
|
+
}];
|
|
237
|
+
readonly name: "TokensDeregistered";
|
|
238
|
+
readonly type: "event";
|
|
239
|
+
}, {
|
|
240
|
+
readonly anonymous: false;
|
|
241
|
+
readonly inputs: readonly [{
|
|
242
|
+
readonly indexed: true;
|
|
243
|
+
readonly internalType: "bytes32";
|
|
244
|
+
readonly name: "poolId";
|
|
245
|
+
readonly type: "bytes32";
|
|
246
|
+
}, {
|
|
247
|
+
readonly indexed: false;
|
|
248
|
+
readonly internalType: "contract IERC20[]";
|
|
249
|
+
readonly name: "tokens";
|
|
250
|
+
readonly type: "address[]";
|
|
251
|
+
}, {
|
|
252
|
+
readonly indexed: false;
|
|
253
|
+
readonly internalType: "address[]";
|
|
254
|
+
readonly name: "assetManagers";
|
|
255
|
+
readonly type: "address[]";
|
|
256
|
+
}];
|
|
257
|
+
readonly name: "TokensRegistered";
|
|
258
|
+
readonly type: "event";
|
|
259
|
+
}, {
|
|
260
|
+
readonly inputs: readonly [];
|
|
261
|
+
readonly name: "WETH";
|
|
262
|
+
readonly outputs: readonly [{
|
|
263
|
+
readonly internalType: "contract IWETH";
|
|
264
|
+
readonly name: "";
|
|
265
|
+
readonly type: "address";
|
|
266
|
+
}];
|
|
267
|
+
readonly stateMutability: "view";
|
|
268
|
+
readonly type: "function";
|
|
269
|
+
}, {
|
|
270
|
+
readonly inputs: readonly [{
|
|
271
|
+
readonly internalType: "enum IVault.SwapKind";
|
|
272
|
+
readonly name: "kind";
|
|
273
|
+
readonly type: "uint8";
|
|
274
|
+
}, {
|
|
275
|
+
readonly components: readonly [{
|
|
276
|
+
readonly internalType: "bytes32";
|
|
277
|
+
readonly name: "poolId";
|
|
278
|
+
readonly type: "bytes32";
|
|
279
|
+
}, {
|
|
280
|
+
readonly internalType: "uint256";
|
|
281
|
+
readonly name: "assetInIndex";
|
|
282
|
+
readonly type: "uint256";
|
|
283
|
+
}, {
|
|
284
|
+
readonly internalType: "uint256";
|
|
285
|
+
readonly name: "assetOutIndex";
|
|
286
|
+
readonly type: "uint256";
|
|
287
|
+
}, {
|
|
288
|
+
readonly internalType: "uint256";
|
|
289
|
+
readonly name: "amount";
|
|
290
|
+
readonly type: "uint256";
|
|
291
|
+
}, {
|
|
292
|
+
readonly internalType: "bytes";
|
|
293
|
+
readonly name: "userData";
|
|
294
|
+
readonly type: "bytes";
|
|
295
|
+
}];
|
|
296
|
+
readonly internalType: "struct IVault.BatchSwapStep[]";
|
|
297
|
+
readonly name: "swaps";
|
|
298
|
+
readonly type: "tuple[]";
|
|
299
|
+
}, {
|
|
300
|
+
readonly internalType: "contract IAsset[]";
|
|
301
|
+
readonly name: "assets";
|
|
302
|
+
readonly type: "address[]";
|
|
303
|
+
}, {
|
|
304
|
+
readonly components: readonly [{
|
|
305
|
+
readonly internalType: "address";
|
|
306
|
+
readonly name: "sender";
|
|
307
|
+
readonly type: "address";
|
|
308
|
+
}, {
|
|
309
|
+
readonly internalType: "bool";
|
|
310
|
+
readonly name: "fromInternalBalance";
|
|
311
|
+
readonly type: "bool";
|
|
312
|
+
}, {
|
|
313
|
+
readonly internalType: "address payable";
|
|
314
|
+
readonly name: "recipient";
|
|
315
|
+
readonly type: "address";
|
|
316
|
+
}, {
|
|
317
|
+
readonly internalType: "bool";
|
|
318
|
+
readonly name: "toInternalBalance";
|
|
319
|
+
readonly type: "bool";
|
|
320
|
+
}];
|
|
321
|
+
readonly internalType: "struct IVault.FundManagement";
|
|
322
|
+
readonly name: "funds";
|
|
323
|
+
readonly type: "tuple";
|
|
324
|
+
}, {
|
|
325
|
+
readonly internalType: "int256[]";
|
|
326
|
+
readonly name: "limits";
|
|
327
|
+
readonly type: "int256[]";
|
|
328
|
+
}, {
|
|
329
|
+
readonly internalType: "uint256";
|
|
330
|
+
readonly name: "deadline";
|
|
331
|
+
readonly type: "uint256";
|
|
332
|
+
}];
|
|
333
|
+
readonly name: "batchSwap";
|
|
334
|
+
readonly outputs: readonly [{
|
|
335
|
+
readonly internalType: "int256[]";
|
|
336
|
+
readonly name: "";
|
|
337
|
+
readonly type: "int256[]";
|
|
338
|
+
}];
|
|
339
|
+
readonly stateMutability: "payable";
|
|
340
|
+
readonly type: "function";
|
|
341
|
+
}, {
|
|
342
|
+
readonly inputs: readonly [{
|
|
343
|
+
readonly internalType: "bytes32";
|
|
344
|
+
readonly name: "poolId";
|
|
345
|
+
readonly type: "bytes32";
|
|
346
|
+
}, {
|
|
347
|
+
readonly internalType: "contract IERC20[]";
|
|
348
|
+
readonly name: "tokens";
|
|
349
|
+
readonly type: "address[]";
|
|
350
|
+
}];
|
|
351
|
+
readonly name: "deregisterTokens";
|
|
352
|
+
readonly outputs: readonly [];
|
|
353
|
+
readonly stateMutability: "nonpayable";
|
|
354
|
+
readonly type: "function";
|
|
355
|
+
}, {
|
|
356
|
+
readonly inputs: readonly [{
|
|
357
|
+
readonly internalType: "bytes32";
|
|
358
|
+
readonly name: "poolId";
|
|
359
|
+
readonly type: "bytes32";
|
|
360
|
+
}, {
|
|
361
|
+
readonly internalType: "address";
|
|
362
|
+
readonly name: "sender";
|
|
363
|
+
readonly type: "address";
|
|
364
|
+
}, {
|
|
365
|
+
readonly internalType: "address payable";
|
|
366
|
+
readonly name: "recipient";
|
|
367
|
+
readonly type: "address";
|
|
368
|
+
}, {
|
|
369
|
+
readonly components: readonly [{
|
|
370
|
+
readonly internalType: "contract IAsset[]";
|
|
371
|
+
readonly name: "assets";
|
|
372
|
+
readonly type: "address[]";
|
|
373
|
+
}, {
|
|
374
|
+
readonly internalType: "uint256[]";
|
|
375
|
+
readonly name: "minAmountsOut";
|
|
376
|
+
readonly type: "uint256[]";
|
|
377
|
+
}, {
|
|
378
|
+
readonly internalType: "bytes";
|
|
379
|
+
readonly name: "userData";
|
|
380
|
+
readonly type: "bytes";
|
|
381
|
+
}, {
|
|
382
|
+
readonly internalType: "bool";
|
|
383
|
+
readonly name: "toInternalBalance";
|
|
384
|
+
readonly type: "bool";
|
|
385
|
+
}];
|
|
386
|
+
readonly internalType: "struct IVault.ExitPoolRequest";
|
|
387
|
+
readonly name: "request";
|
|
388
|
+
readonly type: "tuple";
|
|
389
|
+
}];
|
|
390
|
+
readonly name: "exitPool";
|
|
391
|
+
readonly outputs: readonly [];
|
|
392
|
+
readonly stateMutability: "nonpayable";
|
|
393
|
+
readonly type: "function";
|
|
394
|
+
}, {
|
|
395
|
+
readonly inputs: readonly [{
|
|
396
|
+
readonly internalType: "contract IFlashLoanRecipient";
|
|
397
|
+
readonly name: "recipient";
|
|
398
|
+
readonly type: "address";
|
|
399
|
+
}, {
|
|
400
|
+
readonly internalType: "contract IERC20[]";
|
|
401
|
+
readonly name: "tokens";
|
|
402
|
+
readonly type: "address[]";
|
|
403
|
+
}, {
|
|
404
|
+
readonly internalType: "uint256[]";
|
|
405
|
+
readonly name: "amounts";
|
|
406
|
+
readonly type: "uint256[]";
|
|
407
|
+
}, {
|
|
408
|
+
readonly internalType: "bytes";
|
|
409
|
+
readonly name: "userData";
|
|
410
|
+
readonly type: "bytes";
|
|
411
|
+
}];
|
|
412
|
+
readonly name: "flashLoan";
|
|
413
|
+
readonly outputs: readonly [];
|
|
414
|
+
readonly stateMutability: "nonpayable";
|
|
415
|
+
readonly type: "function";
|
|
416
|
+
}, {
|
|
417
|
+
readonly inputs: readonly [{
|
|
418
|
+
readonly internalType: "bytes4";
|
|
419
|
+
readonly name: "selector";
|
|
420
|
+
readonly type: "bytes4";
|
|
421
|
+
}];
|
|
422
|
+
readonly name: "getActionId";
|
|
423
|
+
readonly outputs: readonly [{
|
|
424
|
+
readonly internalType: "bytes32";
|
|
425
|
+
readonly name: "";
|
|
426
|
+
readonly type: "bytes32";
|
|
427
|
+
}];
|
|
428
|
+
readonly stateMutability: "view";
|
|
429
|
+
readonly type: "function";
|
|
430
|
+
}, {
|
|
431
|
+
readonly inputs: readonly [];
|
|
432
|
+
readonly name: "getAuthorizer";
|
|
433
|
+
readonly outputs: readonly [{
|
|
434
|
+
readonly internalType: "contract IAuthorizer";
|
|
435
|
+
readonly name: "";
|
|
436
|
+
readonly type: "address";
|
|
437
|
+
}];
|
|
438
|
+
readonly stateMutability: "view";
|
|
439
|
+
readonly type: "function";
|
|
440
|
+
}, {
|
|
441
|
+
readonly inputs: readonly [];
|
|
442
|
+
readonly name: "getDomainSeparator";
|
|
443
|
+
readonly outputs: readonly [{
|
|
444
|
+
readonly internalType: "bytes32";
|
|
445
|
+
readonly name: "";
|
|
446
|
+
readonly type: "bytes32";
|
|
447
|
+
}];
|
|
448
|
+
readonly stateMutability: "view";
|
|
449
|
+
readonly type: "function";
|
|
450
|
+
}, {
|
|
451
|
+
readonly inputs: readonly [{
|
|
452
|
+
readonly internalType: "address";
|
|
453
|
+
readonly name: "user";
|
|
454
|
+
readonly type: "address";
|
|
455
|
+
}, {
|
|
456
|
+
readonly internalType: "contract IERC20[]";
|
|
457
|
+
readonly name: "tokens";
|
|
458
|
+
readonly type: "address[]";
|
|
459
|
+
}];
|
|
460
|
+
readonly name: "getInternalBalance";
|
|
461
|
+
readonly outputs: readonly [{
|
|
462
|
+
readonly internalType: "uint256[]";
|
|
463
|
+
readonly name: "";
|
|
464
|
+
readonly type: "uint256[]";
|
|
465
|
+
}];
|
|
466
|
+
readonly stateMutability: "view";
|
|
467
|
+
readonly type: "function";
|
|
468
|
+
}, {
|
|
469
|
+
readonly inputs: readonly [{
|
|
470
|
+
readonly internalType: "address";
|
|
471
|
+
readonly name: "user";
|
|
472
|
+
readonly type: "address";
|
|
473
|
+
}];
|
|
474
|
+
readonly name: "getNextNonce";
|
|
475
|
+
readonly outputs: readonly [{
|
|
476
|
+
readonly internalType: "uint256";
|
|
477
|
+
readonly name: "";
|
|
478
|
+
readonly type: "uint256";
|
|
479
|
+
}];
|
|
480
|
+
readonly stateMutability: "view";
|
|
481
|
+
readonly type: "function";
|
|
482
|
+
}, {
|
|
483
|
+
readonly inputs: readonly [];
|
|
484
|
+
readonly name: "getPausedState";
|
|
485
|
+
readonly outputs: readonly [{
|
|
486
|
+
readonly internalType: "bool";
|
|
487
|
+
readonly name: "paused";
|
|
488
|
+
readonly type: "bool";
|
|
489
|
+
}, {
|
|
490
|
+
readonly internalType: "uint256";
|
|
491
|
+
readonly name: "pauseWindowEndTime";
|
|
492
|
+
readonly type: "uint256";
|
|
493
|
+
}, {
|
|
494
|
+
readonly internalType: "uint256";
|
|
495
|
+
readonly name: "bufferPeriodEndTime";
|
|
496
|
+
readonly type: "uint256";
|
|
497
|
+
}];
|
|
498
|
+
readonly stateMutability: "view";
|
|
499
|
+
readonly type: "function";
|
|
500
|
+
}, {
|
|
501
|
+
readonly inputs: readonly [{
|
|
502
|
+
readonly internalType: "bytes32";
|
|
503
|
+
readonly name: "poolId";
|
|
504
|
+
readonly type: "bytes32";
|
|
505
|
+
}];
|
|
506
|
+
readonly name: "getPool";
|
|
507
|
+
readonly outputs: readonly [{
|
|
508
|
+
readonly internalType: "address";
|
|
509
|
+
readonly name: "";
|
|
510
|
+
readonly type: "address";
|
|
511
|
+
}, {
|
|
512
|
+
readonly internalType: "enum IVault.PoolSpecialization";
|
|
513
|
+
readonly name: "";
|
|
514
|
+
readonly type: "uint8";
|
|
515
|
+
}];
|
|
516
|
+
readonly stateMutability: "view";
|
|
517
|
+
readonly type: "function";
|
|
518
|
+
}, {
|
|
519
|
+
readonly inputs: readonly [{
|
|
520
|
+
readonly internalType: "bytes32";
|
|
521
|
+
readonly name: "poolId";
|
|
522
|
+
readonly type: "bytes32";
|
|
523
|
+
}, {
|
|
524
|
+
readonly internalType: "contract IERC20";
|
|
525
|
+
readonly name: "token";
|
|
526
|
+
readonly type: "address";
|
|
527
|
+
}];
|
|
528
|
+
readonly name: "getPoolTokenInfo";
|
|
529
|
+
readonly outputs: readonly [{
|
|
530
|
+
readonly internalType: "uint256";
|
|
531
|
+
readonly name: "cash";
|
|
532
|
+
readonly type: "uint256";
|
|
533
|
+
}, {
|
|
534
|
+
readonly internalType: "uint256";
|
|
535
|
+
readonly name: "managed";
|
|
536
|
+
readonly type: "uint256";
|
|
537
|
+
}, {
|
|
538
|
+
readonly internalType: "uint256";
|
|
539
|
+
readonly name: "lastChangeBlock";
|
|
540
|
+
readonly type: "uint256";
|
|
541
|
+
}, {
|
|
542
|
+
readonly internalType: "address";
|
|
543
|
+
readonly name: "assetManager";
|
|
544
|
+
readonly type: "address";
|
|
545
|
+
}];
|
|
546
|
+
readonly stateMutability: "view";
|
|
547
|
+
readonly type: "function";
|
|
548
|
+
}, {
|
|
549
|
+
readonly inputs: readonly [{
|
|
550
|
+
readonly internalType: "bytes32";
|
|
551
|
+
readonly name: "poolId";
|
|
552
|
+
readonly type: "bytes32";
|
|
553
|
+
}];
|
|
554
|
+
readonly name: "getPoolTokens";
|
|
555
|
+
readonly outputs: readonly [{
|
|
556
|
+
readonly internalType: "contract IERC20[]";
|
|
557
|
+
readonly name: "tokens";
|
|
558
|
+
readonly type: "address[]";
|
|
559
|
+
}, {
|
|
560
|
+
readonly internalType: "uint256[]";
|
|
561
|
+
readonly name: "balances";
|
|
562
|
+
readonly type: "uint256[]";
|
|
563
|
+
}, {
|
|
564
|
+
readonly internalType: "uint256";
|
|
565
|
+
readonly name: "lastChangeBlock";
|
|
566
|
+
readonly type: "uint256";
|
|
567
|
+
}];
|
|
568
|
+
readonly stateMutability: "view";
|
|
569
|
+
readonly type: "function";
|
|
570
|
+
}, {
|
|
571
|
+
readonly inputs: readonly [];
|
|
572
|
+
readonly name: "getProtocolFeesCollector";
|
|
573
|
+
readonly outputs: readonly [{
|
|
574
|
+
readonly internalType: "contract IProtocolFeesCollector";
|
|
575
|
+
readonly name: "";
|
|
576
|
+
readonly type: "address";
|
|
577
|
+
}];
|
|
578
|
+
readonly stateMutability: "view";
|
|
579
|
+
readonly type: "function";
|
|
580
|
+
}, {
|
|
581
|
+
readonly inputs: readonly [{
|
|
582
|
+
readonly internalType: "address";
|
|
583
|
+
readonly name: "user";
|
|
584
|
+
readonly type: "address";
|
|
585
|
+
}, {
|
|
586
|
+
readonly internalType: "address";
|
|
587
|
+
readonly name: "relayer";
|
|
588
|
+
readonly type: "address";
|
|
589
|
+
}];
|
|
590
|
+
readonly name: "hasApprovedRelayer";
|
|
591
|
+
readonly outputs: readonly [{
|
|
592
|
+
readonly internalType: "bool";
|
|
593
|
+
readonly name: "";
|
|
594
|
+
readonly type: "bool";
|
|
595
|
+
}];
|
|
596
|
+
readonly stateMutability: "view";
|
|
597
|
+
readonly type: "function";
|
|
598
|
+
}, {
|
|
599
|
+
readonly inputs: readonly [{
|
|
600
|
+
readonly internalType: "bytes32";
|
|
601
|
+
readonly name: "poolId";
|
|
602
|
+
readonly type: "bytes32";
|
|
603
|
+
}, {
|
|
604
|
+
readonly internalType: "address";
|
|
605
|
+
readonly name: "sender";
|
|
606
|
+
readonly type: "address";
|
|
607
|
+
}, {
|
|
608
|
+
readonly internalType: "address";
|
|
609
|
+
readonly name: "recipient";
|
|
610
|
+
readonly type: "address";
|
|
611
|
+
}, {
|
|
612
|
+
readonly components: readonly [{
|
|
613
|
+
readonly internalType: "contract IAsset[]";
|
|
614
|
+
readonly name: "assets";
|
|
615
|
+
readonly type: "address[]";
|
|
616
|
+
}, {
|
|
617
|
+
readonly internalType: "uint256[]";
|
|
618
|
+
readonly name: "maxAmountsIn";
|
|
619
|
+
readonly type: "uint256[]";
|
|
620
|
+
}, {
|
|
621
|
+
readonly internalType: "bytes";
|
|
622
|
+
readonly name: "userData";
|
|
623
|
+
readonly type: "bytes";
|
|
624
|
+
}, {
|
|
625
|
+
readonly internalType: "bool";
|
|
626
|
+
readonly name: "fromInternalBalance";
|
|
627
|
+
readonly type: "bool";
|
|
628
|
+
}];
|
|
629
|
+
readonly internalType: "struct IVault.JoinPoolRequest";
|
|
630
|
+
readonly name: "request";
|
|
631
|
+
readonly type: "tuple";
|
|
632
|
+
}];
|
|
633
|
+
readonly name: "joinPool";
|
|
634
|
+
readonly outputs: readonly [];
|
|
635
|
+
readonly stateMutability: "payable";
|
|
636
|
+
readonly type: "function";
|
|
637
|
+
}, {
|
|
638
|
+
readonly inputs: readonly [{
|
|
639
|
+
readonly components: readonly [{
|
|
640
|
+
readonly internalType: "enum IVault.PoolBalanceOpKind";
|
|
641
|
+
readonly name: "kind";
|
|
642
|
+
readonly type: "uint8";
|
|
643
|
+
}, {
|
|
644
|
+
readonly internalType: "bytes32";
|
|
645
|
+
readonly name: "poolId";
|
|
646
|
+
readonly type: "bytes32";
|
|
647
|
+
}, {
|
|
648
|
+
readonly internalType: "contract IERC20";
|
|
649
|
+
readonly name: "token";
|
|
650
|
+
readonly type: "address";
|
|
651
|
+
}, {
|
|
652
|
+
readonly internalType: "uint256";
|
|
653
|
+
readonly name: "amount";
|
|
654
|
+
readonly type: "uint256";
|
|
655
|
+
}];
|
|
656
|
+
readonly internalType: "struct IVault.PoolBalanceOp[]";
|
|
657
|
+
readonly name: "ops";
|
|
658
|
+
readonly type: "tuple[]";
|
|
659
|
+
}];
|
|
660
|
+
readonly name: "managePoolBalance";
|
|
661
|
+
readonly outputs: readonly [];
|
|
662
|
+
readonly stateMutability: "nonpayable";
|
|
663
|
+
readonly type: "function";
|
|
664
|
+
}, {
|
|
665
|
+
readonly inputs: readonly [{
|
|
666
|
+
readonly components: readonly [{
|
|
667
|
+
readonly internalType: "enum IVault.UserBalanceOpKind";
|
|
668
|
+
readonly name: "kind";
|
|
669
|
+
readonly type: "uint8";
|
|
670
|
+
}, {
|
|
671
|
+
readonly internalType: "contract IAsset";
|
|
672
|
+
readonly name: "asset";
|
|
673
|
+
readonly type: "address";
|
|
674
|
+
}, {
|
|
675
|
+
readonly internalType: "uint256";
|
|
676
|
+
readonly name: "amount";
|
|
677
|
+
readonly type: "uint256";
|
|
678
|
+
}, {
|
|
679
|
+
readonly internalType: "address";
|
|
680
|
+
readonly name: "sender";
|
|
681
|
+
readonly type: "address";
|
|
682
|
+
}, {
|
|
683
|
+
readonly internalType: "address payable";
|
|
684
|
+
readonly name: "recipient";
|
|
685
|
+
readonly type: "address";
|
|
686
|
+
}];
|
|
687
|
+
readonly internalType: "struct IVault.UserBalanceOp[]";
|
|
688
|
+
readonly name: "ops";
|
|
689
|
+
readonly type: "tuple[]";
|
|
690
|
+
}];
|
|
691
|
+
readonly name: "manageUserBalance";
|
|
692
|
+
readonly outputs: readonly [];
|
|
693
|
+
readonly stateMutability: "payable";
|
|
694
|
+
readonly type: "function";
|
|
695
|
+
}, {
|
|
696
|
+
readonly inputs: readonly [{
|
|
697
|
+
readonly internalType: "enum IVault.SwapKind";
|
|
698
|
+
readonly name: "kind";
|
|
699
|
+
readonly type: "uint8";
|
|
700
|
+
}, {
|
|
701
|
+
readonly components: readonly [{
|
|
702
|
+
readonly internalType: "bytes32";
|
|
703
|
+
readonly name: "poolId";
|
|
704
|
+
readonly type: "bytes32";
|
|
705
|
+
}, {
|
|
706
|
+
readonly internalType: "uint256";
|
|
707
|
+
readonly name: "assetInIndex";
|
|
708
|
+
readonly type: "uint256";
|
|
709
|
+
}, {
|
|
710
|
+
readonly internalType: "uint256";
|
|
711
|
+
readonly name: "assetOutIndex";
|
|
712
|
+
readonly type: "uint256";
|
|
713
|
+
}, {
|
|
714
|
+
readonly internalType: "uint256";
|
|
715
|
+
readonly name: "amount";
|
|
716
|
+
readonly type: "uint256";
|
|
717
|
+
}, {
|
|
718
|
+
readonly internalType: "bytes";
|
|
719
|
+
readonly name: "userData";
|
|
720
|
+
readonly type: "bytes";
|
|
721
|
+
}];
|
|
722
|
+
readonly internalType: "struct IVault.BatchSwapStep[]";
|
|
723
|
+
readonly name: "swaps";
|
|
724
|
+
readonly type: "tuple[]";
|
|
725
|
+
}, {
|
|
726
|
+
readonly internalType: "contract IAsset[]";
|
|
727
|
+
readonly name: "assets";
|
|
728
|
+
readonly type: "address[]";
|
|
729
|
+
}, {
|
|
730
|
+
readonly components: readonly [{
|
|
731
|
+
readonly internalType: "address";
|
|
732
|
+
readonly name: "sender";
|
|
733
|
+
readonly type: "address";
|
|
734
|
+
}, {
|
|
735
|
+
readonly internalType: "bool";
|
|
736
|
+
readonly name: "fromInternalBalance";
|
|
737
|
+
readonly type: "bool";
|
|
738
|
+
}, {
|
|
739
|
+
readonly internalType: "address payable";
|
|
740
|
+
readonly name: "recipient";
|
|
741
|
+
readonly type: "address";
|
|
742
|
+
}, {
|
|
743
|
+
readonly internalType: "bool";
|
|
744
|
+
readonly name: "toInternalBalance";
|
|
745
|
+
readonly type: "bool";
|
|
746
|
+
}];
|
|
747
|
+
readonly internalType: "struct IVault.FundManagement";
|
|
748
|
+
readonly name: "funds";
|
|
749
|
+
readonly type: "tuple";
|
|
750
|
+
}];
|
|
751
|
+
readonly name: "queryBatchSwap";
|
|
752
|
+
readonly outputs: readonly [{
|
|
753
|
+
readonly internalType: "int256[]";
|
|
754
|
+
readonly name: "assetDeltas";
|
|
755
|
+
readonly type: "int256[]";
|
|
756
|
+
}];
|
|
757
|
+
readonly stateMutability: "nonpayable";
|
|
758
|
+
readonly type: "function";
|
|
759
|
+
}, {
|
|
760
|
+
readonly inputs: readonly [{
|
|
761
|
+
readonly internalType: "enum IVault.PoolSpecialization";
|
|
762
|
+
readonly name: "specialization";
|
|
763
|
+
readonly type: "uint8";
|
|
764
|
+
}];
|
|
765
|
+
readonly name: "registerPool";
|
|
766
|
+
readonly outputs: readonly [{
|
|
767
|
+
readonly internalType: "bytes32";
|
|
768
|
+
readonly name: "";
|
|
769
|
+
readonly type: "bytes32";
|
|
770
|
+
}];
|
|
771
|
+
readonly stateMutability: "nonpayable";
|
|
772
|
+
readonly type: "function";
|
|
773
|
+
}, {
|
|
774
|
+
readonly inputs: readonly [{
|
|
775
|
+
readonly internalType: "bytes32";
|
|
776
|
+
readonly name: "poolId";
|
|
777
|
+
readonly type: "bytes32";
|
|
778
|
+
}, {
|
|
779
|
+
readonly internalType: "contract IERC20[]";
|
|
780
|
+
readonly name: "tokens";
|
|
781
|
+
readonly type: "address[]";
|
|
782
|
+
}, {
|
|
783
|
+
readonly internalType: "address[]";
|
|
784
|
+
readonly name: "assetManagers";
|
|
785
|
+
readonly type: "address[]";
|
|
786
|
+
}];
|
|
787
|
+
readonly name: "registerTokens";
|
|
788
|
+
readonly outputs: readonly [];
|
|
789
|
+
readonly stateMutability: "nonpayable";
|
|
790
|
+
readonly type: "function";
|
|
791
|
+
}, {
|
|
792
|
+
readonly inputs: readonly [{
|
|
793
|
+
readonly internalType: "contract IAuthorizer";
|
|
794
|
+
readonly name: "newAuthorizer";
|
|
795
|
+
readonly type: "address";
|
|
796
|
+
}];
|
|
797
|
+
readonly name: "setAuthorizer";
|
|
798
|
+
readonly outputs: readonly [];
|
|
799
|
+
readonly stateMutability: "nonpayable";
|
|
800
|
+
readonly type: "function";
|
|
801
|
+
}, {
|
|
802
|
+
readonly inputs: readonly [{
|
|
803
|
+
readonly internalType: "bool";
|
|
804
|
+
readonly name: "paused";
|
|
805
|
+
readonly type: "bool";
|
|
806
|
+
}];
|
|
807
|
+
readonly name: "setPaused";
|
|
808
|
+
readonly outputs: readonly [];
|
|
809
|
+
readonly stateMutability: "nonpayable";
|
|
810
|
+
readonly type: "function";
|
|
811
|
+
}, {
|
|
812
|
+
readonly inputs: readonly [{
|
|
813
|
+
readonly internalType: "address";
|
|
814
|
+
readonly name: "sender";
|
|
815
|
+
readonly type: "address";
|
|
816
|
+
}, {
|
|
817
|
+
readonly internalType: "address";
|
|
818
|
+
readonly name: "relayer";
|
|
819
|
+
readonly type: "address";
|
|
820
|
+
}, {
|
|
821
|
+
readonly internalType: "bool";
|
|
822
|
+
readonly name: "approved";
|
|
823
|
+
readonly type: "bool";
|
|
824
|
+
}];
|
|
825
|
+
readonly name: "setRelayerApproval";
|
|
826
|
+
readonly outputs: readonly [];
|
|
827
|
+
readonly stateMutability: "nonpayable";
|
|
828
|
+
readonly type: "function";
|
|
829
|
+
}, {
|
|
830
|
+
readonly inputs: readonly [{
|
|
831
|
+
readonly components: readonly [{
|
|
832
|
+
readonly internalType: "bytes32";
|
|
833
|
+
readonly name: "poolId";
|
|
834
|
+
readonly type: "bytes32";
|
|
835
|
+
}, {
|
|
836
|
+
readonly internalType: "enum IVault.SwapKind";
|
|
837
|
+
readonly name: "kind";
|
|
838
|
+
readonly type: "uint8";
|
|
839
|
+
}, {
|
|
840
|
+
readonly internalType: "contract IAsset";
|
|
841
|
+
readonly name: "assetIn";
|
|
842
|
+
readonly type: "address";
|
|
843
|
+
}, {
|
|
844
|
+
readonly internalType: "contract IAsset";
|
|
845
|
+
readonly name: "assetOut";
|
|
846
|
+
readonly type: "address";
|
|
847
|
+
}, {
|
|
848
|
+
readonly internalType: "uint256";
|
|
849
|
+
readonly name: "amount";
|
|
850
|
+
readonly type: "uint256";
|
|
851
|
+
}, {
|
|
852
|
+
readonly internalType: "bytes";
|
|
853
|
+
readonly name: "userData";
|
|
854
|
+
readonly type: "bytes";
|
|
855
|
+
}];
|
|
856
|
+
readonly internalType: "struct IVault.SingleSwap";
|
|
857
|
+
readonly name: "singleSwap";
|
|
858
|
+
readonly type: "tuple";
|
|
859
|
+
}, {
|
|
860
|
+
readonly components: readonly [{
|
|
861
|
+
readonly internalType: "address";
|
|
862
|
+
readonly name: "sender";
|
|
863
|
+
readonly type: "address";
|
|
864
|
+
}, {
|
|
865
|
+
readonly internalType: "bool";
|
|
866
|
+
readonly name: "fromInternalBalance";
|
|
867
|
+
readonly type: "bool";
|
|
868
|
+
}, {
|
|
869
|
+
readonly internalType: "address payable";
|
|
870
|
+
readonly name: "recipient";
|
|
871
|
+
readonly type: "address";
|
|
872
|
+
}, {
|
|
873
|
+
readonly internalType: "bool";
|
|
874
|
+
readonly name: "toInternalBalance";
|
|
875
|
+
readonly type: "bool";
|
|
876
|
+
}];
|
|
877
|
+
readonly internalType: "struct IVault.FundManagement";
|
|
878
|
+
readonly name: "funds";
|
|
879
|
+
readonly type: "tuple";
|
|
880
|
+
}, {
|
|
881
|
+
readonly internalType: "uint256";
|
|
882
|
+
readonly name: "limit";
|
|
883
|
+
readonly type: "uint256";
|
|
884
|
+
}, {
|
|
885
|
+
readonly internalType: "uint256";
|
|
886
|
+
readonly name: "deadline";
|
|
887
|
+
readonly type: "uint256";
|
|
888
|
+
}];
|
|
889
|
+
readonly name: "swap";
|
|
890
|
+
readonly outputs: readonly [{
|
|
891
|
+
readonly internalType: "uint256";
|
|
892
|
+
readonly name: "";
|
|
893
|
+
readonly type: "uint256";
|
|
894
|
+
}];
|
|
895
|
+
readonly stateMutability: "payable";
|
|
896
|
+
readonly type: "function";
|
|
897
|
+
}];
|
|
898
|
+
static createInterface(): IVaultInterface;
|
|
899
|
+
static connect(address: string, runner?: ContractRunner | null): IVault;
|
|
900
|
+
}
|