contract

package
v0.0.0-...-4859bee Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Erc1155ABI = "" /* 4270-byte string literal not displayed */

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

View Source
const Erc20ABI = "" /* 9652-byte string literal not displayed */

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

View Source
const Erc721ABI = "" /* 10449-byte string literal not displayed */

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

View Source
const UniswapFactoryABI = "" /* 2852-byte string literal not displayed */

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

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

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

View Source
const UniswapRouterABI = "" /* 14077-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Erc1155

type Erc1155 struct {
	Erc1155Caller     // Read-only binding to the contract
	Erc1155Transactor // Write-only binding to the contract
	Erc1155Filterer   // Log filterer for contract events
}

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

func NewErc1155

func NewErc1155(address common.Address, backend bind.ContractBackend) (*Erc1155, error)

NewErc1155 creates a new instance of Erc1155, bound to a specific deployed contract.

type Erc1155ApprovalForAll

type Erc1155ApprovalForAll struct {
	Account  common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

Erc1155ApprovalForAll represents a ApprovalForAll event raised by the Erc1155 contract.

type Erc1155ApprovalForAllIterator

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

Erc1155ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Erc1155 contract.

func (*Erc1155ApprovalForAllIterator) Close

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

func (*Erc1155ApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewErc1155Caller

func NewErc1155Caller(address common.Address, caller bind.ContractCaller) (*Erc1155Caller, error)

NewErc1155Caller creates a new read-only instance of Erc1155, bound to a specific deployed contract.

func (*Erc1155Caller) BalanceOf

func (_Erc1155 *Erc1155Caller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*Erc1155Caller) BalanceOfBatch

func (_Erc1155 *Erc1155Caller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*Erc1155Caller) IsApprovedForAll

func (_Erc1155 *Erc1155Caller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*Erc1155Caller) SupportsInterface

func (_Erc1155 *Erc1155Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*Erc1155Caller) Uri

func (_Erc1155 *Erc1155Caller) Uri(opts *bind.CallOpts, id *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 id) view returns(string)

type Erc1155CallerRaw

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

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

func (*Erc1155CallerRaw) Call

func (_Erc1155 *Erc1155CallerRaw) 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 Erc1155CallerSession

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

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

func (*Erc1155CallerSession) BalanceOf

func (_Erc1155 *Erc1155CallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*Erc1155CallerSession) BalanceOfBatch

func (_Erc1155 *Erc1155CallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*Erc1155CallerSession) IsApprovedForAll

func (_Erc1155 *Erc1155CallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*Erc1155CallerSession) SupportsInterface

func (_Erc1155 *Erc1155CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*Erc1155CallerSession) Uri

func (_Erc1155 *Erc1155CallerSession) Uri(id *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 id) view returns(string)

type Erc1155Filterer

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

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

func NewErc1155Filterer

func NewErc1155Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc1155Filterer, error)

NewErc1155Filterer creates a new log filterer instance of Erc1155, bound to a specific deployed contract.

func (*Erc1155Filterer) FilterApprovalForAll

func (_Erc1155 *Erc1155Filterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*Erc1155ApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*Erc1155Filterer) FilterTransferBatch

func (_Erc1155 *Erc1155Filterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*Erc1155TransferBatchIterator, error)

FilterTransferBatch is a free log retrieval operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*Erc1155Filterer) FilterTransferSingle

func (_Erc1155 *Erc1155Filterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*Erc1155TransferSingleIterator, error)

FilterTransferSingle is a free log retrieval operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*Erc1155Filterer) FilterURI

func (_Erc1155 *Erc1155Filterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*Erc1155URIIterator, error)

FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*Erc1155Filterer) ParseApprovalForAll

func (_Erc1155 *Erc1155Filterer) ParseApprovalForAll(log types.Log) (*Erc1155ApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*Erc1155Filterer) ParseTransferBatch

func (_Erc1155 *Erc1155Filterer) ParseTransferBatch(log types.Log) (*Erc1155TransferBatch, error)

ParseTransferBatch is a log parse operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*Erc1155Filterer) ParseTransferSingle

func (_Erc1155 *Erc1155Filterer) ParseTransferSingle(log types.Log) (*Erc1155TransferSingle, error)

ParseTransferSingle is a log parse operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*Erc1155Filterer) ParseURI

func (_Erc1155 *Erc1155Filterer) ParseURI(log types.Log) (*Erc1155URI, error)

ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*Erc1155Filterer) WatchApprovalForAll

func (_Erc1155 *Erc1155Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc1155ApprovalForAll, account []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*Erc1155Filterer) WatchTransferBatch

func (_Erc1155 *Erc1155Filterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *Erc1155TransferBatch, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferBatch is a free log subscription operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*Erc1155Filterer) WatchTransferSingle

func (_Erc1155 *Erc1155Filterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *Erc1155TransferSingle, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferSingle is a free log subscription operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*Erc1155Filterer) WatchURI

func (_Erc1155 *Erc1155Filterer) WatchURI(opts *bind.WatchOpts, sink chan<- *Erc1155URI, id []*big.Int) (event.Subscription, error)

WatchURI is a free log subscription operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

type Erc1155Raw

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

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

func (*Erc1155Raw) Call

func (_Erc1155 *Erc1155Raw) 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 (*Erc1155Raw) Transact

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

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

func (*Erc1155Raw) Transfer

func (_Erc1155 *Erc1155Raw) 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 Erc1155Session

type Erc1155Session struct {
	Contract     *Erc1155          // 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
}

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

func (*Erc1155Session) BalanceOf

func (_Erc1155 *Erc1155Session) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

Solidity: function balanceOf(address account, uint256 id) view returns(uint256)

func (*Erc1155Session) BalanceOfBatch

func (_Erc1155 *Erc1155Session) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*Erc1155Session) IsApprovedForAll

func (_Erc1155 *Erc1155Session) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*Erc1155Session) SafeBatchTransferFrom

func (_Erc1155 *Erc1155Session) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*Erc1155Session) SafeTransferFrom

func (_Erc1155 *Erc1155Session) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*Erc1155Session) SetApprovalForAll

func (_Erc1155 *Erc1155Session) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*Erc1155Session) SupportsInterface

func (_Erc1155 *Erc1155Session) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*Erc1155Session) Uri

func (_Erc1155 *Erc1155Session) Uri(id *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 id) view returns(string)

type Erc1155Transactor

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

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

func NewErc1155Transactor

func NewErc1155Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc1155Transactor, error)

NewErc1155Transactor creates a new write-only instance of Erc1155, bound to a specific deployed contract.

func (*Erc1155Transactor) SafeBatchTransferFrom

func (_Erc1155 *Erc1155Transactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*Erc1155Transactor) SafeTransferFrom

func (_Erc1155 *Erc1155Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*Erc1155Transactor) SetApprovalForAll

func (_Erc1155 *Erc1155Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

type Erc1155TransactorRaw

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

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

func (*Erc1155TransactorRaw) Transact

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

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

func (*Erc1155TransactorRaw) Transfer

func (_Erc1155 *Erc1155TransactorRaw) 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 Erc1155TransactorSession

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

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

func (*Erc1155TransactorSession) SafeBatchTransferFrom

func (_Erc1155 *Erc1155TransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*Erc1155TransactorSession) SafeTransferFrom

func (_Erc1155 *Erc1155TransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*Erc1155TransactorSession) SetApprovalForAll

func (_Erc1155 *Erc1155TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

type Erc1155TransferBatch

type Erc1155TransferBatch struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Ids      []*big.Int
	Values   []*big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

Erc1155TransferBatch represents a TransferBatch event raised by the Erc1155 contract.

type Erc1155TransferBatchIterator

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

Erc1155TransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the Erc1155 contract.

func (*Erc1155TransferBatchIterator) Close

func (it *Erc1155TransferBatchIterator) Close() error

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

func (*Erc1155TransferBatchIterator) Error

func (it *Erc1155TransferBatchIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

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

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

Erc1155TransferSingle represents a TransferSingle event raised by the Erc1155 contract.

type Erc1155TransferSingleIterator

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

Erc1155TransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the Erc1155 contract.

func (*Erc1155TransferSingleIterator) Close

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

func (*Erc1155TransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type Erc1155URI struct {
	Value string
	Id    *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

Erc1155URI represents a URI event raised by the Erc1155 contract.

type Erc1155URIIterator

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

Erc1155URIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the Erc1155 contract.

func (*Erc1155URIIterator) Close

func (it *Erc1155URIIterator) Close() error

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

func (*Erc1155URIIterator) Error

func (it *Erc1155URIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc1155URIIterator) Next

func (it *Erc1155URIIterator) 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 Erc20

type Erc20 struct {
	Erc20Caller     // Read-only binding to the contract
	Erc20Transactor // Write-only binding to the contract
	Erc20Filterer   // Log filterer for contract events
}

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

func NewErc20

func NewErc20(address common.Address, backend bind.ContractBackend) (*Erc20, error)

NewErc20 creates a new instance of Erc20, bound to a specific deployed contract.

type Erc20Approval

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

Erc20Approval represents a Approval event raised by the Erc20 contract.

type Erc20ApprovalIterator

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

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

func (*Erc20ApprovalIterator) Close

func (it *Erc20ApprovalIterator) Close() error

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

func (*Erc20ApprovalIterator) Error

func (it *Erc20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20ApprovalIterator) Next

func (it *Erc20ApprovalIterator) 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 Erc20Caller

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

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

func NewErc20Caller

func NewErc20Caller(address common.Address, caller bind.ContractCaller) (*Erc20Caller, error)

NewErc20Caller creates a new read-only instance of Erc20, bound to a specific deployed contract.

func (*Erc20Caller) Allowance

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

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

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

func (*Erc20Caller) BalanceOf

func (_Erc20 *Erc20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

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

func (*Erc20Caller) Checkpoints

func (_Erc20 *Erc20Caller) Checkpoints(opts *bind.CallOpts, arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint256 votes)

func (*Erc20Caller) DELEGATIONTYPEHASH

func (_Erc20 *Erc20Caller) DELEGATIONTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*Erc20Caller) DOMAINTYPEHASH

func (_Erc20 *Erc20Caller) DOMAINTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*Erc20Caller) Decimals

func (_Erc20 *Erc20Caller) 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 (*Erc20Caller) Delegates

func (_Erc20 *Erc20Caller) Delegates(opts *bind.CallOpts, delegator common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address delegator) view returns(address)

func (*Erc20Caller) GetCurrentVotes

func (_Erc20 *Erc20Caller) GetCurrentVotes(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint256)

func (*Erc20Caller) GetPriorVotes

func (_Erc20 *Erc20Caller) GetPriorVotes(opts *bind.CallOpts, account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint256)

func (*Erc20Caller) Name

func (_Erc20 *Erc20Caller) 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 (*Erc20Caller) Nonces

func (_Erc20 *Erc20Caller) 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 (*Erc20Caller) NumCheckpoints

func (_Erc20 *Erc20Caller) NumCheckpoints(opts *bind.CallOpts, arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*Erc20Caller) Owner

func (_Erc20 *Erc20Caller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Erc20Caller) PotentialOwner

func (_Erc20 *Erc20Caller) PotentialOwner(opts *bind.CallOpts) (common.Address, error)

PotentialOwner is a free data retrieval call binding the contract method 0x7762df25.

Solidity: function potentialOwner() view returns(address)

func (*Erc20Caller) RacaInAdvance

func (_Erc20 *Erc20Caller) RacaInAdvance(opts *bind.CallOpts) (*big.Int, error)

RacaInAdvance is a free data retrieval call binding the contract method 0xca441b39.

Solidity: function racaInAdvance() view returns(uint256)

func (*Erc20Caller) Symbol

func (_Erc20 *Erc20Caller) 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 (*Erc20Caller) TotalSupply

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

func (*Erc20Caller) TreasuryWalletAddr

func (_Erc20 *Erc20Caller) TreasuryWalletAddr(opts *bind.CallOpts) (common.Address, error)

TreasuryWalletAddr is a free data retrieval call binding the contract method 0xa5c30ec0.

Solidity: function treasuryWalletAddr() view returns(address)

type Erc20CallerRaw

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

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

func (*Erc20CallerRaw) Call

func (_Erc20 *Erc20CallerRaw) 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 Erc20CallerSession

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

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

func (*Erc20CallerSession) Allowance

func (_Erc20 *Erc20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*Erc20CallerSession) BalanceOf

func (_Erc20 *Erc20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*Erc20CallerSession) Checkpoints

func (_Erc20 *Erc20CallerSession) Checkpoints(arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint256 votes)

func (*Erc20CallerSession) DELEGATIONTYPEHASH

func (_Erc20 *Erc20CallerSession) DELEGATIONTYPEHASH() ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*Erc20CallerSession) DOMAINTYPEHASH

func (_Erc20 *Erc20CallerSession) DOMAINTYPEHASH() ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*Erc20CallerSession) Decimals

func (_Erc20 *Erc20CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*Erc20CallerSession) Delegates

func (_Erc20 *Erc20CallerSession) Delegates(delegator common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address delegator) view returns(address)

func (*Erc20CallerSession) GetCurrentVotes

func (_Erc20 *Erc20CallerSession) GetCurrentVotes(account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint256)

func (*Erc20CallerSession) GetPriorVotes

func (_Erc20 *Erc20CallerSession) GetPriorVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint256)

func (*Erc20CallerSession) Name

func (_Erc20 *Erc20CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Erc20CallerSession) Nonces

func (_Erc20 *Erc20CallerSession) 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 (*Erc20CallerSession) NumCheckpoints

func (_Erc20 *Erc20CallerSession) NumCheckpoints(arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*Erc20CallerSession) Owner

func (_Erc20 *Erc20CallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Erc20CallerSession) PotentialOwner

func (_Erc20 *Erc20CallerSession) PotentialOwner() (common.Address, error)

PotentialOwner is a free data retrieval call binding the contract method 0x7762df25.

Solidity: function potentialOwner() view returns(address)

func (*Erc20CallerSession) RacaInAdvance

func (_Erc20 *Erc20CallerSession) RacaInAdvance() (*big.Int, error)

RacaInAdvance is a free data retrieval call binding the contract method 0xca441b39.

Solidity: function racaInAdvance() view returns(uint256)

func (*Erc20CallerSession) Symbol

func (_Erc20 *Erc20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Erc20CallerSession) TotalSupply

func (_Erc20 *Erc20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*Erc20CallerSession) TreasuryWalletAddr

func (_Erc20 *Erc20CallerSession) TreasuryWalletAddr() (common.Address, error)

TreasuryWalletAddr is a free data retrieval call binding the contract method 0xa5c30ec0.

Solidity: function treasuryWalletAddr() view returns(address)

type Erc20DelegateChanged

type Erc20DelegateChanged struct {
	Delegator    common.Address
	FromDelegate common.Address
	ToDelegate   common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

Erc20DelegateChanged represents a DelegateChanged event raised by the Erc20 contract.

type Erc20DelegateChangedIterator

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

Erc20DelegateChangedIterator is returned from FilterDelegateChanged and is used to iterate over the raw logs and unpacked data for DelegateChanged events raised by the Erc20 contract.

func (*Erc20DelegateChangedIterator) Close

func (it *Erc20DelegateChangedIterator) Close() error

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

func (*Erc20DelegateChangedIterator) Error

func (it *Erc20DelegateChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

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

type Erc20DelegateVotesChanged struct {
	Delegate        common.Address
	PreviousBalance *big.Int
	NewBalance      *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

Erc20DelegateVotesChanged represents a DelegateVotesChanged event raised by the Erc20 contract.

type Erc20DelegateVotesChangedIterator

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

Erc20DelegateVotesChangedIterator is returned from FilterDelegateVotesChanged and is used to iterate over the raw logs and unpacked data for DelegateVotesChanged events raised by the Erc20 contract.

func (*Erc20DelegateVotesChangedIterator) Close

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

func (*Erc20DelegateVotesChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewErc20Filterer

func NewErc20Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc20Filterer, error)

NewErc20Filterer creates a new log filterer instance of Erc20, bound to a specific deployed contract.

func (*Erc20Filterer) FilterApproval

func (_Erc20 *Erc20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Erc20ApprovalIterator, 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 (*Erc20Filterer) FilterDelegateChanged

func (_Erc20 *Erc20Filterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*Erc20DelegateChangedIterator, error)

FilterDelegateChanged is a free log retrieval operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*Erc20Filterer) FilterDelegateVotesChanged

func (_Erc20 *Erc20Filterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*Erc20DelegateVotesChangedIterator, error)

FilterDelegateVotesChanged is a free log retrieval operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*Erc20Filterer) FilterOwnerNominated

func (_Erc20 *Erc20Filterer) FilterOwnerNominated(opts *bind.FilterOpts) (*Erc20OwnerNominatedIterator, error)

FilterOwnerNominated is a free log retrieval operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address potentialOwner)

func (*Erc20Filterer) FilterOwnershipTransferred

func (_Erc20 *Erc20Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*Erc20OwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*Erc20Filterer) FilterTransfer

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

func (_Erc20 *Erc20Filterer) ParseApproval(log types.Log) (*Erc20Approval, error)

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

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

func (*Erc20Filterer) ParseDelegateChanged

func (_Erc20 *Erc20Filterer) ParseDelegateChanged(log types.Log) (*Erc20DelegateChanged, error)

ParseDelegateChanged is a log parse operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*Erc20Filterer) ParseDelegateVotesChanged

func (_Erc20 *Erc20Filterer) ParseDelegateVotesChanged(log types.Log) (*Erc20DelegateVotesChanged, error)

ParseDelegateVotesChanged is a log parse operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*Erc20Filterer) ParseOwnerNominated

func (_Erc20 *Erc20Filterer) ParseOwnerNominated(log types.Log) (*Erc20OwnerNominated, error)

ParseOwnerNominated is a log parse operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address potentialOwner)

func (*Erc20Filterer) ParseOwnershipTransferred

func (_Erc20 *Erc20Filterer) ParseOwnershipTransferred(log types.Log) (*Erc20OwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*Erc20Filterer) ParseTransfer

func (_Erc20 *Erc20Filterer) ParseTransfer(log types.Log) (*Erc20Transfer, error)

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

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

func (*Erc20Filterer) WatchApproval

func (_Erc20 *Erc20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc20Approval, 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 (*Erc20Filterer) WatchDelegateChanged

func (_Erc20 *Erc20Filterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *Erc20DelegateChanged, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (event.Subscription, error)

WatchDelegateChanged is a free log subscription operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*Erc20Filterer) WatchDelegateVotesChanged

func (_Erc20 *Erc20Filterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *Erc20DelegateVotesChanged, delegate []common.Address) (event.Subscription, error)

WatchDelegateVotesChanged is a free log subscription operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*Erc20Filterer) WatchOwnerNominated

func (_Erc20 *Erc20Filterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *Erc20OwnerNominated) (event.Subscription, error)

WatchOwnerNominated is a free log subscription operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address potentialOwner)

func (*Erc20Filterer) WatchOwnershipTransferred

func (_Erc20 *Erc20Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *Erc20OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*Erc20Filterer) WatchTransfer

func (_Erc20 *Erc20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc20Transfer, 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 Erc20OwnerNominated

type Erc20OwnerNominated struct {
	PotentialOwner common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

Erc20OwnerNominated represents a OwnerNominated event raised by the Erc20 contract.

type Erc20OwnerNominatedIterator

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

Erc20OwnerNominatedIterator is returned from FilterOwnerNominated and is used to iterate over the raw logs and unpacked data for OwnerNominated events raised by the Erc20 contract.

func (*Erc20OwnerNominatedIterator) Close

func (it *Erc20OwnerNominatedIterator) Close() error

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

func (*Erc20OwnerNominatedIterator) Error

func (it *Erc20OwnerNominatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20OwnerNominatedIterator) Next

func (it *Erc20OwnerNominatedIterator) 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 Erc20OwnershipTransferred

type Erc20OwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

Erc20OwnershipTransferred represents a OwnershipTransferred event raised by the Erc20 contract.

type Erc20OwnershipTransferredIterator

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

Erc20OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Erc20 contract.

func (*Erc20OwnershipTransferredIterator) Close

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

func (*Erc20OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*Erc20Raw) Call

func (_Erc20 *Erc20Raw) 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 (*Erc20Raw) Transact

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

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

func (*Erc20Raw) Transfer

func (_Erc20 *Erc20Raw) 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 Erc20Session

type Erc20Session struct {
	Contract     *Erc20            // 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
}

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

func (*Erc20Session) AcceptOwnership

func (_Erc20 *Erc20Session) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*Erc20Session) Allowance

func (_Erc20 *Erc20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*Erc20Session) Approve

func (_Erc20 *Erc20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*Erc20Session) BalanceOf

func (_Erc20 *Erc20Session) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*Erc20Session) Burn

func (_Erc20 *Erc20Session) Burn(_from common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address _from, uint256 _amount) returns()

func (*Erc20Session) Checkpoints

func (_Erc20 *Erc20Session) Checkpoints(arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint256 votes)

func (*Erc20Session) DELEGATIONTYPEHASH

func (_Erc20 *Erc20Session) DELEGATIONTYPEHASH() ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*Erc20Session) DOMAINTYPEHASH

func (_Erc20 *Erc20Session) DOMAINTYPEHASH() ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*Erc20Session) Decimals

func (_Erc20 *Erc20Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*Erc20Session) DecreaseAllowance

func (_Erc20 *Erc20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*Erc20Session) Delegate

func (_Erc20 *Erc20Session) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*Erc20Session) DelegateBySig

func (_Erc20 *Erc20Session) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*Erc20Session) Delegates

func (_Erc20 *Erc20Session) Delegates(delegator common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address delegator) view returns(address)

func (*Erc20Session) GetCurrentVotes

func (_Erc20 *Erc20Session) GetCurrentVotes(account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint256)

func (*Erc20Session) GetPriorVotes

func (_Erc20 *Erc20Session) GetPriorVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint256)

func (*Erc20Session) IncreaseAllowance

func (_Erc20 *Erc20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*Erc20Session) Mint

func (_Erc20 *Erc20Session) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _to, uint256 _amount) returns()

func (*Erc20Session) Name

func (_Erc20 *Erc20Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Erc20Session) NominatePotentialOwner

func (_Erc20 *Erc20Session) NominatePotentialOwner(newOwner common.Address) (*types.Transaction, error)

NominatePotentialOwner is a paid mutator transaction binding the contract method 0x52c043c1.

Solidity: function nominatePotentialOwner(address newOwner) returns()

func (*Erc20Session) Nonces

func (_Erc20 *Erc20Session) 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 (*Erc20Session) NumCheckpoints

func (_Erc20 *Erc20Session) NumCheckpoints(arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*Erc20Session) Owner

func (_Erc20 *Erc20Session) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Erc20Session) PotentialOwner

func (_Erc20 *Erc20Session) PotentialOwner() (common.Address, error)

PotentialOwner is a free data retrieval call binding the contract method 0x7762df25.

Solidity: function potentialOwner() view returns(address)

func (*Erc20Session) RacaInAdvance

func (_Erc20 *Erc20Session) RacaInAdvance() (*big.Int, error)

RacaInAdvance is a free data retrieval call binding the contract method 0xca441b39.

Solidity: function racaInAdvance() view returns(uint256)

func (*Erc20Session) RenounceOwnership

func (_Erc20 *Erc20Session) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Erc20Session) Symbol

func (_Erc20 *Erc20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Erc20Session) TotalSupply

func (_Erc20 *Erc20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*Erc20Session) Transfer

func (_Erc20 *Erc20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*Erc20Session) TransferFrom

func (_Erc20 *Erc20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*Erc20Session) TransferOwnership

func (_Erc20 *Erc20Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*Erc20Session) TransferRACAByOwner

func (_Erc20 *Erc20Session) TransferRACAByOwner(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferRACAByOwner is a paid mutator transaction binding the contract method 0x29d5dc42.

Solidity: function transferRACAByOwner(address _to, uint256 _amount) returns()

func (*Erc20Session) TreasuryWalletAddr

func (_Erc20 *Erc20Session) TreasuryWalletAddr() (common.Address, error)

TreasuryWalletAddr is a free data retrieval call binding the contract method 0xa5c30ec0.

Solidity: function treasuryWalletAddr() view returns(address)

type Erc20Transactor

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

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

func NewErc20Transactor

func NewErc20Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc20Transactor, error)

NewErc20Transactor creates a new write-only instance of Erc20, bound to a specific deployed contract.

func (*Erc20Transactor) AcceptOwnership

func (_Erc20 *Erc20Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*Erc20Transactor) Approve

func (_Erc20 *Erc20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*Erc20Transactor) Burn

func (_Erc20 *Erc20Transactor) Burn(opts *bind.TransactOpts, _from common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address _from, uint256 _amount) returns()

func (*Erc20Transactor) DecreaseAllowance

func (_Erc20 *Erc20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*Erc20Transactor) Delegate

func (_Erc20 *Erc20Transactor) Delegate(opts *bind.TransactOpts, delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*Erc20Transactor) DelegateBySig

func (_Erc20 *Erc20Transactor) DelegateBySig(opts *bind.TransactOpts, delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*Erc20Transactor) IncreaseAllowance

func (_Erc20 *Erc20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*Erc20Transactor) Mint

func (_Erc20 *Erc20Transactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _to, uint256 _amount) returns()

func (*Erc20Transactor) NominatePotentialOwner

func (_Erc20 *Erc20Transactor) NominatePotentialOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

NominatePotentialOwner is a paid mutator transaction binding the contract method 0x52c043c1.

Solidity: function nominatePotentialOwner(address newOwner) returns()

func (*Erc20Transactor) RenounceOwnership

func (_Erc20 *Erc20Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Erc20Transactor) Transfer

func (_Erc20 *Erc20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*Erc20Transactor) TransferFrom

func (_Erc20 *Erc20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*Erc20Transactor) TransferOwnership

func (_Erc20 *Erc20Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*Erc20Transactor) TransferRACAByOwner

func (_Erc20 *Erc20Transactor) TransferRACAByOwner(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferRACAByOwner is a paid mutator transaction binding the contract method 0x29d5dc42.

Solidity: function transferRACAByOwner(address _to, uint256 _amount) returns()

type Erc20TransactorRaw

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

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

func (*Erc20TransactorRaw) Transact

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

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

func (*Erc20TransactorRaw) Transfer

func (_Erc20 *Erc20TransactorRaw) 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 Erc20TransactorSession

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

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

func (*Erc20TransactorSession) AcceptOwnership

func (_Erc20 *Erc20TransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*Erc20TransactorSession) Approve

func (_Erc20 *Erc20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*Erc20TransactorSession) Burn

func (_Erc20 *Erc20TransactorSession) Burn(_from common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address _from, uint256 _amount) returns()

func (*Erc20TransactorSession) DecreaseAllowance

func (_Erc20 *Erc20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*Erc20TransactorSession) Delegate

func (_Erc20 *Erc20TransactorSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*Erc20TransactorSession) DelegateBySig

func (_Erc20 *Erc20TransactorSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*Erc20TransactorSession) IncreaseAllowance

func (_Erc20 *Erc20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*Erc20TransactorSession) Mint

func (_Erc20 *Erc20TransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _to, uint256 _amount) returns()

func (*Erc20TransactorSession) NominatePotentialOwner

func (_Erc20 *Erc20TransactorSession) NominatePotentialOwner(newOwner common.Address) (*types.Transaction, error)

NominatePotentialOwner is a paid mutator transaction binding the contract method 0x52c043c1.

Solidity: function nominatePotentialOwner(address newOwner) returns()

func (*Erc20TransactorSession) RenounceOwnership

func (_Erc20 *Erc20TransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Erc20TransactorSession) Transfer

func (_Erc20 *Erc20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*Erc20TransactorSession) TransferFrom

func (_Erc20 *Erc20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*Erc20TransactorSession) TransferOwnership

func (_Erc20 *Erc20TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*Erc20TransactorSession) TransferRACAByOwner

func (_Erc20 *Erc20TransactorSession) TransferRACAByOwner(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TransferRACAByOwner is a paid mutator transaction binding the contract method 0x29d5dc42.

Solidity: function transferRACAByOwner(address _to, uint256 _amount) returns()

type Erc20Transfer

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

Erc20Transfer represents a Transfer event raised by the Erc20 contract.

type Erc20TransferIterator

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

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

func (*Erc20TransferIterator) Close

func (it *Erc20TransferIterator) Close() error

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

func (*Erc20TransferIterator) Error

func (it *Erc20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20TransferIterator) Next

func (it *Erc20TransferIterator) 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 Erc721

type Erc721 struct {
	Erc721Caller     // Read-only binding to the contract
	Erc721Transactor // Write-only binding to the contract
	Erc721Filterer   // Log filterer for contract events
}

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

func NewErc721

func NewErc721(address common.Address, backend bind.ContractBackend) (*Erc721, error)

NewErc721 creates a new instance of Erc721, bound to a specific deployed contract.

type Erc721Approval

type Erc721Approval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

Erc721Approval represents a Approval event raised by the Erc721 contract.

type Erc721ApprovalForAll

type Erc721ApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

Erc721ApprovalForAll represents a ApprovalForAll event raised by the Erc721 contract.

type Erc721ApprovalForAllIterator

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

Erc721ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Erc721 contract.

func (*Erc721ApprovalForAllIterator) Close

func (it *Erc721ApprovalForAllIterator) Close() error

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

func (*Erc721ApprovalForAllIterator) Error

func (it *Erc721ApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*Erc721ApprovalIterator) Close

func (it *Erc721ApprovalIterator) Close() error

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

func (*Erc721ApprovalIterator) Error

func (it *Erc721ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721ApprovalIterator) Next

func (it *Erc721ApprovalIterator) 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 Erc721Caller

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

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

func NewErc721Caller

func NewErc721Caller(address common.Address, caller bind.ContractCaller) (*Erc721Caller, error)

NewErc721Caller creates a new read-only instance of Erc721, bound to a specific deployed contract.

func (*Erc721Caller) BalanceOf

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

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

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

func (*Erc721Caller) BaseURI

func (_Erc721 *Erc721Caller) BaseURI(opts *bind.CallOpts) (string, error)

BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.

Solidity: function baseURI() view returns(string)

func (*Erc721Caller) Exists

func (_Erc721 *Erc721Caller) Exists(opts *bind.CallOpts, tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 tokenId) view returns(bool)

func (*Erc721Caller) GetApproved

func (_Erc721 *Erc721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*Erc721Caller) IsApprovedForAll

func (_Erc721 *Erc721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*Erc721Caller) Name

func (_Erc721 *Erc721Caller) 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 (*Erc721Caller) Owner

func (_Erc721 *Erc721Caller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Erc721Caller) OwnerOf

func (_Erc721 *Erc721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*Erc721Caller) Paused

func (_Erc721 *Erc721Caller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*Erc721Caller) PotentialOwner

func (_Erc721 *Erc721Caller) PotentialOwner(opts *bind.CallOpts) (common.Address, error)

PotentialOwner is a free data retrieval call binding the contract method 0x7762df25.

Solidity: function potentialOwner() view returns(address)

func (*Erc721Caller) SupportsInterface

func (_Erc721 *Erc721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*Erc721Caller) Symbol

func (_Erc721 *Erc721Caller) 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 (*Erc721Caller) TokenByIndex

func (_Erc721 *Erc721Caller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*Erc721Caller) TokenOfOwnerByIndex

func (_Erc721 *Erc721Caller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*Erc721Caller) TokenURI

func (_Erc721 *Erc721Caller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*Erc721Caller) TotalSupply

func (_Erc721 *Erc721Caller) 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 Erc721CallerRaw

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

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

func (*Erc721CallerRaw) Call

func (_Erc721 *Erc721CallerRaw) 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 Erc721CallerSession

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

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

func (*Erc721CallerSession) BalanceOf

func (_Erc721 *Erc721CallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*Erc721CallerSession) BaseURI

func (_Erc721 *Erc721CallerSession) BaseURI() (string, error)

BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.

Solidity: function baseURI() view returns(string)

func (*Erc721CallerSession) Exists

func (_Erc721 *Erc721CallerSession) Exists(tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 tokenId) view returns(bool)

func (*Erc721CallerSession) GetApproved

func (_Erc721 *Erc721CallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*Erc721CallerSession) IsApprovedForAll

func (_Erc721 *Erc721CallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*Erc721CallerSession) Name

func (_Erc721 *Erc721CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Erc721CallerSession) Owner

func (_Erc721 *Erc721CallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Erc721CallerSession) OwnerOf

func (_Erc721 *Erc721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*Erc721CallerSession) Paused

func (_Erc721 *Erc721CallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*Erc721CallerSession) PotentialOwner

func (_Erc721 *Erc721CallerSession) PotentialOwner() (common.Address, error)

PotentialOwner is a free data retrieval call binding the contract method 0x7762df25.

Solidity: function potentialOwner() view returns(address)

func (*Erc721CallerSession) SupportsInterface

func (_Erc721 *Erc721CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*Erc721CallerSession) Symbol

func (_Erc721 *Erc721CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Erc721CallerSession) TokenByIndex

func (_Erc721 *Erc721CallerSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*Erc721CallerSession) TokenOfOwnerByIndex

func (_Erc721 *Erc721CallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*Erc721CallerSession) TokenURI

func (_Erc721 *Erc721CallerSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*Erc721CallerSession) TotalSupply

func (_Erc721 *Erc721CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type Erc721Filterer

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

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

func NewErc721Filterer

func NewErc721Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc721Filterer, error)

NewErc721Filterer creates a new log filterer instance of Erc721, bound to a specific deployed contract.

func (*Erc721Filterer) FilterApproval

func (_Erc721 *Erc721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*Erc721ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*Erc721Filterer) FilterApprovalForAll

func (_Erc721 *Erc721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*Erc721ApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*Erc721Filterer) FilterOwnerNominated

func (_Erc721 *Erc721Filterer) FilterOwnerNominated(opts *bind.FilterOpts) (*Erc721OwnerNominatedIterator, error)

FilterOwnerNominated is a free log retrieval operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address potentialOwner)

func (*Erc721Filterer) FilterOwnershipTransferred

func (_Erc721 *Erc721Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*Erc721OwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*Erc721Filterer) FilterPaused

func (_Erc721 *Erc721Filterer) FilterPaused(opts *bind.FilterOpts) (*Erc721PausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*Erc721Filterer) FilterTransfer

func (_Erc721 *Erc721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*Erc721TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*Erc721Filterer) FilterUnpaused

func (_Erc721 *Erc721Filterer) FilterUnpaused(opts *bind.FilterOpts) (*Erc721UnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*Erc721Filterer) ParseApproval

func (_Erc721 *Erc721Filterer) ParseApproval(log types.Log) (*Erc721Approval, error)

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

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*Erc721Filterer) ParseApprovalForAll

func (_Erc721 *Erc721Filterer) ParseApprovalForAll(log types.Log) (*Erc721ApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*Erc721Filterer) ParseOwnerNominated

func (_Erc721 *Erc721Filterer) ParseOwnerNominated(log types.Log) (*Erc721OwnerNominated, error)

ParseOwnerNominated is a log parse operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address potentialOwner)

func (*Erc721Filterer) ParseOwnershipTransferred

func (_Erc721 *Erc721Filterer) ParseOwnershipTransferred(log types.Log) (*Erc721OwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*Erc721Filterer) ParsePaused

func (_Erc721 *Erc721Filterer) ParsePaused(log types.Log) (*Erc721Paused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*Erc721Filterer) ParseTransfer

func (_Erc721 *Erc721Filterer) ParseTransfer(log types.Log) (*Erc721Transfer, error)

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

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

func (*Erc721Filterer) ParseUnpaused

func (_Erc721 *Erc721Filterer) ParseUnpaused(log types.Log) (*Erc721Unpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*Erc721Filterer) WatchApproval

func (_Erc721 *Erc721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc721Approval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*Erc721Filterer) WatchApprovalForAll

func (_Erc721 *Erc721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Erc721ApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*Erc721Filterer) WatchOwnerNominated

func (_Erc721 *Erc721Filterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *Erc721OwnerNominated) (event.Subscription, error)

WatchOwnerNominated is a free log subscription operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address potentialOwner)

func (*Erc721Filterer) WatchOwnershipTransferred

func (_Erc721 *Erc721Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *Erc721OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*Erc721Filterer) WatchPaused

func (_Erc721 *Erc721Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *Erc721Paused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*Erc721Filterer) WatchTransfer

func (_Erc721 *Erc721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc721Transfer, from []common.Address, to []common.Address, tokenId []*big.Int) (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 indexed tokenId)

func (*Erc721Filterer) WatchUnpaused

func (_Erc721 *Erc721Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *Erc721Unpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type Erc721OwnerNominated

type Erc721OwnerNominated struct {
	PotentialOwner common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

Erc721OwnerNominated represents a OwnerNominated event raised by the Erc721 contract.

type Erc721OwnerNominatedIterator

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

Erc721OwnerNominatedIterator is returned from FilterOwnerNominated and is used to iterate over the raw logs and unpacked data for OwnerNominated events raised by the Erc721 contract.

func (*Erc721OwnerNominatedIterator) Close

func (it *Erc721OwnerNominatedIterator) Close() error

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

func (*Erc721OwnerNominatedIterator) Error

func (it *Erc721OwnerNominatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

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

type Erc721OwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

Erc721OwnershipTransferred represents a OwnershipTransferred event raised by the Erc721 contract.

type Erc721OwnershipTransferredIterator

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

Erc721OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Erc721 contract.

func (*Erc721OwnershipTransferredIterator) Close

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

func (*Erc721OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type Erc721Paused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

Erc721Paused represents a Paused event raised by the Erc721 contract.

type Erc721PausedIterator

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

Erc721PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Erc721 contract.

func (*Erc721PausedIterator) Close

func (it *Erc721PausedIterator) Close() error

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

func (*Erc721PausedIterator) Error

func (it *Erc721PausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721PausedIterator) Next

func (it *Erc721PausedIterator) 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 Erc721Raw

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

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

func (*Erc721Raw) Call

func (_Erc721 *Erc721Raw) 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 (*Erc721Raw) Transact

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

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

func (*Erc721Raw) Transfer

func (_Erc721 *Erc721Raw) 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 Erc721Session

type Erc721Session struct {
	Contract     *Erc721           // 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
}

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

func (*Erc721Session) AcceptOwnership

func (_Erc721 *Erc721Session) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*Erc721Session) Approve

func (_Erc721 *Erc721Session) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*Erc721Session) BalanceOf

func (_Erc721 *Erc721Session) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*Erc721Session) BaseURI

func (_Erc721 *Erc721Session) BaseURI() (string, error)

BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.

Solidity: function baseURI() view returns(string)

func (*Erc721Session) BatchMint

func (_Erc721 *Erc721Session) BatchMint(to common.Address, fromTokenId *big.Int, toTokenId *big.Int) (*types.Transaction, error)

BatchMint is a paid mutator transaction binding the contract method 0x2a959b89.

Solidity: function batchMint(address to, uint256 fromTokenId, uint256 toTokenId) returns()

func (*Erc721Session) BatchSafeMint

func (_Erc721 *Erc721Session) BatchSafeMint(to common.Address, fromTokenId *big.Int, toTokenId *big.Int) (*types.Transaction, error)

BatchSafeMint is a paid mutator transaction binding the contract method 0x91583b7e.

Solidity: function batchSafeMint(address to, uint256 fromTokenId, uint256 toTokenId) returns()

func (*Erc721Session) BatchSafeTransferFrom

func (_Erc721 *Erc721Session) BatchSafeTransferFrom(from common.Address, to common.Address, beginTokenId *big.Int, endTokenId *big.Int) (*types.Transaction, error)

BatchSafeTransferFrom is a paid mutator transaction binding the contract method 0x29dc1102.

Solidity: function batchSafeTransferFrom(address from, address to, uint256 beginTokenId, uint256 endTokenId) returns()

func (*Erc721Session) BatchTransferFrom

func (_Erc721 *Erc721Session) BatchTransferFrom(from common.Address, to common.Address, beginTokenId *big.Int, endTokenId *big.Int) (*types.Transaction, error)

BatchTransferFrom is a paid mutator transaction binding the contract method 0xd9b3c801.

Solidity: function batchTransferFrom(address from, address to, uint256 beginTokenId, uint256 endTokenId) returns()

func (*Erc721Session) Burn

func (_Erc721 *Erc721Session) Burn(tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenId) returns()

func (*Erc721Session) Exists

func (_Erc721 *Erc721Session) Exists(tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(uint256 tokenId) view returns(bool)

func (*Erc721Session) GetApproved

func (_Erc721 *Erc721Session) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*Erc721Session) IsApprovedForAll

func (_Erc721 *Erc721Session) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*Erc721Session) Mint

func (_Erc721 *Erc721Session) Mint(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 tokenId) returns()

func (*Erc721Session) Name

func (_Erc721 *Erc721Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Erc721Session) NominatePotentialOwner

func (_Erc721 *Erc721Session) NominatePotentialOwner(newOwner common.Address) (*types.Transaction, error)

NominatePotentialOwner is a paid mutator transaction binding the contract method 0x52c043c1.

Solidity: function nominatePotentialOwner(address newOwner) returns()

func (*Erc721Session) Owner

func (_Erc721 *Erc721Session) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*Erc721Session) OwnerOf

func (_Erc721 *Erc721Session) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*Erc721Session) Pause

func (_Erc721 *Erc721Session) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*Erc721Session) Paused

func (_Erc721 *Erc721Session) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*Erc721Session) PotentialOwner

func (_Erc721 *Erc721Session) PotentialOwner() (common.Address, error)

PotentialOwner is a free data retrieval call binding the contract method 0x7762df25.

Solidity: function potentialOwner() view returns(address)

func (*Erc721Session) RenounceOwnership

func (_Erc721 *Erc721Session) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Erc721Session) SafeMint

func (_Erc721 *Erc721Session) SafeMint(to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeMint is a paid mutator transaction binding the contract method 0x8832e6e3.

Solidity: function safeMint(address to, uint256 tokenId, bytes _data) returns()

func (*Erc721Session) SafeMint0

func (_Erc721 *Erc721Session) SafeMint0(to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeMint0 is a paid mutator transaction binding the contract method 0xa1448194.

Solidity: function safeMint(address to, uint256 tokenId) returns()

func (*Erc721Session) SafeTransferFrom

func (_Erc721 *Erc721Session) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*Erc721Session) SafeTransferFrom0

func (_Erc721 *Erc721Session) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*Erc721Session) SetApprovalForAll

func (_Erc721 *Erc721Session) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*Erc721Session) SetBaseURI

func (_Erc721 *Erc721Session) SetBaseURI(newBaseTokenURI string) (*types.Transaction, error)

SetBaseURI is a paid mutator transaction binding the contract method 0x55f804b3.

Solidity: function setBaseURI(string newBaseTokenURI) returns()

func (*Erc721Session) SupportsInterface

func (_Erc721 *Erc721Session) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*Erc721Session) Symbol

func (_Erc721 *Erc721Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Erc721Session) TokenByIndex

func (_Erc721 *Erc721Session) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*Erc721Session) TokenOfOwnerByIndex

func (_Erc721 *Erc721Session) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*Erc721Session) TokenURI

func (_Erc721 *Erc721Session) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*Erc721Session) TotalSupply

func (_Erc721 *Erc721Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*Erc721Session) TransferFrom

func (_Erc721 *Erc721Session) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*Erc721Session) TransferOwnership

func (_Erc721 *Erc721Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*Erc721Session) Unpause

func (_Erc721 *Erc721Session) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type Erc721Transactor

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

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

func NewErc721Transactor

func NewErc721Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc721Transactor, error)

NewErc721Transactor creates a new write-only instance of Erc721, bound to a specific deployed contract.

func (*Erc721Transactor) AcceptOwnership

func (_Erc721 *Erc721Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*Erc721Transactor) Approve

func (_Erc721 *Erc721Transactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*Erc721Transactor) BatchMint

func (_Erc721 *Erc721Transactor) BatchMint(opts *bind.TransactOpts, to common.Address, fromTokenId *big.Int, toTokenId *big.Int) (*types.Transaction, error)

BatchMint is a paid mutator transaction binding the contract method 0x2a959b89.

Solidity: function batchMint(address to, uint256 fromTokenId, uint256 toTokenId) returns()

func (*Erc721Transactor) BatchSafeMint

func (_Erc721 *Erc721Transactor) BatchSafeMint(opts *bind.TransactOpts, to common.Address, fromTokenId *big.Int, toTokenId *big.Int) (*types.Transaction, error)

BatchSafeMint is a paid mutator transaction binding the contract method 0x91583b7e.

Solidity: function batchSafeMint(address to, uint256 fromTokenId, uint256 toTokenId) returns()

func (*Erc721Transactor) BatchSafeTransferFrom

func (_Erc721 *Erc721Transactor) BatchSafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, beginTokenId *big.Int, endTokenId *big.Int) (*types.Transaction, error)

BatchSafeTransferFrom is a paid mutator transaction binding the contract method 0x29dc1102.

Solidity: function batchSafeTransferFrom(address from, address to, uint256 beginTokenId, uint256 endTokenId) returns()

func (*Erc721Transactor) BatchTransferFrom

func (_Erc721 *Erc721Transactor) BatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, beginTokenId *big.Int, endTokenId *big.Int) (*types.Transaction, error)

BatchTransferFrom is a paid mutator transaction binding the contract method 0xd9b3c801.

Solidity: function batchTransferFrom(address from, address to, uint256 beginTokenId, uint256 endTokenId) returns()

func (*Erc721Transactor) Burn

func (_Erc721 *Erc721Transactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenId) returns()

func (*Erc721Transactor) Mint

func (_Erc721 *Erc721Transactor) Mint(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 tokenId) returns()

func (*Erc721Transactor) NominatePotentialOwner

func (_Erc721 *Erc721Transactor) NominatePotentialOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

NominatePotentialOwner is a paid mutator transaction binding the contract method 0x52c043c1.

Solidity: function nominatePotentialOwner(address newOwner) returns()

func (*Erc721Transactor) Pause

func (_Erc721 *Erc721Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*Erc721Transactor) RenounceOwnership

func (_Erc721 *Erc721Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Erc721Transactor) SafeMint

func (_Erc721 *Erc721Transactor) SafeMint(opts *bind.TransactOpts, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeMint is a paid mutator transaction binding the contract method 0x8832e6e3.

Solidity: function safeMint(address to, uint256 tokenId, bytes _data) returns()

func (*Erc721Transactor) SafeMint0

func (_Erc721 *Erc721Transactor) SafeMint0(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeMint0 is a paid mutator transaction binding the contract method 0xa1448194.

Solidity: function safeMint(address to, uint256 tokenId) returns()

func (*Erc721Transactor) SafeTransferFrom

func (_Erc721 *Erc721Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*Erc721Transactor) SafeTransferFrom0

func (_Erc721 *Erc721Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*Erc721Transactor) SetApprovalForAll

func (_Erc721 *Erc721Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*Erc721Transactor) SetBaseURI

func (_Erc721 *Erc721Transactor) SetBaseURI(opts *bind.TransactOpts, newBaseTokenURI string) (*types.Transaction, error)

SetBaseURI is a paid mutator transaction binding the contract method 0x55f804b3.

Solidity: function setBaseURI(string newBaseTokenURI) returns()

func (*Erc721Transactor) TransferFrom

func (_Erc721 *Erc721Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*Erc721Transactor) TransferOwnership

func (_Erc721 *Erc721Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*Erc721Transactor) Unpause

func (_Erc721 *Erc721Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type Erc721TransactorRaw

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

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

func (*Erc721TransactorRaw) Transact

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

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

func (*Erc721TransactorRaw) Transfer

func (_Erc721 *Erc721TransactorRaw) 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 Erc721TransactorSession

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

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

func (*Erc721TransactorSession) AcceptOwnership

func (_Erc721 *Erc721TransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*Erc721TransactorSession) Approve

func (_Erc721 *Erc721TransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*Erc721TransactorSession) BatchMint

func (_Erc721 *Erc721TransactorSession) BatchMint(to common.Address, fromTokenId *big.Int, toTokenId *big.Int) (*types.Transaction, error)

BatchMint is a paid mutator transaction binding the contract method 0x2a959b89.

Solidity: function batchMint(address to, uint256 fromTokenId, uint256 toTokenId) returns()

func (*Erc721TransactorSession) BatchSafeMint

func (_Erc721 *Erc721TransactorSession) BatchSafeMint(to common.Address, fromTokenId *big.Int, toTokenId *big.Int) (*types.Transaction, error)

BatchSafeMint is a paid mutator transaction binding the contract method 0x91583b7e.

Solidity: function batchSafeMint(address to, uint256 fromTokenId, uint256 toTokenId) returns()

func (*Erc721TransactorSession) BatchSafeTransferFrom

func (_Erc721 *Erc721TransactorSession) BatchSafeTransferFrom(from common.Address, to common.Address, beginTokenId *big.Int, endTokenId *big.Int) (*types.Transaction, error)

BatchSafeTransferFrom is a paid mutator transaction binding the contract method 0x29dc1102.

Solidity: function batchSafeTransferFrom(address from, address to, uint256 beginTokenId, uint256 endTokenId) returns()

func (*Erc721TransactorSession) BatchTransferFrom

func (_Erc721 *Erc721TransactorSession) BatchTransferFrom(from common.Address, to common.Address, beginTokenId *big.Int, endTokenId *big.Int) (*types.Transaction, error)

BatchTransferFrom is a paid mutator transaction binding the contract method 0xd9b3c801.

Solidity: function batchTransferFrom(address from, address to, uint256 beginTokenId, uint256 endTokenId) returns()

func (*Erc721TransactorSession) Burn

func (_Erc721 *Erc721TransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenId) returns()

func (*Erc721TransactorSession) Mint

func (_Erc721 *Erc721TransactorSession) Mint(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to, uint256 tokenId) returns()

func (*Erc721TransactorSession) NominatePotentialOwner

func (_Erc721 *Erc721TransactorSession) NominatePotentialOwner(newOwner common.Address) (*types.Transaction, error)

NominatePotentialOwner is a paid mutator transaction binding the contract method 0x52c043c1.

Solidity: function nominatePotentialOwner(address newOwner) returns()

func (*Erc721TransactorSession) Pause

func (_Erc721 *Erc721TransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*Erc721TransactorSession) RenounceOwnership

func (_Erc721 *Erc721TransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*Erc721TransactorSession) SafeMint

func (_Erc721 *Erc721TransactorSession) SafeMint(to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeMint is a paid mutator transaction binding the contract method 0x8832e6e3.

Solidity: function safeMint(address to, uint256 tokenId, bytes _data) returns()

func (*Erc721TransactorSession) SafeMint0

func (_Erc721 *Erc721TransactorSession) SafeMint0(to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeMint0 is a paid mutator transaction binding the contract method 0xa1448194.

Solidity: function safeMint(address to, uint256 tokenId) returns()

func (*Erc721TransactorSession) SafeTransferFrom

func (_Erc721 *Erc721TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*Erc721TransactorSession) SafeTransferFrom0

func (_Erc721 *Erc721TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*Erc721TransactorSession) SetApprovalForAll

func (_Erc721 *Erc721TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*Erc721TransactorSession) SetBaseURI

func (_Erc721 *Erc721TransactorSession) SetBaseURI(newBaseTokenURI string) (*types.Transaction, error)

SetBaseURI is a paid mutator transaction binding the contract method 0x55f804b3.

Solidity: function setBaseURI(string newBaseTokenURI) returns()

func (*Erc721TransactorSession) TransferFrom

func (_Erc721 *Erc721TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*Erc721TransactorSession) TransferOwnership

func (_Erc721 *Erc721TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*Erc721TransactorSession) Unpause

func (_Erc721 *Erc721TransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type Erc721Transfer

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

Erc721Transfer represents a Transfer event raised by the Erc721 contract.

type Erc721TransferIterator

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

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

func (*Erc721TransferIterator) Close

func (it *Erc721TransferIterator) Close() error

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

func (*Erc721TransferIterator) Error

func (it *Erc721TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721TransferIterator) Next

func (it *Erc721TransferIterator) 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 Erc721Unpaused

type Erc721Unpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

Erc721Unpaused represents a Unpaused event raised by the Erc721 contract.

type Erc721UnpausedIterator

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

Erc721UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Erc721 contract.

func (*Erc721UnpausedIterator) Close

func (it *Erc721UnpausedIterator) Close() error

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

func (*Erc721UnpausedIterator) Error

func (it *Erc721UnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc721UnpausedIterator) Next

func (it *Erc721UnpausedIterator) 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 UniswapFactory

type UniswapFactory struct {
	UniswapFactoryCaller     // Read-only binding to the contract
	UniswapFactoryTransactor // Write-only binding to the contract
	UniswapFactoryFilterer   // Log filterer for contract events
}

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

func NewUniswapFactory

func NewUniswapFactory(address common.Address, backend bind.ContractBackend) (*UniswapFactory, error)

NewUniswapFactory creates a new instance of UniswapFactory, bound to a specific deployed contract.

type UniswapFactoryCaller

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

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

func NewUniswapFactoryCaller

func NewUniswapFactoryCaller(address common.Address, caller bind.ContractCaller) (*UniswapFactoryCaller, error)

NewUniswapFactoryCaller creates a new read-only instance of UniswapFactory, bound to a specific deployed contract.

func (*UniswapFactoryCaller) AllPairs

func (_UniswapFactory *UniswapFactoryCaller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*UniswapFactoryCaller) AllPairsLength

func (_UniswapFactory *UniswapFactoryCaller) AllPairsLength(opts *bind.CallOpts) (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*UniswapFactoryCaller) FeeTo

func (_UniswapFactory *UniswapFactoryCaller) FeeTo(opts *bind.CallOpts) (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*UniswapFactoryCaller) FeeToSetter

func (_UniswapFactory *UniswapFactoryCaller) FeeToSetter(opts *bind.CallOpts) (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*UniswapFactoryCaller) GetPair

func (_UniswapFactory *UniswapFactoryCaller) GetPair(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

func (*UniswapFactoryCaller) INITCODEPAIRHASH

func (_UniswapFactory *UniswapFactoryCaller) INITCODEPAIRHASH(opts *bind.CallOpts) ([32]byte, error)

INITCODEPAIRHASH is a free data retrieval call binding the contract method 0x5855a25a.

Solidity: function INIT_CODE_PAIR_HASH() view returns(bytes32)

type UniswapFactoryCallerRaw

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

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

func (*UniswapFactoryCallerRaw) Call

func (_UniswapFactory *UniswapFactoryCallerRaw) 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 UniswapFactoryCallerSession

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

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

func (*UniswapFactoryCallerSession) AllPairs

func (_UniswapFactory *UniswapFactoryCallerSession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*UniswapFactoryCallerSession) AllPairsLength

func (_UniswapFactory *UniswapFactoryCallerSession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*UniswapFactoryCallerSession) FeeTo

func (_UniswapFactory *UniswapFactoryCallerSession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*UniswapFactoryCallerSession) FeeToSetter

func (_UniswapFactory *UniswapFactoryCallerSession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*UniswapFactoryCallerSession) GetPair

func (_UniswapFactory *UniswapFactoryCallerSession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

func (*UniswapFactoryCallerSession) INITCODEPAIRHASH

func (_UniswapFactory *UniswapFactoryCallerSession) INITCODEPAIRHASH() ([32]byte, error)

INITCODEPAIRHASH is a free data retrieval call binding the contract method 0x5855a25a.

Solidity: function INIT_CODE_PAIR_HASH() view returns(bytes32)

type UniswapFactoryFilterer

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

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

func NewUniswapFactoryFilterer

func NewUniswapFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*UniswapFactoryFilterer, error)

NewUniswapFactoryFilterer creates a new log filterer instance of UniswapFactory, bound to a specific deployed contract.

func (*UniswapFactoryFilterer) FilterPairCreated

func (_UniswapFactory *UniswapFactoryFilterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*UniswapFactoryPairCreatedIterator, error)

FilterPairCreated is a free log retrieval operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*UniswapFactoryFilterer) ParsePairCreated

func (_UniswapFactory *UniswapFactoryFilterer) ParsePairCreated(log types.Log) (*UniswapFactoryPairCreated, error)

ParsePairCreated is a log parse operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*UniswapFactoryFilterer) WatchPairCreated

func (_UniswapFactory *UniswapFactoryFilterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *UniswapFactoryPairCreated, token0 []common.Address, token1 []common.Address) (event.Subscription, error)

WatchPairCreated is a free log subscription operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

type UniswapFactoryPairCreated

type UniswapFactoryPairCreated struct {
	Token0 common.Address
	Token1 common.Address
	Pair   common.Address
	Arg3   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

UniswapFactoryPairCreated represents a PairCreated event raised by the UniswapFactory contract.

type UniswapFactoryPairCreatedIterator

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

UniswapFactoryPairCreatedIterator is returned from FilterPairCreated and is used to iterate over the raw logs and unpacked data for PairCreated events raised by the UniswapFactory contract.

func (*UniswapFactoryPairCreatedIterator) Close

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

func (*UniswapFactoryPairCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*UniswapFactoryRaw) Call

func (_UniswapFactory *UniswapFactoryRaw) 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 (*UniswapFactoryRaw) Transact

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

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

func (*UniswapFactoryRaw) Transfer

func (_UniswapFactory *UniswapFactoryRaw) 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 UniswapFactorySession

type UniswapFactorySession struct {
	Contract     *UniswapFactory   // 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
}

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

func (*UniswapFactorySession) AllPairs

func (_UniswapFactory *UniswapFactorySession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address)

func (*UniswapFactorySession) AllPairsLength

func (_UniswapFactory *UniswapFactorySession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*UniswapFactorySession) CreatePair

func (_UniswapFactory *UniswapFactorySession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*UniswapFactorySession) FeeTo

func (_UniswapFactory *UniswapFactorySession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*UniswapFactorySession) FeeToSetter

func (_UniswapFactory *UniswapFactorySession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*UniswapFactorySession) GetPair

func (_UniswapFactory *UniswapFactorySession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address , address ) view returns(address)

func (*UniswapFactorySession) INITCODEPAIRHASH

func (_UniswapFactory *UniswapFactorySession) INITCODEPAIRHASH() ([32]byte, error)

INITCODEPAIRHASH is a free data retrieval call binding the contract method 0x5855a25a.

Solidity: function INIT_CODE_PAIR_HASH() view returns(bytes32)

func (*UniswapFactorySession) SetFeeTo

func (_UniswapFactory *UniswapFactorySession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*UniswapFactorySession) SetFeeToSetter

func (_UniswapFactory *UniswapFactorySession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

type UniswapFactoryTransactor

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

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

func NewUniswapFactoryTransactor

func NewUniswapFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*UniswapFactoryTransactor, error)

NewUniswapFactoryTransactor creates a new write-only instance of UniswapFactory, bound to a specific deployed contract.

func (*UniswapFactoryTransactor) CreatePair

func (_UniswapFactory *UniswapFactoryTransactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*UniswapFactoryTransactor) SetFeeTo

func (_UniswapFactory *UniswapFactoryTransactor) SetFeeTo(opts *bind.TransactOpts, _feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*UniswapFactoryTransactor) SetFeeToSetter

func (_UniswapFactory *UniswapFactoryTransactor) SetFeeToSetter(opts *bind.TransactOpts, _feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

type UniswapFactoryTransactorRaw

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

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

func (*UniswapFactoryTransactorRaw) Transact

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

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

func (*UniswapFactoryTransactorRaw) Transfer

func (_UniswapFactory *UniswapFactoryTransactorRaw) 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 UniswapFactoryTransactorSession

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

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

func (*UniswapFactoryTransactorSession) CreatePair

func (_UniswapFactory *UniswapFactoryTransactorSession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*UniswapFactoryTransactorSession) SetFeeTo

func (_UniswapFactory *UniswapFactoryTransactorSession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address _feeTo) returns()

func (*UniswapFactoryTransactorSession) SetFeeToSetter

func (_UniswapFactory *UniswapFactoryTransactorSession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address _feeToSetter) returns()

type UniswapPair

type UniswapPair struct {
	UniswapPairCaller     // Read-only binding to the contract
	UniswapPairTransactor // Write-only binding to the contract
	UniswapPairFilterer   // Log filterer for contract events
}

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

func NewUniswapPair

func NewUniswapPair(address common.Address, backend bind.ContractBackend) (*UniswapPair, error)

NewUniswapPair creates a new instance of UniswapPair, bound to a specific deployed contract.

type UniswapPairApproval

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

UniswapPairApproval represents a Approval event raised by the UniswapPair contract.

type UniswapPairApprovalIterator

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

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

func (*UniswapPairApprovalIterator) Close

func (it *UniswapPairApprovalIterator) Close() error

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

func (*UniswapPairApprovalIterator) Error

func (it *UniswapPairApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapPairApprovalIterator) Next

func (it *UniswapPairApprovalIterator) 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 UniswapPairBurn

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

UniswapPairBurn represents a Burn event raised by the UniswapPair contract.

type UniswapPairBurnIterator

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

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

func (*UniswapPairBurnIterator) Close

func (it *UniswapPairBurnIterator) Close() error

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

func (*UniswapPairBurnIterator) Error

func (it *UniswapPairBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapPairBurnIterator) Next

func (it *UniswapPairBurnIterator) 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 UniswapPairCaller

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

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

func NewUniswapPairCaller

func NewUniswapPairCaller(address common.Address, caller bind.ContractCaller) (*UniswapPairCaller, error)

NewUniswapPairCaller creates a new read-only instance of UniswapPair, bound to a specific deployed contract.

func (*UniswapPairCaller) Allowance

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) BalanceOf

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) DOMAINSEPARATOR

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) Decimals

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) Factory

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) GetReserves

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) KLast

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) MINIMUMLIQUIDITY

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) Name

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) Nonces

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) PERMITTYPEHASH

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) Price0CumulativeLast

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) Price1CumulativeLast

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) Symbol

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) Token0

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) Token1

func (_UniswapPair *UniswapPairCaller) 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 (*UniswapPairCaller) TotalSupply

func (_UniswapPair *UniswapPairCaller) 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 UniswapPairCallerRaw

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

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

func (*UniswapPairCallerRaw) Call

func (_UniswapPair *UniswapPairCallerRaw) 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 UniswapPairCallerSession

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

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

func (*UniswapPairCallerSession) Allowance

func (_UniswapPair *UniswapPairCallerSession) 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 (*UniswapPairCallerSession) BalanceOf

func (_UniswapPair *UniswapPairCallerSession) 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 (*UniswapPairCallerSession) DOMAINSEPARATOR

func (_UniswapPair *UniswapPairCallerSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapPairCallerSession) Decimals

func (_UniswapPair *UniswapPairCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*UniswapPairCallerSession) Factory

func (_UniswapPair *UniswapPairCallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*UniswapPairCallerSession) GetReserves

func (_UniswapPair *UniswapPairCallerSession) 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 (*UniswapPairCallerSession) KLast

func (_UniswapPair *UniswapPairCallerSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*UniswapPairCallerSession) MINIMUMLIQUIDITY

func (_UniswapPair *UniswapPairCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*UniswapPairCallerSession) Name

func (_UniswapPair *UniswapPairCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*UniswapPairCallerSession) Nonces

func (_UniswapPair *UniswapPairCallerSession) 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 (*UniswapPairCallerSession) PERMITTYPEHASH

func (_UniswapPair *UniswapPairCallerSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapPairCallerSession) Price0CumulativeLast

func (_UniswapPair *UniswapPairCallerSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*UniswapPairCallerSession) Price1CumulativeLast

func (_UniswapPair *UniswapPairCallerSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*UniswapPairCallerSession) Symbol

func (_UniswapPair *UniswapPairCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*UniswapPairCallerSession) Token0

func (_UniswapPair *UniswapPairCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*UniswapPairCallerSession) Token1

func (_UniswapPair *UniswapPairCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*UniswapPairCallerSession) TotalSupply

func (_UniswapPair *UniswapPairCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type UniswapPairFilterer

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

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

func NewUniswapPairFilterer

func NewUniswapPairFilterer(address common.Address, filterer bind.ContractFilterer) (*UniswapPairFilterer, error)

NewUniswapPairFilterer creates a new log filterer instance of UniswapPair, bound to a specific deployed contract.

func (*UniswapPairFilterer) FilterApproval

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

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

func (_UniswapPair *UniswapPairFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*UniswapPairMintIterator, error)

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

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

func (*UniswapPairFilterer) FilterSwap

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

func (_UniswapPair *UniswapPairFilterer) FilterSync(opts *bind.FilterOpts) (*UniswapPairSyncIterator, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapPairFilterer) FilterTransfer

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

func (_UniswapPair *UniswapPairFilterer) ParseApproval(log types.Log) (*UniswapPairApproval, error)

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

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

func (*UniswapPairFilterer) ParseBurn

func (_UniswapPair *UniswapPairFilterer) ParseBurn(log types.Log) (*UniswapPairBurn, 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 (*UniswapPairFilterer) ParseMint

func (_UniswapPair *UniswapPairFilterer) ParseMint(log types.Log) (*UniswapPairMint, error)

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

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

func (*UniswapPairFilterer) ParseSwap

func (_UniswapPair *UniswapPairFilterer) ParseSwap(log types.Log) (*UniswapPairSwap, 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 (*UniswapPairFilterer) ParseSync

func (_UniswapPair *UniswapPairFilterer) ParseSync(log types.Log) (*UniswapPairSync, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapPairFilterer) ParseTransfer

func (_UniswapPair *UniswapPairFilterer) ParseTransfer(log types.Log) (*UniswapPairTransfer, error)

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

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

func (*UniswapPairFilterer) WatchApproval

func (_UniswapPair *UniswapPairFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *UniswapPairApproval, 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 (*UniswapPairFilterer) WatchBurn

func (_UniswapPair *UniswapPairFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *UniswapPairBurn, 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 (*UniswapPairFilterer) WatchMint

func (_UniswapPair *UniswapPairFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *UniswapPairMint, 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 (*UniswapPairFilterer) WatchSwap

func (_UniswapPair *UniswapPairFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *UniswapPairSwap, 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 (*UniswapPairFilterer) WatchSync

func (_UniswapPair *UniswapPairFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *UniswapPairSync) (event.Subscription, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*UniswapPairFilterer) WatchTransfer

func (_UniswapPair *UniswapPairFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *UniswapPairTransfer, 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 UniswapPairMint

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

UniswapPairMint represents a Mint event raised by the UniswapPair contract.

type UniswapPairMintIterator

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

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

func (*UniswapPairMintIterator) Close

func (it *UniswapPairMintIterator) Close() error

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

func (*UniswapPairMintIterator) Error

func (it *UniswapPairMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapPairMintIterator) Next

func (it *UniswapPairMintIterator) 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 UniswapPairRaw

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

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

func (*UniswapPairRaw) Call

func (_UniswapPair *UniswapPairRaw) 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 (*UniswapPairRaw) Transact

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

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

func (*UniswapPairRaw) Transfer

func (_UniswapPair *UniswapPairRaw) 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 UniswapPairSession

type UniswapPairSession struct {
	Contract     *UniswapPair      // 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
}

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

func (*UniswapPairSession) Allowance

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) Approve

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) BalanceOf

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) Burn

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) DOMAINSEPARATOR

func (_UniswapPair *UniswapPairSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*UniswapPairSession) Decimals

func (_UniswapPair *UniswapPairSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*UniswapPairSession) Factory

func (_UniswapPair *UniswapPairSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*UniswapPairSession) GetReserves

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) Initialize

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) KLast

func (_UniswapPair *UniswapPairSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*UniswapPairSession) MINIMUMLIQUIDITY

func (_UniswapPair *UniswapPairSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*UniswapPairSession) Mint

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) Name

func (_UniswapPair *UniswapPairSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*UniswapPairSession) Nonces

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) PERMITTYPEHASH

func (_UniswapPair *UniswapPairSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*UniswapPairSession) Permit

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) Price0CumulativeLast

func (_UniswapPair *UniswapPairSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*UniswapPairSession) Price1CumulativeLast

func (_UniswapPair *UniswapPairSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*UniswapPairSession) Skim

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) Swap

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) Symbol

func (_UniswapPair *UniswapPairSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*UniswapPairSession) Sync

func (_UniswapPair *UniswapPairSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*UniswapPairSession) Token0

func (_UniswapPair *UniswapPairSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*UniswapPairSession) Token1

func (_UniswapPair *UniswapPairSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*UniswapPairSession) TotalSupply

func (_UniswapPair *UniswapPairSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*UniswapPairSession) Transfer

func (_UniswapPair *UniswapPairSession) 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 (*UniswapPairSession) TransferFrom

func (_UniswapPair *UniswapPairSession) 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 UniswapPairSwap

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

UniswapPairSwap represents a Swap event raised by the UniswapPair contract.

type UniswapPairSwapIterator

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

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

func (*UniswapPairSwapIterator) Close

func (it *UniswapPairSwapIterator) Close() error

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

func (*UniswapPairSwapIterator) Error

func (it *UniswapPairSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapPairSwapIterator) Next

func (it *UniswapPairSwapIterator) 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 UniswapPairSync

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

UniswapPairSync represents a Sync event raised by the UniswapPair contract.

type UniswapPairSyncIterator

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

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

func (*UniswapPairSyncIterator) Close

func (it *UniswapPairSyncIterator) Close() error

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

func (*UniswapPairSyncIterator) Error

func (it *UniswapPairSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapPairSyncIterator) Next

func (it *UniswapPairSyncIterator) 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 UniswapPairTransactor

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

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

func NewUniswapPairTransactor

func NewUniswapPairTransactor(address common.Address, transactor bind.ContractTransactor) (*UniswapPairTransactor, error)

NewUniswapPairTransactor creates a new write-only instance of UniswapPair, bound to a specific deployed contract.

func (*UniswapPairTransactor) Approve

func (_UniswapPair *UniswapPairTransactor) 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 (*UniswapPairTransactor) Burn

func (_UniswapPair *UniswapPairTransactor) 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 (*UniswapPairTransactor) Initialize

func (_UniswapPair *UniswapPairTransactor) 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 (*UniswapPairTransactor) Mint

func (_UniswapPair *UniswapPairTransactor) 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 (*UniswapPairTransactor) Permit

func (_UniswapPair *UniswapPairTransactor) 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 (*UniswapPairTransactor) Skim

func (_UniswapPair *UniswapPairTransactor) 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 (*UniswapPairTransactor) Swap

func (_UniswapPair *UniswapPairTransactor) 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 (*UniswapPairTransactor) Sync

func (_UniswapPair *UniswapPairTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*UniswapPairTransactor) Transfer

func (_UniswapPair *UniswapPairTransactor) 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 (*UniswapPairTransactor) TransferFrom

func (_UniswapPair *UniswapPairTransactor) 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 UniswapPairTransactorRaw

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

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

func (*UniswapPairTransactorRaw) Transact

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

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

func (*UniswapPairTransactorRaw) Transfer

func (_UniswapPair *UniswapPairTransactorRaw) 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 UniswapPairTransactorSession

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

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

func (*UniswapPairTransactorSession) Approve

func (_UniswapPair *UniswapPairTransactorSession) 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 (*UniswapPairTransactorSession) Burn

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

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

func (*UniswapPairTransactorSession) Initialize

func (_UniswapPair *UniswapPairTransactorSession) 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 (*UniswapPairTransactorSession) Mint

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

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

func (*UniswapPairTransactorSession) Permit

func (_UniswapPair *UniswapPairTransactorSession) 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 (*UniswapPairTransactorSession) Skim

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

Solidity: function skim(address to) returns()

func (*UniswapPairTransactorSession) Swap

func (_UniswapPair *UniswapPairTransactorSession) 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 (*UniswapPairTransactorSession) Sync

func (_UniswapPair *UniswapPairTransactorSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*UniswapPairTransactorSession) Transfer

func (_UniswapPair *UniswapPairTransactorSession) 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 (*UniswapPairTransactorSession) TransferFrom

func (_UniswapPair *UniswapPairTransactorSession) 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 UniswapPairTransfer

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

UniswapPairTransfer represents a Transfer event raised by the UniswapPair contract.

type UniswapPairTransferIterator

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

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

func (*UniswapPairTransferIterator) Close

func (it *UniswapPairTransferIterator) Close() error

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

func (*UniswapPairTransferIterator) Error

func (it *UniswapPairTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*UniswapPairTransferIterator) Next

func (it *UniswapPairTransferIterator) 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 UniswapRouter

type UniswapRouter struct {
	UniswapRouterCaller     // Read-only binding to the contract
	UniswapRouterTransactor // Write-only binding to the contract
	UniswapRouterFilterer   // Log filterer for contract events
}

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

func NewUniswapRouter

func NewUniswapRouter(address common.Address, backend bind.ContractBackend) (*UniswapRouter, error)

NewUniswapRouter creates a new instance of UniswapRouter, bound to a specific deployed contract.

type UniswapRouterCaller

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

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

func NewUniswapRouterCaller

func NewUniswapRouterCaller(address common.Address, caller bind.ContractCaller) (*UniswapRouterCaller, error)

NewUniswapRouterCaller creates a new read-only instance of UniswapRouter, bound to a specific deployed contract.

func (*UniswapRouterCaller) Factory

func (_UniswapRouter *UniswapRouterCaller) 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 (*UniswapRouterCaller) GetAmountIn

func (_UniswapRouter *UniswapRouterCaller) GetAmountIn(opts *bind.CallOpts, amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*UniswapRouterCaller) GetAmountOut

func (_UniswapRouter *UniswapRouterCaller) GetAmountOut(opts *bind.CallOpts, amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*UniswapRouterCaller) GetAmountsIn

func (_UniswapRouter *UniswapRouterCaller) GetAmountsIn(opts *bind.CallOpts, amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*UniswapRouterCaller) GetAmountsOut

func (_UniswapRouter *UniswapRouterCaller) GetAmountsOut(opts *bind.CallOpts, amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*UniswapRouterCaller) Quote

func (_UniswapRouter *UniswapRouterCaller) Quote(opts *bind.CallOpts, amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*UniswapRouterCaller) WETH

func (_UniswapRouter *UniswapRouterCaller) WETH(opts *bind.CallOpts) (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type UniswapRouterCallerRaw

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

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

func (*UniswapRouterCallerRaw) Call

func (_UniswapRouter *UniswapRouterCallerRaw) 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 UniswapRouterCallerSession

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

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

func (*UniswapRouterCallerSession) Factory

func (_UniswapRouter *UniswapRouterCallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*UniswapRouterCallerSession) GetAmountIn

func (_UniswapRouter *UniswapRouterCallerSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*UniswapRouterCallerSession) GetAmountOut

func (_UniswapRouter *UniswapRouterCallerSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*UniswapRouterCallerSession) GetAmountsIn

func (_UniswapRouter *UniswapRouterCallerSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*UniswapRouterCallerSession) GetAmountsOut

func (_UniswapRouter *UniswapRouterCallerSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*UniswapRouterCallerSession) Quote

func (_UniswapRouter *UniswapRouterCallerSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*UniswapRouterCallerSession) WETH

func (_UniswapRouter *UniswapRouterCallerSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type UniswapRouterFilterer

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

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

func NewUniswapRouterFilterer

func NewUniswapRouterFilterer(address common.Address, filterer bind.ContractFilterer) (*UniswapRouterFilterer, error)

NewUniswapRouterFilterer creates a new log filterer instance of UniswapRouter, bound to a specific deployed contract.

type UniswapRouterRaw

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

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

func (*UniswapRouterRaw) Call

func (_UniswapRouter *UniswapRouterRaw) 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 (*UniswapRouterRaw) Transact

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

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

func (*UniswapRouterRaw) Transfer

func (_UniswapRouter *UniswapRouterRaw) 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 UniswapRouterSession

type UniswapRouterSession struct {
	Contract     *UniswapRouter    // 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
}

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

func (*UniswapRouterSession) AddLiquidity

func (_UniswapRouter *UniswapRouterSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*UniswapRouterSession) AddLiquidityETH

func (_UniswapRouter *UniswapRouterSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*UniswapRouterSession) Factory

func (_UniswapRouter *UniswapRouterSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*UniswapRouterSession) GetAmountIn

func (_UniswapRouter *UniswapRouterSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*UniswapRouterSession) GetAmountOut

func (_UniswapRouter *UniswapRouterSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*UniswapRouterSession) GetAmountsIn

func (_UniswapRouter *UniswapRouterSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)

func (*UniswapRouterSession) GetAmountsOut

func (_UniswapRouter *UniswapRouterSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)

func (*UniswapRouterSession) Quote

func (_UniswapRouter *UniswapRouterSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*UniswapRouterSession) Receive

func (_UniswapRouter *UniswapRouterSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*UniswapRouterSession) RemoveLiquidity

func (_UniswapRouter *UniswapRouterSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*UniswapRouterSession) RemoveLiquidityETH

func (_UniswapRouter *UniswapRouterSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapRouterSession) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterSession) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*UniswapRouterSession) RemoveLiquidityETHWithPermit

func (_UniswapRouter *UniswapRouterSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapRouterSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*UniswapRouterSession) RemoveLiquidityWithPermit

func (_UniswapRouter *UniswapRouterSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*UniswapRouterSession) SwapETHForExactTokens

func (_UniswapRouter *UniswapRouterSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapRouterSession) SwapExactETHForTokens

func (_UniswapRouter *UniswapRouterSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapRouterSession) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterSession) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*UniswapRouterSession) SwapExactTokensForETH

func (_UniswapRouter *UniswapRouterSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapRouterSession) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterSession) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapRouterSession) SwapExactTokensForTokens

func (_UniswapRouter *UniswapRouterSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapRouterSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapRouterSession) SwapTokensForExactETH

func (_UniswapRouter *UniswapRouterSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapRouterSession) SwapTokensForExactTokens

func (_UniswapRouter *UniswapRouterSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapRouterSession) WETH

func (_UniswapRouter *UniswapRouterSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() view returns(address)

type UniswapRouterTransactor

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

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

func NewUniswapRouterTransactor

func NewUniswapRouterTransactor(address common.Address, transactor bind.ContractTransactor) (*UniswapRouterTransactor, error)

NewUniswapRouterTransactor creates a new write-only instance of UniswapRouter, bound to a specific deployed contract.

func (*UniswapRouterTransactor) AddLiquidity

func (_UniswapRouter *UniswapRouterTransactor) AddLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*UniswapRouterTransactor) AddLiquidityETH

func (_UniswapRouter *UniswapRouterTransactor) AddLiquidityETH(opts *bind.TransactOpts, token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*UniswapRouterTransactor) Receive

func (_UniswapRouter *UniswapRouterTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*UniswapRouterTransactor) RemoveLiquidity

func (_UniswapRouter *UniswapRouterTransactor) RemoveLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*UniswapRouterTransactor) RemoveLiquidityETH

func (_UniswapRouter *UniswapRouterTransactor) RemoveLiquidityETH(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapRouterTransactor) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterTransactor) RemoveLiquidityETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*UniswapRouterTransactor) RemoveLiquidityETHWithPermit

func (_UniswapRouter *UniswapRouterTransactor) RemoveLiquidityETHWithPermit(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapRouterTransactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterTransactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*UniswapRouterTransactor) RemoveLiquidityWithPermit

func (_UniswapRouter *UniswapRouterTransactor) RemoveLiquidityWithPermit(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*UniswapRouterTransactor) SwapETHForExactTokens

func (_UniswapRouter *UniswapRouterTransactor) SwapETHForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapRouterTransactor) SwapExactETHForTokens

func (_UniswapRouter *UniswapRouterTransactor) SwapExactETHForTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapRouterTransactor) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterTransactor) SwapExactETHForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*UniswapRouterTransactor) SwapExactTokensForETH

func (_UniswapRouter *UniswapRouterTransactor) SwapExactTokensForETH(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapRouterTransactor) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterTransactor) SwapExactTokensForETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapRouterTransactor) SwapExactTokensForTokens

func (_UniswapRouter *UniswapRouterTransactor) SwapExactTokensForTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapRouterTransactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterTransactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapRouterTransactor) SwapTokensForExactETH

func (_UniswapRouter *UniswapRouterTransactor) SwapTokensForExactETH(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapRouterTransactor) SwapTokensForExactTokens

func (_UniswapRouter *UniswapRouterTransactor) SwapTokensForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

type UniswapRouterTransactorRaw

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

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

func (*UniswapRouterTransactorRaw) Transact

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

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

func (*UniswapRouterTransactorRaw) Transfer

func (_UniswapRouter *UniswapRouterTransactorRaw) 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 UniswapRouterTransactorSession

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

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

func (*UniswapRouterTransactorSession) AddLiquidity

func (_UniswapRouter *UniswapRouterTransactorSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*UniswapRouterTransactorSession) AddLiquidityETH

func (_UniswapRouter *UniswapRouterTransactorSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*UniswapRouterTransactorSession) Receive

func (_UniswapRouter *UniswapRouterTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*UniswapRouterTransactorSession) RemoveLiquidity

func (_UniswapRouter *UniswapRouterTransactorSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*UniswapRouterTransactorSession) RemoveLiquidityETH

func (_UniswapRouter *UniswapRouterTransactorSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapRouterTransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterTransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*UniswapRouterTransactorSession) RemoveLiquidityETHWithPermit

func (_UniswapRouter *UniswapRouterTransactorSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*UniswapRouterTransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterTransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*UniswapRouterTransactorSession) RemoveLiquidityWithPermit

func (_UniswapRouter *UniswapRouterTransactorSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*UniswapRouterTransactorSession) SwapETHForExactTokens

func (_UniswapRouter *UniswapRouterTransactorSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapRouterTransactorSession) SwapExactETHForTokens

func (_UniswapRouter *UniswapRouterTransactorSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*UniswapRouterTransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterTransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*UniswapRouterTransactorSession) SwapExactTokensForETH

func (_UniswapRouter *UniswapRouterTransactorSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapRouterTransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterTransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapRouterTransactorSession) SwapExactTokensForTokens

func (_UniswapRouter *UniswapRouterTransactorSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapRouterTransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_UniswapRouter *UniswapRouterTransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*UniswapRouterTransactorSession) SwapTokensForExactETH

func (_UniswapRouter *UniswapRouterTransactorSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*UniswapRouterTransactorSession) SwapTokensForExactTokens

func (_UniswapRouter *UniswapRouterTransactorSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

Jump to

Keyboard shortcuts

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