UNPKG

@mstable/protocol

Version:
82 lines (81 loc) 1.7 kB
[ { "inputs": [ { "internalType": "bytes32", "name": "poolId", "type": "bytes32" }, { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address payable", "name": "recipient", "type": "address" }, { "components": [ { "internalType": "address[]", "name": "assets", "type": "address[]" }, { "internalType": "uint256[]", "name": "minAmountsOut", "type": "uint256[]" }, { "internalType": "bytes", "name": "userData", "type": "bytes" }, { "internalType": "bool", "name": "toInternalBalance", "type": "bool" } ], "internalType": "struct ExitPoolRequest", "name": "request", "type": "tuple" } ], "name": "exitPool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "poolId", "type": "bytes32" } ], "name": "getPoolTokens", "outputs": [ { "internalType": "address[]", "name": "tokens", "type": "address[]" }, { "internalType": "uint256[]", "name": "balances", "type": "uint256[]" }, { "internalType": "uint256", "name": "lastChangeBlock", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ]