Versions in this module Expand all Collapse all v0 v0.0.1 Dec 3, 2021 Changes in this version + const HuniswapABI + type Huniswap struct + func NewHuniswap(address common.Address, backend bind.ContractBackend) (*Huniswap, error) + type HuniswapCaller struct + func NewHuniswapCaller(address common.Address, caller bind.ContractCaller) (*HuniswapCaller, error) + type HuniswapCallerRaw struct + Contract *HuniswapCaller + func (_Huniswap *HuniswapCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type HuniswapCallerSession struct + CallOpts bind.CallOpts + Contract *HuniswapCaller + type HuniswapFilterer struct + func NewHuniswapFilterer(address common.Address, filterer bind.ContractFilterer) (*HuniswapFilterer, error) + type HuniswapRaw struct + Contract *Huniswap + func (_Huniswap *HuniswapRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_Huniswap *HuniswapRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Huniswap *HuniswapRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type HuniswapSession struct + CallOpts bind.CallOpts + Contract *Huniswap + TransactOpts bind.TransactOpts + func (_Huniswap *HuniswapSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapSession) AddLiquidityETH(value *big.Int, token common.Address, amountTokenDesired *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapSession) PostProcess() (*types.Transaction, error) + func (_Huniswap *HuniswapSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapSession) SwapETHForExactTokens(value *big.Int, amountOut *big.Int, path []common.Address) (*types.Transaction, error) + func (_Huniswap *HuniswapSession) SwapExactETHForTokens(value *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error) + func (_Huniswap *HuniswapSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error) + func (_Huniswap *HuniswapSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error) + func (_Huniswap *HuniswapSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address) (*types.Transaction, error) + func (_Huniswap *HuniswapSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address) (*types.Transaction, error) + type HuniswapTransactor struct + func NewHuniswapTransactor(address common.Address, transactor bind.ContractTransactor) (*HuniswapTransactor, error) + func (_Huniswap *HuniswapTransactor) AddLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactor) AddLiquidityETH(opts *bind.TransactOpts, value *big.Int, token common.Address, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactor) PostProcess(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactor) RemoveLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactor) RemoveLiquidityETH(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactor) SwapETHForExactTokens(opts *bind.TransactOpts, value *big.Int, amountOut *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactor) SwapExactETHForTokens(opts *bind.TransactOpts, value *big.Int, amountOutMin *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactor) SwapExactTokensForETH(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactor) SwapExactTokensForTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactor) SwapTokensForExactETH(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactor) SwapTokensForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, ...) (*types.Transaction, error) + type HuniswapTransactorRaw struct + Contract *HuniswapTransactor + func (_Huniswap *HuniswapTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type HuniswapTransactorSession struct + Contract *HuniswapTransactor + TransactOpts bind.TransactOpts + func (_Huniswap *HuniswapTransactorSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactorSession) AddLiquidityETH(value *big.Int, token common.Address, amountTokenDesired *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactorSession) PostProcess() (*types.Transaction, error) + func (_Huniswap *HuniswapTransactorSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactorSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactorSession) SwapETHForExactTokens(value *big.Int, amountOut *big.Int, path []common.Address) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactorSession) SwapExactETHForTokens(value *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactorSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactorSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactorSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address) (*types.Transaction, error) + func (_Huniswap *HuniswapTransactorSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address) (*types.Transaction, error)