Documentation ¶
Index ¶
- Constants
- type Whitelist
- type WhitelistCaller
- type WhitelistCallerRaw
- type WhitelistCallerSession
- type WhitelistFilterer
- type WhitelistRaw
- func (_Whitelist *WhitelistRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Whitelist *WhitelistRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Whitelist *WhitelistRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WhitelistRegister
- type WhitelistRegisterIterator
- type WhitelistSession
- type WhitelistTransactor
- type WhitelistTransactorRaw
- type WhitelistTransactorSession
Constants ¶
const WhitelistABI = "" /* 540-byte string literal not displayed */
WhitelistABI is the input ABI used to generate the binding from.
const WhitelistBin = `` /* 798-byte string literal not displayed */
WhitelistBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Whitelist ¶
type Whitelist struct { WhitelistCaller // Read-only binding to the contract WhitelistTransactor // Write-only binding to the contract WhitelistFilterer // Log filterer for contract events }
Whitelist is an auto generated Go binding around an Ethereum contract.
func DeployWhitelist ¶
func DeployWhitelist(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Whitelist, error)
DeployWhitelist deploys a new Ethereum contract, binding an instance of Whitelist to it.
func NewWhitelist ¶
NewWhitelist creates a new instance of Whitelist, bound to a specific deployed contract.
type WhitelistCaller ¶
type WhitelistCaller struct {
// contains filtered or unexported fields
}
WhitelistCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWhitelistCaller ¶
func NewWhitelistCaller(address common.Address, caller bind.ContractCaller) (*WhitelistCaller, error)
NewWhitelistCaller creates a new read-only instance of Whitelist, bound to a specific deployed contract.
func (*WhitelistCaller) IsRegistered ¶
func (_Whitelist *WhitelistCaller) IsRegistered(opts *bind.CallOpts, addr common.Address) (bool, error)
IsRegistered is a free data retrieval call binding the contract method 0xc3c5a547.
Solidity: function isRegistered(address addr) constant returns(bool)
type WhitelistCallerRaw ¶
type WhitelistCallerRaw struct {
Contract *WhitelistCaller // Generic read-only contract binding to access the raw methods on
}
WhitelistCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WhitelistCallerRaw) Call ¶
func (_Whitelist *WhitelistCallerRaw) 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 WhitelistCallerSession ¶
type WhitelistCallerSession struct { Contract *WhitelistCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WhitelistCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*WhitelistCallerSession) IsRegistered ¶
func (_Whitelist *WhitelistCallerSession) IsRegistered(addr common.Address) (bool, error)
IsRegistered is a free data retrieval call binding the contract method 0xc3c5a547.
Solidity: function isRegistered(address addr) constant returns(bool)
type WhitelistFilterer ¶
type WhitelistFilterer struct {
// contains filtered or unexported fields
}
WhitelistFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWhitelistFilterer ¶
func NewWhitelistFilterer(address common.Address, filterer bind.ContractFilterer) (*WhitelistFilterer, error)
NewWhitelistFilterer creates a new log filterer instance of Whitelist, bound to a specific deployed contract.
func (*WhitelistFilterer) FilterRegister ¶
func (_Whitelist *WhitelistFilterer) FilterRegister(opts *bind.FilterOpts) (*WhitelistRegisterIterator, error)
FilterRegister is a free log retrieval operation binding the contract event 0xeeda149c76076b34d4b9d8896c2f7efc0d33d1c7b53ea3c5db490d64613f603a.
Solidity: event Register(address addr)
func (*WhitelistFilterer) WatchRegister ¶
func (_Whitelist *WhitelistFilterer) WatchRegister(opts *bind.WatchOpts, sink chan<- *WhitelistRegister) (event.Subscription, error)
WatchRegister is a free log subscription operation binding the contract event 0xeeda149c76076b34d4b9d8896c2f7efc0d33d1c7b53ea3c5db490d64613f603a.
Solidity: event Register(address addr)
type WhitelistRaw ¶
type WhitelistRaw struct {
Contract *Whitelist // Generic contract binding to access the raw methods on
}
WhitelistRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WhitelistRaw) Call ¶
func (_Whitelist *WhitelistRaw) 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 (*WhitelistRaw) Transact ¶
func (_Whitelist *WhitelistRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WhitelistRaw) Transfer ¶
func (_Whitelist *WhitelistRaw) 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 WhitelistRegister ¶
type WhitelistRegister struct { Addr common.Address Raw types.Log // Blockchain specific contextual infos }
WhitelistRegister represents a Register event raised by the Whitelist contract.
type WhitelistRegisterIterator ¶
type WhitelistRegisterIterator struct { Event *WhitelistRegister // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WhitelistRegisterIterator is returned from FilterRegister and is used to iterate over the raw logs and unpacked data for Register events raised by the Whitelist contract.
func (*WhitelistRegisterIterator) Close ¶
func (it *WhitelistRegisterIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WhitelistRegisterIterator) Error ¶
func (it *WhitelistRegisterIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WhitelistRegisterIterator) Next ¶
func (it *WhitelistRegisterIterator) 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 WhitelistSession ¶
type WhitelistSession struct { Contract *Whitelist // 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 }
WhitelistSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WhitelistSession) IsRegistered ¶
func (_Whitelist *WhitelistSession) IsRegistered(addr common.Address) (bool, error)
IsRegistered is a free data retrieval call binding the contract method 0xc3c5a547.
Solidity: function isRegistered(address addr) constant returns(bool)
func (*WhitelistSession) Register ¶
func (_Whitelist *WhitelistSession) Register(addr common.Address) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x4420e486.
Solidity: function register(address addr) returns()
type WhitelistTransactor ¶
type WhitelistTransactor struct {
// contains filtered or unexported fields
}
WhitelistTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWhitelistTransactor ¶
func NewWhitelistTransactor(address common.Address, transactor bind.ContractTransactor) (*WhitelistTransactor, error)
NewWhitelistTransactor creates a new write-only instance of Whitelist, bound to a specific deployed contract.
func (*WhitelistTransactor) Register ¶
func (_Whitelist *WhitelistTransactor) Register(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x4420e486.
Solidity: function register(address addr) returns()
type WhitelistTransactorRaw ¶
type WhitelistTransactorRaw struct {
Contract *WhitelistTransactor // Generic write-only contract binding to access the raw methods on
}
WhitelistTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WhitelistTransactorRaw) Transact ¶
func (_Whitelist *WhitelistTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WhitelistTransactorRaw) Transfer ¶
func (_Whitelist *WhitelistTransactorRaw) 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 WhitelistTransactorSession ¶
type WhitelistTransactorSession struct { Contract *WhitelistTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WhitelistTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WhitelistTransactorSession) Register ¶
func (_Whitelist *WhitelistTransactorSession) Register(addr common.Address) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0x4420e486.
Solidity: function register(address addr) returns()