Documentation ¶
Index ¶
- Constants
- type DhToken
- type DhTokenApproval
- type DhTokenApprovalIterator
- type DhTokenCaller
- func (_DhToken *DhTokenCaller) AcceptRelayedCall(opts *bind.CallOpts, relay common.Address, from common.Address, ...) (*big.Int, []byte, error)
- func (_DhToken *DhTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_DhToken *DhTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_DhToken *DhTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_DhToken *DhTokenCaller) GetHubAddr(opts *bind.CallOpts) (common.Address, error)
- func (_DhToken *DhTokenCaller) GetUserRepo(opts *bind.CallOpts, user common.Address) ([]string, error)
- func (_DhToken *DhTokenCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_DhToken *DhTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_DhToken *DhTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_DhToken *DhTokenCaller) RelayHubVersion(opts *bind.CallOpts) (string, error)
- func (_DhToken *DhTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_DhToken *DhTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type DhTokenCallerRaw
- type DhTokenCallerSession
- func (_DhToken *DhTokenCallerSession) AcceptRelayedCall(relay common.Address, from common.Address, encodedFunction []byte, ...) (*big.Int, []byte, error)
- func (_DhToken *DhTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_DhToken *DhTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_DhToken *DhTokenCallerSession) Decimals() (uint8, error)
- func (_DhToken *DhTokenCallerSession) GetHubAddr() (common.Address, error)
- func (_DhToken *DhTokenCallerSession) GetUserRepo(user common.Address) ([]string, error)
- func (_DhToken *DhTokenCallerSession) IsOwner() (bool, error)
- func (_DhToken *DhTokenCallerSession) Name() (string, error)
- func (_DhToken *DhTokenCallerSession) Owner() (common.Address, error)
- func (_DhToken *DhTokenCallerSession) RelayHubVersion() (string, error)
- func (_DhToken *DhTokenCallerSession) Symbol() (string, error)
- func (_DhToken *DhTokenCallerSession) TotalSupply() (*big.Int, error)
- type DhTokenFilterer
- func (_DhToken *DhTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*DhTokenApprovalIterator, error)
- func (_DhToken *DhTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*DhTokenOwnershipTransferredIterator, error)
- func (_DhToken *DhTokenFilterer) FilterPinSuccess(opts *bind.FilterOpts, user []common.Address) (*DhTokenPinSuccessIterator, error)
- func (_DhToken *DhTokenFilterer) FilterRelayHubChanged(opts *bind.FilterOpts, oldRelayHub []common.Address, ...) (*DhTokenRelayHubChangedIterator, error)
- func (_DhToken *DhTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DhTokenTransferIterator, error)
- func (_DhToken *DhTokenFilterer) ParseApproval(log types.Log) (*DhTokenApproval, error)
- func (_DhToken *DhTokenFilterer) ParseOwnershipTransferred(log types.Log) (*DhTokenOwnershipTransferred, error)
- func (_DhToken *DhTokenFilterer) ParsePinSuccess(log types.Log) (*DhTokenPinSuccess, error)
- func (_DhToken *DhTokenFilterer) ParseRelayHubChanged(log types.Log) (*DhTokenRelayHubChanged, error)
- func (_DhToken *DhTokenFilterer) ParseTransfer(log types.Log) (*DhTokenTransfer, error)
- func (_DhToken *DhTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *DhTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_DhToken *DhTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DhTokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_DhToken *DhTokenFilterer) WatchPinSuccess(opts *bind.WatchOpts, sink chan<- *DhTokenPinSuccess, user []common.Address) (event.Subscription, error)
- func (_DhToken *DhTokenFilterer) WatchRelayHubChanged(opts *bind.WatchOpts, sink chan<- *DhTokenRelayHubChanged, ...) (event.Subscription, error)
- func (_DhToken *DhTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *DhTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type DhTokenOwnershipTransferred
- type DhTokenOwnershipTransferredIterator
- type DhTokenPinSuccess
- type DhTokenPinSuccessIterator
- type DhTokenRaw
- func (_DhToken *DhTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_DhToken *DhTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_DhToken *DhTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DhTokenRelayHubChanged
- type DhTokenRelayHubChangedIterator
- type DhTokenSession
- func (_DhToken *DhTokenSession) AcceptRelayedCall(relay common.Address, from common.Address, encodedFunction []byte, ...) (*big.Int, []byte, error)
- func (_DhToken *DhTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_DhToken *DhTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_DhToken *DhTokenSession) Decimals() (uint8, error)
- func (_DhToken *DhTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenSession) GenerateTokens(amount *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenSession) GetHubAddr() (common.Address, error)
- func (_DhToken *DhTokenSession) GetUserRepo(user common.Address) ([]string, error)
- func (_DhToken *DhTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenSession) IsOwner() (bool, error)
- func (_DhToken *DhTokenSession) Name() (string, error)
- func (_DhToken *DhTokenSession) Owner() (common.Address, error)
- func (_DhToken *DhTokenSession) Pin(user common.Address, hash string, date string) (*types.Transaction, error)
- func (_DhToken *DhTokenSession) PostRelayedCall(context []byte, success bool, actualCharge *big.Int, preRetVal [32]byte) (*types.Transaction, error)
- func (_DhToken *DhTokenSession) PreRelayedCall(context []byte) (*types.Transaction, error)
- func (_DhToken *DhTokenSession) RelayHubVersion() (string, error)
- func (_DhToken *DhTokenSession) RenounceOwnership() (*types.Transaction, error)
- func (_DhToken *DhTokenSession) Symbol() (string, error)
- func (_DhToken *DhTokenSession) TotalSupply() (*big.Int, error)
- func (_DhToken *DhTokenSession) Transfer(recipient common.Address, value *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type DhTokenTransactor
- func (_DhToken *DhTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactor) GenerateTokens(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactor) Pin(opts *bind.TransactOpts, user common.Address, hash string, date string) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactor) PostRelayedCall(opts *bind.TransactOpts, context []byte, success bool, actualCharge *big.Int, ...) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactor) PreRelayedCall(opts *bind.TransactOpts, context []byte) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, value *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type DhTokenTransactorRaw
- type DhTokenTransactorSession
- func (_DhToken *DhTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactorSession) GenerateTokens(amount *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactorSession) Pin(user common.Address, hash string, date string) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactorSession) PostRelayedCall(context []byte, success bool, actualCharge *big.Int, preRetVal [32]byte) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactorSession) PreRelayedCall(context []byte) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_DhToken *DhTokenTransactorSession) Transfer(recipient common.Address, value *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_DhToken *DhTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type DhTokenTransfer
- type DhTokenTransferIterator
Constants ¶
const DhTokenABI = "" /* 6852-byte string literal not displayed */
DhTokenABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DhToken ¶
type DhToken struct { DhTokenCaller // Read-only binding to the contract DhTokenTransactor // Write-only binding to the contract DhTokenFilterer // Log filterer for contract events }
DhToken is an auto generated Go binding around an Ethereum contract.
func NewDhToken ¶
NewDhToken creates a new instance of DhToken, bound to a specific deployed contract.
type DhTokenApproval ¶
type DhTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
DhTokenApproval represents a Approval event raised by the DhToken contract.
type DhTokenApprovalIterator ¶
type DhTokenApprovalIterator struct { Event *DhTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DhTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the DhToken contract.
func (*DhTokenApprovalIterator) Close ¶
func (it *DhTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DhTokenApprovalIterator) Error ¶
func (it *DhTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DhTokenApprovalIterator) Next ¶
func (it *DhTokenApprovalIterator) 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 DhTokenCaller ¶
type DhTokenCaller struct {
// contains filtered or unexported fields
}
DhTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDhTokenCaller ¶
func NewDhTokenCaller(address common.Address, caller bind.ContractCaller) (*DhTokenCaller, error)
NewDhTokenCaller creates a new read-only instance of DhToken, bound to a specific deployed contract.
func (*DhTokenCaller) AcceptRelayedCall ¶
func (_DhToken *DhTokenCaller) AcceptRelayedCall(opts *bind.CallOpts, relay common.Address, from common.Address, encodedFunction []byte, transactionFee *big.Int, gasPrice *big.Int, gasLimit *big.Int, nonce *big.Int, approvalData []byte, maxPossibleCharge *big.Int) (*big.Int, []byte, error)
AcceptRelayedCall is a free data retrieval call binding the contract method 0x83947ea0.
Solidity: function acceptRelayedCall(address relay, address from, bytes encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce, bytes approvalData, uint256 maxPossibleCharge) constant returns(uint256, bytes)
func (*DhTokenCaller) Allowance ¶
func (_DhToken *DhTokenCaller) 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) constant returns(uint256)
func (*DhTokenCaller) BalanceOf ¶
func (_DhToken *DhTokenCaller) 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) constant returns(uint256)
func (*DhTokenCaller) Decimals ¶
func (_DhToken *DhTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*DhTokenCaller) GetHubAddr ¶
GetHubAddr is a free data retrieval call binding the contract method 0x74e861d6.
Solidity: function getHubAddr() constant returns(address)
func (*DhTokenCaller) GetUserRepo ¶
func (_DhToken *DhTokenCaller) GetUserRepo(opts *bind.CallOpts, user common.Address) ([]string, error)
GetUserRepo is a free data retrieval call binding the contract method 0xc08e0b7d.
Solidity: function getUserRepo(address user) constant returns(string[])
func (*DhTokenCaller) IsOwner ¶
func (_DhToken *DhTokenCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*DhTokenCaller) Name ¶
func (_DhToken *DhTokenCaller) Name(opts *bind.CallOpts) (string, error)
ID is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*DhTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*DhTokenCaller) RelayHubVersion ¶
func (_DhToken *DhTokenCaller) RelayHubVersion(opts *bind.CallOpts) (string, error)
RelayHubVersion is a free data retrieval call binding the contract method 0xad61ccd5.
Solidity: function relayHubVersion() constant returns(string)
func (*DhTokenCaller) Symbol ¶
func (_DhToken *DhTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*DhTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type DhTokenCallerRaw ¶
type DhTokenCallerRaw struct {
Contract *DhTokenCaller // Generic read-only contract binding to access the raw methods on
}
DhTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DhTokenCallerRaw) Call ¶
func (_DhToken *DhTokenCallerRaw) 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 DhTokenCallerSession ¶
type DhTokenCallerSession struct { Contract *DhTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DhTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DhTokenCallerSession) AcceptRelayedCall ¶
func (_DhToken *DhTokenCallerSession) AcceptRelayedCall(relay common.Address, from common.Address, encodedFunction []byte, transactionFee *big.Int, gasPrice *big.Int, gasLimit *big.Int, nonce *big.Int, approvalData []byte, maxPossibleCharge *big.Int) (*big.Int, []byte, error)
AcceptRelayedCall is a free data retrieval call binding the contract method 0x83947ea0.
Solidity: function acceptRelayedCall(address relay, address from, bytes encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce, bytes approvalData, uint256 maxPossibleCharge) constant returns(uint256, bytes)
func (*DhTokenCallerSession) Allowance ¶
func (_DhToken *DhTokenCallerSession) 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) constant returns(uint256)
func (*DhTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) constant returns(uint256)
func (*DhTokenCallerSession) Decimals ¶
func (_DhToken *DhTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*DhTokenCallerSession) GetHubAddr ¶
func (_DhToken *DhTokenCallerSession) GetHubAddr() (common.Address, error)
GetHubAddr is a free data retrieval call binding the contract method 0x74e861d6.
Solidity: function getHubAddr() constant returns(address)
func (*DhTokenCallerSession) GetUserRepo ¶
func (_DhToken *DhTokenCallerSession) GetUserRepo(user common.Address) ([]string, error)
GetUserRepo is a free data retrieval call binding the contract method 0xc08e0b7d.
Solidity: function getUserRepo(address user) constant returns(string[])
func (*DhTokenCallerSession) IsOwner ¶
func (_DhToken *DhTokenCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*DhTokenCallerSession) Name ¶
func (_DhToken *DhTokenCallerSession) Name() (string, error)
ID is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*DhTokenCallerSession) Owner ¶
func (_DhToken *DhTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*DhTokenCallerSession) RelayHubVersion ¶
func (_DhToken *DhTokenCallerSession) RelayHubVersion() (string, error)
RelayHubVersion is a free data retrieval call binding the contract method 0xad61ccd5.
Solidity: function relayHubVersion() constant returns(string)
func (*DhTokenCallerSession) Symbol ¶
func (_DhToken *DhTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*DhTokenCallerSession) TotalSupply ¶
func (_DhToken *DhTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type DhTokenFilterer ¶
type DhTokenFilterer struct {
// contains filtered or unexported fields
}
DhTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDhTokenFilterer ¶
func NewDhTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*DhTokenFilterer, error)
NewDhTokenFilterer creates a new log filterer instance of DhToken, bound to a specific deployed contract.
func (*DhTokenFilterer) FilterApproval ¶
func (_DhToken *DhTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*DhTokenApprovalIterator, 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 (*DhTokenFilterer) FilterOwnershipTransferred ¶
func (_DhToken *DhTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DhTokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*DhTokenFilterer) FilterPinSuccess ¶
func (_DhToken *DhTokenFilterer) FilterPinSuccess(opts *bind.FilterOpts, user []common.Address) (*DhTokenPinSuccessIterator, error)
FilterPinSuccess is a free log retrieval operation binding the contract event 0x2e70b9f4f6d64827af2258d2bd720d8efc131138324657f457c275653517d683.
Solidity: event pinSuccess(address indexed user, string hash, string date)
func (*DhTokenFilterer) FilterRelayHubChanged ¶
func (_DhToken *DhTokenFilterer) FilterRelayHubChanged(opts *bind.FilterOpts, oldRelayHub []common.Address, newRelayHub []common.Address) (*DhTokenRelayHubChangedIterator, error)
FilterRelayHubChanged is a free log retrieval operation binding the contract event 0xb9f84b8e65164b14439ae3620df0a4d8786d896996c0282b683f9d8c08f046e8.
Solidity: event RelayHubChanged(address indexed oldRelayHub, address indexed newRelayHub)
func (*DhTokenFilterer) FilterTransfer ¶
func (_DhToken *DhTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DhTokenTransferIterator, 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 (*DhTokenFilterer) ParseApproval ¶
func (_DhToken *DhTokenFilterer) ParseApproval(log types.Log) (*DhTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*DhTokenFilterer) ParseOwnershipTransferred ¶
func (_DhToken *DhTokenFilterer) ParseOwnershipTransferred(log types.Log) (*DhTokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*DhTokenFilterer) ParsePinSuccess ¶
func (_DhToken *DhTokenFilterer) ParsePinSuccess(log types.Log) (*DhTokenPinSuccess, error)
ParsePinSuccess is a log parse operation binding the contract event 0x2e70b9f4f6d64827af2258d2bd720d8efc131138324657f457c275653517d683.
Solidity: event pinSuccess(address indexed user, string hash, string date)
func (*DhTokenFilterer) ParseRelayHubChanged ¶
func (_DhToken *DhTokenFilterer) ParseRelayHubChanged(log types.Log) (*DhTokenRelayHubChanged, error)
ParseRelayHubChanged is a log parse operation binding the contract event 0xb9f84b8e65164b14439ae3620df0a4d8786d896996c0282b683f9d8c08f046e8.
Solidity: event RelayHubChanged(address indexed oldRelayHub, address indexed newRelayHub)
func (*DhTokenFilterer) ParseTransfer ¶
func (_DhToken *DhTokenFilterer) ParseTransfer(log types.Log) (*DhTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*DhTokenFilterer) WatchApproval ¶
func (_DhToken *DhTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *DhTokenApproval, 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 (*DhTokenFilterer) WatchOwnershipTransferred ¶
func (_DhToken *DhTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DhTokenOwnershipTransferred, 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 (*DhTokenFilterer) WatchPinSuccess ¶
func (_DhToken *DhTokenFilterer) WatchPinSuccess(opts *bind.WatchOpts, sink chan<- *DhTokenPinSuccess, user []common.Address) (event.Subscription, error)
WatchPinSuccess is a free log subscription operation binding the contract event 0x2e70b9f4f6d64827af2258d2bd720d8efc131138324657f457c275653517d683.
Solidity: event pinSuccess(address indexed user, string hash, string date)
func (*DhTokenFilterer) WatchRelayHubChanged ¶
func (_DhToken *DhTokenFilterer) WatchRelayHubChanged(opts *bind.WatchOpts, sink chan<- *DhTokenRelayHubChanged, oldRelayHub []common.Address, newRelayHub []common.Address) (event.Subscription, error)
WatchRelayHubChanged is a free log subscription operation binding the contract event 0xb9f84b8e65164b14439ae3620df0a4d8786d896996c0282b683f9d8c08f046e8.
Solidity: event RelayHubChanged(address indexed oldRelayHub, address indexed newRelayHub)
func (*DhTokenFilterer) WatchTransfer ¶
func (_DhToken *DhTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *DhTokenTransfer, 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 DhTokenOwnershipTransferred ¶
type DhTokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
DhTokenOwnershipTransferred represents a OwnershipTransferred event raised by the DhToken contract.
type DhTokenOwnershipTransferredIterator ¶
type DhTokenOwnershipTransferredIterator struct { Event *DhTokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DhTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the DhToken contract.
func (*DhTokenOwnershipTransferredIterator) Close ¶
func (it *DhTokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DhTokenOwnershipTransferredIterator) Error ¶
func (it *DhTokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DhTokenOwnershipTransferredIterator) Next ¶
func (it *DhTokenOwnershipTransferredIterator) 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 DhTokenPinSuccess ¶
type DhTokenPinSuccess struct { User common.Address Hash string Date string Raw types.Log // Blockchain specific contextual infos }
DhTokenPinSuccess represents a PinSuccess event raised by the DhToken contract.
type DhTokenPinSuccessIterator ¶
type DhTokenPinSuccessIterator struct { Event *DhTokenPinSuccess // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DhTokenPinSuccessIterator is returned from FilterPinSuccess and is used to iterate over the raw logs and unpacked data for PinSuccess events raised by the DhToken contract.
func (*DhTokenPinSuccessIterator) Close ¶
func (it *DhTokenPinSuccessIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DhTokenPinSuccessIterator) Error ¶
func (it *DhTokenPinSuccessIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DhTokenPinSuccessIterator) Next ¶
func (it *DhTokenPinSuccessIterator) 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 DhTokenRaw ¶
type DhTokenRaw struct {
Contract *DhToken // Generic contract binding to access the raw methods on
}
DhTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DhTokenRaw) Call ¶
func (_DhToken *DhTokenRaw) 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 (*DhTokenRaw) Transact ¶
func (_DhToken *DhTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DhTokenRaw) Transfer ¶
func (_DhToken *DhTokenRaw) 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 DhTokenRelayHubChanged ¶
type DhTokenRelayHubChanged struct { OldRelayHub common.Address NewRelayHub common.Address Raw types.Log // Blockchain specific contextual infos }
DhTokenRelayHubChanged represents a RelayHubChanged event raised by the DhToken contract.
type DhTokenRelayHubChangedIterator ¶
type DhTokenRelayHubChangedIterator struct { Event *DhTokenRelayHubChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DhTokenRelayHubChangedIterator is returned from FilterRelayHubChanged and is used to iterate over the raw logs and unpacked data for RelayHubChanged events raised by the DhToken contract.
func (*DhTokenRelayHubChangedIterator) Close ¶
func (it *DhTokenRelayHubChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DhTokenRelayHubChangedIterator) Error ¶
func (it *DhTokenRelayHubChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DhTokenRelayHubChangedIterator) Next ¶
func (it *DhTokenRelayHubChangedIterator) 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 DhTokenSession ¶
type DhTokenSession struct { Contract *DhToken // 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 }
DhTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DhTokenSession) AcceptRelayedCall ¶
func (_DhToken *DhTokenSession) AcceptRelayedCall(relay common.Address, from common.Address, encodedFunction []byte, transactionFee *big.Int, gasPrice *big.Int, gasLimit *big.Int, nonce *big.Int, approvalData []byte, maxPossibleCharge *big.Int) (*big.Int, []byte, error)
AcceptRelayedCall is a free data retrieval call binding the contract method 0x83947ea0.
Solidity: function acceptRelayedCall(address relay, address from, bytes encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce, bytes approvalData, uint256 maxPossibleCharge) constant returns(uint256, bytes)
func (*DhTokenSession) Allowance ¶
func (_DhToken *DhTokenSession) 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) constant returns(uint256)
func (*DhTokenSession) Approve ¶
func (_DhToken *DhTokenSession) 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 (*DhTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) constant returns(uint256)
func (*DhTokenSession) Decimals ¶
func (_DhToken *DhTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*DhTokenSession) DecreaseAllowance ¶
func (_DhToken *DhTokenSession) 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 (*DhTokenSession) GenerateTokens ¶
func (_DhToken *DhTokenSession) GenerateTokens(amount *big.Int) (*types.Transaction, error)
GenerateTokens is a paid mutator transaction binding the contract method 0xca01ba39.
Solidity: function generateTokens(uint256 amount) returns()
func (*DhTokenSession) GetHubAddr ¶
func (_DhToken *DhTokenSession) GetHubAddr() (common.Address, error)
GetHubAddr is a free data retrieval call binding the contract method 0x74e861d6.
Solidity: function getHubAddr() constant returns(address)
func (*DhTokenSession) GetUserRepo ¶
func (_DhToken *DhTokenSession) GetUserRepo(user common.Address) ([]string, error)
GetUserRepo is a free data retrieval call binding the contract method 0xc08e0b7d.
Solidity: function getUserRepo(address user) constant returns(string[])
func (*DhTokenSession) IncreaseAllowance ¶
func (_DhToken *DhTokenSession) 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 (*DhTokenSession) IsOwner ¶
func (_DhToken *DhTokenSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() constant returns(bool)
func (*DhTokenSession) Name ¶
func (_DhToken *DhTokenSession) Name() (string, error)
ID is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*DhTokenSession) Owner ¶
func (_DhToken *DhTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*DhTokenSession) Pin ¶
func (_DhToken *DhTokenSession) Pin(user common.Address, hash string, date string) (*types.Transaction, error)
Pin is a paid mutator transaction binding the contract method 0xeabd7a31.
Solidity: function pin(address user, string hash, string date) returns()
func (*DhTokenSession) PostRelayedCall ¶
func (_DhToken *DhTokenSession) PostRelayedCall(context []byte, success bool, actualCharge *big.Int, preRetVal [32]byte) (*types.Transaction, error)
PostRelayedCall is a paid mutator transaction binding the contract method 0xe06e0e22.
Solidity: function postRelayedCall(bytes context, bool success, uint256 actualCharge, bytes32 preRetVal) returns()
func (*DhTokenSession) PreRelayedCall ¶
func (_DhToken *DhTokenSession) PreRelayedCall(context []byte) (*types.Transaction, error)
PreRelayedCall is a paid mutator transaction binding the contract method 0x80274db7.
Solidity: function preRelayedCall(bytes context) returns(bytes32)
func (*DhTokenSession) RelayHubVersion ¶
func (_DhToken *DhTokenSession) RelayHubVersion() (string, error)
RelayHubVersion is a free data retrieval call binding the contract method 0xad61ccd5.
Solidity: function relayHubVersion() constant returns(string)
func (*DhTokenSession) RenounceOwnership ¶
func (_DhToken *DhTokenSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DhTokenSession) Symbol ¶
func (_DhToken *DhTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*DhTokenSession) TotalSupply ¶
func (_DhToken *DhTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*DhTokenSession) Transfer ¶
func (_DhToken *DhTokenSession) Transfer(recipient common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 value) returns(bool)
func (*DhTokenSession) TransferFrom ¶
func (_DhToken *DhTokenSession) 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 (*DhTokenSession) TransferOwnership ¶
func (_DhToken *DhTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type DhTokenTransactor ¶
type DhTokenTransactor struct {
// contains filtered or unexported fields
}
DhTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDhTokenTransactor ¶
func NewDhTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*DhTokenTransactor, error)
NewDhTokenTransactor creates a new write-only instance of DhToken, bound to a specific deployed contract.
func (*DhTokenTransactor) Approve ¶
func (_DhToken *DhTokenTransactor) 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 (*DhTokenTransactor) DecreaseAllowance ¶
func (_DhToken *DhTokenTransactor) 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 (*DhTokenTransactor) GenerateTokens ¶
func (_DhToken *DhTokenTransactor) GenerateTokens(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
GenerateTokens is a paid mutator transaction binding the contract method 0xca01ba39.
Solidity: function generateTokens(uint256 amount) returns()
func (*DhTokenTransactor) IncreaseAllowance ¶
func (_DhToken *DhTokenTransactor) 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 (*DhTokenTransactor) Pin ¶
func (_DhToken *DhTokenTransactor) Pin(opts *bind.TransactOpts, user common.Address, hash string, date string) (*types.Transaction, error)
Pin is a paid mutator transaction binding the contract method 0xeabd7a31.
Solidity: function pin(address user, string hash, string date) returns()
func (*DhTokenTransactor) PostRelayedCall ¶
func (_DhToken *DhTokenTransactor) PostRelayedCall(opts *bind.TransactOpts, context []byte, success bool, actualCharge *big.Int, preRetVal [32]byte) (*types.Transaction, error)
PostRelayedCall is a paid mutator transaction binding the contract method 0xe06e0e22.
Solidity: function postRelayedCall(bytes context, bool success, uint256 actualCharge, bytes32 preRetVal) returns()
func (*DhTokenTransactor) PreRelayedCall ¶
func (_DhToken *DhTokenTransactor) PreRelayedCall(opts *bind.TransactOpts, context []byte) (*types.Transaction, error)
PreRelayedCall is a paid mutator transaction binding the contract method 0x80274db7.
Solidity: function preRelayedCall(bytes context) returns(bytes32)
func (*DhTokenTransactor) RenounceOwnership ¶
func (_DhToken *DhTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DhTokenTransactor) Transfer ¶
func (_DhToken *DhTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 value) returns(bool)
func (*DhTokenTransactor) TransferFrom ¶
func (_DhToken *DhTokenTransactor) 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 (*DhTokenTransactor) TransferOwnership ¶
func (_DhToken *DhTokenTransactor) 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()
type DhTokenTransactorRaw ¶
type DhTokenTransactorRaw struct {
Contract *DhTokenTransactor // Generic write-only contract binding to access the raw methods on
}
DhTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DhTokenTransactorRaw) Transact ¶
func (_DhToken *DhTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DhTokenTransactorRaw) Transfer ¶
func (_DhToken *DhTokenTransactorRaw) 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 DhTokenTransactorSession ¶
type DhTokenTransactorSession struct { Contract *DhTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DhTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DhTokenTransactorSession) Approve ¶
func (_DhToken *DhTokenTransactorSession) 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 (*DhTokenTransactorSession) DecreaseAllowance ¶
func (_DhToken *DhTokenTransactorSession) 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 (*DhTokenTransactorSession) GenerateTokens ¶
func (_DhToken *DhTokenTransactorSession) GenerateTokens(amount *big.Int) (*types.Transaction, error)
GenerateTokens is a paid mutator transaction binding the contract method 0xca01ba39.
Solidity: function generateTokens(uint256 amount) returns()
func (*DhTokenTransactorSession) IncreaseAllowance ¶
func (_DhToken *DhTokenTransactorSession) 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 (*DhTokenTransactorSession) Pin ¶
func (_DhToken *DhTokenTransactorSession) Pin(user common.Address, hash string, date string) (*types.Transaction, error)
Pin is a paid mutator transaction binding the contract method 0xeabd7a31.
Solidity: function pin(address user, string hash, string date) returns()
func (*DhTokenTransactorSession) PostRelayedCall ¶
func (_DhToken *DhTokenTransactorSession) PostRelayedCall(context []byte, success bool, actualCharge *big.Int, preRetVal [32]byte) (*types.Transaction, error)
PostRelayedCall is a paid mutator transaction binding the contract method 0xe06e0e22.
Solidity: function postRelayedCall(bytes context, bool success, uint256 actualCharge, bytes32 preRetVal) returns()
func (*DhTokenTransactorSession) PreRelayedCall ¶
func (_DhToken *DhTokenTransactorSession) PreRelayedCall(context []byte) (*types.Transaction, error)
PreRelayedCall is a paid mutator transaction binding the contract method 0x80274db7.
Solidity: function preRelayedCall(bytes context) returns(bytes32)
func (*DhTokenTransactorSession) RenounceOwnership ¶
func (_DhToken *DhTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*DhTokenTransactorSession) Transfer ¶
func (_DhToken *DhTokenTransactorSession) Transfer(recipient common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 value) returns(bool)
func (*DhTokenTransactorSession) TransferFrom ¶
func (_DhToken *DhTokenTransactorSession) 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 (*DhTokenTransactorSession) TransferOwnership ¶
func (_DhToken *DhTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type DhTokenTransfer ¶
type DhTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
DhTokenTransfer represents a Transfer event raised by the DhToken contract.
type DhTokenTransferIterator ¶
type DhTokenTransferIterator struct { Event *DhTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DhTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the DhToken contract.
func (*DhTokenTransferIterator) Close ¶
func (it *DhTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DhTokenTransferIterator) Error ¶
func (it *DhTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DhTokenTransferIterator) Next ¶
func (it *DhTokenTransferIterator) 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.