balancervault

package
v1.4.179-rc-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2023 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BalancerVaultABI = BalancerVaultMetaData.ABI

BalancerVaultABI is the input ABI used to generate the binding from. Deprecated: Use BalancerVaultMetaData.ABI instead.

View Source
var BalancerVaultMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIAuthorizer\",\"name\":\"authorizer\",\"type\":\"address\"},{\"internalType\":\"contractIWETH\",\"name\":\"weth\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pauseWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bufferPeriodDuration\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIAuthorizer\",\"name\":\"newAuthorizer\",\"type\":\"address\"}],\"name\":\"AuthorizerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ExternalBalanceTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contractIFlashLoanRecipient\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"FlashLoan\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"delta\",\"type\":\"int256\"}],\"name\":\"InternalBalanceChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"}],\"name\":\"PausedStateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"liquidityProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"int256[]\",\"name\":\"deltas\",\"type\":\"int256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"protocolFeeAmounts\",\"type\":\"uint256[]\"}],\"name\":\"PoolBalanceChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"assetManager\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"cashDelta\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"managedDelta\",\"type\":\"int256\"}],\"name\":\"PoolBalanceManaged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"poolAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumIVault.PoolSpecialization\",\"name\":\"specialization\",\"type\":\"uint8\"}],\"name\":\"PoolRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"RelayerApprovalChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contractIERC20\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"}],\"name\":\"TokensDeregistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"assetManagers\",\"type\":\"address[]\"}],\"name\":\"TokensRegistered\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"contractIWETH\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumIVault.SwapKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"assetInIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"assetOutIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"internalType\":\"structIVault.BatchSwapStep[]\",\"name\":\"swaps\",\"type\":\"tuple[]\"},{\"internalType\":\"contractIAsset[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"fromInternalBalance\",\"type\":\"bool\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"toInternalBalance\",\"type\":\"bool\"}],\"internalType\":\"structIVault.FundManagement\",\"name\":\"funds\",\"type\":\"tuple\"},{\"internalType\":\"int256[]\",\"name\":\"limits\",\"type\":\"int256[]\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"batchSwap\",\"outputs\":[{\"internalType\":\"int256[]\",\"name\":\"assetDeltas\",\"type\":\"int256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"}],\"name\":\"deregisterTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contractIAsset[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"minAmountsOut\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"toInternalBalance\",\"type\":\"bool\"}],\"internalType\":\"structIVault.ExitPoolRequest\",\"name\":\"request\",\"type\":\"tuple\"}],\"name\":\"exitPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIFlashLoanRecipient\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"name\":\"flashLoan\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"}],\"name\":\"getActionId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAuthorizer\",\"outputs\":[{\"internalType\":\"contractIAuthorizer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDomainSeparator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"}],\"name\":\"getInternalBalance\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getNextNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPausedState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"pauseWindowEndTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bufferPeriodEndTime\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"}],\"name\":\"getPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"enumIVault.PoolSpecialization\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getPoolTokenInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"cash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"managed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"assetManager\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"}],\"name\":\"getPoolTokens\",\"outputs\":[{\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getProtocolFeesCollector\",\"outputs\":[{\"internalType\":\"contractProtocolFeesCollector\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"hasApprovedRelayer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"contractIAsset[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"maxAmountsIn\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"fromInternalBalance\",\"type\":\"bool\"}],\"internalType\":\"structIVault.JoinPoolRequest\",\"name\":\"request\",\"type\":\"tuple\"}],\"name\":\"joinPool\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enumIVault.PoolBalanceOpKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structIVault.PoolBalanceOp[]\",\"name\":\"ops\",\"type\":\"tuple[]\"}],\"name\":\"managePoolBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enumIVault.UserBalanceOpKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"internalType\":\"contractIAsset\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structIVault.UserBalanceOp[]\",\"name\":\"ops\",\"type\":\"tuple[]\"}],\"name\":\"manageUserBalance\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumIVault.SwapKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"assetInIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"assetOutIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"internalType\":\"structIVault.BatchSwapStep[]\",\"name\":\"swaps\",\"type\":\"tuple[]\"},{\"internalType\":\"contractIAsset[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"fromInternalBalance\",\"type\":\"bool\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"toInternalBalance\",\"type\":\"bool\"}],\"internalType\":\"structIVault.FundManagement\",\"name\":\"funds\",\"type\":\"tuple\"}],\"name\":\"queryBatchSwap\",\"outputs\":[{\"internalType\":\"int256[]\",\"name\":\"\",\"type\":\"int256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumIVault.PoolSpecialization\",\"name\":\"specialization\",\"type\":\"uint8\"}],\"name\":\"registerPool\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"assetManagers\",\"type\":\"address[]\"}],\"name\":\"registerTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIAuthorizer\",\"name\":\"newAuthorizer\",\"type\":\"address\"}],\"name\":\"setAuthorizer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"}],\"name\":\"setPaused\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setRelayerApproval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"enumIVault.SwapKind\",\"name\":\"kind\",\"type\":\"uint8\"},{\"internalType\":\"contractIAsset\",\"name\":\"assetIn\",\"type\":\"address\"},{\"internalType\":\"contractIAsset\",\"name\":\"assetOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"internalType\":\"structIVault.SingleSwap\",\"name\":\"singleSwap\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"fromInternalBalance\",\"type\":\"bool\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"toInternalBalance\",\"type\":\"bool\"}],\"internalType\":\"structIVault.FundManagement\",\"name\":\"funds\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountCalculated\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

BalancerVaultMetaData contains all meta data concerning the BalancerVault contract.

Functions

This section is empty.

Types

type BalancerVault

type BalancerVault struct {
	BalancerVaultCaller     // Read-only binding to the contract
	BalancerVaultTransactor // Write-only binding to the contract
	BalancerVaultFilterer   // Log filterer for contract events
}

BalancerVault is an auto generated Go binding around an Ethereum contract.

func NewBalancerVault

func NewBalancerVault(address common.Address, backend bind.ContractBackend) (*BalancerVault, error)

NewBalancerVault creates a new instance of BalancerVault, bound to a specific deployed contract.

type BalancerVaultAuthorizerChanged

type BalancerVaultAuthorizerChanged struct {
	NewAuthorizer common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BalancerVaultAuthorizerChanged represents a AuthorizerChanged event raised by the BalancerVault contract.

type BalancerVaultAuthorizerChangedIterator

type BalancerVaultAuthorizerChangedIterator struct {
	Event *BalancerVaultAuthorizerChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultAuthorizerChangedIterator is returned from FilterAuthorizerChanged and is used to iterate over the raw logs and unpacked data for AuthorizerChanged events raised by the BalancerVault contract.

func (*BalancerVaultAuthorizerChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultAuthorizerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultAuthorizerChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultCaller

type BalancerVaultCaller struct {
	// contains filtered or unexported fields
}

BalancerVaultCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBalancerVaultCaller

func NewBalancerVaultCaller(address common.Address, caller bind.ContractCaller) (*BalancerVaultCaller, error)

NewBalancerVaultCaller creates a new read-only instance of BalancerVault, bound to a specific deployed contract.

func (*BalancerVaultCaller) GetActionId

func (_BalancerVault *BalancerVaultCaller) GetActionId(opts *bind.CallOpts, selector [4]byte) ([32]byte, error)

GetActionId is a free data retrieval call binding the contract method 0x851c1bb3.

Solidity: function getActionId(bytes4 selector) view returns(bytes32)

func (*BalancerVaultCaller) GetAuthorizer

func (_BalancerVault *BalancerVaultCaller) GetAuthorizer(opts *bind.CallOpts) (common.Address, error)

GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.

Solidity: function getAuthorizer() view returns(address)

func (*BalancerVaultCaller) GetDomainSeparator

func (_BalancerVault *BalancerVaultCaller) GetDomainSeparator(opts *bind.CallOpts) ([32]byte, error)

GetDomainSeparator is a free data retrieval call binding the contract method 0xed24911d.

Solidity: function getDomainSeparator() view returns(bytes32)

func (*BalancerVaultCaller) GetInternalBalance

func (_BalancerVault *BalancerVaultCaller) GetInternalBalance(opts *bind.CallOpts, user common.Address, tokens []common.Address) ([]*big.Int, error)

GetInternalBalance is a free data retrieval call binding the contract method 0x0f5a6efa.

Solidity: function getInternalBalance(address user, address[] tokens) view returns(uint256[] balances)

func (*BalancerVaultCaller) GetNextNonce

func (_BalancerVault *BalancerVaultCaller) GetNextNonce(opts *bind.CallOpts, user common.Address) (*big.Int, error)

GetNextNonce is a free data retrieval call binding the contract method 0x90193b7c.

Solidity: function getNextNonce(address user) view returns(uint256)

func (*BalancerVaultCaller) GetPausedState

func (_BalancerVault *BalancerVaultCaller) GetPausedState(opts *bind.CallOpts) (struct {
	Paused              bool
	PauseWindowEndTime  *big.Int
	BufferPeriodEndTime *big.Int
}, error)

GetPausedState is a free data retrieval call binding the contract method 0x1c0de051.

Solidity: function getPausedState() view returns(bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)

func (*BalancerVaultCaller) GetPool

func (_BalancerVault *BalancerVaultCaller) GetPool(opts *bind.CallOpts, poolId [32]byte) (common.Address, uint8, error)

GetPool is a free data retrieval call binding the contract method 0xf6c00927.

Solidity: function getPool(bytes32 poolId) view returns(address, uint8)

func (*BalancerVaultCaller) GetPoolTokenInfo

func (_BalancerVault *BalancerVaultCaller) GetPoolTokenInfo(opts *bind.CallOpts, poolId [32]byte, token common.Address) (struct {
	Cash            *big.Int
	Managed         *big.Int
	LastChangeBlock *big.Int
	AssetManager    common.Address
}, error)

GetPoolTokenInfo is a free data retrieval call binding the contract method 0xb05f8e48.

Solidity: function getPoolTokenInfo(bytes32 poolId, address token) view returns(uint256 cash, uint256 managed, uint256 lastChangeBlock, address assetManager)

func (*BalancerVaultCaller) GetPoolTokens

func (_BalancerVault *BalancerVaultCaller) GetPoolTokens(opts *bind.CallOpts, poolId [32]byte) (struct {
	Tokens          []common.Address
	Balances        []*big.Int
	LastChangeBlock *big.Int
}, error)

GetPoolTokens is a free data retrieval call binding the contract method 0xf94d4668.

Solidity: function getPoolTokens(bytes32 poolId) view returns(address[] tokens, uint256[] balances, uint256 lastChangeBlock)

func (*BalancerVaultCaller) GetProtocolFeesCollector

func (_BalancerVault *BalancerVaultCaller) GetProtocolFeesCollector(opts *bind.CallOpts) (common.Address, error)

GetProtocolFeesCollector is a free data retrieval call binding the contract method 0xd2946c2b.

Solidity: function getProtocolFeesCollector() view returns(address)

func (*BalancerVaultCaller) HasApprovedRelayer

func (_BalancerVault *BalancerVaultCaller) HasApprovedRelayer(opts *bind.CallOpts, user common.Address, relayer common.Address) (bool, error)

HasApprovedRelayer is a free data retrieval call binding the contract method 0xfec90d72.

Solidity: function hasApprovedRelayer(address user, address relayer) view returns(bool)

func (*BalancerVaultCaller) WETH

func (_BalancerVault *BalancerVaultCaller) WETH(opts *bind.CallOpts) (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type BalancerVaultCallerRaw

type BalancerVaultCallerRaw struct {
	Contract *BalancerVaultCaller // Generic read-only contract binding to access the raw methods on
}

BalancerVaultCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BalancerVaultCallerRaw) Call

func (_BalancerVault *BalancerVaultCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type BalancerVaultCallerSession

type BalancerVaultCallerSession struct {
	Contract *BalancerVaultCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

BalancerVaultCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BalancerVaultCallerSession) GetActionId

func (_BalancerVault *BalancerVaultCallerSession) GetActionId(selector [4]byte) ([32]byte, error)

GetActionId is a free data retrieval call binding the contract method 0x851c1bb3.

Solidity: function getActionId(bytes4 selector) view returns(bytes32)

func (*BalancerVaultCallerSession) GetAuthorizer

func (_BalancerVault *BalancerVaultCallerSession) GetAuthorizer() (common.Address, error)

GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.

Solidity: function getAuthorizer() view returns(address)

func (*BalancerVaultCallerSession) GetDomainSeparator

func (_BalancerVault *BalancerVaultCallerSession) GetDomainSeparator() ([32]byte, error)

GetDomainSeparator is a free data retrieval call binding the contract method 0xed24911d.

Solidity: function getDomainSeparator() view returns(bytes32)

func (*BalancerVaultCallerSession) GetInternalBalance

func (_BalancerVault *BalancerVaultCallerSession) GetInternalBalance(user common.Address, tokens []common.Address) ([]*big.Int, error)

GetInternalBalance is a free data retrieval call binding the contract method 0x0f5a6efa.

Solidity: function getInternalBalance(address user, address[] tokens) view returns(uint256[] balances)

func (*BalancerVaultCallerSession) GetNextNonce

func (_BalancerVault *BalancerVaultCallerSession) GetNextNonce(user common.Address) (*big.Int, error)

GetNextNonce is a free data retrieval call binding the contract method 0x90193b7c.

Solidity: function getNextNonce(address user) view returns(uint256)

func (*BalancerVaultCallerSession) GetPausedState

func (_BalancerVault *BalancerVaultCallerSession) GetPausedState() (struct {
	Paused              bool
	PauseWindowEndTime  *big.Int
	BufferPeriodEndTime *big.Int
}, error)

GetPausedState is a free data retrieval call binding the contract method 0x1c0de051.

Solidity: function getPausedState() view returns(bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)

func (*BalancerVaultCallerSession) GetPool

func (_BalancerVault *BalancerVaultCallerSession) GetPool(poolId [32]byte) (common.Address, uint8, error)

GetPool is a free data retrieval call binding the contract method 0xf6c00927.

Solidity: function getPool(bytes32 poolId) view returns(address, uint8)

func (*BalancerVaultCallerSession) GetPoolTokenInfo

func (_BalancerVault *BalancerVaultCallerSession) GetPoolTokenInfo(poolId [32]byte, token common.Address) (struct {
	Cash            *big.Int
	Managed         *big.Int
	LastChangeBlock *big.Int
	AssetManager    common.Address
}, error)

GetPoolTokenInfo is a free data retrieval call binding the contract method 0xb05f8e48.

Solidity: function getPoolTokenInfo(bytes32 poolId, address token) view returns(uint256 cash, uint256 managed, uint256 lastChangeBlock, address assetManager)

func (*BalancerVaultCallerSession) GetPoolTokens

func (_BalancerVault *BalancerVaultCallerSession) GetPoolTokens(poolId [32]byte) (struct {
	Tokens          []common.Address
	Balances        []*big.Int
	LastChangeBlock *big.Int
}, error)

GetPoolTokens is a free data retrieval call binding the contract method 0xf94d4668.

Solidity: function getPoolTokens(bytes32 poolId) view returns(address[] tokens, uint256[] balances, uint256 lastChangeBlock)

func (*BalancerVaultCallerSession) GetProtocolFeesCollector

func (_BalancerVault *BalancerVaultCallerSession) GetProtocolFeesCollector() (common.Address, error)

GetProtocolFeesCollector is a free data retrieval call binding the contract method 0xd2946c2b.

Solidity: function getProtocolFeesCollector() view returns(address)

func (*BalancerVaultCallerSession) HasApprovedRelayer

func (_BalancerVault *BalancerVaultCallerSession) HasApprovedRelayer(user common.Address, relayer common.Address) (bool, error)

HasApprovedRelayer is a free data retrieval call binding the contract method 0xfec90d72.

Solidity: function hasApprovedRelayer(address user, address relayer) view returns(bool)

func (*BalancerVaultCallerSession) WETH

func (_BalancerVault *BalancerVaultCallerSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type BalancerVaultExternalBalanceTransfer

type BalancerVaultExternalBalanceTransfer struct {
	Token     common.Address
	Sender    common.Address
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BalancerVaultExternalBalanceTransfer represents a ExternalBalanceTransfer event raised by the BalancerVault contract.

type BalancerVaultExternalBalanceTransferIterator

type BalancerVaultExternalBalanceTransferIterator struct {
	Event *BalancerVaultExternalBalanceTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultExternalBalanceTransferIterator is returned from FilterExternalBalanceTransfer and is used to iterate over the raw logs and unpacked data for ExternalBalanceTransfer events raised by the BalancerVault contract.

func (*BalancerVaultExternalBalanceTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultExternalBalanceTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultExternalBalanceTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultFilterer

type BalancerVaultFilterer struct {
	// contains filtered or unexported fields
}

BalancerVaultFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBalancerVaultFilterer

func NewBalancerVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*BalancerVaultFilterer, error)

NewBalancerVaultFilterer creates a new log filterer instance of BalancerVault, bound to a specific deployed contract.

func (*BalancerVaultFilterer) FilterAuthorizerChanged

func (_BalancerVault *BalancerVaultFilterer) FilterAuthorizerChanged(opts *bind.FilterOpts, newAuthorizer []common.Address) (*BalancerVaultAuthorizerChangedIterator, error)

FilterAuthorizerChanged is a free log retrieval operation binding the contract event 0x94b979b6831a51293e2641426f97747feed46f17779fed9cd18d1ecefcfe92ef.

Solidity: event AuthorizerChanged(address indexed newAuthorizer)

func (*BalancerVaultFilterer) FilterExternalBalanceTransfer

func (_BalancerVault *BalancerVaultFilterer) FilterExternalBalanceTransfer(opts *bind.FilterOpts, token []common.Address, sender []common.Address) (*BalancerVaultExternalBalanceTransferIterator, error)

FilterExternalBalanceTransfer is a free log retrieval operation binding the contract event 0x540a1a3f28340caec336c81d8d7b3df139ee5cdc1839a4f283d7ebb7eaae2d5c.

Solidity: event ExternalBalanceTransfer(address indexed token, address indexed sender, address recipient, uint256 amount)

func (*BalancerVaultFilterer) FilterFlashLoan

func (_BalancerVault *BalancerVaultFilterer) FilterFlashLoan(opts *bind.FilterOpts, recipient []common.Address, token []common.Address) (*BalancerVaultFlashLoanIterator, error)

FilterFlashLoan is a free log retrieval operation binding the contract event 0x0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f0.

Solidity: event FlashLoan(address indexed recipient, address indexed token, uint256 amount, uint256 feeAmount)

func (*BalancerVaultFilterer) FilterInternalBalanceChanged

func (_BalancerVault *BalancerVaultFilterer) FilterInternalBalanceChanged(opts *bind.FilterOpts, user []common.Address, token []common.Address) (*BalancerVaultInternalBalanceChangedIterator, error)

FilterInternalBalanceChanged is a free log retrieval operation binding the contract event 0x18e1ea4139e68413d7d08aa752e71568e36b2c5bf940893314c2c5b01eaa0c42.

Solidity: event InternalBalanceChanged(address indexed user, address indexed token, int256 delta)

func (*BalancerVaultFilterer) FilterPausedStateChanged

func (_BalancerVault *BalancerVaultFilterer) FilterPausedStateChanged(opts *bind.FilterOpts) (*BalancerVaultPausedStateChangedIterator, error)

FilterPausedStateChanged is a free log retrieval operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.

Solidity: event PausedStateChanged(bool paused)

func (*BalancerVaultFilterer) FilterPoolBalanceChanged

func (_BalancerVault *BalancerVaultFilterer) FilterPoolBalanceChanged(opts *bind.FilterOpts, poolId [][32]byte, liquidityProvider []common.Address) (*BalancerVaultPoolBalanceChangedIterator, error)

FilterPoolBalanceChanged is a free log retrieval operation binding the contract event 0xe5ce249087ce04f05a957192435400fd97868dba0e6a4b4c049abf8af80dae78.

Solidity: event PoolBalanceChanged(bytes32 indexed poolId, address indexed liquidityProvider, address[] tokens, int256[] deltas, uint256[] protocolFeeAmounts)

func (*BalancerVaultFilterer) FilterPoolBalanceManaged

func (_BalancerVault *BalancerVaultFilterer) FilterPoolBalanceManaged(opts *bind.FilterOpts, poolId [][32]byte, assetManager []common.Address, token []common.Address) (*BalancerVaultPoolBalanceManagedIterator, error)

FilterPoolBalanceManaged is a free log retrieval operation binding the contract event 0x6edcaf6241105b4c94c2efdbf3a6b12458eb3d07be3a0e81d24b13c44045fe7a.

Solidity: event PoolBalanceManaged(bytes32 indexed poolId, address indexed assetManager, address indexed token, int256 cashDelta, int256 managedDelta)

func (*BalancerVaultFilterer) FilterPoolRegistered

func (_BalancerVault *BalancerVaultFilterer) FilterPoolRegistered(opts *bind.FilterOpts, poolId [][32]byte, poolAddress []common.Address) (*BalancerVaultPoolRegisteredIterator, error)

FilterPoolRegistered is a free log retrieval operation binding the contract event 0x3c13bc30b8e878c53fd2a36b679409c073afd75950be43d8858768e956fbc20e.

Solidity: event PoolRegistered(bytes32 indexed poolId, address indexed poolAddress, uint8 specialization)

func (*BalancerVaultFilterer) FilterRelayerApprovalChanged

func (_BalancerVault *BalancerVaultFilterer) FilterRelayerApprovalChanged(opts *bind.FilterOpts, relayer []common.Address, sender []common.Address) (*BalancerVaultRelayerApprovalChangedIterator, error)

FilterRelayerApprovalChanged is a free log retrieval operation binding the contract event 0x46961fdb4502b646d5095fba7600486a8ac05041d55cdf0f16ed677180b5cad8.

Solidity: event RelayerApprovalChanged(address indexed relayer, address indexed sender, bool approved)

func (*BalancerVaultFilterer) FilterSwap

func (_BalancerVault *BalancerVaultFilterer) FilterSwap(opts *bind.FilterOpts, poolId [][32]byte, tokenIn []common.Address, tokenOut []common.Address) (*BalancerVaultSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0x2170c741c41531aec20e7c107c24eecfdd15e69c9bb0a8dd37b1840b9e0b207b.

Solidity: event Swap(bytes32 indexed poolId, address indexed tokenIn, address indexed tokenOut, uint256 amountIn, uint256 amountOut)

func (*BalancerVaultFilterer) FilterTokensDeregistered

func (_BalancerVault *BalancerVaultFilterer) FilterTokensDeregistered(opts *bind.FilterOpts, poolId [][32]byte) (*BalancerVaultTokensDeregisteredIterator, error)

FilterTokensDeregistered is a free log retrieval operation binding the contract event 0x7dcdc6d02ef40c7c1a7046a011b058bd7f988fa14e20a66344f9d4e60657d610.

Solidity: event TokensDeregistered(bytes32 indexed poolId, address[] tokens)

func (*BalancerVaultFilterer) FilterTokensRegistered

func (_BalancerVault *BalancerVaultFilterer) FilterTokensRegistered(opts *bind.FilterOpts, poolId [][32]byte) (*BalancerVaultTokensRegisteredIterator, error)

FilterTokensRegistered is a free log retrieval operation binding the contract event 0xf5847d3f2197b16cdcd2098ec95d0905cd1abdaf415f07bb7cef2bba8ac5dec4.

Solidity: event TokensRegistered(bytes32 indexed poolId, address[] tokens, address[] assetManagers)

func (*BalancerVaultFilterer) ParseAuthorizerChanged

func (_BalancerVault *BalancerVaultFilterer) ParseAuthorizerChanged(log types.Log) (*BalancerVaultAuthorizerChanged, error)

ParseAuthorizerChanged is a log parse operation binding the contract event 0x94b979b6831a51293e2641426f97747feed46f17779fed9cd18d1ecefcfe92ef.

Solidity: event AuthorizerChanged(address indexed newAuthorizer)

func (*BalancerVaultFilterer) ParseExternalBalanceTransfer

func (_BalancerVault *BalancerVaultFilterer) ParseExternalBalanceTransfer(log types.Log) (*BalancerVaultExternalBalanceTransfer, error)

ParseExternalBalanceTransfer is a log parse operation binding the contract event 0x540a1a3f28340caec336c81d8d7b3df139ee5cdc1839a4f283d7ebb7eaae2d5c.

Solidity: event ExternalBalanceTransfer(address indexed token, address indexed sender, address recipient, uint256 amount)

func (*BalancerVaultFilterer) ParseFlashLoan

func (_BalancerVault *BalancerVaultFilterer) ParseFlashLoan(log types.Log) (*BalancerVaultFlashLoan, error)

ParseFlashLoan is a log parse operation binding the contract event 0x0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f0.

Solidity: event FlashLoan(address indexed recipient, address indexed token, uint256 amount, uint256 feeAmount)

func (*BalancerVaultFilterer) ParseInternalBalanceChanged

func (_BalancerVault *BalancerVaultFilterer) ParseInternalBalanceChanged(log types.Log) (*BalancerVaultInternalBalanceChanged, error)

ParseInternalBalanceChanged is a log parse operation binding the contract event 0x18e1ea4139e68413d7d08aa752e71568e36b2c5bf940893314c2c5b01eaa0c42.

Solidity: event InternalBalanceChanged(address indexed user, address indexed token, int256 delta)

func (*BalancerVaultFilterer) ParsePausedStateChanged

func (_BalancerVault *BalancerVaultFilterer) ParsePausedStateChanged(log types.Log) (*BalancerVaultPausedStateChanged, error)

ParsePausedStateChanged is a log parse operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.

Solidity: event PausedStateChanged(bool paused)

func (*BalancerVaultFilterer) ParsePoolBalanceChanged

func (_BalancerVault *BalancerVaultFilterer) ParsePoolBalanceChanged(log types.Log) (*BalancerVaultPoolBalanceChanged, error)

ParsePoolBalanceChanged is a log parse operation binding the contract event 0xe5ce249087ce04f05a957192435400fd97868dba0e6a4b4c049abf8af80dae78.

Solidity: event PoolBalanceChanged(bytes32 indexed poolId, address indexed liquidityProvider, address[] tokens, int256[] deltas, uint256[] protocolFeeAmounts)

func (*BalancerVaultFilterer) ParsePoolBalanceManaged

func (_BalancerVault *BalancerVaultFilterer) ParsePoolBalanceManaged(log types.Log) (*BalancerVaultPoolBalanceManaged, error)

ParsePoolBalanceManaged is a log parse operation binding the contract event 0x6edcaf6241105b4c94c2efdbf3a6b12458eb3d07be3a0e81d24b13c44045fe7a.

Solidity: event PoolBalanceManaged(bytes32 indexed poolId, address indexed assetManager, address indexed token, int256 cashDelta, int256 managedDelta)

func (*BalancerVaultFilterer) ParsePoolRegistered

func (_BalancerVault *BalancerVaultFilterer) ParsePoolRegistered(log types.Log) (*BalancerVaultPoolRegistered, error)

ParsePoolRegistered is a log parse operation binding the contract event 0x3c13bc30b8e878c53fd2a36b679409c073afd75950be43d8858768e956fbc20e.

Solidity: event PoolRegistered(bytes32 indexed poolId, address indexed poolAddress, uint8 specialization)

func (*BalancerVaultFilterer) ParseRelayerApprovalChanged

func (_BalancerVault *BalancerVaultFilterer) ParseRelayerApprovalChanged(log types.Log) (*BalancerVaultRelayerApprovalChanged, error)

ParseRelayerApprovalChanged is a log parse operation binding the contract event 0x46961fdb4502b646d5095fba7600486a8ac05041d55cdf0f16ed677180b5cad8.

Solidity: event RelayerApprovalChanged(address indexed relayer, address indexed sender, bool approved)

func (*BalancerVaultFilterer) ParseSwap

func (_BalancerVault *BalancerVaultFilterer) ParseSwap(log types.Log) (*BalancerVaultSwap, error)

ParseSwap is a log parse operation binding the contract event 0x2170c741c41531aec20e7c107c24eecfdd15e69c9bb0a8dd37b1840b9e0b207b.

Solidity: event Swap(bytes32 indexed poolId, address indexed tokenIn, address indexed tokenOut, uint256 amountIn, uint256 amountOut)

func (*BalancerVaultFilterer) ParseTokensDeregistered

func (_BalancerVault *BalancerVaultFilterer) ParseTokensDeregistered(log types.Log) (*BalancerVaultTokensDeregistered, error)

ParseTokensDeregistered is a log parse operation binding the contract event 0x7dcdc6d02ef40c7c1a7046a011b058bd7f988fa14e20a66344f9d4e60657d610.

Solidity: event TokensDeregistered(bytes32 indexed poolId, address[] tokens)

func (*BalancerVaultFilterer) ParseTokensRegistered

func (_BalancerVault *BalancerVaultFilterer) ParseTokensRegistered(log types.Log) (*BalancerVaultTokensRegistered, error)

ParseTokensRegistered is a log parse operation binding the contract event 0xf5847d3f2197b16cdcd2098ec95d0905cd1abdaf415f07bb7cef2bba8ac5dec4.

Solidity: event TokensRegistered(bytes32 indexed poolId, address[] tokens, address[] assetManagers)

func (*BalancerVaultFilterer) WatchAuthorizerChanged

func (_BalancerVault *BalancerVaultFilterer) WatchAuthorizerChanged(opts *bind.WatchOpts, sink chan<- *BalancerVaultAuthorizerChanged, newAuthorizer []common.Address) (event.Subscription, error)

WatchAuthorizerChanged is a free log subscription operation binding the contract event 0x94b979b6831a51293e2641426f97747feed46f17779fed9cd18d1ecefcfe92ef.

Solidity: event AuthorizerChanged(address indexed newAuthorizer)

func (*BalancerVaultFilterer) WatchExternalBalanceTransfer

func (_BalancerVault *BalancerVaultFilterer) WatchExternalBalanceTransfer(opts *bind.WatchOpts, sink chan<- *BalancerVaultExternalBalanceTransfer, token []common.Address, sender []common.Address) (event.Subscription, error)

WatchExternalBalanceTransfer is a free log subscription operation binding the contract event 0x540a1a3f28340caec336c81d8d7b3df139ee5cdc1839a4f283d7ebb7eaae2d5c.

Solidity: event ExternalBalanceTransfer(address indexed token, address indexed sender, address recipient, uint256 amount)

func (*BalancerVaultFilterer) WatchFlashLoan

func (_BalancerVault *BalancerVaultFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *BalancerVaultFlashLoan, recipient []common.Address, token []common.Address) (event.Subscription, error)

WatchFlashLoan is a free log subscription operation binding the contract event 0x0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f0.

Solidity: event FlashLoan(address indexed recipient, address indexed token, uint256 amount, uint256 feeAmount)

func (*BalancerVaultFilterer) WatchInternalBalanceChanged

func (_BalancerVault *BalancerVaultFilterer) WatchInternalBalanceChanged(opts *bind.WatchOpts, sink chan<- *BalancerVaultInternalBalanceChanged, user []common.Address, token []common.Address) (event.Subscription, error)

WatchInternalBalanceChanged is a free log subscription operation binding the contract event 0x18e1ea4139e68413d7d08aa752e71568e36b2c5bf940893314c2c5b01eaa0c42.

Solidity: event InternalBalanceChanged(address indexed user, address indexed token, int256 delta)

func (*BalancerVaultFilterer) WatchPausedStateChanged

func (_BalancerVault *BalancerVaultFilterer) WatchPausedStateChanged(opts *bind.WatchOpts, sink chan<- *BalancerVaultPausedStateChanged) (event.Subscription, error)

WatchPausedStateChanged is a free log subscription operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.

Solidity: event PausedStateChanged(bool paused)

func (*BalancerVaultFilterer) WatchPoolBalanceChanged

func (_BalancerVault *BalancerVaultFilterer) WatchPoolBalanceChanged(opts *bind.WatchOpts, sink chan<- *BalancerVaultPoolBalanceChanged, poolId [][32]byte, liquidityProvider []common.Address) (event.Subscription, error)

WatchPoolBalanceChanged is a free log subscription operation binding the contract event 0xe5ce249087ce04f05a957192435400fd97868dba0e6a4b4c049abf8af80dae78.

Solidity: event PoolBalanceChanged(bytes32 indexed poolId, address indexed liquidityProvider, address[] tokens, int256[] deltas, uint256[] protocolFeeAmounts)

func (*BalancerVaultFilterer) WatchPoolBalanceManaged

func (_BalancerVault *BalancerVaultFilterer) WatchPoolBalanceManaged(opts *bind.WatchOpts, sink chan<- *BalancerVaultPoolBalanceManaged, poolId [][32]byte, assetManager []common.Address, token []common.Address) (event.Subscription, error)

WatchPoolBalanceManaged is a free log subscription operation binding the contract event 0x6edcaf6241105b4c94c2efdbf3a6b12458eb3d07be3a0e81d24b13c44045fe7a.

Solidity: event PoolBalanceManaged(bytes32 indexed poolId, address indexed assetManager, address indexed token, int256 cashDelta, int256 managedDelta)

func (*BalancerVaultFilterer) WatchPoolRegistered

func (_BalancerVault *BalancerVaultFilterer) WatchPoolRegistered(opts *bind.WatchOpts, sink chan<- *BalancerVaultPoolRegistered, poolId [][32]byte, poolAddress []common.Address) (event.Subscription, error)

WatchPoolRegistered is a free log subscription operation binding the contract event 0x3c13bc30b8e878c53fd2a36b679409c073afd75950be43d8858768e956fbc20e.

Solidity: event PoolRegistered(bytes32 indexed poolId, address indexed poolAddress, uint8 specialization)

func (*BalancerVaultFilterer) WatchRelayerApprovalChanged

func (_BalancerVault *BalancerVaultFilterer) WatchRelayerApprovalChanged(opts *bind.WatchOpts, sink chan<- *BalancerVaultRelayerApprovalChanged, relayer []common.Address, sender []common.Address) (event.Subscription, error)

WatchRelayerApprovalChanged is a free log subscription operation binding the contract event 0x46961fdb4502b646d5095fba7600486a8ac05041d55cdf0f16ed677180b5cad8.

Solidity: event RelayerApprovalChanged(address indexed relayer, address indexed sender, bool approved)

func (*BalancerVaultFilterer) WatchSwap

func (_BalancerVault *BalancerVaultFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *BalancerVaultSwap, poolId [][32]byte, tokenIn []common.Address, tokenOut []common.Address) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0x2170c741c41531aec20e7c107c24eecfdd15e69c9bb0a8dd37b1840b9e0b207b.

Solidity: event Swap(bytes32 indexed poolId, address indexed tokenIn, address indexed tokenOut, uint256 amountIn, uint256 amountOut)

func (*BalancerVaultFilterer) WatchTokensDeregistered

func (_BalancerVault *BalancerVaultFilterer) WatchTokensDeregistered(opts *bind.WatchOpts, sink chan<- *BalancerVaultTokensDeregistered, poolId [][32]byte) (event.Subscription, error)

WatchTokensDeregistered is a free log subscription operation binding the contract event 0x7dcdc6d02ef40c7c1a7046a011b058bd7f988fa14e20a66344f9d4e60657d610.

Solidity: event TokensDeregistered(bytes32 indexed poolId, address[] tokens)

func (*BalancerVaultFilterer) WatchTokensRegistered

func (_BalancerVault *BalancerVaultFilterer) WatchTokensRegistered(opts *bind.WatchOpts, sink chan<- *BalancerVaultTokensRegistered, poolId [][32]byte) (event.Subscription, error)

WatchTokensRegistered is a free log subscription operation binding the contract event 0xf5847d3f2197b16cdcd2098ec95d0905cd1abdaf415f07bb7cef2bba8ac5dec4.

Solidity: event TokensRegistered(bytes32 indexed poolId, address[] tokens, address[] assetManagers)

type BalancerVaultFlashLoan

type BalancerVaultFlashLoan struct {
	Recipient common.Address
	Token     common.Address
	Amount    *big.Int
	FeeAmount *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BalancerVaultFlashLoan represents a FlashLoan event raised by the BalancerVault contract.

type BalancerVaultFlashLoanIterator

type BalancerVaultFlashLoanIterator struct {
	Event *BalancerVaultFlashLoan // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultFlashLoanIterator is returned from FilterFlashLoan and is used to iterate over the raw logs and unpacked data for FlashLoan events raised by the BalancerVault contract.

func (*BalancerVaultFlashLoanIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultFlashLoanIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultFlashLoanIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultInternalBalanceChanged

type BalancerVaultInternalBalanceChanged struct {
	User  common.Address
	Token common.Address
	Delta *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

BalancerVaultInternalBalanceChanged represents a InternalBalanceChanged event raised by the BalancerVault contract.

type BalancerVaultInternalBalanceChangedIterator

type BalancerVaultInternalBalanceChangedIterator struct {
	Event *BalancerVaultInternalBalanceChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultInternalBalanceChangedIterator is returned from FilterInternalBalanceChanged and is used to iterate over the raw logs and unpacked data for InternalBalanceChanged events raised by the BalancerVault contract.

func (*BalancerVaultInternalBalanceChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultInternalBalanceChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultInternalBalanceChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultPausedStateChanged

type BalancerVaultPausedStateChanged struct {
	Paused bool
	Raw    types.Log // Blockchain specific contextual infos
}

BalancerVaultPausedStateChanged represents a PausedStateChanged event raised by the BalancerVault contract.

type BalancerVaultPausedStateChangedIterator

type BalancerVaultPausedStateChangedIterator struct {
	Event *BalancerVaultPausedStateChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultPausedStateChangedIterator is returned from FilterPausedStateChanged and is used to iterate over the raw logs and unpacked data for PausedStateChanged events raised by the BalancerVault contract.

func (*BalancerVaultPausedStateChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultPausedStateChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultPausedStateChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultPoolBalanceChanged

type BalancerVaultPoolBalanceChanged struct {
	PoolId             [32]byte
	LiquidityProvider  common.Address
	Tokens             []common.Address
	Deltas             []*big.Int
	ProtocolFeeAmounts []*big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

BalancerVaultPoolBalanceChanged represents a PoolBalanceChanged event raised by the BalancerVault contract.

type BalancerVaultPoolBalanceChangedIterator

type BalancerVaultPoolBalanceChangedIterator struct {
	Event *BalancerVaultPoolBalanceChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultPoolBalanceChangedIterator is returned from FilterPoolBalanceChanged and is used to iterate over the raw logs and unpacked data for PoolBalanceChanged events raised by the BalancerVault contract.

func (*BalancerVaultPoolBalanceChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultPoolBalanceChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultPoolBalanceChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultPoolBalanceManaged

type BalancerVaultPoolBalanceManaged struct {
	PoolId       [32]byte
	AssetManager common.Address
	Token        common.Address
	CashDelta    *big.Int
	ManagedDelta *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BalancerVaultPoolBalanceManaged represents a PoolBalanceManaged event raised by the BalancerVault contract.

type BalancerVaultPoolBalanceManagedIterator

type BalancerVaultPoolBalanceManagedIterator struct {
	Event *BalancerVaultPoolBalanceManaged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultPoolBalanceManagedIterator is returned from FilterPoolBalanceManaged and is used to iterate over the raw logs and unpacked data for PoolBalanceManaged events raised by the BalancerVault contract.

func (*BalancerVaultPoolBalanceManagedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultPoolBalanceManagedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultPoolBalanceManagedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultPoolRegistered

type BalancerVaultPoolRegistered struct {
	PoolId         [32]byte
	PoolAddress    common.Address
	Specialization uint8
	Raw            types.Log // Blockchain specific contextual infos
}

BalancerVaultPoolRegistered represents a PoolRegistered event raised by the BalancerVault contract.

type BalancerVaultPoolRegisteredIterator

type BalancerVaultPoolRegisteredIterator struct {
	Event *BalancerVaultPoolRegistered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultPoolRegisteredIterator is returned from FilterPoolRegistered and is used to iterate over the raw logs and unpacked data for PoolRegistered events raised by the BalancerVault contract.

func (*BalancerVaultPoolRegisteredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultPoolRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultPoolRegisteredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultRaw

type BalancerVaultRaw struct {
	Contract *BalancerVault // Generic contract binding to access the raw methods on
}

BalancerVaultRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BalancerVaultRaw) Call

func (_BalancerVault *BalancerVaultRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*BalancerVaultRaw) Transact

func (_BalancerVault *BalancerVaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BalancerVaultRaw) Transfer

func (_BalancerVault *BalancerVaultRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BalancerVaultRelayerApprovalChanged

type BalancerVaultRelayerApprovalChanged struct {
	Relayer  common.Address
	Sender   common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

BalancerVaultRelayerApprovalChanged represents a RelayerApprovalChanged event raised by the BalancerVault contract.

type BalancerVaultRelayerApprovalChangedIterator

type BalancerVaultRelayerApprovalChangedIterator struct {
	Event *BalancerVaultRelayerApprovalChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultRelayerApprovalChangedIterator is returned from FilterRelayerApprovalChanged and is used to iterate over the raw logs and unpacked data for RelayerApprovalChanged events raised by the BalancerVault contract.

func (*BalancerVaultRelayerApprovalChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultRelayerApprovalChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultRelayerApprovalChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultSession

type BalancerVaultSession struct {
	Contract     *BalancerVault    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BalancerVaultSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BalancerVaultSession) BatchSwap

func (_BalancerVault *BalancerVaultSession) BatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement, limits []*big.Int, deadline *big.Int) (*types.Transaction, error)

BatchSwap is a paid mutator transaction binding the contract method 0x945bcec9.

Solidity: function batchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds, int256[] limits, uint256 deadline) payable returns(int256[] assetDeltas)

func (*BalancerVaultSession) DeregisterTokens

func (_BalancerVault *BalancerVaultSession) DeregisterTokens(poolId [32]byte, tokens []common.Address) (*types.Transaction, error)

DeregisterTokens is a paid mutator transaction binding the contract method 0x7d3aeb96.

Solidity: function deregisterTokens(bytes32 poolId, address[] tokens) returns()

func (*BalancerVaultSession) ExitPool

func (_BalancerVault *BalancerVaultSession) ExitPool(poolId [32]byte, sender common.Address, recipient common.Address, request IVaultExitPoolRequest) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0x8bdb3913.

Solidity: function exitPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) returns()

func (*BalancerVaultSession) FlashLoan

func (_BalancerVault *BalancerVaultSession) FlashLoan(recipient common.Address, tokens []common.Address, amounts []*big.Int, userData []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5c38449e.

Solidity: function flashLoan(address recipient, address[] tokens, uint256[] amounts, bytes userData) returns()

func (*BalancerVaultSession) GetActionId

func (_BalancerVault *BalancerVaultSession) GetActionId(selector [4]byte) ([32]byte, error)

GetActionId is a free data retrieval call binding the contract method 0x851c1bb3.

Solidity: function getActionId(bytes4 selector) view returns(bytes32)

func (*BalancerVaultSession) GetAuthorizer

func (_BalancerVault *BalancerVaultSession) GetAuthorizer() (common.Address, error)

GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.

Solidity: function getAuthorizer() view returns(address)

func (*BalancerVaultSession) GetDomainSeparator

func (_BalancerVault *BalancerVaultSession) GetDomainSeparator() ([32]byte, error)

GetDomainSeparator is a free data retrieval call binding the contract method 0xed24911d.

Solidity: function getDomainSeparator() view returns(bytes32)

func (*BalancerVaultSession) GetInternalBalance

func (_BalancerVault *BalancerVaultSession) GetInternalBalance(user common.Address, tokens []common.Address) ([]*big.Int, error)

GetInternalBalance is a free data retrieval call binding the contract method 0x0f5a6efa.

Solidity: function getInternalBalance(address user, address[] tokens) view returns(uint256[] balances)

func (*BalancerVaultSession) GetNextNonce

func (_BalancerVault *BalancerVaultSession) GetNextNonce(user common.Address) (*big.Int, error)

GetNextNonce is a free data retrieval call binding the contract method 0x90193b7c.

Solidity: function getNextNonce(address user) view returns(uint256)

func (*BalancerVaultSession) GetPausedState

func (_BalancerVault *BalancerVaultSession) GetPausedState() (struct {
	Paused              bool
	PauseWindowEndTime  *big.Int
	BufferPeriodEndTime *big.Int
}, error)

GetPausedState is a free data retrieval call binding the contract method 0x1c0de051.

Solidity: function getPausedState() view returns(bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)

func (*BalancerVaultSession) GetPool

func (_BalancerVault *BalancerVaultSession) GetPool(poolId [32]byte) (common.Address, uint8, error)

GetPool is a free data retrieval call binding the contract method 0xf6c00927.

Solidity: function getPool(bytes32 poolId) view returns(address, uint8)

func (*BalancerVaultSession) GetPoolTokenInfo

func (_BalancerVault *BalancerVaultSession) GetPoolTokenInfo(poolId [32]byte, token common.Address) (struct {
	Cash            *big.Int
	Managed         *big.Int
	LastChangeBlock *big.Int
	AssetManager    common.Address
}, error)

GetPoolTokenInfo is a free data retrieval call binding the contract method 0xb05f8e48.

Solidity: function getPoolTokenInfo(bytes32 poolId, address token) view returns(uint256 cash, uint256 managed, uint256 lastChangeBlock, address assetManager)

func (*BalancerVaultSession) GetPoolTokens

func (_BalancerVault *BalancerVaultSession) GetPoolTokens(poolId [32]byte) (struct {
	Tokens          []common.Address
	Balances        []*big.Int
	LastChangeBlock *big.Int
}, error)

GetPoolTokens is a free data retrieval call binding the contract method 0xf94d4668.

Solidity: function getPoolTokens(bytes32 poolId) view returns(address[] tokens, uint256[] balances, uint256 lastChangeBlock)

func (*BalancerVaultSession) GetProtocolFeesCollector

func (_BalancerVault *BalancerVaultSession) GetProtocolFeesCollector() (common.Address, error)

GetProtocolFeesCollector is a free data retrieval call binding the contract method 0xd2946c2b.

Solidity: function getProtocolFeesCollector() view returns(address)

func (*BalancerVaultSession) HasApprovedRelayer

func (_BalancerVault *BalancerVaultSession) HasApprovedRelayer(user common.Address, relayer common.Address) (bool, error)

HasApprovedRelayer is a free data retrieval call binding the contract method 0xfec90d72.

Solidity: function hasApprovedRelayer(address user, address relayer) view returns(bool)

func (*BalancerVaultSession) JoinPool

func (_BalancerVault *BalancerVaultSession) JoinPool(poolId [32]byte, sender common.Address, recipient common.Address, request IVaultJoinPoolRequest) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0xb95cac28.

Solidity: function joinPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) payable returns()

func (*BalancerVaultSession) ManagePoolBalance

func (_BalancerVault *BalancerVaultSession) ManagePoolBalance(ops []IVaultPoolBalanceOp) (*types.Transaction, error)

ManagePoolBalance is a paid mutator transaction binding the contract method 0xe6c46092.

Solidity: function managePoolBalance((uint8,bytes32,address,uint256)[] ops) returns()

func (*BalancerVaultSession) ManageUserBalance

func (_BalancerVault *BalancerVaultSession) ManageUserBalance(ops []IVaultUserBalanceOp) (*types.Transaction, error)

ManageUserBalance is a paid mutator transaction binding the contract method 0x0e8e3e84.

Solidity: function manageUserBalance((uint8,address,uint256,address,address)[] ops) payable returns()

func (*BalancerVaultSession) QueryBatchSwap

func (_BalancerVault *BalancerVaultSession) QueryBatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement) (*types.Transaction, error)

QueryBatchSwap is a paid mutator transaction binding the contract method 0xf84d066e.

Solidity: function queryBatchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds) returns(int256[])

func (*BalancerVaultSession) Receive

func (_BalancerVault *BalancerVaultSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BalancerVaultSession) RegisterPool

func (_BalancerVault *BalancerVaultSession) RegisterPool(specialization uint8) (*types.Transaction, error)

RegisterPool is a paid mutator transaction binding the contract method 0x09b2760f.

Solidity: function registerPool(uint8 specialization) returns(bytes32)

func (*BalancerVaultSession) RegisterTokens

func (_BalancerVault *BalancerVaultSession) RegisterTokens(poolId [32]byte, tokens []common.Address, assetManagers []common.Address) (*types.Transaction, error)

RegisterTokens is a paid mutator transaction binding the contract method 0x66a9c7d2.

Solidity: function registerTokens(bytes32 poolId, address[] tokens, address[] assetManagers) returns()

func (*BalancerVaultSession) SetAuthorizer

func (_BalancerVault *BalancerVaultSession) SetAuthorizer(newAuthorizer common.Address) (*types.Transaction, error)

SetAuthorizer is a paid mutator transaction binding the contract method 0x058a628f.

Solidity: function setAuthorizer(address newAuthorizer) returns()

func (*BalancerVaultSession) SetPaused

func (_BalancerVault *BalancerVaultSession) SetPaused(paused bool) (*types.Transaction, error)

SetPaused is a paid mutator transaction binding the contract method 0x16c38b3c.

Solidity: function setPaused(bool paused) returns()

func (*BalancerVaultSession) SetRelayerApproval

func (_BalancerVault *BalancerVaultSession) SetRelayerApproval(sender common.Address, relayer common.Address, approved bool) (*types.Transaction, error)

SetRelayerApproval is a paid mutator transaction binding the contract method 0xfa6e671d.

Solidity: function setRelayerApproval(address sender, address relayer, bool approved) returns()

func (*BalancerVaultSession) Swap

func (_BalancerVault *BalancerVaultSession) Swap(singleSwap IVaultSingleSwap, funds IVaultFundManagement, limit *big.Int, deadline *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x52bbbe29.

Solidity: function swap((bytes32,uint8,address,address,uint256,bytes) singleSwap, (address,bool,address,bool) funds, uint256 limit, uint256 deadline) payable returns(uint256 amountCalculated)

func (*BalancerVaultSession) WETH

func (_BalancerVault *BalancerVaultSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type BalancerVaultSwap

type BalancerVaultSwap struct {
	PoolId    [32]byte
	TokenIn   common.Address
	TokenOut  common.Address
	AmountIn  *big.Int
	AmountOut *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BalancerVaultSwap represents a Swap event raised by the BalancerVault contract.

type BalancerVaultSwapIterator

type BalancerVaultSwapIterator struct {
	Event *BalancerVaultSwap // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the BalancerVault contract.

func (*BalancerVaultSwapIterator) Close

func (it *BalancerVaultSwapIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultSwapIterator) Error

func (it *BalancerVaultSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultSwapIterator) Next

func (it *BalancerVaultSwapIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultTokensDeregistered

type BalancerVaultTokensDeregistered struct {
	PoolId [32]byte
	Tokens []common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

BalancerVaultTokensDeregistered represents a TokensDeregistered event raised by the BalancerVault contract.

type BalancerVaultTokensDeregisteredIterator

type BalancerVaultTokensDeregisteredIterator struct {
	Event *BalancerVaultTokensDeregistered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultTokensDeregisteredIterator is returned from FilterTokensDeregistered and is used to iterate over the raw logs and unpacked data for TokensDeregistered events raised by the BalancerVault contract.

func (*BalancerVaultTokensDeregisteredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultTokensDeregisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultTokensDeregisteredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultTokensRegistered

type BalancerVaultTokensRegistered struct {
	PoolId        [32]byte
	Tokens        []common.Address
	AssetManagers []common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BalancerVaultTokensRegistered represents a TokensRegistered event raised by the BalancerVault contract.

type BalancerVaultTokensRegisteredIterator

type BalancerVaultTokensRegisteredIterator struct {
	Event *BalancerVaultTokensRegistered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BalancerVaultTokensRegisteredIterator is returned from FilterTokensRegistered and is used to iterate over the raw logs and unpacked data for TokensRegistered events raised by the BalancerVault contract.

func (*BalancerVaultTokensRegisteredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BalancerVaultTokensRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BalancerVaultTokensRegisteredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BalancerVaultTransactor

type BalancerVaultTransactor struct {
	// contains filtered or unexported fields
}

BalancerVaultTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBalancerVaultTransactor

func NewBalancerVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*BalancerVaultTransactor, error)

NewBalancerVaultTransactor creates a new write-only instance of BalancerVault, bound to a specific deployed contract.

func (*BalancerVaultTransactor) BatchSwap

func (_BalancerVault *BalancerVaultTransactor) BatchSwap(opts *bind.TransactOpts, kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement, limits []*big.Int, deadline *big.Int) (*types.Transaction, error)

BatchSwap is a paid mutator transaction binding the contract method 0x945bcec9.

Solidity: function batchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds, int256[] limits, uint256 deadline) payable returns(int256[] assetDeltas)

func (*BalancerVaultTransactor) DeregisterTokens

func (_BalancerVault *BalancerVaultTransactor) DeregisterTokens(opts *bind.TransactOpts, poolId [32]byte, tokens []common.Address) (*types.Transaction, error)

DeregisterTokens is a paid mutator transaction binding the contract method 0x7d3aeb96.

Solidity: function deregisterTokens(bytes32 poolId, address[] tokens) returns()

func (*BalancerVaultTransactor) ExitPool

func (_BalancerVault *BalancerVaultTransactor) ExitPool(opts *bind.TransactOpts, poolId [32]byte, sender common.Address, recipient common.Address, request IVaultExitPoolRequest) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0x8bdb3913.

Solidity: function exitPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) returns()

func (*BalancerVaultTransactor) FlashLoan

func (_BalancerVault *BalancerVaultTransactor) FlashLoan(opts *bind.TransactOpts, recipient common.Address, tokens []common.Address, amounts []*big.Int, userData []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5c38449e.

Solidity: function flashLoan(address recipient, address[] tokens, uint256[] amounts, bytes userData) returns()

func (*BalancerVaultTransactor) JoinPool

func (_BalancerVault *BalancerVaultTransactor) JoinPool(opts *bind.TransactOpts, poolId [32]byte, sender common.Address, recipient common.Address, request IVaultJoinPoolRequest) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0xb95cac28.

Solidity: function joinPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) payable returns()

func (*BalancerVaultTransactor) ManagePoolBalance

func (_BalancerVault *BalancerVaultTransactor) ManagePoolBalance(opts *bind.TransactOpts, ops []IVaultPoolBalanceOp) (*types.Transaction, error)

ManagePoolBalance is a paid mutator transaction binding the contract method 0xe6c46092.

Solidity: function managePoolBalance((uint8,bytes32,address,uint256)[] ops) returns()

func (*BalancerVaultTransactor) ManageUserBalance

func (_BalancerVault *BalancerVaultTransactor) ManageUserBalance(opts *bind.TransactOpts, ops []IVaultUserBalanceOp) (*types.Transaction, error)

ManageUserBalance is a paid mutator transaction binding the contract method 0x0e8e3e84.

Solidity: function manageUserBalance((uint8,address,uint256,address,address)[] ops) payable returns()

func (*BalancerVaultTransactor) QueryBatchSwap

func (_BalancerVault *BalancerVaultTransactor) QueryBatchSwap(opts *bind.TransactOpts, kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement) (*types.Transaction, error)

QueryBatchSwap is a paid mutator transaction binding the contract method 0xf84d066e.

Solidity: function queryBatchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds) returns(int256[])

func (*BalancerVaultTransactor) Receive

func (_BalancerVault *BalancerVaultTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BalancerVaultTransactor) RegisterPool

func (_BalancerVault *BalancerVaultTransactor) RegisterPool(opts *bind.TransactOpts, specialization uint8) (*types.Transaction, error)

RegisterPool is a paid mutator transaction binding the contract method 0x09b2760f.

Solidity: function registerPool(uint8 specialization) returns(bytes32)

func (*BalancerVaultTransactor) RegisterTokens

func (_BalancerVault *BalancerVaultTransactor) RegisterTokens(opts *bind.TransactOpts, poolId [32]byte, tokens []common.Address, assetManagers []common.Address) (*types.Transaction, error)

RegisterTokens is a paid mutator transaction binding the contract method 0x66a9c7d2.

Solidity: function registerTokens(bytes32 poolId, address[] tokens, address[] assetManagers) returns()

func (*BalancerVaultTransactor) SetAuthorizer

func (_BalancerVault *BalancerVaultTransactor) SetAuthorizer(opts *bind.TransactOpts, newAuthorizer common.Address) (*types.Transaction, error)

SetAuthorizer is a paid mutator transaction binding the contract method 0x058a628f.

Solidity: function setAuthorizer(address newAuthorizer) returns()

func (*BalancerVaultTransactor) SetPaused

func (_BalancerVault *BalancerVaultTransactor) SetPaused(opts *bind.TransactOpts, paused bool) (*types.Transaction, error)

SetPaused is a paid mutator transaction binding the contract method 0x16c38b3c.

Solidity: function setPaused(bool paused) returns()

func (*BalancerVaultTransactor) SetRelayerApproval

func (_BalancerVault *BalancerVaultTransactor) SetRelayerApproval(opts *bind.TransactOpts, sender common.Address, relayer common.Address, approved bool) (*types.Transaction, error)

SetRelayerApproval is a paid mutator transaction binding the contract method 0xfa6e671d.

Solidity: function setRelayerApproval(address sender, address relayer, bool approved) returns()

func (*BalancerVaultTransactor) Swap

func (_BalancerVault *BalancerVaultTransactor) Swap(opts *bind.TransactOpts, singleSwap IVaultSingleSwap, funds IVaultFundManagement, limit *big.Int, deadline *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x52bbbe29.

Solidity: function swap((bytes32,uint8,address,address,uint256,bytes) singleSwap, (address,bool,address,bool) funds, uint256 limit, uint256 deadline) payable returns(uint256 amountCalculated)

type BalancerVaultTransactorRaw

type BalancerVaultTransactorRaw struct {
	Contract *BalancerVaultTransactor // Generic write-only contract binding to access the raw methods on
}

BalancerVaultTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BalancerVaultTransactorRaw) Transact

func (_BalancerVault *BalancerVaultTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BalancerVaultTransactorRaw) Transfer

func (_BalancerVault *BalancerVaultTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BalancerVaultTransactorSession

type BalancerVaultTransactorSession struct {
	Contract     *BalancerVaultTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

BalancerVaultTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BalancerVaultTransactorSession) BatchSwap

func (_BalancerVault *BalancerVaultTransactorSession) BatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement, limits []*big.Int, deadline *big.Int) (*types.Transaction, error)

BatchSwap is a paid mutator transaction binding the contract method 0x945bcec9.

Solidity: function batchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds, int256[] limits, uint256 deadline) payable returns(int256[] assetDeltas)

func (*BalancerVaultTransactorSession) DeregisterTokens

func (_BalancerVault *BalancerVaultTransactorSession) DeregisterTokens(poolId [32]byte, tokens []common.Address) (*types.Transaction, error)

DeregisterTokens is a paid mutator transaction binding the contract method 0x7d3aeb96.

Solidity: function deregisterTokens(bytes32 poolId, address[] tokens) returns()

func (*BalancerVaultTransactorSession) ExitPool

func (_BalancerVault *BalancerVaultTransactorSession) ExitPool(poolId [32]byte, sender common.Address, recipient common.Address, request IVaultExitPoolRequest) (*types.Transaction, error)

ExitPool is a paid mutator transaction binding the contract method 0x8bdb3913.

Solidity: function exitPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) returns()

func (*BalancerVaultTransactorSession) FlashLoan

func (_BalancerVault *BalancerVaultTransactorSession) FlashLoan(recipient common.Address, tokens []common.Address, amounts []*big.Int, userData []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5c38449e.

Solidity: function flashLoan(address recipient, address[] tokens, uint256[] amounts, bytes userData) returns()

func (*BalancerVaultTransactorSession) JoinPool

func (_BalancerVault *BalancerVaultTransactorSession) JoinPool(poolId [32]byte, sender common.Address, recipient common.Address, request IVaultJoinPoolRequest) (*types.Transaction, error)

JoinPool is a paid mutator transaction binding the contract method 0xb95cac28.

Solidity: function joinPool(bytes32 poolId, address sender, address recipient, (address[],uint256[],bytes,bool) request) payable returns()

func (*BalancerVaultTransactorSession) ManagePoolBalance

func (_BalancerVault *BalancerVaultTransactorSession) ManagePoolBalance(ops []IVaultPoolBalanceOp) (*types.Transaction, error)

ManagePoolBalance is a paid mutator transaction binding the contract method 0xe6c46092.

Solidity: function managePoolBalance((uint8,bytes32,address,uint256)[] ops) returns()

func (*BalancerVaultTransactorSession) ManageUserBalance

func (_BalancerVault *BalancerVaultTransactorSession) ManageUserBalance(ops []IVaultUserBalanceOp) (*types.Transaction, error)

ManageUserBalance is a paid mutator transaction binding the contract method 0x0e8e3e84.

Solidity: function manageUserBalance((uint8,address,uint256,address,address)[] ops) payable returns()

func (*BalancerVaultTransactorSession) QueryBatchSwap

func (_BalancerVault *BalancerVaultTransactorSession) QueryBatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, funds IVaultFundManagement) (*types.Transaction, error)

QueryBatchSwap is a paid mutator transaction binding the contract method 0xf84d066e.

Solidity: function queryBatchSwap(uint8 kind, (bytes32,uint256,uint256,uint256,bytes)[] swaps, address[] assets, (address,bool,address,bool) funds) returns(int256[])

func (*BalancerVaultTransactorSession) Receive

func (_BalancerVault *BalancerVaultTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BalancerVaultTransactorSession) RegisterPool

func (_BalancerVault *BalancerVaultTransactorSession) RegisterPool(specialization uint8) (*types.Transaction, error)

RegisterPool is a paid mutator transaction binding the contract method 0x09b2760f.

Solidity: function registerPool(uint8 specialization) returns(bytes32)

func (*BalancerVaultTransactorSession) RegisterTokens

func (_BalancerVault *BalancerVaultTransactorSession) RegisterTokens(poolId [32]byte, tokens []common.Address, assetManagers []common.Address) (*types.Transaction, error)

RegisterTokens is a paid mutator transaction binding the contract method 0x66a9c7d2.

Solidity: function registerTokens(bytes32 poolId, address[] tokens, address[] assetManagers) returns()

func (*BalancerVaultTransactorSession) SetAuthorizer

func (_BalancerVault *BalancerVaultTransactorSession) SetAuthorizer(newAuthorizer common.Address) (*types.Transaction, error)

SetAuthorizer is a paid mutator transaction binding the contract method 0x058a628f.

Solidity: function setAuthorizer(address newAuthorizer) returns()

func (*BalancerVaultTransactorSession) SetPaused

func (_BalancerVault *BalancerVaultTransactorSession) SetPaused(paused bool) (*types.Transaction, error)

SetPaused is a paid mutator transaction binding the contract method 0x16c38b3c.

Solidity: function setPaused(bool paused) returns()

func (*BalancerVaultTransactorSession) SetRelayerApproval

func (_BalancerVault *BalancerVaultTransactorSession) SetRelayerApproval(sender common.Address, relayer common.Address, approved bool) (*types.Transaction, error)

SetRelayerApproval is a paid mutator transaction binding the contract method 0xfa6e671d.

Solidity: function setRelayerApproval(address sender, address relayer, bool approved) returns()

func (*BalancerVaultTransactorSession) Swap

func (_BalancerVault *BalancerVaultTransactorSession) Swap(singleSwap IVaultSingleSwap, funds IVaultFundManagement, limit *big.Int, deadline *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x52bbbe29.

Solidity: function swap((bytes32,uint8,address,address,uint256,bytes) singleSwap, (address,bool,address,bool) funds, uint256 limit, uint256 deadline) payable returns(uint256 amountCalculated)

type IVaultBatchSwapStep

type IVaultBatchSwapStep struct {
	PoolId        [32]byte
	AssetInIndex  *big.Int
	AssetOutIndex *big.Int
	Amount        *big.Int
	UserData      []byte
}

IVaultBatchSwapStep is an auto generated low-level Go binding around an user-defined struct.

type IVaultExitPoolRequest

type IVaultExitPoolRequest struct {
	Assets            []common.Address
	MinAmountsOut     []*big.Int
	UserData          []byte
	ToInternalBalance bool
}

IVaultExitPoolRequest is an auto generated low-level Go binding around an user-defined struct.

type IVaultFundManagement

type IVaultFundManagement struct {
	Sender              common.Address
	FromInternalBalance bool
	Recipient           common.Address
	ToInternalBalance   bool
}

IVaultFundManagement is an auto generated low-level Go binding around an user-defined struct.

type IVaultJoinPoolRequest

type IVaultJoinPoolRequest struct {
	Assets              []common.Address
	MaxAmountsIn        []*big.Int
	UserData            []byte
	FromInternalBalance bool
}

IVaultJoinPoolRequest is an auto generated low-level Go binding around an user-defined struct.

type IVaultPoolBalanceOp

type IVaultPoolBalanceOp struct {
	Kind   uint8
	PoolId [32]byte
	Token  common.Address
	Amount *big.Int
}

IVaultPoolBalanceOp is an auto generated low-level Go binding around an user-defined struct.

type IVaultSingleSwap

type IVaultSingleSwap struct {
	PoolId   [32]byte
	Kind     uint8
	AssetIn  common.Address
	AssetOut common.Address
	Amount   *big.Int
	UserData []byte
}

IVaultSingleSwap is an auto generated low-level Go binding around an user-defined struct.

type IVaultUserBalanceOp

type IVaultUserBalanceOp struct {
	Kind      uint8
	Asset     common.Address
	Amount    *big.Int
	Sender    common.Address
	Recipient common.Address
}

IVaultUserBalanceOp is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL