Documentation ¶
Index ¶
- Constants
- type Rnode
- type RnodeCaller
- func (_Rnode *RnodeCaller) GetRnodeNum(opts *bind.CallOpts) (*big.Int, error)
- func (_Rnode *RnodeCaller) GetRnodes(opts *bind.CallOpts) ([]common.Address, error)
- func (_Rnode *RnodeCaller) IsContract(opts *bind.CallOpts, addr common.Address) (bool, error)
- func (_Rnode *RnodeCaller) IsRnode(opts *bind.CallOpts, addr common.Address) (bool, error)
- func (_Rnode *RnodeCaller) Participants(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Rnode *RnodeCaller) Period(opts *bind.CallOpts) (*big.Int, error)
- func (_Rnode *RnodeCaller) RnodeThreshold(opts *bind.CallOpts) (*big.Int, error)
- type RnodeCallerRaw
- type RnodeCallerSession
- func (_Rnode *RnodeCallerSession) GetRnodeNum() (*big.Int, error)
- func (_Rnode *RnodeCallerSession) GetRnodes() ([]common.Address, error)
- func (_Rnode *RnodeCallerSession) IsContract(addr common.Address) (bool, error)
- func (_Rnode *RnodeCallerSession) IsRnode(addr common.Address) (bool, error)
- func (_Rnode *RnodeCallerSession) Participants(arg0 common.Address) (struct{ ... }, error)
- func (_Rnode *RnodeCallerSession) Period() (*big.Int, error)
- func (_Rnode *RnodeCallerSession) RnodeThreshold() (*big.Int, error)
- type RnodeFilterer
- func (_Rnode *RnodeFilterer) FilterNewRnode(opts *bind.FilterOpts) (*RnodeNewRnodeIterator, error)
- func (_Rnode *RnodeFilterer) FilterRnodeQuit(opts *bind.FilterOpts) (*RnodeRnodeQuitIterator, error)
- func (_Rnode *RnodeFilterer) WatchNewRnode(opts *bind.WatchOpts, sink chan<- *RnodeNewRnode) (event.Subscription, error)
- func (_Rnode *RnodeFilterer) WatchRnodeQuit(opts *bind.WatchOpts, sink chan<- *RnodeRnodeQuit) (event.Subscription, error)
- type RnodeNewRnode
- type RnodeNewRnodeIterator
- type RnodeRaw
- func (_Rnode *RnodeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Rnode *RnodeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Rnode *RnodeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RnodeRnodeQuit
- type RnodeRnodeQuitIterator
- type RnodeSession
- func (_Rnode *RnodeSession) GetRnodeNum() (*big.Int, error)
- func (_Rnode *RnodeSession) GetRnodes() ([]common.Address, error)
- func (_Rnode *RnodeSession) IsContract(addr common.Address) (bool, error)
- func (_Rnode *RnodeSession) IsRnode(addr common.Address) (bool, error)
- func (_Rnode *RnodeSession) JoinRnode() (*types.Transaction, error)
- func (_Rnode *RnodeSession) Participants(arg0 common.Address) (struct{ ... }, error)
- func (_Rnode *RnodeSession) Period() (*big.Int, error)
- func (_Rnode *RnodeSession) QuitRnode() (*types.Transaction, error)
- func (_Rnode *RnodeSession) RnodeThreshold() (*big.Int, error)
- func (_Rnode *RnodeSession) SetPeriod(_period *big.Int) (*types.Transaction, error)
- func (_Rnode *RnodeSession) SetRnodeThreshold(threshold *big.Int) (*types.Transaction, error)
- type RnodeTransactor
- func (_Rnode *RnodeTransactor) JoinRnode(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Rnode *RnodeTransactor) QuitRnode(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Rnode *RnodeTransactor) SetPeriod(opts *bind.TransactOpts, _period *big.Int) (*types.Transaction, error)
- func (_Rnode *RnodeTransactor) SetRnodeThreshold(opts *bind.TransactOpts, threshold *big.Int) (*types.Transaction, error)
- type RnodeTransactorRaw
- type RnodeTransactorSession
- func (_Rnode *RnodeTransactorSession) JoinRnode() (*types.Transaction, error)
- func (_Rnode *RnodeTransactorSession) QuitRnode() (*types.Transaction, error)
- func (_Rnode *RnodeTransactorSession) SetPeriod(_period *big.Int) (*types.Transaction, error)
- func (_Rnode *RnodeTransactorSession) SetRnodeThreshold(threshold *big.Int) (*types.Transaction, error)
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type Set
- type SetCaller
- type SetCallerRaw
- type SetCallerSession
- type SetFilterer
- type SetRaw
- func (_Set *SetRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Set *SetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Set *SetRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SetSession
- type SetTransactor
- type SetTransactorRaw
- type SetTransactorSession
Constants ¶
const RnodeABI = "" /* 2598-byte string literal not displayed */
RnodeABI is the input ABI used to generate the binding from.
const RnodeBin = `` /* 4284-byte string literal not displayed */
RnodeBin is the compiled bytecode used for deploying new contracts.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const SafeMathBin = `` /* 242-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
const SetABI = "[]"
SetABI is the input ABI used to generate the binding from.
const SetBin = `` /* 242-byte string literal not displayed */
SetBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rnode ¶
type Rnode struct { RnodeCaller // Read-only binding to the contract RnodeTransactor // Write-only binding to the contract RnodeFilterer // Log filterer for contract events }
Rnode is an auto generated Go binding around an cpchain contract.
func DeployRnode ¶
func DeployRnode(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Rnode, error)
DeployRnode deploys a new cpchain contract, binding an instance of Rnode to it.
type RnodeCaller ¶
type RnodeCaller struct {
// contains filtered or unexported fields
}
RnodeCaller is an auto generated read-only Go binding around an cpchain contract.
func NewRnodeCaller ¶
func NewRnodeCaller(address common.Address, caller bind.ContractCaller) (*RnodeCaller, error)
NewRnodeCaller creates a new read-only instance of Rnode, bound to a specific deployed contract.
func (*RnodeCaller) GetRnodeNum ¶
GetRnodeNum is a free data retrieval call binding the contract method 0x0b443f42.
Solidity: function getRnodeNum() constant returns(uint256)
func (*RnodeCaller) GetRnodes ¶
GetRnodes is a free data retrieval call binding the contract method 0xe508bb85.
Solidity: function getRnodes() constant returns(address[])
func (*RnodeCaller) IsContract ¶
IsContract is a free data retrieval call binding the contract method 0x16279055.
Solidity: function isContract(addr address) constant returns(bool)
func (*RnodeCaller) IsRnode ¶
IsRnode is a free data retrieval call binding the contract method 0xa8f07697.
Solidity: function isRnode(addr address) constant returns(bool)
func (*RnodeCaller) Participants ¶
func (_Rnode *RnodeCaller) Participants(opts *bind.CallOpts, arg0 common.Address) (struct { LockedDeposit *big.Int LockedTime *big.Int }, error)
Participants is a free data retrieval call binding the contract method 0x595aa13d.
Solidity: function Participants( address) constant returns(lockedDeposit uint256, lockedTime uint256)
func (*RnodeCaller) Period ¶
Period is a free data retrieval call binding the contract method 0xef78d4fd.
Solidity: function period() constant returns(uint256)
func (*RnodeCaller) RnodeThreshold ¶
RnodeThreshold is a free data retrieval call binding the contract method 0xb7b3e9da.
Solidity: function rnodeThreshold() constant returns(uint256)
type RnodeCallerRaw ¶
type RnodeCallerRaw struct {
Contract *RnodeCaller // Generic read-only contract binding to access the raw methods on
}
RnodeCallerRaw is an auto generated low-level read-only Go binding around an cpchain contract.
func (*RnodeCallerRaw) Call ¶
func (_Rnode *RnodeCallerRaw) 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 RnodeCallerSession ¶
type RnodeCallerSession struct { Contract *RnodeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RnodeCallerSession is an auto generated read-only Go binding around an cpchain contract, with pre-set call options.
func (*RnodeCallerSession) GetRnodeNum ¶
func (_Rnode *RnodeCallerSession) GetRnodeNum() (*big.Int, error)
GetRnodeNum is a free data retrieval call binding the contract method 0x0b443f42.
Solidity: function getRnodeNum() constant returns(uint256)
func (*RnodeCallerSession) GetRnodes ¶
func (_Rnode *RnodeCallerSession) GetRnodes() ([]common.Address, error)
GetRnodes is a free data retrieval call binding the contract method 0xe508bb85.
Solidity: function getRnodes() constant returns(address[])
func (*RnodeCallerSession) IsContract ¶
func (_Rnode *RnodeCallerSession) IsContract(addr common.Address) (bool, error)
IsContract is a free data retrieval call binding the contract method 0x16279055.
Solidity: function isContract(addr address) constant returns(bool)
func (*RnodeCallerSession) IsRnode ¶
func (_Rnode *RnodeCallerSession) IsRnode(addr common.Address) (bool, error)
IsRnode is a free data retrieval call binding the contract method 0xa8f07697.
Solidity: function isRnode(addr address) constant returns(bool)
func (*RnodeCallerSession) Participants ¶
func (_Rnode *RnodeCallerSession) Participants(arg0 common.Address) (struct { LockedDeposit *big.Int LockedTime *big.Int }, error)
Participants is a free data retrieval call binding the contract method 0x595aa13d.
Solidity: function Participants( address) constant returns(lockedDeposit uint256, lockedTime uint256)
func (*RnodeCallerSession) Period ¶
func (_Rnode *RnodeCallerSession) Period() (*big.Int, error)
Period is a free data retrieval call binding the contract method 0xef78d4fd.
Solidity: function period() constant returns(uint256)
func (*RnodeCallerSession) RnodeThreshold ¶
func (_Rnode *RnodeCallerSession) RnodeThreshold() (*big.Int, error)
RnodeThreshold is a free data retrieval call binding the contract method 0xb7b3e9da.
Solidity: function rnodeThreshold() constant returns(uint256)
type RnodeFilterer ¶
type RnodeFilterer struct {
// contains filtered or unexported fields
}
RnodeFilterer is an auto generated log filtering Go binding around an cpchain contract events.
func NewRnodeFilterer ¶
func NewRnodeFilterer(address common.Address, filterer bind.ContractFilterer) (*RnodeFilterer, error)
NewRnodeFilterer creates a new log filterer instance of Rnode, bound to a specific deployed contract.
func (*RnodeFilterer) FilterNewRnode ¶
func (_Rnode *RnodeFilterer) FilterNewRnode(opts *bind.FilterOpts) (*RnodeNewRnodeIterator, error)
FilterNewRnode is a free log retrieval operation binding the contract event 0x586bfaa7a657ad9313326c9269639546950d589bd479b3d6928be469d6dc2903.
Solidity: e NewRnode(who address, lockedDeposit uint256, lockedTime uint256)
func (*RnodeFilterer) FilterRnodeQuit ¶
func (_Rnode *RnodeFilterer) FilterRnodeQuit(opts *bind.FilterOpts) (*RnodeRnodeQuitIterator, error)
FilterRnodeQuit is a free log retrieval operation binding the contract event 0x602a2a9c94f70293aa2be9077f0b2dc89d388bc293fdbcd968274f43494c380d.
Solidity: e RnodeQuit(who address)
func (*RnodeFilterer) WatchNewRnode ¶
func (_Rnode *RnodeFilterer) WatchNewRnode(opts *bind.WatchOpts, sink chan<- *RnodeNewRnode) (event.Subscription, error)
WatchNewRnode is a free log subscription operation binding the contract event 0x586bfaa7a657ad9313326c9269639546950d589bd479b3d6928be469d6dc2903.
Solidity: e NewRnode(who address, lockedDeposit uint256, lockedTime uint256)
func (*RnodeFilterer) WatchRnodeQuit ¶
func (_Rnode *RnodeFilterer) WatchRnodeQuit(opts *bind.WatchOpts, sink chan<- *RnodeRnodeQuit) (event.Subscription, error)
WatchRnodeQuit is a free log subscription operation binding the contract event 0x602a2a9c94f70293aa2be9077f0b2dc89d388bc293fdbcd968274f43494c380d.
Solidity: e RnodeQuit(who address)
type RnodeNewRnode ¶
type RnodeNewRnode struct { Who common.Address LockedDeposit *big.Int LockedTime *big.Int Raw types.Log // Blockchain specific contextual infos }
RnodeNewRnode represents a NewRnode event raised by the Rnode contract.
type RnodeNewRnodeIterator ¶
type RnodeNewRnodeIterator struct { Event *RnodeNewRnode // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RnodeNewRnodeIterator is returned from FilterNewRnode and is used to iterate over the raw logs and unpacked data for NewRnode events raised by the Rnode contract.
func (*RnodeNewRnodeIterator) Close ¶
func (it *RnodeNewRnodeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RnodeNewRnodeIterator) Error ¶
func (it *RnodeNewRnodeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RnodeNewRnodeIterator) Next ¶
func (it *RnodeNewRnodeIterator) 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 RnodeRaw ¶
type RnodeRaw struct {
Contract *Rnode // Generic contract binding to access the raw methods on
}
RnodeRaw is an auto generated low-level Go binding around an cpchain contract.
func (*RnodeRaw) Call ¶
func (_Rnode *RnodeRaw) 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 (*RnodeRaw) Transact ¶
func (_Rnode *RnodeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RnodeRaw) Transfer ¶
func (_Rnode *RnodeRaw) 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 RnodeRnodeQuit ¶
type RnodeRnodeQuit struct { Who common.Address Raw types.Log // Blockchain specific contextual infos }
RnodeRnodeQuit represents a RnodeQuit event raised by the Rnode contract.
type RnodeRnodeQuitIterator ¶
type RnodeRnodeQuitIterator struct { Event *RnodeRnodeQuit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RnodeRnodeQuitIterator is returned from FilterRnodeQuit and is used to iterate over the raw logs and unpacked data for RnodeQuit events raised by the Rnode contract.
func (*RnodeRnodeQuitIterator) Close ¶
func (it *RnodeRnodeQuitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RnodeRnodeQuitIterator) Error ¶
func (it *RnodeRnodeQuitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RnodeRnodeQuitIterator) Next ¶
func (it *RnodeRnodeQuitIterator) 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 RnodeSession ¶
type RnodeSession struct { Contract *Rnode // 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 }
RnodeSession is an auto generated Go binding around an cpchain contract, with pre-set call and transact options.
func (*RnodeSession) GetRnodeNum ¶
func (_Rnode *RnodeSession) GetRnodeNum() (*big.Int, error)
GetRnodeNum is a free data retrieval call binding the contract method 0x0b443f42.
Solidity: function getRnodeNum() constant returns(uint256)
func (*RnodeSession) GetRnodes ¶
func (_Rnode *RnodeSession) GetRnodes() ([]common.Address, error)
GetRnodes is a free data retrieval call binding the contract method 0xe508bb85.
Solidity: function getRnodes() constant returns(address[])
func (*RnodeSession) IsContract ¶
func (_Rnode *RnodeSession) IsContract(addr common.Address) (bool, error)
IsContract is a free data retrieval call binding the contract method 0x16279055.
Solidity: function isContract(addr address) constant returns(bool)
func (*RnodeSession) IsRnode ¶
func (_Rnode *RnodeSession) IsRnode(addr common.Address) (bool, error)
IsRnode is a free data retrieval call binding the contract method 0xa8f07697.
Solidity: function isRnode(addr address) constant returns(bool)
func (*RnodeSession) JoinRnode ¶
func (_Rnode *RnodeSession) JoinRnode() (*types.Transaction, error)
JoinRnode is a paid mutator transaction binding the contract method 0xb892c6da.
Solidity: function joinRnode() returns()
func (*RnodeSession) Participants ¶
func (_Rnode *RnodeSession) Participants(arg0 common.Address) (struct { LockedDeposit *big.Int LockedTime *big.Int }, error)
Participants is a free data retrieval call binding the contract method 0x595aa13d.
Solidity: function Participants( address) constant returns(lockedDeposit uint256, lockedTime uint256)
func (*RnodeSession) Period ¶
func (_Rnode *RnodeSession) Period() (*big.Int, error)
Period is a free data retrieval call binding the contract method 0xef78d4fd.
Solidity: function period() constant returns(uint256)
func (*RnodeSession) QuitRnode ¶
func (_Rnode *RnodeSession) QuitRnode() (*types.Transaction, error)
QuitRnode is a paid mutator transaction binding the contract method 0x113c8498.
Solidity: function quitRnode() returns()
func (*RnodeSession) RnodeThreshold ¶
func (_Rnode *RnodeSession) RnodeThreshold() (*big.Int, error)
RnodeThreshold is a free data retrieval call binding the contract method 0xb7b3e9da.
Solidity: function rnodeThreshold() constant returns(uint256)
func (*RnodeSession) SetPeriod ¶
func (_Rnode *RnodeSession) SetPeriod(_period *big.Int) (*types.Transaction, error)
SetPeriod is a paid mutator transaction binding the contract method 0x0f3a9f65.
Solidity: function setPeriod(_period uint256) returns()
func (*RnodeSession) SetRnodeThreshold ¶
func (_Rnode *RnodeSession) SetRnodeThreshold(threshold *big.Int) (*types.Transaction, error)
SetRnodeThreshold is a paid mutator transaction binding the contract method 0x975dd4b2.
Solidity: function setRnodeThreshold(threshold uint256) returns()
type RnodeTransactor ¶
type RnodeTransactor struct {
// contains filtered or unexported fields
}
RnodeTransactor is an auto generated write-only Go binding around an cpchain contract.
func NewRnodeTransactor ¶
func NewRnodeTransactor(address common.Address, transactor bind.ContractTransactor) (*RnodeTransactor, error)
NewRnodeTransactor creates a new write-only instance of Rnode, bound to a specific deployed contract.
func (*RnodeTransactor) JoinRnode ¶
func (_Rnode *RnodeTransactor) JoinRnode(opts *bind.TransactOpts) (*types.Transaction, error)
JoinRnode is a paid mutator transaction binding the contract method 0xb892c6da.
Solidity: function joinRnode() returns()
func (*RnodeTransactor) QuitRnode ¶
func (_Rnode *RnodeTransactor) QuitRnode(opts *bind.TransactOpts) (*types.Transaction, error)
QuitRnode is a paid mutator transaction binding the contract method 0x113c8498.
Solidity: function quitRnode() returns()
func (*RnodeTransactor) SetPeriod ¶
func (_Rnode *RnodeTransactor) SetPeriod(opts *bind.TransactOpts, _period *big.Int) (*types.Transaction, error)
SetPeriod is a paid mutator transaction binding the contract method 0x0f3a9f65.
Solidity: function setPeriod(_period uint256) returns()
func (*RnodeTransactor) SetRnodeThreshold ¶
func (_Rnode *RnodeTransactor) SetRnodeThreshold(opts *bind.TransactOpts, threshold *big.Int) (*types.Transaction, error)
SetRnodeThreshold is a paid mutator transaction binding the contract method 0x975dd4b2.
Solidity: function setRnodeThreshold(threshold uint256) returns()
type RnodeTransactorRaw ¶
type RnodeTransactorRaw struct {
Contract *RnodeTransactor // Generic write-only contract binding to access the raw methods on
}
RnodeTransactorRaw is an auto generated low-level write-only Go binding around an cpchain contract.
func (*RnodeTransactorRaw) Transact ¶
func (_Rnode *RnodeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RnodeTransactorRaw) Transfer ¶
func (_Rnode *RnodeTransactorRaw) 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 RnodeTransactorSession ¶
type RnodeTransactorSession struct { Contract *RnodeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RnodeTransactorSession is an auto generated write-only Go binding around an cpchain contract, with pre-set transact options.
func (*RnodeTransactorSession) JoinRnode ¶
func (_Rnode *RnodeTransactorSession) JoinRnode() (*types.Transaction, error)
JoinRnode is a paid mutator transaction binding the contract method 0xb892c6da.
Solidity: function joinRnode() returns()
func (*RnodeTransactorSession) QuitRnode ¶
func (_Rnode *RnodeTransactorSession) QuitRnode() (*types.Transaction, error)
QuitRnode is a paid mutator transaction binding the contract method 0x113c8498.
Solidity: function quitRnode() returns()
func (*RnodeTransactorSession) SetPeriod ¶
func (_Rnode *RnodeTransactorSession) SetPeriod(_period *big.Int) (*types.Transaction, error)
SetPeriod is a paid mutator transaction binding the contract method 0x0f3a9f65.
Solidity: function setPeriod(_period uint256) returns()
func (*RnodeTransactorSession) SetRnodeThreshold ¶
func (_Rnode *RnodeTransactorSession) SetRnodeThreshold(threshold *big.Int) (*types.Transaction, error)
SetRnodeThreshold is a paid mutator transaction binding the contract method 0x975dd4b2.
Solidity: function setRnodeThreshold(threshold uint256) returns()
type SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an cpchain contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new cpchain contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an cpchain contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an cpchain contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an cpchain contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an cpchain contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an cpchain contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // 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 }
SafeMathSession is an auto generated Go binding around an cpchain contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an cpchain contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an cpchain contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an cpchain contract, with pre-set transact options.
type Set ¶
type Set struct { SetCaller // Read-only binding to the contract SetTransactor // Write-only binding to the contract SetFilterer // Log filterer for contract events }
Set is an auto generated Go binding around an cpchain contract.
func DeploySet ¶
func DeploySet(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Set, error)
DeploySet deploys a new cpchain contract, binding an instance of Set to it.
type SetCaller ¶
type SetCaller struct {
// contains filtered or unexported fields
}
SetCaller is an auto generated read-only Go binding around an cpchain contract.
func NewSetCaller ¶
NewSetCaller creates a new read-only instance of Set, bound to a specific deployed contract.
type SetCallerRaw ¶
type SetCallerRaw struct {
Contract *SetCaller // Generic read-only contract binding to access the raw methods on
}
SetCallerRaw is an auto generated low-level read-only Go binding around an cpchain contract.
func (*SetCallerRaw) Call ¶
func (_Set *SetCallerRaw) 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 SetCallerSession ¶
type SetCallerSession struct { Contract *SetCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SetCallerSession is an auto generated read-only Go binding around an cpchain contract, with pre-set call options.
type SetFilterer ¶
type SetFilterer struct {
// contains filtered or unexported fields
}
SetFilterer is an auto generated log filtering Go binding around an cpchain contract events.
func NewSetFilterer ¶
func NewSetFilterer(address common.Address, filterer bind.ContractFilterer) (*SetFilterer, error)
NewSetFilterer creates a new log filterer instance of Set, bound to a specific deployed contract.
type SetRaw ¶
type SetRaw struct {
Contract *Set // Generic contract binding to access the raw methods on
}
SetRaw is an auto generated low-level Go binding around an cpchain contract.
func (*SetRaw) Call ¶
func (_Set *SetRaw) 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 (*SetRaw) Transact ¶
func (_Set *SetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SetRaw) Transfer ¶
func (_Set *SetRaw) 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 SetSession ¶
type SetSession struct { Contract *Set // 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 }
SetSession is an auto generated Go binding around an cpchain contract, with pre-set call and transact options.
type SetTransactor ¶
type SetTransactor struct {
// contains filtered or unexported fields
}
SetTransactor is an auto generated write-only Go binding around an cpchain contract.
func NewSetTransactor ¶
func NewSetTransactor(address common.Address, transactor bind.ContractTransactor) (*SetTransactor, error)
NewSetTransactor creates a new write-only instance of Set, bound to a specific deployed contract.
type SetTransactorRaw ¶
type SetTransactorRaw struct {
Contract *SetTransactor // Generic write-only contract binding to access the raw methods on
}
SetTransactorRaw is an auto generated low-level write-only Go binding around an cpchain contract.
func (*SetTransactorRaw) Transact ¶
func (_Set *SetTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SetTransactorRaw) Transfer ¶
func (_Set *SetTransactorRaw) 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 SetTransactorSession ¶
type SetTransactorSession struct { Contract *SetTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SetTransactorSession is an auto generated write-only Go binding around an cpchain contract, with pre-set transact options.