Documentation
¶
Index ¶
- Variables
- type MeerMappingBurnDetail
- type Token
- type TokenCaller
- func (_Token *TokenCaller) MeerMappingAmounts(opts *bind.CallOpts, arg0 []byte, arg1 *big.Int) (struct{ ... }, error)
- func (_Token *TokenCaller) MeerMappingCount(opts *bind.CallOpts, arg0 []byte) (*big.Int, error)
- func (_Token *TokenCaller) QueryAmount(opts *bind.CallOpts, _qngHash160 []byte) (*big.Int, error)
- func (_Token *TokenCaller) QueryBurnDetails(opts *bind.CallOpts, _qngHash160 []byte) ([]MeerMappingBurnDetail, error)
- type TokenCallerRaw
- type TokenCallerSession
- func (_Token *TokenCallerSession) MeerMappingAmounts(arg0 []byte, arg1 *big.Int) (struct{ ... }, error)
- func (_Token *TokenCallerSession) MeerMappingCount(arg0 []byte) (*big.Int, error)
- func (_Token *TokenCallerSession) QueryAmount(_qngHash160 []byte) (*big.Int, error)
- func (_Token *TokenCallerSession) QueryBurnDetails(_qngHash160 []byte) ([]MeerMappingBurnDetail, error)
- type TokenFilterer
- type TokenRaw
- func (_Token *TokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Token *TokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenSession
- func (_Token *TokenSession) MeerMappingAmounts(arg0 []byte, arg1 *big.Int) (struct{ ... }, error)
- func (_Token *TokenSession) MeerMappingCount(arg0 []byte) (*big.Int, error)
- func (_Token *TokenSession) QueryAmount(_qngHash160 []byte) (*big.Int, error)
- func (_Token *TokenSession) QueryBurnDetails(_qngHash160 []byte) ([]MeerMappingBurnDetail, error)
- type TokenTransactor
- type TokenTransactorRaw
- type TokenTransactorSession
Constants ¶
This section is empty.
Variables ¶
var TokenABI = TokenMetaData.ABI
TokenABI is the input ABI used to generate the binding from. Deprecated: Use TokenMetaData.ABI instead.
var TokenMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"meerMappingAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"Amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Time\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Order\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Height\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"meerMappingCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_qngHash160\",\"type\":\"bytes\"}],\"name\":\"queryAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_qngHash160\",\"type\":\"bytes\"}],\"name\":\"queryBurnDetails\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"Amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Time\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Order\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Height\",\"type\":\"uint256\"}],\"internalType\":\"structMeerMapping.BurnDetail[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
TokenMetaData contains all meta data concerning the Token contract.
Functions ¶
This section is empty.
Types ¶
type MeerMappingBurnDetail ¶
MeerMappingBurnDetail is an auto generated low-level Go binding around an user-defined struct.
type Token ¶
type Token struct { TokenCaller // Read-only binding to the contract TokenTransactor // Write-only binding to the contract TokenFilterer // Log filterer for contract events }
Token is an auto generated Go binding around an Ethereum contract.
type TokenCaller ¶
type TokenCaller struct {
// contains filtered or unexported fields
}
TokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenCaller ¶
func NewTokenCaller(address common.Address, caller bind.ContractCaller) (*TokenCaller, error)
NewTokenCaller creates a new read-only instance of Token, bound to a specific deployed contract.
func (*TokenCaller) MeerMappingAmounts ¶
func (_Token *TokenCaller) MeerMappingAmounts(opts *bind.CallOpts, arg0 []byte, arg1 *big.Int) (struct { Amount *big.Int Time *big.Int Order *big.Int Height *big.Int }, error)
MeerMappingAmounts is a free data retrieval call binding the contract method 0xdac86377.
Solidity: function meerMappingAmounts(bytes , uint256 ) view returns(uint256 Amount, uint256 Time, uint256 Order, uint256 Height)
func (*TokenCaller) MeerMappingCount ¶
MeerMappingCount is a free data retrieval call binding the contract method 0xf96eb242.
Solidity: function meerMappingCount(bytes ) view returns(uint256)
func (*TokenCaller) QueryAmount ¶
QueryAmount is a free data retrieval call binding the contract method 0xe944dec8.
Solidity: function queryAmount(bytes _qngHash160) view returns(uint256)
func (*TokenCaller) QueryBurnDetails ¶
func (_Token *TokenCaller) QueryBurnDetails(opts *bind.CallOpts, _qngHash160 []byte) ([]MeerMappingBurnDetail, error)
QueryBurnDetails is a free data retrieval call binding the contract method 0xcc53ccf3.
Solidity: function queryBurnDetails(bytes _qngHash160) view returns((uint256,uint256,uint256,uint256)[])
type TokenCallerRaw ¶
type TokenCallerRaw struct {
Contract *TokenCaller // Generic read-only contract binding to access the raw methods on
}
TokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenCallerRaw) Call ¶
func (_Token *TokenCallerRaw) 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 TokenCallerSession ¶
type TokenCallerSession struct { Contract *TokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TokenCallerSession) MeerMappingAmounts ¶
func (_Token *TokenCallerSession) MeerMappingAmounts(arg0 []byte, arg1 *big.Int) (struct { Amount *big.Int Time *big.Int Order *big.Int Height *big.Int }, error)
MeerMappingAmounts is a free data retrieval call binding the contract method 0xdac86377.
Solidity: function meerMappingAmounts(bytes , uint256 ) view returns(uint256 Amount, uint256 Time, uint256 Order, uint256 Height)
func (*TokenCallerSession) MeerMappingCount ¶
func (_Token *TokenCallerSession) MeerMappingCount(arg0 []byte) (*big.Int, error)
MeerMappingCount is a free data retrieval call binding the contract method 0xf96eb242.
Solidity: function meerMappingCount(bytes ) view returns(uint256)
func (*TokenCallerSession) QueryAmount ¶
func (_Token *TokenCallerSession) QueryAmount(_qngHash160 []byte) (*big.Int, error)
QueryAmount is a free data retrieval call binding the contract method 0xe944dec8.
Solidity: function queryAmount(bytes _qngHash160) view returns(uint256)
func (*TokenCallerSession) QueryBurnDetails ¶
func (_Token *TokenCallerSession) QueryBurnDetails(_qngHash160 []byte) ([]MeerMappingBurnDetail, error)
QueryBurnDetails is a free data retrieval call binding the contract method 0xcc53ccf3.
Solidity: function queryBurnDetails(bytes _qngHash160) view returns((uint256,uint256,uint256,uint256)[])
type TokenFilterer ¶
type TokenFilterer struct {
// contains filtered or unexported fields
}
TokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenFilterer ¶
func NewTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenFilterer, error)
NewTokenFilterer creates a new log filterer instance of Token, bound to a specific deployed contract.
type TokenRaw ¶
type TokenRaw struct {
Contract *Token // Generic contract binding to access the raw methods on
}
TokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenRaw) Call ¶
func (_Token *TokenRaw) 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 (*TokenRaw) Transact ¶
func (_Token *TokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenRaw) Transfer ¶
func (_Token *TokenRaw) 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 TokenSession ¶
type TokenSession struct { Contract *Token // 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 }
TokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TokenSession) MeerMappingAmounts ¶
func (_Token *TokenSession) MeerMappingAmounts(arg0 []byte, arg1 *big.Int) (struct { Amount *big.Int Time *big.Int Order *big.Int Height *big.Int }, error)
MeerMappingAmounts is a free data retrieval call binding the contract method 0xdac86377.
Solidity: function meerMappingAmounts(bytes , uint256 ) view returns(uint256 Amount, uint256 Time, uint256 Order, uint256 Height)
func (*TokenSession) MeerMappingCount ¶
func (_Token *TokenSession) MeerMappingCount(arg0 []byte) (*big.Int, error)
MeerMappingCount is a free data retrieval call binding the contract method 0xf96eb242.
Solidity: function meerMappingCount(bytes ) view returns(uint256)
func (*TokenSession) QueryAmount ¶
func (_Token *TokenSession) QueryAmount(_qngHash160 []byte) (*big.Int, error)
QueryAmount is a free data retrieval call binding the contract method 0xe944dec8.
Solidity: function queryAmount(bytes _qngHash160) view returns(uint256)
func (*TokenSession) QueryBurnDetails ¶
func (_Token *TokenSession) QueryBurnDetails(_qngHash160 []byte) ([]MeerMappingBurnDetail, error)
QueryBurnDetails is a free data retrieval call binding the contract method 0xcc53ccf3.
Solidity: function queryBurnDetails(bytes _qngHash160) view returns((uint256,uint256,uint256,uint256)[])
type TokenTransactor ¶
type TokenTransactor struct {
// contains filtered or unexported fields
}
TokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenTransactor ¶
func NewTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTransactor, error)
NewTokenTransactor creates a new write-only instance of Token, bound to a specific deployed contract.
type TokenTransactorRaw ¶
type TokenTransactorRaw struct {
Contract *TokenTransactor // Generic write-only contract binding to access the raw methods on
}
TokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenTransactorRaw) Transact ¶
func (_Token *TokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenTransactorRaw) Transfer ¶
func (_Token *TokenTransactorRaw) 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 TokenTransactorSession ¶
type TokenTransactorSession struct { Contract *TokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.