Documentation ¶
Index ¶
- Constants
- type HNS
- type HNSCaller
- type HNSCallerRaw
- type HNSCallerSession
- type HNSFilterer
- func (_HNS *HNSFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*HNSOwnershipRenouncedIterator, error)
- func (_HNS *HNSFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*HNSOwnershipTransferredIterator, error)
- func (_HNS *HNSFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *HNSOwnershipRenounced, ...) (event.Subscription, error)
- func (_HNS *HNSFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HNSOwnershipTransferred, ...) (event.Subscription, error)
- type HNSOwnershipRenounced
- type HNSOwnershipRenouncedIterator
- type HNSOwnershipTransferred
- type HNSOwnershipTransferredIterator
- type HNSRaw
- func (_HNS *HNSRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_HNS *HNSRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_HNS *HNSRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HNSSession
- func (_HNS *HNSSession) GetContent(key [32]byte) ([32]byte, error)
- func (_HNS *HNSSession) Modify(key [32]byte, content [32]byte) (*types.Transaction, error)
- func (_HNS *HNSSession) Owner() (common.Address, error)
- func (_HNS *HNSSession) RenounceOwnership() (*types.Transaction, error)
- func (_HNS *HNSSession) SetContent(key [32]byte, content [32]byte) (*types.Transaction, error)
- func (_HNS *HNSSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type HNSTransactor
- func (_HNS *HNSTransactor) Modify(opts *bind.TransactOpts, key [32]byte, content [32]byte) (*types.Transaction, error)
- func (_HNS *HNSTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_HNS *HNSTransactor) SetContent(opts *bind.TransactOpts, key [32]byte, content [32]byte) (*types.Transaction, error)
- func (_HNS *HNSTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type HNSTransactorRaw
- type HNSTransactorSession
- func (_HNS *HNSTransactorSession) Modify(key [32]byte, content [32]byte) (*types.Transaction, error)
- func (_HNS *HNSTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_HNS *HNSTransactorSession) SetContent(key [32]byte, content [32]byte) (*types.Transaction, error)
- func (_HNS *HNSTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type Ownable
- type OwnableCaller
- type OwnableCallerRaw
- type OwnableCallerSession
- type OwnableFilterer
- func (_Ownable *OwnableFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*OwnableOwnershipRenouncedIterator, error)
- func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnableOwnershipTransferredIterator, error)
- func (_Ownable *OwnableFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipRenounced, ...) (event.Subscription, error)
- func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, ...) (event.Subscription, error)
- type OwnableOwnershipRenounced
- type OwnableOwnershipRenouncedIterator
- type OwnableOwnershipTransferred
- type OwnableOwnershipTransferredIterator
- type OwnableRaw
- func (_Ownable *OwnableRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ownable *OwnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnableSession
- type OwnableTransactor
- type OwnableTransactorRaw
- type OwnableTransactorSession
Constants ¶
const HNSABI = "" /* 1577-byte string literal not displayed */
HNSABI is the input ABI used to generate the binding from.
const HNSBin = `` /* 1830-byte string literal not displayed */
HNSBin is the compiled bytecode used for deploying new contracts.
const OwnableABI = "" /* 994-byte string literal not displayed */
OwnableABI is the input ABI used to generate the binding from.
const OwnableBin = `` /* 1160-byte string literal not displayed */
OwnableBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HNS ¶
type HNS struct { HNSCaller // Read-only binding to the contract HNSTransactor // Write-only binding to the contract HNSFilterer // Log filterer for contract events }
HNS is an auto generated Go binding around an Ethereum contract.
func DeployHNS ¶
func DeployHNS(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *HNS, error)
DeployHNS deploys a new Ethereum contract, binding an instance of HNS to it.
type HNSCaller ¶
type HNSCaller struct {
// contains filtered or unexported fields
}
HNSCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHNSCaller ¶
NewHNSCaller creates a new read-only instance of HNS, bound to a specific deployed contract.
func (*HNSCaller) GetContent ¶
GetContent is a free data retrieval call binding the contract method 0x5cc15001.
Solidity: function getContent(key bytes32) constant returns(bytes32)
type HNSCallerRaw ¶
type HNSCallerRaw struct {
Contract *HNSCaller // Generic read-only contract binding to access the raw methods on
}
HNSCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HNSCallerRaw) Call ¶
func (_HNS *HNSCallerRaw) 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 HNSCallerSession ¶
type HNSCallerSession struct { Contract *HNSCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HNSCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HNSCallerSession) GetContent ¶
func (_HNS *HNSCallerSession) GetContent(key [32]byte) ([32]byte, error)
GetContent is a free data retrieval call binding the contract method 0x5cc15001.
Solidity: function getContent(key bytes32) constant returns(bytes32)
type HNSFilterer ¶
type HNSFilterer struct {
// contains filtered or unexported fields
}
HNSFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHNSFilterer ¶
func NewHNSFilterer(address common.Address, filterer bind.ContractFilterer) (*HNSFilterer, error)
NewHNSFilterer creates a new log filterer instance of HNS, bound to a specific deployed contract.
func (*HNSFilterer) FilterOwnershipRenounced ¶
func (_HNS *HNSFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*HNSOwnershipRenouncedIterator, error)
FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.
Solidity: e OwnershipRenounced(previousOwner indexed address)
func (*HNSFilterer) FilterOwnershipTransferred ¶
func (_HNS *HNSFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*HNSOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: e OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*HNSFilterer) WatchOwnershipRenounced ¶
func (_HNS *HNSFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *HNSOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)
WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.
Solidity: e OwnershipRenounced(previousOwner indexed address)
func (*HNSFilterer) WatchOwnershipTransferred ¶
func (_HNS *HNSFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *HNSOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: e OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
type HNSOwnershipRenounced ¶
type HNSOwnershipRenounced struct { PreviousOwner common.Address Raw types.Log // Blockchain specific contextual infos }
HNSOwnershipRenounced represents a OwnershipRenounced event raised by the HNS contract.
type HNSOwnershipRenouncedIterator ¶
type HNSOwnershipRenouncedIterator struct { Event *HNSOwnershipRenounced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HNSOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the HNS contract.
func (*HNSOwnershipRenouncedIterator) Close ¶
func (it *HNSOwnershipRenouncedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HNSOwnershipRenouncedIterator) Error ¶
func (it *HNSOwnershipRenouncedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HNSOwnershipRenouncedIterator) Next ¶
func (it *HNSOwnershipRenouncedIterator) 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 HNSOwnershipTransferred ¶
type HNSOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
HNSOwnershipTransferred represents a OwnershipTransferred event raised by the HNS contract.
type HNSOwnershipTransferredIterator ¶
type HNSOwnershipTransferredIterator struct { Event *HNSOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HNSOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the HNS contract.
func (*HNSOwnershipTransferredIterator) Close ¶
func (it *HNSOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HNSOwnershipTransferredIterator) Error ¶
func (it *HNSOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HNSOwnershipTransferredIterator) Next ¶
func (it *HNSOwnershipTransferredIterator) 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 HNSRaw ¶
type HNSRaw struct {
Contract *HNS // Generic contract binding to access the raw methods on
}
HNSRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HNSRaw) Call ¶
func (_HNS *HNSRaw) 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 (*HNSRaw) Transact ¶
func (_HNS *HNSRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HNSRaw) Transfer ¶
func (_HNS *HNSRaw) 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 HNSSession ¶
type HNSSession struct { Contract *HNS // 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 }
HNSSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HNSSession) GetContent ¶
func (_HNS *HNSSession) GetContent(key [32]byte) ([32]byte, error)
GetContent is a free data retrieval call binding the contract method 0x5cc15001.
Solidity: function getContent(key bytes32) constant returns(bytes32)
func (*HNSSession) Modify ¶
func (_HNS *HNSSession) Modify(key [32]byte, content [32]byte) (*types.Transaction, error)
Modify is a paid mutator transaction binding the contract method 0xcdbc6cd5.
Solidity: function modify(key bytes32, content bytes32) returns()
func (*HNSSession) Owner ¶
func (_HNS *HNSSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*HNSSession) RenounceOwnership ¶
func (_HNS *HNSSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*HNSSession) SetContent ¶
func (_HNS *HNSSession) SetContent(key [32]byte, content [32]byte) (*types.Transaction, error)
SetContent is a paid mutator transaction binding the contract method 0xc3d014d6.
Solidity: function setContent(key bytes32, content bytes32) returns()
func (*HNSSession) TransferOwnership ¶
func (_HNS *HNSSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type HNSTransactor ¶
type HNSTransactor struct {
// contains filtered or unexported fields
}
HNSTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHNSTransactor ¶
func NewHNSTransactor(address common.Address, transactor bind.ContractTransactor) (*HNSTransactor, error)
NewHNSTransactor creates a new write-only instance of HNS, bound to a specific deployed contract.
func (*HNSTransactor) Modify ¶
func (_HNS *HNSTransactor) Modify(opts *bind.TransactOpts, key [32]byte, content [32]byte) (*types.Transaction, error)
Modify is a paid mutator transaction binding the contract method 0xcdbc6cd5.
Solidity: function modify(key bytes32, content bytes32) returns()
func (*HNSTransactor) RenounceOwnership ¶
func (_HNS *HNSTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*HNSTransactor) SetContent ¶
func (_HNS *HNSTransactor) SetContent(opts *bind.TransactOpts, key [32]byte, content [32]byte) (*types.Transaction, error)
SetContent is a paid mutator transaction binding the contract method 0xc3d014d6.
Solidity: function setContent(key bytes32, content bytes32) returns()
func (*HNSTransactor) TransferOwnership ¶
func (_HNS *HNSTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type HNSTransactorRaw ¶
type HNSTransactorRaw struct {
Contract *HNSTransactor // Generic write-only contract binding to access the raw methods on
}
HNSTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HNSTransactorRaw) Transact ¶
func (_HNS *HNSTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HNSTransactorRaw) Transfer ¶
func (_HNS *HNSTransactorRaw) 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 HNSTransactorSession ¶
type HNSTransactorSession struct { Contract *HNSTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HNSTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HNSTransactorSession) Modify ¶
func (_HNS *HNSTransactorSession) Modify(key [32]byte, content [32]byte) (*types.Transaction, error)
Modify is a paid mutator transaction binding the contract method 0xcdbc6cd5.
Solidity: function modify(key bytes32, content bytes32) returns()
func (*HNSTransactorSession) RenounceOwnership ¶
func (_HNS *HNSTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*HNSTransactorSession) SetContent ¶
func (_HNS *HNSTransactorSession) SetContent(key [32]byte, content [32]byte) (*types.Transaction, error)
SetContent is a paid mutator transaction binding the contract method 0xc3d014d6.
Solidity: function setContent(key bytes32, content bytes32) returns()
func (*HNSTransactorSession) TransferOwnership ¶
func (_HNS *HNSTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type Ownable ¶
type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events }
Ownable is an auto generated Go binding around an Ethereum contract.
func DeployOwnable ¶
func DeployOwnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Ownable, error)
DeployOwnable deploys a new Ethereum contract, binding an instance of Ownable to it.
func NewOwnable ¶
NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.
type OwnableCaller ¶
type OwnableCaller struct {
// contains filtered or unexported fields
}
OwnableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOwnableCaller ¶
func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)
NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.
type OwnableCallerRaw ¶
type OwnableCallerRaw struct {
Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}
OwnableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OwnableCallerRaw) Call ¶
func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession ¶
type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OwnableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OwnableFilterer ¶
type OwnableFilterer struct {
// contains filtered or unexported fields
}
OwnableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOwnableFilterer ¶
func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)
NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.
func (*OwnableFilterer) FilterOwnershipRenounced ¶
func (_Ownable *OwnableFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*OwnableOwnershipRenouncedIterator, error)
FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.
Solidity: e OwnershipRenounced(previousOwner indexed address)
func (*OwnableFilterer) FilterOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: e OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
func (*OwnableFilterer) WatchOwnershipRenounced ¶
func (_Ownable *OwnableFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)
WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.
Solidity: e OwnershipRenounced(previousOwner indexed address)
func (*OwnableFilterer) WatchOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: e OwnershipTransferred(previousOwner indexed address, newOwner indexed address)
type OwnableOwnershipRenounced ¶
type OwnableOwnershipRenounced struct { PreviousOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnableOwnershipRenounced represents a OwnershipRenounced event raised by the Ownable contract.
type OwnableOwnershipRenouncedIterator ¶
type OwnableOwnershipRenouncedIterator struct { Event *OwnableOwnershipRenounced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnableOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the Ownable contract.
func (*OwnableOwnershipRenouncedIterator) Close ¶
func (it *OwnableOwnershipRenouncedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableOwnershipRenouncedIterator) Error ¶
func (it *OwnableOwnershipRenouncedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableOwnershipRenouncedIterator) Next ¶
func (it *OwnableOwnershipRenouncedIterator) 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 OwnableOwnershipTransferred ¶
type OwnableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.
type OwnableOwnershipTransferredIterator ¶
type OwnableOwnershipTransferredIterator struct { Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.
func (*OwnableOwnershipTransferredIterator) Close ¶
func (it *OwnableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableOwnershipTransferredIterator) Error ¶
func (it *OwnableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableOwnershipTransferredIterator) Next ¶
func (it *OwnableOwnershipTransferredIterator) 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 OwnableRaw ¶
type OwnableRaw struct {
Contract *Ownable // Generic contract binding to access the raw methods on
}
OwnableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OwnableRaw) Call ¶
func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact ¶
func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableRaw) Transfer ¶
func (_Ownable *OwnableRaw) 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 OwnableSession ¶
type OwnableSession struct { Contract *Ownable // 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 }
OwnableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OwnableSession) Owner ¶
func (_Ownable *OwnableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*OwnableSession) RenounceOwnership ¶
func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableSession) TransferOwnership ¶
func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type OwnableTransactor ¶
type OwnableTransactor struct {
// contains filtered or unexported fields
}
OwnableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOwnableTransactor ¶
func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)
NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.
func (*OwnableTransactor) RenounceOwnership ¶
func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactor) TransferOwnership ¶
func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()
type OwnableTransactorRaw ¶
type OwnableTransactorRaw struct {
Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OwnableTransactorRaw) Transact ¶
func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableTransactorRaw) Transfer ¶
func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession ¶
type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OwnableTransactorSession) RenounceOwnership ¶
func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactorSession) TransferOwnership ¶
func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(newOwner address) returns()