Documentation ¶
Index ¶
- Constants
- type VipnodePool
- type VipnodePoolBalance
- type VipnodePoolBalanceIterator
- type VipnodePoolCaller
- func (_VipnodePool *VipnodePoolCaller) Accounts(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_VipnodePool *VipnodePoolCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_VipnodePool *VipnodePoolCaller) WithdrawInterval(opts *bind.CallOpts) (*big.Int, error)
- type VipnodePoolCallerRaw
- type VipnodePoolCallerSession
- type VipnodePoolFilterer
- func (_VipnodePool *VipnodePoolFilterer) FilterBalance(opts *bind.FilterOpts) (*VipnodePoolBalanceIterator, error)
- func (_VipnodePool *VipnodePoolFilterer) FilterForceSettle(opts *bind.FilterOpts) (*VipnodePoolForceSettleIterator, error)
- func (_VipnodePool *VipnodePoolFilterer) WatchBalance(opts *bind.WatchOpts, sink chan<- *VipnodePoolBalance) (event.Subscription, error)
- func (_VipnodePool *VipnodePoolFilterer) WatchForceSettle(opts *bind.WatchOpts, sink chan<- *VipnodePoolForceSettle) (event.Subscription, error)
- type VipnodePoolForceSettle
- type VipnodePoolForceSettleIterator
- type VipnodePoolRaw
- func (_VipnodePool *VipnodePoolRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_VipnodePool *VipnodePoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VipnodePoolSession
- func (_VipnodePool *VipnodePoolSession) Accounts(arg0 common.Address) (struct{ ... }, error)
- func (_VipnodePool *VipnodePoolSession) AddBalance() (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolSession) ForceSettle() (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolSession) ForceWithdraw() (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolSession) OpSettle(_account common.Address, _releaseAmount *big.Int, _newBalance *big.Int) (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolSession) OpWithdraw(_amount *big.Int) (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolSession) Operator() (common.Address, error)
- func (_VipnodePool *VipnodePoolSession) WithdrawInterval() (*big.Int, error)
- type VipnodePoolTransactor
- func (_VipnodePool *VipnodePoolTransactor) AddBalance(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolTransactor) ForceSettle(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolTransactor) ForceWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolTransactor) OpSettle(opts *bind.TransactOpts, _account common.Address, _releaseAmount *big.Int, ...) (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolTransactor) OpWithdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- type VipnodePoolTransactorRaw
- type VipnodePoolTransactorSession
- func (_VipnodePool *VipnodePoolTransactorSession) AddBalance() (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolTransactorSession) ForceSettle() (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolTransactorSession) ForceWithdraw() (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolTransactorSession) OpSettle(_account common.Address, _releaseAmount *big.Int, _newBalance *big.Int) (*types.Transaction, error)
- func (_VipnodePool *VipnodePoolTransactorSession) OpWithdraw(_amount *big.Int) (*types.Transaction, error)
Constants ¶
const VipnodePoolABI = "" /* 2100-byte string literal not displayed */
VipnodePoolABI is the input ABI used to generate the binding from.
const VipnodePoolBin = `` /* 2538-byte string literal not displayed */
VipnodePoolBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VipnodePool ¶
type VipnodePool struct { VipnodePoolCaller // Read-only binding to the contract VipnodePoolTransactor // Write-only binding to the contract VipnodePoolFilterer // Log filterer for contract events }
VipnodePool is an auto generated Go binding around an Ethereum contract.
func DeployVipnodePool ¶
func DeployVipnodePool(auth *bind.TransactOpts, backend bind.ContractBackend, _operator common.Address) (common.Address, *types.Transaction, *VipnodePool, error)
DeployVipnodePool deploys a new Ethereum contract, binding an instance of VipnodePool to it.
func NewVipnodePool ¶
func NewVipnodePool(address common.Address, backend bind.ContractBackend) (*VipnodePool, error)
NewVipnodePool creates a new instance of VipnodePool, bound to a specific deployed contract.
type VipnodePoolBalance ¶
type VipnodePoolBalance struct { Account common.Address Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
VipnodePoolBalance represents a Balance event raised by the VipnodePool contract.
type VipnodePoolBalanceIterator ¶
type VipnodePoolBalanceIterator struct { Event *VipnodePoolBalance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VipnodePoolBalanceIterator is returned from FilterBalance and is used to iterate over the raw logs and unpacked data for Balance events raised by the VipnodePool contract.
func (*VipnodePoolBalanceIterator) Close ¶
func (it *VipnodePoolBalanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VipnodePoolBalanceIterator) Error ¶
func (it *VipnodePoolBalanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VipnodePoolBalanceIterator) Next ¶
func (it *VipnodePoolBalanceIterator) 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 VipnodePoolCaller ¶
type VipnodePoolCaller struct {
// contains filtered or unexported fields
}
VipnodePoolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVipnodePoolCaller ¶
func NewVipnodePoolCaller(address common.Address, caller bind.ContractCaller) (*VipnodePoolCaller, error)
NewVipnodePoolCaller creates a new read-only instance of VipnodePool, bound to a specific deployed contract.
func (*VipnodePoolCaller) Accounts ¶
func (_VipnodePool *VipnodePoolCaller) Accounts(opts *bind.CallOpts, arg0 common.Address) (struct { Balance *big.Int TimeLocked *big.Int }, error)
Accounts is a free data retrieval call binding the contract method 0x5e5c06e2.
Solidity: function accounts( address) constant returns(balance uint256, timeLocked uint256)
func (*VipnodePoolCaller) Operator ¶
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() constant returns(address)
func (*VipnodePoolCaller) WithdrawInterval ¶
WithdrawInterval is a free data retrieval call binding the contract method 0x162075d8.
Solidity: function withdrawInterval() constant returns(uint256)
type VipnodePoolCallerRaw ¶
type VipnodePoolCallerRaw struct {
Contract *VipnodePoolCaller // Generic read-only contract binding to access the raw methods on
}
VipnodePoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VipnodePoolCallerRaw) Call ¶
func (_VipnodePool *VipnodePoolCallerRaw) 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 VipnodePoolCallerSession ¶
type VipnodePoolCallerSession struct { Contract *VipnodePoolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VipnodePoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VipnodePoolCallerSession) Accounts ¶
func (_VipnodePool *VipnodePoolCallerSession) Accounts(arg0 common.Address) (struct { Balance *big.Int TimeLocked *big.Int }, error)
Accounts is a free data retrieval call binding the contract method 0x5e5c06e2.
Solidity: function accounts( address) constant returns(balance uint256, timeLocked uint256)
func (*VipnodePoolCallerSession) Operator ¶
func (_VipnodePool *VipnodePoolCallerSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() constant returns(address)
func (*VipnodePoolCallerSession) WithdrawInterval ¶
func (_VipnodePool *VipnodePoolCallerSession) WithdrawInterval() (*big.Int, error)
WithdrawInterval is a free data retrieval call binding the contract method 0x162075d8.
Solidity: function withdrawInterval() constant returns(uint256)
type VipnodePoolFilterer ¶
type VipnodePoolFilterer struct {
// contains filtered or unexported fields
}
VipnodePoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVipnodePoolFilterer ¶
func NewVipnodePoolFilterer(address common.Address, filterer bind.ContractFilterer) (*VipnodePoolFilterer, error)
NewVipnodePoolFilterer creates a new log filterer instance of VipnodePool, bound to a specific deployed contract.
func (*VipnodePoolFilterer) FilterBalance ¶
func (_VipnodePool *VipnodePoolFilterer) FilterBalance(opts *bind.FilterOpts) (*VipnodePoolBalanceIterator, error)
FilterBalance is a free log retrieval operation binding the contract event 0x134e340554ff8a7d64280a2a28b982df554e2595e5bf45cd39368f31099172a6.
Solidity: e Balance(account address, balance uint256)
func (*VipnodePoolFilterer) FilterForceSettle ¶
func (_VipnodePool *VipnodePoolFilterer) FilterForceSettle(opts *bind.FilterOpts) (*VipnodePoolForceSettleIterator, error)
FilterForceSettle is a free log retrieval operation binding the contract event 0xde112f62320281f04efec46e09ed286851fdd0b428dfc7214fe0e64f9364323b.
Solidity: e ForceSettle(account address, timeLocked uint256)
func (*VipnodePoolFilterer) WatchBalance ¶
func (_VipnodePool *VipnodePoolFilterer) WatchBalance(opts *bind.WatchOpts, sink chan<- *VipnodePoolBalance) (event.Subscription, error)
WatchBalance is a free log subscription operation binding the contract event 0x134e340554ff8a7d64280a2a28b982df554e2595e5bf45cd39368f31099172a6.
Solidity: e Balance(account address, balance uint256)
func (*VipnodePoolFilterer) WatchForceSettle ¶
func (_VipnodePool *VipnodePoolFilterer) WatchForceSettle(opts *bind.WatchOpts, sink chan<- *VipnodePoolForceSettle) (event.Subscription, error)
WatchForceSettle is a free log subscription operation binding the contract event 0xde112f62320281f04efec46e09ed286851fdd0b428dfc7214fe0e64f9364323b.
Solidity: e ForceSettle(account address, timeLocked uint256)
type VipnodePoolForceSettle ¶
type VipnodePoolForceSettle struct { Account common.Address TimeLocked *big.Int Raw types.Log // Blockchain specific contextual infos }
VipnodePoolForceSettle represents a ForceSettle event raised by the VipnodePool contract.
type VipnodePoolForceSettleIterator ¶
type VipnodePoolForceSettleIterator struct { Event *VipnodePoolForceSettle // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VipnodePoolForceSettleIterator is returned from FilterForceSettle and is used to iterate over the raw logs and unpacked data for ForceSettle events raised by the VipnodePool contract.
func (*VipnodePoolForceSettleIterator) Close ¶
func (it *VipnodePoolForceSettleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VipnodePoolForceSettleIterator) Error ¶
func (it *VipnodePoolForceSettleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VipnodePoolForceSettleIterator) Next ¶
func (it *VipnodePoolForceSettleIterator) 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 VipnodePoolRaw ¶
type VipnodePoolRaw struct {
Contract *VipnodePool // Generic contract binding to access the raw methods on
}
VipnodePoolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VipnodePoolRaw) Call ¶
func (_VipnodePool *VipnodePoolRaw) 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 (*VipnodePoolRaw) Transact ¶
func (_VipnodePool *VipnodePoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VipnodePoolRaw) Transfer ¶
func (_VipnodePool *VipnodePoolRaw) 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 VipnodePoolSession ¶
type VipnodePoolSession struct { Contract *VipnodePool // 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 }
VipnodePoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VipnodePoolSession) Accounts ¶
func (_VipnodePool *VipnodePoolSession) Accounts(arg0 common.Address) (struct { Balance *big.Int TimeLocked *big.Int }, error)
Accounts is a free data retrieval call binding the contract method 0x5e5c06e2.
Solidity: function accounts( address) constant returns(balance uint256, timeLocked uint256)
func (*VipnodePoolSession) AddBalance ¶
func (_VipnodePool *VipnodePoolSession) AddBalance() (*types.Transaction, error)
AddBalance is a paid mutator transaction binding the contract method 0xb163cc38.
Solidity: function addBalance() returns()
func (*VipnodePoolSession) ForceSettle ¶
func (_VipnodePool *VipnodePoolSession) ForceSettle() (*types.Transaction, error)
ForceSettle is a paid mutator transaction binding the contract method 0xaeea1f7b.
Solidity: function forceSettle() returns()
func (*VipnodePoolSession) ForceWithdraw ¶
func (_VipnodePool *VipnodePoolSession) ForceWithdraw() (*types.Transaction, error)
ForceWithdraw is a paid mutator transaction binding the contract method 0x7be80b39.
Solidity: function forceWithdraw() returns()
func (*VipnodePoolSession) OpSettle ¶
func (_VipnodePool *VipnodePoolSession) OpSettle(_account common.Address, _releaseAmount *big.Int, _newBalance *big.Int) (*types.Transaction, error)
OpSettle is a paid mutator transaction binding the contract method 0xb27d1ce3.
Solidity: function opSettle(_account address, _releaseAmount uint256, _newBalance uint256) returns()
func (*VipnodePoolSession) OpWithdraw ¶
func (_VipnodePool *VipnodePoolSession) OpWithdraw(_amount *big.Int) (*types.Transaction, error)
OpWithdraw is a paid mutator transaction binding the contract method 0xae5fa7e7.
Solidity: function opWithdraw(_amount uint256) returns()
func (*VipnodePoolSession) Operator ¶
func (_VipnodePool *VipnodePoolSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() constant returns(address)
func (*VipnodePoolSession) WithdrawInterval ¶
func (_VipnodePool *VipnodePoolSession) WithdrawInterval() (*big.Int, error)
WithdrawInterval is a free data retrieval call binding the contract method 0x162075d8.
Solidity: function withdrawInterval() constant returns(uint256)
type VipnodePoolTransactor ¶
type VipnodePoolTransactor struct {
// contains filtered or unexported fields
}
VipnodePoolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVipnodePoolTransactor ¶
func NewVipnodePoolTransactor(address common.Address, transactor bind.ContractTransactor) (*VipnodePoolTransactor, error)
NewVipnodePoolTransactor creates a new write-only instance of VipnodePool, bound to a specific deployed contract.
func (*VipnodePoolTransactor) AddBalance ¶
func (_VipnodePool *VipnodePoolTransactor) AddBalance(opts *bind.TransactOpts) (*types.Transaction, error)
AddBalance is a paid mutator transaction binding the contract method 0xb163cc38.
Solidity: function addBalance() returns()
func (*VipnodePoolTransactor) ForceSettle ¶
func (_VipnodePool *VipnodePoolTransactor) ForceSettle(opts *bind.TransactOpts) (*types.Transaction, error)
ForceSettle is a paid mutator transaction binding the contract method 0xaeea1f7b.
Solidity: function forceSettle() returns()
func (*VipnodePoolTransactor) ForceWithdraw ¶
func (_VipnodePool *VipnodePoolTransactor) ForceWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
ForceWithdraw is a paid mutator transaction binding the contract method 0x7be80b39.
Solidity: function forceWithdraw() returns()
func (*VipnodePoolTransactor) OpSettle ¶
func (_VipnodePool *VipnodePoolTransactor) OpSettle(opts *bind.TransactOpts, _account common.Address, _releaseAmount *big.Int, _newBalance *big.Int) (*types.Transaction, error)
OpSettle is a paid mutator transaction binding the contract method 0xb27d1ce3.
Solidity: function opSettle(_account address, _releaseAmount uint256, _newBalance uint256) returns()
func (*VipnodePoolTransactor) OpWithdraw ¶
func (_VipnodePool *VipnodePoolTransactor) OpWithdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
OpWithdraw is a paid mutator transaction binding the contract method 0xae5fa7e7.
Solidity: function opWithdraw(_amount uint256) returns()
type VipnodePoolTransactorRaw ¶
type VipnodePoolTransactorRaw struct {
Contract *VipnodePoolTransactor // Generic write-only contract binding to access the raw methods on
}
VipnodePoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VipnodePoolTransactorRaw) Transact ¶
func (_VipnodePool *VipnodePoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VipnodePoolTransactorRaw) Transfer ¶
func (_VipnodePool *VipnodePoolTransactorRaw) 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 VipnodePoolTransactorSession ¶
type VipnodePoolTransactorSession struct { Contract *VipnodePoolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VipnodePoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VipnodePoolTransactorSession) AddBalance ¶
func (_VipnodePool *VipnodePoolTransactorSession) AddBalance() (*types.Transaction, error)
AddBalance is a paid mutator transaction binding the contract method 0xb163cc38.
Solidity: function addBalance() returns()
func (*VipnodePoolTransactorSession) ForceSettle ¶
func (_VipnodePool *VipnodePoolTransactorSession) ForceSettle() (*types.Transaction, error)
ForceSettle is a paid mutator transaction binding the contract method 0xaeea1f7b.
Solidity: function forceSettle() returns()
func (*VipnodePoolTransactorSession) ForceWithdraw ¶
func (_VipnodePool *VipnodePoolTransactorSession) ForceWithdraw() (*types.Transaction, error)
ForceWithdraw is a paid mutator transaction binding the contract method 0x7be80b39.
Solidity: function forceWithdraw() returns()
func (*VipnodePoolTransactorSession) OpSettle ¶
func (_VipnodePool *VipnodePoolTransactorSession) OpSettle(_account common.Address, _releaseAmount *big.Int, _newBalance *big.Int) (*types.Transaction, error)
OpSettle is a paid mutator transaction binding the contract method 0xb27d1ce3.
Solidity: function opSettle(_account address, _releaseAmount uint256, _newBalance uint256) returns()
func (*VipnodePoolTransactorSession) OpWithdraw ¶
func (_VipnodePool *VipnodePoolTransactorSession) OpWithdraw(_amount *big.Int) (*types.Transaction, error)
OpWithdraw is a paid mutator transaction binding the contract method 0xae5fa7e7.
Solidity: function opWithdraw(_amount uint256) returns()