Documentation ¶
Index ¶
- Constants
- func GetAccountByPriKey(priKey string) (*ecdsa.PrivateKey, common.Address, error)
- type QGasChain
- type QGasChainApproval
- type QGasChainApprovalIterator
- type QGasChainBurn
- type QGasChainBurnIterator
- type QGasChainCaller
- func (_QGasChain *QGasChainCaller) Active(opts *bind.CallOpts) (bool, error)
- func (_QGasChain *QGasChainCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_QGasChain *QGasChainCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_QGasChain *QGasChainCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_QGasChain *QGasChainCaller) LockedAmount(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_QGasChain *QGasChainCaller) Name(opts *bind.CallOpts) (string, error)
- func (_QGasChain *QGasChainCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_QGasChain *QGasChainCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_QGasChain *QGasChainCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type QGasChainCallerRaw
- type QGasChainCallerSession
- func (_QGasChain *QGasChainCallerSession) Active() (bool, error)
- func (_QGasChain *QGasChainCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_QGasChain *QGasChainCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_QGasChain *QGasChainCallerSession) Decimals() (uint8, error)
- func (_QGasChain *QGasChainCallerSession) LockedAmount(arg0 [32]byte) (*big.Int, error)
- func (_QGasChain *QGasChainCallerSession) Name() (string, error)
- func (_QGasChain *QGasChainCallerSession) Owner() (common.Address, error)
- func (_QGasChain *QGasChainCallerSession) Symbol() (string, error)
- func (_QGasChain *QGasChainCallerSession) TotalSupply() (*big.Int, error)
- type QGasChainFilterer
- func (_QGasChain *QGasChainFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*QGasChainApprovalIterator, error)
- func (_QGasChain *QGasChainFilterer) FilterBurn(opts *bind.FilterOpts, user []common.Address) (*QGasChainBurnIterator, error)
- func (_QGasChain *QGasChainFilterer) FilterMint(opts *bind.FilterOpts, user []common.Address) (*QGasChainMintIterator, error)
- func (_QGasChain *QGasChainFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*QGasChainOwnershipTransferredIterator, error)
- func (_QGasChain *QGasChainFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*QGasChainTransferIterator, error)
- func (_QGasChain *QGasChainFilterer) ParseApproval(log types.Log) (*QGasChainApproval, error)
- func (_QGasChain *QGasChainFilterer) ParseBurn(log types.Log) (*QGasChainBurn, error)
- func (_QGasChain *QGasChainFilterer) ParseMint(log types.Log) (*QGasChainMint, error)
- func (_QGasChain *QGasChainFilterer) ParseOwnershipTransferred(log types.Log) (*QGasChainOwnershipTransferred, error)
- func (_QGasChain *QGasChainFilterer) ParseTransfer(log types.Log) (*QGasChainTransfer, error)
- func (_QGasChain *QGasChainFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *QGasChainApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_QGasChain *QGasChainFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *QGasChainBurn, user []common.Address) (event.Subscription, error)
- func (_QGasChain *QGasChainFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *QGasChainMint, user []common.Address) (event.Subscription, error)
- func (_QGasChain *QGasChainFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *QGasChainOwnershipTransferred, ...) (event.Subscription, error)
- func (_QGasChain *QGasChainFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *QGasChainTransfer, from []common.Address, ...) (event.Subscription, error)
- type QGasChainMint
- type QGasChainMintIterator
- type QGasChainOwnershipTransferred
- type QGasChainOwnershipTransferredIterator
- type QGasChainRaw
- func (_QGasChain *QGasChainRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_QGasChain *QGasChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_QGasChain *QGasChainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type QGasChainSession
- func (_QGasChain *QGasChainSession) Active() (bool, error)
- func (_QGasChain *QGasChainSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_QGasChain *QGasChainSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_QGasChain *QGasChainSession) Burn(qlcAddr string, amount *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainSession) CircuitBraker() (*types.Transaction, error)
- func (_QGasChain *QGasChainSession) Decimals() (uint8, error)
- func (_QGasChain *QGasChainSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainSession) Initialize(name string, symbol string) (*types.Transaction, error)
- func (_QGasChain *QGasChainSession) LockedAmount(arg0 [32]byte) (*big.Int, error)
- func (_QGasChain *QGasChainSession) Mint(amount *big.Int, qlcHash [32]byte, signature []byte) (*types.Transaction, error)
- func (_QGasChain *QGasChainSession) Name() (string, error)
- func (_QGasChain *QGasChainSession) Owner() (common.Address, error)
- func (_QGasChain *QGasChainSession) RenounceOwnership() (*types.Transaction, error)
- func (_QGasChain *QGasChainSession) Symbol() (string, error)
- func (_QGasChain *QGasChainSession) TotalSupply() (*big.Int, error)
- func (_QGasChain *QGasChainSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type QGasChainTransactor
- func (_QGasChain *QGasChainTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactor) Burn(opts *bind.TransactOpts, qlcAddr string, amount *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactor) CircuitBraker(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactor) Initialize(opts *bind.TransactOpts, name string, symbol string) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactor) Mint(opts *bind.TransactOpts, amount *big.Int, qlcHash [32]byte, signature []byte) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type QGasChainTransactorRaw
- type QGasChainTransactorSession
- func (_QGasChain *QGasChainTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactorSession) Burn(qlcAddr string, amount *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactorSession) CircuitBraker() (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactorSession) Initialize(name string, symbol string) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactorSession) Mint(amount *big.Int, qlcHash [32]byte, signature []byte) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QGasChain *QGasChainTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type QGasChainTransfer
- type QGasChainTransferIterator
- type QLCChain
- type QLCChainApproval
- type QLCChainApprovalIterator
- type QLCChainBurn
- type QLCChainBurnIterator
- type QLCChainCaller
- func (_QLCChain *QLCChainCaller) Active(opts *bind.CallOpts) (bool, error)
- func (_QLCChain *QLCChainCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_QLCChain *QLCChainCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_QLCChain *QLCChainCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_QLCChain *QLCChainCaller) LockedAmount(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_QLCChain *QLCChainCaller) Name(opts *bind.CallOpts) (string, error)
- func (_QLCChain *QLCChainCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_QLCChain *QLCChainCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_QLCChain *QLCChainCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type QLCChainCallerRaw
- type QLCChainCallerSession
- func (_QLCChain *QLCChainCallerSession) Active() (bool, error)
- func (_QLCChain *QLCChainCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_QLCChain *QLCChainCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_QLCChain *QLCChainCallerSession) Decimals() (uint8, error)
- func (_QLCChain *QLCChainCallerSession) LockedAmount(arg0 [32]byte) (*big.Int, error)
- func (_QLCChain *QLCChainCallerSession) Name() (string, error)
- func (_QLCChain *QLCChainCallerSession) Owner() (common.Address, error)
- func (_QLCChain *QLCChainCallerSession) Symbol() (string, error)
- func (_QLCChain *QLCChainCallerSession) TotalSupply() (*big.Int, error)
- type QLCChainFilterer
- func (_QLCChain *QLCChainFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*QLCChainApprovalIterator, error)
- func (_QLCChain *QLCChainFilterer) FilterBurn(opts *bind.FilterOpts, user []common.Address) (*QLCChainBurnIterator, error)
- func (_QLCChain *QLCChainFilterer) FilterMint(opts *bind.FilterOpts, user []common.Address) (*QLCChainMintIterator, error)
- func (_QLCChain *QLCChainFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*QLCChainOwnershipTransferredIterator, error)
- func (_QLCChain *QLCChainFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*QLCChainTransferIterator, error)
- func (_QLCChain *QLCChainFilterer) ParseApproval(log types.Log) (*QLCChainApproval, error)
- func (_QLCChain *QLCChainFilterer) ParseBurn(log types.Log) (*QLCChainBurn, error)
- func (_QLCChain *QLCChainFilterer) ParseMint(log types.Log) (*QLCChainMint, error)
- func (_QLCChain *QLCChainFilterer) ParseOwnershipTransferred(log types.Log) (*QLCChainOwnershipTransferred, error)
- func (_QLCChain *QLCChainFilterer) ParseTransfer(log types.Log) (*QLCChainTransfer, error)
- func (_QLCChain *QLCChainFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *QLCChainApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_QLCChain *QLCChainFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *QLCChainBurn, user []common.Address) (event.Subscription, error)
- func (_QLCChain *QLCChainFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *QLCChainMint, user []common.Address) (event.Subscription, error)
- func (_QLCChain *QLCChainFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *QLCChainOwnershipTransferred, ...) (event.Subscription, error)
- func (_QLCChain *QLCChainFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *QLCChainTransfer, from []common.Address, ...) (event.Subscription, error)
- type QLCChainMint
- type QLCChainMintIterator
- type QLCChainOwnershipTransferred
- type QLCChainOwnershipTransferredIterator
- type QLCChainRaw
- func (_QLCChain *QLCChainRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_QLCChain *QLCChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_QLCChain *QLCChainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type QLCChainSession
- func (_QLCChain *QLCChainSession) Active() (bool, error)
- func (_QLCChain *QLCChainSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_QLCChain *QLCChainSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_QLCChain *QLCChainSession) Burn(nep5Addr string, amount *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainSession) CircuitBraker() (*types.Transaction, error)
- func (_QLCChain *QLCChainSession) Decimals() (uint8, error)
- func (_QLCChain *QLCChainSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainSession) Initialize(name string, symbol string) (*types.Transaction, error)
- func (_QLCChain *QLCChainSession) LockedAmount(arg0 [32]byte) (*big.Int, error)
- func (_QLCChain *QLCChainSession) Mint(amount *big.Int, nep5Hash [32]byte, signature []byte) (*types.Transaction, error)
- func (_QLCChain *QLCChainSession) Name() (string, error)
- func (_QLCChain *QLCChainSession) Owner() (common.Address, error)
- func (_QLCChain *QLCChainSession) RenounceOwnership() (*types.Transaction, error)
- func (_QLCChain *QLCChainSession) Symbol() (string, error)
- func (_QLCChain *QLCChainSession) TotalSupply() (*big.Int, error)
- func (_QLCChain *QLCChainSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type QLCChainTransactor
- func (_QLCChain *QLCChainTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactor) Burn(opts *bind.TransactOpts, nep5Addr string, amount *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactor) CircuitBraker(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactor) Initialize(opts *bind.TransactOpts, name string, symbol string) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactor) Mint(opts *bind.TransactOpts, amount *big.Int, nep5Hash [32]byte, signature []byte) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type QLCChainTransactorRaw
- type QLCChainTransactorSession
- func (_QLCChain *QLCChainTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactorSession) Burn(nep5Addr string, amount *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactorSession) CircuitBraker() (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactorSession) Initialize(name string, symbol string) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactorSession) Mint(amount *big.Int, nep5Hash [32]byte, signature []byte) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_QLCChain *QLCChainTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type QLCChainTransfer
- type QLCChainTransferIterator
- type Transaction
- func (t *Transaction) AddTransaction(hash string)
- func (t *Transaction) BalanceOf(address string) (*big.Int, error)
- func (t *Transaction) Burn(signerAccount string, nep5Addr string, amount *big.Int) (string, error)
- func (t *Transaction) Client() *ethclient.Client
- func (t *Transaction) ClientEndpoint() string
- func (t *Transaction) DeleteTransaction(hash string)
- func (t *Transaction) EthBalance(addr string) (int64, error)
- func (t *Transaction) GetBestBlockHeight() (int64, error)
- func (t *Transaction) GetLockedAmountByNeoTxHash(neoHash string) (*big.Int, error)
- func (t *Transaction) GetLockedAmountByQLCTxHash(qlcHash string) (*big.Int, error)
- func (t *Transaction) HasBlockConfirmed(txHash common.Hash, interval int64) (bool, error)
- func (t *Transaction) HasConfirmedBlocksByHeight(startHeight int64, interval int64) (bool, int64)
- func (t *Transaction) HasTransaction(hash string) bool
- func (t *Transaction) Mint(signerAccount string, amount *big.Int, neoHash string, signature string) (string, error)
- func (t *Transaction) QGasBurn(signerAccount string, nep5Addr string, amount *big.Int) (string, error)
- func (t *Transaction) QGasMint(signerAccount string, amount *big.Int, neoHash string, signature string) (string, error)
- func (t *Transaction) QGasSyncBurnLog(txHash string) (*big.Int, common.Address, string, error)
- func (t *Transaction) QGasSyncMintLog(txHash string) (*big.Int, common.Address, string, error)
- func (t *Transaction) SyncBurnLog(txHash string) (*big.Int, common.Address, string, error)
- func (t *Transaction) SyncMintLog(txHash string) (*big.Int, common.Address, string, error)
- func (t *Transaction) TotalSupply() int64
- func (t *Transaction) WaitTxVerifyAndConfirmed(txHash common.Hash, txHeight uint64, interval int64) error
Constants ¶
const QGasChainABI = "" /* 6500-byte string literal not displayed */
QGasChainABI is the input ABI used to generate the binding from.
const QLCChainABI = "" /* 6342-byte string literal not displayed */
QLCChainABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
func GetAccountByPriKey ¶
Types ¶
type QGasChain ¶ added in v1.0.1
type QGasChain struct { QGasChainCaller // Read-only binding to the contract QGasChainTransactor // Write-only binding to the contract QGasChainFilterer // Log filterer for contract events }
QGasChain is an auto generated Go binding around an Ethereum contract.
func NewQGasChain ¶ added in v1.0.1
NewQGasChain creates a new instance of QGasChain, bound to a specific deployed contract.
type QGasChainApproval ¶ added in v1.0.1
type QGasChainApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
QGasChainApproval represents a Approval event raised by the QGasChain contract.
type QGasChainApprovalIterator ¶ added in v1.0.1
type QGasChainApprovalIterator struct { Event *QGasChainApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QGasChainApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the QGasChain contract.
func (*QGasChainApprovalIterator) Close ¶ added in v1.0.1
func (it *QGasChainApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QGasChainApprovalIterator) Error ¶ added in v1.0.1
func (it *QGasChainApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QGasChainApprovalIterator) Next ¶ added in v1.0.1
func (it *QGasChainApprovalIterator) 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 QGasChainBurn ¶ added in v1.0.1
type QGasChainBurn struct { User common.Address QlcAddr string Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
QGasChainBurn represents a Burn event raised by the QGasChain contract.
type QGasChainBurnIterator ¶ added in v1.0.1
type QGasChainBurnIterator struct { Event *QGasChainBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QGasChainBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the QGasChain contract.
func (*QGasChainBurnIterator) Close ¶ added in v1.0.1
func (it *QGasChainBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QGasChainBurnIterator) Error ¶ added in v1.0.1
func (it *QGasChainBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QGasChainBurnIterator) Next ¶ added in v1.0.1
func (it *QGasChainBurnIterator) 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 QGasChainCaller ¶ added in v1.0.1
type QGasChainCaller struct {
// contains filtered or unexported fields
}
QGasChainCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewQGasChainCaller ¶ added in v1.0.1
func NewQGasChainCaller(address common.Address, caller bind.ContractCaller) (*QGasChainCaller, error)
NewQGasChainCaller creates a new read-only instance of QGasChain, bound to a specific deployed contract.
func (*QGasChainCaller) Active ¶ added in v1.0.1
func (_QGasChain *QGasChainCaller) Active(opts *bind.CallOpts) (bool, error)
Active is a free data retrieval call binding the contract method 0x02fb0c5e.
Solidity: function active() view returns(bool)
func (*QGasChainCaller) Allowance ¶ added in v1.0.1
func (_QGasChain *QGasChainCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*QGasChainCaller) BalanceOf ¶ added in v1.0.1
func (_QGasChain *QGasChainCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*QGasChainCaller) Decimals ¶ added in v1.0.1
func (_QGasChain *QGasChainCaller) 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 (*QGasChainCaller) LockedAmount ¶ added in v1.0.1
func (_QGasChain *QGasChainCaller) LockedAmount(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
LockedAmount is a free data retrieval call binding the contract method 0x172a16a4.
Solidity: function lockedAmount(bytes32 ) view returns(uint256)
func (*QGasChainCaller) Name ¶ added in v1.0.1
func (_QGasChain *QGasChainCaller) 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 (*QGasChainCaller) Owner ¶ added in v1.0.1
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*QGasChainCaller) Symbol ¶ added in v1.0.1
func (_QGasChain *QGasChainCaller) 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 (*QGasChainCaller) TotalSupply ¶ added in v1.0.1
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type QGasChainCallerRaw ¶ added in v1.0.1
type QGasChainCallerRaw struct {
Contract *QGasChainCaller // Generic read-only contract binding to access the raw methods on
}
QGasChainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*QGasChainCallerRaw) Call ¶ added in v1.0.1
func (_QGasChain *QGasChainCallerRaw) 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 QGasChainCallerSession ¶ added in v1.0.1
type QGasChainCallerSession struct { Contract *QGasChainCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
QGasChainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*QGasChainCallerSession) Active ¶ added in v1.0.1
func (_QGasChain *QGasChainCallerSession) Active() (bool, error)
Active is a free data retrieval call binding the contract method 0x02fb0c5e.
Solidity: function active() view returns(bool)
func (*QGasChainCallerSession) Allowance ¶ added in v1.0.1
func (_QGasChain *QGasChainCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*QGasChainCallerSession) BalanceOf ¶ added in v1.0.1
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*QGasChainCallerSession) Decimals ¶ added in v1.0.1
func (_QGasChain *QGasChainCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*QGasChainCallerSession) LockedAmount ¶ added in v1.0.1
func (_QGasChain *QGasChainCallerSession) LockedAmount(arg0 [32]byte) (*big.Int, error)
LockedAmount is a free data retrieval call binding the contract method 0x172a16a4.
Solidity: function lockedAmount(bytes32 ) view returns(uint256)
func (*QGasChainCallerSession) Name ¶ added in v1.0.1
func (_QGasChain *QGasChainCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*QGasChainCallerSession) Owner ¶ added in v1.0.1
func (_QGasChain *QGasChainCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*QGasChainCallerSession) Symbol ¶ added in v1.0.1
func (_QGasChain *QGasChainCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*QGasChainCallerSession) TotalSupply ¶ added in v1.0.1
func (_QGasChain *QGasChainCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type QGasChainFilterer ¶ added in v1.0.1
type QGasChainFilterer struct {
// contains filtered or unexported fields
}
QGasChainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewQGasChainFilterer ¶ added in v1.0.1
func NewQGasChainFilterer(address common.Address, filterer bind.ContractFilterer) (*QGasChainFilterer, error)
NewQGasChainFilterer creates a new log filterer instance of QGasChain, bound to a specific deployed contract.
func (*QGasChainFilterer) FilterApproval ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*QGasChainApprovalIterator, 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 (*QGasChainFilterer) FilterBurn ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) FilterBurn(opts *bind.FilterOpts, user []common.Address) (*QGasChainBurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0xfdf096248d2b7b0aef506231c043107c21faacc26193881b3f0cdc8b5479692a.
Solidity: event Burn(address indexed user, string qlcAddr, uint256 amount)
func (*QGasChainFilterer) FilterMint ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) FilterMint(opts *bind.FilterOpts, user []common.Address) (*QGasChainMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x103a2d32aec953695f3b9ec5ed6c1c6cb822debe92cf1fcf0832cb2c262c7eec.
Solidity: event Mint(address indexed user, bytes32 qlcHash, uint256 amount)
func (*QGasChainFilterer) FilterOwnershipTransferred ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*QGasChainOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*QGasChainFilterer) FilterTransfer ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*QGasChainTransferIterator, 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 (*QGasChainFilterer) ParseApproval ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) ParseApproval(log types.Log) (*QGasChainApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*QGasChainFilterer) ParseBurn ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) ParseBurn(log types.Log) (*QGasChainBurn, error)
ParseBurn is a log parse operation binding the contract event 0xfdf096248d2b7b0aef506231c043107c21faacc26193881b3f0cdc8b5479692a.
Solidity: event Burn(address indexed user, string qlcAddr, uint256 amount)
func (*QGasChainFilterer) ParseMint ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) ParseMint(log types.Log) (*QGasChainMint, error)
ParseMint is a log parse operation binding the contract event 0x103a2d32aec953695f3b9ec5ed6c1c6cb822debe92cf1fcf0832cb2c262c7eec.
Solidity: event Mint(address indexed user, bytes32 qlcHash, uint256 amount)
func (*QGasChainFilterer) ParseOwnershipTransferred ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) ParseOwnershipTransferred(log types.Log) (*QGasChainOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*QGasChainFilterer) ParseTransfer ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) ParseTransfer(log types.Log) (*QGasChainTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*QGasChainFilterer) WatchApproval ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *QGasChainApproval, 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 (*QGasChainFilterer) WatchBurn ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *QGasChainBurn, user []common.Address) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0xfdf096248d2b7b0aef506231c043107c21faacc26193881b3f0cdc8b5479692a.
Solidity: event Burn(address indexed user, string qlcAddr, uint256 amount)
func (*QGasChainFilterer) WatchMint ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *QGasChainMint, user []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x103a2d32aec953695f3b9ec5ed6c1c6cb822debe92cf1fcf0832cb2c262c7eec.
Solidity: event Mint(address indexed user, bytes32 qlcHash, uint256 amount)
func (*QGasChainFilterer) WatchOwnershipTransferred ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *QGasChainOwnershipTransferred, 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 (*QGasChainFilterer) WatchTransfer ¶ added in v1.0.1
func (_QGasChain *QGasChainFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *QGasChainTransfer, 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 QGasChainMint ¶ added in v1.0.1
type QGasChainMint struct { User common.Address QlcHash [32]byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
QGasChainMint represents a Mint event raised by the QGasChain contract.
type QGasChainMintIterator ¶ added in v1.0.1
type QGasChainMintIterator struct { Event *QGasChainMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QGasChainMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the QGasChain contract.
func (*QGasChainMintIterator) Close ¶ added in v1.0.1
func (it *QGasChainMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QGasChainMintIterator) Error ¶ added in v1.0.1
func (it *QGasChainMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QGasChainMintIterator) Next ¶ added in v1.0.1
func (it *QGasChainMintIterator) 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 QGasChainOwnershipTransferred ¶ added in v1.0.1
type QGasChainOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
QGasChainOwnershipTransferred represents a OwnershipTransferred event raised by the QGasChain contract.
type QGasChainOwnershipTransferredIterator ¶ added in v1.0.1
type QGasChainOwnershipTransferredIterator struct { Event *QGasChainOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QGasChainOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the QGasChain contract.
func (*QGasChainOwnershipTransferredIterator) Close ¶ added in v1.0.1
func (it *QGasChainOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QGasChainOwnershipTransferredIterator) Error ¶ added in v1.0.1
func (it *QGasChainOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QGasChainOwnershipTransferredIterator) Next ¶ added in v1.0.1
func (it *QGasChainOwnershipTransferredIterator) 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 QGasChainRaw ¶ added in v1.0.1
type QGasChainRaw struct {
Contract *QGasChain // Generic contract binding to access the raw methods on
}
QGasChainRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*QGasChainRaw) Call ¶ added in v1.0.1
func (_QGasChain *QGasChainRaw) 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 (*QGasChainRaw) Transact ¶ added in v1.0.1
func (_QGasChain *QGasChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*QGasChainRaw) Transfer ¶ added in v1.0.1
func (_QGasChain *QGasChainRaw) 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 QGasChainSession ¶ added in v1.0.1
type QGasChainSession struct { Contract *QGasChain // 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 }
QGasChainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*QGasChainSession) Active ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) Active() (bool, error)
Active is a free data retrieval call binding the contract method 0x02fb0c5e.
Solidity: function active() view returns(bool)
func (*QGasChainSession) Allowance ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*QGasChainSession) Approve ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) 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 (*QGasChainSession) BalanceOf ¶ added in v1.0.1
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*QGasChainSession) Burn ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) Burn(qlcAddr string, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xb48272cc.
Solidity: function burn(string qlcAddr, uint256 amount) returns()
func (*QGasChainSession) CircuitBraker ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) CircuitBraker() (*types.Transaction, error)
CircuitBraker is a paid mutator transaction binding the contract method 0xdd064a7d.
Solidity: function circuitBraker() returns()
func (*QGasChainSession) Decimals ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*QGasChainSession) DecreaseAllowance ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) 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 (*QGasChainSession) IncreaseAllowance ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) 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 (*QGasChainSession) Initialize ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) Initialize(name string, symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string name, string symbol) returns()
func (*QGasChainSession) LockedAmount ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) LockedAmount(arg0 [32]byte) (*big.Int, error)
LockedAmount is a free data retrieval call binding the contract method 0x172a16a4.
Solidity: function lockedAmount(bytes32 ) view returns(uint256)
func (*QGasChainSession) Mint ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) Mint(amount *big.Int, qlcHash [32]byte, signature []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x9ab475b5.
Solidity: function mint(uint256 amount, bytes32 qlcHash, bytes signature) returns()
func (*QGasChainSession) Name ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*QGasChainSession) Owner ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*QGasChainSession) RenounceOwnership ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*QGasChainSession) Symbol ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*QGasChainSession) TotalSupply ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*QGasChainSession) Transfer ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*QGasChainSession) TransferFrom ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) 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 (*QGasChainSession) TransferOwnership ¶ added in v1.0.1
func (_QGasChain *QGasChainSession) 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 QGasChainTransactor ¶ added in v1.0.1
type QGasChainTransactor struct {
// contains filtered or unexported fields
}
QGasChainTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewQGasChainTransactor ¶ added in v1.0.1
func NewQGasChainTransactor(address common.Address, transactor bind.ContractTransactor) (*QGasChainTransactor, error)
NewQGasChainTransactor creates a new write-only instance of QGasChain, bound to a specific deployed contract.
func (*QGasChainTransactor) Approve ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactor) 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 (*QGasChainTransactor) Burn ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactor) Burn(opts *bind.TransactOpts, qlcAddr string, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xb48272cc.
Solidity: function burn(string qlcAddr, uint256 amount) returns()
func (*QGasChainTransactor) CircuitBraker ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactor) CircuitBraker(opts *bind.TransactOpts) (*types.Transaction, error)
CircuitBraker is a paid mutator transaction binding the contract method 0xdd064a7d.
Solidity: function circuitBraker() returns()
func (*QGasChainTransactor) DecreaseAllowance ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactor) 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 (*QGasChainTransactor) IncreaseAllowance ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactor) 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 (*QGasChainTransactor) Initialize ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactor) Initialize(opts *bind.TransactOpts, name string, symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string name, string symbol) returns()
func (*QGasChainTransactor) Mint ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactor) Mint(opts *bind.TransactOpts, amount *big.Int, qlcHash [32]byte, signature []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x9ab475b5.
Solidity: function mint(uint256 amount, bytes32 qlcHash, bytes signature) returns()
func (*QGasChainTransactor) RenounceOwnership ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*QGasChainTransactor) Transfer ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*QGasChainTransactor) TransferFrom ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactor) 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 (*QGasChainTransactor) TransferOwnership ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactor) 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 QGasChainTransactorRaw ¶ added in v1.0.1
type QGasChainTransactorRaw struct {
Contract *QGasChainTransactor // Generic write-only contract binding to access the raw methods on
}
QGasChainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*QGasChainTransactorRaw) Transact ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*QGasChainTransactorRaw) Transfer ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorRaw) 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 QGasChainTransactorSession ¶ added in v1.0.1
type QGasChainTransactorSession struct { Contract *QGasChainTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
QGasChainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*QGasChainTransactorSession) Approve ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorSession) 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 (*QGasChainTransactorSession) Burn ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorSession) Burn(qlcAddr string, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xb48272cc.
Solidity: function burn(string qlcAddr, uint256 amount) returns()
func (*QGasChainTransactorSession) CircuitBraker ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorSession) CircuitBraker() (*types.Transaction, error)
CircuitBraker is a paid mutator transaction binding the contract method 0xdd064a7d.
Solidity: function circuitBraker() returns()
func (*QGasChainTransactorSession) DecreaseAllowance ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorSession) 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 (*QGasChainTransactorSession) IncreaseAllowance ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorSession) 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 (*QGasChainTransactorSession) Initialize ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorSession) Initialize(name string, symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string name, string symbol) returns()
func (*QGasChainTransactorSession) Mint ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorSession) Mint(amount *big.Int, qlcHash [32]byte, signature []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x9ab475b5.
Solidity: function mint(uint256 amount, bytes32 qlcHash, bytes signature) returns()
func (*QGasChainTransactorSession) RenounceOwnership ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*QGasChainTransactorSession) Transfer ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*QGasChainTransactorSession) TransferFrom ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorSession) 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 (*QGasChainTransactorSession) TransferOwnership ¶ added in v1.0.1
func (_QGasChain *QGasChainTransactorSession) 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 QGasChainTransfer ¶ added in v1.0.1
type QGasChainTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
QGasChainTransfer represents a Transfer event raised by the QGasChain contract.
type QGasChainTransferIterator ¶ added in v1.0.1
type QGasChainTransferIterator struct { Event *QGasChainTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QGasChainTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the QGasChain contract.
func (*QGasChainTransferIterator) Close ¶ added in v1.0.1
func (it *QGasChainTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QGasChainTransferIterator) Error ¶ added in v1.0.1
func (it *QGasChainTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QGasChainTransferIterator) Next ¶ added in v1.0.1
func (it *QGasChainTransferIterator) 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 QLCChain ¶
type QLCChain struct { QLCChainCaller // Read-only binding to the contract QLCChainTransactor // Write-only binding to the contract QLCChainFilterer // Log filterer for contract events }
QLCChain is an auto generated Go binding around an Ethereum contract.
func NewQLCChain ¶
NewQLCChain creates a new instance of QLCChain, bound to a specific deployed contract.
type QLCChainApproval ¶
type QLCChainApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
QLCChainApproval represents a Approval event raised by the QLCChain contract.
type QLCChainApprovalIterator ¶
type QLCChainApprovalIterator struct { Event *QLCChainApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QLCChainApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the QLCChain contract.
func (*QLCChainApprovalIterator) Close ¶
func (it *QLCChainApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QLCChainApprovalIterator) Error ¶
func (it *QLCChainApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QLCChainApprovalIterator) Next ¶
func (it *QLCChainApprovalIterator) 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 QLCChainBurn ¶ added in v1.0.1
type QLCChainBurn struct { User common.Address Nep5Addr string Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
QLCChainBurn represents a Burn event raised by the QLCChain contract.
type QLCChainBurnIterator ¶ added in v1.0.1
type QLCChainBurnIterator struct { Event *QLCChainBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QLCChainBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the QLCChain contract.
func (*QLCChainBurnIterator) Close ¶ added in v1.0.1
func (it *QLCChainBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QLCChainBurnIterator) Error ¶ added in v1.0.1
func (it *QLCChainBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QLCChainBurnIterator) Next ¶ added in v1.0.1
func (it *QLCChainBurnIterator) 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 QLCChainCaller ¶
type QLCChainCaller struct {
// contains filtered or unexported fields
}
QLCChainCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewQLCChainCaller ¶
func NewQLCChainCaller(address common.Address, caller bind.ContractCaller) (*QLCChainCaller, error)
NewQLCChainCaller creates a new read-only instance of QLCChain, bound to a specific deployed contract.
func (*QLCChainCaller) Active ¶ added in v1.0.1
func (_QLCChain *QLCChainCaller) Active(opts *bind.CallOpts) (bool, error)
Active is a free data retrieval call binding the contract method 0x02fb0c5e.
Solidity: function active() view returns(bool)
func (*QLCChainCaller) Allowance ¶
func (_QLCChain *QLCChainCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*QLCChainCaller) BalanceOf ¶
func (_QLCChain *QLCChainCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*QLCChainCaller) Decimals ¶
func (_QLCChain *QLCChainCaller) 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 (*QLCChainCaller) LockedAmount ¶ added in v1.0.1
LockedAmount is a free data retrieval call binding the contract method 0x172a16a4.
Solidity: function lockedAmount(bytes32 ) view returns(uint256)
func (*QLCChainCaller) Name ¶
func (_QLCChain *QLCChainCaller) 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 (*QLCChainCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*QLCChainCaller) Symbol ¶
func (_QLCChain *QLCChainCaller) 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 (*QLCChainCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type QLCChainCallerRaw ¶
type QLCChainCallerRaw struct {
Contract *QLCChainCaller // Generic read-only contract binding to access the raw methods on
}
QLCChainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*QLCChainCallerRaw) Call ¶
func (_QLCChain *QLCChainCallerRaw) 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 QLCChainCallerSession ¶
type QLCChainCallerSession struct { Contract *QLCChainCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
QLCChainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*QLCChainCallerSession) Active ¶ added in v1.0.1
func (_QLCChain *QLCChainCallerSession) Active() (bool, error)
Active is a free data retrieval call binding the contract method 0x02fb0c5e.
Solidity: function active() view returns(bool)
func (*QLCChainCallerSession) Allowance ¶
func (_QLCChain *QLCChainCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*QLCChainCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*QLCChainCallerSession) Decimals ¶
func (_QLCChain *QLCChainCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*QLCChainCallerSession) LockedAmount ¶ added in v1.0.1
func (_QLCChain *QLCChainCallerSession) LockedAmount(arg0 [32]byte) (*big.Int, error)
LockedAmount is a free data retrieval call binding the contract method 0x172a16a4.
Solidity: function lockedAmount(bytes32 ) view returns(uint256)
func (*QLCChainCallerSession) Name ¶
func (_QLCChain *QLCChainCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*QLCChainCallerSession) Owner ¶
func (_QLCChain *QLCChainCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*QLCChainCallerSession) Symbol ¶
func (_QLCChain *QLCChainCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*QLCChainCallerSession) TotalSupply ¶
func (_QLCChain *QLCChainCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type QLCChainFilterer ¶
type QLCChainFilterer struct {
// contains filtered or unexported fields
}
QLCChainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewQLCChainFilterer ¶
func NewQLCChainFilterer(address common.Address, filterer bind.ContractFilterer) (*QLCChainFilterer, error)
NewQLCChainFilterer creates a new log filterer instance of QLCChain, bound to a specific deployed contract.
func (*QLCChainFilterer) FilterApproval ¶
func (_QLCChain *QLCChainFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*QLCChainApprovalIterator, 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 (*QLCChainFilterer) FilterBurn ¶ added in v1.0.1
func (_QLCChain *QLCChainFilterer) FilterBurn(opts *bind.FilterOpts, user []common.Address) (*QLCChainBurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0xfdf096248d2b7b0aef506231c043107c21faacc26193881b3f0cdc8b5479692a.
Solidity: event Burn(address indexed user, string nep5Addr, uint256 amount)
func (*QLCChainFilterer) FilterMint ¶ added in v1.0.1
func (_QLCChain *QLCChainFilterer) FilterMint(opts *bind.FilterOpts, user []common.Address) (*QLCChainMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x103a2d32aec953695f3b9ec5ed6c1c6cb822debe92cf1fcf0832cb2c262c7eec.
Solidity: event Mint(address indexed user, bytes32 nep5Hash, uint256 amount)
func (*QLCChainFilterer) FilterOwnershipTransferred ¶
func (_QLCChain *QLCChainFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*QLCChainOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*QLCChainFilterer) FilterTransfer ¶
func (_QLCChain *QLCChainFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*QLCChainTransferIterator, 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 (*QLCChainFilterer) ParseApproval ¶
func (_QLCChain *QLCChainFilterer) ParseApproval(log types.Log) (*QLCChainApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*QLCChainFilterer) ParseBurn ¶ added in v1.0.1
func (_QLCChain *QLCChainFilterer) ParseBurn(log types.Log) (*QLCChainBurn, error)
ParseBurn is a log parse operation binding the contract event 0xfdf096248d2b7b0aef506231c043107c21faacc26193881b3f0cdc8b5479692a.
Solidity: event Burn(address indexed user, string nep5Addr, uint256 amount)
func (*QLCChainFilterer) ParseMint ¶ added in v1.0.1
func (_QLCChain *QLCChainFilterer) ParseMint(log types.Log) (*QLCChainMint, error)
ParseMint is a log parse operation binding the contract event 0x103a2d32aec953695f3b9ec5ed6c1c6cb822debe92cf1fcf0832cb2c262c7eec.
Solidity: event Mint(address indexed user, bytes32 nep5Hash, uint256 amount)
func (*QLCChainFilterer) ParseOwnershipTransferred ¶
func (_QLCChain *QLCChainFilterer) ParseOwnershipTransferred(log types.Log) (*QLCChainOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*QLCChainFilterer) ParseTransfer ¶
func (_QLCChain *QLCChainFilterer) ParseTransfer(log types.Log) (*QLCChainTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*QLCChainFilterer) WatchApproval ¶
func (_QLCChain *QLCChainFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *QLCChainApproval, 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 (*QLCChainFilterer) WatchBurn ¶ added in v1.0.1
func (_QLCChain *QLCChainFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *QLCChainBurn, user []common.Address) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0xfdf096248d2b7b0aef506231c043107c21faacc26193881b3f0cdc8b5479692a.
Solidity: event Burn(address indexed user, string nep5Addr, uint256 amount)
func (*QLCChainFilterer) WatchMint ¶ added in v1.0.1
func (_QLCChain *QLCChainFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *QLCChainMint, user []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x103a2d32aec953695f3b9ec5ed6c1c6cb822debe92cf1fcf0832cb2c262c7eec.
Solidity: event Mint(address indexed user, bytes32 nep5Hash, uint256 amount)
func (*QLCChainFilterer) WatchOwnershipTransferred ¶
func (_QLCChain *QLCChainFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *QLCChainOwnershipTransferred, 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 (*QLCChainFilterer) WatchTransfer ¶
func (_QLCChain *QLCChainFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *QLCChainTransfer, 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 QLCChainMint ¶ added in v1.0.1
type QLCChainMint struct { User common.Address Nep5Hash [32]byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
QLCChainMint represents a Mint event raised by the QLCChain contract.
type QLCChainMintIterator ¶ added in v1.0.1
type QLCChainMintIterator struct { Event *QLCChainMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QLCChainMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the QLCChain contract.
func (*QLCChainMintIterator) Close ¶ added in v1.0.1
func (it *QLCChainMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QLCChainMintIterator) Error ¶ added in v1.0.1
func (it *QLCChainMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QLCChainMintIterator) Next ¶ added in v1.0.1
func (it *QLCChainMintIterator) 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 QLCChainOwnershipTransferred ¶
type QLCChainOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
QLCChainOwnershipTransferred represents a OwnershipTransferred event raised by the QLCChain contract.
type QLCChainOwnershipTransferredIterator ¶
type QLCChainOwnershipTransferredIterator struct { Event *QLCChainOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QLCChainOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the QLCChain contract.
func (*QLCChainOwnershipTransferredIterator) Close ¶
func (it *QLCChainOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QLCChainOwnershipTransferredIterator) Error ¶
func (it *QLCChainOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QLCChainOwnershipTransferredIterator) Next ¶
func (it *QLCChainOwnershipTransferredIterator) 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 QLCChainRaw ¶
type QLCChainRaw struct {
Contract *QLCChain // Generic contract binding to access the raw methods on
}
QLCChainRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*QLCChainRaw) Call ¶
func (_QLCChain *QLCChainRaw) 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 (*QLCChainRaw) Transact ¶
func (_QLCChain *QLCChainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*QLCChainRaw) Transfer ¶
func (_QLCChain *QLCChainRaw) 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 QLCChainSession ¶
type QLCChainSession struct { Contract *QLCChain // 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 }
QLCChainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*QLCChainSession) Active ¶ added in v1.0.1
func (_QLCChain *QLCChainSession) Active() (bool, error)
Active is a free data retrieval call binding the contract method 0x02fb0c5e.
Solidity: function active() view returns(bool)
func (*QLCChainSession) Allowance ¶
func (_QLCChain *QLCChainSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*QLCChainSession) Approve ¶
func (_QLCChain *QLCChainSession) 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 (*QLCChainSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*QLCChainSession) Burn ¶ added in v1.0.1
func (_QLCChain *QLCChainSession) Burn(nep5Addr string, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xb48272cc.
Solidity: function burn(string nep5Addr, uint256 amount) returns()
func (*QLCChainSession) CircuitBraker ¶ added in v1.0.1
func (_QLCChain *QLCChainSession) CircuitBraker() (*types.Transaction, error)
CircuitBraker is a paid mutator transaction binding the contract method 0xdd064a7d.
Solidity: function circuitBraker() returns()
func (*QLCChainSession) Decimals ¶
func (_QLCChain *QLCChainSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*QLCChainSession) DecreaseAllowance ¶
func (_QLCChain *QLCChainSession) 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 (*QLCChainSession) IncreaseAllowance ¶
func (_QLCChain *QLCChainSession) 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 (*QLCChainSession) Initialize ¶
func (_QLCChain *QLCChainSession) Initialize(name string, symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string name, string symbol) returns()
func (*QLCChainSession) LockedAmount ¶ added in v1.0.1
func (_QLCChain *QLCChainSession) LockedAmount(arg0 [32]byte) (*big.Int, error)
LockedAmount is a free data retrieval call binding the contract method 0x172a16a4.
Solidity: function lockedAmount(bytes32 ) view returns(uint256)
func (*QLCChainSession) Mint ¶ added in v1.0.1
func (_QLCChain *QLCChainSession) Mint(amount *big.Int, nep5Hash [32]byte, signature []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x9ab475b5.
Solidity: function mint(uint256 amount, bytes32 nep5Hash, bytes signature) returns()
func (*QLCChainSession) Name ¶
func (_QLCChain *QLCChainSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*QLCChainSession) Owner ¶
func (_QLCChain *QLCChainSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*QLCChainSession) RenounceOwnership ¶
func (_QLCChain *QLCChainSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*QLCChainSession) Symbol ¶
func (_QLCChain *QLCChainSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*QLCChainSession) TotalSupply ¶
func (_QLCChain *QLCChainSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*QLCChainSession) Transfer ¶
func (_QLCChain *QLCChainSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*QLCChainSession) TransferFrom ¶
func (_QLCChain *QLCChainSession) 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 (*QLCChainSession) TransferOwnership ¶
func (_QLCChain *QLCChainSession) 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 QLCChainTransactor ¶
type QLCChainTransactor struct {
// contains filtered or unexported fields
}
QLCChainTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewQLCChainTransactor ¶
func NewQLCChainTransactor(address common.Address, transactor bind.ContractTransactor) (*QLCChainTransactor, error)
NewQLCChainTransactor creates a new write-only instance of QLCChain, bound to a specific deployed contract.
func (*QLCChainTransactor) Approve ¶
func (_QLCChain *QLCChainTransactor) 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 (*QLCChainTransactor) Burn ¶ added in v1.0.1
func (_QLCChain *QLCChainTransactor) Burn(opts *bind.TransactOpts, nep5Addr string, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xb48272cc.
Solidity: function burn(string nep5Addr, uint256 amount) returns()
func (*QLCChainTransactor) CircuitBraker ¶ added in v1.0.1
func (_QLCChain *QLCChainTransactor) CircuitBraker(opts *bind.TransactOpts) (*types.Transaction, error)
CircuitBraker is a paid mutator transaction binding the contract method 0xdd064a7d.
Solidity: function circuitBraker() returns()
func (*QLCChainTransactor) DecreaseAllowance ¶
func (_QLCChain *QLCChainTransactor) 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 (*QLCChainTransactor) IncreaseAllowance ¶
func (_QLCChain *QLCChainTransactor) 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 (*QLCChainTransactor) Initialize ¶
func (_QLCChain *QLCChainTransactor) Initialize(opts *bind.TransactOpts, name string, symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string name, string symbol) returns()
func (*QLCChainTransactor) Mint ¶ added in v1.0.1
func (_QLCChain *QLCChainTransactor) Mint(opts *bind.TransactOpts, amount *big.Int, nep5Hash [32]byte, signature []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x9ab475b5.
Solidity: function mint(uint256 amount, bytes32 nep5Hash, bytes signature) returns()
func (*QLCChainTransactor) RenounceOwnership ¶
func (_QLCChain *QLCChainTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*QLCChainTransactor) Transfer ¶
func (_QLCChain *QLCChainTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*QLCChainTransactor) TransferFrom ¶
func (_QLCChain *QLCChainTransactor) 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 (*QLCChainTransactor) TransferOwnership ¶
func (_QLCChain *QLCChainTransactor) 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 QLCChainTransactorRaw ¶
type QLCChainTransactorRaw struct {
Contract *QLCChainTransactor // Generic write-only contract binding to access the raw methods on
}
QLCChainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*QLCChainTransactorRaw) Transact ¶
func (_QLCChain *QLCChainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*QLCChainTransactorRaw) Transfer ¶
func (_QLCChain *QLCChainTransactorRaw) 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 QLCChainTransactorSession ¶
type QLCChainTransactorSession struct { Contract *QLCChainTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
QLCChainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*QLCChainTransactorSession) Approve ¶
func (_QLCChain *QLCChainTransactorSession) 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 (*QLCChainTransactorSession) Burn ¶ added in v1.0.1
func (_QLCChain *QLCChainTransactorSession) Burn(nep5Addr string, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xb48272cc.
Solidity: function burn(string nep5Addr, uint256 amount) returns()
func (*QLCChainTransactorSession) CircuitBraker ¶ added in v1.0.1
func (_QLCChain *QLCChainTransactorSession) CircuitBraker() (*types.Transaction, error)
CircuitBraker is a paid mutator transaction binding the contract method 0xdd064a7d.
Solidity: function circuitBraker() returns()
func (*QLCChainTransactorSession) DecreaseAllowance ¶
func (_QLCChain *QLCChainTransactorSession) 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 (*QLCChainTransactorSession) IncreaseAllowance ¶
func (_QLCChain *QLCChainTransactorSession) 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 (*QLCChainTransactorSession) Initialize ¶
func (_QLCChain *QLCChainTransactorSession) Initialize(name string, symbol string) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x4cd88b76.
Solidity: function initialize(string name, string symbol) returns()
func (*QLCChainTransactorSession) Mint ¶ added in v1.0.1
func (_QLCChain *QLCChainTransactorSession) Mint(amount *big.Int, nep5Hash [32]byte, signature []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x9ab475b5.
Solidity: function mint(uint256 amount, bytes32 nep5Hash, bytes signature) returns()
func (*QLCChainTransactorSession) RenounceOwnership ¶
func (_QLCChain *QLCChainTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*QLCChainTransactorSession) Transfer ¶
func (_QLCChain *QLCChainTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*QLCChainTransactorSession) TransferFrom ¶
func (_QLCChain *QLCChainTransactorSession) 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 (*QLCChainTransactorSession) TransferOwnership ¶
func (_QLCChain *QLCChainTransactorSession) 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 QLCChainTransfer ¶
type QLCChainTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
QLCChainTransfer represents a Transfer event raised by the QLCChain contract.
type QLCChainTransferIterator ¶
type QLCChainTransferIterator struct { Event *QLCChainTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
QLCChainTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the QLCChain contract.
func (*QLCChainTransferIterator) Close ¶
func (it *QLCChainTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*QLCChainTransferIterator) Error ¶
func (it *QLCChainTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*QLCChainTransferIterator) Next ¶
func (it *QLCChainTransferIterator) 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 Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func NewTransaction ¶
func NewTransaction(urls []string, contract string) (*Transaction, error)
func (*Transaction) AddTransaction ¶ added in v1.0.1
func (t *Transaction) AddTransaction(hash string)
func (*Transaction) BalanceOf ¶ added in v1.0.1
func (t *Transaction) BalanceOf(address string) (*big.Int, error)
func (*Transaction) Client ¶
func (t *Transaction) Client() *ethclient.Client
func (*Transaction) ClientEndpoint ¶ added in v1.0.1
func (t *Transaction) ClientEndpoint() string
func (*Transaction) DeleteTransaction ¶ added in v1.0.1
func (t *Transaction) DeleteTransaction(hash string)
func (*Transaction) EthBalance ¶ added in v1.0.1
func (t *Transaction) EthBalance(addr string) (int64, error)
func (*Transaction) GetBestBlockHeight ¶
func (t *Transaction) GetBestBlockHeight() (int64, error)
func (*Transaction) GetLockedAmountByNeoTxHash ¶ added in v1.0.1
func (t *Transaction) GetLockedAmountByNeoTxHash(neoHash string) (*big.Int, error)
if key not found, return is 0
func (*Transaction) GetLockedAmountByQLCTxHash ¶ added in v1.0.1
func (t *Transaction) GetLockedAmountByQLCTxHash(qlcHash string) (*big.Int, error)
if key not found, return is 0
func (*Transaction) HasBlockConfirmed ¶ added in v1.0.1
func (*Transaction) HasConfirmedBlocksByHeight ¶ added in v1.0.1
func (t *Transaction) HasConfirmedBlocksByHeight(startHeight int64, interval int64) (bool, int64)
func (*Transaction) HasTransaction ¶ added in v1.0.1
func (t *Transaction) HasTransaction(hash string) bool
func (*Transaction) QGasSyncBurnLog ¶ added in v1.0.1
func (*Transaction) QGasSyncMintLog ¶ added in v1.0.1
func (*Transaction) SyncBurnLog ¶ added in v1.0.1
func (*Transaction) SyncMintLog ¶ added in v1.0.1
func (*Transaction) TotalSupply ¶ added in v1.0.1
func (t *Transaction) TotalSupply() int64