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