Documentation ¶
Index ¶
- Variables
- type Balancer
- type BalancerAuthorizerChanged
- type BalancerAuthorizerChangedIterator
- type BalancerCaller
- func (_Balancer *BalancerCaller) GetActionId(opts *bind.CallOpts, selector [4]byte) ([32]byte, error)
- func (_Balancer *BalancerCaller) GetAuthorizer(opts *bind.CallOpts) (common.Address, error)
- func (_Balancer *BalancerCaller) GetDomainSeparator(opts *bind.CallOpts) ([32]byte, error)
- func (_Balancer *BalancerCaller) GetInternalBalance(opts *bind.CallOpts, user common.Address, tokens []common.Address) ([]*big.Int, error)
- func (_Balancer *BalancerCaller) GetNextNonce(opts *bind.CallOpts, user common.Address) (*big.Int, error)
- func (_Balancer *BalancerCaller) GetPausedState(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Balancer *BalancerCaller) GetPool(opts *bind.CallOpts, poolId [32]byte) (common.Address, uint8, error)
- func (_Balancer *BalancerCaller) GetPoolTokenInfo(opts *bind.CallOpts, poolId [32]byte, token common.Address) (struct{ ... }, error)
- func (_Balancer *BalancerCaller) GetPoolTokens(opts *bind.CallOpts, poolId [32]byte) (struct{ ... }, error)
- func (_Balancer *BalancerCaller) GetProtocolFeesCollector(opts *bind.CallOpts) (common.Address, error)
- func (_Balancer *BalancerCaller) HasApprovedRelayer(opts *bind.CallOpts, user common.Address, relayer common.Address) (bool, error)
- func (_Balancer *BalancerCaller) WETH(opts *bind.CallOpts) (common.Address, error)
- type BalancerCallerRaw
- type BalancerCallerSession
- func (_Balancer *BalancerCallerSession) GetActionId(selector [4]byte) ([32]byte, error)
- func (_Balancer *BalancerCallerSession) GetAuthorizer() (common.Address, error)
- func (_Balancer *BalancerCallerSession) GetDomainSeparator() ([32]byte, error)
- func (_Balancer *BalancerCallerSession) GetInternalBalance(user common.Address, tokens []common.Address) ([]*big.Int, error)
- func (_Balancer *BalancerCallerSession) GetNextNonce(user common.Address) (*big.Int, error)
- func (_Balancer *BalancerCallerSession) GetPausedState() (struct{ ... }, error)
- func (_Balancer *BalancerCallerSession) GetPool(poolId [32]byte) (common.Address, uint8, error)
- func (_Balancer *BalancerCallerSession) GetPoolTokenInfo(poolId [32]byte, token common.Address) (struct{ ... }, error)
- func (_Balancer *BalancerCallerSession) GetPoolTokens(poolId [32]byte) (struct{ ... }, error)
- func (_Balancer *BalancerCallerSession) GetProtocolFeesCollector() (common.Address, error)
- func (_Balancer *BalancerCallerSession) HasApprovedRelayer(user common.Address, relayer common.Address) (bool, error)
- func (_Balancer *BalancerCallerSession) WETH() (common.Address, error)
- type BalancerExternalBalanceTransfer
- type BalancerExternalBalanceTransferIterator
- type BalancerFilterer
- func (_Balancer *BalancerFilterer) FilterAuthorizerChanged(opts *bind.FilterOpts, newAuthorizer []common.Address) (*BalancerAuthorizerChangedIterator, error)
- func (_Balancer *BalancerFilterer) FilterExternalBalanceTransfer(opts *bind.FilterOpts, token []common.Address, sender []common.Address) (*BalancerExternalBalanceTransferIterator, error)
- func (_Balancer *BalancerFilterer) FilterFlashLoan(opts *bind.FilterOpts, recipient []common.Address, token []common.Address) (*BalancerFlashLoanIterator, error)
- func (_Balancer *BalancerFilterer) FilterInternalBalanceChanged(opts *bind.FilterOpts, user []common.Address, token []common.Address) (*BalancerInternalBalanceChangedIterator, error)
- func (_Balancer *BalancerFilterer) FilterPausedStateChanged(opts *bind.FilterOpts) (*BalancerPausedStateChangedIterator, error)
- func (_Balancer *BalancerFilterer) FilterPoolBalanceChanged(opts *bind.FilterOpts, poolId [][32]byte, liquidityProvider []common.Address) (*BalancerPoolBalanceChangedIterator, error)
- func (_Balancer *BalancerFilterer) FilterPoolBalanceManaged(opts *bind.FilterOpts, poolId [][32]byte, assetManager []common.Address, ...) (*BalancerPoolBalanceManagedIterator, error)
- func (_Balancer *BalancerFilterer) FilterPoolRegistered(opts *bind.FilterOpts, poolId [][32]byte, poolAddress []common.Address) (*BalancerPoolRegisteredIterator, error)
- func (_Balancer *BalancerFilterer) FilterRelayerApprovalChanged(opts *bind.FilterOpts, relayer []common.Address, sender []common.Address) (*BalancerRelayerApprovalChangedIterator, error)
- func (_Balancer *BalancerFilterer) FilterSwap(opts *bind.FilterOpts, poolId [][32]byte, tokenIn []common.Address, ...) (*BalancerSwapIterator, error)
- func (_Balancer *BalancerFilterer) FilterTokensDeregistered(opts *bind.FilterOpts, poolId [][32]byte) (*BalancerTokensDeregisteredIterator, error)
- func (_Balancer *BalancerFilterer) FilterTokensRegistered(opts *bind.FilterOpts, poolId [][32]byte) (*BalancerTokensRegisteredIterator, error)
- func (_Balancer *BalancerFilterer) ParseAuthorizerChanged(log types.Log) (*BalancerAuthorizerChanged, error)
- func (_Balancer *BalancerFilterer) ParseExternalBalanceTransfer(log types.Log) (*BalancerExternalBalanceTransfer, error)
- func (_Balancer *BalancerFilterer) ParseFlashLoan(log types.Log) (*BalancerFlashLoan, error)
- func (_Balancer *BalancerFilterer) ParseInternalBalanceChanged(log types.Log) (*BalancerInternalBalanceChanged, error)
- func (_Balancer *BalancerFilterer) ParsePausedStateChanged(log types.Log) (*BalancerPausedStateChanged, error)
- func (_Balancer *BalancerFilterer) ParsePoolBalanceChanged(log types.Log) (*BalancerPoolBalanceChanged, error)
- func (_Balancer *BalancerFilterer) ParsePoolBalanceManaged(log types.Log) (*BalancerPoolBalanceManaged, error)
- func (_Balancer *BalancerFilterer) ParsePoolRegistered(log types.Log) (*BalancerPoolRegistered, error)
- func (_Balancer *BalancerFilterer) ParseRelayerApprovalChanged(log types.Log) (*BalancerRelayerApprovalChanged, error)
- func (_Balancer *BalancerFilterer) ParseSwap(log types.Log) (*BalancerSwap, error)
- func (_Balancer *BalancerFilterer) ParseTokensDeregistered(log types.Log) (*BalancerTokensDeregistered, error)
- func (_Balancer *BalancerFilterer) ParseTokensRegistered(log types.Log) (*BalancerTokensRegistered, error)
- func (_Balancer *BalancerFilterer) WatchAuthorizerChanged(opts *bind.WatchOpts, sink chan<- *BalancerAuthorizerChanged, ...) (event.Subscription, error)
- func (_Balancer *BalancerFilterer) WatchExternalBalanceTransfer(opts *bind.WatchOpts, sink chan<- *BalancerExternalBalanceTransfer, ...) (event.Subscription, error)
- func (_Balancer *BalancerFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *BalancerFlashLoan, ...) (event.Subscription, error)
- func (_Balancer *BalancerFilterer) WatchInternalBalanceChanged(opts *bind.WatchOpts, sink chan<- *BalancerInternalBalanceChanged, ...) (event.Subscription, error)
- func (_Balancer *BalancerFilterer) WatchPausedStateChanged(opts *bind.WatchOpts, sink chan<- *BalancerPausedStateChanged) (event.Subscription, error)
- func (_Balancer *BalancerFilterer) WatchPoolBalanceChanged(opts *bind.WatchOpts, sink chan<- *BalancerPoolBalanceChanged, ...) (event.Subscription, error)
- func (_Balancer *BalancerFilterer) WatchPoolBalanceManaged(opts *bind.WatchOpts, sink chan<- *BalancerPoolBalanceManaged, ...) (event.Subscription, error)
- func (_Balancer *BalancerFilterer) WatchPoolRegistered(opts *bind.WatchOpts, sink chan<- *BalancerPoolRegistered, poolId [][32]byte, ...) (event.Subscription, error)
- func (_Balancer *BalancerFilterer) WatchRelayerApprovalChanged(opts *bind.WatchOpts, sink chan<- *BalancerRelayerApprovalChanged, ...) (event.Subscription, error)
- func (_Balancer *BalancerFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *BalancerSwap, poolId [][32]byte, ...) (event.Subscription, error)
- func (_Balancer *BalancerFilterer) WatchTokensDeregistered(opts *bind.WatchOpts, sink chan<- *BalancerTokensDeregistered, ...) (event.Subscription, error)
- func (_Balancer *BalancerFilterer) WatchTokensRegistered(opts *bind.WatchOpts, sink chan<- *BalancerTokensRegistered, poolId [][32]byte) (event.Subscription, error)
- type BalancerFlashLoan
- type BalancerFlashLoanIterator
- type BalancerInternalBalanceChanged
- type BalancerInternalBalanceChangedIterator
- type BalancerPausedStateChanged
- type BalancerPausedStateChangedIterator
- type BalancerPoolBalanceChanged
- type BalancerPoolBalanceChangedIterator
- type BalancerPoolBalanceManaged
- type BalancerPoolBalanceManagedIterator
- type BalancerPoolRegistered
- type BalancerPoolRegisteredIterator
- type BalancerRaw
- func (_Balancer *BalancerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Balancer *BalancerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Balancer *BalancerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BalancerRelayerApprovalChanged
- type BalancerRelayerApprovalChangedIterator
- type BalancerSession
- func (_Balancer *BalancerSession) BatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerSession) DeregisterTokens(poolId [32]byte, tokens []common.Address) (*types.Transaction, error)
- func (_Balancer *BalancerSession) ExitPool(poolId [32]byte, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerSession) FlashLoan(recipient common.Address, tokens []common.Address, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Balancer *BalancerSession) GetActionId(selector [4]byte) ([32]byte, error)
- func (_Balancer *BalancerSession) GetAuthorizer() (common.Address, error)
- func (_Balancer *BalancerSession) GetDomainSeparator() ([32]byte, error)
- func (_Balancer *BalancerSession) GetInternalBalance(user common.Address, tokens []common.Address) ([]*big.Int, error)
- func (_Balancer *BalancerSession) GetNextNonce(user common.Address) (*big.Int, error)
- func (_Balancer *BalancerSession) GetPausedState() (struct{ ... }, error)
- func (_Balancer *BalancerSession) GetPool(poolId [32]byte) (common.Address, uint8, error)
- func (_Balancer *BalancerSession) GetPoolTokenInfo(poolId [32]byte, token common.Address) (struct{ ... }, error)
- func (_Balancer *BalancerSession) GetPoolTokens(poolId [32]byte) (struct{ ... }, error)
- func (_Balancer *BalancerSession) GetProtocolFeesCollector() (common.Address, error)
- func (_Balancer *BalancerSession) HasApprovedRelayer(user common.Address, relayer common.Address) (bool, error)
- func (_Balancer *BalancerSession) JoinPool(poolId [32]byte, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerSession) ManagePoolBalance(ops []IVaultPoolBalanceOp) (*types.Transaction, error)
- func (_Balancer *BalancerSession) ManageUserBalance(ops []IVaultUserBalanceOp) (*types.Transaction, error)
- func (_Balancer *BalancerSession) QueryBatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerSession) Receive() (*types.Transaction, error)
- func (_Balancer *BalancerSession) RegisterPool(specialization uint8) (*types.Transaction, error)
- func (_Balancer *BalancerSession) RegisterTokens(poolId [32]byte, tokens []common.Address, assetManagers []common.Address) (*types.Transaction, error)
- func (_Balancer *BalancerSession) SetAuthorizer(newAuthorizer common.Address) (*types.Transaction, error)
- func (_Balancer *BalancerSession) SetPaused(paused bool) (*types.Transaction, error)
- func (_Balancer *BalancerSession) SetRelayerApproval(sender common.Address, relayer common.Address, approved bool) (*types.Transaction, error)
- func (_Balancer *BalancerSession) Swap(singleSwap IVaultSingleSwap, funds IVaultFundManagement, limit *big.Int, ...) (*types.Transaction, error)
- func (_Balancer *BalancerSession) WETH() (common.Address, error)
- type BalancerSwap
- type BalancerSwapIterator
- type BalancerTokensDeregistered
- type BalancerTokensDeregisteredIterator
- type BalancerTokensRegistered
- type BalancerTokensRegisteredIterator
- type BalancerTransactor
- func (_Balancer *BalancerTransactor) BatchSwap(opts *bind.TransactOpts, kind uint8, swaps []IVaultBatchSwapStep, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) DeregisterTokens(opts *bind.TransactOpts, poolId [32]byte, tokens []common.Address) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) ExitPool(opts *bind.TransactOpts, poolId [32]byte, sender common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) FlashLoan(opts *bind.TransactOpts, recipient common.Address, tokens []common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) JoinPool(opts *bind.TransactOpts, poolId [32]byte, sender common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) ManagePoolBalance(opts *bind.TransactOpts, ops []IVaultPoolBalanceOp) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) ManageUserBalance(opts *bind.TransactOpts, ops []IVaultUserBalanceOp) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) QueryBatchSwap(opts *bind.TransactOpts, kind uint8, swaps []IVaultBatchSwapStep, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) RegisterPool(opts *bind.TransactOpts, specialization uint8) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) RegisterTokens(opts *bind.TransactOpts, poolId [32]byte, tokens []common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) SetAuthorizer(opts *bind.TransactOpts, newAuthorizer common.Address) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) SetPaused(opts *bind.TransactOpts, paused bool) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) SetRelayerApproval(opts *bind.TransactOpts, sender common.Address, relayer common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactor) Swap(opts *bind.TransactOpts, singleSwap IVaultSingleSwap, ...) (*types.Transaction, error)
- type BalancerTransactorRaw
- type BalancerTransactorSession
- func (_Balancer *BalancerTransactorSession) BatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) DeregisterTokens(poolId [32]byte, tokens []common.Address) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) ExitPool(poolId [32]byte, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) FlashLoan(recipient common.Address, tokens []common.Address, amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) JoinPool(poolId [32]byte, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) ManagePoolBalance(ops []IVaultPoolBalanceOp) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) ManageUserBalance(ops []IVaultUserBalanceOp) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) QueryBatchSwap(kind uint8, swaps []IVaultBatchSwapStep, assets []common.Address, ...) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) Receive() (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) RegisterPool(specialization uint8) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) RegisterTokens(poolId [32]byte, tokens []common.Address, assetManagers []common.Address) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) SetAuthorizer(newAuthorizer common.Address) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) SetPaused(paused bool) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) SetRelayerApproval(sender common.Address, relayer common.Address, approved bool) (*types.Transaction, error)
- func (_Balancer *BalancerTransactorSession) Swap(singleSwap IVaultSingleSwap, funds IVaultFundManagement, limit *big.Int, ...) (*types.Transaction, error)
- type IVaultBatchSwapStep
- type IVaultExitPoolRequest
- type IVaultFundManagement
- type IVaultJoinPoolRequest
- type IVaultPoolBalanceOp
- type IVaultSingleSwap
- type IVaultUserBalanceOp
Constants ¶
This section is empty.
Variables ¶
var BalancerABI = BalancerMetaData.ABI
BalancerABI is the input ABI used to generate the binding from. Deprecated: Use BalancerMetaData.ABI instead.
var BalancerMetaData = &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\"}]",
}
BalancerMetaData contains all meta data concerning the Balancer contract.
Functions ¶
This section is empty.
Types ¶
type Balancer ¶
type Balancer struct { BalancerCaller // Read-only binding to the contract BalancerTransactor // Write-only binding to the contract BalancerFilterer // Log filterer for contract events }
Balancer is an auto generated Go binding around an Ethereum contract.
func NewBalancer ¶
NewBalancer creates a new instance of Balancer, bound to a specific deployed contract.
type BalancerAuthorizerChanged ¶
type BalancerAuthorizerChanged struct { NewAuthorizer common.Address Raw types.Log // Blockchain specific contextual infos }
BalancerAuthorizerChanged represents a AuthorizerChanged event raised by the Balancer contract.
type BalancerAuthorizerChangedIterator ¶
type BalancerAuthorizerChangedIterator struct { Event *BalancerAuthorizerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerAuthorizerChangedIterator is returned from FilterAuthorizerChanged and is used to iterate over the raw logs and unpacked data for AuthorizerChanged events raised by the Balancer contract.
func (*BalancerAuthorizerChangedIterator) Close ¶
func (it *BalancerAuthorizerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerAuthorizerChangedIterator) Error ¶
func (it *BalancerAuthorizerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerAuthorizerChangedIterator) Next ¶
func (it *BalancerAuthorizerChangedIterator) 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 BalancerCaller ¶
type BalancerCaller struct {
// contains filtered or unexported fields
}
BalancerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBalancerCaller ¶
func NewBalancerCaller(address common.Address, caller bind.ContractCaller) (*BalancerCaller, error)
NewBalancerCaller creates a new read-only instance of Balancer, bound to a specific deployed contract.
func (*BalancerCaller) GetActionId ¶
func (_Balancer *BalancerCaller) 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 (*BalancerCaller) GetAuthorizer ¶
GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.
Solidity: function getAuthorizer() view returns(address)
func (*BalancerCaller) GetDomainSeparator ¶
func (_Balancer *BalancerCaller) 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 (*BalancerCaller) GetInternalBalance ¶
func (_Balancer *BalancerCaller) 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 (*BalancerCaller) GetNextNonce ¶
func (_Balancer *BalancerCaller) 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 (*BalancerCaller) GetPausedState ¶
func (_Balancer *BalancerCaller) 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 (*BalancerCaller) GetPool ¶
func (_Balancer *BalancerCaller) 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 (*BalancerCaller) GetPoolTokenInfo ¶
func (_Balancer *BalancerCaller) 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 (*BalancerCaller) GetPoolTokens ¶
func (_Balancer *BalancerCaller) 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 (*BalancerCaller) GetProtocolFeesCollector ¶
func (_Balancer *BalancerCaller) 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 (*BalancerCaller) HasApprovedRelayer ¶
func (_Balancer *BalancerCaller) 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)
type BalancerCallerRaw ¶
type BalancerCallerRaw struct {
Contract *BalancerCaller // Generic read-only contract binding to access the raw methods on
}
BalancerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BalancerCallerRaw) Call ¶
func (_Balancer *BalancerCallerRaw) 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 BalancerCallerSession ¶
type BalancerCallerSession struct { Contract *BalancerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BalancerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BalancerCallerSession) GetActionId ¶
func (_Balancer *BalancerCallerSession) 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 (*BalancerCallerSession) GetAuthorizer ¶
func (_Balancer *BalancerCallerSession) GetAuthorizer() (common.Address, error)
GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.
Solidity: function getAuthorizer() view returns(address)
func (*BalancerCallerSession) GetDomainSeparator ¶
func (_Balancer *BalancerCallerSession) GetDomainSeparator() ([32]byte, error)
GetDomainSeparator is a free data retrieval call binding the contract method 0xed24911d.
Solidity: function getDomainSeparator() view returns(bytes32)
func (*BalancerCallerSession) GetInternalBalance ¶
func (_Balancer *BalancerCallerSession) 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 (*BalancerCallerSession) GetNextNonce ¶
GetNextNonce is a free data retrieval call binding the contract method 0x90193b7c.
Solidity: function getNextNonce(address user) view returns(uint256)
func (*BalancerCallerSession) GetPausedState ¶
func (_Balancer *BalancerCallerSession) 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 (*BalancerCallerSession) GetPool ¶
GetPool is a free data retrieval call binding the contract method 0xf6c00927.
Solidity: function getPool(bytes32 poolId) view returns(address, uint8)
func (*BalancerCallerSession) GetPoolTokenInfo ¶
func (_Balancer *BalancerCallerSession) 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 (*BalancerCallerSession) GetPoolTokens ¶
func (_Balancer *BalancerCallerSession) 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 (*BalancerCallerSession) GetProtocolFeesCollector ¶
func (_Balancer *BalancerCallerSession) GetProtocolFeesCollector() (common.Address, error)
GetProtocolFeesCollector is a free data retrieval call binding the contract method 0xd2946c2b.
Solidity: function getProtocolFeesCollector() view returns(address)
func (*BalancerCallerSession) HasApprovedRelayer ¶
func (_Balancer *BalancerCallerSession) 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)
type BalancerExternalBalanceTransfer ¶
type BalancerExternalBalanceTransfer struct { Token common.Address Sender common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
BalancerExternalBalanceTransfer represents a ExternalBalanceTransfer event raised by the Balancer contract.
type BalancerExternalBalanceTransferIterator ¶
type BalancerExternalBalanceTransferIterator struct { Event *BalancerExternalBalanceTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerExternalBalanceTransferIterator is returned from FilterExternalBalanceTransfer and is used to iterate over the raw logs and unpacked data for ExternalBalanceTransfer events raised by the Balancer contract.
func (*BalancerExternalBalanceTransferIterator) Close ¶
func (it *BalancerExternalBalanceTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerExternalBalanceTransferIterator) Error ¶
func (it *BalancerExternalBalanceTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerExternalBalanceTransferIterator) Next ¶
func (it *BalancerExternalBalanceTransferIterator) 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 BalancerFilterer ¶
type BalancerFilterer struct {
// contains filtered or unexported fields
}
BalancerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBalancerFilterer ¶
func NewBalancerFilterer(address common.Address, filterer bind.ContractFilterer) (*BalancerFilterer, error)
NewBalancerFilterer creates a new log filterer instance of Balancer, bound to a specific deployed contract.
func (*BalancerFilterer) FilterAuthorizerChanged ¶
func (_Balancer *BalancerFilterer) FilterAuthorizerChanged(opts *bind.FilterOpts, newAuthorizer []common.Address) (*BalancerAuthorizerChangedIterator, error)
FilterAuthorizerChanged is a free log retrieval operation binding the contract event 0x94b979b6831a51293e2641426f97747feed46f17779fed9cd18d1ecefcfe92ef.
Solidity: event AuthorizerChanged(address indexed newAuthorizer)
func (*BalancerFilterer) FilterExternalBalanceTransfer ¶
func (_Balancer *BalancerFilterer) FilterExternalBalanceTransfer(opts *bind.FilterOpts, token []common.Address, sender []common.Address) (*BalancerExternalBalanceTransferIterator, 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 (*BalancerFilterer) FilterFlashLoan ¶
func (_Balancer *BalancerFilterer) FilterFlashLoan(opts *bind.FilterOpts, recipient []common.Address, token []common.Address) (*BalancerFlashLoanIterator, 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 (*BalancerFilterer) FilterInternalBalanceChanged ¶
func (_Balancer *BalancerFilterer) FilterInternalBalanceChanged(opts *bind.FilterOpts, user []common.Address, token []common.Address) (*BalancerInternalBalanceChangedIterator, 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 (*BalancerFilterer) FilterPausedStateChanged ¶
func (_Balancer *BalancerFilterer) FilterPausedStateChanged(opts *bind.FilterOpts) (*BalancerPausedStateChangedIterator, error)
FilterPausedStateChanged is a free log retrieval operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.
Solidity: event PausedStateChanged(bool paused)
func (*BalancerFilterer) FilterPoolBalanceChanged ¶
func (_Balancer *BalancerFilterer) FilterPoolBalanceChanged(opts *bind.FilterOpts, poolId [][32]byte, liquidityProvider []common.Address) (*BalancerPoolBalanceChangedIterator, 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 (*BalancerFilterer) FilterPoolBalanceManaged ¶
func (_Balancer *BalancerFilterer) FilterPoolBalanceManaged(opts *bind.FilterOpts, poolId [][32]byte, assetManager []common.Address, token []common.Address) (*BalancerPoolBalanceManagedIterator, 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 (*BalancerFilterer) FilterPoolRegistered ¶
func (_Balancer *BalancerFilterer) FilterPoolRegistered(opts *bind.FilterOpts, poolId [][32]byte, poolAddress []common.Address) (*BalancerPoolRegisteredIterator, 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 (*BalancerFilterer) FilterRelayerApprovalChanged ¶
func (_Balancer *BalancerFilterer) FilterRelayerApprovalChanged(opts *bind.FilterOpts, relayer []common.Address, sender []common.Address) (*BalancerRelayerApprovalChangedIterator, 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 (*BalancerFilterer) FilterSwap ¶
func (_Balancer *BalancerFilterer) FilterSwap(opts *bind.FilterOpts, poolId [][32]byte, tokenIn []common.Address, tokenOut []common.Address) (*BalancerSwapIterator, 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 (*BalancerFilterer) FilterTokensDeregistered ¶
func (_Balancer *BalancerFilterer) FilterTokensDeregistered(opts *bind.FilterOpts, poolId [][32]byte) (*BalancerTokensDeregisteredIterator, error)
FilterTokensDeregistered is a free log retrieval operation binding the contract event 0x7dcdc6d02ef40c7c1a7046a011b058bd7f988fa14e20a66344f9d4e60657d610.
Solidity: event TokensDeregistered(bytes32 indexed poolId, address[] tokens)
func (*BalancerFilterer) FilterTokensRegistered ¶
func (_Balancer *BalancerFilterer) FilterTokensRegistered(opts *bind.FilterOpts, poolId [][32]byte) (*BalancerTokensRegisteredIterator, error)
FilterTokensRegistered is a free log retrieval operation binding the contract event 0xf5847d3f2197b16cdcd2098ec95d0905cd1abdaf415f07bb7cef2bba8ac5dec4.
Solidity: event TokensRegistered(bytes32 indexed poolId, address[] tokens, address[] assetManagers)
func (*BalancerFilterer) ParseAuthorizerChanged ¶
func (_Balancer *BalancerFilterer) ParseAuthorizerChanged(log types.Log) (*BalancerAuthorizerChanged, error)
ParseAuthorizerChanged is a log parse operation binding the contract event 0x94b979b6831a51293e2641426f97747feed46f17779fed9cd18d1ecefcfe92ef.
Solidity: event AuthorizerChanged(address indexed newAuthorizer)
func (*BalancerFilterer) ParseExternalBalanceTransfer ¶
func (_Balancer *BalancerFilterer) ParseExternalBalanceTransfer(log types.Log) (*BalancerExternalBalanceTransfer, 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 (*BalancerFilterer) ParseFlashLoan ¶
func (_Balancer *BalancerFilterer) ParseFlashLoan(log types.Log) (*BalancerFlashLoan, 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 (*BalancerFilterer) ParseInternalBalanceChanged ¶
func (_Balancer *BalancerFilterer) ParseInternalBalanceChanged(log types.Log) (*BalancerInternalBalanceChanged, error)
ParseInternalBalanceChanged is a log parse operation binding the contract event 0x18e1ea4139e68413d7d08aa752e71568e36b2c5bf940893314c2c5b01eaa0c42.
Solidity: event InternalBalanceChanged(address indexed user, address indexed token, int256 delta)
func (*BalancerFilterer) ParsePausedStateChanged ¶
func (_Balancer *BalancerFilterer) ParsePausedStateChanged(log types.Log) (*BalancerPausedStateChanged, error)
ParsePausedStateChanged is a log parse operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.
Solidity: event PausedStateChanged(bool paused)
func (*BalancerFilterer) ParsePoolBalanceChanged ¶
func (_Balancer *BalancerFilterer) ParsePoolBalanceChanged(log types.Log) (*BalancerPoolBalanceChanged, 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 (*BalancerFilterer) ParsePoolBalanceManaged ¶
func (_Balancer *BalancerFilterer) ParsePoolBalanceManaged(log types.Log) (*BalancerPoolBalanceManaged, 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 (*BalancerFilterer) ParsePoolRegistered ¶
func (_Balancer *BalancerFilterer) ParsePoolRegistered(log types.Log) (*BalancerPoolRegistered, error)
ParsePoolRegistered is a log parse operation binding the contract event 0x3c13bc30b8e878c53fd2a36b679409c073afd75950be43d8858768e956fbc20e.
Solidity: event PoolRegistered(bytes32 indexed poolId, address indexed poolAddress, uint8 specialization)
func (*BalancerFilterer) ParseRelayerApprovalChanged ¶
func (_Balancer *BalancerFilterer) ParseRelayerApprovalChanged(log types.Log) (*BalancerRelayerApprovalChanged, error)
ParseRelayerApprovalChanged is a log parse operation binding the contract event 0x46961fdb4502b646d5095fba7600486a8ac05041d55cdf0f16ed677180b5cad8.
Solidity: event RelayerApprovalChanged(address indexed relayer, address indexed sender, bool approved)
func (*BalancerFilterer) ParseSwap ¶
func (_Balancer *BalancerFilterer) ParseSwap(log types.Log) (*BalancerSwap, 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 (*BalancerFilterer) ParseTokensDeregistered ¶
func (_Balancer *BalancerFilterer) ParseTokensDeregistered(log types.Log) (*BalancerTokensDeregistered, error)
ParseTokensDeregistered is a log parse operation binding the contract event 0x7dcdc6d02ef40c7c1a7046a011b058bd7f988fa14e20a66344f9d4e60657d610.
Solidity: event TokensDeregistered(bytes32 indexed poolId, address[] tokens)
func (*BalancerFilterer) ParseTokensRegistered ¶
func (_Balancer *BalancerFilterer) ParseTokensRegistered(log types.Log) (*BalancerTokensRegistered, error)
ParseTokensRegistered is a log parse operation binding the contract event 0xf5847d3f2197b16cdcd2098ec95d0905cd1abdaf415f07bb7cef2bba8ac5dec4.
Solidity: event TokensRegistered(bytes32 indexed poolId, address[] tokens, address[] assetManagers)
func (*BalancerFilterer) WatchAuthorizerChanged ¶
func (_Balancer *BalancerFilterer) WatchAuthorizerChanged(opts *bind.WatchOpts, sink chan<- *BalancerAuthorizerChanged, 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 (*BalancerFilterer) WatchExternalBalanceTransfer ¶
func (_Balancer *BalancerFilterer) WatchExternalBalanceTransfer(opts *bind.WatchOpts, sink chan<- *BalancerExternalBalanceTransfer, 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 (*BalancerFilterer) WatchFlashLoan ¶
func (_Balancer *BalancerFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *BalancerFlashLoan, 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 (*BalancerFilterer) WatchInternalBalanceChanged ¶
func (_Balancer *BalancerFilterer) WatchInternalBalanceChanged(opts *bind.WatchOpts, sink chan<- *BalancerInternalBalanceChanged, 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 (*BalancerFilterer) WatchPausedStateChanged ¶
func (_Balancer *BalancerFilterer) WatchPausedStateChanged(opts *bind.WatchOpts, sink chan<- *BalancerPausedStateChanged) (event.Subscription, error)
WatchPausedStateChanged is a free log subscription operation binding the contract event 0x9e3a5e37224532dea67b89face185703738a228a6e8a23dee546960180d3be64.
Solidity: event PausedStateChanged(bool paused)
func (*BalancerFilterer) WatchPoolBalanceChanged ¶
func (_Balancer *BalancerFilterer) WatchPoolBalanceChanged(opts *bind.WatchOpts, sink chan<- *BalancerPoolBalanceChanged, 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 (*BalancerFilterer) WatchPoolBalanceManaged ¶
func (_Balancer *BalancerFilterer) WatchPoolBalanceManaged(opts *bind.WatchOpts, sink chan<- *BalancerPoolBalanceManaged, 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 (*BalancerFilterer) WatchPoolRegistered ¶
func (_Balancer *BalancerFilterer) WatchPoolRegistered(opts *bind.WatchOpts, sink chan<- *BalancerPoolRegistered, 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 (*BalancerFilterer) WatchRelayerApprovalChanged ¶
func (_Balancer *BalancerFilterer) WatchRelayerApprovalChanged(opts *bind.WatchOpts, sink chan<- *BalancerRelayerApprovalChanged, 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 (*BalancerFilterer) WatchSwap ¶
func (_Balancer *BalancerFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *BalancerSwap, 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 (*BalancerFilterer) WatchTokensDeregistered ¶
func (_Balancer *BalancerFilterer) WatchTokensDeregistered(opts *bind.WatchOpts, sink chan<- *BalancerTokensDeregistered, 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 (*BalancerFilterer) WatchTokensRegistered ¶
func (_Balancer *BalancerFilterer) WatchTokensRegistered(opts *bind.WatchOpts, sink chan<- *BalancerTokensRegistered, 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 BalancerFlashLoan ¶
type BalancerFlashLoan struct { Recipient common.Address Token common.Address Amount *big.Int FeeAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
BalancerFlashLoan represents a FlashLoan event raised by the Balancer contract.
type BalancerFlashLoanIterator ¶
type BalancerFlashLoanIterator struct { Event *BalancerFlashLoan // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerFlashLoanIterator is returned from FilterFlashLoan and is used to iterate over the raw logs and unpacked data for FlashLoan events raised by the Balancer contract.
func (*BalancerFlashLoanIterator) Close ¶
func (it *BalancerFlashLoanIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerFlashLoanIterator) Error ¶
func (it *BalancerFlashLoanIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerFlashLoanIterator) Next ¶
func (it *BalancerFlashLoanIterator) 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 BalancerInternalBalanceChanged ¶
type BalancerInternalBalanceChanged struct { User common.Address Token common.Address Delta *big.Int Raw types.Log // Blockchain specific contextual infos }
BalancerInternalBalanceChanged represents a InternalBalanceChanged event raised by the Balancer contract.
type BalancerInternalBalanceChangedIterator ¶
type BalancerInternalBalanceChangedIterator struct { Event *BalancerInternalBalanceChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerInternalBalanceChangedIterator is returned from FilterInternalBalanceChanged and is used to iterate over the raw logs and unpacked data for InternalBalanceChanged events raised by the Balancer contract.
func (*BalancerInternalBalanceChangedIterator) Close ¶
func (it *BalancerInternalBalanceChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerInternalBalanceChangedIterator) Error ¶
func (it *BalancerInternalBalanceChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerInternalBalanceChangedIterator) Next ¶
func (it *BalancerInternalBalanceChangedIterator) 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 BalancerPausedStateChanged ¶
type BalancerPausedStateChanged struct { Paused bool Raw types.Log // Blockchain specific contextual infos }
BalancerPausedStateChanged represents a PausedStateChanged event raised by the Balancer contract.
type BalancerPausedStateChangedIterator ¶
type BalancerPausedStateChangedIterator struct { Event *BalancerPausedStateChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerPausedStateChangedIterator is returned from FilterPausedStateChanged and is used to iterate over the raw logs and unpacked data for PausedStateChanged events raised by the Balancer contract.
func (*BalancerPausedStateChangedIterator) Close ¶
func (it *BalancerPausedStateChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerPausedStateChangedIterator) Error ¶
func (it *BalancerPausedStateChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerPausedStateChangedIterator) Next ¶
func (it *BalancerPausedStateChangedIterator) 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 BalancerPoolBalanceChanged ¶
type BalancerPoolBalanceChanged struct { PoolId [32]byte LiquidityProvider common.Address Tokens []common.Address Deltas []*big.Int ProtocolFeeAmounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
BalancerPoolBalanceChanged represents a PoolBalanceChanged event raised by the Balancer contract.
type BalancerPoolBalanceChangedIterator ¶
type BalancerPoolBalanceChangedIterator struct { Event *BalancerPoolBalanceChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerPoolBalanceChangedIterator is returned from FilterPoolBalanceChanged and is used to iterate over the raw logs and unpacked data for PoolBalanceChanged events raised by the Balancer contract.
func (*BalancerPoolBalanceChangedIterator) Close ¶
func (it *BalancerPoolBalanceChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerPoolBalanceChangedIterator) Error ¶
func (it *BalancerPoolBalanceChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerPoolBalanceChangedIterator) Next ¶
func (it *BalancerPoolBalanceChangedIterator) 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 BalancerPoolBalanceManaged ¶
type BalancerPoolBalanceManaged struct { PoolId [32]byte AssetManager common.Address Token common.Address CashDelta *big.Int ManagedDelta *big.Int Raw types.Log // Blockchain specific contextual infos }
BalancerPoolBalanceManaged represents a PoolBalanceManaged event raised by the Balancer contract.
type BalancerPoolBalanceManagedIterator ¶
type BalancerPoolBalanceManagedIterator struct { Event *BalancerPoolBalanceManaged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerPoolBalanceManagedIterator is returned from FilterPoolBalanceManaged and is used to iterate over the raw logs and unpacked data for PoolBalanceManaged events raised by the Balancer contract.
func (*BalancerPoolBalanceManagedIterator) Close ¶
func (it *BalancerPoolBalanceManagedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerPoolBalanceManagedIterator) Error ¶
func (it *BalancerPoolBalanceManagedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerPoolBalanceManagedIterator) Next ¶
func (it *BalancerPoolBalanceManagedIterator) 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 BalancerPoolRegistered ¶
type BalancerPoolRegistered struct { PoolId [32]byte PoolAddress common.Address Specialization uint8 Raw types.Log // Blockchain specific contextual infos }
BalancerPoolRegistered represents a PoolRegistered event raised by the Balancer contract.
type BalancerPoolRegisteredIterator ¶
type BalancerPoolRegisteredIterator struct { Event *BalancerPoolRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerPoolRegisteredIterator is returned from FilterPoolRegistered and is used to iterate over the raw logs and unpacked data for PoolRegistered events raised by the Balancer contract.
func (*BalancerPoolRegisteredIterator) Close ¶
func (it *BalancerPoolRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerPoolRegisteredIterator) Error ¶
func (it *BalancerPoolRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerPoolRegisteredIterator) Next ¶
func (it *BalancerPoolRegisteredIterator) 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 BalancerRaw ¶
type BalancerRaw struct {
Contract *Balancer // Generic contract binding to access the raw methods on
}
BalancerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BalancerRaw) Call ¶
func (_Balancer *BalancerRaw) 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 (*BalancerRaw) Transact ¶
func (_Balancer *BalancerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BalancerRaw) Transfer ¶
func (_Balancer *BalancerRaw) 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 BalancerRelayerApprovalChanged ¶
type BalancerRelayerApprovalChanged struct { Relayer common.Address Sender common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
BalancerRelayerApprovalChanged represents a RelayerApprovalChanged event raised by the Balancer contract.
type BalancerRelayerApprovalChangedIterator ¶
type BalancerRelayerApprovalChangedIterator struct { Event *BalancerRelayerApprovalChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerRelayerApprovalChangedIterator is returned from FilterRelayerApprovalChanged and is used to iterate over the raw logs and unpacked data for RelayerApprovalChanged events raised by the Balancer contract.
func (*BalancerRelayerApprovalChangedIterator) Close ¶
func (it *BalancerRelayerApprovalChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerRelayerApprovalChangedIterator) Error ¶
func (it *BalancerRelayerApprovalChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerRelayerApprovalChangedIterator) Next ¶
func (it *BalancerRelayerApprovalChangedIterator) 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 BalancerSession ¶
type BalancerSession struct { Contract *Balancer // 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 }
BalancerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BalancerSession) BatchSwap ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) DeregisterTokens ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) ExitPool ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) FlashLoan ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) GetActionId ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) GetAuthorizer ¶
func (_Balancer *BalancerSession) GetAuthorizer() (common.Address, error)
GetAuthorizer is a free data retrieval call binding the contract method 0xaaabadc5.
Solidity: function getAuthorizer() view returns(address)
func (*BalancerSession) GetDomainSeparator ¶
func (_Balancer *BalancerSession) GetDomainSeparator() ([32]byte, error)
GetDomainSeparator is a free data retrieval call binding the contract method 0xed24911d.
Solidity: function getDomainSeparator() view returns(bytes32)
func (*BalancerSession) GetInternalBalance ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) GetNextNonce ¶
GetNextNonce is a free data retrieval call binding the contract method 0x90193b7c.
Solidity: function getNextNonce(address user) view returns(uint256)
func (*BalancerSession) GetPausedState ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) GetPool ¶
GetPool is a free data retrieval call binding the contract method 0xf6c00927.
Solidity: function getPool(bytes32 poolId) view returns(address, uint8)
func (*BalancerSession) GetPoolTokenInfo ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) GetPoolTokens ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) GetProtocolFeesCollector ¶
func (_Balancer *BalancerSession) GetProtocolFeesCollector() (common.Address, error)
GetProtocolFeesCollector is a free data retrieval call binding the contract method 0xd2946c2b.
Solidity: function getProtocolFeesCollector() view returns(address)
func (*BalancerSession) HasApprovedRelayer ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) JoinPool ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) ManagePoolBalance ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) ManageUserBalance ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) QueryBatchSwap ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) Receive ¶
func (_Balancer *BalancerSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*BalancerSession) RegisterPool ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) RegisterTokens ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) SetAuthorizer ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) SetPaused ¶
func (_Balancer *BalancerSession) SetPaused(paused bool) (*types.Transaction, error)
SetPaused is a paid mutator transaction binding the contract method 0x16c38b3c.
Solidity: function setPaused(bool paused) returns()
func (*BalancerSession) SetRelayerApproval ¶
func (_Balancer *BalancerSession) 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 (*BalancerSession) Swap ¶
func (_Balancer *BalancerSession) 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 BalancerSwap ¶
type BalancerSwap struct { PoolId [32]byte TokenIn common.Address TokenOut common.Address AmountIn *big.Int AmountOut *big.Int Raw types.Log // Blockchain specific contextual infos }
BalancerSwap represents a Swap event raised by the Balancer contract.
type BalancerSwapIterator ¶
type BalancerSwapIterator struct { Event *BalancerSwap // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the Balancer contract.
func (*BalancerSwapIterator) Close ¶
func (it *BalancerSwapIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerSwapIterator) Error ¶
func (it *BalancerSwapIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerSwapIterator) Next ¶
func (it *BalancerSwapIterator) 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 BalancerTokensDeregistered ¶
type BalancerTokensDeregistered struct { PoolId [32]byte Tokens []common.Address Raw types.Log // Blockchain specific contextual infos }
BalancerTokensDeregistered represents a TokensDeregistered event raised by the Balancer contract.
type BalancerTokensDeregisteredIterator ¶
type BalancerTokensDeregisteredIterator struct { Event *BalancerTokensDeregistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerTokensDeregisteredIterator is returned from FilterTokensDeregistered and is used to iterate over the raw logs and unpacked data for TokensDeregistered events raised by the Balancer contract.
func (*BalancerTokensDeregisteredIterator) Close ¶
func (it *BalancerTokensDeregisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerTokensDeregisteredIterator) Error ¶
func (it *BalancerTokensDeregisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerTokensDeregisteredIterator) Next ¶
func (it *BalancerTokensDeregisteredIterator) 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 BalancerTokensRegistered ¶
type BalancerTokensRegistered struct { PoolId [32]byte Tokens []common.Address AssetManagers []common.Address Raw types.Log // Blockchain specific contextual infos }
BalancerTokensRegistered represents a TokensRegistered event raised by the Balancer contract.
type BalancerTokensRegisteredIterator ¶
type BalancerTokensRegisteredIterator struct { Event *BalancerTokensRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerTokensRegisteredIterator is returned from FilterTokensRegistered and is used to iterate over the raw logs and unpacked data for TokensRegistered events raised by the Balancer contract.
func (*BalancerTokensRegisteredIterator) Close ¶
func (it *BalancerTokensRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerTokensRegisteredIterator) Error ¶
func (it *BalancerTokensRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerTokensRegisteredIterator) Next ¶
func (it *BalancerTokensRegisteredIterator) 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 BalancerTransactor ¶
type BalancerTransactor struct {
// contains filtered or unexported fields
}
BalancerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBalancerTransactor ¶
func NewBalancerTransactor(address common.Address, transactor bind.ContractTransactor) (*BalancerTransactor, error)
NewBalancerTransactor creates a new write-only instance of Balancer, bound to a specific deployed contract.
func (*BalancerTransactor) BatchSwap ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) DeregisterTokens ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) ExitPool ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) FlashLoan ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) JoinPool ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) ManagePoolBalance ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) ManageUserBalance ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) QueryBatchSwap ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) Receive ¶
func (_Balancer *BalancerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*BalancerTransactor) RegisterPool ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) RegisterTokens ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) SetAuthorizer ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) SetPaused ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) SetRelayerApproval ¶
func (_Balancer *BalancerTransactor) 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 (*BalancerTransactor) Swap ¶
func (_Balancer *BalancerTransactor) 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 BalancerTransactorRaw ¶
type BalancerTransactorRaw struct {
Contract *BalancerTransactor // Generic write-only contract binding to access the raw methods on
}
BalancerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BalancerTransactorRaw) Transact ¶
func (_Balancer *BalancerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BalancerTransactorRaw) Transfer ¶
func (_Balancer *BalancerTransactorRaw) 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 BalancerTransactorSession ¶
type BalancerTransactorSession struct { Contract *BalancerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BalancerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BalancerTransactorSession) BatchSwap ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) DeregisterTokens ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) ExitPool ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) FlashLoan ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) JoinPool ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) ManagePoolBalance ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) ManageUserBalance ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) QueryBatchSwap ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) Receive ¶
func (_Balancer *BalancerTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*BalancerTransactorSession) RegisterPool ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) RegisterTokens ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) SetAuthorizer ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) SetPaused ¶
func (_Balancer *BalancerTransactorSession) SetPaused(paused bool) (*types.Transaction, error)
SetPaused is a paid mutator transaction binding the contract method 0x16c38b3c.
Solidity: function setPaused(bool paused) returns()
func (*BalancerTransactorSession) SetRelayerApproval ¶
func (_Balancer *BalancerTransactorSession) 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 (*BalancerTransactorSession) Swap ¶
func (_Balancer *BalancerTransactorSession) 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 ¶
IVaultPoolBalanceOp is an auto generated low-level Go binding around an user-defined struct.