uniswapv2lp

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Uniswapv2lpABI = Uniswapv2lpMetaData.ABI

Uniswapv2lpABI is the input ABI used to generate the binding from. Deprecated: Use Uniswapv2lpMetaData.ABI instead.

View Source
var Uniswapv2lpMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve0\",\"type\":\"uint112\"},{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve1\",\"type\":\"uint112\"}],\"name\":\"Sync\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"MINIMUM_LIQUIDITY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"uint112\",\"name\":\"_reserve0\",\"type\":\"uint112\"},{\"internalType\":\"uint112\",\"name\":\"_reserve1\",\"type\":\"uint112\"},{\"internalType\":\"uint32\",\"name\":\"_blockTimestampLast\",\"type\":\"uint32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token1\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"kLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"price0CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"price1CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"skim\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

Uniswapv2lpMetaData contains all meta data concerning the Uniswapv2lp contract.

Functions

This section is empty.

Types

type Uniswapv2lp

type Uniswapv2lp struct {
	Uniswapv2lpCaller     // Read-only binding to the contract
	Uniswapv2lpTransactor // Write-only binding to the contract
	Uniswapv2lpFilterer   // Log filterer for contract events
}

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

func NewUniswapv2lp

func NewUniswapv2lp(address common.Address, backend bind.ContractBackend) (*Uniswapv2lp, error)

NewUniswapv2lp creates a new instance of Uniswapv2lp, bound to a specific deployed contract.

type Uniswapv2lpApproval

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

Uniswapv2lpApproval represents a Approval event raised by the Uniswapv2lp contract.

type Uniswapv2lpApprovalIterator

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

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

func (*Uniswapv2lpApprovalIterator) Close

func (it *Uniswapv2lpApprovalIterator) Close() error

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

func (*Uniswapv2lpApprovalIterator) Error

func (it *Uniswapv2lpApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2lpApprovalIterator) Next

func (it *Uniswapv2lpApprovalIterator) 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 Uniswapv2lpBurn

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

Uniswapv2lpBurn represents a Burn event raised by the Uniswapv2lp contract.

type Uniswapv2lpBurnIterator

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

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

func (*Uniswapv2lpBurnIterator) Close

func (it *Uniswapv2lpBurnIterator) Close() error

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

func (*Uniswapv2lpBurnIterator) Error

func (it *Uniswapv2lpBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2lpBurnIterator) Next

func (it *Uniswapv2lpBurnIterator) 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 Uniswapv2lpCaller

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

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

func NewUniswapv2lpCaller

func NewUniswapv2lpCaller(address common.Address, caller bind.ContractCaller) (*Uniswapv2lpCaller, error)

NewUniswapv2lpCaller creates a new read-only instance of Uniswapv2lp, bound to a specific deployed contract.

func (*Uniswapv2lpCaller) Allowance

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) BalanceOf

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) DOMAINSEPARATOR

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) Decimals

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) Factory

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) GetReserves

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) KLast

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) MINIMUMLIQUIDITY

func (_Uniswapv2lp *Uniswapv2lpCaller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*Uniswapv2lpCaller) Name

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) Nonces

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) PERMITTYPEHASH

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) Price0CumulativeLast

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) Price1CumulativeLast

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) Symbol

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) Token0

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) Token1

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 (*Uniswapv2lpCaller) TotalSupply

func (_Uniswapv2lp *Uniswapv2lpCaller) 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 Uniswapv2lpCallerRaw

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

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

func (*Uniswapv2lpCallerRaw) Call

func (_Uniswapv2lp *Uniswapv2lpCallerRaw) 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 Uniswapv2lpCallerSession

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

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

func (*Uniswapv2lpCallerSession) Allowance

func (_Uniswapv2lp *Uniswapv2lpCallerSession) 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 (*Uniswapv2lpCallerSession) BalanceOf

func (_Uniswapv2lp *Uniswapv2lpCallerSession) BalanceOf(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 (*Uniswapv2lpCallerSession) DOMAINSEPARATOR

func (_Uniswapv2lp *Uniswapv2lpCallerSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Uniswapv2lpCallerSession) Decimals

func (_Uniswapv2lp *Uniswapv2lpCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*Uniswapv2lpCallerSession) Factory

func (_Uniswapv2lp *Uniswapv2lpCallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*Uniswapv2lpCallerSession) GetReserves

func (_Uniswapv2lp *Uniswapv2lpCallerSession) 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 (*Uniswapv2lpCallerSession) KLast

func (_Uniswapv2lp *Uniswapv2lpCallerSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*Uniswapv2lpCallerSession) MINIMUMLIQUIDITY

func (_Uniswapv2lp *Uniswapv2lpCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*Uniswapv2lpCallerSession) Name

func (_Uniswapv2lp *Uniswapv2lpCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Uniswapv2lpCallerSession) Nonces

func (_Uniswapv2lp *Uniswapv2lpCallerSession) Nonces(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 (*Uniswapv2lpCallerSession) PERMITTYPEHASH

func (_Uniswapv2lp *Uniswapv2lpCallerSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*Uniswapv2lpCallerSession) Price0CumulativeLast

func (_Uniswapv2lp *Uniswapv2lpCallerSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*Uniswapv2lpCallerSession) Price1CumulativeLast

func (_Uniswapv2lp *Uniswapv2lpCallerSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*Uniswapv2lpCallerSession) Symbol

func (_Uniswapv2lp *Uniswapv2lpCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Uniswapv2lpCallerSession) Token0

func (_Uniswapv2lp *Uniswapv2lpCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*Uniswapv2lpCallerSession) Token1

func (_Uniswapv2lp *Uniswapv2lpCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*Uniswapv2lpCallerSession) TotalSupply

func (_Uniswapv2lp *Uniswapv2lpCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type Uniswapv2lpFilterer

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

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

func NewUniswapv2lpFilterer

func NewUniswapv2lpFilterer(address common.Address, filterer bind.ContractFilterer) (*Uniswapv2lpFilterer, error)

NewUniswapv2lpFilterer creates a new log filterer instance of Uniswapv2lp, bound to a specific deployed contract.

func (*Uniswapv2lpFilterer) FilterApproval

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

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

func (_Uniswapv2lp *Uniswapv2lpFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*Uniswapv2lpMintIterator, error)

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

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

func (*Uniswapv2lpFilterer) FilterSwap

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

func (_Uniswapv2lp *Uniswapv2lpFilterer) FilterSync(opts *bind.FilterOpts) (*Uniswapv2lpSyncIterator, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Uniswapv2lpFilterer) FilterTransfer

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

func (_Uniswapv2lp *Uniswapv2lpFilterer) ParseApproval(log types.Log) (*Uniswapv2lpApproval, error)

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

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

func (*Uniswapv2lpFilterer) ParseBurn

func (_Uniswapv2lp *Uniswapv2lpFilterer) ParseBurn(log types.Log) (*Uniswapv2lpBurn, 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 (*Uniswapv2lpFilterer) ParseMint

func (_Uniswapv2lp *Uniswapv2lpFilterer) ParseMint(log types.Log) (*Uniswapv2lpMint, error)

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

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

func (*Uniswapv2lpFilterer) ParseSwap

func (_Uniswapv2lp *Uniswapv2lpFilterer) ParseSwap(log types.Log) (*Uniswapv2lpSwap, 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 (*Uniswapv2lpFilterer) ParseSync

func (_Uniswapv2lp *Uniswapv2lpFilterer) ParseSync(log types.Log) (*Uniswapv2lpSync, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Uniswapv2lpFilterer) ParseTransfer

func (_Uniswapv2lp *Uniswapv2lpFilterer) ParseTransfer(log types.Log) (*Uniswapv2lpTransfer, error)

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

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

func (*Uniswapv2lpFilterer) WatchApproval

func (_Uniswapv2lp *Uniswapv2lpFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Uniswapv2lpApproval, 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 (*Uniswapv2lpFilterer) WatchBurn

func (_Uniswapv2lp *Uniswapv2lpFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *Uniswapv2lpBurn, 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 (*Uniswapv2lpFilterer) WatchMint

func (_Uniswapv2lp *Uniswapv2lpFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *Uniswapv2lpMint, 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 (*Uniswapv2lpFilterer) WatchSwap

func (_Uniswapv2lp *Uniswapv2lpFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *Uniswapv2lpSwap, 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 (*Uniswapv2lpFilterer) WatchSync

func (_Uniswapv2lp *Uniswapv2lpFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *Uniswapv2lpSync) (event.Subscription, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Uniswapv2lpFilterer) WatchTransfer

func (_Uniswapv2lp *Uniswapv2lpFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Uniswapv2lpTransfer, 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 Uniswapv2lpMint

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

Uniswapv2lpMint represents a Mint event raised by the Uniswapv2lp contract.

type Uniswapv2lpMintIterator

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

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

func (*Uniswapv2lpMintIterator) Close

func (it *Uniswapv2lpMintIterator) Close() error

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

func (*Uniswapv2lpMintIterator) Error

func (it *Uniswapv2lpMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2lpMintIterator) Next

func (it *Uniswapv2lpMintIterator) 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 Uniswapv2lpRaw

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

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

func (*Uniswapv2lpRaw) Call

func (_Uniswapv2lp *Uniswapv2lpRaw) 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 (*Uniswapv2lpRaw) Transact

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

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

func (*Uniswapv2lpRaw) Transfer

func (_Uniswapv2lp *Uniswapv2lpRaw) 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 Uniswapv2lpSession

type Uniswapv2lpSession struct {
	Contract     *Uniswapv2lp      // 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
}

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

func (*Uniswapv2lpSession) Allowance

func (_Uniswapv2lp *Uniswapv2lpSession) 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 (*Uniswapv2lpSession) Approve

func (_Uniswapv2lp *Uniswapv2lpSession) 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 (*Uniswapv2lpSession) BalanceOf

func (_Uniswapv2lp *Uniswapv2lpSession) BalanceOf(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 (*Uniswapv2lpSession) Burn

func (_Uniswapv2lp *Uniswapv2lpSession) 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 (*Uniswapv2lpSession) DOMAINSEPARATOR

func (_Uniswapv2lp *Uniswapv2lpSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Uniswapv2lpSession) Decimals

func (_Uniswapv2lp *Uniswapv2lpSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*Uniswapv2lpSession) Factory

func (_Uniswapv2lp *Uniswapv2lpSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*Uniswapv2lpSession) GetReserves

func (_Uniswapv2lp *Uniswapv2lpSession) 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 (*Uniswapv2lpSession) Initialize

func (_Uniswapv2lp *Uniswapv2lpSession) 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 (*Uniswapv2lpSession) KLast

func (_Uniswapv2lp *Uniswapv2lpSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*Uniswapv2lpSession) MINIMUMLIQUIDITY

func (_Uniswapv2lp *Uniswapv2lpSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*Uniswapv2lpSession) Mint

func (_Uniswapv2lp *Uniswapv2lpSession) 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 (*Uniswapv2lpSession) Name

func (_Uniswapv2lp *Uniswapv2lpSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Uniswapv2lpSession) Nonces

func (_Uniswapv2lp *Uniswapv2lpSession) Nonces(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 (*Uniswapv2lpSession) PERMITTYPEHASH

func (_Uniswapv2lp *Uniswapv2lpSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*Uniswapv2lpSession) Permit

func (_Uniswapv2lp *Uniswapv2lpSession) 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 (*Uniswapv2lpSession) Price0CumulativeLast

func (_Uniswapv2lp *Uniswapv2lpSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*Uniswapv2lpSession) Price1CumulativeLast

func (_Uniswapv2lp *Uniswapv2lpSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*Uniswapv2lpSession) Skim

func (_Uniswapv2lp *Uniswapv2lpSession) 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 (*Uniswapv2lpSession) Swap

func (_Uniswapv2lp *Uniswapv2lpSession) 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 (*Uniswapv2lpSession) Symbol

func (_Uniswapv2lp *Uniswapv2lpSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Uniswapv2lpSession) Sync

func (_Uniswapv2lp *Uniswapv2lpSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*Uniswapv2lpSession) Token0

func (_Uniswapv2lp *Uniswapv2lpSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*Uniswapv2lpSession) Token1

func (_Uniswapv2lp *Uniswapv2lpSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*Uniswapv2lpSession) TotalSupply

func (_Uniswapv2lp *Uniswapv2lpSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*Uniswapv2lpSession) Transfer

func (_Uniswapv2lp *Uniswapv2lpSession) 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 (*Uniswapv2lpSession) TransferFrom

func (_Uniswapv2lp *Uniswapv2lpSession) 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 Uniswapv2lpSwap

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

Uniswapv2lpSwap represents a Swap event raised by the Uniswapv2lp contract.

type Uniswapv2lpSwapIterator

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

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

func (*Uniswapv2lpSwapIterator) Close

func (it *Uniswapv2lpSwapIterator) Close() error

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

func (*Uniswapv2lpSwapIterator) Error

func (it *Uniswapv2lpSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2lpSwapIterator) Next

func (it *Uniswapv2lpSwapIterator) 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 Uniswapv2lpSync

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

Uniswapv2lpSync represents a Sync event raised by the Uniswapv2lp contract.

type Uniswapv2lpSyncIterator

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

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

func (*Uniswapv2lpSyncIterator) Close

func (it *Uniswapv2lpSyncIterator) Close() error

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

func (*Uniswapv2lpSyncIterator) Error

func (it *Uniswapv2lpSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2lpSyncIterator) Next

func (it *Uniswapv2lpSyncIterator) 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 Uniswapv2lpTransactor

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

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

func NewUniswapv2lpTransactor

func NewUniswapv2lpTransactor(address common.Address, transactor bind.ContractTransactor) (*Uniswapv2lpTransactor, error)

NewUniswapv2lpTransactor creates a new write-only instance of Uniswapv2lp, bound to a specific deployed contract.

func (*Uniswapv2lpTransactor) Approve

func (_Uniswapv2lp *Uniswapv2lpTransactor) 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 (*Uniswapv2lpTransactor) Burn

func (_Uniswapv2lp *Uniswapv2lpTransactor) 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 (*Uniswapv2lpTransactor) Initialize

func (_Uniswapv2lp *Uniswapv2lpTransactor) 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 (*Uniswapv2lpTransactor) Mint

func (_Uniswapv2lp *Uniswapv2lpTransactor) 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 (*Uniswapv2lpTransactor) Permit

func (_Uniswapv2lp *Uniswapv2lpTransactor) 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 (*Uniswapv2lpTransactor) Skim

func (_Uniswapv2lp *Uniswapv2lpTransactor) 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 (*Uniswapv2lpTransactor) Swap

func (_Uniswapv2lp *Uniswapv2lpTransactor) 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 (*Uniswapv2lpTransactor) Sync

func (_Uniswapv2lp *Uniswapv2lpTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*Uniswapv2lpTransactor) Transfer

func (_Uniswapv2lp *Uniswapv2lpTransactor) 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 (*Uniswapv2lpTransactor) TransferFrom

func (_Uniswapv2lp *Uniswapv2lpTransactor) 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 Uniswapv2lpTransactorRaw

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

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

func (*Uniswapv2lpTransactorRaw) Transact

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

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

func (*Uniswapv2lpTransactorRaw) Transfer

func (_Uniswapv2lp *Uniswapv2lpTransactorRaw) 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 Uniswapv2lpTransactorSession

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

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

func (*Uniswapv2lpTransactorSession) Approve

func (_Uniswapv2lp *Uniswapv2lpTransactorSession) 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 (*Uniswapv2lpTransactorSession) Burn

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*Uniswapv2lpTransactorSession) Initialize

func (_Uniswapv2lp *Uniswapv2lpTransactorSession) 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 (*Uniswapv2lpTransactorSession) Mint

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*Uniswapv2lpTransactorSession) Permit

func (_Uniswapv2lp *Uniswapv2lpTransactorSession) 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 (*Uniswapv2lpTransactorSession) Skim

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*Uniswapv2lpTransactorSession) Swap

func (_Uniswapv2lp *Uniswapv2lpTransactorSession) 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 (*Uniswapv2lpTransactorSession) Sync

func (_Uniswapv2lp *Uniswapv2lpTransactorSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*Uniswapv2lpTransactorSession) Transfer

func (_Uniswapv2lp *Uniswapv2lpTransactorSession) 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 (*Uniswapv2lpTransactorSession) TransferFrom

func (_Uniswapv2lp *Uniswapv2lpTransactorSession) 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 Uniswapv2lpTransfer

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

Uniswapv2lpTransfer represents a Transfer event raised by the Uniswapv2lp contract.

type Uniswapv2lpTransferIterator

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

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

func (*Uniswapv2lpTransferIterator) Close

func (it *Uniswapv2lpTransferIterator) Close() error

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

func (*Uniswapv2lpTransferIterator) Error

func (it *Uniswapv2lpTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv2lpTransferIterator) Next

func (it *Uniswapv2lpTransferIterator) 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.

Jump to

Keyboard shortcuts

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