Documentation ¶
Index ¶
- Constants
- type Tokenhez
- type TokenhezApproval
- type TokenhezApprovalIterator
- type TokenhezAuthorizationUsed
- type TokenhezAuthorizationUsedIterator
- type TokenhezCaller
- func (_Tokenhez *TokenhezCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Tokenhez *TokenhezCaller) AuthorizationState(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (bool, error)
- func (_Tokenhez *TokenhezCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Tokenhez *TokenhezCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Tokenhez *TokenhezCaller) EIP712DOMAINHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Tokenhez *TokenhezCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_Tokenhez *TokenhezCaller) InitialBalance(opts *bind.CallOpts) (*big.Int, error)
- func (_Tokenhez *TokenhezCaller) NAMEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Tokenhez *TokenhezCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Tokenhez *TokenhezCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Tokenhez *TokenhezCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Tokenhez *TokenhezCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Tokenhez *TokenhezCaller) TRANSFERWITHAUTHORIZATIONTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Tokenhez *TokenhezCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Tokenhez *TokenhezCaller) VERSIONHASH(opts *bind.CallOpts) ([32]byte, error)
- type TokenhezCallerRaw
- type TokenhezCallerSession
- func (_Tokenhez *TokenhezCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Tokenhez *TokenhezCallerSession) AuthorizationState(arg0 common.Address, arg1 [32]byte) (bool, error)
- func (_Tokenhez *TokenhezCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_Tokenhez *TokenhezCallerSession) Decimals() (uint8, error)
- func (_Tokenhez *TokenhezCallerSession) EIP712DOMAINHASH() ([32]byte, error)
- func (_Tokenhez *TokenhezCallerSession) GetChainId() (*big.Int, error)
- func (_Tokenhez *TokenhezCallerSession) InitialBalance() (*big.Int, error)
- func (_Tokenhez *TokenhezCallerSession) NAMEHASH() ([32]byte, error)
- func (_Tokenhez *TokenhezCallerSession) Name() (string, error)
- func (_Tokenhez *TokenhezCallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_Tokenhez *TokenhezCallerSession) PERMITTYPEHASH() ([32]byte, error)
- func (_Tokenhez *TokenhezCallerSession) Symbol() (string, error)
- func (_Tokenhez *TokenhezCallerSession) TRANSFERWITHAUTHORIZATIONTYPEHASH() ([32]byte, error)
- func (_Tokenhez *TokenhezCallerSession) TotalSupply() (*big.Int, error)
- func (_Tokenhez *TokenhezCallerSession) VERSIONHASH() ([32]byte, error)
- type TokenhezFilterer
- func (_Tokenhez *TokenhezFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenhezApprovalIterator, error)
- func (_Tokenhez *TokenhezFilterer) FilterAuthorizationUsed(opts *bind.FilterOpts, authorizer []common.Address, nonce [][32]byte) (*TokenhezAuthorizationUsedIterator, error)
- func (_Tokenhez *TokenhezFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenhezTransferIterator, error)
- func (_Tokenhez *TokenhezFilterer) ParseApproval(log types.Log) (*TokenhezApproval, error)
- func (_Tokenhez *TokenhezFilterer) ParseAuthorizationUsed(log types.Log) (*TokenhezAuthorizationUsed, error)
- func (_Tokenhez *TokenhezFilterer) ParseTransfer(log types.Log) (*TokenhezTransfer, error)
- func (_Tokenhez *TokenhezFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenhezApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_Tokenhez *TokenhezFilterer) WatchAuthorizationUsed(opts *bind.WatchOpts, sink chan<- *TokenhezAuthorizationUsed, ...) (event.Subscription, error)
- func (_Tokenhez *TokenhezFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenhezTransfer, from []common.Address, ...) (event.Subscription, error)
- type TokenhezRaw
- func (_Tokenhez *TokenhezRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Tokenhez *TokenhezRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Tokenhez *TokenhezRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenhezSession
- func (_Tokenhez *TokenhezSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Tokenhez *TokenhezSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Tokenhez *TokenhezSession) AuthorizationState(arg0 common.Address, arg1 [32]byte) (bool, error)
- func (_Tokenhez *TokenhezSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_Tokenhez *TokenhezSession) Burn(value *big.Int) (*types.Transaction, error)
- func (_Tokenhez *TokenhezSession) Decimals() (uint8, error)
- func (_Tokenhez *TokenhezSession) EIP712DOMAINHASH() ([32]byte, error)
- func (_Tokenhez *TokenhezSession) GetChainId() (*big.Int, error)
- func (_Tokenhez *TokenhezSession) InitialBalance() (*big.Int, error)
- func (_Tokenhez *TokenhezSession) NAMEHASH() ([32]byte, error)
- func (_Tokenhez *TokenhezSession) Name() (string, error)
- func (_Tokenhez *TokenhezSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_Tokenhez *TokenhezSession) PERMITTYPEHASH() ([32]byte, error)
- func (_Tokenhez *TokenhezSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Tokenhez *TokenhezSession) Symbol() (string, error)
- func (_Tokenhez *TokenhezSession) TRANSFERWITHAUTHORIZATIONTYPEHASH() ([32]byte, error)
- func (_Tokenhez *TokenhezSession) TotalSupply() (*big.Int, error)
- func (_Tokenhez *TokenhezSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Tokenhez *TokenhezSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Tokenhez *TokenhezSession) TransferWithAuthorization(from common.Address, to common.Address, value *big.Int, validAfter *big.Int, ...) (*types.Transaction, error)
- func (_Tokenhez *TokenhezSession) VERSIONHASH() ([32]byte, error)
- type TokenhezTransactor
- func (_Tokenhez *TokenhezTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Tokenhez *TokenhezTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_Tokenhez *TokenhezTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_Tokenhez *TokenhezTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Tokenhez *TokenhezTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Tokenhez *TokenhezTransactor) TransferWithAuthorization(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type TokenhezTransactorRaw
- type TokenhezTransactorSession
- func (_Tokenhez *TokenhezTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_Tokenhez *TokenhezTransactorSession) Burn(value *big.Int) (*types.Transaction, error)
- func (_Tokenhez *TokenhezTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_Tokenhez *TokenhezTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Tokenhez *TokenhezTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_Tokenhez *TokenhezTransactorSession) TransferWithAuthorization(from common.Address, to common.Address, value *big.Int, validAfter *big.Int, ...) (*types.Transaction, error)
- type TokenhezTransfer
- type TokenhezTransferIterator
Constants ¶
const TokenhezABI = "" /* 6668-byte string literal not displayed */
TokenhezABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tokenhez ¶
type Tokenhez struct { TokenhezCaller // Read-only binding to the contract TokenhezTransactor // Write-only binding to the contract TokenhezFilterer // Log filterer for contract events }
Tokenhez is an auto generated Go binding around an Ethereum contract.
func NewTokenhez ¶
NewTokenhez creates a new instance of Tokenhez, bound to a specific deployed contract.
type TokenhezApproval ¶
type TokenhezApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenhezApproval represents a Approval event raised by the Tokenhez contract.
type TokenhezApprovalIterator ¶
type TokenhezApprovalIterator struct { Event *TokenhezApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenhezApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Tokenhez contract.
func (*TokenhezApprovalIterator) Close ¶
func (it *TokenhezApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenhezApprovalIterator) Error ¶
func (it *TokenhezApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenhezApprovalIterator) Next ¶
func (it *TokenhezApprovalIterator) 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 TokenhezAuthorizationUsed ¶
type TokenhezAuthorizationUsed struct { Authorizer common.Address Nonce [32]byte Raw types.Log // Blockchain specific contextual infos }
TokenhezAuthorizationUsed represents a AuthorizationUsed event raised by the Tokenhez contract.
type TokenhezAuthorizationUsedIterator ¶
type TokenhezAuthorizationUsedIterator struct { Event *TokenhezAuthorizationUsed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenhezAuthorizationUsedIterator is returned from FilterAuthorizationUsed and is used to iterate over the raw logs and unpacked data for AuthorizationUsed events raised by the Tokenhez contract.
func (*TokenhezAuthorizationUsedIterator) Close ¶
func (it *TokenhezAuthorizationUsedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenhezAuthorizationUsedIterator) Error ¶
func (it *TokenhezAuthorizationUsedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenhezAuthorizationUsedIterator) Next ¶
func (it *TokenhezAuthorizationUsedIterator) 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 TokenhezCaller ¶
type TokenhezCaller struct {
// contains filtered or unexported fields
}
TokenhezCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenhezCaller ¶
func NewTokenhezCaller(address common.Address, caller bind.ContractCaller) (*TokenhezCaller, error)
NewTokenhezCaller creates a new read-only instance of Tokenhez, bound to a specific deployed contract.
func (*TokenhezCaller) Allowance ¶
func (_Tokenhez *TokenhezCaller) 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 (*TokenhezCaller) AuthorizationState ¶
func (_Tokenhez *TokenhezCaller) AuthorizationState(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (bool, error)
AuthorizationState is a free data retrieval call binding the contract method 0xe94a0102.
Solidity: function authorizationState(address , bytes32 ) view returns(bool)
func (*TokenhezCaller) BalanceOf ¶
func (_Tokenhez *TokenhezCaller) 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 (*TokenhezCaller) Decimals ¶
func (_Tokenhez *TokenhezCaller) 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 (*TokenhezCaller) EIP712DOMAINHASH ¶
func (_Tokenhez *TokenhezCaller) EIP712DOMAINHASH(opts *bind.CallOpts) ([32]byte, error)
EIP712DOMAINHASH is a free data retrieval call binding the contract method 0xc473af33.
Solidity: function EIP712DOMAIN_HASH() view returns(bytes32)
func (*TokenhezCaller) GetChainId ¶
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() pure returns(uint256 chainId)
func (*TokenhezCaller) InitialBalance ¶
InitialBalance is a free data retrieval call binding the contract method 0x18369a2a.
Solidity: function initialBalance() view returns(uint256)
func (*TokenhezCaller) NAMEHASH ¶
func (_Tokenhez *TokenhezCaller) NAMEHASH(opts *bind.CallOpts) ([32]byte, error)
NAMEHASH is a free data retrieval call binding the contract method 0x04622c2e.
Solidity: function NAME_HASH() view returns(bytes32)
func (*TokenhezCaller) Name ¶
func (_Tokenhez *TokenhezCaller) 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 (*TokenhezCaller) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*TokenhezCaller) PERMITTYPEHASH ¶
func (_Tokenhez *TokenhezCaller) 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 (*TokenhezCaller) Symbol ¶
func (_Tokenhez *TokenhezCaller) 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 (*TokenhezCaller) TRANSFERWITHAUTHORIZATIONTYPEHASH ¶
func (_Tokenhez *TokenhezCaller) TRANSFERWITHAUTHORIZATIONTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
TRANSFERWITHAUTHORIZATIONTYPEHASH is a free data retrieval call binding the contract method 0xa0cc6a68.
Solidity: function TRANSFER_WITH_AUTHORIZATION_TYPEHASH() view returns(bytes32)
func (*TokenhezCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*TokenhezCaller) VERSIONHASH ¶
func (_Tokenhez *TokenhezCaller) VERSIONHASH(opts *bind.CallOpts) ([32]byte, error)
VERSIONHASH is a free data retrieval call binding the contract method 0x9e4e7318.
Solidity: function VERSION_HASH() view returns(bytes32)
type TokenhezCallerRaw ¶
type TokenhezCallerRaw struct {
Contract *TokenhezCaller // Generic read-only contract binding to access the raw methods on
}
TokenhezCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenhezCallerRaw) Call ¶
func (_Tokenhez *TokenhezCallerRaw) 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 TokenhezCallerSession ¶
type TokenhezCallerSession struct { Contract *TokenhezCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TokenhezCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TokenhezCallerSession) Allowance ¶
func (_Tokenhez *TokenhezCallerSession) 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 (*TokenhezCallerSession) AuthorizationState ¶
func (_Tokenhez *TokenhezCallerSession) AuthorizationState(arg0 common.Address, arg1 [32]byte) (bool, error)
AuthorizationState is a free data retrieval call binding the contract method 0xe94a0102.
Solidity: function authorizationState(address , bytes32 ) view returns(bool)
func (*TokenhezCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*TokenhezCallerSession) Decimals ¶
func (_Tokenhez *TokenhezCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*TokenhezCallerSession) EIP712DOMAINHASH ¶
func (_Tokenhez *TokenhezCallerSession) EIP712DOMAINHASH() ([32]byte, error)
EIP712DOMAINHASH is a free data retrieval call binding the contract method 0xc473af33.
Solidity: function EIP712DOMAIN_HASH() view returns(bytes32)
func (*TokenhezCallerSession) GetChainId ¶
func (_Tokenhez *TokenhezCallerSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() pure returns(uint256 chainId)
func (*TokenhezCallerSession) InitialBalance ¶
func (_Tokenhez *TokenhezCallerSession) InitialBalance() (*big.Int, error)
InitialBalance is a free data retrieval call binding the contract method 0x18369a2a.
Solidity: function initialBalance() view returns(uint256)
func (*TokenhezCallerSession) NAMEHASH ¶
func (_Tokenhez *TokenhezCallerSession) NAMEHASH() ([32]byte, error)
NAMEHASH is a free data retrieval call binding the contract method 0x04622c2e.
Solidity: function NAME_HASH() view returns(bytes32)
func (*TokenhezCallerSession) Name ¶
func (_Tokenhez *TokenhezCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenhezCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*TokenhezCallerSession) PERMITTYPEHASH ¶
func (_Tokenhez *TokenhezCallerSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*TokenhezCallerSession) Symbol ¶
func (_Tokenhez *TokenhezCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*TokenhezCallerSession) TRANSFERWITHAUTHORIZATIONTYPEHASH ¶
func (_Tokenhez *TokenhezCallerSession) TRANSFERWITHAUTHORIZATIONTYPEHASH() ([32]byte, error)
TRANSFERWITHAUTHORIZATIONTYPEHASH is a free data retrieval call binding the contract method 0xa0cc6a68.
Solidity: function TRANSFER_WITH_AUTHORIZATION_TYPEHASH() view returns(bytes32)
func (*TokenhezCallerSession) TotalSupply ¶
func (_Tokenhez *TokenhezCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*TokenhezCallerSession) VERSIONHASH ¶
func (_Tokenhez *TokenhezCallerSession) VERSIONHASH() ([32]byte, error)
VERSIONHASH is a free data retrieval call binding the contract method 0x9e4e7318.
Solidity: function VERSION_HASH() view returns(bytes32)
type TokenhezFilterer ¶
type TokenhezFilterer struct {
// contains filtered or unexported fields
}
TokenhezFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenhezFilterer ¶
func NewTokenhezFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenhezFilterer, error)
NewTokenhezFilterer creates a new log filterer instance of Tokenhez, bound to a specific deployed contract.
func (*TokenhezFilterer) FilterApproval ¶
func (_Tokenhez *TokenhezFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenhezApprovalIterator, 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 (*TokenhezFilterer) FilterAuthorizationUsed ¶
func (_Tokenhez *TokenhezFilterer) FilterAuthorizationUsed(opts *bind.FilterOpts, authorizer []common.Address, nonce [][32]byte) (*TokenhezAuthorizationUsedIterator, error)
FilterAuthorizationUsed is a free log retrieval operation binding the contract event 0x98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a5.
Solidity: event AuthorizationUsed(address indexed authorizer, bytes32 indexed nonce)
func (*TokenhezFilterer) FilterTransfer ¶
func (_Tokenhez *TokenhezFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenhezTransferIterator, 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 (*TokenhezFilterer) ParseApproval ¶
func (_Tokenhez *TokenhezFilterer) ParseApproval(log types.Log) (*TokenhezApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*TokenhezFilterer) ParseAuthorizationUsed ¶
func (_Tokenhez *TokenhezFilterer) ParseAuthorizationUsed(log types.Log) (*TokenhezAuthorizationUsed, error)
ParseAuthorizationUsed is a log parse operation binding the contract event 0x98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a5.
Solidity: event AuthorizationUsed(address indexed authorizer, bytes32 indexed nonce)
func (*TokenhezFilterer) ParseTransfer ¶
func (_Tokenhez *TokenhezFilterer) ParseTransfer(log types.Log) (*TokenhezTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*TokenhezFilterer) WatchApproval ¶
func (_Tokenhez *TokenhezFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenhezApproval, 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 (*TokenhezFilterer) WatchAuthorizationUsed ¶
func (_Tokenhez *TokenhezFilterer) WatchAuthorizationUsed(opts *bind.WatchOpts, sink chan<- *TokenhezAuthorizationUsed, authorizer []common.Address, nonce [][32]byte) (event.Subscription, error)
WatchAuthorizationUsed is a free log subscription operation binding the contract event 0x98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a5.
Solidity: event AuthorizationUsed(address indexed authorizer, bytes32 indexed nonce)
func (*TokenhezFilterer) WatchTransfer ¶
func (_Tokenhez *TokenhezFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenhezTransfer, 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 TokenhezRaw ¶
type TokenhezRaw struct {
Contract *Tokenhez // Generic contract binding to access the raw methods on
}
TokenhezRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenhezRaw) Call ¶
func (_Tokenhez *TokenhezRaw) 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 (*TokenhezRaw) Transact ¶
func (_Tokenhez *TokenhezRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenhezRaw) Transfer ¶
func (_Tokenhez *TokenhezRaw) 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 TokenhezSession ¶
type TokenhezSession struct { Contract *Tokenhez // 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 }
TokenhezSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TokenhezSession) Allowance ¶
func (_Tokenhez *TokenhezSession) 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 (*TokenhezSession) Approve ¶
func (_Tokenhez *TokenhezSession) 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 (*TokenhezSession) AuthorizationState ¶
func (_Tokenhez *TokenhezSession) AuthorizationState(arg0 common.Address, arg1 [32]byte) (bool, error)
AuthorizationState is a free data retrieval call binding the contract method 0xe94a0102.
Solidity: function authorizationState(address , bytes32 ) view returns(bool)
func (*TokenhezSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*TokenhezSession) Burn ¶
func (_Tokenhez *TokenhezSession) Burn(value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns(bool)
func (*TokenhezSession) Decimals ¶
func (_Tokenhez *TokenhezSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*TokenhezSession) EIP712DOMAINHASH ¶
func (_Tokenhez *TokenhezSession) EIP712DOMAINHASH() ([32]byte, error)
EIP712DOMAINHASH is a free data retrieval call binding the contract method 0xc473af33.
Solidity: function EIP712DOMAIN_HASH() view returns(bytes32)
func (*TokenhezSession) GetChainId ¶
func (_Tokenhez *TokenhezSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() pure returns(uint256 chainId)
func (*TokenhezSession) InitialBalance ¶
func (_Tokenhez *TokenhezSession) InitialBalance() (*big.Int, error)
InitialBalance is a free data retrieval call binding the contract method 0x18369a2a.
Solidity: function initialBalance() view returns(uint256)
func (*TokenhezSession) NAMEHASH ¶
func (_Tokenhez *TokenhezSession) NAMEHASH() ([32]byte, error)
NAMEHASH is a free data retrieval call binding the contract method 0x04622c2e.
Solidity: function NAME_HASH() view returns(bytes32)
func (*TokenhezSession) Name ¶
func (_Tokenhez *TokenhezSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*TokenhezSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*TokenhezSession) PERMITTYPEHASH ¶
func (_Tokenhez *TokenhezSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*TokenhezSession) Permit ¶
func (_Tokenhez *TokenhezSession) 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 (*TokenhezSession) Symbol ¶
func (_Tokenhez *TokenhezSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*TokenhezSession) TRANSFERWITHAUTHORIZATIONTYPEHASH ¶
func (_Tokenhez *TokenhezSession) TRANSFERWITHAUTHORIZATIONTYPEHASH() ([32]byte, error)
TRANSFERWITHAUTHORIZATIONTYPEHASH is a free data retrieval call binding the contract method 0xa0cc6a68.
Solidity: function TRANSFER_WITH_AUTHORIZATION_TYPEHASH() view returns(bytes32)
func (*TokenhezSession) TotalSupply ¶
func (_Tokenhez *TokenhezSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*TokenhezSession) Transfer ¶
func (_Tokenhez *TokenhezSession) 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 (*TokenhezSession) TransferFrom ¶
func (_Tokenhez *TokenhezSession) 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)
func (*TokenhezSession) TransferWithAuthorization ¶
func (_Tokenhez *TokenhezSession) TransferWithAuthorization(from common.Address, to common.Address, value *big.Int, validAfter *big.Int, validBefore *big.Int, nonce [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
TransferWithAuthorization is a paid mutator transaction binding the contract method 0xe3ee160e.
Solidity: function transferWithAuthorization(address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s) returns()
func (*TokenhezSession) VERSIONHASH ¶
func (_Tokenhez *TokenhezSession) VERSIONHASH() ([32]byte, error)
VERSIONHASH is a free data retrieval call binding the contract method 0x9e4e7318.
Solidity: function VERSION_HASH() view returns(bytes32)
type TokenhezTransactor ¶
type TokenhezTransactor struct {
// contains filtered or unexported fields
}
TokenhezTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenhezTransactor ¶
func NewTokenhezTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenhezTransactor, error)
NewTokenhezTransactor creates a new write-only instance of Tokenhez, bound to a specific deployed contract.
func (*TokenhezTransactor) Approve ¶
func (_Tokenhez *TokenhezTransactor) 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 (*TokenhezTransactor) Burn ¶
func (_Tokenhez *TokenhezTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns(bool)
func (*TokenhezTransactor) Permit ¶
func (_Tokenhez *TokenhezTransactor) 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 (*TokenhezTransactor) Transfer ¶
func (_Tokenhez *TokenhezTransactor) 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 (*TokenhezTransactor) TransferFrom ¶
func (_Tokenhez *TokenhezTransactor) 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)
func (*TokenhezTransactor) TransferWithAuthorization ¶
func (_Tokenhez *TokenhezTransactor) TransferWithAuthorization(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int, validAfter *big.Int, validBefore *big.Int, nonce [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
TransferWithAuthorization is a paid mutator transaction binding the contract method 0xe3ee160e.
Solidity: function transferWithAuthorization(address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s) returns()
type TokenhezTransactorRaw ¶
type TokenhezTransactorRaw struct {
Contract *TokenhezTransactor // Generic write-only contract binding to access the raw methods on
}
TokenhezTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenhezTransactorRaw) Transact ¶
func (_Tokenhez *TokenhezTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenhezTransactorRaw) Transfer ¶
func (_Tokenhez *TokenhezTransactorRaw) 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 TokenhezTransactorSession ¶
type TokenhezTransactorSession struct { Contract *TokenhezTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TokenhezTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TokenhezTransactorSession) Approve ¶
func (_Tokenhez *TokenhezTransactorSession) 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 (*TokenhezTransactorSession) Burn ¶
func (_Tokenhez *TokenhezTransactorSession) Burn(value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns(bool)
func (*TokenhezTransactorSession) Permit ¶
func (_Tokenhez *TokenhezTransactorSession) 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 (*TokenhezTransactorSession) Transfer ¶
func (_Tokenhez *TokenhezTransactorSession) 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 (*TokenhezTransactorSession) TransferFrom ¶
func (_Tokenhez *TokenhezTransactorSession) 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)
func (*TokenhezTransactorSession) TransferWithAuthorization ¶
func (_Tokenhez *TokenhezTransactorSession) TransferWithAuthorization(from common.Address, to common.Address, value *big.Int, validAfter *big.Int, validBefore *big.Int, nonce [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
TransferWithAuthorization is a paid mutator transaction binding the contract method 0xe3ee160e.
Solidity: function transferWithAuthorization(address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s) returns()
type TokenhezTransfer ¶
type TokenhezTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
TokenhezTransfer represents a Transfer event raised by the Tokenhez contract.
type TokenhezTransferIterator ¶
type TokenhezTransferIterator struct { Event *TokenhezTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenhezTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Tokenhez contract.
func (*TokenhezTransferIterator) Close ¶
func (it *TokenhezTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenhezTransferIterator) Error ¶
func (it *TokenhezTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenhezTransferIterator) Next ¶
func (it *TokenhezTransferIterator) 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.