pairbindings

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PairbindingsABI = "" /* 9821-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Pairbindings

type Pairbindings struct {
	PairbindingsCaller     // Read-only binding to the contract
	PairbindingsTransactor // Write-only binding to the contract
	PairbindingsFilterer   // Log filterer for contract events
}

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

func NewPairbindings

func NewPairbindings(address common.Address, backend bind.ContractBackend) (*Pairbindings, error)

NewPairbindings creates a new instance of Pairbindings, bound to a specific deployed contract.

type PairbindingsApproval

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

PairbindingsApproval represents a Approval event raised by the Pairbindings contract.

type PairbindingsApprovalIterator

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

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

func (*PairbindingsApprovalIterator) Close

func (it *PairbindingsApprovalIterator) Close() error

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

func (*PairbindingsApprovalIterator) Error

func (it *PairbindingsApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PairbindingsApprovalIterator) 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 PairbindingsBurn

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

PairbindingsBurn represents a Burn event raised by the Pairbindings contract.

type PairbindingsBurnIterator

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

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

func (*PairbindingsBurnIterator) Close

func (it *PairbindingsBurnIterator) Close() error

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

func (*PairbindingsBurnIterator) Error

func (it *PairbindingsBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PairbindingsBurnIterator) Next

func (it *PairbindingsBurnIterator) 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 PairbindingsCaller

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

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

func NewPairbindingsCaller

func NewPairbindingsCaller(address common.Address, caller bind.ContractCaller) (*PairbindingsCaller, error)

NewPairbindingsCaller creates a new read-only instance of Pairbindings, bound to a specific deployed contract.

func (*PairbindingsCaller) Allowance

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) BalanceOf

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) DOMAINSEPARATOR

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) Decimals

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) Factory

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) GetReserves

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) KLast

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) MINIMUMLIQUIDITY

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) Name

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) Nonces

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) PERMITTYPEHASH

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) Price0CumulativeLast

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) Price1CumulativeLast

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) Symbol

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) Token0

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) Token1

func (_Pairbindings *PairbindingsCaller) 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 (*PairbindingsCaller) TotalSupply

func (_Pairbindings *PairbindingsCaller) 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 PairbindingsCallerRaw

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

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

func (*PairbindingsCallerRaw) Call

func (_Pairbindings *PairbindingsCallerRaw) 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 PairbindingsCallerSession

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

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

func (*PairbindingsCallerSession) Allowance

func (_Pairbindings *PairbindingsCallerSession) 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 (*PairbindingsCallerSession) BalanceOf

func (_Pairbindings *PairbindingsCallerSession) 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 (*PairbindingsCallerSession) DOMAINSEPARATOR

func (_Pairbindings *PairbindingsCallerSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PairbindingsCallerSession) Decimals

func (_Pairbindings *PairbindingsCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*PairbindingsCallerSession) Factory

func (_Pairbindings *PairbindingsCallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*PairbindingsCallerSession) GetReserves

func (_Pairbindings *PairbindingsCallerSession) 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 (*PairbindingsCallerSession) KLast

func (_Pairbindings *PairbindingsCallerSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*PairbindingsCallerSession) MINIMUMLIQUIDITY

func (_Pairbindings *PairbindingsCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*PairbindingsCallerSession) Name

func (_Pairbindings *PairbindingsCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*PairbindingsCallerSession) Nonces

func (_Pairbindings *PairbindingsCallerSession) 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 (*PairbindingsCallerSession) PERMITTYPEHASH

func (_Pairbindings *PairbindingsCallerSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*PairbindingsCallerSession) Price0CumulativeLast

func (_Pairbindings *PairbindingsCallerSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*PairbindingsCallerSession) Price1CumulativeLast

func (_Pairbindings *PairbindingsCallerSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*PairbindingsCallerSession) Symbol

func (_Pairbindings *PairbindingsCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*PairbindingsCallerSession) Token0

func (_Pairbindings *PairbindingsCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*PairbindingsCallerSession) Token1

func (_Pairbindings *PairbindingsCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*PairbindingsCallerSession) TotalSupply

func (_Pairbindings *PairbindingsCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type PairbindingsFilterer

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

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

func NewPairbindingsFilterer

func NewPairbindingsFilterer(address common.Address, filterer bind.ContractFilterer) (*PairbindingsFilterer, error)

NewPairbindingsFilterer creates a new log filterer instance of Pairbindings, bound to a specific deployed contract.

func (*PairbindingsFilterer) FilterApproval

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

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

func (_Pairbindings *PairbindingsFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*PairbindingsMintIterator, error)

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

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

func (*PairbindingsFilterer) FilterSwap

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

func (_Pairbindings *PairbindingsFilterer) FilterSync(opts *bind.FilterOpts) (*PairbindingsSyncIterator, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*PairbindingsFilterer) FilterTransfer

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

func (_Pairbindings *PairbindingsFilterer) ParseApproval(log types.Log) (*PairbindingsApproval, error)

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

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

func (*PairbindingsFilterer) ParseBurn

func (_Pairbindings *PairbindingsFilterer) ParseBurn(log types.Log) (*PairbindingsBurn, 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 (*PairbindingsFilterer) ParseMint

func (_Pairbindings *PairbindingsFilterer) ParseMint(log types.Log) (*PairbindingsMint, error)

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

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

func (*PairbindingsFilterer) ParseSwap

func (_Pairbindings *PairbindingsFilterer) ParseSwap(log types.Log) (*PairbindingsSwap, 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 (*PairbindingsFilterer) ParseSync

func (_Pairbindings *PairbindingsFilterer) ParseSync(log types.Log) (*PairbindingsSync, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*PairbindingsFilterer) ParseTransfer

func (_Pairbindings *PairbindingsFilterer) ParseTransfer(log types.Log) (*PairbindingsTransfer, error)

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

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

func (*PairbindingsFilterer) WatchApproval

func (_Pairbindings *PairbindingsFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PairbindingsApproval, 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 (*PairbindingsFilterer) WatchBurn

func (_Pairbindings *PairbindingsFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *PairbindingsBurn, 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 (*PairbindingsFilterer) WatchMint

func (_Pairbindings *PairbindingsFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *PairbindingsMint, 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 (*PairbindingsFilterer) WatchSwap

func (_Pairbindings *PairbindingsFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *PairbindingsSwap, 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 (*PairbindingsFilterer) WatchSync

func (_Pairbindings *PairbindingsFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *PairbindingsSync) (event.Subscription, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*PairbindingsFilterer) WatchTransfer

func (_Pairbindings *PairbindingsFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PairbindingsTransfer, 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 PairbindingsMint

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

PairbindingsMint represents a Mint event raised by the Pairbindings contract.

type PairbindingsMintIterator

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

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

func (*PairbindingsMintIterator) Close

func (it *PairbindingsMintIterator) Close() error

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

func (*PairbindingsMintIterator) Error

func (it *PairbindingsMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PairbindingsMintIterator) Next

func (it *PairbindingsMintIterator) 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 PairbindingsRaw

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

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

func (*PairbindingsRaw) Call

func (_Pairbindings *PairbindingsRaw) 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 (*PairbindingsRaw) Transact

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

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

func (*PairbindingsRaw) Transfer

func (_Pairbindings *PairbindingsRaw) 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 PairbindingsSession

type PairbindingsSession struct {
	Contract     *Pairbindings     // 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
}

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

func (*PairbindingsSession) Allowance

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) Approve

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) BalanceOf

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) Burn

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) DOMAINSEPARATOR

func (_Pairbindings *PairbindingsSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PairbindingsSession) Decimals

func (_Pairbindings *PairbindingsSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*PairbindingsSession) Factory

func (_Pairbindings *PairbindingsSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*PairbindingsSession) GetReserves

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) Initialize

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) KLast

func (_Pairbindings *PairbindingsSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*PairbindingsSession) MINIMUMLIQUIDITY

func (_Pairbindings *PairbindingsSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*PairbindingsSession) Mint

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) Name

func (_Pairbindings *PairbindingsSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*PairbindingsSession) Nonces

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) PERMITTYPEHASH

func (_Pairbindings *PairbindingsSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*PairbindingsSession) Permit

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) Price0CumulativeLast

func (_Pairbindings *PairbindingsSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*PairbindingsSession) Price1CumulativeLast

func (_Pairbindings *PairbindingsSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*PairbindingsSession) Skim

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) Swap

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) Symbol

func (_Pairbindings *PairbindingsSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*PairbindingsSession) Sync

func (_Pairbindings *PairbindingsSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*PairbindingsSession) Token0

func (_Pairbindings *PairbindingsSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*PairbindingsSession) Token1

func (_Pairbindings *PairbindingsSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*PairbindingsSession) TotalSupply

func (_Pairbindings *PairbindingsSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*PairbindingsSession) Transfer

func (_Pairbindings *PairbindingsSession) 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 (*PairbindingsSession) TransferFrom

func (_Pairbindings *PairbindingsSession) 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 PairbindingsSwap

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

PairbindingsSwap represents a Swap event raised by the Pairbindings contract.

type PairbindingsSwapIterator

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

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

func (*PairbindingsSwapIterator) Close

func (it *PairbindingsSwapIterator) Close() error

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

func (*PairbindingsSwapIterator) Error

func (it *PairbindingsSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PairbindingsSwapIterator) Next

func (it *PairbindingsSwapIterator) 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 PairbindingsSync

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

PairbindingsSync represents a Sync event raised by the Pairbindings contract.

type PairbindingsSyncIterator

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

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

func (*PairbindingsSyncIterator) Close

func (it *PairbindingsSyncIterator) Close() error

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

func (*PairbindingsSyncIterator) Error

func (it *PairbindingsSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PairbindingsSyncIterator) Next

func (it *PairbindingsSyncIterator) 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 PairbindingsTransactor

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

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

func NewPairbindingsTransactor

func NewPairbindingsTransactor(address common.Address, transactor bind.ContractTransactor) (*PairbindingsTransactor, error)

NewPairbindingsTransactor creates a new write-only instance of Pairbindings, bound to a specific deployed contract.

func (*PairbindingsTransactor) Approve

func (_Pairbindings *PairbindingsTransactor) 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 (*PairbindingsTransactor) Burn

func (_Pairbindings *PairbindingsTransactor) 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 (*PairbindingsTransactor) Initialize

func (_Pairbindings *PairbindingsTransactor) 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 (*PairbindingsTransactor) Mint

func (_Pairbindings *PairbindingsTransactor) 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 (*PairbindingsTransactor) Permit

func (_Pairbindings *PairbindingsTransactor) 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 (*PairbindingsTransactor) Skim

func (_Pairbindings *PairbindingsTransactor) 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 (*PairbindingsTransactor) Swap

func (_Pairbindings *PairbindingsTransactor) 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 (*PairbindingsTransactor) Sync

func (_Pairbindings *PairbindingsTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*PairbindingsTransactor) Transfer

func (_Pairbindings *PairbindingsTransactor) 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 (*PairbindingsTransactor) TransferFrom

func (_Pairbindings *PairbindingsTransactor) 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 PairbindingsTransactorRaw

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

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

func (*PairbindingsTransactorRaw) Transact

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

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

func (*PairbindingsTransactorRaw) Transfer

func (_Pairbindings *PairbindingsTransactorRaw) 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 PairbindingsTransactorSession

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

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

func (*PairbindingsTransactorSession) Approve

func (_Pairbindings *PairbindingsTransactorSession) 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 (*PairbindingsTransactorSession) Burn

func (_Pairbindings *PairbindingsTransactorSession) 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 (*PairbindingsTransactorSession) Initialize

func (_Pairbindings *PairbindingsTransactorSession) 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 (*PairbindingsTransactorSession) Mint

func (_Pairbindings *PairbindingsTransactorSession) 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 (*PairbindingsTransactorSession) Permit

func (_Pairbindings *PairbindingsTransactorSession) 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 (*PairbindingsTransactorSession) Skim

func (_Pairbindings *PairbindingsTransactorSession) 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 (*PairbindingsTransactorSession) Swap

func (_Pairbindings *PairbindingsTransactorSession) 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 (*PairbindingsTransactorSession) Sync

func (_Pairbindings *PairbindingsTransactorSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*PairbindingsTransactorSession) Transfer

func (_Pairbindings *PairbindingsTransactorSession) 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 (*PairbindingsTransactorSession) TransferFrom

func (_Pairbindings *PairbindingsTransactorSession) 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 PairbindingsTransfer

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

PairbindingsTransfer represents a Transfer event raised by the Pairbindings contract.

type PairbindingsTransferIterator

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

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

func (*PairbindingsTransferIterator) Close

func (it *PairbindingsTransferIterator) Close() error

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

func (*PairbindingsTransferIterator) Error

func (it *PairbindingsTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

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