Module brontes_classifier::BalancerV2Vault
source · Expand description
Generated by the following Solidity interface…
interface BalancerV2Vault {
type PoolBalanceOpKind is uint8;
type PoolSpecialization is uint8;
type SwapKind is uint8;
type UserBalanceOpKind is uint8;
struct BatchSwapStep {
bytes32 poolId;
uint256 assetInIndex;
uint256 assetOutIndex;
uint256 amount;
bytes userData;
}
struct ExitPoolRequest {
address[] assets;
uint256[] minAmountsOut;
bytes userData;
bool toInternalBalance;
}
struct FundManagement {
address sender;
bool fromInternalBalance;
address payable recipient;
bool toInternalBalance;
}
struct JoinPoolRequest {
address[] assets;
uint256[] maxAmountsIn;
bytes userData;
bool fromInternalBalance;
}
struct PoolBalanceOp {
PoolBalanceOpKind kind;
bytes32 poolId;
address token;
uint256 amount;
}
struct SingleSwap {
bytes32 poolId;
SwapKind kind;
address assetIn;
address assetOut;
uint256 amount;
bytes userData;
}
struct UserBalanceOp {
UserBalanceOpKind kind;
address asset;
uint256 amount;
address sender;
address payable recipient;
}
event AuthorizerChanged(address indexed newAuthorizer);
event ExternalBalanceTransfer(address indexed token, address indexed sender, address recipient, uint256 amount);
event FlashLoan(address indexed recipient, address indexed token, uint256 amount, uint256 feeAmount);
event InternalBalanceChanged(address indexed user, address indexed token, int256 delta);
event PausedStateChanged(bool paused);
event PoolBalanceChanged(bytes32 indexed poolId, address indexed liquidityProvider, address[] tokens, int256[] deltas, uint256[] protocolFeeAmounts);
event PoolBalanceManaged(bytes32 indexed poolId, address indexed assetManager, address indexed token, int256 cashDelta, int256 managedDelta);
event PoolRegistered(bytes32 indexed poolId, address indexed poolAddress, PoolSpecialization specialization);
event RelayerApprovalChanged(address indexed relayer, address indexed sender, bool approved);
event Swap(bytes32 indexed poolId, address indexed tokenIn, address indexed tokenOut, uint256 amountIn, uint256 amountOut);
event TokensDeregistered(bytes32 indexed poolId, address[] tokens);
event TokensRegistered(bytes32 indexed poolId, address[] tokens, address[] assetManagers);
constructor(address authorizer, address weth, uint256 pauseWindowDuration, uint256 bufferPeriodDuration);
receive() external payable;
function WETH() external view returns (address);
function batchSwap(SwapKind kind, BatchSwapStep[] memory swaps, address[] memory assets, FundManagement memory funds, int256[] memory limits, uint256 deadline) external payable returns (int256[] memory assetDeltas);
function deregisterTokens(bytes32 poolId, address[] memory tokens) external;
function exitPool(bytes32 poolId, address sender, address payable recipient, ExitPoolRequest memory request) external;
function flashLoan(address recipient, address[] memory tokens, uint256[] memory amounts, bytes memory userData) external;
function getActionId(bytes4 selector) external view returns (bytes32);
function getAuthorizer() external view returns (address);
function getDomainSeparator() external view returns (bytes32);
function getInternalBalance(address user, address[] memory tokens) external view returns (uint256[] memory balances);
function getNextNonce(address user) external view returns (uint256);
function getPausedState() external view returns (bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime);
function getPool(bytes32 poolId) external view returns (address, PoolSpecialization);
function getPoolTokenInfo(bytes32 poolId, address token) external view returns (uint256 cash, uint256 managed, uint256 lastChangeBlock, address assetManager);
function getPoolTokens(bytes32 poolId) external view returns (address[] memory tokens, uint256[] memory balances, uint256 lastChangeBlock);
function getProtocolFeesCollector() external view returns (address);
function hasApprovedRelayer(address user, address relayer) external view returns (bool);
function joinPool(bytes32 poolId, address sender, address recipient, JoinPoolRequest memory request) external payable;
function managePoolBalance(PoolBalanceOp[] memory ops) external;
function manageUserBalance(UserBalanceOp[] memory ops) external payable;
function queryBatchSwap(SwapKind kind, BatchSwapStep[] memory swaps, address[] memory assets, FundManagement memory funds) external returns (int256[] memory);
function registerPool(PoolSpecialization specialization) external returns (bytes32);
function registerTokens(bytes32 poolId, address[] memory tokens, address[] memory assetManagers) external;
function setAuthorizer(address newAuthorizer) external;
function setPaused(bool paused) external;
function setRelayerApproval(address sender, address relayer, bool approved) external;
function swap(SingleSwap memory singleSwap, FundManagement memory funds, uint256 limit, uint256 deadline) external payable returns (uint256 amountCalculated);
}
…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [
{
"name": "authorizer",
"type": "address",
"internalType": "contract IAuthorizer"
},
{
"name": "weth",
"type": "address",
"internalType": "contract IWETH"
},
{
"name": "pauseWindowDuration",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "bufferPeriodDuration",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "receive",
"stateMutability": "payable"
},
{
"type": "function",
"name": "WETH",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IWETH"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "batchSwap",
"inputs": [
{
"name": "kind",
"type": "uint8",
"internalType": "enum IVault.SwapKind"
},
{
"name": "swaps",
"type": "tuple[]",
"internalType": "struct IVault.BatchSwapStep[]",
"components": [
{
"name": "poolId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "assetInIndex",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "assetOutIndex",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "userData",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"name": "assets",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "funds",
"type": "tuple",
"internalType": "struct IVault.FundManagement",
"components": [
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "fromInternalBalance",
"type": "bool",
"internalType": "bool"
},
{
"name": "recipient",
"type": "address",
"internalType": "address payable"
},
{
"name": "toInternalBalance",
"type": "bool",
"internalType": "bool"
}
]
},
{
"name": "limits",
"type": "int256[]",
"internalType": "int256[]"
},
{
"name": "deadline",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "assetDeltas",
"type": "int256[]",
"internalType": "int256[]"
}
],
"stateMutability": "payable"
},
{
"type": "function",
"name": "deregisterTokens",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "tokens",
"type": "address[]",
"internalType": "contract IERC20[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "exitPool",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "recipient",
"type": "address",
"internalType": "address payable"
},
{
"name": "request",
"type": "tuple",
"internalType": "struct IVault.ExitPoolRequest",
"components": [
{
"name": "assets",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "minAmountsOut",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "userData",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "toInternalBalance",
"type": "bool",
"internalType": "bool"
}
]
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "flashLoan",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "contract IFlashLoanRecipient"
},
{
"name": "tokens",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "amounts",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "userData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "getActionId",
"inputs": [
{
"name": "selector",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getAuthorizer",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IAuthorizer"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getDomainSeparator",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getInternalBalance",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
},
{
"name": "tokens",
"type": "address[]",
"internalType": "contract IERC20[]"
}
],
"outputs": [
{
"name": "balances",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getNextNonce",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPausedState",
"inputs": [],
"outputs": [
{
"name": "paused",
"type": "bool",
"internalType": "bool"
},
{
"name": "pauseWindowEndTime",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "bufferPeriodEndTime",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPool",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint8",
"internalType": "enum IVault.PoolSpecialization"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPoolTokenInfo",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "token",
"type": "address",
"internalType": "contract IERC20"
}
],
"outputs": [
{
"name": "cash",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "managed",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "lastChangeBlock",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "assetManager",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPoolTokens",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "tokens",
"type": "address[]",
"internalType": "contract IERC20[]"
},
{
"name": "balances",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "lastChangeBlock",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getProtocolFeesCollector",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract ProtocolFeesCollector"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "hasApprovedRelayer",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
},
{
"name": "relayer",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "joinPool",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "request",
"type": "tuple",
"internalType": "struct IVault.JoinPoolRequest",
"components": [
{
"name": "assets",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "maxAmountsIn",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "userData",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "fromInternalBalance",
"type": "bool",
"internalType": "bool"
}
]
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "managePoolBalance",
"inputs": [
{
"name": "ops",
"type": "tuple[]",
"internalType": "struct IVault.PoolBalanceOp[]",
"components": [
{
"name": "kind",
"type": "uint8",
"internalType": "enum IVault.PoolBalanceOpKind"
},
{
"name": "poolId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "token",
"type": "address",
"internalType": "contract IERC20"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
]
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "manageUserBalance",
"inputs": [
{
"name": "ops",
"type": "tuple[]",
"internalType": "struct IVault.UserBalanceOp[]",
"components": [
{
"name": "kind",
"type": "uint8",
"internalType": "enum IVault.UserBalanceOpKind"
},
{
"name": "asset",
"type": "address",
"internalType": "contract IAsset"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "recipient",
"type": "address",
"internalType": "address payable"
}
]
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "queryBatchSwap",
"inputs": [
{
"name": "kind",
"type": "uint8",
"internalType": "enum IVault.SwapKind"
},
{
"name": "swaps",
"type": "tuple[]",
"internalType": "struct IVault.BatchSwapStep[]",
"components": [
{
"name": "poolId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "assetInIndex",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "assetOutIndex",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "userData",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"name": "assets",
"type": "address[]",
"internalType": "contract IAsset[]"
},
{
"name": "funds",
"type": "tuple",
"internalType": "struct IVault.FundManagement",
"components": [
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "fromInternalBalance",
"type": "bool",
"internalType": "bool"
},
{
"name": "recipient",
"type": "address",
"internalType": "address payable"
},
{
"name": "toInternalBalance",
"type": "bool",
"internalType": "bool"
}
]
}
],
"outputs": [
{
"name": "",
"type": "int256[]",
"internalType": "int256[]"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "registerPool",
"inputs": [
{
"name": "specialization",
"type": "uint8",
"internalType": "enum IVault.PoolSpecialization"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "registerTokens",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "tokens",
"type": "address[]",
"internalType": "contract IERC20[]"
},
{
"name": "assetManagers",
"type": "address[]",
"internalType": "address[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setAuthorizer",
"inputs": [
{
"name": "newAuthorizer",
"type": "address",
"internalType": "contract IAuthorizer"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setPaused",
"inputs": [
{
"name": "paused",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setRelayerApproval",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "relayer",
"type": "address",
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "swap",
"inputs": [
{
"name": "singleSwap",
"type": "tuple",
"internalType": "struct IVault.SingleSwap",
"components": [
{
"name": "poolId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "kind",
"type": "uint8",
"internalType": "enum IVault.SwapKind"
},
{
"name": "assetIn",
"type": "address",
"internalType": "contract IAsset"
},
{
"name": "assetOut",
"type": "address",
"internalType": "contract IAsset"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "userData",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"name": "funds",
"type": "tuple",
"internalType": "struct IVault.FundManagement",
"components": [
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "fromInternalBalance",
"type": "bool",
"internalType": "bool"
},
{
"name": "recipient",
"type": "address",
"internalType": "address payable"
},
{
"name": "toInternalBalance",
"type": "bool",
"internalType": "bool"
}
]
},
{
"name": "limit",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "deadline",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "amountCalculated",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "payable"
},
{
"type": "event",
"name": "AuthorizerChanged",
"inputs": [
{
"name": "newAuthorizer",
"type": "address",
"indexed": true,
"internalType": "contract IAuthorizer"
}
],
"anonymous": false
},
{
"type": "event",
"name": "ExternalBalanceTransfer",
"inputs": [
{
"name": "token",
"type": "address",
"indexed": true,
"internalType": "contract IERC20"
},
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "recipient",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "FlashLoan",
"inputs": [
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "contract IFlashLoanRecipient"
},
{
"name": "token",
"type": "address",
"indexed": true,
"internalType": "contract IERC20"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "feeAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "InternalBalanceChanged",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "token",
"type": "address",
"indexed": true,
"internalType": "contract IERC20"
},
{
"name": "delta",
"type": "int256",
"indexed": false,
"internalType": "int256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PausedStateChanged",
"inputs": [
{
"name": "paused",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PoolBalanceChanged",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "liquidityProvider",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokens",
"type": "address[]",
"indexed": false,
"internalType": "address[]"
},
{
"name": "deltas",
"type": "int256[]",
"indexed": false,
"internalType": "int256[]"
},
{
"name": "protocolFeeAmounts",
"type": "uint256[]",
"indexed": false,
"internalType": "uint256[]"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PoolBalanceManaged",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "assetManager",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "token",
"type": "address",
"indexed": true,
"internalType": "contract IERC20"
},
{
"name": "cashDelta",
"type": "int256",
"indexed": false,
"internalType": "int256"
},
{
"name": "managedDelta",
"type": "int256",
"indexed": false,
"internalType": "int256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PoolRegistered",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "poolAddress",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "specialization",
"type": "uint8",
"indexed": false,
"internalType": "enum IVault.PoolSpecialization"
}
],
"anonymous": false
},
{
"type": "event",
"name": "RelayerApprovalChanged",
"inputs": [
{
"name": "relayer",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Swap",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "tokenIn",
"type": "address",
"indexed": true,
"internalType": "contract IERC20"
},
{
"name": "tokenOut",
"type": "address",
"indexed": true,
"internalType": "contract IERC20"
},
{
"name": "amountIn",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "amountOut",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "TokensDeregistered",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "tokens",
"type": "address[]",
"indexed": false,
"internalType": "contract IERC20[]"
}
],
"anonymous": false
},
{
"type": "event",
"name": "TokensRegistered",
"inputs": [
{
"name": "poolId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "tokens",
"type": "address[]",
"indexed": false,
"internalType": "address[]"
},
{
"name": "assetManagers",
"type": "address[]",
"indexed": false,
"internalType": "address[]"
}
],
"anonymous": false
}
]
Structs§
- Event with signature
AuthorizerChanged(address)
and selector0x94b979b6831a51293e2641426f97747feed46f17779fed9cd18d1ecefcfe92ef
. - Event with signature
ExternalBalanceTransfer(address,address,address,uint256)
and selector0x540a1a3f28340caec336c81d8d7b3df139ee5cdc1839a4f283d7ebb7eaae2d5c
. - Event with signature
FlashLoan(address,address,uint256,uint256)
and selector0x0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f0
. - Event with signature
InternalBalanceChanged(address,address,int256)
and selector0x18e1ea4139e68413d7d08aa752e71568e36b2c5bf940893314c2c5b01eaa0c42
. - Event with signature
PausedStateChanged(bool)
and selector0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64
. - Event with signature
PoolBalanceChanged(bytes32,address,address[],int256[],uint256[])
and selector0xe5ce249087ce04f05a957192435400fd97868dba0e6a4b4c049abf8af80dae78
. - Event with signature
PoolBalanceManaged(bytes32,address,address,int256,int256)
and selector0x6edcaf6241105b4c94c2efdbf3a6b12458eb3d07be3a0e81d24b13c44045fe7a
. - Event with signature
PoolRegistered(bytes32,address,uint8)
and selector0x3c13bc30b8e878c53fd2a36b679409c073afd75950be43d8858768e956fbc20e
. - Event with signature
RelayerApprovalChanged(address,address,bool)
and selector0x46961fdb4502b646d5095fba7600486a8ac05041d55cdf0f16ed677180b5cad8
. - Event with signature
Swap(bytes32,address,address,uint256,uint256)
and selector0x2170c741c41531aec20e7c107c24eecfdd15e69c9bb0a8dd37b1840b9e0b207b
. - Event with signature
TokensDeregistered(bytes32,address[])
and selector0x7dcdc6d02ef40c7c1a7046a011b058bd7f988fa14e20a66344f9d4e60657d610
. - Event with signature
TokensRegistered(bytes32,address[],address[])
and selector0xf5847d3f2197b16cdcd2098ec95d0905cd1abdaf415f07bb7cef2bba8ac5dec4
. - Function with signature
WETH()
and selector0xad5c4648
. - Container type for the return parameters of the
WETH()
function. - Function with signature
batchSwap(uint8,(bytes32,uint256,uint256,uint256,bytes)[],address[],(address,bool,address,bool),int256[],uint256)
and selector0x945bcec9
. - Container type for the return parameters of the
batchSwap(uint8,(bytes32,uint256,uint256,uint256,bytes)[],address[],(address,bool,address,bool),int256[],uint256)
function. - Constructor`.
- Function with signature
deregisterTokens(bytes32,address[])
and selector0x7d3aeb96
. - Container type for the return parameters of the
deregisterTokens(bytes32,address[])
function. - Function with signature
exitPool(bytes32,address,address,(address[],uint256[],bytes,bool))
and selector0x8bdb3913
. - Container type for the return parameters of the
exitPool(bytes32,address,address,(address[],uint256[],bytes,bool))
function. - Function with signature
flashLoan(address,address[],uint256[],bytes)
and selector0x5c38449e
. - Container type for the return parameters of the
flashLoan(address,address[],uint256[],bytes)
function. - Function with signature
getActionId(bytes4)
and selector0x851c1bb3
. - Container type for the return parameters of the
getActionId(bytes4)
function. - Function with signature
getAuthorizer()
and selector0xaaabadc5
. - Container type for the return parameters of the
getAuthorizer()
function. - Function with signature
getDomainSeparator()
and selector0xed24911d
. - Container type for the return parameters of the
getDomainSeparator()
function. - Function with signature
getInternalBalance(address,address[])
and selector0x0f5a6efa
. - Container type for the return parameters of the
getInternalBalance(address,address[])
function. - Function with signature
getNextNonce(address)
and selector0x90193b7c
. - Container type for the return parameters of the
getNextNonce(address)
function. - Function with signature
getPausedState()
and selector0x1c0de051
. - Container type for the return parameters of the
getPausedState()
function. - Function with signature
getPool(bytes32)
and selector0xf6c00927
. - Container type for the return parameters of the
getPool(bytes32)
function. - Function with signature
getPoolTokenInfo(bytes32,address)
and selector0xb05f8e48
. - Container type for the return parameters of the
getPoolTokenInfo(bytes32,address)
function. - Function with signature
getPoolTokens(bytes32)
and selector0xf94d4668
. - Container type for the return parameters of the
getPoolTokens(bytes32)
function. - Function with signature
getProtocolFeesCollector()
and selector0xd2946c2b
. - Container type for the return parameters of the
getProtocolFeesCollector()
function. - Function with signature
hasApprovedRelayer(address,address)
and selector0xfec90d72
. - Container type for the return parameters of the
hasApprovedRelayer(address,address)
function. - Function with signature
joinPool(bytes32,address,address,(address[],uint256[],bytes,bool))
and selector0xb95cac28
. - Container type for the return parameters of the
joinPool(bytes32,address,address,(address[],uint256[],bytes,bool))
function. - Function with signature
managePoolBalance((uint8,bytes32,address,uint256)[])
and selector0xe6c46092
. - Container type for the return parameters of the
managePoolBalance((uint8,bytes32,address,uint256)[])
function. - Function with signature
manageUserBalance((uint8,address,uint256,address,address)[])
and selector0x0e8e3e84
. - Container type for the return parameters of the
manageUserBalance((uint8,address,uint256,address,address)[])
function. - Function with signature
queryBatchSwap(uint8,(bytes32,uint256,uint256,uint256,bytes)[],address[],(address,bool,address,bool))
and selector0xf84d066e
. - Container type for the return parameters of the
queryBatchSwap(uint8,(bytes32,uint256,uint256,uint256,bytes)[],address[],(address,bool,address,bool))
function. - Function with signature
registerPool(uint8)
and selector0x09b2760f
. - Container type for the return parameters of the
registerPool(uint8)
function. - Function with signature
registerTokens(bytes32,address[],address[])
and selector0x66a9c7d2
. - Container type for the return parameters of the
registerTokens(bytes32,address[],address[])
function. - Function with signature
setAuthorizer(address)
and selector0x058a628f
. - Container type for the return parameters of the
setAuthorizer(address)
function. - Function with signature
setPaused(bool)
and selector0x16c38b3c
. - Container type for the return parameters of the
setPaused(bool)
function. - Function with signature
setRelayerApproval(address,address,bool)
and selector0xfa6e671d
. - Container type for the return parameters of the
setRelayerApproval(address,address,bool)
function. - Function with signature
swap((bytes32,uint8,address,address,uint256,bytes),(address,bool,address,bool),uint256,uint256)
and selector0x52bbbe29
. - Container type for the return parameters of the
swap((bytes32,uint8,address,address,uint256,bytes),(address,bool,address,bool),uint256,uint256)
function.
Enums§
- Container for all the
BalancerV2Vault
function calls. - Container for all the
BalancerV2Vault
events.