Documentation ¶
Index ¶
- Constants
- type Balancerpoolcontract
- type BalancerpoolcontractApproval
- type BalancerpoolcontractApprovalIterator
- type BalancerpoolcontractCaller
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) Allowance(opts *bind.CallOpts, src common.Address, dst common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) BONE(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) BPOWPRECISION(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) BalanceOf(opts *bind.CallOpts, whom common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcInGivenOut(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcOutGivenIn(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcPoolInGivenSingleOut(opts *bind.CallOpts, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcPoolOutGivenSingleIn(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcSingleInGivenPoolOut(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcSingleOutGivenPoolIn(opts *bind.CallOpts, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcSpotPrice(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) EXITFEE(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetBalance(opts *bind.CallOpts, token common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetColor(opts *bind.CallOpts) ([32]byte, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetController(opts *bind.CallOpts) (common.Address, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetCurrentTokens(opts *bind.CallOpts) ([]common.Address, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetDenormalizedWeight(opts *bind.CallOpts, token common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetFinalTokens(opts *bind.CallOpts) ([]common.Address, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetNormalizedWeight(opts *bind.CallOpts, token common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetNumTokens(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetSpotPrice(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetSpotPriceSansFee(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetSwapFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetTotalDenormalizedWeight(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) INITPOOLSUPPLY(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) IsBound(opts *bind.CallOpts, t common.Address) (bool, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) IsFinalized(opts *bind.CallOpts) (bool, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) IsPublicSwap(opts *bind.CallOpts) (bool, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXBOUNDTOKENS(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXBPOWBASE(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXFEE(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXINRATIO(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXOUTRATIO(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXTOTALWEIGHT(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXWEIGHT(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MINBALANCE(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MINBOUNDTOKENS(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MINBPOWBASE(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MINFEE(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) MINWEIGHT(opts *bind.CallOpts) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type BalancerpoolcontractCallerRaw
- type BalancerpoolcontractCallerSession
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) Allowance(src common.Address, dst common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) BONE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) BPOWPRECISION() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) BalanceOf(whom common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcInGivenOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcOutGivenIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcPoolInGivenSingleOut(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcPoolOutGivenSingleIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcSingleInGivenPoolOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcSingleOutGivenPoolIn(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcSpotPrice(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) Decimals() (uint8, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) EXITFEE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetBalance(token common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetColor() ([32]byte, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetController() (common.Address, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetCurrentTokens() ([]common.Address, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetDenormalizedWeight(token common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetFinalTokens() ([]common.Address, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetNormalizedWeight(token common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetNumTokens() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetSpotPrice(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetSpotPriceSansFee(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetSwapFee() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetTotalDenormalizedWeight() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) INITPOOLSUPPLY() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) IsBound(t common.Address) (bool, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) IsFinalized() (bool, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) IsPublicSwap() (bool, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXBOUNDTOKENS() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXBPOWBASE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXFEE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXINRATIO() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXOUTRATIO() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXTOTALWEIGHT() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXWEIGHT() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MINBALANCE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MINBOUNDTOKENS() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MINBPOWBASE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MINFEE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MINWEIGHT() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) Name() (string, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) Symbol() (string, error)
- func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) TotalSupply() (*big.Int, error)
- type BalancerpoolcontractFilterer
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*BalancerpoolcontractApprovalIterator, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) FilterLOGEXIT(opts *bind.FilterOpts, caller []common.Address, tokenOut []common.Address) (*BalancerpoolcontractLOGEXITIterator, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) FilterLOGJOIN(opts *bind.FilterOpts, caller []common.Address, tokenIn []common.Address) (*BalancerpoolcontractLOGJOINIterator, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) FilterLOGSWAP(opts *bind.FilterOpts, caller []common.Address, tokenIn []common.Address, ...) (*BalancerpoolcontractLOGSWAPIterator, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*BalancerpoolcontractTransferIterator, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) ParseApproval(log types.Log) (*BalancerpoolcontractApproval, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) ParseLOGEXIT(log types.Log) (*BalancerpoolcontractLOGEXIT, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) ParseLOGJOIN(log types.Log) (*BalancerpoolcontractLOGJOIN, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) ParseLOGSWAP(log types.Log) (*BalancerpoolcontractLOGSWAP, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) ParseTransfer(log types.Log) (*BalancerpoolcontractTransfer, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BalancerpoolcontractApproval, ...) (event.Subscription, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) WatchLOGEXIT(opts *bind.WatchOpts, sink chan<- *BalancerpoolcontractLOGEXIT, ...) (event.Subscription, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) WatchLOGJOIN(opts *bind.WatchOpts, sink chan<- *BalancerpoolcontractLOGJOIN, ...) (event.Subscription, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) WatchLOGSWAP(opts *bind.WatchOpts, sink chan<- *BalancerpoolcontractLOGSWAP, ...) (event.Subscription, error)
- func (_Balancerpoolcontract *BalancerpoolcontractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BalancerpoolcontractTransfer, ...) (event.Subscription, error)
- type BalancerpoolcontractLOGEXIT
- type BalancerpoolcontractLOGEXITIterator
- type BalancerpoolcontractLOGJOIN
- type BalancerpoolcontractLOGJOINIterator
- type BalancerpoolcontractLOGSWAP
- type BalancerpoolcontractLOGSWAPIterator
- type BalancerpoolcontractRaw
- func (_Balancerpoolcontract *BalancerpoolcontractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Balancerpoolcontract *BalancerpoolcontractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BalancerpoolcontractSession
- func (_Balancerpoolcontract *BalancerpoolcontractSession) Allowance(src common.Address, dst common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) Approve(dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) BONE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) BPOWPRECISION() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) BalanceOf(whom common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) Bind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcInGivenOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcOutGivenIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcPoolInGivenSingleOut(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcPoolOutGivenSingleIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcSingleInGivenPoolOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcSingleOutGivenPoolIn(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcSpotPrice(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, ...) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) Decimals() (uint8, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) DecreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) EXITFEE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) ExitPool(poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) ExitswapExternAmountOut(tokenOut common.Address, tokenAmountOut *big.Int, maxPoolAmountIn *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) ExitswapPoolAmountIn(tokenOut common.Address, poolAmountIn *big.Int, minAmountOut *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) Finalize() (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetBalance(token common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetColor() ([32]byte, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetController() (common.Address, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetCurrentTokens() ([]common.Address, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetDenormalizedWeight(token common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetFinalTokens() ([]common.Address, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetNormalizedWeight(token common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetNumTokens() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetSpotPrice(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetSpotPriceSansFee(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetSwapFee() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) GetTotalDenormalizedWeight() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) Gulp(token common.Address) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) INITPOOLSUPPLY() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) IncreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) IsBound(t common.Address) (bool, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) IsFinalized() (bool, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) IsPublicSwap() (bool, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) JoinPool(poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) JoinswapExternAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, minPoolAmountOut *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) JoinswapPoolAmountOut(tokenIn common.Address, poolAmountOut *big.Int, maxAmountIn *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXBOUNDTOKENS() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXBPOWBASE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXFEE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXINRATIO() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXOUTRATIO() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXTOTALWEIGHT() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXWEIGHT() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MINBALANCE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MINBOUNDTOKENS() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MINBPOWBASE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MINFEE() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) MINWEIGHT() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) Name() (string, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) Rebind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) SetController(manager common.Address) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) SetPublicSwap(public_ bool) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) SetSwapFee(swapFee *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) SwapExactAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, tokenOut common.Address, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) SwapExactAmountOut(tokenIn common.Address, maxAmountIn *big.Int, tokenOut common.Address, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) Symbol() (string, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) TotalSupply() (*big.Int, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) Transfer(dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) TransferFrom(src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractSession) Unbind(token common.Address) (*types.Transaction, error)
- type BalancerpoolcontractTransactor
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Approve(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Bind(opts *bind.TransactOpts, token common.Address, balance *big.Int, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) DecreaseApproval(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) ExitPool(opts *bind.TransactOpts, poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) ExitswapExternAmountOut(opts *bind.TransactOpts, tokenOut common.Address, tokenAmountOut *big.Int, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) ExitswapPoolAmountIn(opts *bind.TransactOpts, tokenOut common.Address, poolAmountIn *big.Int, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Finalize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Gulp(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) IncreaseApproval(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) JoinPool(opts *bind.TransactOpts, poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) JoinswapExternAmountIn(opts *bind.TransactOpts, tokenIn common.Address, tokenAmountIn *big.Int, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) JoinswapPoolAmountOut(opts *bind.TransactOpts, tokenIn common.Address, poolAmountOut *big.Int, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Rebind(opts *bind.TransactOpts, token common.Address, balance *big.Int, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) SetController(opts *bind.TransactOpts, manager common.Address) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) SetPublicSwap(opts *bind.TransactOpts, public_ bool) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) SetSwapFee(opts *bind.TransactOpts, swapFee *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) SwapExactAmountIn(opts *bind.TransactOpts, tokenIn common.Address, tokenAmountIn *big.Int, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) SwapExactAmountOut(opts *bind.TransactOpts, tokenIn common.Address, maxAmountIn *big.Int, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Unbind(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)
- type BalancerpoolcontractTransactorRaw
- type BalancerpoolcontractTransactorSession
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Approve(dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Bind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) DecreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) ExitPool(poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) ExitswapExternAmountOut(tokenOut common.Address, tokenAmountOut *big.Int, maxPoolAmountIn *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) ExitswapPoolAmountIn(tokenOut common.Address, poolAmountIn *big.Int, minAmountOut *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Finalize() (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Gulp(token common.Address) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) IncreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) JoinPool(poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) JoinswapExternAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, minPoolAmountOut *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) JoinswapPoolAmountOut(tokenIn common.Address, poolAmountOut *big.Int, maxAmountIn *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Rebind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) SetController(manager common.Address) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) SetPublicSwap(public_ bool) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) SetSwapFee(swapFee *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) SwapExactAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, tokenOut common.Address, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) SwapExactAmountOut(tokenIn common.Address, maxAmountIn *big.Int, tokenOut common.Address, ...) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Transfer(dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) TransferFrom(src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)
- func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Unbind(token common.Address) (*types.Transaction, error)
- type BalancerpoolcontractTransfer
- type BalancerpoolcontractTransferIterator
Constants ¶
const BalancerpoolcontractABI = "" /* 23292-byte string literal not displayed */
BalancerpoolcontractABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balancerpoolcontract ¶
type Balancerpoolcontract struct { BalancerpoolcontractCaller // Read-only binding to the contract BalancerpoolcontractTransactor // Write-only binding to the contract BalancerpoolcontractFilterer // Log filterer for contract events }
Balancerpoolcontract is an auto generated Go binding around an Ethereum contract.
func NewBalancerpoolcontract ¶
func NewBalancerpoolcontract(address common.Address, backend bind.ContractBackend) (*Balancerpoolcontract, error)
NewBalancerpoolcontract creates a new instance of Balancerpoolcontract, bound to a specific deployed contract.
type BalancerpoolcontractApproval ¶
type BalancerpoolcontractApproval struct { Src common.Address Dst common.Address Amt *big.Int Raw types.Log // Blockchain specific contextual infos }
BalancerpoolcontractApproval represents a Approval event raised by the Balancerpoolcontract contract.
type BalancerpoolcontractApprovalIterator ¶
type BalancerpoolcontractApprovalIterator struct { Event *BalancerpoolcontractApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerpoolcontractApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Balancerpoolcontract contract.
func (*BalancerpoolcontractApprovalIterator) Close ¶
func (it *BalancerpoolcontractApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerpoolcontractApprovalIterator) Error ¶
func (it *BalancerpoolcontractApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerpoolcontractApprovalIterator) Next ¶
func (it *BalancerpoolcontractApprovalIterator) 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 BalancerpoolcontractCaller ¶
type BalancerpoolcontractCaller struct {
// contains filtered or unexported fields
}
BalancerpoolcontractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBalancerpoolcontractCaller ¶
func NewBalancerpoolcontractCaller(address common.Address, caller bind.ContractCaller) (*BalancerpoolcontractCaller, error)
NewBalancerpoolcontractCaller creates a new read-only instance of Balancerpoolcontract, bound to a specific deployed contract.
func (*BalancerpoolcontractCaller) Allowance ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) Allowance(opts *bind.CallOpts, src common.Address, dst common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address src, address dst) view returns(uint256)
func (*BalancerpoolcontractCaller) BONE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) BONE(opts *bind.CallOpts) (*big.Int, error)
BONE is a free data retrieval call binding the contract method 0xc36596a6.
Solidity: function BONE() view returns(uint256)
func (*BalancerpoolcontractCaller) BPOWPRECISION ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) BPOWPRECISION(opts *bind.CallOpts) (*big.Int, error)
BPOWPRECISION is a free data retrieval call binding the contract method 0x189d00ca.
Solidity: function BPOW_PRECISION() view returns(uint256)
func (*BalancerpoolcontractCaller) BalanceOf ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) BalanceOf(opts *bind.CallOpts, whom common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address whom) view returns(uint256)
func (*BalancerpoolcontractCaller) CalcInGivenOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcInGivenOut(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcInGivenOut is a free data retrieval call binding the contract method 0xf8d6aed4.
Solidity: function calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)
func (*BalancerpoolcontractCaller) CalcOutGivenIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcOutGivenIn(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)
CalcOutGivenIn is a free data retrieval call binding the contract method 0xba9530a6.
Solidity: function calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)
func (*BalancerpoolcontractCaller) CalcPoolInGivenSingleOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcPoolInGivenSingleOut(opts *bind.CallOpts, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcPoolInGivenSingleOut is a free data retrieval call binding the contract method 0x82f652ad.
Solidity: function calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 poolAmountIn)
func (*BalancerpoolcontractCaller) CalcPoolOutGivenSingleIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcPoolOutGivenSingleIn(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)
CalcPoolOutGivenSingleIn is a free data retrieval call binding the contract method 0x8656b653.
Solidity: function calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 poolAmountOut)
func (*BalancerpoolcontractCaller) CalcSingleInGivenPoolOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcSingleInGivenPoolOut(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcSingleInGivenPoolOut is a free data retrieval call binding the contract method 0x5c1bbaf7.
Solidity: function calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)
func (*BalancerpoolcontractCaller) CalcSingleOutGivenPoolIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcSingleOutGivenPoolIn(opts *bind.CallOpts, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)
CalcSingleOutGivenPoolIn is a free data retrieval call binding the contract method 0x89298012.
Solidity: function calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)
func (*BalancerpoolcontractCaller) CalcSpotPrice ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) CalcSpotPrice(opts *bind.CallOpts, tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcSpotPrice is a free data retrieval call binding the contract method 0xa221ee49.
Solidity: function calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns(uint256 spotPrice)
func (*BalancerpoolcontractCaller) Decimals ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BalancerpoolcontractCaller) EXITFEE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) EXITFEE(opts *bind.CallOpts) (*big.Int, error)
EXITFEE is a free data retrieval call binding the contract method 0xc6580d12.
Solidity: function EXIT_FEE() view returns(uint256)
func (*BalancerpoolcontractCaller) GetBalance ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetBalance(opts *bind.CallOpts, token common.Address) (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.
Solidity: function getBalance(address token) view returns(uint256)
func (*BalancerpoolcontractCaller) GetColor ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetColor(opts *bind.CallOpts) ([32]byte, error)
GetColor is a free data retrieval call binding the contract method 0x9a86139b.
Solidity: function getColor() view returns(bytes32)
func (*BalancerpoolcontractCaller) GetController ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetController(opts *bind.CallOpts) (common.Address, error)
GetController is a free data retrieval call binding the contract method 0x3018205f.
Solidity: function getController() view returns(address)
func (*BalancerpoolcontractCaller) GetCurrentTokens ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetCurrentTokens(opts *bind.CallOpts) ([]common.Address, error)
GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.
Solidity: function getCurrentTokens() view returns(address[] tokens)
func (*BalancerpoolcontractCaller) GetDenormalizedWeight ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetDenormalizedWeight(opts *bind.CallOpts, token common.Address) (*big.Int, error)
GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.
Solidity: function getDenormalizedWeight(address token) view returns(uint256)
func (*BalancerpoolcontractCaller) GetFinalTokens ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetFinalTokens(opts *bind.CallOpts) ([]common.Address, error)
GetFinalTokens is a free data retrieval call binding the contract method 0xbe3bbd2e.
Solidity: function getFinalTokens() view returns(address[] tokens)
func (*BalancerpoolcontractCaller) GetNormalizedWeight ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetNormalizedWeight(opts *bind.CallOpts, token common.Address) (*big.Int, error)
GetNormalizedWeight is a free data retrieval call binding the contract method 0xf1b8a9b7.
Solidity: function getNormalizedWeight(address token) view returns(uint256)
func (*BalancerpoolcontractCaller) GetNumTokens ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetNumTokens(opts *bind.CallOpts) (*big.Int, error)
GetNumTokens is a free data retrieval call binding the contract method 0xcd2ed8fb.
Solidity: function getNumTokens() view returns(uint256)
func (*BalancerpoolcontractCaller) GetSpotPrice ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetSpotPrice(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.
Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256 spotPrice)
func (*BalancerpoolcontractCaller) GetSpotPriceSansFee ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetSpotPriceSansFee(opts *bind.CallOpts, tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
GetSpotPriceSansFee is a free data retrieval call binding the contract method 0x1446a7ff.
Solidity: function getSpotPriceSansFee(address tokenIn, address tokenOut) view returns(uint256 spotPrice)
func (*BalancerpoolcontractCaller) GetSwapFee ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetSwapFee(opts *bind.CallOpts) (*big.Int, error)
GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.
Solidity: function getSwapFee() view returns(uint256)
func (*BalancerpoolcontractCaller) GetTotalDenormalizedWeight ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) GetTotalDenormalizedWeight(opts *bind.CallOpts) (*big.Int, error)
GetTotalDenormalizedWeight is a free data retrieval call binding the contract method 0x936c3477.
Solidity: function getTotalDenormalizedWeight() view returns(uint256)
func (*BalancerpoolcontractCaller) INITPOOLSUPPLY ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) INITPOOLSUPPLY(opts *bind.CallOpts) (*big.Int, error)
INITPOOLSUPPLY is a free data retrieval call binding the contract method 0x9381cd2b.
Solidity: function INIT_POOL_SUPPLY() view returns(uint256)
func (*BalancerpoolcontractCaller) IsBound ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) IsBound(opts *bind.CallOpts, t common.Address) (bool, error)
IsBound is a free data retrieval call binding the contract method 0x2f37b624.
Solidity: function isBound(address t) view returns(bool)
func (*BalancerpoolcontractCaller) IsFinalized ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) IsFinalized(opts *bind.CallOpts) (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.
Solidity: function isFinalized() view returns(bool)
func (*BalancerpoolcontractCaller) IsPublicSwap ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) IsPublicSwap(opts *bind.CallOpts) (bool, error)
IsPublicSwap is a free data retrieval call binding the contract method 0xfde924f7.
Solidity: function isPublicSwap() view returns(bool)
func (*BalancerpoolcontractCaller) MAXBOUNDTOKENS ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXBOUNDTOKENS(opts *bind.CallOpts) (*big.Int, error)
MAXBOUNDTOKENS is a free data retrieval call binding the contract method 0xb0e0d136.
Solidity: function MAX_BOUND_TOKENS() view returns(uint256)
func (*BalancerpoolcontractCaller) MAXBPOWBASE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXBPOWBASE(opts *bind.CallOpts) (*big.Int, error)
MAXBPOWBASE is a free data retrieval call binding the contract method 0xbc694ea2.
Solidity: function MAX_BPOW_BASE() view returns(uint256)
func (*BalancerpoolcontractCaller) MAXFEE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXFEE(opts *bind.CallOpts) (*big.Int, error)
MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.
Solidity: function MAX_FEE() view returns(uint256)
func (*BalancerpoolcontractCaller) MAXINRATIO ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXINRATIO(opts *bind.CallOpts) (*big.Int, error)
MAXINRATIO is a free data retrieval call binding the contract method 0xec093021.
Solidity: function MAX_IN_RATIO() view returns(uint256)
func (*BalancerpoolcontractCaller) MAXOUTRATIO ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXOUTRATIO(opts *bind.CallOpts) (*big.Int, error)
MAXOUTRATIO is a free data retrieval call binding the contract method 0x992e2a92.
Solidity: function MAX_OUT_RATIO() view returns(uint256)
func (*BalancerpoolcontractCaller) MAXTOTALWEIGHT ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXTOTALWEIGHT(opts *bind.CallOpts) (*big.Int, error)
MAXTOTALWEIGHT is a free data retrieval call binding the contract method 0x09a3bbe4.
Solidity: function MAX_TOTAL_WEIGHT() view returns(uint256)
func (*BalancerpoolcontractCaller) MAXWEIGHT ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MAXWEIGHT(opts *bind.CallOpts) (*big.Int, error)
MAXWEIGHT is a free data retrieval call binding the contract method 0xe4a28a52.
Solidity: function MAX_WEIGHT() view returns(uint256)
func (*BalancerpoolcontractCaller) MINBALANCE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MINBALANCE(opts *bind.CallOpts) (*big.Int, error)
MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.
Solidity: function MIN_BALANCE() view returns(uint256)
func (*BalancerpoolcontractCaller) MINBOUNDTOKENS ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MINBOUNDTOKENS(opts *bind.CallOpts) (*big.Int, error)
MINBOUNDTOKENS is a free data retrieval call binding the contract method 0xb7b800a4.
Solidity: function MIN_BOUND_TOKENS() view returns(uint256)
func (*BalancerpoolcontractCaller) MINBPOWBASE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MINBPOWBASE(opts *bind.CallOpts) (*big.Int, error)
MINBPOWBASE is a free data retrieval call binding the contract method 0xba019dab.
Solidity: function MIN_BPOW_BASE() view returns(uint256)
func (*BalancerpoolcontractCaller) MINFEE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MINFEE(opts *bind.CallOpts) (*big.Int, error)
MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.
Solidity: function MIN_FEE() view returns(uint256)
func (*BalancerpoolcontractCaller) MINWEIGHT ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) MINWEIGHT(opts *bind.CallOpts) (*big.Int, error)
MINWEIGHT is a free data retrieval call binding the contract method 0x218b5382.
Solidity: function MIN_WEIGHT() view returns(uint256)
func (*BalancerpoolcontractCaller) Name ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BalancerpoolcontractCaller) Symbol ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BalancerpoolcontractCaller) TotalSupply ¶
func (_Balancerpoolcontract *BalancerpoolcontractCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type BalancerpoolcontractCallerRaw ¶
type BalancerpoolcontractCallerRaw struct {
Contract *BalancerpoolcontractCaller // Generic read-only contract binding to access the raw methods on
}
BalancerpoolcontractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BalancerpoolcontractCallerRaw) Call ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerRaw) 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 BalancerpoolcontractCallerSession ¶
type BalancerpoolcontractCallerSession struct { Contract *BalancerpoolcontractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BalancerpoolcontractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BalancerpoolcontractCallerSession) Allowance ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) Allowance(src common.Address, dst common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address src, address dst) view returns(uint256)
func (*BalancerpoolcontractCallerSession) BONE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) BONE() (*big.Int, error)
BONE is a free data retrieval call binding the contract method 0xc36596a6.
Solidity: function BONE() view returns(uint256)
func (*BalancerpoolcontractCallerSession) BPOWPRECISION ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) BPOWPRECISION() (*big.Int, error)
BPOWPRECISION is a free data retrieval call binding the contract method 0x189d00ca.
Solidity: function BPOW_PRECISION() view returns(uint256)
func (*BalancerpoolcontractCallerSession) BalanceOf ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) BalanceOf(whom common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address whom) view returns(uint256)
func (*BalancerpoolcontractCallerSession) CalcInGivenOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcInGivenOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcInGivenOut is a free data retrieval call binding the contract method 0xf8d6aed4.
Solidity: function calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)
func (*BalancerpoolcontractCallerSession) CalcOutGivenIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcOutGivenIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)
CalcOutGivenIn is a free data retrieval call binding the contract method 0xba9530a6.
Solidity: function calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)
func (*BalancerpoolcontractCallerSession) CalcPoolInGivenSingleOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcPoolInGivenSingleOut(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcPoolInGivenSingleOut is a free data retrieval call binding the contract method 0x82f652ad.
Solidity: function calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 poolAmountIn)
func (*BalancerpoolcontractCallerSession) CalcPoolOutGivenSingleIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcPoolOutGivenSingleIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)
CalcPoolOutGivenSingleIn is a free data retrieval call binding the contract method 0x8656b653.
Solidity: function calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 poolAmountOut)
func (*BalancerpoolcontractCallerSession) CalcSingleInGivenPoolOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcSingleInGivenPoolOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcSingleInGivenPoolOut is a free data retrieval call binding the contract method 0x5c1bbaf7.
Solidity: function calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)
func (*BalancerpoolcontractCallerSession) CalcSingleOutGivenPoolIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcSingleOutGivenPoolIn(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)
CalcSingleOutGivenPoolIn is a free data retrieval call binding the contract method 0x89298012.
Solidity: function calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)
func (*BalancerpoolcontractCallerSession) CalcSpotPrice ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) CalcSpotPrice(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcSpotPrice is a free data retrieval call binding the contract method 0xa221ee49.
Solidity: function calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns(uint256 spotPrice)
func (*BalancerpoolcontractCallerSession) Decimals ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BalancerpoolcontractCallerSession) EXITFEE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) EXITFEE() (*big.Int, error)
EXITFEE is a free data retrieval call binding the contract method 0xc6580d12.
Solidity: function EXIT_FEE() view returns(uint256)
func (*BalancerpoolcontractCallerSession) GetBalance ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetBalance(token common.Address) (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.
Solidity: function getBalance(address token) view returns(uint256)
func (*BalancerpoolcontractCallerSession) GetColor ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetColor() ([32]byte, error)
GetColor is a free data retrieval call binding the contract method 0x9a86139b.
Solidity: function getColor() view returns(bytes32)
func (*BalancerpoolcontractCallerSession) GetController ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetController() (common.Address, error)
GetController is a free data retrieval call binding the contract method 0x3018205f.
Solidity: function getController() view returns(address)
func (*BalancerpoolcontractCallerSession) GetCurrentTokens ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetCurrentTokens() ([]common.Address, error)
GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.
Solidity: function getCurrentTokens() view returns(address[] tokens)
func (*BalancerpoolcontractCallerSession) GetDenormalizedWeight ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetDenormalizedWeight(token common.Address) (*big.Int, error)
GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.
Solidity: function getDenormalizedWeight(address token) view returns(uint256)
func (*BalancerpoolcontractCallerSession) GetFinalTokens ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetFinalTokens() ([]common.Address, error)
GetFinalTokens is a free data retrieval call binding the contract method 0xbe3bbd2e.
Solidity: function getFinalTokens() view returns(address[] tokens)
func (*BalancerpoolcontractCallerSession) GetNormalizedWeight ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetNormalizedWeight(token common.Address) (*big.Int, error)
GetNormalizedWeight is a free data retrieval call binding the contract method 0xf1b8a9b7.
Solidity: function getNormalizedWeight(address token) view returns(uint256)
func (*BalancerpoolcontractCallerSession) GetNumTokens ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetNumTokens() (*big.Int, error)
GetNumTokens is a free data retrieval call binding the contract method 0xcd2ed8fb.
Solidity: function getNumTokens() view returns(uint256)
func (*BalancerpoolcontractCallerSession) GetSpotPrice ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetSpotPrice(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.
Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256 spotPrice)
func (*BalancerpoolcontractCallerSession) GetSpotPriceSansFee ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetSpotPriceSansFee(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
GetSpotPriceSansFee is a free data retrieval call binding the contract method 0x1446a7ff.
Solidity: function getSpotPriceSansFee(address tokenIn, address tokenOut) view returns(uint256 spotPrice)
func (*BalancerpoolcontractCallerSession) GetSwapFee ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetSwapFee() (*big.Int, error)
GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.
Solidity: function getSwapFee() view returns(uint256)
func (*BalancerpoolcontractCallerSession) GetTotalDenormalizedWeight ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) GetTotalDenormalizedWeight() (*big.Int, error)
GetTotalDenormalizedWeight is a free data retrieval call binding the contract method 0x936c3477.
Solidity: function getTotalDenormalizedWeight() view returns(uint256)
func (*BalancerpoolcontractCallerSession) INITPOOLSUPPLY ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) INITPOOLSUPPLY() (*big.Int, error)
INITPOOLSUPPLY is a free data retrieval call binding the contract method 0x9381cd2b.
Solidity: function INIT_POOL_SUPPLY() view returns(uint256)
func (*BalancerpoolcontractCallerSession) IsBound ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) IsBound(t common.Address) (bool, error)
IsBound is a free data retrieval call binding the contract method 0x2f37b624.
Solidity: function isBound(address t) view returns(bool)
func (*BalancerpoolcontractCallerSession) IsFinalized ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) IsFinalized() (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.
Solidity: function isFinalized() view returns(bool)
func (*BalancerpoolcontractCallerSession) IsPublicSwap ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) IsPublicSwap() (bool, error)
IsPublicSwap is a free data retrieval call binding the contract method 0xfde924f7.
Solidity: function isPublicSwap() view returns(bool)
func (*BalancerpoolcontractCallerSession) MAXBOUNDTOKENS ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXBOUNDTOKENS() (*big.Int, error)
MAXBOUNDTOKENS is a free data retrieval call binding the contract method 0xb0e0d136.
Solidity: function MAX_BOUND_TOKENS() view returns(uint256)
func (*BalancerpoolcontractCallerSession) MAXBPOWBASE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXBPOWBASE() (*big.Int, error)
MAXBPOWBASE is a free data retrieval call binding the contract method 0xbc694ea2.
Solidity: function MAX_BPOW_BASE() view returns(uint256)
func (*BalancerpoolcontractCallerSession) MAXFEE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXFEE() (*big.Int, error)
MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.
Solidity: function MAX_FEE() view returns(uint256)
func (*BalancerpoolcontractCallerSession) MAXINRATIO ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXINRATIO() (*big.Int, error)
MAXINRATIO is a free data retrieval call binding the contract method 0xec093021.
Solidity: function MAX_IN_RATIO() view returns(uint256)
func (*BalancerpoolcontractCallerSession) MAXOUTRATIO ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXOUTRATIO() (*big.Int, error)
MAXOUTRATIO is a free data retrieval call binding the contract method 0x992e2a92.
Solidity: function MAX_OUT_RATIO() view returns(uint256)
func (*BalancerpoolcontractCallerSession) MAXTOTALWEIGHT ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXTOTALWEIGHT() (*big.Int, error)
MAXTOTALWEIGHT is a free data retrieval call binding the contract method 0x09a3bbe4.
Solidity: function MAX_TOTAL_WEIGHT() view returns(uint256)
func (*BalancerpoolcontractCallerSession) MAXWEIGHT ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MAXWEIGHT() (*big.Int, error)
MAXWEIGHT is a free data retrieval call binding the contract method 0xe4a28a52.
Solidity: function MAX_WEIGHT() view returns(uint256)
func (*BalancerpoolcontractCallerSession) MINBALANCE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MINBALANCE() (*big.Int, error)
MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.
Solidity: function MIN_BALANCE() view returns(uint256)
func (*BalancerpoolcontractCallerSession) MINBOUNDTOKENS ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MINBOUNDTOKENS() (*big.Int, error)
MINBOUNDTOKENS is a free data retrieval call binding the contract method 0xb7b800a4.
Solidity: function MIN_BOUND_TOKENS() view returns(uint256)
func (*BalancerpoolcontractCallerSession) MINBPOWBASE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MINBPOWBASE() (*big.Int, error)
MINBPOWBASE is a free data retrieval call binding the contract method 0xba019dab.
Solidity: function MIN_BPOW_BASE() view returns(uint256)
func (*BalancerpoolcontractCallerSession) MINFEE ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MINFEE() (*big.Int, error)
MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.
Solidity: function MIN_FEE() view returns(uint256)
func (*BalancerpoolcontractCallerSession) MINWEIGHT ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) MINWEIGHT() (*big.Int, error)
MINWEIGHT is a free data retrieval call binding the contract method 0x218b5382.
Solidity: function MIN_WEIGHT() view returns(uint256)
func (*BalancerpoolcontractCallerSession) Name ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BalancerpoolcontractCallerSession) Symbol ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BalancerpoolcontractCallerSession) TotalSupply ¶
func (_Balancerpoolcontract *BalancerpoolcontractCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type BalancerpoolcontractFilterer ¶
type BalancerpoolcontractFilterer struct {
// contains filtered or unexported fields
}
BalancerpoolcontractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBalancerpoolcontractFilterer ¶
func NewBalancerpoolcontractFilterer(address common.Address, filterer bind.ContractFilterer) (*BalancerpoolcontractFilterer, error)
NewBalancerpoolcontractFilterer creates a new log filterer instance of Balancerpoolcontract, bound to a specific deployed contract.
func (*BalancerpoolcontractFilterer) FilterApproval ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*BalancerpoolcontractApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed src, address indexed dst, uint256 amt)
func (*BalancerpoolcontractFilterer) FilterLOGEXIT ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) FilterLOGEXIT(opts *bind.FilterOpts, caller []common.Address, tokenOut []common.Address) (*BalancerpoolcontractLOGEXITIterator, error)
FilterLOGEXIT is a free log retrieval operation binding the contract event 0xe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed.
Solidity: event LOG_EXIT(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)
func (*BalancerpoolcontractFilterer) FilterLOGJOIN ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) FilterLOGJOIN(opts *bind.FilterOpts, caller []common.Address, tokenIn []common.Address) (*BalancerpoolcontractLOGJOINIterator, error)
FilterLOGJOIN is a free log retrieval operation binding the contract event 0x63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a.
Solidity: event LOG_JOIN(address indexed caller, address indexed tokenIn, uint256 tokenAmountIn)
func (*BalancerpoolcontractFilterer) FilterLOGSWAP ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) FilterLOGSWAP(opts *bind.FilterOpts, caller []common.Address, tokenIn []common.Address, tokenOut []common.Address) (*BalancerpoolcontractLOGSWAPIterator, error)
FilterLOGSWAP is a free log retrieval operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.
Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)
func (*BalancerpoolcontractFilterer) FilterTransfer ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*BalancerpoolcontractTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed src, address indexed dst, uint256 amt)
func (*BalancerpoolcontractFilterer) ParseApproval ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) ParseApproval(log types.Log) (*BalancerpoolcontractApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed src, address indexed dst, uint256 amt)
func (*BalancerpoolcontractFilterer) ParseLOGEXIT ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) ParseLOGEXIT(log types.Log) (*BalancerpoolcontractLOGEXIT, error)
ParseLOGEXIT is a log parse operation binding the contract event 0xe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed.
Solidity: event LOG_EXIT(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)
func (*BalancerpoolcontractFilterer) ParseLOGJOIN ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) ParseLOGJOIN(log types.Log) (*BalancerpoolcontractLOGJOIN, error)
ParseLOGJOIN is a log parse operation binding the contract event 0x63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a.
Solidity: event LOG_JOIN(address indexed caller, address indexed tokenIn, uint256 tokenAmountIn)
func (*BalancerpoolcontractFilterer) ParseLOGSWAP ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) ParseLOGSWAP(log types.Log) (*BalancerpoolcontractLOGSWAP, error)
ParseLOGSWAP is a log parse operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.
Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)
func (*BalancerpoolcontractFilterer) ParseTransfer ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) ParseTransfer(log types.Log) (*BalancerpoolcontractTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed src, address indexed dst, uint256 amt)
func (*BalancerpoolcontractFilterer) WatchApproval ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BalancerpoolcontractApproval, src []common.Address, dst []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed src, address indexed dst, uint256 amt)
func (*BalancerpoolcontractFilterer) WatchLOGEXIT ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) WatchLOGEXIT(opts *bind.WatchOpts, sink chan<- *BalancerpoolcontractLOGEXIT, caller []common.Address, tokenOut []common.Address) (event.Subscription, error)
WatchLOGEXIT is a free log subscription operation binding the contract event 0xe74c91552b64c2e2e7bd255639e004e693bd3e1d01cc33e65610b86afcc1ffed.
Solidity: event LOG_EXIT(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)
func (*BalancerpoolcontractFilterer) WatchLOGJOIN ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) WatchLOGJOIN(opts *bind.WatchOpts, sink chan<- *BalancerpoolcontractLOGJOIN, caller []common.Address, tokenIn []common.Address) (event.Subscription, error)
WatchLOGJOIN is a free log subscription operation binding the contract event 0x63982df10efd8dfaaaa0fcc7f50b2d93b7cba26ccc48adee2873220d485dc39a.
Solidity: event LOG_JOIN(address indexed caller, address indexed tokenIn, uint256 tokenAmountIn)
func (*BalancerpoolcontractFilterer) WatchLOGSWAP ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) WatchLOGSWAP(opts *bind.WatchOpts, sink chan<- *BalancerpoolcontractLOGSWAP, caller []common.Address, tokenIn []common.Address, tokenOut []common.Address) (event.Subscription, error)
WatchLOGSWAP is a free log subscription operation binding the contract event 0x908fb5ee8f16c6bc9bc3690973819f32a4d4b10188134543c88706e0e1d43378.
Solidity: event LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)
func (*BalancerpoolcontractFilterer) WatchTransfer ¶
func (_Balancerpoolcontract *BalancerpoolcontractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BalancerpoolcontractTransfer, src []common.Address, dst []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed src, address indexed dst, uint256 amt)
type BalancerpoolcontractLOGEXIT ¶
type BalancerpoolcontractLOGEXIT struct { Caller common.Address TokenOut common.Address TokenAmountOut *big.Int Raw types.Log // Blockchain specific contextual infos }
BalancerpoolcontractLOGEXIT represents a LOGEXIT event raised by the Balancerpoolcontract contract.
type BalancerpoolcontractLOGEXITIterator ¶
type BalancerpoolcontractLOGEXITIterator struct { Event *BalancerpoolcontractLOGEXIT // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerpoolcontractLOGEXITIterator is returned from FilterLOGEXIT and is used to iterate over the raw logs and unpacked data for LOGEXIT events raised by the Balancerpoolcontract contract.
func (*BalancerpoolcontractLOGEXITIterator) Close ¶
func (it *BalancerpoolcontractLOGEXITIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerpoolcontractLOGEXITIterator) Error ¶
func (it *BalancerpoolcontractLOGEXITIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerpoolcontractLOGEXITIterator) Next ¶
func (it *BalancerpoolcontractLOGEXITIterator) 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 BalancerpoolcontractLOGJOIN ¶
type BalancerpoolcontractLOGJOIN struct { Caller common.Address TokenIn common.Address TokenAmountIn *big.Int Raw types.Log // Blockchain specific contextual infos }
BalancerpoolcontractLOGJOIN represents a LOGJOIN event raised by the Balancerpoolcontract contract.
type BalancerpoolcontractLOGJOINIterator ¶
type BalancerpoolcontractLOGJOINIterator struct { Event *BalancerpoolcontractLOGJOIN // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerpoolcontractLOGJOINIterator is returned from FilterLOGJOIN and is used to iterate over the raw logs and unpacked data for LOGJOIN events raised by the Balancerpoolcontract contract.
func (*BalancerpoolcontractLOGJOINIterator) Close ¶
func (it *BalancerpoolcontractLOGJOINIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerpoolcontractLOGJOINIterator) Error ¶
func (it *BalancerpoolcontractLOGJOINIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerpoolcontractLOGJOINIterator) Next ¶
func (it *BalancerpoolcontractLOGJOINIterator) 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 BalancerpoolcontractLOGSWAP ¶
type BalancerpoolcontractLOGSWAP struct { Caller common.Address TokenIn common.Address TokenOut common.Address TokenAmountIn *big.Int TokenAmountOut *big.Int Raw types.Log // Blockchain specific contextual infos }
BalancerpoolcontractLOGSWAP represents a LOGSWAP event raised by the Balancerpoolcontract contract.
type BalancerpoolcontractLOGSWAPIterator ¶
type BalancerpoolcontractLOGSWAPIterator struct { Event *BalancerpoolcontractLOGSWAP // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerpoolcontractLOGSWAPIterator is returned from FilterLOGSWAP and is used to iterate over the raw logs and unpacked data for LOGSWAP events raised by the Balancerpoolcontract contract.
func (*BalancerpoolcontractLOGSWAPIterator) Close ¶
func (it *BalancerpoolcontractLOGSWAPIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerpoolcontractLOGSWAPIterator) Error ¶
func (it *BalancerpoolcontractLOGSWAPIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerpoolcontractLOGSWAPIterator) Next ¶
func (it *BalancerpoolcontractLOGSWAPIterator) 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 BalancerpoolcontractRaw ¶
type BalancerpoolcontractRaw struct {
Contract *Balancerpoolcontract // Generic contract binding to access the raw methods on
}
BalancerpoolcontractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BalancerpoolcontractRaw) Call ¶
func (_Balancerpoolcontract *BalancerpoolcontractRaw) 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 (*BalancerpoolcontractRaw) Transact ¶
func (_Balancerpoolcontract *BalancerpoolcontractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BalancerpoolcontractRaw) Transfer ¶
func (_Balancerpoolcontract *BalancerpoolcontractRaw) 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 BalancerpoolcontractSession ¶
type BalancerpoolcontractSession struct { Contract *Balancerpoolcontract // 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 }
BalancerpoolcontractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BalancerpoolcontractSession) Allowance ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) Allowance(src common.Address, dst common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address src, address dst) view returns(uint256)
func (*BalancerpoolcontractSession) Approve ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) Approve(dst common.Address, amt *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractSession) BONE ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) BONE() (*big.Int, error)
BONE is a free data retrieval call binding the contract method 0xc36596a6.
Solidity: function BONE() view returns(uint256)
func (*BalancerpoolcontractSession) BPOWPRECISION ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) BPOWPRECISION() (*big.Int, error)
BPOWPRECISION is a free data retrieval call binding the contract method 0x189d00ca.
Solidity: function BPOW_PRECISION() view returns(uint256)
func (*BalancerpoolcontractSession) BalanceOf ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) BalanceOf(whom common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address whom) view returns(uint256)
func (*BalancerpoolcontractSession) Bind ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) Bind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)
Bind is a paid mutator transaction binding the contract method 0xe4e1e538.
Solidity: function bind(address token, uint256 balance, uint256 denorm) returns()
func (*BalancerpoolcontractSession) CalcInGivenOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcInGivenOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcInGivenOut is a free data retrieval call binding the contract method 0xf8d6aed4.
Solidity: function calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)
func (*BalancerpoolcontractSession) CalcOutGivenIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcOutGivenIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)
CalcOutGivenIn is a free data retrieval call binding the contract method 0xba9530a6.
Solidity: function calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)
func (*BalancerpoolcontractSession) CalcPoolInGivenSingleOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcPoolInGivenSingleOut(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcPoolInGivenSingleOut is a free data retrieval call binding the contract method 0x82f652ad.
Solidity: function calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee) pure returns(uint256 poolAmountIn)
func (*BalancerpoolcontractSession) CalcPoolOutGivenSingleIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcPoolOutGivenSingleIn(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, tokenAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)
CalcPoolOutGivenSingleIn is a free data retrieval call binding the contract method 0x8656b653.
Solidity: function calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns(uint256 poolAmountOut)
func (*BalancerpoolcontractSession) CalcSingleInGivenPoolOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcSingleInGivenPoolOut(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcSingleInGivenPoolOut is a free data retrieval call binding the contract method 0x5c1bbaf7.
Solidity: function calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns(uint256 tokenAmountIn)
func (*BalancerpoolcontractSession) CalcSingleOutGivenPoolIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcSingleOutGivenPoolIn(tokenBalanceOut *big.Int, tokenWeightOut *big.Int, poolSupply *big.Int, totalWeight *big.Int, poolAmountIn *big.Int, swapFee *big.Int) (*big.Int, error)
CalcSingleOutGivenPoolIn is a free data retrieval call binding the contract method 0x89298012.
Solidity: function calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee) pure returns(uint256 tokenAmountOut)
func (*BalancerpoolcontractSession) CalcSpotPrice ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) CalcSpotPrice(tokenBalanceIn *big.Int, tokenWeightIn *big.Int, tokenBalanceOut *big.Int, tokenWeightOut *big.Int, swapFee *big.Int) (*big.Int, error)
CalcSpotPrice is a free data retrieval call binding the contract method 0xa221ee49.
Solidity: function calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns(uint256 spotPrice)
func (*BalancerpoolcontractSession) Decimals ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BalancerpoolcontractSession) DecreaseApproval ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) DecreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractSession) EXITFEE ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) EXITFEE() (*big.Int, error)
EXITFEE is a free data retrieval call binding the contract method 0xc6580d12.
Solidity: function EXIT_FEE() view returns(uint256)
func (*BalancerpoolcontractSession) ExitPool ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) ExitPool(poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)
ExitPool is a paid mutator transaction binding the contract method 0xb02f0b73.
Solidity: function exitPool(uint256 poolAmountIn, uint256[] minAmountsOut) returns()
func (*BalancerpoolcontractSession) ExitswapExternAmountOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) ExitswapExternAmountOut(tokenOut common.Address, tokenAmountOut *big.Int, maxPoolAmountIn *big.Int) (*types.Transaction, error)
ExitswapExternAmountOut is a paid mutator transaction binding the contract method 0x02c96748.
Solidity: function exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) returns(uint256 poolAmountIn)
func (*BalancerpoolcontractSession) ExitswapPoolAmountIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) ExitswapPoolAmountIn(tokenOut common.Address, poolAmountIn *big.Int, minAmountOut *big.Int) (*types.Transaction, error)
ExitswapPoolAmountIn is a paid mutator transaction binding the contract method 0x46ab38f1.
Solidity: function exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) returns(uint256 tokenAmountOut)
func (*BalancerpoolcontractSession) Finalize ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) Finalize() (*types.Transaction, error)
Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.
Solidity: function finalize() returns()
func (*BalancerpoolcontractSession) GetBalance ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetBalance(token common.Address) (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0xf8b2cb4f.
Solidity: function getBalance(address token) view returns(uint256)
func (*BalancerpoolcontractSession) GetColor ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetColor() ([32]byte, error)
GetColor is a free data retrieval call binding the contract method 0x9a86139b.
Solidity: function getColor() view returns(bytes32)
func (*BalancerpoolcontractSession) GetController ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetController() (common.Address, error)
GetController is a free data retrieval call binding the contract method 0x3018205f.
Solidity: function getController() view returns(address)
func (*BalancerpoolcontractSession) GetCurrentTokens ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetCurrentTokens() ([]common.Address, error)
GetCurrentTokens is a free data retrieval call binding the contract method 0xcc77828d.
Solidity: function getCurrentTokens() view returns(address[] tokens)
func (*BalancerpoolcontractSession) GetDenormalizedWeight ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetDenormalizedWeight(token common.Address) (*big.Int, error)
GetDenormalizedWeight is a free data retrieval call binding the contract method 0x948d8ce6.
Solidity: function getDenormalizedWeight(address token) view returns(uint256)
func (*BalancerpoolcontractSession) GetFinalTokens ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetFinalTokens() ([]common.Address, error)
GetFinalTokens is a free data retrieval call binding the contract method 0xbe3bbd2e.
Solidity: function getFinalTokens() view returns(address[] tokens)
func (*BalancerpoolcontractSession) GetNormalizedWeight ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetNormalizedWeight(token common.Address) (*big.Int, error)
GetNormalizedWeight is a free data retrieval call binding the contract method 0xf1b8a9b7.
Solidity: function getNormalizedWeight(address token) view returns(uint256)
func (*BalancerpoolcontractSession) GetNumTokens ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetNumTokens() (*big.Int, error)
GetNumTokens is a free data retrieval call binding the contract method 0xcd2ed8fb.
Solidity: function getNumTokens() view returns(uint256)
func (*BalancerpoolcontractSession) GetSpotPrice ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetSpotPrice(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
GetSpotPrice is a free data retrieval call binding the contract method 0x15e84af9.
Solidity: function getSpotPrice(address tokenIn, address tokenOut) view returns(uint256 spotPrice)
func (*BalancerpoolcontractSession) GetSpotPriceSansFee ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetSpotPriceSansFee(tokenIn common.Address, tokenOut common.Address) (*big.Int, error)
GetSpotPriceSansFee is a free data retrieval call binding the contract method 0x1446a7ff.
Solidity: function getSpotPriceSansFee(address tokenIn, address tokenOut) view returns(uint256 spotPrice)
func (*BalancerpoolcontractSession) GetSwapFee ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetSwapFee() (*big.Int, error)
GetSwapFee is a free data retrieval call binding the contract method 0xd4cadf68.
Solidity: function getSwapFee() view returns(uint256)
func (*BalancerpoolcontractSession) GetTotalDenormalizedWeight ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) GetTotalDenormalizedWeight() (*big.Int, error)
GetTotalDenormalizedWeight is a free data retrieval call binding the contract method 0x936c3477.
Solidity: function getTotalDenormalizedWeight() view returns(uint256)
func (*BalancerpoolcontractSession) Gulp ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) Gulp(token common.Address) (*types.Transaction, error)
Gulp is a paid mutator transaction binding the contract method 0x8c28cbe8.
Solidity: function gulp(address token) returns()
func (*BalancerpoolcontractSession) INITPOOLSUPPLY ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) INITPOOLSUPPLY() (*big.Int, error)
INITPOOLSUPPLY is a free data retrieval call binding the contract method 0x9381cd2b.
Solidity: function INIT_POOL_SUPPLY() view returns(uint256)
func (*BalancerpoolcontractSession) IncreaseApproval ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) IncreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractSession) IsBound ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) IsBound(t common.Address) (bool, error)
IsBound is a free data retrieval call binding the contract method 0x2f37b624.
Solidity: function isBound(address t) view returns(bool)
func (*BalancerpoolcontractSession) IsFinalized ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) IsFinalized() (bool, error)
IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.
Solidity: function isFinalized() view returns(bool)
func (*BalancerpoolcontractSession) IsPublicSwap ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) IsPublicSwap() (bool, error)
IsPublicSwap is a free data retrieval call binding the contract method 0xfde924f7.
Solidity: function isPublicSwap() view returns(bool)
func (*BalancerpoolcontractSession) JoinPool ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) JoinPool(poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)
JoinPool is a paid mutator transaction binding the contract method 0x4f69c0d4.
Solidity: function joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn) returns()
func (*BalancerpoolcontractSession) JoinswapExternAmountIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) JoinswapExternAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, minPoolAmountOut *big.Int) (*types.Transaction, error)
JoinswapExternAmountIn is a paid mutator transaction binding the contract method 0x5db34277.
Solidity: function joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) returns(uint256 poolAmountOut)
func (*BalancerpoolcontractSession) JoinswapPoolAmountOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) JoinswapPoolAmountOut(tokenIn common.Address, poolAmountOut *big.Int, maxAmountIn *big.Int) (*types.Transaction, error)
JoinswapPoolAmountOut is a paid mutator transaction binding the contract method 0x6d06dfa0.
Solidity: function joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) returns(uint256 tokenAmountIn)
func (*BalancerpoolcontractSession) MAXBOUNDTOKENS ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXBOUNDTOKENS() (*big.Int, error)
MAXBOUNDTOKENS is a free data retrieval call binding the contract method 0xb0e0d136.
Solidity: function MAX_BOUND_TOKENS() view returns(uint256)
func (*BalancerpoolcontractSession) MAXBPOWBASE ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXBPOWBASE() (*big.Int, error)
MAXBPOWBASE is a free data retrieval call binding the contract method 0xbc694ea2.
Solidity: function MAX_BPOW_BASE() view returns(uint256)
func (*BalancerpoolcontractSession) MAXFEE ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXFEE() (*big.Int, error)
MAXFEE is a free data retrieval call binding the contract method 0xbc063e1a.
Solidity: function MAX_FEE() view returns(uint256)
func (*BalancerpoolcontractSession) MAXINRATIO ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXINRATIO() (*big.Int, error)
MAXINRATIO is a free data retrieval call binding the contract method 0xec093021.
Solidity: function MAX_IN_RATIO() view returns(uint256)
func (*BalancerpoolcontractSession) MAXOUTRATIO ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXOUTRATIO() (*big.Int, error)
MAXOUTRATIO is a free data retrieval call binding the contract method 0x992e2a92.
Solidity: function MAX_OUT_RATIO() view returns(uint256)
func (*BalancerpoolcontractSession) MAXTOTALWEIGHT ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXTOTALWEIGHT() (*big.Int, error)
MAXTOTALWEIGHT is a free data retrieval call binding the contract method 0x09a3bbe4.
Solidity: function MAX_TOTAL_WEIGHT() view returns(uint256)
func (*BalancerpoolcontractSession) MAXWEIGHT ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MAXWEIGHT() (*big.Int, error)
MAXWEIGHT is a free data retrieval call binding the contract method 0xe4a28a52.
Solidity: function MAX_WEIGHT() view returns(uint256)
func (*BalancerpoolcontractSession) MINBALANCE ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MINBALANCE() (*big.Int, error)
MINBALANCE is a free data retrieval call binding the contract method 0x867378c5.
Solidity: function MIN_BALANCE() view returns(uint256)
func (*BalancerpoolcontractSession) MINBOUNDTOKENS ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MINBOUNDTOKENS() (*big.Int, error)
MINBOUNDTOKENS is a free data retrieval call binding the contract method 0xb7b800a4.
Solidity: function MIN_BOUND_TOKENS() view returns(uint256)
func (*BalancerpoolcontractSession) MINBPOWBASE ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MINBPOWBASE() (*big.Int, error)
MINBPOWBASE is a free data retrieval call binding the contract method 0xba019dab.
Solidity: function MIN_BPOW_BASE() view returns(uint256)
func (*BalancerpoolcontractSession) MINFEE ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MINFEE() (*big.Int, error)
MINFEE is a free data retrieval call binding the contract method 0x76c7a3c7.
Solidity: function MIN_FEE() view returns(uint256)
func (*BalancerpoolcontractSession) MINWEIGHT ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) MINWEIGHT() (*big.Int, error)
MINWEIGHT is a free data retrieval call binding the contract method 0x218b5382.
Solidity: function MIN_WEIGHT() view returns(uint256)
func (*BalancerpoolcontractSession) Name ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BalancerpoolcontractSession) Rebind ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) Rebind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)
Rebind is a paid mutator transaction binding the contract method 0x3fdddaa2.
Solidity: function rebind(address token, uint256 balance, uint256 denorm) returns()
func (*BalancerpoolcontractSession) SetController ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) SetController(manager common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address manager) returns()
func (*BalancerpoolcontractSession) SetPublicSwap ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) SetPublicSwap(public_ bool) (*types.Transaction, error)
SetPublicSwap is a paid mutator transaction binding the contract method 0x49b59552.
Solidity: function setPublicSwap(bool public_) returns()
func (*BalancerpoolcontractSession) SetSwapFee ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) SetSwapFee(swapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.
Solidity: function setSwapFee(uint256 swapFee) returns()
func (*BalancerpoolcontractSession) SwapExactAmountIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) SwapExactAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, tokenOut common.Address, minAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)
SwapExactAmountIn is a paid mutator transaction binding the contract method 0x8201aa3f.
Solidity: function swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) returns(uint256 tokenAmountOut, uint256 spotPriceAfter)
func (*BalancerpoolcontractSession) SwapExactAmountOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) SwapExactAmountOut(tokenIn common.Address, maxAmountIn *big.Int, tokenOut common.Address, tokenAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)
SwapExactAmountOut is a paid mutator transaction binding the contract method 0x7c5e9ea4.
Solidity: function swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) returns(uint256 tokenAmountIn, uint256 spotPriceAfter)
func (*BalancerpoolcontractSession) Symbol ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BalancerpoolcontractSession) TotalSupply ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BalancerpoolcontractSession) Transfer ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) Transfer(dst common.Address, amt *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractSession) TransferFrom ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) TransferFrom(src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractSession) Unbind ¶
func (_Balancerpoolcontract *BalancerpoolcontractSession) Unbind(token common.Address) (*types.Transaction, error)
Unbind is a paid mutator transaction binding the contract method 0xcf5e7bd3.
Solidity: function unbind(address token) returns()
type BalancerpoolcontractTransactor ¶
type BalancerpoolcontractTransactor struct {
// contains filtered or unexported fields
}
BalancerpoolcontractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBalancerpoolcontractTransactor ¶
func NewBalancerpoolcontractTransactor(address common.Address, transactor bind.ContractTransactor) (*BalancerpoolcontractTransactor, error)
NewBalancerpoolcontractTransactor creates a new write-only instance of Balancerpoolcontract, bound to a specific deployed contract.
func (*BalancerpoolcontractTransactor) Approve ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Approve(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractTransactor) Bind ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Bind(opts *bind.TransactOpts, token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)
Bind is a paid mutator transaction binding the contract method 0xe4e1e538.
Solidity: function bind(address token, uint256 balance, uint256 denorm) returns()
func (*BalancerpoolcontractTransactor) DecreaseApproval ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) DecreaseApproval(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractTransactor) ExitPool ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) ExitPool(opts *bind.TransactOpts, poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)
ExitPool is a paid mutator transaction binding the contract method 0xb02f0b73.
Solidity: function exitPool(uint256 poolAmountIn, uint256[] minAmountsOut) returns()
func (*BalancerpoolcontractTransactor) ExitswapExternAmountOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) ExitswapExternAmountOut(opts *bind.TransactOpts, tokenOut common.Address, tokenAmountOut *big.Int, maxPoolAmountIn *big.Int) (*types.Transaction, error)
ExitswapExternAmountOut is a paid mutator transaction binding the contract method 0x02c96748.
Solidity: function exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) returns(uint256 poolAmountIn)
func (*BalancerpoolcontractTransactor) ExitswapPoolAmountIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) ExitswapPoolAmountIn(opts *bind.TransactOpts, tokenOut common.Address, poolAmountIn *big.Int, minAmountOut *big.Int) (*types.Transaction, error)
ExitswapPoolAmountIn is a paid mutator transaction binding the contract method 0x46ab38f1.
Solidity: function exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) returns(uint256 tokenAmountOut)
func (*BalancerpoolcontractTransactor) Finalize ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Finalize(opts *bind.TransactOpts) (*types.Transaction, error)
Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.
Solidity: function finalize() returns()
func (*BalancerpoolcontractTransactor) Gulp ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Gulp(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)
Gulp is a paid mutator transaction binding the contract method 0x8c28cbe8.
Solidity: function gulp(address token) returns()
func (*BalancerpoolcontractTransactor) IncreaseApproval ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) IncreaseApproval(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractTransactor) JoinPool ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) JoinPool(opts *bind.TransactOpts, poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)
JoinPool is a paid mutator transaction binding the contract method 0x4f69c0d4.
Solidity: function joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn) returns()
func (*BalancerpoolcontractTransactor) JoinswapExternAmountIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) JoinswapExternAmountIn(opts *bind.TransactOpts, tokenIn common.Address, tokenAmountIn *big.Int, minPoolAmountOut *big.Int) (*types.Transaction, error)
JoinswapExternAmountIn is a paid mutator transaction binding the contract method 0x5db34277.
Solidity: function joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) returns(uint256 poolAmountOut)
func (*BalancerpoolcontractTransactor) JoinswapPoolAmountOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) JoinswapPoolAmountOut(opts *bind.TransactOpts, tokenIn common.Address, poolAmountOut *big.Int, maxAmountIn *big.Int) (*types.Transaction, error)
JoinswapPoolAmountOut is a paid mutator transaction binding the contract method 0x6d06dfa0.
Solidity: function joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) returns(uint256 tokenAmountIn)
func (*BalancerpoolcontractTransactor) Rebind ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Rebind(opts *bind.TransactOpts, token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)
Rebind is a paid mutator transaction binding the contract method 0x3fdddaa2.
Solidity: function rebind(address token, uint256 balance, uint256 denorm) returns()
func (*BalancerpoolcontractTransactor) SetController ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) SetController(opts *bind.TransactOpts, manager common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address manager) returns()
func (*BalancerpoolcontractTransactor) SetPublicSwap ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) SetPublicSwap(opts *bind.TransactOpts, public_ bool) (*types.Transaction, error)
SetPublicSwap is a paid mutator transaction binding the contract method 0x49b59552.
Solidity: function setPublicSwap(bool public_) returns()
func (*BalancerpoolcontractTransactor) SetSwapFee ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) SetSwapFee(opts *bind.TransactOpts, swapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.
Solidity: function setSwapFee(uint256 swapFee) returns()
func (*BalancerpoolcontractTransactor) SwapExactAmountIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) SwapExactAmountIn(opts *bind.TransactOpts, tokenIn common.Address, tokenAmountIn *big.Int, tokenOut common.Address, minAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)
SwapExactAmountIn is a paid mutator transaction binding the contract method 0x8201aa3f.
Solidity: function swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) returns(uint256 tokenAmountOut, uint256 spotPriceAfter)
func (*BalancerpoolcontractTransactor) SwapExactAmountOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) SwapExactAmountOut(opts *bind.TransactOpts, tokenIn common.Address, maxAmountIn *big.Int, tokenOut common.Address, tokenAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)
SwapExactAmountOut is a paid mutator transaction binding the contract method 0x7c5e9ea4.
Solidity: function swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) returns(uint256 tokenAmountIn, uint256 spotPriceAfter)
func (*BalancerpoolcontractTransactor) Transfer ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, amt *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractTransactor) TransferFrom ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractTransactor) Unbind ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactor) Unbind(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)
Unbind is a paid mutator transaction binding the contract method 0xcf5e7bd3.
Solidity: function unbind(address token) returns()
type BalancerpoolcontractTransactorRaw ¶
type BalancerpoolcontractTransactorRaw struct {
Contract *BalancerpoolcontractTransactor // Generic write-only contract binding to access the raw methods on
}
BalancerpoolcontractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BalancerpoolcontractTransactorRaw) Transact ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BalancerpoolcontractTransactorRaw) Transfer ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorRaw) 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 BalancerpoolcontractTransactorSession ¶
type BalancerpoolcontractTransactorSession struct { Contract *BalancerpoolcontractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BalancerpoolcontractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BalancerpoolcontractTransactorSession) Approve ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Approve(dst common.Address, amt *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractTransactorSession) Bind ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Bind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)
Bind is a paid mutator transaction binding the contract method 0xe4e1e538.
Solidity: function bind(address token, uint256 balance, uint256 denorm) returns()
func (*BalancerpoolcontractTransactorSession) DecreaseApproval ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) DecreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractTransactorSession) ExitPool ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) ExitPool(poolAmountIn *big.Int, minAmountsOut []*big.Int) (*types.Transaction, error)
ExitPool is a paid mutator transaction binding the contract method 0xb02f0b73.
Solidity: function exitPool(uint256 poolAmountIn, uint256[] minAmountsOut) returns()
func (*BalancerpoolcontractTransactorSession) ExitswapExternAmountOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) ExitswapExternAmountOut(tokenOut common.Address, tokenAmountOut *big.Int, maxPoolAmountIn *big.Int) (*types.Transaction, error)
ExitswapExternAmountOut is a paid mutator transaction binding the contract method 0x02c96748.
Solidity: function exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) returns(uint256 poolAmountIn)
func (*BalancerpoolcontractTransactorSession) ExitswapPoolAmountIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) ExitswapPoolAmountIn(tokenOut common.Address, poolAmountIn *big.Int, minAmountOut *big.Int) (*types.Transaction, error)
ExitswapPoolAmountIn is a paid mutator transaction binding the contract method 0x46ab38f1.
Solidity: function exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) returns(uint256 tokenAmountOut)
func (*BalancerpoolcontractTransactorSession) Finalize ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Finalize() (*types.Transaction, error)
Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.
Solidity: function finalize() returns()
func (*BalancerpoolcontractTransactorSession) Gulp ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Gulp(token common.Address) (*types.Transaction, error)
Gulp is a paid mutator transaction binding the contract method 0x8c28cbe8.
Solidity: function gulp(address token) returns()
func (*BalancerpoolcontractTransactorSession) IncreaseApproval ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) IncreaseApproval(dst common.Address, amt *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractTransactorSession) JoinPool ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) JoinPool(poolAmountOut *big.Int, maxAmountsIn []*big.Int) (*types.Transaction, error)
JoinPool is a paid mutator transaction binding the contract method 0x4f69c0d4.
Solidity: function joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn) returns()
func (*BalancerpoolcontractTransactorSession) JoinswapExternAmountIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) JoinswapExternAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, minPoolAmountOut *big.Int) (*types.Transaction, error)
JoinswapExternAmountIn is a paid mutator transaction binding the contract method 0x5db34277.
Solidity: function joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) returns(uint256 poolAmountOut)
func (*BalancerpoolcontractTransactorSession) JoinswapPoolAmountOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) JoinswapPoolAmountOut(tokenIn common.Address, poolAmountOut *big.Int, maxAmountIn *big.Int) (*types.Transaction, error)
JoinswapPoolAmountOut is a paid mutator transaction binding the contract method 0x6d06dfa0.
Solidity: function joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) returns(uint256 tokenAmountIn)
func (*BalancerpoolcontractTransactorSession) Rebind ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Rebind(token common.Address, balance *big.Int, denorm *big.Int) (*types.Transaction, error)
Rebind is a paid mutator transaction binding the contract method 0x3fdddaa2.
Solidity: function rebind(address token, uint256 balance, uint256 denorm) returns()
func (*BalancerpoolcontractTransactorSession) SetController ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) SetController(manager common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address manager) returns()
func (*BalancerpoolcontractTransactorSession) SetPublicSwap ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) SetPublicSwap(public_ bool) (*types.Transaction, error)
SetPublicSwap is a paid mutator transaction binding the contract method 0x49b59552.
Solidity: function setPublicSwap(bool public_) returns()
func (*BalancerpoolcontractTransactorSession) SetSwapFee ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) SetSwapFee(swapFee *big.Int) (*types.Transaction, error)
SetSwapFee is a paid mutator transaction binding the contract method 0x34e19907.
Solidity: function setSwapFee(uint256 swapFee) returns()
func (*BalancerpoolcontractTransactorSession) SwapExactAmountIn ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) SwapExactAmountIn(tokenIn common.Address, tokenAmountIn *big.Int, tokenOut common.Address, minAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)
SwapExactAmountIn is a paid mutator transaction binding the contract method 0x8201aa3f.
Solidity: function swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) returns(uint256 tokenAmountOut, uint256 spotPriceAfter)
func (*BalancerpoolcontractTransactorSession) SwapExactAmountOut ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) SwapExactAmountOut(tokenIn common.Address, maxAmountIn *big.Int, tokenOut common.Address, tokenAmountOut *big.Int, maxPrice *big.Int) (*types.Transaction, error)
SwapExactAmountOut is a paid mutator transaction binding the contract method 0x7c5e9ea4.
Solidity: function swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) returns(uint256 tokenAmountIn, uint256 spotPriceAfter)
func (*BalancerpoolcontractTransactorSession) Transfer ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Transfer(dst common.Address, amt *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractTransactorSession) TransferFrom ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) TransferFrom(src common.Address, dst common.Address, amt *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 amt) returns(bool)
func (*BalancerpoolcontractTransactorSession) Unbind ¶
func (_Balancerpoolcontract *BalancerpoolcontractTransactorSession) Unbind(token common.Address) (*types.Transaction, error)
Unbind is a paid mutator transaction binding the contract method 0xcf5e7bd3.
Solidity: function unbind(address token) returns()
type BalancerpoolcontractTransfer ¶
type BalancerpoolcontractTransfer struct { Src common.Address Dst common.Address Amt *big.Int Raw types.Log // Blockchain specific contextual infos }
BalancerpoolcontractTransfer represents a Transfer event raised by the Balancerpoolcontract contract.
type BalancerpoolcontractTransferIterator ¶
type BalancerpoolcontractTransferIterator struct { Event *BalancerpoolcontractTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BalancerpoolcontractTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Balancerpoolcontract contract.
func (*BalancerpoolcontractTransferIterator) Close ¶
func (it *BalancerpoolcontractTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BalancerpoolcontractTransferIterator) Error ¶
func (it *BalancerpoolcontractTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BalancerpoolcontractTransferIterator) Next ¶
func (it *BalancerpoolcontractTransferIterator) 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.