Documentation ¶
Index ¶
- Constants
- type UniswapV2
- type UniswapV2Approval
- type UniswapV2Approval0
- type UniswapV2Approval0Iterator
- type UniswapV2ApprovalIterator
- type UniswapV2Burn
- type UniswapV2BurnIterator
- type UniswapV2Caller
- func (_UniswapV2 *UniswapV2Caller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_UniswapV2 *UniswapV2Caller) AllPairsLength(opts *bind.CallOpts) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) Allowance0(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) BalanceOf0(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_UniswapV2 *UniswapV2Caller) DOMAINSEPARATOR0(opts *bind.CallOpts) ([32]byte, error)
- func (_UniswapV2 *UniswapV2Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_UniswapV2 *UniswapV2Caller) Decimals0(opts *bind.CallOpts) (uint8, error)
- func (_UniswapV2 *UniswapV2Caller) Factory(opts *bind.CallOpts) (common.Address, error)
- func (_UniswapV2 *UniswapV2Caller) Factory0(opts *bind.CallOpts) (common.Address, error)
- func (_UniswapV2 *UniswapV2Caller) FeeTo(opts *bind.CallOpts) (common.Address, error)
- func (_UniswapV2 *UniswapV2Caller) FeeToSetter(opts *bind.CallOpts) (common.Address, error)
- func (_UniswapV2 *UniswapV2Caller) GetAmountIn(opts *bind.CallOpts, amountOut *big.Int, reserveIn *big.Int, ...) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) GetAmountOut(opts *bind.CallOpts, amountIn *big.Int, reserveIn *big.Int, ...) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) GetAmountsIn(opts *bind.CallOpts, amountOut *big.Int, path []common.Address) ([]*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) GetAmountsOut(opts *bind.CallOpts, amountIn *big.Int, path []common.Address) ([]*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) GetPair(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)
- func (_UniswapV2 *UniswapV2Caller) GetReserves(opts *bind.CallOpts) (struct{ ... }, error)
- func (_UniswapV2 *UniswapV2Caller) KLast(opts *bind.CallOpts) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) Name(opts *bind.CallOpts) (string, error)
- func (_UniswapV2 *UniswapV2Caller) Name0(opts *bind.CallOpts) (string, error)
- func (_UniswapV2 *UniswapV2Caller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) Nonces0(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_UniswapV2 *UniswapV2Caller) PERMITTYPEHASH0(opts *bind.CallOpts) ([32]byte, error)
- func (_UniswapV2 *UniswapV2Caller) Price0CumulativeLast(opts *bind.CallOpts) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) Price1CumulativeLast(opts *bind.CallOpts) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) Quote(opts *bind.CallOpts, amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_UniswapV2 *UniswapV2Caller) Symbol0(opts *bind.CallOpts) (string, error)
- func (_UniswapV2 *UniswapV2Caller) Token0(opts *bind.CallOpts) (common.Address, error)
- func (_UniswapV2 *UniswapV2Caller) Token1(opts *bind.CallOpts) (common.Address, error)
- func (_UniswapV2 *UniswapV2Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) TotalSupply0(opts *bind.CallOpts) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Caller) WETH(opts *bind.CallOpts) (common.Address, error)
- type UniswapV2CallerRaw
- type UniswapV2CallerSession
- func (_UniswapV2 *UniswapV2CallerSession) AllPairs(arg0 *big.Int) (common.Address, error)
- func (_UniswapV2 *UniswapV2CallerSession) AllPairsLength() (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) Allowance0(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) BalanceOf0(arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_UniswapV2 *UniswapV2CallerSession) DOMAINSEPARATOR0() ([32]byte, error)
- func (_UniswapV2 *UniswapV2CallerSession) Decimals() (uint8, error)
- func (_UniswapV2 *UniswapV2CallerSession) Decimals0() (uint8, error)
- func (_UniswapV2 *UniswapV2CallerSession) Factory() (common.Address, error)
- func (_UniswapV2 *UniswapV2CallerSession) Factory0() (common.Address, error)
- func (_UniswapV2 *UniswapV2CallerSession) FeeTo() (common.Address, error)
- func (_UniswapV2 *UniswapV2CallerSession) FeeToSetter() (common.Address, error)
- func (_UniswapV2 *UniswapV2CallerSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)
- func (_UniswapV2 *UniswapV2CallerSession) GetReserves() (struct{ ... }, error)
- func (_UniswapV2 *UniswapV2CallerSession) KLast() (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) MINIMUMLIQUIDITY() (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) Name() (string, error)
- func (_UniswapV2 *UniswapV2CallerSession) Name0() (string, error)
- func (_UniswapV2 *UniswapV2CallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) Nonces0(arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) PERMITTYPEHASH() ([32]byte, error)
- func (_UniswapV2 *UniswapV2CallerSession) PERMITTYPEHASH0() ([32]byte, error)
- func (_UniswapV2 *UniswapV2CallerSession) Price0CumulativeLast() (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) Price1CumulativeLast() (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) Symbol() (string, error)
- func (_UniswapV2 *UniswapV2CallerSession) Symbol0() (string, error)
- func (_UniswapV2 *UniswapV2CallerSession) Token0() (common.Address, error)
- func (_UniswapV2 *UniswapV2CallerSession) Token1() (common.Address, error)
- func (_UniswapV2 *UniswapV2CallerSession) TotalSupply() (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) TotalSupply0() (*big.Int, error)
- func (_UniswapV2 *UniswapV2CallerSession) WETH() (common.Address, error)
- type UniswapV2Filterer
- func (_UniswapV2 *UniswapV2Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UniswapV2ApprovalIterator, error)
- func (_UniswapV2 *UniswapV2Filterer) FilterApproval0(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UniswapV2Approval0Iterator, error)
- func (_UniswapV2 *UniswapV2Filterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*UniswapV2BurnIterator, error)
- func (_UniswapV2 *UniswapV2Filterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*UniswapV2MintIterator, error)
- func (_UniswapV2 *UniswapV2Filterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*UniswapV2PairCreatedIterator, error)
- func (_UniswapV2 *UniswapV2Filterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*UniswapV2SwapIterator, error)
- func (_UniswapV2 *UniswapV2Filterer) FilterSync(opts *bind.FilterOpts) (*UniswapV2SyncIterator, error)
- func (_UniswapV2 *UniswapV2Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UniswapV2TransferIterator, error)
- func (_UniswapV2 *UniswapV2Filterer) FilterTransfer0(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UniswapV2Transfer0Iterator, error)
- func (_UniswapV2 *UniswapV2Filterer) ParseApproval(log types.Log) (*UniswapV2Approval, error)
- func (_UniswapV2 *UniswapV2Filterer) ParseApproval0(log types.Log) (*UniswapV2Approval0, error)
- func (_UniswapV2 *UniswapV2Filterer) ParseBurn(log types.Log) (*UniswapV2Burn, error)
- func (_UniswapV2 *UniswapV2Filterer) ParseMint(log types.Log) (*UniswapV2Mint, error)
- func (_UniswapV2 *UniswapV2Filterer) ParsePairCreated(log types.Log) (*UniswapV2PairCreated, error)
- func (_UniswapV2 *UniswapV2Filterer) ParseSwap(log types.Log) (*UniswapV2Swap, error)
- func (_UniswapV2 *UniswapV2Filterer) ParseSync(log types.Log) (*UniswapV2Sync, error)
- func (_UniswapV2 *UniswapV2Filterer) ParseTransfer(log types.Log) (*UniswapV2Transfer, error)
- func (_UniswapV2 *UniswapV2Filterer) ParseTransfer0(log types.Log) (*UniswapV2Transfer0, error)
- func (_UniswapV2 *UniswapV2Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UniswapV2Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_UniswapV2 *UniswapV2Filterer) WatchApproval0(opts *bind.WatchOpts, sink chan<- *UniswapV2Approval0, owner []common.Address, ...) (event.Subscription, error)
- func (_UniswapV2 *UniswapV2Filterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *UniswapV2Burn, sender []common.Address, ...) (event.Subscription, error)
- func (_UniswapV2 *UniswapV2Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *UniswapV2Mint, sender []common.Address) (event.Subscription, error)
- func (_UniswapV2 *UniswapV2Filterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *UniswapV2PairCreated, ...) (event.Subscription, error)
- func (_UniswapV2 *UniswapV2Filterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *UniswapV2Swap, sender []common.Address, ...) (event.Subscription, error)
- func (_UniswapV2 *UniswapV2Filterer) WatchSync(opts *bind.WatchOpts, sink chan<- *UniswapV2Sync) (event.Subscription, error)
- func (_UniswapV2 *UniswapV2Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UniswapV2Transfer, from []common.Address, ...) (event.Subscription, error)
- func (_UniswapV2 *UniswapV2Filterer) WatchTransfer0(opts *bind.WatchOpts, sink chan<- *UniswapV2Transfer0, from []common.Address, ...) (event.Subscription, error)
- type UniswapV2Mint
- type UniswapV2MintIterator
- type UniswapV2PairCreated
- type UniswapV2PairCreatedIterator
- type UniswapV2Raw
- func (_UniswapV2 *UniswapV2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_UniswapV2 *UniswapV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UniswapV2Session
- func (_UniswapV2 *UniswapV2Session) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) AllPairs(arg0 *big.Int) (common.Address, error)
- func (_UniswapV2 *UniswapV2Session) AllPairsLength() (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) Allowance0(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) Approve0(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) BalanceOf0(arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) Burn(to common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) DOMAINSEPARATOR() ([32]byte, error)
- func (_UniswapV2 *UniswapV2Session) DOMAINSEPARATOR0() ([32]byte, error)
- func (_UniswapV2 *UniswapV2Session) Decimals() (uint8, error)
- func (_UniswapV2 *UniswapV2Session) Decimals0() (uint8, error)
- func (_UniswapV2 *UniswapV2Session) Factory() (common.Address, error)
- func (_UniswapV2 *UniswapV2Session) Factory0() (common.Address, error)
- func (_UniswapV2 *UniswapV2Session) FeeTo() (common.Address, error)
- func (_UniswapV2 *UniswapV2Session) FeeToSetter() (common.Address, error)
- func (_UniswapV2 *UniswapV2Session) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)
- func (_UniswapV2 *UniswapV2Session) GetReserves() (struct{ ... }, error)
- func (_UniswapV2 *UniswapV2Session) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) KLast() (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) MINIMUMLIQUIDITY() (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) Mint(to common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) Name() (string, error)
- func (_UniswapV2 *UniswapV2Session) Name0() (string, error)
- func (_UniswapV2 *UniswapV2Session) Nonces(arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) Nonces0(arg0 common.Address) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) PERMITTYPEHASH() ([32]byte, error)
- func (_UniswapV2 *UniswapV2Session) PERMITTYPEHASH0() ([32]byte, error)
- func (_UniswapV2 *UniswapV2Session) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) Permit0(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) Price0CumulativeLast() (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) Price1CumulativeLast() (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) Receive() (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) Skim(to common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) Symbol() (string, error)
- func (_UniswapV2 *UniswapV2Session) Symbol0() (string, error)
- func (_UniswapV2 *UniswapV2Session) Sync() (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) Token0() (common.Address, error)
- func (_UniswapV2 *UniswapV2Session) Token1() (common.Address, error)
- func (_UniswapV2 *UniswapV2Session) TotalSupply() (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) TotalSupply0() (*big.Int, error)
- func (_UniswapV2 *UniswapV2Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) Transfer0(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) TransferFrom0(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Session) WETH() (common.Address, error)
- type UniswapV2Swap
- type UniswapV2SwapIterator
- type UniswapV2Sync
- type UniswapV2SyncIterator
- type UniswapV2Transactor
- func (_UniswapV2 *UniswapV2Transactor) AddLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) AddLiquidityETH(opts *bind.TransactOpts, token common.Address, amountTokenDesired *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Approve0(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Burn(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Initialize(opts *bind.TransactOpts, _token0 common.Address, _token1 common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Mint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Permit0(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETH(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETHWithPermit(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityWithPermit(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) SetFeeTo(opts *bind.TransactOpts, _feeTo common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) SetFeeToSetter(opts *bind.TransactOpts, _feeToSetter common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Skim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Swap(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) SwapETHForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) SwapExactETHForTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) SwapExactETHForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForETH(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) SwapTokensForExactETH(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) SwapTokensForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) Transfer0(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2Transactor) TransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type UniswapV2TransactorRaw
- type UniswapV2TransactorSession
- func (_UniswapV2 *UniswapV2TransactorSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Approve0(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Burn(to common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Mint(to common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Permit0(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Receive() (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Skim(to common.Address) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, ...) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Sync() (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) Transfer0(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_UniswapV2 *UniswapV2TransactorSession) TransferFrom0(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type UniswapV2Transfer
- type UniswapV2Transfer0
- type UniswapV2Transfer0Iterator
- type UniswapV2TransferIterator
Constants ¶
const UniswapV2ABI = "" /* 31156-byte string literal not displayed */
UniswapV2ABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UniswapV2 ¶
type UniswapV2 struct { UniswapV2Caller // Read-only binding to the contract UniswapV2Transactor // Write-only binding to the contract UniswapV2Filterer // Log filterer for contract events }
UniswapV2 is an auto generated Go binding around an Ethereum contract.
func NewUniswapV2 ¶
NewUniswapV2 creates a new instance of UniswapV2, bound to a specific deployed contract.
type UniswapV2Approval ¶
type UniswapV2Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
UniswapV2Approval represents a Approval event raised by the UniswapV2 contract.
type UniswapV2Approval0 ¶
type UniswapV2Approval0 struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
UniswapV2Approval0 represents a Approval0 event raised by the UniswapV2 contract.
type UniswapV2Approval0Iterator ¶
type UniswapV2Approval0Iterator struct { Event *UniswapV2Approval0 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniswapV2Approval0Iterator is returned from FilterApproval0 and is used to iterate over the raw logs and unpacked data for Approval0 events raised by the UniswapV2 contract.
func (*UniswapV2Approval0Iterator) Close ¶
func (it *UniswapV2Approval0Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniswapV2Approval0Iterator) Error ¶
func (it *UniswapV2Approval0Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniswapV2Approval0Iterator) Next ¶
func (it *UniswapV2Approval0Iterator) 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 UniswapV2ApprovalIterator ¶
type UniswapV2ApprovalIterator struct { Event *UniswapV2Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniswapV2ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the UniswapV2 contract.
func (*UniswapV2ApprovalIterator) Close ¶
func (it *UniswapV2ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniswapV2ApprovalIterator) Error ¶
func (it *UniswapV2ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniswapV2ApprovalIterator) Next ¶
func (it *UniswapV2ApprovalIterator) 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 UniswapV2Burn ¶
type UniswapV2Burn struct { Sender common.Address Amount0 *big.Int Amount1 *big.Int To common.Address Raw types.Log // Blockchain specific contextual infos }
UniswapV2Burn represents a Burn event raised by the UniswapV2 contract.
type UniswapV2BurnIterator ¶
type UniswapV2BurnIterator struct { Event *UniswapV2Burn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniswapV2BurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the UniswapV2 contract.
func (*UniswapV2BurnIterator) Close ¶
func (it *UniswapV2BurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniswapV2BurnIterator) Error ¶
func (it *UniswapV2BurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniswapV2BurnIterator) Next ¶
func (it *UniswapV2BurnIterator) 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 UniswapV2Caller ¶
type UniswapV2Caller struct {
// contains filtered or unexported fields
}
UniswapV2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewUniswapV2Caller ¶
func NewUniswapV2Caller(address common.Address, caller bind.ContractCaller) (*UniswapV2Caller, error)
NewUniswapV2Caller creates a new read-only instance of UniswapV2, bound to a specific deployed contract.
func (*UniswapV2Caller) AllPairs ¶
func (_UniswapV2 *UniswapV2Caller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.
Solidity: function allPairs(uint256 ) view returns(address)
func (*UniswapV2Caller) AllPairsLength ¶
AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.
Solidity: function allPairsLength() view returns(uint256)
func (*UniswapV2Caller) Allowance ¶
func (_UniswapV2 *UniswapV2Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*UniswapV2Caller) Allowance0 ¶
func (_UniswapV2 *UniswapV2Caller) Allowance0(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance0 is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*UniswapV2Caller) BalanceOf ¶
func (_UniswapV2 *UniswapV2Caller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*UniswapV2Caller) BalanceOf0 ¶
func (_UniswapV2 *UniswapV2Caller) BalanceOf0(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
BalanceOf0 is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*UniswapV2Caller) DOMAINSEPARATOR ¶
func (_UniswapV2 *UniswapV2Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*UniswapV2Caller) DOMAINSEPARATOR0 ¶
func (_UniswapV2 *UniswapV2Caller) DOMAINSEPARATOR0(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR0 is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*UniswapV2Caller) Decimals ¶
func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) Decimals0 ¶
func (_UniswapV2 *UniswapV2Caller) Decimals0(opts *bind.CallOpts) (uint8, error)
Decimals0 is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*UniswapV2Caller) Factory ¶
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*UniswapV2Caller) Factory0 ¶
Factory0 is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*UniswapV2Caller) FeeTo ¶
FeeTo is a free data retrieval call binding the contract method 0x017e7e58.
Solidity: function feeTo() view returns(address)
func (*UniswapV2Caller) FeeToSetter ¶
FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.
Solidity: function feeToSetter() view returns(address)
func (*UniswapV2Caller) GetAmountIn ¶
func (_UniswapV2 *UniswapV2Caller) GetAmountIn(opts *bind.CallOpts, amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)
GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.
Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)
func (*UniswapV2Caller) GetAmountOut ¶
func (_UniswapV2 *UniswapV2Caller) GetAmountOut(opts *bind.CallOpts, amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)
GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.
Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)
func (*UniswapV2Caller) GetAmountsIn ¶
func (_UniswapV2 *UniswapV2Caller) GetAmountsIn(opts *bind.CallOpts, amountOut *big.Int, path []common.Address) ([]*big.Int, error)
GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.
Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)
func (*UniswapV2Caller) GetAmountsOut ¶
func (_UniswapV2 *UniswapV2Caller) GetAmountsOut(opts *bind.CallOpts, amountIn *big.Int, path []common.Address) ([]*big.Int, error)
GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.
Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)
func (*UniswapV2Caller) GetPair ¶
func (_UniswapV2 *UniswapV2Caller) GetPair(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)
GetPair is a free data retrieval call binding the contract method 0xe6a43905.
Solidity: function getPair(address , address ) view returns(address)
func (*UniswapV2Caller) GetReserves ¶
func (_UniswapV2 *UniswapV2Caller) GetReserves(opts *bind.CallOpts) (struct { Reserve0 *big.Int Reserve1 *big.Int BlockTimestampLast uint32 }, error)
GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.
Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)
func (*UniswapV2Caller) KLast ¶
KLast is a free data retrieval call binding the contract method 0x7464fc3d.
Solidity: function kLast() view returns(uint256)
func (*UniswapV2Caller) MINIMUMLIQUIDITY ¶
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.
Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
func (*UniswapV2Caller) Name ¶
func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) Name0 ¶
func (_UniswapV2 *UniswapV2Caller) Name0(opts *bind.CallOpts) (string, error)
Name0 is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*UniswapV2Caller) Nonces ¶
func (_UniswapV2 *UniswapV2Caller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*UniswapV2Caller) Nonces0 ¶
func (_UniswapV2 *UniswapV2Caller) Nonces0(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Nonces0 is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*UniswapV2Caller) PERMITTYPEHASH ¶
func (_UniswapV2 *UniswapV2Caller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*UniswapV2Caller) PERMITTYPEHASH0 ¶
func (_UniswapV2 *UniswapV2Caller) PERMITTYPEHASH0(opts *bind.CallOpts) ([32]byte, error)
PERMITTYPEHASH0 is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*UniswapV2Caller) Price0CumulativeLast ¶
Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.
Solidity: function price0CumulativeLast() view returns(uint256)
func (*UniswapV2Caller) Price1CumulativeLast ¶
Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.
Solidity: function price1CumulativeLast() view returns(uint256)
func (*UniswapV2Caller) Quote ¶
func (_UniswapV2 *UniswapV2Caller) Quote(opts *bind.CallOpts, amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)
Quote is a free data retrieval call binding the contract method 0xad615dec.
Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)
func (*UniswapV2Caller) Symbol ¶
func (_UniswapV2 *UniswapV2Caller) 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 (*UniswapV2Caller) Symbol0 ¶
func (_UniswapV2 *UniswapV2Caller) Symbol0(opts *bind.CallOpts) (string, error)
Symbol0 is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*UniswapV2Caller) Token0 ¶
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*UniswapV2Caller) Token1 ¶
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*UniswapV2Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*UniswapV2Caller) TotalSupply0 ¶
TotalSupply0 is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type UniswapV2CallerRaw ¶
type UniswapV2CallerRaw struct {
Contract *UniswapV2Caller // Generic read-only contract binding to access the raw methods on
}
UniswapV2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UniswapV2CallerRaw) Call ¶
func (_UniswapV2 *UniswapV2CallerRaw) 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 UniswapV2CallerSession ¶
type UniswapV2CallerSession struct { Contract *UniswapV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UniswapV2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*UniswapV2CallerSession) AllPairs ¶
AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.
Solidity: function allPairs(uint256 ) view returns(address)
func (*UniswapV2CallerSession) AllPairsLength ¶
func (_UniswapV2 *UniswapV2CallerSession) AllPairsLength() (*big.Int, error)
AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.
Solidity: function allPairsLength() view returns(uint256)
func (*UniswapV2CallerSession) Allowance ¶
func (_UniswapV2 *UniswapV2CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*UniswapV2CallerSession) Allowance0 ¶
func (_UniswapV2 *UniswapV2CallerSession) Allowance0(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance0 is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*UniswapV2CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*UniswapV2CallerSession) BalanceOf0 ¶
BalanceOf0 is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*UniswapV2CallerSession) DOMAINSEPARATOR ¶
func (_UniswapV2 *UniswapV2CallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*UniswapV2CallerSession) DOMAINSEPARATOR0 ¶
func (_UniswapV2 *UniswapV2CallerSession) DOMAINSEPARATOR0() ([32]byte, error)
DOMAINSEPARATOR0 is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*UniswapV2CallerSession) Decimals ¶
func (_UniswapV2 *UniswapV2CallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*UniswapV2CallerSession) Decimals0 ¶
func (_UniswapV2 *UniswapV2CallerSession) Decimals0() (uint8, error)
Decimals0 is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*UniswapV2CallerSession) Factory ¶
func (_UniswapV2 *UniswapV2CallerSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*UniswapV2CallerSession) Factory0 ¶
func (_UniswapV2 *UniswapV2CallerSession) Factory0() (common.Address, error)
Factory0 is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*UniswapV2CallerSession) FeeTo ¶
func (_UniswapV2 *UniswapV2CallerSession) FeeTo() (common.Address, error)
FeeTo is a free data retrieval call binding the contract method 0x017e7e58.
Solidity: function feeTo() view returns(address)
func (*UniswapV2CallerSession) FeeToSetter ¶
func (_UniswapV2 *UniswapV2CallerSession) FeeToSetter() (common.Address, error)
FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.
Solidity: function feeToSetter() view returns(address)
func (*UniswapV2CallerSession) GetAmountIn ¶
func (_UniswapV2 *UniswapV2CallerSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)
GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.
Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)
func (*UniswapV2CallerSession) GetAmountOut ¶
func (_UniswapV2 *UniswapV2CallerSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)
GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.
Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)
func (*UniswapV2CallerSession) GetAmountsIn ¶
func (_UniswapV2 *UniswapV2CallerSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)
GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.
Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)
func (*UniswapV2CallerSession) GetAmountsOut ¶
func (_UniswapV2 *UniswapV2CallerSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)
GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.
Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)
func (*UniswapV2CallerSession) GetPair ¶
func (_UniswapV2 *UniswapV2CallerSession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)
GetPair is a free data retrieval call binding the contract method 0xe6a43905.
Solidity: function getPair(address , address ) view returns(address)
func (*UniswapV2CallerSession) GetReserves ¶
func (_UniswapV2 *UniswapV2CallerSession) GetReserves() (struct { Reserve0 *big.Int Reserve1 *big.Int BlockTimestampLast uint32 }, error)
GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.
Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)
func (*UniswapV2CallerSession) KLast ¶
func (_UniswapV2 *UniswapV2CallerSession) KLast() (*big.Int, error)
KLast is a free data retrieval call binding the contract method 0x7464fc3d.
Solidity: function kLast() view returns(uint256)
func (*UniswapV2CallerSession) MINIMUMLIQUIDITY ¶
func (_UniswapV2 *UniswapV2CallerSession) MINIMUMLIQUIDITY() (*big.Int, error)
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.
Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
func (*UniswapV2CallerSession) Name ¶
func (_UniswapV2 *UniswapV2CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*UniswapV2CallerSession) Name0 ¶
func (_UniswapV2 *UniswapV2CallerSession) Name0() (string, error)
Name0 is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*UniswapV2CallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*UniswapV2CallerSession) Nonces0 ¶
Nonces0 is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*UniswapV2CallerSession) PERMITTYPEHASH ¶
func (_UniswapV2 *UniswapV2CallerSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*UniswapV2CallerSession) PERMITTYPEHASH0 ¶
func (_UniswapV2 *UniswapV2CallerSession) PERMITTYPEHASH0() ([32]byte, error)
PERMITTYPEHASH0 is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*UniswapV2CallerSession) Price0CumulativeLast ¶
func (_UniswapV2 *UniswapV2CallerSession) Price0CumulativeLast() (*big.Int, error)
Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.
Solidity: function price0CumulativeLast() view returns(uint256)
func (*UniswapV2CallerSession) Price1CumulativeLast ¶
func (_UniswapV2 *UniswapV2CallerSession) Price1CumulativeLast() (*big.Int, error)
Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.
Solidity: function price1CumulativeLast() view returns(uint256)
func (*UniswapV2CallerSession) Quote ¶
func (_UniswapV2 *UniswapV2CallerSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)
Quote is a free data retrieval call binding the contract method 0xad615dec.
Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)
func (*UniswapV2CallerSession) Symbol ¶
func (_UniswapV2 *UniswapV2CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*UniswapV2CallerSession) Symbol0 ¶
func (_UniswapV2 *UniswapV2CallerSession) Symbol0() (string, error)
Symbol0 is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*UniswapV2CallerSession) Token0 ¶
func (_UniswapV2 *UniswapV2CallerSession) Token0() (common.Address, error)
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*UniswapV2CallerSession) Token1 ¶
func (_UniswapV2 *UniswapV2CallerSession) Token1() (common.Address, error)
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*UniswapV2CallerSession) TotalSupply ¶
func (_UniswapV2 *UniswapV2CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*UniswapV2CallerSession) TotalSupply0 ¶
func (_UniswapV2 *UniswapV2CallerSession) TotalSupply0() (*big.Int, error)
TotalSupply0 is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type UniswapV2Filterer ¶
type UniswapV2Filterer struct {
// contains filtered or unexported fields
}
UniswapV2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUniswapV2Filterer ¶
func NewUniswapV2Filterer(address common.Address, filterer bind.ContractFilterer) (*UniswapV2Filterer, error)
NewUniswapV2Filterer creates a new log filterer instance of UniswapV2, bound to a specific deployed contract.
func (*UniswapV2Filterer) FilterApproval ¶
func (_UniswapV2 *UniswapV2Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UniswapV2ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*UniswapV2Filterer) FilterApproval0 ¶
func (_UniswapV2 *UniswapV2Filterer) FilterApproval0(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*UniswapV2Approval0Iterator, error)
FilterApproval0 is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*UniswapV2Filterer) FilterBurn ¶
func (_UniswapV2 *UniswapV2Filterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*UniswapV2BurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.
Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)
func (*UniswapV2Filterer) FilterMint ¶
func (_UniswapV2 *UniswapV2Filterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*UniswapV2MintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.
Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)
func (*UniswapV2Filterer) FilterPairCreated ¶
func (_UniswapV2 *UniswapV2Filterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*UniswapV2PairCreatedIterator, error)
FilterPairCreated is a free log retrieval operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.
Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)
func (*UniswapV2Filterer) FilterSwap ¶
func (_UniswapV2 *UniswapV2Filterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*UniswapV2SwapIterator, error)
FilterSwap is a free log retrieval operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.
Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)
func (*UniswapV2Filterer) FilterSync ¶
func (_UniswapV2 *UniswapV2Filterer) FilterSync(opts *bind.FilterOpts) (*UniswapV2SyncIterator, error)
FilterSync is a free log retrieval operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.
Solidity: event Sync(uint112 reserve0, uint112 reserve1)
func (*UniswapV2Filterer) FilterTransfer ¶
func (_UniswapV2 *UniswapV2Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UniswapV2TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*UniswapV2Filterer) FilterTransfer0 ¶
func (_UniswapV2 *UniswapV2Filterer) FilterTransfer0(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*UniswapV2Transfer0Iterator, error)
FilterTransfer0 is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*UniswapV2Filterer) ParseApproval ¶
func (_UniswapV2 *UniswapV2Filterer) ParseApproval(log types.Log) (*UniswapV2Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*UniswapV2Filterer) ParseApproval0 ¶
func (_UniswapV2 *UniswapV2Filterer) ParseApproval0(log types.Log) (*UniswapV2Approval0, error)
ParseApproval0 is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*UniswapV2Filterer) ParseBurn ¶
func (_UniswapV2 *UniswapV2Filterer) ParseBurn(log types.Log) (*UniswapV2Burn, error)
ParseBurn is a log parse operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.
Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)
func (*UniswapV2Filterer) ParseMint ¶
func (_UniswapV2 *UniswapV2Filterer) ParseMint(log types.Log) (*UniswapV2Mint, error)
ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.
Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)
func (*UniswapV2Filterer) ParsePairCreated ¶
func (_UniswapV2 *UniswapV2Filterer) ParsePairCreated(log types.Log) (*UniswapV2PairCreated, error)
ParsePairCreated is a log parse operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.
Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)
func (*UniswapV2Filterer) ParseSwap ¶
func (_UniswapV2 *UniswapV2Filterer) ParseSwap(log types.Log) (*UniswapV2Swap, error)
ParseSwap is a log parse operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.
Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)
func (*UniswapV2Filterer) ParseSync ¶
func (_UniswapV2 *UniswapV2Filterer) ParseSync(log types.Log) (*UniswapV2Sync, error)
ParseSync is a log parse operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.
Solidity: event Sync(uint112 reserve0, uint112 reserve1)
func (*UniswapV2Filterer) ParseTransfer ¶
func (_UniswapV2 *UniswapV2Filterer) ParseTransfer(log types.Log) (*UniswapV2Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*UniswapV2Filterer) ParseTransfer0 ¶
func (_UniswapV2 *UniswapV2Filterer) ParseTransfer0(log types.Log) (*UniswapV2Transfer0, error)
ParseTransfer0 is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*UniswapV2Filterer) WatchApproval ¶
func (_UniswapV2 *UniswapV2Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UniswapV2Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*UniswapV2Filterer) WatchApproval0 ¶
func (_UniswapV2 *UniswapV2Filterer) WatchApproval0(opts *bind.WatchOpts, sink chan<- *UniswapV2Approval0, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval0 is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*UniswapV2Filterer) WatchBurn ¶
func (_UniswapV2 *UniswapV2Filterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *UniswapV2Burn, sender []common.Address, to []common.Address) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.
Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)
func (*UniswapV2Filterer) WatchMint ¶
func (_UniswapV2 *UniswapV2Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *UniswapV2Mint, sender []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.
Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)
func (*UniswapV2Filterer) WatchPairCreated ¶
func (_UniswapV2 *UniswapV2Filterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *UniswapV2PairCreated, token0 []common.Address, token1 []common.Address) (event.Subscription, error)
WatchPairCreated is a free log subscription operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.
Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)
func (*UniswapV2Filterer) WatchSwap ¶
func (_UniswapV2 *UniswapV2Filterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *UniswapV2Swap, sender []common.Address, to []common.Address) (event.Subscription, error)
WatchSwap is a free log subscription operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.
Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)
func (*UniswapV2Filterer) WatchSync ¶
func (_UniswapV2 *UniswapV2Filterer) WatchSync(opts *bind.WatchOpts, sink chan<- *UniswapV2Sync) (event.Subscription, error)
WatchSync is a free log subscription operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.
Solidity: event Sync(uint112 reserve0, uint112 reserve1)
func (*UniswapV2Filterer) WatchTransfer ¶
func (_UniswapV2 *UniswapV2Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UniswapV2Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*UniswapV2Filterer) WatchTransfer0 ¶
func (_UniswapV2 *UniswapV2Filterer) WatchTransfer0(opts *bind.WatchOpts, sink chan<- *UniswapV2Transfer0, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer0 is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type UniswapV2Mint ¶
type UniswapV2Mint struct { Sender common.Address Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
UniswapV2Mint represents a Mint event raised by the UniswapV2 contract.
type UniswapV2MintIterator ¶
type UniswapV2MintIterator struct { Event *UniswapV2Mint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniswapV2MintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the UniswapV2 contract.
func (*UniswapV2MintIterator) Close ¶
func (it *UniswapV2MintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniswapV2MintIterator) Error ¶
func (it *UniswapV2MintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniswapV2MintIterator) Next ¶
func (it *UniswapV2MintIterator) 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 UniswapV2PairCreated ¶
type UniswapV2PairCreated struct { Token0 common.Address Token1 common.Address Pair common.Address Arg3 *big.Int Raw types.Log // Blockchain specific contextual infos }
UniswapV2PairCreated represents a PairCreated event raised by the UniswapV2 contract.
type UniswapV2PairCreatedIterator ¶
type UniswapV2PairCreatedIterator struct { Event *UniswapV2PairCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniswapV2PairCreatedIterator is returned from FilterPairCreated and is used to iterate over the raw logs and unpacked data for PairCreated events raised by the UniswapV2 contract.
func (*UniswapV2PairCreatedIterator) Close ¶
func (it *UniswapV2PairCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniswapV2PairCreatedIterator) Error ¶
func (it *UniswapV2PairCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniswapV2PairCreatedIterator) Next ¶
func (it *UniswapV2PairCreatedIterator) 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 UniswapV2Raw ¶
type UniswapV2Raw struct {
Contract *UniswapV2 // Generic contract binding to access the raw methods on
}
UniswapV2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*UniswapV2Raw) Call ¶
func (_UniswapV2 *UniswapV2Raw) 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 (*UniswapV2Raw) Transact ¶
func (_UniswapV2 *UniswapV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UniswapV2Raw) Transfer ¶
func (_UniswapV2 *UniswapV2Raw) 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 UniswapV2Session ¶
type UniswapV2Session struct { Contract *UniswapV2 // 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 }
UniswapV2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*UniswapV2Session) AddLiquidity ¶
func (_UniswapV2 *UniswapV2Session) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.
Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)
func (*UniswapV2Session) AddLiquidityETH ¶
func (_UniswapV2 *UniswapV2Session) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.
Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)
func (*UniswapV2Session) AllPairs ¶
AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.
Solidity: function allPairs(uint256 ) view returns(address)
func (*UniswapV2Session) AllPairsLength ¶
func (_UniswapV2 *UniswapV2Session) AllPairsLength() (*big.Int, error)
AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.
Solidity: function allPairsLength() view returns(uint256)
func (*UniswapV2Session) Allowance ¶
func (_UniswapV2 *UniswapV2Session) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*UniswapV2Session) Allowance0 ¶
func (_UniswapV2 *UniswapV2Session) Allowance0(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance0 is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*UniswapV2Session) Approve ¶
func (_UniswapV2 *UniswapV2Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*UniswapV2Session) Approve0 ¶
func (_UniswapV2 *UniswapV2Session) Approve0(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve0 is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*UniswapV2Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*UniswapV2Session) BalanceOf0 ¶
BalanceOf0 is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*UniswapV2Session) Burn ¶
func (_UniswapV2 *UniswapV2Session) Burn(to common.Address) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x89afcb44.
Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)
func (*UniswapV2Session) CreatePair ¶
func (_UniswapV2 *UniswapV2Session) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.
Solidity: function createPair(address tokenA, address tokenB) returns(address pair)
func (*UniswapV2Session) DOMAINSEPARATOR ¶
func (_UniswapV2 *UniswapV2Session) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*UniswapV2Session) DOMAINSEPARATOR0 ¶
func (_UniswapV2 *UniswapV2Session) DOMAINSEPARATOR0() ([32]byte, error)
DOMAINSEPARATOR0 is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*UniswapV2Session) Decimals ¶
func (_UniswapV2 *UniswapV2Session) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*UniswapV2Session) Decimals0 ¶
func (_UniswapV2 *UniswapV2Session) Decimals0() (uint8, error)
Decimals0 is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*UniswapV2Session) Factory ¶
func (_UniswapV2 *UniswapV2Session) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*UniswapV2Session) Factory0 ¶
func (_UniswapV2 *UniswapV2Session) Factory0() (common.Address, error)
Factory0 is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*UniswapV2Session) FeeTo ¶
func (_UniswapV2 *UniswapV2Session) FeeTo() (common.Address, error)
FeeTo is a free data retrieval call binding the contract method 0x017e7e58.
Solidity: function feeTo() view returns(address)
func (*UniswapV2Session) FeeToSetter ¶
func (_UniswapV2 *UniswapV2Session) FeeToSetter() (common.Address, error)
FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.
Solidity: function feeToSetter() view returns(address)
func (*UniswapV2Session) GetAmountIn ¶
func (_UniswapV2 *UniswapV2Session) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)
GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.
Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)
func (*UniswapV2Session) GetAmountOut ¶
func (_UniswapV2 *UniswapV2Session) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)
GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.
Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)
func (*UniswapV2Session) GetAmountsIn ¶
func (_UniswapV2 *UniswapV2Session) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)
GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.
Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)
func (*UniswapV2Session) GetAmountsOut ¶
func (_UniswapV2 *UniswapV2Session) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)
GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.
Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)
func (*UniswapV2Session) GetPair ¶
func (_UniswapV2 *UniswapV2Session) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)
GetPair is a free data retrieval call binding the contract method 0xe6a43905.
Solidity: function getPair(address , address ) view returns(address)
func (*UniswapV2Session) GetReserves ¶
func (_UniswapV2 *UniswapV2Session) GetReserves() (struct { Reserve0 *big.Int Reserve1 *big.Int BlockTimestampLast uint32 }, error)
GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.
Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)
func (*UniswapV2Session) Initialize ¶
func (_UniswapV2 *UniswapV2Session) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _token0, address _token1) returns()
func (*UniswapV2Session) KLast ¶
func (_UniswapV2 *UniswapV2Session) KLast() (*big.Int, error)
KLast is a free data retrieval call binding the contract method 0x7464fc3d.
Solidity: function kLast() view returns(uint256)
func (*UniswapV2Session) MINIMUMLIQUIDITY ¶
func (_UniswapV2 *UniswapV2Session) MINIMUMLIQUIDITY() (*big.Int, error)
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.
Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
func (*UniswapV2Session) Mint ¶
func (_UniswapV2 *UniswapV2Session) Mint(to common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address to) returns(uint256 liquidity)
func (*UniswapV2Session) Name ¶
func (_UniswapV2 *UniswapV2Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*UniswapV2Session) Name0 ¶
func (_UniswapV2 *UniswapV2Session) Name0() (string, error)
Name0 is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*UniswapV2Session) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*UniswapV2Session) Nonces0 ¶
Nonces0 is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*UniswapV2Session) PERMITTYPEHASH ¶
func (_UniswapV2 *UniswapV2Session) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*UniswapV2Session) PERMITTYPEHASH0 ¶
func (_UniswapV2 *UniswapV2Session) PERMITTYPEHASH0() ([32]byte, error)
PERMITTYPEHASH0 is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*UniswapV2Session) Permit ¶
func (_UniswapV2 *UniswapV2Session) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*UniswapV2Session) Permit0 ¶
func (_UniswapV2 *UniswapV2Session) Permit0(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit0 is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*UniswapV2Session) Price0CumulativeLast ¶
func (_UniswapV2 *UniswapV2Session) Price0CumulativeLast() (*big.Int, error)
Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.
Solidity: function price0CumulativeLast() view returns(uint256)
func (*UniswapV2Session) Price1CumulativeLast ¶
func (_UniswapV2 *UniswapV2Session) Price1CumulativeLast() (*big.Int, error)
Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.
Solidity: function price1CumulativeLast() view returns(uint256)
func (*UniswapV2Session) Quote ¶
func (_UniswapV2 *UniswapV2Session) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)
Quote is a free data retrieval call binding the contract method 0xad615dec.
Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)
func (*UniswapV2Session) Receive ¶
func (_UniswapV2 *UniswapV2Session) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UniswapV2Session) RemoveLiquidity ¶
func (_UniswapV2 *UniswapV2Session) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.
Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)
func (*UniswapV2Session) RemoveLiquidityETH ¶
func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.
Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)
func (*UniswapV2Session) RemoveLiquidityETHSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.
Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)
func (*UniswapV2Session) RemoveLiquidityETHWithPermit ¶
func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.
Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)
func (*UniswapV2Session) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2Session) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.
Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)
func (*UniswapV2Session) RemoveLiquidityWithPermit ¶
func (_UniswapV2 *UniswapV2Session) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.
Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)
func (*UniswapV2Session) SetFeeTo ¶
func (_UniswapV2 *UniswapV2Session) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)
SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.
Solidity: function setFeeTo(address _feeTo) returns()
func (*UniswapV2Session) SetFeeToSetter ¶
func (_UniswapV2 *UniswapV2Session) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)
SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.
Solidity: function setFeeToSetter(address _feeToSetter) returns()
func (*UniswapV2Session) Skim ¶
func (_UniswapV2 *UniswapV2Session) Skim(to common.Address) (*types.Transaction, error)
Skim is a paid mutator transaction binding the contract method 0xbc25cf77.
Solidity: function skim(address to) returns()
func (*UniswapV2Session) Swap ¶
func (_UniswapV2 *UniswapV2Session) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x022c0d9f.
Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()
func (*UniswapV2Session) SwapETHForExactTokens ¶
func (_UniswapV2 *UniswapV2Session) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.
Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)
func (*UniswapV2Session) SwapExactETHForTokens ¶
func (_UniswapV2 *UniswapV2Session) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.
Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)
func (*UniswapV2Session) SwapExactETHForTokensSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2Session) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.
Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()
func (*UniswapV2Session) SwapExactTokensForETH ¶
func (_UniswapV2 *UniswapV2Session) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.
Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2Session) SwapExactTokensForETHSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2Session) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.
Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()
func (*UniswapV2Session) SwapExactTokensForTokens ¶
func (_UniswapV2 *UniswapV2Session) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.
Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2Session) SwapExactTokensForTokensSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2Session) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.
Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()
func (*UniswapV2Session) SwapTokensForExactETH ¶
func (_UniswapV2 *UniswapV2Session) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.
Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2Session) SwapTokensForExactTokens ¶
func (_UniswapV2 *UniswapV2Session) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.
Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2Session) Symbol ¶
func (_UniswapV2 *UniswapV2Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*UniswapV2Session) Symbol0 ¶
func (_UniswapV2 *UniswapV2Session) Symbol0() (string, error)
Symbol0 is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*UniswapV2Session) Sync ¶
func (_UniswapV2 *UniswapV2Session) Sync() (*types.Transaction, error)
Sync is a paid mutator transaction binding the contract method 0xfff6cae9.
Solidity: function sync() returns()
func (*UniswapV2Session) Token0 ¶
func (_UniswapV2 *UniswapV2Session) Token0() (common.Address, error)
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*UniswapV2Session) Token1 ¶
func (_UniswapV2 *UniswapV2Session) Token1() (common.Address, error)
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*UniswapV2Session) TotalSupply ¶
func (_UniswapV2 *UniswapV2Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*UniswapV2Session) TotalSupply0 ¶
func (_UniswapV2 *UniswapV2Session) TotalSupply0() (*big.Int, error)
TotalSupply0 is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*UniswapV2Session) Transfer ¶
func (_UniswapV2 *UniswapV2Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*UniswapV2Session) Transfer0 ¶
func (_UniswapV2 *UniswapV2Session) Transfer0(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer0 is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*UniswapV2Session) TransferFrom ¶
func (_UniswapV2 *UniswapV2Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*UniswapV2Session) TransferFrom0 ¶
func (_UniswapV2 *UniswapV2Session) TransferFrom0(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom0 is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type UniswapV2Swap ¶
type UniswapV2Swap struct { Sender common.Address Amount0In *big.Int Amount1In *big.Int Amount0Out *big.Int Amount1Out *big.Int To common.Address Raw types.Log // Blockchain specific contextual infos }
UniswapV2Swap represents a Swap event raised by the UniswapV2 contract.
type UniswapV2SwapIterator ¶
type UniswapV2SwapIterator struct { Event *UniswapV2Swap // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniswapV2SwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the UniswapV2 contract.
func (*UniswapV2SwapIterator) Close ¶
func (it *UniswapV2SwapIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniswapV2SwapIterator) Error ¶
func (it *UniswapV2SwapIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniswapV2SwapIterator) Next ¶
func (it *UniswapV2SwapIterator) 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 UniswapV2Sync ¶
type UniswapV2Sync struct { Reserve0 *big.Int Reserve1 *big.Int Raw types.Log // Blockchain specific contextual infos }
UniswapV2Sync represents a Sync event raised by the UniswapV2 contract.
type UniswapV2SyncIterator ¶
type UniswapV2SyncIterator struct { Event *UniswapV2Sync // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniswapV2SyncIterator is returned from FilterSync and is used to iterate over the raw logs and unpacked data for Sync events raised by the UniswapV2 contract.
func (*UniswapV2SyncIterator) Close ¶
func (it *UniswapV2SyncIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniswapV2SyncIterator) Error ¶
func (it *UniswapV2SyncIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniswapV2SyncIterator) Next ¶
func (it *UniswapV2SyncIterator) 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 UniswapV2Transactor ¶
type UniswapV2Transactor struct {
// contains filtered or unexported fields
}
UniswapV2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUniswapV2Transactor ¶
func NewUniswapV2Transactor(address common.Address, transactor bind.ContractTransactor) (*UniswapV2Transactor, error)
NewUniswapV2Transactor creates a new write-only instance of UniswapV2, bound to a specific deployed contract.
func (*UniswapV2Transactor) AddLiquidity ¶
func (_UniswapV2 *UniswapV2Transactor) AddLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.
Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)
func (*UniswapV2Transactor) AddLiquidityETH ¶
func (_UniswapV2 *UniswapV2Transactor) AddLiquidityETH(opts *bind.TransactOpts, token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.
Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)
func (*UniswapV2Transactor) Approve ¶
func (_UniswapV2 *UniswapV2Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*UniswapV2Transactor) Approve0 ¶
func (_UniswapV2 *UniswapV2Transactor) Approve0(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve0 is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*UniswapV2Transactor) Burn ¶
func (_UniswapV2 *UniswapV2Transactor) Burn(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x89afcb44.
Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)
func (*UniswapV2Transactor) CreatePair ¶
func (_UniswapV2 *UniswapV2Transactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.
Solidity: function createPair(address tokenA, address tokenB) returns(address pair)
func (*UniswapV2Transactor) Initialize ¶
func (_UniswapV2 *UniswapV2Transactor) Initialize(opts *bind.TransactOpts, _token0 common.Address, _token1 common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _token0, address _token1) returns()
func (*UniswapV2Transactor) Mint ¶
func (_UniswapV2 *UniswapV2Transactor) Mint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address to) returns(uint256 liquidity)
func (*UniswapV2Transactor) Permit ¶
func (_UniswapV2 *UniswapV2Transactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*UniswapV2Transactor) Permit0 ¶
func (_UniswapV2 *UniswapV2Transactor) Permit0(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit0 is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*UniswapV2Transactor) Receive ¶
func (_UniswapV2 *UniswapV2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UniswapV2Transactor) RemoveLiquidity ¶
func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.
Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)
func (*UniswapV2Transactor) RemoveLiquidityETH ¶
func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETH(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.
Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)
func (*UniswapV2Transactor) RemoveLiquidityETHSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.
Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)
func (*UniswapV2Transactor) RemoveLiquidityETHWithPermit ¶
func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETHWithPermit(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.
Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)
func (*UniswapV2Transactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.
Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)
func (*UniswapV2Transactor) RemoveLiquidityWithPermit ¶
func (_UniswapV2 *UniswapV2Transactor) RemoveLiquidityWithPermit(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.
Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)
func (*UniswapV2Transactor) SetFeeTo ¶
func (_UniswapV2 *UniswapV2Transactor) SetFeeTo(opts *bind.TransactOpts, _feeTo common.Address) (*types.Transaction, error)
SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.
Solidity: function setFeeTo(address _feeTo) returns()
func (*UniswapV2Transactor) SetFeeToSetter ¶
func (_UniswapV2 *UniswapV2Transactor) SetFeeToSetter(opts *bind.TransactOpts, _feeToSetter common.Address) (*types.Transaction, error)
SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.
Solidity: function setFeeToSetter(address _feeToSetter) returns()
func (*UniswapV2Transactor) Skim ¶
func (_UniswapV2 *UniswapV2Transactor) Skim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
Skim is a paid mutator transaction binding the contract method 0xbc25cf77.
Solidity: function skim(address to) returns()
func (*UniswapV2Transactor) Swap ¶
func (_UniswapV2 *UniswapV2Transactor) Swap(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x022c0d9f.
Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()
func (*UniswapV2Transactor) SwapETHForExactTokens ¶
func (_UniswapV2 *UniswapV2Transactor) SwapETHForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.
Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)
func (*UniswapV2Transactor) SwapExactETHForTokens ¶
func (_UniswapV2 *UniswapV2Transactor) SwapExactETHForTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.
Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)
func (*UniswapV2Transactor) SwapExactETHForTokensSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2Transactor) SwapExactETHForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.
Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()
func (*UniswapV2Transactor) SwapExactTokensForETH ¶
func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForETH(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.
Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2Transactor) SwapExactTokensForETHSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.
Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()
func (*UniswapV2Transactor) SwapExactTokensForTokens ¶
func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.
Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2Transactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2Transactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.
Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()
func (*UniswapV2Transactor) SwapTokensForExactETH ¶
func (_UniswapV2 *UniswapV2Transactor) SwapTokensForExactETH(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.
Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2Transactor) SwapTokensForExactTokens ¶
func (_UniswapV2 *UniswapV2Transactor) SwapTokensForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.
Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2Transactor) Sync ¶
func (_UniswapV2 *UniswapV2Transactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)
Sync is a paid mutator transaction binding the contract method 0xfff6cae9.
Solidity: function sync() returns()
func (*UniswapV2Transactor) Transfer ¶
func (_UniswapV2 *UniswapV2Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*UniswapV2Transactor) Transfer0 ¶
func (_UniswapV2 *UniswapV2Transactor) Transfer0(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer0 is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*UniswapV2Transactor) TransferFrom ¶
func (_UniswapV2 *UniswapV2Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*UniswapV2Transactor) TransferFrom0 ¶
func (_UniswapV2 *UniswapV2Transactor) TransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom0 is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type UniswapV2TransactorRaw ¶
type UniswapV2TransactorRaw struct {
Contract *UniswapV2Transactor // Generic write-only contract binding to access the raw methods on
}
UniswapV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UniswapV2TransactorRaw) Transact ¶
func (_UniswapV2 *UniswapV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UniswapV2TransactorRaw) Transfer ¶
func (_UniswapV2 *UniswapV2TransactorRaw) 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 UniswapV2TransactorSession ¶
type UniswapV2TransactorSession struct { Contract *UniswapV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UniswapV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*UniswapV2TransactorSession) AddLiquidity ¶
func (_UniswapV2 *UniswapV2TransactorSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.
Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)
func (*UniswapV2TransactorSession) AddLiquidityETH ¶
func (_UniswapV2 *UniswapV2TransactorSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.
Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)
func (*UniswapV2TransactorSession) Approve ¶
func (_UniswapV2 *UniswapV2TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*UniswapV2TransactorSession) Approve0 ¶
func (_UniswapV2 *UniswapV2TransactorSession) Approve0(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve0 is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*UniswapV2TransactorSession) Burn ¶
func (_UniswapV2 *UniswapV2TransactorSession) Burn(to common.Address) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x89afcb44.
Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)
func (*UniswapV2TransactorSession) CreatePair ¶
func (_UniswapV2 *UniswapV2TransactorSession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.
Solidity: function createPair(address tokenA, address tokenB) returns(address pair)
func (*UniswapV2TransactorSession) Initialize ¶
func (_UniswapV2 *UniswapV2TransactorSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _token0, address _token1) returns()
func (*UniswapV2TransactorSession) Mint ¶
func (_UniswapV2 *UniswapV2TransactorSession) Mint(to common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address to) returns(uint256 liquidity)
func (*UniswapV2TransactorSession) Permit ¶
func (_UniswapV2 *UniswapV2TransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*UniswapV2TransactorSession) Permit0 ¶
func (_UniswapV2 *UniswapV2TransactorSession) Permit0(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit0 is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*UniswapV2TransactorSession) Receive ¶
func (_UniswapV2 *UniswapV2TransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*UniswapV2TransactorSession) RemoveLiquidity ¶
func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.
Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)
func (*UniswapV2TransactorSession) RemoveLiquidityETH ¶
func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.
Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)
func (*UniswapV2TransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.
Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)
func (*UniswapV2TransactorSession) RemoveLiquidityETHWithPermit ¶
func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.
Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)
func (*UniswapV2TransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.
Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)
func (*UniswapV2TransactorSession) RemoveLiquidityWithPermit ¶
func (_UniswapV2 *UniswapV2TransactorSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.
Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)
func (*UniswapV2TransactorSession) SetFeeTo ¶
func (_UniswapV2 *UniswapV2TransactorSession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)
SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.
Solidity: function setFeeTo(address _feeTo) returns()
func (*UniswapV2TransactorSession) SetFeeToSetter ¶
func (_UniswapV2 *UniswapV2TransactorSession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)
SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.
Solidity: function setFeeToSetter(address _feeToSetter) returns()
func (*UniswapV2TransactorSession) Skim ¶
func (_UniswapV2 *UniswapV2TransactorSession) Skim(to common.Address) (*types.Transaction, error)
Skim is a paid mutator transaction binding the contract method 0xbc25cf77.
Solidity: function skim(address to) returns()
func (*UniswapV2TransactorSession) Swap ¶
func (_UniswapV2 *UniswapV2TransactorSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x022c0d9f.
Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()
func (*UniswapV2TransactorSession) SwapETHForExactTokens ¶
func (_UniswapV2 *UniswapV2TransactorSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.
Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)
func (*UniswapV2TransactorSession) SwapExactETHForTokens ¶
func (_UniswapV2 *UniswapV2TransactorSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.
Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)
func (*UniswapV2TransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2TransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.
Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()
func (*UniswapV2TransactorSession) SwapExactTokensForETH ¶
func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.
Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2TransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.
Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()
func (*UniswapV2TransactorSession) SwapExactTokensForTokens ¶
func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.
Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2TransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens ¶
func (_UniswapV2 *UniswapV2TransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.
Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()
func (*UniswapV2TransactorSession) SwapTokensForExactETH ¶
func (_UniswapV2 *UniswapV2TransactorSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.
Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2TransactorSession) SwapTokensForExactTokens ¶
func (_UniswapV2 *UniswapV2TransactorSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)
SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.
Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
func (*UniswapV2TransactorSession) Sync ¶
func (_UniswapV2 *UniswapV2TransactorSession) Sync() (*types.Transaction, error)
Sync is a paid mutator transaction binding the contract method 0xfff6cae9.
Solidity: function sync() returns()
func (*UniswapV2TransactorSession) Transfer ¶
func (_UniswapV2 *UniswapV2TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*UniswapV2TransactorSession) Transfer0 ¶
func (_UniswapV2 *UniswapV2TransactorSession) Transfer0(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer0 is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*UniswapV2TransactorSession) TransferFrom ¶
func (_UniswapV2 *UniswapV2TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*UniswapV2TransactorSession) TransferFrom0 ¶
func (_UniswapV2 *UniswapV2TransactorSession) TransferFrom0(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom0 is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type UniswapV2Transfer ¶
type UniswapV2Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
UniswapV2Transfer represents a Transfer event raised by the UniswapV2 contract.
type UniswapV2Transfer0 ¶
type UniswapV2Transfer0 struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
UniswapV2Transfer0 represents a Transfer0 event raised by the UniswapV2 contract.
type UniswapV2Transfer0Iterator ¶
type UniswapV2Transfer0Iterator struct { Event *UniswapV2Transfer0 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniswapV2Transfer0Iterator is returned from FilterTransfer0 and is used to iterate over the raw logs and unpacked data for Transfer0 events raised by the UniswapV2 contract.
func (*UniswapV2Transfer0Iterator) Close ¶
func (it *UniswapV2Transfer0Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniswapV2Transfer0Iterator) Error ¶
func (it *UniswapV2Transfer0Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniswapV2Transfer0Iterator) Next ¶
func (it *UniswapV2Transfer0Iterator) 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 UniswapV2TransferIterator ¶
type UniswapV2TransferIterator struct { Event *UniswapV2Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UniswapV2TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the UniswapV2 contract.
func (*UniswapV2TransferIterator) Close ¶
func (it *UniswapV2TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UniswapV2TransferIterator) Error ¶
func (it *UniswapV2TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UniswapV2TransferIterator) Next ¶
func (it *UniswapV2TransferIterator) 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.