uniswapv2pair

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

View Source
const Uniswapv2pairABI = "" /* 9732-byte string literal not displayed */

Uniswapv2pairABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uniswapv2pair

type Uniswapv2pair struct {
	Uniswapv2pairCaller     // Read-only binding to the contract
	Uniswapv2pairTransactor // Write-only binding to the contract
	Uniswapv2pairFilterer   // Log filterer for contract events
}

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

func NewUniswapv2pair

func NewUniswapv2pair(address common.Address, backend bind.ContractBackend) (*Uniswapv2pair, error)

NewUniswapv2pair creates a new instance of Uniswapv2pair, bound to a specific deployed contract.

type Uniswapv2pairApproval

type Uniswapv2pairApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

Uniswapv2pairApproval represents a Approval event raised by the Uniswapv2pair contract.

type Uniswapv2pairApprovalIterator

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

Uniswapv2pairApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Uniswapv2pair contract.

func (*Uniswapv2pairApprovalIterator) Close

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

func (*Uniswapv2pairApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2pairApprovalIterator) Next

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

type Uniswapv2pairBurn

type Uniswapv2pairBurn struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	To      common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

Uniswapv2pairBurn represents a Burn event raised by the Uniswapv2pair contract.

type Uniswapv2pairBurnIterator

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

Uniswapv2pairBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the Uniswapv2pair contract.

func (*Uniswapv2pairBurnIterator) Close

func (it *Uniswapv2pairBurnIterator) Close() error

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

func (*Uniswapv2pairBurnIterator) Error

func (it *Uniswapv2pairBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2pairBurnIterator) Next

func (it *Uniswapv2pairBurnIterator) 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 Uniswapv2pairCaller

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

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

func NewUniswapv2pairCaller

func NewUniswapv2pairCaller(address common.Address, caller bind.ContractCaller) (*Uniswapv2pairCaller, error)

NewUniswapv2pairCaller creates a new read-only instance of Uniswapv2pair, bound to a specific deployed contract.

func (*Uniswapv2pairCaller) Allowance

func (_Uniswapv2pair *Uniswapv2pairCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*Uniswapv2pairCaller) BalanceOf

func (_Uniswapv2pair *Uniswapv2pairCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*Uniswapv2pairCaller) DOMAINSEPARATOR

func (_Uniswapv2pair *Uniswapv2pairCaller) 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 (*Uniswapv2pairCaller) Decimals

func (_Uniswapv2pair *Uniswapv2pairCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() pure returns(uint8)

func (*Uniswapv2pairCaller) Factory

func (_Uniswapv2pair *Uniswapv2pairCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*Uniswapv2pairCaller) GetReserves

func (_Uniswapv2pair *Uniswapv2pairCaller) 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 (*Uniswapv2pairCaller) KLast

func (_Uniswapv2pair *Uniswapv2pairCaller) KLast(opts *bind.CallOpts) (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*Uniswapv2pairCaller) MINIMUMLIQUIDITY

func (_Uniswapv2pair *Uniswapv2pairCaller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*Uniswapv2pairCaller) Name

func (_Uniswapv2pair *Uniswapv2pairCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() pure returns(string)

func (*Uniswapv2pairCaller) Nonces

func (_Uniswapv2pair *Uniswapv2pairCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*Uniswapv2pairCaller) PERMITTYPEHASH

func (_Uniswapv2pair *Uniswapv2pairCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*Uniswapv2pairCaller) Price0CumulativeLast

func (_Uniswapv2pair *Uniswapv2pairCaller) Price0CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*Uniswapv2pairCaller) Price1CumulativeLast

func (_Uniswapv2pair *Uniswapv2pairCaller) Price1CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*Uniswapv2pairCaller) Symbol

func (_Uniswapv2pair *Uniswapv2pairCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() pure returns(string)

func (*Uniswapv2pairCaller) Token0

func (_Uniswapv2pair *Uniswapv2pairCaller) Token0(opts *bind.CallOpts) (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*Uniswapv2pairCaller) Token1

func (_Uniswapv2pair *Uniswapv2pairCaller) Token1(opts *bind.CallOpts) (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*Uniswapv2pairCaller) TotalSupply

func (_Uniswapv2pair *Uniswapv2pairCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type Uniswapv2pairCallerRaw

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

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

func (*Uniswapv2pairCallerRaw) Call

func (_Uniswapv2pair *Uniswapv2pairCallerRaw) 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 Uniswapv2pairCallerSession

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

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

func (*Uniswapv2pairCallerSession) Allowance

func (_Uniswapv2pair *Uniswapv2pairCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*Uniswapv2pairCallerSession) BalanceOf

func (_Uniswapv2pair *Uniswapv2pairCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*Uniswapv2pairCallerSession) DOMAINSEPARATOR

func (_Uniswapv2pair *Uniswapv2pairCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Uniswapv2pairCallerSession) Decimals

func (_Uniswapv2pair *Uniswapv2pairCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() pure returns(uint8)

func (*Uniswapv2pairCallerSession) Factory

func (_Uniswapv2pair *Uniswapv2pairCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*Uniswapv2pairCallerSession) GetReserves

func (_Uniswapv2pair *Uniswapv2pairCallerSession) 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 (*Uniswapv2pairCallerSession) KLast

func (_Uniswapv2pair *Uniswapv2pairCallerSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*Uniswapv2pairCallerSession) MINIMUMLIQUIDITY

func (_Uniswapv2pair *Uniswapv2pairCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*Uniswapv2pairCallerSession) Name

func (_Uniswapv2pair *Uniswapv2pairCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() pure returns(string)

func (*Uniswapv2pairCallerSession) Nonces

func (_Uniswapv2pair *Uniswapv2pairCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*Uniswapv2pairCallerSession) PERMITTYPEHASH

func (_Uniswapv2pair *Uniswapv2pairCallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*Uniswapv2pairCallerSession) Price0CumulativeLast

func (_Uniswapv2pair *Uniswapv2pairCallerSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*Uniswapv2pairCallerSession) Price1CumulativeLast

func (_Uniswapv2pair *Uniswapv2pairCallerSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*Uniswapv2pairCallerSession) Symbol

func (_Uniswapv2pair *Uniswapv2pairCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() pure returns(string)

func (*Uniswapv2pairCallerSession) Token0

func (_Uniswapv2pair *Uniswapv2pairCallerSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*Uniswapv2pairCallerSession) Token1

func (_Uniswapv2pair *Uniswapv2pairCallerSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*Uniswapv2pairCallerSession) TotalSupply

func (_Uniswapv2pair *Uniswapv2pairCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type Uniswapv2pairFilterer

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

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

func NewUniswapv2pairFilterer

func NewUniswapv2pairFilterer(address common.Address, filterer bind.ContractFilterer) (*Uniswapv2pairFilterer, error)

NewUniswapv2pairFilterer creates a new log filterer instance of Uniswapv2pair, bound to a specific deployed contract.

func (*Uniswapv2pairFilterer) FilterApproval

func (_Uniswapv2pair *Uniswapv2pairFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Uniswapv2pairApprovalIterator, 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 (*Uniswapv2pairFilterer) FilterBurn

func (_Uniswapv2pair *Uniswapv2pairFilterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*Uniswapv2pairBurnIterator, 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 (*Uniswapv2pairFilterer) FilterMint

func (_Uniswapv2pair *Uniswapv2pairFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*Uniswapv2pairMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*Uniswapv2pairFilterer) FilterSwap

func (_Uniswapv2pair *Uniswapv2pairFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*Uniswapv2pairSwapIterator, 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 (*Uniswapv2pairFilterer) FilterSync

func (_Uniswapv2pair *Uniswapv2pairFilterer) FilterSync(opts *bind.FilterOpts) (*Uniswapv2pairSyncIterator, error)

FilterSync is a free log retrieval operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Uniswapv2pairFilterer) FilterTransfer

func (_Uniswapv2pair *Uniswapv2pairFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Uniswapv2pairTransferIterator, 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 (*Uniswapv2pairFilterer) ParseApproval

func (_Uniswapv2pair *Uniswapv2pairFilterer) ParseApproval(log types.Log) (*Uniswapv2pairApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*Uniswapv2pairFilterer) ParseBurn

func (_Uniswapv2pair *Uniswapv2pairFilterer) ParseBurn(log types.Log) (*Uniswapv2pairBurn, 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 (*Uniswapv2pairFilterer) ParseMint

func (_Uniswapv2pair *Uniswapv2pairFilterer) ParseMint(log types.Log) (*Uniswapv2pairMint, error)

ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*Uniswapv2pairFilterer) ParseSwap

func (_Uniswapv2pair *Uniswapv2pairFilterer) ParseSwap(log types.Log) (*Uniswapv2pairSwap, 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 (*Uniswapv2pairFilterer) ParseSync

func (_Uniswapv2pair *Uniswapv2pairFilterer) ParseSync(log types.Log) (*Uniswapv2pairSync, error)

ParseSync is a log parse operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Uniswapv2pairFilterer) ParseTransfer

func (_Uniswapv2pair *Uniswapv2pairFilterer) ParseTransfer(log types.Log) (*Uniswapv2pairTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*Uniswapv2pairFilterer) WatchApproval

func (_Uniswapv2pair *Uniswapv2pairFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Uniswapv2pairApproval, 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 (*Uniswapv2pairFilterer) WatchBurn

func (_Uniswapv2pair *Uniswapv2pairFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *Uniswapv2pairBurn, 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 (*Uniswapv2pairFilterer) WatchMint

func (_Uniswapv2pair *Uniswapv2pairFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *Uniswapv2pairMint, 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 (*Uniswapv2pairFilterer) WatchSwap

func (_Uniswapv2pair *Uniswapv2pairFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *Uniswapv2pairSwap, 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 (*Uniswapv2pairFilterer) WatchSync

func (_Uniswapv2pair *Uniswapv2pairFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *Uniswapv2pairSync) (event.Subscription, error)

WatchSync is a free log subscription operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Uniswapv2pairFilterer) WatchTransfer

func (_Uniswapv2pair *Uniswapv2pairFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Uniswapv2pairTransfer, 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)

type Uniswapv2pairMint

type Uniswapv2pairMint struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

Uniswapv2pairMint represents a Mint event raised by the Uniswapv2pair contract.

type Uniswapv2pairMintIterator

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

Uniswapv2pairMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the Uniswapv2pair contract.

func (*Uniswapv2pairMintIterator) Close

func (it *Uniswapv2pairMintIterator) Close() error

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

func (*Uniswapv2pairMintIterator) Error

func (it *Uniswapv2pairMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2pairMintIterator) Next

func (it *Uniswapv2pairMintIterator) 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 Uniswapv2pairRaw

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

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

func (*Uniswapv2pairRaw) Call

func (_Uniswapv2pair *Uniswapv2pairRaw) 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 (*Uniswapv2pairRaw) Transact

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

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

func (*Uniswapv2pairRaw) Transfer

func (_Uniswapv2pair *Uniswapv2pairRaw) 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 Uniswapv2pairSession

type Uniswapv2pairSession struct {
	Contract     *Uniswapv2pair    // 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
}

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

func (*Uniswapv2pairSession) Allowance

func (_Uniswapv2pair *Uniswapv2pairSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*Uniswapv2pairSession) Approve

func (_Uniswapv2pair *Uniswapv2pairSession) 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 (*Uniswapv2pairSession) BalanceOf

func (_Uniswapv2pair *Uniswapv2pairSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*Uniswapv2pairSession) Burn

func (_Uniswapv2pair *Uniswapv2pairSession) 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 (*Uniswapv2pairSession) DOMAINSEPARATOR

func (_Uniswapv2pair *Uniswapv2pairSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Uniswapv2pairSession) Decimals

func (_Uniswapv2pair *Uniswapv2pairSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() pure returns(uint8)

func (*Uniswapv2pairSession) Factory

func (_Uniswapv2pair *Uniswapv2pairSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*Uniswapv2pairSession) GetReserves

func (_Uniswapv2pair *Uniswapv2pairSession) 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 (*Uniswapv2pairSession) Initialize

func (_Uniswapv2pair *Uniswapv2pairSession) Initialize(arg0 common.Address, arg1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address , address ) returns()

func (*Uniswapv2pairSession) KLast

func (_Uniswapv2pair *Uniswapv2pairSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*Uniswapv2pairSession) MINIMUMLIQUIDITY

func (_Uniswapv2pair *Uniswapv2pairSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*Uniswapv2pairSession) Mint

func (_Uniswapv2pair *Uniswapv2pairSession) 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 (*Uniswapv2pairSession) Name

func (_Uniswapv2pair *Uniswapv2pairSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() pure returns(string)

func (*Uniswapv2pairSession) Nonces

func (_Uniswapv2pair *Uniswapv2pairSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*Uniswapv2pairSession) PERMITTYPEHASH

func (_Uniswapv2pair *Uniswapv2pairSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*Uniswapv2pairSession) Permit

func (_Uniswapv2pair *Uniswapv2pairSession) 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 (*Uniswapv2pairSession) Price0CumulativeLast

func (_Uniswapv2pair *Uniswapv2pairSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*Uniswapv2pairSession) Price1CumulativeLast

func (_Uniswapv2pair *Uniswapv2pairSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*Uniswapv2pairSession) Skim

func (_Uniswapv2pair *Uniswapv2pairSession) 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 (*Uniswapv2pairSession) Swap

func (_Uniswapv2pair *Uniswapv2pairSession) 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 (*Uniswapv2pairSession) Symbol

func (_Uniswapv2pair *Uniswapv2pairSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() pure returns(string)

func (*Uniswapv2pairSession) Sync

func (_Uniswapv2pair *Uniswapv2pairSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*Uniswapv2pairSession) Token0

func (_Uniswapv2pair *Uniswapv2pairSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*Uniswapv2pairSession) Token1

func (_Uniswapv2pair *Uniswapv2pairSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*Uniswapv2pairSession) TotalSupply

func (_Uniswapv2pair *Uniswapv2pairSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*Uniswapv2pairSession) Transfer

func (_Uniswapv2pair *Uniswapv2pairSession) 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 (*Uniswapv2pairSession) TransferFrom

func (_Uniswapv2pair *Uniswapv2pairSession) 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)

type Uniswapv2pairSwap

type Uniswapv2pairSwap 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
}

Uniswapv2pairSwap represents a Swap event raised by the Uniswapv2pair contract.

type Uniswapv2pairSwapIterator

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

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

func (*Uniswapv2pairSwapIterator) Close

func (it *Uniswapv2pairSwapIterator) Close() error

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

func (*Uniswapv2pairSwapIterator) Error

func (it *Uniswapv2pairSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2pairSwapIterator) Next

func (it *Uniswapv2pairSwapIterator) 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 Uniswapv2pairSync

type Uniswapv2pairSync struct {
	Reserve0 *big.Int
	Reserve1 *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

Uniswapv2pairSync represents a Sync event raised by the Uniswapv2pair contract.

type Uniswapv2pairSyncIterator

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

Uniswapv2pairSyncIterator is returned from FilterSync and is used to iterate over the raw logs and unpacked data for Sync events raised by the Uniswapv2pair contract.

func (*Uniswapv2pairSyncIterator) Close

func (it *Uniswapv2pairSyncIterator) Close() error

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

func (*Uniswapv2pairSyncIterator) Error

func (it *Uniswapv2pairSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2pairSyncIterator) Next

func (it *Uniswapv2pairSyncIterator) 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 Uniswapv2pairTransactor

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

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

func NewUniswapv2pairTransactor

func NewUniswapv2pairTransactor(address common.Address, transactor bind.ContractTransactor) (*Uniswapv2pairTransactor, error)

NewUniswapv2pairTransactor creates a new write-only instance of Uniswapv2pair, bound to a specific deployed contract.

func (*Uniswapv2pairTransactor) Approve

func (_Uniswapv2pair *Uniswapv2pairTransactor) 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 (*Uniswapv2pairTransactor) Burn

func (_Uniswapv2pair *Uniswapv2pairTransactor) 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 (*Uniswapv2pairTransactor) Initialize

func (_Uniswapv2pair *Uniswapv2pairTransactor) Initialize(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address , address ) returns()

func (*Uniswapv2pairTransactor) Mint

func (_Uniswapv2pair *Uniswapv2pairTransactor) 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 (*Uniswapv2pairTransactor) Permit

func (_Uniswapv2pair *Uniswapv2pairTransactor) 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 (*Uniswapv2pairTransactor) Skim

func (_Uniswapv2pair *Uniswapv2pairTransactor) 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 (*Uniswapv2pairTransactor) Swap

func (_Uniswapv2pair *Uniswapv2pairTransactor) 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 (*Uniswapv2pairTransactor) Sync

func (_Uniswapv2pair *Uniswapv2pairTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*Uniswapv2pairTransactor) Transfer

func (_Uniswapv2pair *Uniswapv2pairTransactor) 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 (*Uniswapv2pairTransactor) TransferFrom

func (_Uniswapv2pair *Uniswapv2pairTransactor) 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)

type Uniswapv2pairTransactorRaw

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

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

func (*Uniswapv2pairTransactorRaw) Transact

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

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

func (*Uniswapv2pairTransactorRaw) Transfer

func (_Uniswapv2pair *Uniswapv2pairTransactorRaw) 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 Uniswapv2pairTransactorSession

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

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

func (*Uniswapv2pairTransactorSession) Approve

func (_Uniswapv2pair *Uniswapv2pairTransactorSession) 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 (*Uniswapv2pairTransactorSession) Burn

func (_Uniswapv2pair *Uniswapv2pairTransactorSession) 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 (*Uniswapv2pairTransactorSession) Initialize

func (_Uniswapv2pair *Uniswapv2pairTransactorSession) Initialize(arg0 common.Address, arg1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address , address ) returns()

func (*Uniswapv2pairTransactorSession) Mint

func (_Uniswapv2pair *Uniswapv2pairTransactorSession) 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 (*Uniswapv2pairTransactorSession) Permit

func (_Uniswapv2pair *Uniswapv2pairTransactorSession) 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 (*Uniswapv2pairTransactorSession) Skim

func (_Uniswapv2pair *Uniswapv2pairTransactorSession) 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 (*Uniswapv2pairTransactorSession) Swap

func (_Uniswapv2pair *Uniswapv2pairTransactorSession) 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 (*Uniswapv2pairTransactorSession) Sync

func (_Uniswapv2pair *Uniswapv2pairTransactorSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*Uniswapv2pairTransactorSession) Transfer

func (_Uniswapv2pair *Uniswapv2pairTransactorSession) 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 (*Uniswapv2pairTransactorSession) TransferFrom

func (_Uniswapv2pair *Uniswapv2pairTransactorSession) 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)

type Uniswapv2pairTransfer

type Uniswapv2pairTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

Uniswapv2pairTransfer represents a Transfer event raised by the Uniswapv2pair contract.

type Uniswapv2pairTransferIterator

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

Uniswapv2pairTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Uniswapv2pair contract.

func (*Uniswapv2pairTransferIterator) Close

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

func (*Uniswapv2pairTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2pairTransferIterator) Next

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

Jump to

Keyboard shortcuts

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