contract

package
v0.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BrokerABI = "" /* 6062-byte string literal not displayed */

BrokerABI is the input ABI used to generate the binding from.

View Source
const BrokerBin = `` /* 53208-byte string literal not displayed */

BrokerBin is the compiled bytecode used for deploying new contracts.

View Source
const ClerkABI = "" /* 2785-byte string literal not displayed */

ClerkABI is the input ABI used to generate the binding from.

View Source
const ClerkBin = `` /* 25109-byte string literal not displayed */

ClerkBin is the compiled bytecode used for deploying new contracts.

View Source
const IOTXABI = "" /* 4449-byte string literal not displayed */

IOTXABI is the input ABI used to generate the binding from.

View Source
const RegisterABI = "" /* 5259-byte string literal not displayed */

RegisterABI is the input ABI used to generate the binding from.

View Source
const RotatableVPSABI = "" /* 4860-byte string literal not displayed */

RotatableVPSABI is the input ABI used to generate the binding from.

View Source
const StakingABI = "" /* 10161-byte string literal not displayed */

StakingABI is the input ABI used to generate the binding from.

View Source
const VitaABI = "" /* 8951-byte string literal not displayed */

VitaABI is the input ABI used to generate the binding from.

View Source
const VitaBin = `` /* 91918-byte string literal not displayed */

VitaBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker added in v0.1.13

type Broker struct {
	BrokerCaller     // Read-only binding to the contract
	BrokerTransactor // Write-only binding to the contract
	BrokerFilterer   // Log filterer for contract events
}

Broker is an auto generated Go binding around an Ethereum contract.

func DeployBroker added in v0.1.17

func DeployBroker(auth *bind.TransactOpts, backend bind.ContractBackend, _vitaTokenAddress common.Address) (common.Address, *types.Transaction, *Broker, error)

DeployBroker deploys a new Ethereum contract, binding an instance of Broker to it.

func NewBroker added in v0.1.13

func NewBroker(address common.Address, backend bind.ContractBackend) (*Broker, error)

NewBroker creates a new instance of Broker, bound to a specific deployed contract.

type BrokerCaller added in v0.1.13

type BrokerCaller struct {
	// contains filtered or unexported fields
}

BrokerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBrokerCaller added in v0.1.13

func NewBrokerCaller(address common.Address, caller bind.ContractCaller) (*BrokerCaller, error)

NewBrokerCaller creates a new read-only instance of Broker, bound to a specific deployed contract.

func (*BrokerCaller) GetAvailableVitaValue added in v0.1.13

func (_Broker *BrokerCaller) GetAvailableVitaValue(opts *bind.CallOpts, _round *big.Int) (*big.Int, error)

GetAvailableVitaValue is a free data retrieval call binding the contract method 0xe80804be.

Solidity: function getAvailableVitaValue(uint256 _round) constant returns(uint256)

func (*BrokerCaller) GetBid added in v0.1.13

func (_Broker *BrokerCaller) GetBid(opts *bind.CallOpts, _round *big.Int, _address common.Address) (*big.Int, error)

GetBid is a free data retrieval call binding the contract method 0xeba1b60b.

Solidity: function getBid(uint256 _round, address _address) constant returns(uint256)

func (*BrokerCaller) GetNumBids added in v0.1.13

func (_Broker *BrokerCaller) GetNumBids(opts *bind.CallOpts, _round *big.Int) (*big.Int, error)

GetNumBids is a free data retrieval call binding the contract method 0x9e0a673f.

Solidity: function getNumBids(uint256 _round) constant returns(uint256)

func (*BrokerCaller) GetTotalBidsValue added in v0.1.13

func (_Broker *BrokerCaller) GetTotalBidsValue(opts *bind.CallOpts, _round *big.Int) (*big.Int, error)

GetTotalBidsValue is a free data retrieval call binding the contract method 0x23702b34.

Solidity: function getTotalBidsValue(uint256 _round) constant returns(uint256)

func (*BrokerCaller) NextBidToSettle added in v0.1.13

func (_Broker *BrokerCaller) NextBidToSettle(opts *bind.CallOpts) (*big.Int, error)

NextBidToSettle is a free data retrieval call binding the contract method 0x650cc7cc.

Solidity: function nextBidToSettle() constant returns(uint256)

func (*BrokerCaller) Owner added in v0.1.13

func (_Broker *BrokerCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*BrokerCaller) Paused added in v0.1.13

func (_Broker *BrokerCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*BrokerCaller) Round added in v0.1.13

func (_Broker *BrokerCaller) Round(opts *bind.CallOpts) (*big.Int, error)

Round is a free data retrieval call binding the contract method 0x146ca531.

Solidity: function round() constant returns(uint256)

func (*BrokerCaller) Whitelist added in v0.1.13

func (_Broker *BrokerCaller) Whitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

type BrokerCallerRaw added in v0.1.13

type BrokerCallerRaw struct {
	Contract *BrokerCaller // Generic read-only contract binding to access the raw methods on
}

BrokerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BrokerCallerRaw) Call added in v0.1.13

func (_Broker *BrokerCallerRaw) 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 BrokerCallerSession added in v0.1.13

type BrokerCallerSession struct {
	Contract *BrokerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

BrokerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BrokerCallerSession) GetAvailableVitaValue added in v0.1.13

func (_Broker *BrokerCallerSession) GetAvailableVitaValue(_round *big.Int) (*big.Int, error)

GetAvailableVitaValue is a free data retrieval call binding the contract method 0xe80804be.

Solidity: function getAvailableVitaValue(uint256 _round) constant returns(uint256)

func (*BrokerCallerSession) GetBid added in v0.1.13

func (_Broker *BrokerCallerSession) GetBid(_round *big.Int, _address common.Address) (*big.Int, error)

GetBid is a free data retrieval call binding the contract method 0xeba1b60b.

Solidity: function getBid(uint256 _round, address _address) constant returns(uint256)

func (*BrokerCallerSession) GetNumBids added in v0.1.13

func (_Broker *BrokerCallerSession) GetNumBids(_round *big.Int) (*big.Int, error)

GetNumBids is a free data retrieval call binding the contract method 0x9e0a673f.

Solidity: function getNumBids(uint256 _round) constant returns(uint256)

func (*BrokerCallerSession) GetTotalBidsValue added in v0.1.13

func (_Broker *BrokerCallerSession) GetTotalBidsValue(_round *big.Int) (*big.Int, error)

GetTotalBidsValue is a free data retrieval call binding the contract method 0x23702b34.

Solidity: function getTotalBidsValue(uint256 _round) constant returns(uint256)

func (*BrokerCallerSession) NextBidToSettle added in v0.1.13

func (_Broker *BrokerCallerSession) NextBidToSettle() (*big.Int, error)

NextBidToSettle is a free data retrieval call binding the contract method 0x650cc7cc.

Solidity: function nextBidToSettle() constant returns(uint256)

func (*BrokerCallerSession) Owner added in v0.1.13

func (_Broker *BrokerCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*BrokerCallerSession) Paused added in v0.1.13

func (_Broker *BrokerCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*BrokerCallerSession) Round added in v0.1.13

func (_Broker *BrokerCallerSession) Round() (*big.Int, error)

Round is a free data retrieval call binding the contract method 0x146ca531.

Solidity: function round() constant returns(uint256)

func (*BrokerCallerSession) Whitelist added in v0.1.13

func (_Broker *BrokerCallerSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

type BrokerCollateralWithdrawn added in v0.1.13

type BrokerCollateralWithdrawn struct {
	Receiver   common.Address
	Collateral *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

BrokerCollateralWithdrawn represents a CollateralWithdrawn event raised by the Broker contract.

type BrokerCollateralWithdrawnIterator added in v0.1.13

type BrokerCollateralWithdrawnIterator struct {
	Event *BrokerCollateralWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrokerCollateralWithdrawnIterator is returned from FilterCollateralWithdrawn and is used to iterate over the raw logs and unpacked data for CollateralWithdrawn events raised by the Broker contract.

func (*BrokerCollateralWithdrawnIterator) Close added in v0.1.13

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrokerCollateralWithdrawnIterator) Error added in v0.1.13

Error returns any retrieval or parsing error occurred during filtering.

func (*BrokerCollateralWithdrawnIterator) Next added in v0.1.13

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 BrokerFilterer added in v0.1.13

type BrokerFilterer struct {
	// contains filtered or unexported fields
}

BrokerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBrokerFilterer added in v0.1.13

func NewBrokerFilterer(address common.Address, filterer bind.ContractFilterer) (*BrokerFilterer, error)

NewBrokerFilterer creates a new log filterer instance of Broker, bound to a specific deployed contract.

func (*BrokerFilterer) FilterCollateralWithdrawn added in v0.1.13

func (_Broker *BrokerFilterer) FilterCollateralWithdrawn(opts *bind.FilterOpts, receiver []common.Address) (*BrokerCollateralWithdrawnIterator, error)

FilterCollateralWithdrawn is a free log retrieval operation binding the contract event 0xc30fcfbcaac9e0deffa719714eaa82396ff506a0d0d0eebe170830177288715d.

Solidity: event CollateralWithdrawn(address indexed receiver, uint256 collateral)

func (*BrokerFilterer) FilterNewRound added in v0.1.13

func (_Broker *BrokerFilterer) FilterNewRound(opts *bind.FilterOpts) (*BrokerNewRoundIterator, error)

FilterNewRound is a free log retrieval operation binding the contract event 0x5aec57d81928b24d30b1a2aec0d23d693412c37d7ec106b5d8259413716bb1f4.

Solidity: event NewRound(uint256 round, uint256 claimedAmount, uint256 burnedAmount)

func (*BrokerFilterer) FilterOwnershipTransferred added in v0.1.13

func (_Broker *BrokerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BrokerOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BrokerFilterer) FilterPause added in v0.1.13

func (_Broker *BrokerFilterer) FilterPause(opts *bind.FilterOpts) (*BrokerPauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*BrokerFilterer) FilterUnpause added in v0.1.13

func (_Broker *BrokerFilterer) FilterUnpause(opts *bind.FilterOpts) (*BrokerUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*BrokerFilterer) FilterVitaBidden added in v0.1.13

func (_Broker *BrokerFilterer) FilterVitaBidden(opts *bind.FilterOpts, round []*big.Int, sender []common.Address) (*BrokerVitaBiddenIterator, error)

FilterVitaBidden is a free log retrieval operation binding the contract event 0x79a65306bcf4df035a08de81edeed738ecd4ed22db73a8ec95d953b82e1611dd.

Solidity: event VitaBidden(uint256 indexed round, address indexed sender, uint256 collateral)

func (*BrokerFilterer) FilterVitaBidsSettled added in v0.1.13

func (_Broker *BrokerFilterer) FilterVitaBidsSettled(opts *bind.FilterOpts) (*BrokerVitaBidsSettledIterator, error)

FilterVitaBidsSettled is a free log retrieval operation binding the contract event 0x80fd533e8e20c803bc5ea74913bea6a24c31cf5d3c8773c55b35692291a4f95d.

Solidity: event VitaBidsSettled(bool finished)

func (*BrokerFilterer) FilterVitaBought added in v0.1.13

func (_Broker *BrokerFilterer) FilterVitaBought(opts *bind.FilterOpts, round []*big.Int, sender []common.Address) (*BrokerVitaBoughtIterator, error)

FilterVitaBought is a free log retrieval operation binding the contract event 0x2788583a28c987267b8994b86aa4aca25db0bb25d1a742da84afd7845af92af6.

Solidity: event VitaBought(uint256 indexed round, address indexed sender, uint256 collateral, uint256 vita)

func (*BrokerFilterer) FilterWhitelistedAddressAdded added in v0.1.13

func (_Broker *BrokerFilterer) FilterWhitelistedAddressAdded(opts *bind.FilterOpts) (*BrokerWhitelistedAddressAddedIterator, error)

FilterWhitelistedAddressAdded is a free log retrieval operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*BrokerFilterer) FilterWhitelistedAddressRemoved added in v0.1.13

func (_Broker *BrokerFilterer) FilterWhitelistedAddressRemoved(opts *bind.FilterOpts) (*BrokerWhitelistedAddressRemovedIterator, error)

FilterWhitelistedAddressRemoved is a free log retrieval operation binding the contract event 0xf1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a.

Solidity: event WhitelistedAddressRemoved(address addr)

func (*BrokerFilterer) WatchCollateralWithdrawn added in v0.1.13

func (_Broker *BrokerFilterer) WatchCollateralWithdrawn(opts *bind.WatchOpts, sink chan<- *BrokerCollateralWithdrawn, receiver []common.Address) (event.Subscription, error)

WatchCollateralWithdrawn is a free log subscription operation binding the contract event 0xc30fcfbcaac9e0deffa719714eaa82396ff506a0d0d0eebe170830177288715d.

Solidity: event CollateralWithdrawn(address indexed receiver, uint256 collateral)

func (*BrokerFilterer) WatchNewRound added in v0.1.13

func (_Broker *BrokerFilterer) WatchNewRound(opts *bind.WatchOpts, sink chan<- *BrokerNewRound) (event.Subscription, error)

WatchNewRound is a free log subscription operation binding the contract event 0x5aec57d81928b24d30b1a2aec0d23d693412c37d7ec106b5d8259413716bb1f4.

Solidity: event NewRound(uint256 round, uint256 claimedAmount, uint256 burnedAmount)

func (*BrokerFilterer) WatchOwnershipTransferred added in v0.1.13

func (_Broker *BrokerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BrokerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BrokerFilterer) WatchPause added in v0.1.13

func (_Broker *BrokerFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *BrokerPause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*BrokerFilterer) WatchUnpause added in v0.1.13

func (_Broker *BrokerFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *BrokerUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*BrokerFilterer) WatchVitaBidden added in v0.1.13

func (_Broker *BrokerFilterer) WatchVitaBidden(opts *bind.WatchOpts, sink chan<- *BrokerVitaBidden, round []*big.Int, sender []common.Address) (event.Subscription, error)

WatchVitaBidden is a free log subscription operation binding the contract event 0x79a65306bcf4df035a08de81edeed738ecd4ed22db73a8ec95d953b82e1611dd.

Solidity: event VitaBidden(uint256 indexed round, address indexed sender, uint256 collateral)

func (*BrokerFilterer) WatchVitaBidsSettled added in v0.1.13

func (_Broker *BrokerFilterer) WatchVitaBidsSettled(opts *bind.WatchOpts, sink chan<- *BrokerVitaBidsSettled) (event.Subscription, error)

WatchVitaBidsSettled is a free log subscription operation binding the contract event 0x80fd533e8e20c803bc5ea74913bea6a24c31cf5d3c8773c55b35692291a4f95d.

Solidity: event VitaBidsSettled(bool finished)

func (*BrokerFilterer) WatchVitaBought added in v0.1.13

func (_Broker *BrokerFilterer) WatchVitaBought(opts *bind.WatchOpts, sink chan<- *BrokerVitaBought, round []*big.Int, sender []common.Address) (event.Subscription, error)

WatchVitaBought is a free log subscription operation binding the contract event 0x2788583a28c987267b8994b86aa4aca25db0bb25d1a742da84afd7845af92af6.

Solidity: event VitaBought(uint256 indexed round, address indexed sender, uint256 collateral, uint256 vita)

func (*BrokerFilterer) WatchWhitelistedAddressAdded added in v0.1.13

func (_Broker *BrokerFilterer) WatchWhitelistedAddressAdded(opts *bind.WatchOpts, sink chan<- *BrokerWhitelistedAddressAdded) (event.Subscription, error)

WatchWhitelistedAddressAdded is a free log subscription operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*BrokerFilterer) WatchWhitelistedAddressRemoved added in v0.1.13

func (_Broker *BrokerFilterer) WatchWhitelistedAddressRemoved(opts *bind.WatchOpts, sink chan<- *BrokerWhitelistedAddressRemoved) (event.Subscription, error)

WatchWhitelistedAddressRemoved is a free log subscription operation binding the contract event 0xf1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a.

Solidity: event WhitelistedAddressRemoved(address addr)

type BrokerNewRound added in v0.1.13

type BrokerNewRound struct {
	Round         *big.Int
	ClaimedAmount *big.Int
	BurnedAmount  *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

BrokerNewRound represents a NewRound event raised by the Broker contract.

type BrokerNewRoundIterator added in v0.1.13

type BrokerNewRoundIterator struct {
	Event *BrokerNewRound // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrokerNewRoundIterator is returned from FilterNewRound and is used to iterate over the raw logs and unpacked data for NewRound events raised by the Broker contract.

func (*BrokerNewRoundIterator) Close added in v0.1.13

func (it *BrokerNewRoundIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrokerNewRoundIterator) Error added in v0.1.13

func (it *BrokerNewRoundIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrokerNewRoundIterator) Next added in v0.1.13

func (it *BrokerNewRoundIterator) 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 BrokerOwnershipTransferred added in v0.1.13

type BrokerOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BrokerOwnershipTransferred represents a OwnershipTransferred event raised by the Broker contract.

type BrokerOwnershipTransferredIterator added in v0.1.13

type BrokerOwnershipTransferredIterator struct {
	Event *BrokerOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrokerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Broker contract.

func (*BrokerOwnershipTransferredIterator) Close added in v0.1.13

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrokerOwnershipTransferredIterator) Error added in v0.1.13

Error returns any retrieval or parsing error occurred during filtering.

func (*BrokerOwnershipTransferredIterator) Next added in v0.1.13

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 BrokerPause added in v0.1.13

type BrokerPause struct {
	Raw types.Log // Blockchain specific contextual infos
}

BrokerPause represents a Pause event raised by the Broker contract.

type BrokerPauseIterator added in v0.1.13

type BrokerPauseIterator struct {
	Event *BrokerPause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrokerPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the Broker contract.

func (*BrokerPauseIterator) Close added in v0.1.13

func (it *BrokerPauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrokerPauseIterator) Error added in v0.1.13

func (it *BrokerPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrokerPauseIterator) Next added in v0.1.13

func (it *BrokerPauseIterator) 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 BrokerRaw added in v0.1.13

type BrokerRaw struct {
	Contract *Broker // Generic contract binding to access the raw methods on
}

BrokerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BrokerRaw) Call added in v0.1.13

func (_Broker *BrokerRaw) 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 (*BrokerRaw) Transact added in v0.1.13

func (_Broker *BrokerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BrokerRaw) Transfer added in v0.1.13

func (_Broker *BrokerRaw) 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 BrokerSession added in v0.1.13

type BrokerSession struct {
	Contract     *Broker           // 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
}

BrokerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BrokerSession) AddAddressToWhitelist added in v0.1.13

func (_Broker *BrokerSession) AddAddressToWhitelist(addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*BrokerSession) AddAddressesToWhitelist added in v0.1.13

func (_Broker *BrokerSession) AddAddressesToWhitelist(addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*BrokerSession) Bid added in v0.1.13

func (_Broker *BrokerSession) Bid() (*types.Transaction, error)

Bid is a paid mutator transaction binding the contract method 0x1998aeef.

Solidity: function bid() returns()

func (*BrokerSession) GetAvailableVitaValue added in v0.1.13

func (_Broker *BrokerSession) GetAvailableVitaValue(_round *big.Int) (*big.Int, error)

GetAvailableVitaValue is a free data retrieval call binding the contract method 0xe80804be.

Solidity: function getAvailableVitaValue(uint256 _round) constant returns(uint256)

func (*BrokerSession) GetBid added in v0.1.13

func (_Broker *BrokerSession) GetBid(_round *big.Int, _address common.Address) (*big.Int, error)

GetBid is a free data retrieval call binding the contract method 0xeba1b60b.

Solidity: function getBid(uint256 _round, address _address) constant returns(uint256)

func (*BrokerSession) GetNumBids added in v0.1.13

func (_Broker *BrokerSession) GetNumBids(_round *big.Int) (*big.Int, error)

GetNumBids is a free data retrieval call binding the contract method 0x9e0a673f.

Solidity: function getNumBids(uint256 _round) constant returns(uint256)

func (*BrokerSession) GetTotalBidsValue added in v0.1.13

func (_Broker *BrokerSession) GetTotalBidsValue(_round *big.Int) (*big.Int, error)

GetTotalBidsValue is a free data retrieval call binding the contract method 0x23702b34.

Solidity: function getTotalBidsValue(uint256 _round) constant returns(uint256)

func (*BrokerSession) NextBidToSettle added in v0.1.13

func (_Broker *BrokerSession) NextBidToSettle() (*big.Int, error)

NextBidToSettle is a free data retrieval call binding the contract method 0x650cc7cc.

Solidity: function nextBidToSettle() constant returns(uint256)

func (*BrokerSession) Owner added in v0.1.13

func (_Broker *BrokerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*BrokerSession) Pause added in v0.1.13

func (_Broker *BrokerSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*BrokerSession) Paused added in v0.1.13

func (_Broker *BrokerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*BrokerSession) RemoveAddressFromWhitelist added in v0.1.13

func (_Broker *BrokerSession) RemoveAddressFromWhitelist(addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*BrokerSession) RemoveAddressesFromWhitelist added in v0.1.13

func (_Broker *BrokerSession) RemoveAddressesFromWhitelist(addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*BrokerSession) Reset added in v0.1.13

func (_Broker *BrokerSession) Reset() (*types.Transaction, error)

Reset is a paid mutator transaction binding the contract method 0xd826f88f.

Solidity: function reset() returns()

func (*BrokerSession) Round added in v0.1.13

func (_Broker *BrokerSession) Round() (*big.Int, error)

Round is a free data retrieval call binding the contract method 0x146ca531.

Solidity: function round() constant returns(uint256)

func (*BrokerSession) Settle added in v0.1.13

func (_Broker *BrokerSession) Settle(_count *big.Int) (*types.Transaction, error)

Settle is a paid mutator transaction binding the contract method 0x8df82800.

Solidity: function settle(uint256 _count) returns()

func (*BrokerSession) TransferCollateral added in v0.1.13

func (_Broker *BrokerSession) TransferCollateral(_receiver common.Address, _amount *big.Int) (*types.Transaction, error)

TransferCollateral is a paid mutator transaction binding the contract method 0x816b1e8f.

Solidity: function transferCollateral(address _receiver, uint256 _amount) returns()

func (*BrokerSession) TransferOwnership added in v0.1.13

func (_Broker *BrokerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BrokerSession) Unpause added in v0.1.13

func (_Broker *BrokerSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*BrokerSession) Whitelist added in v0.1.13

func (_Broker *BrokerSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

type BrokerTransactor added in v0.1.13

type BrokerTransactor struct {
	// contains filtered or unexported fields
}

BrokerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBrokerTransactor added in v0.1.13

func NewBrokerTransactor(address common.Address, transactor bind.ContractTransactor) (*BrokerTransactor, error)

NewBrokerTransactor creates a new write-only instance of Broker, bound to a specific deployed contract.

func (*BrokerTransactor) AddAddressToWhitelist added in v0.1.13

func (_Broker *BrokerTransactor) AddAddressToWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*BrokerTransactor) AddAddressesToWhitelist added in v0.1.13

func (_Broker *BrokerTransactor) AddAddressesToWhitelist(opts *bind.TransactOpts, addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*BrokerTransactor) Bid added in v0.1.13

func (_Broker *BrokerTransactor) Bid(opts *bind.TransactOpts) (*types.Transaction, error)

Bid is a paid mutator transaction binding the contract method 0x1998aeef.

Solidity: function bid() returns()

func (*BrokerTransactor) Pause added in v0.1.13

func (_Broker *BrokerTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*BrokerTransactor) RemoveAddressFromWhitelist added in v0.1.13

func (_Broker *BrokerTransactor) RemoveAddressFromWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*BrokerTransactor) RemoveAddressesFromWhitelist added in v0.1.13

func (_Broker *BrokerTransactor) RemoveAddressesFromWhitelist(opts *bind.TransactOpts, addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*BrokerTransactor) Reset added in v0.1.13

func (_Broker *BrokerTransactor) Reset(opts *bind.TransactOpts) (*types.Transaction, error)

Reset is a paid mutator transaction binding the contract method 0xd826f88f.

Solidity: function reset() returns()

func (*BrokerTransactor) Settle added in v0.1.13

func (_Broker *BrokerTransactor) Settle(opts *bind.TransactOpts, _count *big.Int) (*types.Transaction, error)

Settle is a paid mutator transaction binding the contract method 0x8df82800.

Solidity: function settle(uint256 _count) returns()

func (*BrokerTransactor) TransferCollateral added in v0.1.13

func (_Broker *BrokerTransactor) TransferCollateral(opts *bind.TransactOpts, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)

TransferCollateral is a paid mutator transaction binding the contract method 0x816b1e8f.

Solidity: function transferCollateral(address _receiver, uint256 _amount) returns()

func (*BrokerTransactor) TransferOwnership added in v0.1.13

func (_Broker *BrokerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BrokerTransactor) Unpause added in v0.1.13

func (_Broker *BrokerTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type BrokerTransactorRaw added in v0.1.13

type BrokerTransactorRaw struct {
	Contract *BrokerTransactor // Generic write-only contract binding to access the raw methods on
}

BrokerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BrokerTransactorRaw) Transact added in v0.1.13

func (_Broker *BrokerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BrokerTransactorRaw) Transfer added in v0.1.13

func (_Broker *BrokerTransactorRaw) 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 BrokerTransactorSession added in v0.1.13

type BrokerTransactorSession struct {
	Contract     *BrokerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BrokerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BrokerTransactorSession) AddAddressToWhitelist added in v0.1.13

func (_Broker *BrokerTransactorSession) AddAddressToWhitelist(addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*BrokerTransactorSession) AddAddressesToWhitelist added in v0.1.13

func (_Broker *BrokerTransactorSession) AddAddressesToWhitelist(addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*BrokerTransactorSession) Bid added in v0.1.13

func (_Broker *BrokerTransactorSession) Bid() (*types.Transaction, error)

Bid is a paid mutator transaction binding the contract method 0x1998aeef.

Solidity: function bid() returns()

func (*BrokerTransactorSession) Pause added in v0.1.13

func (_Broker *BrokerTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*BrokerTransactorSession) RemoveAddressFromWhitelist added in v0.1.13

func (_Broker *BrokerTransactorSession) RemoveAddressFromWhitelist(addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*BrokerTransactorSession) RemoveAddressesFromWhitelist added in v0.1.13

func (_Broker *BrokerTransactorSession) RemoveAddressesFromWhitelist(addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*BrokerTransactorSession) Reset added in v0.1.13

func (_Broker *BrokerTransactorSession) Reset() (*types.Transaction, error)

Reset is a paid mutator transaction binding the contract method 0xd826f88f.

Solidity: function reset() returns()

func (*BrokerTransactorSession) Settle added in v0.1.13

func (_Broker *BrokerTransactorSession) Settle(_count *big.Int) (*types.Transaction, error)

Settle is a paid mutator transaction binding the contract method 0x8df82800.

Solidity: function settle(uint256 _count) returns()

func (*BrokerTransactorSession) TransferCollateral added in v0.1.13

func (_Broker *BrokerTransactorSession) TransferCollateral(_receiver common.Address, _amount *big.Int) (*types.Transaction, error)

TransferCollateral is a paid mutator transaction binding the contract method 0x816b1e8f.

Solidity: function transferCollateral(address _receiver, uint256 _amount) returns()

func (*BrokerTransactorSession) TransferOwnership added in v0.1.13

func (_Broker *BrokerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BrokerTransactorSession) Unpause added in v0.1.13

func (_Broker *BrokerTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type BrokerUnpause added in v0.1.13

type BrokerUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

BrokerUnpause represents a Unpause event raised by the Broker contract.

type BrokerUnpauseIterator added in v0.1.13

type BrokerUnpauseIterator struct {
	Event *BrokerUnpause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrokerUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the Broker contract.

func (*BrokerUnpauseIterator) Close added in v0.1.13

func (it *BrokerUnpauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrokerUnpauseIterator) Error added in v0.1.13

func (it *BrokerUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrokerUnpauseIterator) Next added in v0.1.13

func (it *BrokerUnpauseIterator) 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 BrokerVitaBidden added in v0.1.13

type BrokerVitaBidden struct {
	Round      *big.Int
	Sender     common.Address
	Collateral *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

BrokerVitaBidden represents a VitaBidden event raised by the Broker contract.

type BrokerVitaBiddenIterator added in v0.1.13

type BrokerVitaBiddenIterator struct {
	Event *BrokerVitaBidden // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrokerVitaBiddenIterator is returned from FilterVitaBidden and is used to iterate over the raw logs and unpacked data for VitaBidden events raised by the Broker contract.

func (*BrokerVitaBiddenIterator) Close added in v0.1.13

func (it *BrokerVitaBiddenIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrokerVitaBiddenIterator) Error added in v0.1.13

func (it *BrokerVitaBiddenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrokerVitaBiddenIterator) Next added in v0.1.13

func (it *BrokerVitaBiddenIterator) 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 BrokerVitaBidsSettled added in v0.1.13

type BrokerVitaBidsSettled struct {
	Finished bool
	Raw      types.Log // Blockchain specific contextual infos
}

BrokerVitaBidsSettled represents a VitaBidsSettled event raised by the Broker contract.

type BrokerVitaBidsSettledIterator added in v0.1.13

type BrokerVitaBidsSettledIterator struct {
	Event *BrokerVitaBidsSettled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrokerVitaBidsSettledIterator is returned from FilterVitaBidsSettled and is used to iterate over the raw logs and unpacked data for VitaBidsSettled events raised by the Broker contract.

func (*BrokerVitaBidsSettledIterator) Close added in v0.1.13

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrokerVitaBidsSettledIterator) Error added in v0.1.13

Error returns any retrieval or parsing error occurred during filtering.

func (*BrokerVitaBidsSettledIterator) Next added in v0.1.13

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 BrokerVitaBought added in v0.1.13

type BrokerVitaBought struct {
	Round      *big.Int
	Sender     common.Address
	Collateral *big.Int
	Vita       *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

BrokerVitaBought represents a VitaBought event raised by the Broker contract.

type BrokerVitaBoughtIterator added in v0.1.13

type BrokerVitaBoughtIterator struct {
	Event *BrokerVitaBought // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrokerVitaBoughtIterator is returned from FilterVitaBought and is used to iterate over the raw logs and unpacked data for VitaBought events raised by the Broker contract.

func (*BrokerVitaBoughtIterator) Close added in v0.1.13

func (it *BrokerVitaBoughtIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrokerVitaBoughtIterator) Error added in v0.1.13

func (it *BrokerVitaBoughtIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrokerVitaBoughtIterator) Next added in v0.1.13

func (it *BrokerVitaBoughtIterator) 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 BrokerWhitelistedAddressAdded added in v0.1.13

type BrokerWhitelistedAddressAdded struct {
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

BrokerWhitelistedAddressAdded represents a WhitelistedAddressAdded event raised by the Broker contract.

type BrokerWhitelistedAddressAddedIterator added in v0.1.13

type BrokerWhitelistedAddressAddedIterator struct {
	Event *BrokerWhitelistedAddressAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrokerWhitelistedAddressAddedIterator is returned from FilterWhitelistedAddressAdded and is used to iterate over the raw logs and unpacked data for WhitelistedAddressAdded events raised by the Broker contract.

func (*BrokerWhitelistedAddressAddedIterator) Close added in v0.1.13

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrokerWhitelistedAddressAddedIterator) Error added in v0.1.13

Error returns any retrieval or parsing error occurred during filtering.

func (*BrokerWhitelistedAddressAddedIterator) Next added in v0.1.13

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 BrokerWhitelistedAddressRemoved added in v0.1.13

type BrokerWhitelistedAddressRemoved struct {
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

BrokerWhitelistedAddressRemoved represents a WhitelistedAddressRemoved event raised by the Broker contract.

type BrokerWhitelistedAddressRemovedIterator added in v0.1.13

type BrokerWhitelistedAddressRemovedIterator struct {
	Event *BrokerWhitelistedAddressRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrokerWhitelistedAddressRemovedIterator is returned from FilterWhitelistedAddressRemoved and is used to iterate over the raw logs and unpacked data for WhitelistedAddressRemoved events raised by the Broker contract.

func (*BrokerWhitelistedAddressRemovedIterator) Close added in v0.1.13

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrokerWhitelistedAddressRemovedIterator) Error added in v0.1.13

Error returns any retrieval or parsing error occurred during filtering.

func (*BrokerWhitelistedAddressRemovedIterator) Next added in v0.1.13

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 Clerk added in v0.1.13

type Clerk struct {
	ClerkCaller     // Read-only binding to the contract
	ClerkTransactor // Write-only binding to the contract
	ClerkFilterer   // Log filterer for contract events
}

Clerk is an auto generated Go binding around an Ethereum contract.

func DeployClerk added in v0.1.17

func DeployClerk(auth *bind.TransactOpts, backend bind.ContractBackend, vitaTokenAddress common.Address) (common.Address, *types.Transaction, *Clerk, error)

DeployClerk deploys a new Ethereum contract, binding an instance of Clerk to it.

func NewClerk added in v0.1.13

func NewClerk(address common.Address, backend bind.ContractBackend) (*Clerk, error)

NewClerk creates a new instance of Clerk, bound to a specific deployed contract.

type ClerkCaller added in v0.1.13

type ClerkCaller struct {
	// contains filtered or unexported fields
}

ClerkCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewClerkCaller added in v0.1.13

func NewClerkCaller(address common.Address, caller bind.ContractCaller) (*ClerkCaller, error)

NewClerkCaller creates a new read-only instance of Clerk, bound to a specific deployed contract.

func (*ClerkCaller) Owner added in v0.1.13

func (_Clerk *ClerkCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*ClerkCaller) Vita added in v0.1.13

func (_Clerk *ClerkCaller) Vita(opts *bind.CallOpts) (common.Address, error)

Vita is a free data retrieval call binding the contract method 0x393d9bb3.

Solidity: function vita() constant returns(address)

func (*ClerkCaller) Whitelist added in v0.1.13

func (_Clerk *ClerkCaller) Whitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

type ClerkCallerRaw added in v0.1.13

type ClerkCallerRaw struct {
	Contract *ClerkCaller // Generic read-only contract binding to access the raw methods on
}

ClerkCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ClerkCallerRaw) Call added in v0.1.13

func (_Clerk *ClerkCallerRaw) 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 ClerkCallerSession added in v0.1.13

type ClerkCallerSession struct {
	Contract *ClerkCaller  // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

ClerkCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ClerkCallerSession) Owner added in v0.1.13

func (_Clerk *ClerkCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*ClerkCallerSession) Vita added in v0.1.13

func (_Clerk *ClerkCallerSession) Vita() (common.Address, error)

Vita is a free data retrieval call binding the contract method 0x393d9bb3.

Solidity: function vita() constant returns(address)

func (*ClerkCallerSession) Whitelist added in v0.1.13

func (_Clerk *ClerkCallerSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

type ClerkFilterer added in v0.1.13

type ClerkFilterer struct {
	// contains filtered or unexported fields
}

ClerkFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewClerkFilterer added in v0.1.13

func NewClerkFilterer(address common.Address, filterer bind.ContractFilterer) (*ClerkFilterer, error)

NewClerkFilterer creates a new log filterer instance of Clerk, bound to a specific deployed contract.

func (*ClerkFilterer) FilterOwnershipTransferred added in v0.1.13

func (_Clerk *ClerkFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ClerkOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ClerkFilterer) FilterWhitelistedAddressAdded added in v0.1.13

func (_Clerk *ClerkFilterer) FilterWhitelistedAddressAdded(opts *bind.FilterOpts) (*ClerkWhitelistedAddressAddedIterator, error)

FilterWhitelistedAddressAdded is a free log retrieval operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*ClerkFilterer) FilterWhitelistedAddressRemoved added in v0.1.13

func (_Clerk *ClerkFilterer) FilterWhitelistedAddressRemoved(opts *bind.FilterOpts) (*ClerkWhitelistedAddressRemovedIterator, error)

FilterWhitelistedAddressRemoved is a free log retrieval operation binding the contract event 0xf1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a.

Solidity: event WhitelistedAddressRemoved(address addr)

func (*ClerkFilterer) WatchOwnershipTransferred added in v0.1.13

func (_Clerk *ClerkFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ClerkOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ClerkFilterer) WatchWhitelistedAddressAdded added in v0.1.13

func (_Clerk *ClerkFilterer) WatchWhitelistedAddressAdded(opts *bind.WatchOpts, sink chan<- *ClerkWhitelistedAddressAdded) (event.Subscription, error)

WatchWhitelistedAddressAdded is a free log subscription operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*ClerkFilterer) WatchWhitelistedAddressRemoved added in v0.1.13

func (_Clerk *ClerkFilterer) WatchWhitelistedAddressRemoved(opts *bind.WatchOpts, sink chan<- *ClerkWhitelistedAddressRemoved) (event.Subscription, error)

WatchWhitelistedAddressRemoved is a free log subscription operation binding the contract event 0xf1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a.

Solidity: event WhitelistedAddressRemoved(address addr)

type ClerkOwnershipTransferred added in v0.1.13

type ClerkOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ClerkOwnershipTransferred represents a OwnershipTransferred event raised by the Clerk contract.

type ClerkOwnershipTransferredIterator added in v0.1.13

type ClerkOwnershipTransferredIterator struct {
	Event *ClerkOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ClerkOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Clerk contract.

func (*ClerkOwnershipTransferredIterator) Close added in v0.1.13

Close terminates the iteration process, releasing any pending underlying resources.

func (*ClerkOwnershipTransferredIterator) Error added in v0.1.13

Error returns any retrieval or parsing error occurred during filtering.

func (*ClerkOwnershipTransferredIterator) Next added in v0.1.13

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 ClerkRaw added in v0.1.13

type ClerkRaw struct {
	Contract *Clerk // Generic contract binding to access the raw methods on
}

ClerkRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ClerkRaw) Call added in v0.1.13

func (_Clerk *ClerkRaw) 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 (*ClerkRaw) Transact added in v0.1.13

func (_Clerk *ClerkRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ClerkRaw) Transfer added in v0.1.13

func (_Clerk *ClerkRaw) 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 ClerkSession added in v0.1.13

type ClerkSession struct {
	Contract     *Clerk            // 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
}

ClerkSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ClerkSession) AddAddressToWhitelist added in v0.1.13

func (_Clerk *ClerkSession) AddAddressToWhitelist(addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*ClerkSession) AddAddressesToWhitelist added in v0.1.13

func (_Clerk *ClerkSession) AddAddressesToWhitelist(addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*ClerkSession) Claim added in v0.1.13

func (_Clerk *ClerkSession) Claim() (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*ClerkSession) Owner added in v0.1.13

func (_Clerk *ClerkSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*ClerkSession) RemoveAddressFromWhitelist added in v0.1.13

func (_Clerk *ClerkSession) RemoveAddressFromWhitelist(addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*ClerkSession) RemoveAddressesFromWhitelist added in v0.1.13

func (_Clerk *ClerkSession) RemoveAddressesFromWhitelist(addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*ClerkSession) Transfer added in v0.1.13

func (_Clerk *ClerkSession) Transfer(receivers []common.Address, amounts []*big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xffc3a769.

Solidity: function transfer(address[] receivers, uint256[] amounts) returns()

func (*ClerkSession) TransferOwnership added in v0.1.13

func (_Clerk *ClerkSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ClerkSession) Vita added in v0.1.13

func (_Clerk *ClerkSession) Vita() (common.Address, error)

Vita is a free data retrieval call binding the contract method 0x393d9bb3.

Solidity: function vita() constant returns(address)

func (*ClerkSession) Whitelist added in v0.1.13

func (_Clerk *ClerkSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

type ClerkTransactor added in v0.1.13

type ClerkTransactor struct {
	// contains filtered or unexported fields
}

ClerkTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewClerkTransactor added in v0.1.13

func NewClerkTransactor(address common.Address, transactor bind.ContractTransactor) (*ClerkTransactor, error)

NewClerkTransactor creates a new write-only instance of Clerk, bound to a specific deployed contract.

func (*ClerkTransactor) AddAddressToWhitelist added in v0.1.13

func (_Clerk *ClerkTransactor) AddAddressToWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*ClerkTransactor) AddAddressesToWhitelist added in v0.1.13

func (_Clerk *ClerkTransactor) AddAddressesToWhitelist(opts *bind.TransactOpts, addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*ClerkTransactor) Claim added in v0.1.13

func (_Clerk *ClerkTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*ClerkTransactor) RemoveAddressFromWhitelist added in v0.1.13

func (_Clerk *ClerkTransactor) RemoveAddressFromWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*ClerkTransactor) RemoveAddressesFromWhitelist added in v0.1.13

func (_Clerk *ClerkTransactor) RemoveAddressesFromWhitelist(opts *bind.TransactOpts, addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*ClerkTransactor) Transfer added in v0.1.13

func (_Clerk *ClerkTransactor) Transfer(opts *bind.TransactOpts, receivers []common.Address, amounts []*big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xffc3a769.

Solidity: function transfer(address[] receivers, uint256[] amounts) returns()

func (*ClerkTransactor) TransferOwnership added in v0.1.13

func (_Clerk *ClerkTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ClerkTransactorRaw added in v0.1.13

type ClerkTransactorRaw struct {
	Contract *ClerkTransactor // Generic write-only contract binding to access the raw methods on
}

ClerkTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ClerkTransactorRaw) Transact added in v0.1.13

func (_Clerk *ClerkTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ClerkTransactorRaw) Transfer added in v0.1.13

func (_Clerk *ClerkTransactorRaw) 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 ClerkTransactorSession added in v0.1.13

type ClerkTransactorSession struct {
	Contract     *ClerkTransactor  // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ClerkTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ClerkTransactorSession) AddAddressToWhitelist added in v0.1.13

func (_Clerk *ClerkTransactorSession) AddAddressToWhitelist(addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*ClerkTransactorSession) AddAddressesToWhitelist added in v0.1.13

func (_Clerk *ClerkTransactorSession) AddAddressesToWhitelist(addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*ClerkTransactorSession) Claim added in v0.1.13

func (_Clerk *ClerkTransactorSession) Claim() (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*ClerkTransactorSession) RemoveAddressFromWhitelist added in v0.1.13

func (_Clerk *ClerkTransactorSession) RemoveAddressFromWhitelist(addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*ClerkTransactorSession) RemoveAddressesFromWhitelist added in v0.1.13

func (_Clerk *ClerkTransactorSession) RemoveAddressesFromWhitelist(addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*ClerkTransactorSession) Transfer added in v0.1.13

func (_Clerk *ClerkTransactorSession) Transfer(receivers []common.Address, amounts []*big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xffc3a769.

Solidity: function transfer(address[] receivers, uint256[] amounts) returns()

func (*ClerkTransactorSession) TransferOwnership added in v0.1.13

func (_Clerk *ClerkTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ClerkWhitelistedAddressAdded added in v0.1.13

type ClerkWhitelistedAddressAdded struct {
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

ClerkWhitelistedAddressAdded represents a WhitelistedAddressAdded event raised by the Clerk contract.

type ClerkWhitelistedAddressAddedIterator added in v0.1.13

type ClerkWhitelistedAddressAddedIterator struct {
	Event *ClerkWhitelistedAddressAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ClerkWhitelistedAddressAddedIterator is returned from FilterWhitelistedAddressAdded and is used to iterate over the raw logs and unpacked data for WhitelistedAddressAdded events raised by the Clerk contract.

func (*ClerkWhitelistedAddressAddedIterator) Close added in v0.1.13

Close terminates the iteration process, releasing any pending underlying resources.

func (*ClerkWhitelistedAddressAddedIterator) Error added in v0.1.13

Error returns any retrieval or parsing error occurred during filtering.

func (*ClerkWhitelistedAddressAddedIterator) Next added in v0.1.13

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 ClerkWhitelistedAddressRemoved added in v0.1.13

type ClerkWhitelistedAddressRemoved struct {
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

ClerkWhitelistedAddressRemoved represents a WhitelistedAddressRemoved event raised by the Clerk contract.

type ClerkWhitelistedAddressRemovedIterator added in v0.1.13

type ClerkWhitelistedAddressRemovedIterator struct {
	Event *ClerkWhitelistedAddressRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ClerkWhitelistedAddressRemovedIterator is returned from FilterWhitelistedAddressRemoved and is used to iterate over the raw logs and unpacked data for WhitelistedAddressRemoved events raised by the Clerk contract.

func (*ClerkWhitelistedAddressRemovedIterator) Close added in v0.1.13

Close terminates the iteration process, releasing any pending underlying resources.

func (*ClerkWhitelistedAddressRemovedIterator) Error added in v0.1.13

Error returns any retrieval or parsing error occurred during filtering.

func (*ClerkWhitelistedAddressRemovedIterator) Next added in v0.1.13

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 IOTX

type IOTX struct {
	IOTXCaller     // Read-only binding to the contract
	IOTXTransactor // Write-only binding to the contract
	IOTXFilterer   // Log filterer for contract events
}

IOTX is an auto generated Go binding around an Ethereum contract.

func NewIOTX

func NewIOTX(address common.Address, backend bind.ContractBackend) (*IOTX, error)

NewIOTX creates a new instance of IOTX, bound to a specific deployed contract.

type IOTXApproval

type IOTXApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IOTXApproval represents a Approval event raised by the IOTX contract.

type IOTXApprovalIterator

type IOTXApprovalIterator struct {
	Event *IOTXApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IOTXApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IOTX contract.

func (*IOTXApprovalIterator) Close

func (it *IOTXApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IOTXApprovalIterator) Error

func (it *IOTXApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IOTXApprovalIterator) Next

func (it *IOTXApprovalIterator) 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 IOTXCaller

type IOTXCaller struct {
	// contains filtered or unexported fields
}

IOTXCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIOTXCaller

func NewIOTXCaller(address common.Address, caller bind.ContractCaller) (*IOTXCaller, error)

NewIOTXCaller creates a new read-only instance of IOTX, bound to a specific deployed contract.

func (*IOTXCaller) Allowance

func (_IOTX *IOTXCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) constant returns(uint256)

func (*IOTXCaller) BalanceOf

func (_IOTX *IOTXCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) constant returns(uint256)

func (*IOTXCaller) Decimals

func (_IOTX *IOTXCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*IOTXCaller) Name

func (_IOTX *IOTXCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*IOTXCaller) Owner

func (_IOTX *IOTXCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*IOTXCaller) Paused

func (_IOTX *IOTXCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*IOTXCaller) Symbol

func (_IOTX *IOTXCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*IOTXCaller) TotalSupply

func (_IOTX *IOTXCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type IOTXCallerRaw

type IOTXCallerRaw struct {
	Contract *IOTXCaller // Generic read-only contract binding to access the raw methods on
}

IOTXCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IOTXCallerRaw) Call

func (_IOTX *IOTXCallerRaw) 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 IOTXCallerSession

type IOTXCallerSession struct {
	Contract *IOTXCaller   // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

IOTXCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*IOTXCallerSession) Allowance

func (_IOTX *IOTXCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) constant returns(uint256)

func (*IOTXCallerSession) BalanceOf

func (_IOTX *IOTXCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) constant returns(uint256)

func (*IOTXCallerSession) Decimals

func (_IOTX *IOTXCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*IOTXCallerSession) Name

func (_IOTX *IOTXCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*IOTXCallerSession) Owner

func (_IOTX *IOTXCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*IOTXCallerSession) Paused

func (_IOTX *IOTXCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*IOTXCallerSession) Symbol

func (_IOTX *IOTXCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*IOTXCallerSession) TotalSupply

func (_IOTX *IOTXCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type IOTXFilterer

type IOTXFilterer struct {
	// contains filtered or unexported fields
}

IOTXFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIOTXFilterer

func NewIOTXFilterer(address common.Address, filterer bind.ContractFilterer) (*IOTXFilterer, error)

NewIOTXFilterer creates a new log filterer instance of IOTX, bound to a specific deployed contract.

func (*IOTXFilterer) FilterApproval

func (_IOTX *IOTXFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IOTXApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IOTXFilterer) FilterOwnershipTransferred

func (_IOTX *IOTXFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*IOTXOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*IOTXFilterer) FilterPause

func (_IOTX *IOTXFilterer) FilterPause(opts *bind.FilterOpts) (*IOTXPauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*IOTXFilterer) FilterTransfer

func (_IOTX *IOTXFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IOTXTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IOTXFilterer) FilterUnpause

func (_IOTX *IOTXFilterer) FilterUnpause(opts *bind.FilterOpts) (*IOTXUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*IOTXFilterer) WatchApproval

func (_IOTX *IOTXFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IOTXApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IOTXFilterer) WatchOwnershipTransferred

func (_IOTX *IOTXFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IOTXOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*IOTXFilterer) WatchPause

func (_IOTX *IOTXFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *IOTXPause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*IOTXFilterer) WatchTransfer

func (_IOTX *IOTXFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IOTXTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IOTXFilterer) WatchUnpause

func (_IOTX *IOTXFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *IOTXUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

type IOTXOwnershipTransferred

type IOTXOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

IOTXOwnershipTransferred represents a OwnershipTransferred event raised by the IOTX contract.

type IOTXOwnershipTransferredIterator

type IOTXOwnershipTransferredIterator struct {
	Event *IOTXOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IOTXOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the IOTX contract.

func (*IOTXOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IOTXOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IOTXOwnershipTransferredIterator) Next

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 IOTXPause

type IOTXPause struct {
	Raw types.Log // Blockchain specific contextual infos
}

IOTXPause represents a Pause event raised by the IOTX contract.

type IOTXPauseIterator

type IOTXPauseIterator struct {
	Event *IOTXPause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IOTXPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the IOTX contract.

func (*IOTXPauseIterator) Close

func (it *IOTXPauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IOTXPauseIterator) Error

func (it *IOTXPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IOTXPauseIterator) Next

func (it *IOTXPauseIterator) 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 IOTXRaw

type IOTXRaw struct {
	Contract *IOTX // Generic contract binding to access the raw methods on
}

IOTXRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IOTXRaw) Call

func (_IOTX *IOTXRaw) 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 (*IOTXRaw) Transact

func (_IOTX *IOTXRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IOTXRaw) Transfer

func (_IOTX *IOTXRaw) 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 IOTXSession

type IOTXSession struct {
	Contract     *IOTX             // 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
}

IOTXSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IOTXSession) Allowance

func (_IOTX *IOTXSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) constant returns(uint256)

func (*IOTXSession) Approve

func (_IOTX *IOTXSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*IOTXSession) BalanceOf

func (_IOTX *IOTXSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) constant returns(uint256)

func (*IOTXSession) Decimals

func (_IOTX *IOTXSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*IOTXSession) DecreaseApproval

func (_IOTX *IOTXSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*IOTXSession) IncreaseApproval

func (_IOTX *IOTXSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*IOTXSession) Name

func (_IOTX *IOTXSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*IOTXSession) Owner

func (_IOTX *IOTXSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*IOTXSession) Pause

func (_IOTX *IOTXSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*IOTXSession) Paused

func (_IOTX *IOTXSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*IOTXSession) Symbol

func (_IOTX *IOTXSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*IOTXSession) TotalSupply

func (_IOTX *IOTXSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*IOTXSession) Transfer

func (_IOTX *IOTXSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*IOTXSession) TransferFrom

func (_IOTX *IOTXSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*IOTXSession) TransferOwnership

func (_IOTX *IOTXSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*IOTXSession) Unpause

func (_IOTX *IOTXSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type IOTXTransactor

type IOTXTransactor struct {
	// contains filtered or unexported fields
}

IOTXTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIOTXTransactor

func NewIOTXTransactor(address common.Address, transactor bind.ContractTransactor) (*IOTXTransactor, error)

NewIOTXTransactor creates a new write-only instance of IOTX, bound to a specific deployed contract.

func (*IOTXTransactor) Approve

func (_IOTX *IOTXTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*IOTXTransactor) DecreaseApproval

func (_IOTX *IOTXTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*IOTXTransactor) IncreaseApproval

func (_IOTX *IOTXTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*IOTXTransactor) Pause

func (_IOTX *IOTXTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*IOTXTransactor) Transfer

func (_IOTX *IOTXTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*IOTXTransactor) TransferFrom

func (_IOTX *IOTXTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*IOTXTransactor) TransferOwnership

func (_IOTX *IOTXTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*IOTXTransactor) Unpause

func (_IOTX *IOTXTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type IOTXTransactorRaw

type IOTXTransactorRaw struct {
	Contract *IOTXTransactor // Generic write-only contract binding to access the raw methods on
}

IOTXTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IOTXTransactorRaw) Transact

func (_IOTX *IOTXTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IOTXTransactorRaw) Transfer

func (_IOTX *IOTXTransactorRaw) 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 IOTXTransactorSession

type IOTXTransactorSession struct {
	Contract     *IOTXTransactor   // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IOTXTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IOTXTransactorSession) Approve

func (_IOTX *IOTXTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*IOTXTransactorSession) DecreaseApproval

func (_IOTX *IOTXTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*IOTXTransactorSession) IncreaseApproval

func (_IOTX *IOTXTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*IOTXTransactorSession) Pause

func (_IOTX *IOTXTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*IOTXTransactorSession) Transfer

func (_IOTX *IOTXTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*IOTXTransactorSession) TransferFrom

func (_IOTX *IOTXTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*IOTXTransactorSession) TransferOwnership

func (_IOTX *IOTXTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*IOTXTransactorSession) Unpause

func (_IOTX *IOTXTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type IOTXTransfer

type IOTXTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IOTXTransfer represents a Transfer event raised by the IOTX contract.

type IOTXTransferIterator

type IOTXTransferIterator struct {
	Event *IOTXTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IOTXTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IOTX contract.

func (*IOTXTransferIterator) Close

func (it *IOTXTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IOTXTransferIterator) Error

func (it *IOTXTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IOTXTransferIterator) Next

func (it *IOTXTransferIterator) 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 IOTXUnpause

type IOTXUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

IOTXUnpause represents a Unpause event raised by the IOTX contract.

type IOTXUnpauseIterator

type IOTXUnpauseIterator struct {
	Event *IOTXUnpause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IOTXUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the IOTX contract.

func (*IOTXUnpauseIterator) Close

func (it *IOTXUnpauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IOTXUnpauseIterator) Error

func (it *IOTXUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IOTXUnpauseIterator) Next

func (it *IOTXUnpauseIterator) 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 Register

type Register struct {
	RegisterCaller     // Read-only binding to the contract
	RegisterTransactor // Write-only binding to the contract
	RegisterFilterer   // Log filterer for contract events
}

Register is an auto generated Go binding around an Ethereum contract.

func NewRegister

func NewRegister(address common.Address, backend bind.ContractBackend) (*Register, error)

NewRegister creates a new instance of Register, bound to a specific deployed contract.

type RegisterCaller

type RegisterCaller struct {
	// contains filtered or unexported fields
}

RegisterCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRegisterCaller

func NewRegisterCaller(address common.Address, caller bind.ContractCaller) (*RegisterCaller, error)

NewRegisterCaller creates a new read-only instance of Register, bound to a specific deployed contract.

func (*RegisterCaller) AddrToIdx

func (_Register *RegisterCaller) AddrToIdx(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

AddrToIdx is a free data retrieval call binding the contract method 0x5f609695.

Solidity: function addrToIdx(address ) constant returns(uint256)

func (*RegisterCaller) CandidateCount

func (_Register *RegisterCaller) CandidateCount(opts *bind.CallOpts) (*big.Int, error)

CandidateCount is a free data retrieval call binding the contract method 0xa9a981a3.

Solidity: function candidateCount() constant returns(uint256)

func (*RegisterCaller) Candidates

func (_Register *RegisterCaller) Candidates(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Name           [12]byte
	Addr           common.Address
	IoOperatorAddr string
	IoRewardAddr   string
	Weight         *big.Int
}, error)

Candidates is a free data retrieval call binding the contract method 0x3477ee2e.

Solidity: function candidates(uint256 ) constant returns(bytes12 name, address addr, string ioOperatorAddr, string ioRewardAddr, uint256 weight)

func (*RegisterCaller) FeeCollector

func (_Register *RegisterCaller) FeeCollector(opts *bind.CallOpts) (common.Address, error)

FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.

Solidity: function feeCollector() constant returns(address)

func (*RegisterCaller) GetAllCandidates

func (_Register *RegisterCaller) GetAllCandidates(opts *bind.CallOpts, _startIndex *big.Int, _limit *big.Int) (struct {
	Names          [][12]byte
	Addresses      []common.Address
	IoOperatorAddr [][32]byte
	IoRewardAddr   [][32]byte
	Weights        []*big.Int
}, error)

GetAllCandidates is a free data retrieval call binding the contract method 0x5e924246.

Solidity: function getAllCandidates(uint256 _startIndex, uint256 _limit) constant returns(bytes12[] names, address[] addresses, bytes32[] ioOperatorAddr, bytes32[] ioRewardAddr, uint256[] weights)

func (*RegisterCaller) IoAddrToIdx

func (_Register *RegisterCaller) IoAddrToIdx(opts *bind.CallOpts, arg0 [32]byte, arg1 [32]byte) (*big.Int, error)

IoAddrToIdx is a free data retrieval call binding the contract method 0x12f2a2a9.

Solidity: function ioAddrToIdx(bytes32 , bytes32 ) constant returns(uint256)

func (*RegisterCaller) IsOwner

func (_Register *RegisterCaller) IsOwner(opts *bind.CallOpts, _address common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner(address _address) constant returns(bool)

func (*RegisterCaller) NameRegistrationFee

func (_Register *RegisterCaller) NameRegistrationFee(opts *bind.CallOpts) (*big.Int, error)

NameRegistrationFee is a free data retrieval call binding the contract method 0x543ca195.

Solidity: function nameRegistrationFee() constant returns(uint256)

func (*RegisterCaller) NameToIdx

func (_Register *RegisterCaller) NameToIdx(opts *bind.CallOpts, arg0 [12]byte) (*big.Int, error)

NameToIdx is a free data retrieval call binding the contract method 0xd64ac4a6.

Solidity: function nameToIdx(bytes12 ) constant returns(uint256)

func (*RegisterCaller) Owner

func (_Register *RegisterCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*RegisterCaller) Paused

func (_Register *RegisterCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*RegisterCaller) Token

func (_Register *RegisterCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type RegisterCallerRaw

type RegisterCallerRaw struct {
	Contract *RegisterCaller // Generic read-only contract binding to access the raw methods on
}

RegisterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RegisterCallerRaw) Call

func (_Register *RegisterCallerRaw) 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 RegisterCallerSession

type RegisterCallerSession struct {
	Contract *RegisterCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

RegisterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*RegisterCallerSession) AddrToIdx

func (_Register *RegisterCallerSession) AddrToIdx(arg0 common.Address) (*big.Int, error)

AddrToIdx is a free data retrieval call binding the contract method 0x5f609695.

Solidity: function addrToIdx(address ) constant returns(uint256)

func (*RegisterCallerSession) CandidateCount

func (_Register *RegisterCallerSession) CandidateCount() (*big.Int, error)

CandidateCount is a free data retrieval call binding the contract method 0xa9a981a3.

Solidity: function candidateCount() constant returns(uint256)

func (*RegisterCallerSession) Candidates

func (_Register *RegisterCallerSession) Candidates(arg0 *big.Int) (struct {
	Name           [12]byte
	Addr           common.Address
	IoOperatorAddr string
	IoRewardAddr   string
	Weight         *big.Int
}, error)

Candidates is a free data retrieval call binding the contract method 0x3477ee2e.

Solidity: function candidates(uint256 ) constant returns(bytes12 name, address addr, string ioOperatorAddr, string ioRewardAddr, uint256 weight)

func (*RegisterCallerSession) FeeCollector

func (_Register *RegisterCallerSession) FeeCollector() (common.Address, error)

FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.

Solidity: function feeCollector() constant returns(address)

func (*RegisterCallerSession) GetAllCandidates

func (_Register *RegisterCallerSession) GetAllCandidates(_startIndex *big.Int, _limit *big.Int) (struct {
	Names          [][12]byte
	Addresses      []common.Address
	IoOperatorAddr [][32]byte
	IoRewardAddr   [][32]byte
	Weights        []*big.Int
}, error)

GetAllCandidates is a free data retrieval call binding the contract method 0x5e924246.

Solidity: function getAllCandidates(uint256 _startIndex, uint256 _limit) constant returns(bytes12[] names, address[] addresses, bytes32[] ioOperatorAddr, bytes32[] ioRewardAddr, uint256[] weights)

func (*RegisterCallerSession) IoAddrToIdx

func (_Register *RegisterCallerSession) IoAddrToIdx(arg0 [32]byte, arg1 [32]byte) (*big.Int, error)

IoAddrToIdx is a free data retrieval call binding the contract method 0x12f2a2a9.

Solidity: function ioAddrToIdx(bytes32 , bytes32 ) constant returns(uint256)

func (*RegisterCallerSession) IsOwner

func (_Register *RegisterCallerSession) IsOwner(_address common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner(address _address) constant returns(bool)

func (*RegisterCallerSession) NameRegistrationFee

func (_Register *RegisterCallerSession) NameRegistrationFee() (*big.Int, error)

NameRegistrationFee is a free data retrieval call binding the contract method 0x543ca195.

Solidity: function nameRegistrationFee() constant returns(uint256)

func (*RegisterCallerSession) NameToIdx

func (_Register *RegisterCallerSession) NameToIdx(arg0 [12]byte) (*big.Int, error)

NameToIdx is a free data retrieval call binding the contract method 0xd64ac4a6.

Solidity: function nameToIdx(bytes12 ) constant returns(uint256)

func (*RegisterCallerSession) Owner

func (_Register *RegisterCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*RegisterCallerSession) Paused

func (_Register *RegisterCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*RegisterCallerSession) Token

func (_Register *RegisterCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type RegisterFilterer

type RegisterFilterer struct {
	// contains filtered or unexported fields
}

RegisterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRegisterFilterer

func NewRegisterFilterer(address common.Address, filterer bind.ContractFilterer) (*RegisterFilterer, error)

NewRegisterFilterer creates a new log filterer instance of Register, bound to a specific deployed contract.

func (*RegisterFilterer) FilterPause

func (_Register *RegisterFilterer) FilterPause(opts *bind.FilterOpts) (*RegisterPauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*RegisterFilterer) FilterRegistered

func (_Register *RegisterFilterer) FilterRegistered(opts *bind.FilterOpts) (*RegisterRegisteredIterator, error)

FilterRegistered is a free log retrieval operation binding the contract event 0x3340640ab5b6f15b631e9400701305335845b74a8bd5054f7b268608b2b869d4.

Solidity: event Registered(uint256 idx, bytes12 name, address addr, string ioOperatorAddr, string ioRewardAddr, bytes data)

func (*RegisterFilterer) FilterUnpause

func (_Register *RegisterFilterer) FilterUnpause(opts *bind.FilterOpts) (*RegisterUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*RegisterFilterer) WatchPause

func (_Register *RegisterFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *RegisterPause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*RegisterFilterer) WatchRegistered

func (_Register *RegisterFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *RegisterRegistered) (event.Subscription, error)

WatchRegistered is a free log subscription operation binding the contract event 0x3340640ab5b6f15b631e9400701305335845b74a8bd5054f7b268608b2b869d4.

Solidity: event Registered(uint256 idx, bytes12 name, address addr, string ioOperatorAddr, string ioRewardAddr, bytes data)

func (*RegisterFilterer) WatchUnpause

func (_Register *RegisterFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *RegisterUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

type RegisterPause

type RegisterPause struct {
	Raw types.Log // Blockchain specific contextual infos
}

RegisterPause represents a Pause event raised by the Register contract.

type RegisterPauseIterator

type RegisterPauseIterator struct {
	Event *RegisterPause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RegisterPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the Register contract.

func (*RegisterPauseIterator) Close

func (it *RegisterPauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*RegisterPauseIterator) Error

func (it *RegisterPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegisterPauseIterator) Next

func (it *RegisterPauseIterator) 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 RegisterRaw

type RegisterRaw struct {
	Contract *Register // Generic contract binding to access the raw methods on
}

RegisterRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RegisterRaw) Call

func (_Register *RegisterRaw) 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 (*RegisterRaw) Transact

func (_Register *RegisterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RegisterRaw) Transfer

func (_Register *RegisterRaw) 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 RegisterRegistered

type RegisterRegistered struct {
	Idx            *big.Int
	Name           [12]byte
	Addr           common.Address
	IoOperatorAddr string
	IoRewardAddr   string
	Data           []byte
	Raw            types.Log // Blockchain specific contextual infos
}

RegisterRegistered represents a Registered event raised by the Register contract.

type RegisterRegisteredIterator

type RegisterRegisteredIterator struct {
	Event *RegisterRegistered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RegisterRegisteredIterator is returned from FilterRegistered and is used to iterate over the raw logs and unpacked data for Registered events raised by the Register contract.

func (*RegisterRegisteredIterator) Close

func (it *RegisterRegisteredIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*RegisterRegisteredIterator) Error

func (it *RegisterRegisteredIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegisterRegisteredIterator) Next

func (it *RegisterRegisteredIterator) 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 RegisterSession

type RegisterSession struct {
	Contract     *Register         // 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
}

RegisterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*RegisterSession) AddrToIdx

func (_Register *RegisterSession) AddrToIdx(arg0 common.Address) (*big.Int, error)

AddrToIdx is a free data retrieval call binding the contract method 0x5f609695.

Solidity: function addrToIdx(address ) constant returns(uint256)

func (*RegisterSession) CandidateCount

func (_Register *RegisterSession) CandidateCount() (*big.Int, error)

CandidateCount is a free data retrieval call binding the contract method 0xa9a981a3.

Solidity: function candidateCount() constant returns(uint256)

func (*RegisterSession) Candidates

func (_Register *RegisterSession) Candidates(arg0 *big.Int) (struct {
	Name           [12]byte
	Addr           common.Address
	IoOperatorAddr string
	IoRewardAddr   string
	Weight         *big.Int
}, error)

Candidates is a free data retrieval call binding the contract method 0x3477ee2e.

Solidity: function candidates(uint256 ) constant returns(bytes12 name, address addr, string ioOperatorAddr, string ioRewardAddr, uint256 weight)

func (*RegisterSession) FeeCollector

func (_Register *RegisterSession) FeeCollector() (common.Address, error)

FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.

Solidity: function feeCollector() constant returns(address)

func (*RegisterSession) GetAllCandidates

func (_Register *RegisterSession) GetAllCandidates(_startIndex *big.Int, _limit *big.Int) (struct {
	Names          [][12]byte
	Addresses      []common.Address
	IoOperatorAddr [][32]byte
	IoRewardAddr   [][32]byte
	Weights        []*big.Int
}, error)

GetAllCandidates is a free data retrieval call binding the contract method 0x5e924246.

Solidity: function getAllCandidates(uint256 _startIndex, uint256 _limit) constant returns(bytes12[] names, address[] addresses, bytes32[] ioOperatorAddr, bytes32[] ioRewardAddr, uint256[] weights)

func (*RegisterSession) IoAddrToIdx

func (_Register *RegisterSession) IoAddrToIdx(arg0 [32]byte, arg1 [32]byte) (*big.Int, error)

IoAddrToIdx is a free data retrieval call binding the contract method 0x12f2a2a9.

Solidity: function ioAddrToIdx(bytes32 , bytes32 ) constant returns(uint256)

func (*RegisterSession) IsOwner

func (_Register *RegisterSession) IsOwner(_address common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner(address _address) constant returns(bool)

func (*RegisterSession) NameRegistrationFee

func (_Register *RegisterSession) NameRegistrationFee() (*big.Int, error)

NameRegistrationFee is a free data retrieval call binding the contract method 0x543ca195.

Solidity: function nameRegistrationFee() constant returns(uint256)

func (*RegisterSession) NameToIdx

func (_Register *RegisterSession) NameToIdx(arg0 [12]byte) (*big.Int, error)

NameToIdx is a free data retrieval call binding the contract method 0xd64ac4a6.

Solidity: function nameToIdx(bytes12 ) constant returns(uint256)

func (*RegisterSession) Owner

func (_Register *RegisterSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*RegisterSession) Pause

func (_Register *RegisterSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*RegisterSession) Paused

func (_Register *RegisterSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*RegisterSession) Register

func (_Register *RegisterSession) Register(_name [12]byte, _ioOperatorAddr string, _ioRewardAddr string, _data []byte) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x690c1f22.

Solidity: function register(bytes12 _name, string _ioOperatorAddr, string _ioRewardAddr, bytes _data) returns()

func (*RegisterSession) SetFeeCollector

func (_Register *RegisterSession) SetFeeCollector(_addr common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address _addr) returns()

func (*RegisterSession) SetNameAddress

func (_Register *RegisterSession) SetNameAddress(_name [12]byte, _addr common.Address) (*types.Transaction, error)

SetNameAddress is a paid mutator transaction binding the contract method 0xebfd4148.

Solidity: function setNameAddress(bytes12 _name, address _addr) returns()

func (*RegisterSession) SetNameRegistrationFee

func (_Register *RegisterSession) SetNameRegistrationFee(_fee *big.Int) (*types.Transaction, error)

SetNameRegistrationFee is a paid mutator transaction binding the contract method 0x6afee780.

Solidity: function setNameRegistrationFee(uint256 _fee) returns()

func (*RegisterSession) SetWeight

func (_Register *RegisterSession) SetWeight(_name [12]byte, _weight *big.Int) (*types.Transaction, error)

SetWeight is a paid mutator transaction binding the contract method 0x3207bcf0.

Solidity: function setWeight(bytes12 _name, uint256 _weight) returns()

func (*RegisterSession) Token

func (_Register *RegisterSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*RegisterSession) TransferOwnership

func (_Register *RegisterSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

func (*RegisterSession) Unpause

func (_Register *RegisterSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type RegisterTransactor

type RegisterTransactor struct {
	// contains filtered or unexported fields
}

RegisterTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRegisterTransactor

func NewRegisterTransactor(address common.Address, transactor bind.ContractTransactor) (*RegisterTransactor, error)

NewRegisterTransactor creates a new write-only instance of Register, bound to a specific deployed contract.

func (*RegisterTransactor) Pause

func (_Register *RegisterTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*RegisterTransactor) Register

func (_Register *RegisterTransactor) Register(opts *bind.TransactOpts, _name [12]byte, _ioOperatorAddr string, _ioRewardAddr string, _data []byte) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x690c1f22.

Solidity: function register(bytes12 _name, string _ioOperatorAddr, string _ioRewardAddr, bytes _data) returns()

func (*RegisterTransactor) SetFeeCollector

func (_Register *RegisterTransactor) SetFeeCollector(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address _addr) returns()

func (*RegisterTransactor) SetNameAddress

func (_Register *RegisterTransactor) SetNameAddress(opts *bind.TransactOpts, _name [12]byte, _addr common.Address) (*types.Transaction, error)

SetNameAddress is a paid mutator transaction binding the contract method 0xebfd4148.

Solidity: function setNameAddress(bytes12 _name, address _addr) returns()

func (*RegisterTransactor) SetNameRegistrationFee

func (_Register *RegisterTransactor) SetNameRegistrationFee(opts *bind.TransactOpts, _fee *big.Int) (*types.Transaction, error)

SetNameRegistrationFee is a paid mutator transaction binding the contract method 0x6afee780.

Solidity: function setNameRegistrationFee(uint256 _fee) returns()

func (*RegisterTransactor) SetWeight

func (_Register *RegisterTransactor) SetWeight(opts *bind.TransactOpts, _name [12]byte, _weight *big.Int) (*types.Transaction, error)

SetWeight is a paid mutator transaction binding the contract method 0x3207bcf0.

Solidity: function setWeight(bytes12 _name, uint256 _weight) returns()

func (*RegisterTransactor) TransferOwnership

func (_Register *RegisterTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

func (*RegisterTransactor) Unpause

func (_Register *RegisterTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type RegisterTransactorRaw

type RegisterTransactorRaw struct {
	Contract *RegisterTransactor // Generic write-only contract binding to access the raw methods on
}

RegisterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RegisterTransactorRaw) Transact

func (_Register *RegisterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RegisterTransactorRaw) Transfer

func (_Register *RegisterTransactorRaw) 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 RegisterTransactorSession

type RegisterTransactorSession struct {
	Contract     *RegisterTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

RegisterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*RegisterTransactorSession) Pause

func (_Register *RegisterTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*RegisterTransactorSession) Register

func (_Register *RegisterTransactorSession) Register(_name [12]byte, _ioOperatorAddr string, _ioRewardAddr string, _data []byte) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x690c1f22.

Solidity: function register(bytes12 _name, string _ioOperatorAddr, string _ioRewardAddr, bytes _data) returns()

func (*RegisterTransactorSession) SetFeeCollector

func (_Register *RegisterTransactorSession) SetFeeCollector(_addr common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address _addr) returns()

func (*RegisterTransactorSession) SetNameAddress

func (_Register *RegisterTransactorSession) SetNameAddress(_name [12]byte, _addr common.Address) (*types.Transaction, error)

SetNameAddress is a paid mutator transaction binding the contract method 0xebfd4148.

Solidity: function setNameAddress(bytes12 _name, address _addr) returns()

func (*RegisterTransactorSession) SetNameRegistrationFee

func (_Register *RegisterTransactorSession) SetNameRegistrationFee(_fee *big.Int) (*types.Transaction, error)

SetNameRegistrationFee is a paid mutator transaction binding the contract method 0x6afee780.

Solidity: function setNameRegistrationFee(uint256 _fee) returns()

func (*RegisterTransactorSession) SetWeight

func (_Register *RegisterTransactorSession) SetWeight(_name [12]byte, _weight *big.Int) (*types.Transaction, error)

SetWeight is a paid mutator transaction binding the contract method 0x3207bcf0.

Solidity: function setWeight(bytes12 _name, uint256 _weight) returns()

func (*RegisterTransactorSession) TransferOwnership

func (_Register *RegisterTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

func (*RegisterTransactorSession) Unpause

func (_Register *RegisterTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type RegisterUnpause

type RegisterUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

RegisterUnpause represents a Unpause event raised by the Register contract.

type RegisterUnpauseIterator

type RegisterUnpauseIterator struct {
	Event *RegisterUnpause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RegisterUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the Register contract.

func (*RegisterUnpauseIterator) Close

func (it *RegisterUnpauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*RegisterUnpauseIterator) Error

func (it *RegisterUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegisterUnpauseIterator) Next

func (it *RegisterUnpauseIterator) 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 RotatableVPS added in v0.1.11

type RotatableVPS struct {
	RotatableVPSCaller     // Read-only binding to the contract
	RotatableVPSTransactor // Write-only binding to the contract
	RotatableVPSFilterer   // Log filterer for contract events
}

RotatableVPS is an auto generated Go binding around an Ethereum contract.

func NewRotatableVPS added in v0.1.11

func NewRotatableVPS(address common.Address, backend bind.ContractBackend) (*RotatableVPS, error)

NewRotatableVPS creates a new instance of RotatableVPS, bound to a specific deployed contract.

type RotatableVPSCaller added in v0.1.11

type RotatableVPSCaller struct {
	// contains filtered or unexported fields
}

RotatableVPSCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRotatableVPSCaller added in v0.1.11

func NewRotatableVPSCaller(address common.Address, caller bind.ContractCaller) (*RotatableVPSCaller, error)

NewRotatableVPSCaller creates a new read-only instance of RotatableVPS, bound to a specific deployed contract.

func (*RotatableVPSCaller) ActiveVPS added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) ActiveVPS(opts *bind.CallOpts) (common.Address, error)

ActiveVPS is a free data retrieval call binding the contract method 0x90332e4d.

Solidity: function activeVPS() constant returns(address)

func (*RotatableVPSCaller) ActiveVPSIndex added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) ActiveVPSIndex(opts *bind.CallOpts) (*big.Int, error)

ActiveVPSIndex is a free data retrieval call binding the contract method 0xcec455c7.

Solidity: function activeVPSIndex() constant returns(uint256)

func (*RotatableVPSCaller) InactiveVPS added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) InactiveVPS(opts *bind.CallOpts) (common.Address, error)

InactiveVPS is a free data retrieval call binding the contract method 0xd5a86bf2.

Solidity: function inactiveVPS() constant returns(address)

func (*RotatableVPSCaller) InactiveViewID added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) InactiveViewID(opts *bind.CallOpts) (*big.Int, error)

InactiveViewID is a free data retrieval call binding the contract method 0x63aedb0a.

Solidity: function inactiveViewID() constant returns(uint256)

func (*RotatableVPSCaller) Owner added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*RotatableVPSCaller) Paused added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*RotatableVPSCaller) PowerOf added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) PowerOf(opts *bind.CallOpts, _voter common.Address) (*big.Int, error)

PowerOf is a free data retrieval call binding the contract method 0x1ac84690.

Solidity: function powerOf(address _voter) constant returns(uint256)

func (*RotatableVPSCaller) PowersOf added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) PowersOf(opts *bind.CallOpts, _voters []common.Address) ([]*big.Int, error)

PowersOf is a free data retrieval call binding the contract method 0xff82c4ca.

Solidity: function powersOf(address[] _voters) constant returns(uint256[])

func (*RotatableVPSCaller) TotalPower added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) TotalPower(opts *bind.CallOpts) (*big.Int, error)

TotalPower is a free data retrieval call binding the contract method 0xdb3ad22c.

Solidity: function totalPower() constant returns(uint256)

func (*RotatableVPSCaller) ViewID added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) ViewID(opts *bind.CallOpts) (*big.Int, error)

ViewID is a free data retrieval call binding the contract method 0x8280264b.

Solidity: function viewID() constant returns(uint256)

func (*RotatableVPSCaller) Voters added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) Voters(opts *bind.CallOpts, _offset *big.Int, _limit *big.Int) ([]common.Address, error)

Voters is a free data retrieval call binding the contract method 0xfba00cbd.

Solidity: function voters(uint256 _offset, uint256 _limit) constant returns(address[] voters_)

func (*RotatableVPSCaller) Whitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSCaller) Whitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

type RotatableVPSCallerRaw added in v0.1.11

type RotatableVPSCallerRaw struct {
	Contract *RotatableVPSCaller // Generic read-only contract binding to access the raw methods on
}

RotatableVPSCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RotatableVPSCallerRaw) Call added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerRaw) 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 RotatableVPSCallerSession added in v0.1.11

type RotatableVPSCallerSession struct {
	Contract *RotatableVPSCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

RotatableVPSCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*RotatableVPSCallerSession) ActiveVPS added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) ActiveVPS() (common.Address, error)

ActiveVPS is a free data retrieval call binding the contract method 0x90332e4d.

Solidity: function activeVPS() constant returns(address)

func (*RotatableVPSCallerSession) ActiveVPSIndex added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) ActiveVPSIndex() (*big.Int, error)

ActiveVPSIndex is a free data retrieval call binding the contract method 0xcec455c7.

Solidity: function activeVPSIndex() constant returns(uint256)

func (*RotatableVPSCallerSession) InactiveVPS added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) InactiveVPS() (common.Address, error)

InactiveVPS is a free data retrieval call binding the contract method 0xd5a86bf2.

Solidity: function inactiveVPS() constant returns(address)

func (*RotatableVPSCallerSession) InactiveViewID added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) InactiveViewID() (*big.Int, error)

InactiveViewID is a free data retrieval call binding the contract method 0x63aedb0a.

Solidity: function inactiveViewID() constant returns(uint256)

func (*RotatableVPSCallerSession) Owner added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*RotatableVPSCallerSession) Paused added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*RotatableVPSCallerSession) PowerOf added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) PowerOf(_voter common.Address) (*big.Int, error)

PowerOf is a free data retrieval call binding the contract method 0x1ac84690.

Solidity: function powerOf(address _voter) constant returns(uint256)

func (*RotatableVPSCallerSession) PowersOf added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) PowersOf(_voters []common.Address) ([]*big.Int, error)

PowersOf is a free data retrieval call binding the contract method 0xff82c4ca.

Solidity: function powersOf(address[] _voters) constant returns(uint256[])

func (*RotatableVPSCallerSession) TotalPower added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) TotalPower() (*big.Int, error)

TotalPower is a free data retrieval call binding the contract method 0xdb3ad22c.

Solidity: function totalPower() constant returns(uint256)

func (*RotatableVPSCallerSession) ViewID added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) ViewID() (*big.Int, error)

ViewID is a free data retrieval call binding the contract method 0x8280264b.

Solidity: function viewID() constant returns(uint256)

func (*RotatableVPSCallerSession) Voters added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) Voters(_offset *big.Int, _limit *big.Int) ([]common.Address, error)

Voters is a free data retrieval call binding the contract method 0xfba00cbd.

Solidity: function voters(uint256 _offset, uint256 _limit) constant returns(address[] voters_)

func (*RotatableVPSCallerSession) Whitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSCallerSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

type RotatableVPSFilterer added in v0.1.11

type RotatableVPSFilterer struct {
	// contains filtered or unexported fields
}

RotatableVPSFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRotatableVPSFilterer added in v0.1.11

func NewRotatableVPSFilterer(address common.Address, filterer bind.ContractFilterer) (*RotatableVPSFilterer, error)

NewRotatableVPSFilterer creates a new log filterer instance of RotatableVPS, bound to a specific deployed contract.

func (*RotatableVPSFilterer) FilterOwnershipTransferred added in v0.1.11

func (_RotatableVPS *RotatableVPSFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*RotatableVPSOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*RotatableVPSFilterer) FilterSetVotingPower added in v0.1.11

func (_RotatableVPS *RotatableVPSFilterer) FilterSetVotingPower(opts *bind.FilterOpts) (*RotatableVPSSetVotingPowerIterator, error)

FilterSetVotingPower is a free log retrieval operation binding the contract event 0x048ebfbc43eddab7a7a576fb6a22551fb89c9fa0bb520948a32ec8b1546640d3.

Solidity: event SetVotingPower(address voter, uint256 power)

func (*RotatableVPSFilterer) FilterWhitelistedAddressAdded added in v0.1.11

func (_RotatableVPS *RotatableVPSFilterer) FilterWhitelistedAddressAdded(opts *bind.FilterOpts) (*RotatableVPSWhitelistedAddressAddedIterator, error)

FilterWhitelistedAddressAdded is a free log retrieval operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*RotatableVPSFilterer) FilterWhitelistedAddressRemoved added in v0.1.11

func (_RotatableVPS *RotatableVPSFilterer) FilterWhitelistedAddressRemoved(opts *bind.FilterOpts) (*RotatableVPSWhitelistedAddressRemovedIterator, error)

FilterWhitelistedAddressRemoved is a free log retrieval operation binding the contract event 0xf1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a.

Solidity: event WhitelistedAddressRemoved(address addr)

func (*RotatableVPSFilterer) WatchOwnershipTransferred added in v0.1.11

func (_RotatableVPS *RotatableVPSFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RotatableVPSOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*RotatableVPSFilterer) WatchSetVotingPower added in v0.1.11

func (_RotatableVPS *RotatableVPSFilterer) WatchSetVotingPower(opts *bind.WatchOpts, sink chan<- *RotatableVPSSetVotingPower) (event.Subscription, error)

WatchSetVotingPower is a free log subscription operation binding the contract event 0x048ebfbc43eddab7a7a576fb6a22551fb89c9fa0bb520948a32ec8b1546640d3.

Solidity: event SetVotingPower(address voter, uint256 power)

func (*RotatableVPSFilterer) WatchWhitelistedAddressAdded added in v0.1.11

func (_RotatableVPS *RotatableVPSFilterer) WatchWhitelistedAddressAdded(opts *bind.WatchOpts, sink chan<- *RotatableVPSWhitelistedAddressAdded) (event.Subscription, error)

WatchWhitelistedAddressAdded is a free log subscription operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*RotatableVPSFilterer) WatchWhitelistedAddressRemoved added in v0.1.11

func (_RotatableVPS *RotatableVPSFilterer) WatchWhitelistedAddressRemoved(opts *bind.WatchOpts, sink chan<- *RotatableVPSWhitelistedAddressRemoved) (event.Subscription, error)

WatchWhitelistedAddressRemoved is a free log subscription operation binding the contract event 0xf1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a.

Solidity: event WhitelistedAddressRemoved(address addr)

type RotatableVPSOwnershipTransferred added in v0.1.11

type RotatableVPSOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

RotatableVPSOwnershipTransferred represents a OwnershipTransferred event raised by the RotatableVPS contract.

type RotatableVPSOwnershipTransferredIterator added in v0.1.11

type RotatableVPSOwnershipTransferredIterator struct {
	Event *RotatableVPSOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RotatableVPSOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the RotatableVPS contract.

func (*RotatableVPSOwnershipTransferredIterator) Close added in v0.1.11

Close terminates the iteration process, releasing any pending underlying resources.

func (*RotatableVPSOwnershipTransferredIterator) Error added in v0.1.11

Error returns any retrieval or parsing error occurred during filtering.

func (*RotatableVPSOwnershipTransferredIterator) Next added in v0.1.11

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 RotatableVPSRaw added in v0.1.11

type RotatableVPSRaw struct {
	Contract *RotatableVPS // Generic contract binding to access the raw methods on
}

RotatableVPSRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RotatableVPSRaw) Call added in v0.1.11

func (_RotatableVPS *RotatableVPSRaw) 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 (*RotatableVPSRaw) Transact added in v0.1.11

func (_RotatableVPS *RotatableVPSRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RotatableVPSRaw) Transfer added in v0.1.11

func (_RotatableVPS *RotatableVPSRaw) 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 RotatableVPSSession added in v0.1.11

type RotatableVPSSession struct {
	Contract     *RotatableVPS     // 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
}

RotatableVPSSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*RotatableVPSSession) ActiveVPS added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) ActiveVPS() (common.Address, error)

ActiveVPS is a free data retrieval call binding the contract method 0x90332e4d.

Solidity: function activeVPS() constant returns(address)

func (*RotatableVPSSession) ActiveVPSIndex added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) ActiveVPSIndex() (*big.Int, error)

ActiveVPSIndex is a free data retrieval call binding the contract method 0xcec455c7.

Solidity: function activeVPSIndex() constant returns(uint256)

func (*RotatableVPSSession) AddAddressToWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) AddAddressToWhitelist(addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*RotatableVPSSession) AddAddressesToWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) AddAddressesToWhitelist(addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*RotatableVPSSession) InactiveVPS added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) InactiveVPS() (common.Address, error)

InactiveVPS is a free data retrieval call binding the contract method 0xd5a86bf2.

Solidity: function inactiveVPS() constant returns(address)

func (*RotatableVPSSession) InactiveViewID added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) InactiveViewID() (*big.Int, error)

InactiveViewID is a free data retrieval call binding the contract method 0x63aedb0a.

Solidity: function inactiveViewID() constant returns(uint256)

func (*RotatableVPSSession) Owner added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*RotatableVPSSession) Paused added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*RotatableVPSSession) PowerOf added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) PowerOf(_voter common.Address) (*big.Int, error)

PowerOf is a free data retrieval call binding the contract method 0x1ac84690.

Solidity: function powerOf(address _voter) constant returns(uint256)

func (*RotatableVPSSession) PowersOf added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) PowersOf(_voters []common.Address) ([]*big.Int, error)

PowersOf is a free data retrieval call binding the contract method 0xff82c4ca.

Solidity: function powersOf(address[] _voters) constant returns(uint256[])

func (*RotatableVPSSession) RemoveAddressFromWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) RemoveAddressFromWhitelist(addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*RotatableVPSSession) RemoveAddressesFromWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) RemoveAddressesFromWhitelist(addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*RotatableVPSSession) Rotate added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) Rotate(newViewID *big.Int) (*types.Transaction, error)

Rotate is a paid mutator transaction binding the contract method 0x3852f4b0.

Solidity: function rotate(uint256 newViewID) returns()

func (*RotatableVPSSession) TotalPower added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) TotalPower() (*big.Int, error)

TotalPower is a free data retrieval call binding the contract method 0xdb3ad22c.

Solidity: function totalPower() constant returns(uint256)

func (*RotatableVPSSession) TransferOwnership added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*RotatableVPSSession) UpdateVotingPowers added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) UpdateVotingPowers(_voters []common.Address, _powers []*big.Int) (*types.Transaction, error)

UpdateVotingPowers is a paid mutator transaction binding the contract method 0x03083dcf.

Solidity: function updateVotingPowers(address[] _voters, uint256[] _powers) returns()

func (*RotatableVPSSession) ViewID added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) ViewID() (*big.Int, error)

ViewID is a free data retrieval call binding the contract method 0x8280264b.

Solidity: function viewID() constant returns(uint256)

func (*RotatableVPSSession) Voters added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) Voters(_offset *big.Int, _limit *big.Int) ([]common.Address, error)

Voters is a free data retrieval call binding the contract method 0xfba00cbd.

Solidity: function voters(uint256 _offset, uint256 _limit) constant returns(address[] voters_)

func (*RotatableVPSSession) Whitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

type RotatableVPSSetVotingPower added in v0.1.11

type RotatableVPSSetVotingPower struct {
	Voter common.Address
	Power *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

RotatableVPSSetVotingPower represents a SetVotingPower event raised by the RotatableVPS contract.

type RotatableVPSSetVotingPowerIterator added in v0.1.11

type RotatableVPSSetVotingPowerIterator struct {
	Event *RotatableVPSSetVotingPower // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RotatableVPSSetVotingPowerIterator is returned from FilterSetVotingPower and is used to iterate over the raw logs and unpacked data for SetVotingPower events raised by the RotatableVPS contract.

func (*RotatableVPSSetVotingPowerIterator) Close added in v0.1.11

Close terminates the iteration process, releasing any pending underlying resources.

func (*RotatableVPSSetVotingPowerIterator) Error added in v0.1.11

Error returns any retrieval or parsing error occurred during filtering.

func (*RotatableVPSSetVotingPowerIterator) Next added in v0.1.11

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 RotatableVPSTransactor added in v0.1.11

type RotatableVPSTransactor struct {
	// contains filtered or unexported fields
}

RotatableVPSTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRotatableVPSTransactor added in v0.1.11

func NewRotatableVPSTransactor(address common.Address, transactor bind.ContractTransactor) (*RotatableVPSTransactor, error)

NewRotatableVPSTransactor creates a new write-only instance of RotatableVPS, bound to a specific deployed contract.

func (*RotatableVPSTransactor) AddAddressToWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactor) AddAddressToWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*RotatableVPSTransactor) AddAddressesToWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactor) AddAddressesToWhitelist(opts *bind.TransactOpts, addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*RotatableVPSTransactor) RemoveAddressFromWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactor) RemoveAddressFromWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*RotatableVPSTransactor) RemoveAddressesFromWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactor) RemoveAddressesFromWhitelist(opts *bind.TransactOpts, addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*RotatableVPSTransactor) Rotate added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactor) Rotate(opts *bind.TransactOpts, newViewID *big.Int) (*types.Transaction, error)

Rotate is a paid mutator transaction binding the contract method 0x3852f4b0.

Solidity: function rotate(uint256 newViewID) returns()

func (*RotatableVPSTransactor) TransferOwnership added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*RotatableVPSTransactor) UpdateVotingPowers added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactor) UpdateVotingPowers(opts *bind.TransactOpts, _voters []common.Address, _powers []*big.Int) (*types.Transaction, error)

UpdateVotingPowers is a paid mutator transaction binding the contract method 0x03083dcf.

Solidity: function updateVotingPowers(address[] _voters, uint256[] _powers) returns()

type RotatableVPSTransactorRaw added in v0.1.11

type RotatableVPSTransactorRaw struct {
	Contract *RotatableVPSTransactor // Generic write-only contract binding to access the raw methods on
}

RotatableVPSTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RotatableVPSTransactorRaw) Transact added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RotatableVPSTransactorRaw) Transfer added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactorRaw) 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 RotatableVPSTransactorSession added in v0.1.11

type RotatableVPSTransactorSession struct {
	Contract     *RotatableVPSTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

RotatableVPSTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*RotatableVPSTransactorSession) AddAddressToWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactorSession) AddAddressToWhitelist(addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*RotatableVPSTransactorSession) AddAddressesToWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactorSession) AddAddressesToWhitelist(addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*RotatableVPSTransactorSession) RemoveAddressFromWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactorSession) RemoveAddressFromWhitelist(addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*RotatableVPSTransactorSession) RemoveAddressesFromWhitelist added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactorSession) RemoveAddressesFromWhitelist(addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*RotatableVPSTransactorSession) Rotate added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactorSession) Rotate(newViewID *big.Int) (*types.Transaction, error)

Rotate is a paid mutator transaction binding the contract method 0x3852f4b0.

Solidity: function rotate(uint256 newViewID) returns()

func (*RotatableVPSTransactorSession) TransferOwnership added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*RotatableVPSTransactorSession) UpdateVotingPowers added in v0.1.11

func (_RotatableVPS *RotatableVPSTransactorSession) UpdateVotingPowers(_voters []common.Address, _powers []*big.Int) (*types.Transaction, error)

UpdateVotingPowers is a paid mutator transaction binding the contract method 0x03083dcf.

Solidity: function updateVotingPowers(address[] _voters, uint256[] _powers) returns()

type RotatableVPSWhitelistedAddressAdded added in v0.1.11

type RotatableVPSWhitelistedAddressAdded struct {
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

RotatableVPSWhitelistedAddressAdded represents a WhitelistedAddressAdded event raised by the RotatableVPS contract.

type RotatableVPSWhitelistedAddressAddedIterator added in v0.1.11

type RotatableVPSWhitelistedAddressAddedIterator struct {
	Event *RotatableVPSWhitelistedAddressAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RotatableVPSWhitelistedAddressAddedIterator is returned from FilterWhitelistedAddressAdded and is used to iterate over the raw logs and unpacked data for WhitelistedAddressAdded events raised by the RotatableVPS contract.

func (*RotatableVPSWhitelistedAddressAddedIterator) Close added in v0.1.11

Close terminates the iteration process, releasing any pending underlying resources.

func (*RotatableVPSWhitelistedAddressAddedIterator) Error added in v0.1.11

Error returns any retrieval or parsing error occurred during filtering.

func (*RotatableVPSWhitelistedAddressAddedIterator) Next added in v0.1.11

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 RotatableVPSWhitelistedAddressRemoved added in v0.1.11

type RotatableVPSWhitelistedAddressRemoved struct {
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

RotatableVPSWhitelistedAddressRemoved represents a WhitelistedAddressRemoved event raised by the RotatableVPS contract.

type RotatableVPSWhitelistedAddressRemovedIterator added in v0.1.11

type RotatableVPSWhitelistedAddressRemovedIterator struct {
	Event *RotatableVPSWhitelistedAddressRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RotatableVPSWhitelistedAddressRemovedIterator is returned from FilterWhitelistedAddressRemoved and is used to iterate over the raw logs and unpacked data for WhitelistedAddressRemoved events raised by the RotatableVPS contract.

func (*RotatableVPSWhitelistedAddressRemovedIterator) Close added in v0.1.11

Close terminates the iteration process, releasing any pending underlying resources.

func (*RotatableVPSWhitelistedAddressRemovedIterator) Error added in v0.1.11

Error returns any retrieval or parsing error occurred during filtering.

func (*RotatableVPSWhitelistedAddressRemovedIterator) Next added in v0.1.11

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 Staking

type Staking struct {
	StakingCaller     // Read-only binding to the contract
	StakingTransactor // Write-only binding to the contract
	StakingFilterer   // Log filterer for contract events
}

Staking is an auto generated Go binding around an Ethereum contract.

func NewStaking

func NewStaking(address common.Address, backend bind.ContractBackend) (*Staking, error)

NewStaking creates a new instance of Staking, bound to a specific deployed contract.

type StakingBucketCreated

type StakingBucketCreated struct {
	BucketIndex   *big.Int
	CanName       [12]byte
	Amount        *big.Int
	StakeDuration *big.Int
	NonDecay      bool
	Data          []byte
	Raw           types.Log // Blockchain specific contextual infos
}

StakingBucketCreated represents a BucketCreated event raised by the Staking contract.

type StakingBucketCreatedIterator

type StakingBucketCreatedIterator struct {
	Event *StakingBucketCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingBucketCreatedIterator is returned from FilterBucketCreated and is used to iterate over the raw logs and unpacked data for BucketCreated events raised by the Staking contract.

func (*StakingBucketCreatedIterator) Close

func (it *StakingBucketCreatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingBucketCreatedIterator) Error

func (it *StakingBucketCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingBucketCreatedIterator) Next

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 StakingBucketUnstake

type StakingBucketUnstake struct {
	BucketIndex *big.Int
	CanName     [12]byte
	Amount      *big.Int
	Data        []byte
	Raw         types.Log // Blockchain specific contextual infos
}

StakingBucketUnstake represents a BucketUnstake event raised by the Staking contract.

type StakingBucketUnstakeIterator

type StakingBucketUnstakeIterator struct {
	Event *StakingBucketUnstake // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingBucketUnstakeIterator is returned from FilterBucketUnstake and is used to iterate over the raw logs and unpacked data for BucketUnstake events raised by the Staking contract.

func (*StakingBucketUnstakeIterator) Close

func (it *StakingBucketUnstakeIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingBucketUnstakeIterator) Error

func (it *StakingBucketUnstakeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingBucketUnstakeIterator) Next

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 StakingBucketUpdated

type StakingBucketUpdated struct {
	BucketIndex    *big.Int
	CanName        [12]byte
	StakeDuration  *big.Int
	StakeStartTime *big.Int
	NonDecay       bool
	BucketOwner    common.Address
	Data           []byte
	Raw            types.Log // Blockchain specific contextual infos
}

StakingBucketUpdated represents a BucketUpdated event raised by the Staking contract.

type StakingBucketUpdatedIterator

type StakingBucketUpdatedIterator struct {
	Event *StakingBucketUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingBucketUpdatedIterator is returned from FilterBucketUpdated and is used to iterate over the raw logs and unpacked data for BucketUpdated events raised by the Staking contract.

func (*StakingBucketUpdatedIterator) Close

func (it *StakingBucketUpdatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingBucketUpdatedIterator) Error

func (it *StakingBucketUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingBucketUpdatedIterator) Next

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 StakingBucketWithdraw

type StakingBucketWithdraw struct {
	BucketIndex *big.Int
	CanName     [12]byte
	Amount      *big.Int
	Data        []byte
	Raw         types.Log // Blockchain specific contextual infos
}

StakingBucketWithdraw represents a BucketWithdraw event raised by the Staking contract.

type StakingBucketWithdrawIterator

type StakingBucketWithdrawIterator struct {
	Event *StakingBucketWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingBucketWithdrawIterator is returned from FilterBucketWithdraw and is used to iterate over the raw logs and unpacked data for BucketWithdraw events raised by the Staking contract.

func (*StakingBucketWithdrawIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingBucketWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingBucketWithdrawIterator) Next

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 StakingCaller

type StakingCaller struct {
	// contains filtered or unexported fields
}

StakingCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewStakingCaller

func NewStakingCaller(address common.Address, caller bind.ContractCaller) (*StakingCaller, error)

NewStakingCaller creates a new read-only instance of Staking, bound to a specific deployed contract.

func (*StakingCaller) Buckets

func (_Staking *StakingCaller) Buckets(opts *bind.CallOpts, arg0 *big.Int) (struct {
	CanName          [12]byte
	StakedAmount     *big.Int
	StakeDuration    *big.Int
	StakeStartTime   *big.Int
	NonDecay         bool
	UnstakeStartTime *big.Int
	BucketOwner      common.Address
	CreateTime       *big.Int
	Prev             *big.Int
	Next             *big.Int
}, error)

Buckets is a free data retrieval call binding the contract method 0x9b51fb0d.

Solidity: function buckets(uint256 ) constant returns(bytes12 canName, uint256 stakedAmount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, uint256 unstakeStartTime, address bucketOwner, uint256 createTime, uint256 prev, uint256 next)

func (*StakingCaller) GetActiveBucketCreateTimes

func (_Staking *StakingCaller) GetActiveBucketCreateTimes(opts *bind.CallOpts, _prevIndex *big.Int, _limit *big.Int) (struct {
	Count       *big.Int
	Indexes     []*big.Int
	CreateTimes []*big.Int
}, error)

GetActiveBucketCreateTimes is a free data retrieval call binding the contract method 0x37130b93.

Solidity: function getActiveBucketCreateTimes(uint256 _prevIndex, uint256 _limit) constant returns(uint256 count, uint256[] indexes, uint256[] createTimes)

func (*StakingCaller) GetActiveBucketIdx

func (_Staking *StakingCaller) GetActiveBucketIdx(opts *bind.CallOpts, _prevIndex *big.Int, _limit *big.Int) (struct {
	Count   *big.Int
	Indexes []*big.Int
}, error)

GetActiveBucketIdx is a free data retrieval call binding the contract method 0x8b59c5e0.

Solidity: function getActiveBucketIdx(uint256 _prevIndex, uint256 _limit) constant returns(uint256 count, uint256[] indexes)

func (*StakingCaller) GetActiveBuckets

func (_Staking *StakingCaller) GetActiveBuckets(opts *bind.CallOpts, _prevIndex *big.Int, _limit *big.Int) (struct {
	Count           *big.Int
	Indexes         []*big.Int
	StakeStartTimes []*big.Int
	StakeDurations  []*big.Int
	Decays          []bool
	StakedAmounts   []*big.Int
	CanNames        [][12]byte
	Owners          []common.Address
}, error)

GetActiveBuckets is a free data retrieval call binding the contract method 0x042f95bd.

Solidity: function getActiveBuckets(uint256 _prevIndex, uint256 _limit) constant returns(uint256 count, uint256[] indexes, uint256[] stakeStartTimes, uint256[] stakeDurations, bool[] decays, uint256[] stakedAmounts, bytes12[] canNames, address[] owners)

func (*StakingCaller) GetBucketIndexesByAddress

func (_Staking *StakingCaller) GetBucketIndexesByAddress(opts *bind.CallOpts, _owner common.Address) ([]*big.Int, error)

GetBucketIndexesByAddress is a free data retrieval call binding the contract method 0x7d0de831.

Solidity: function getBucketIndexesByAddress(address _owner) constant returns(uint256[])

func (*StakingCaller) IsOwner

func (_Staking *StakingCaller) IsOwner(opts *bind.CallOpts, _address common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner(address _address) constant returns(bool)

func (*StakingCaller) MaxBucketsPerAddr

func (_Staking *StakingCaller) MaxBucketsPerAddr(opts *bind.CallOpts) (*big.Int, error)

MaxBucketsPerAddr is a free data retrieval call binding the contract method 0xfe8a8b4c.

Solidity: function maxBucketsPerAddr() constant returns(uint256)

func (*StakingCaller) MaxStakeDuration

func (_Staking *StakingCaller) MaxStakeDuration(opts *bind.CallOpts) (*big.Int, error)

MaxStakeDuration is a free data retrieval call binding the contract method 0x76f70003.

Solidity: function maxStakeDuration() constant returns(uint256)

func (*StakingCaller) MinStakeAmount

func (_Staking *StakingCaller) MinStakeAmount(opts *bind.CallOpts) (*big.Int, error)

MinStakeAmount is a free data retrieval call binding the contract method 0xf1887684.

Solidity: function minStakeAmount() constant returns(uint256)

func (*StakingCaller) MinStakeDuration

func (_Staking *StakingCaller) MinStakeDuration(opts *bind.CallOpts) (*big.Int, error)

MinStakeDuration is a free data retrieval call binding the contract method 0x5fec5c64.

Solidity: function minStakeDuration() constant returns(uint256)

func (*StakingCaller) Owner

func (_Staking *StakingCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*StakingCaller) Paused

func (_Staking *StakingCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*StakingCaller) SecondsPerEpoch

func (_Staking *StakingCaller) SecondsPerEpoch(opts *bind.CallOpts) (*big.Int, error)

SecondsPerEpoch is a free data retrieval call binding the contract method 0x580c8f3d.

Solidity: function secondsPerEpoch() constant returns(uint256)

func (*StakingCaller) Stakeholders

func (_Staking *StakingCaller) Stakeholders(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

Stakeholders is a free data retrieval call binding the contract method 0x423ce1ae.

Solidity: function stakeholders(address , uint256 ) constant returns(uint256)

func (*StakingCaller) Token

func (_Staking *StakingCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*StakingCaller) TotalStaked

func (_Staking *StakingCaller) TotalStaked(opts *bind.CallOpts) (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() constant returns(uint256)

func (*StakingCaller) UnStakeDuration

func (_Staking *StakingCaller) UnStakeDuration(opts *bind.CallOpts) (*big.Int, error)

UnStakeDuration is a free data retrieval call binding the contract method 0xc698d495.

Solidity: function unStakeDuration() constant returns(uint256)

func (*StakingCaller) Whitelist

func (_Staking *StakingCaller) Whitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

type StakingCallerRaw

type StakingCallerRaw struct {
	Contract *StakingCaller // Generic read-only contract binding to access the raw methods on
}

StakingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*StakingCallerRaw) Call

func (_Staking *StakingCallerRaw) 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 StakingCallerSession

type StakingCallerSession struct {
	Contract *StakingCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

StakingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*StakingCallerSession) Buckets

func (_Staking *StakingCallerSession) Buckets(arg0 *big.Int) (struct {
	CanName          [12]byte
	StakedAmount     *big.Int
	StakeDuration    *big.Int
	StakeStartTime   *big.Int
	NonDecay         bool
	UnstakeStartTime *big.Int
	BucketOwner      common.Address
	CreateTime       *big.Int
	Prev             *big.Int
	Next             *big.Int
}, error)

Buckets is a free data retrieval call binding the contract method 0x9b51fb0d.

Solidity: function buckets(uint256 ) constant returns(bytes12 canName, uint256 stakedAmount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, uint256 unstakeStartTime, address bucketOwner, uint256 createTime, uint256 prev, uint256 next)

func (*StakingCallerSession) GetActiveBucketCreateTimes

func (_Staking *StakingCallerSession) GetActiveBucketCreateTimes(_prevIndex *big.Int, _limit *big.Int) (struct {
	Count       *big.Int
	Indexes     []*big.Int
	CreateTimes []*big.Int
}, error)

GetActiveBucketCreateTimes is a free data retrieval call binding the contract method 0x37130b93.

Solidity: function getActiveBucketCreateTimes(uint256 _prevIndex, uint256 _limit) constant returns(uint256 count, uint256[] indexes, uint256[] createTimes)

func (*StakingCallerSession) GetActiveBucketIdx

func (_Staking *StakingCallerSession) GetActiveBucketIdx(_prevIndex *big.Int, _limit *big.Int) (struct {
	Count   *big.Int
	Indexes []*big.Int
}, error)

GetActiveBucketIdx is a free data retrieval call binding the contract method 0x8b59c5e0.

Solidity: function getActiveBucketIdx(uint256 _prevIndex, uint256 _limit) constant returns(uint256 count, uint256[] indexes)

func (*StakingCallerSession) GetActiveBuckets

func (_Staking *StakingCallerSession) GetActiveBuckets(_prevIndex *big.Int, _limit *big.Int) (struct {
	Count           *big.Int
	Indexes         []*big.Int
	StakeStartTimes []*big.Int
	StakeDurations  []*big.Int
	Decays          []bool
	StakedAmounts   []*big.Int
	CanNames        [][12]byte
	Owners          []common.Address
}, error)

GetActiveBuckets is a free data retrieval call binding the contract method 0x042f95bd.

Solidity: function getActiveBuckets(uint256 _prevIndex, uint256 _limit) constant returns(uint256 count, uint256[] indexes, uint256[] stakeStartTimes, uint256[] stakeDurations, bool[] decays, uint256[] stakedAmounts, bytes12[] canNames, address[] owners)

func (*StakingCallerSession) GetBucketIndexesByAddress

func (_Staking *StakingCallerSession) GetBucketIndexesByAddress(_owner common.Address) ([]*big.Int, error)

GetBucketIndexesByAddress is a free data retrieval call binding the contract method 0x7d0de831.

Solidity: function getBucketIndexesByAddress(address _owner) constant returns(uint256[])

func (*StakingCallerSession) IsOwner

func (_Staking *StakingCallerSession) IsOwner(_address common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner(address _address) constant returns(bool)

func (*StakingCallerSession) MaxBucketsPerAddr

func (_Staking *StakingCallerSession) MaxBucketsPerAddr() (*big.Int, error)

MaxBucketsPerAddr is a free data retrieval call binding the contract method 0xfe8a8b4c.

Solidity: function maxBucketsPerAddr() constant returns(uint256)

func (*StakingCallerSession) MaxStakeDuration

func (_Staking *StakingCallerSession) MaxStakeDuration() (*big.Int, error)

MaxStakeDuration is a free data retrieval call binding the contract method 0x76f70003.

Solidity: function maxStakeDuration() constant returns(uint256)

func (*StakingCallerSession) MinStakeAmount

func (_Staking *StakingCallerSession) MinStakeAmount() (*big.Int, error)

MinStakeAmount is a free data retrieval call binding the contract method 0xf1887684.

Solidity: function minStakeAmount() constant returns(uint256)

func (*StakingCallerSession) MinStakeDuration

func (_Staking *StakingCallerSession) MinStakeDuration() (*big.Int, error)

MinStakeDuration is a free data retrieval call binding the contract method 0x5fec5c64.

Solidity: function minStakeDuration() constant returns(uint256)

func (*StakingCallerSession) Owner

func (_Staking *StakingCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*StakingCallerSession) Paused

func (_Staking *StakingCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*StakingCallerSession) SecondsPerEpoch

func (_Staking *StakingCallerSession) SecondsPerEpoch() (*big.Int, error)

SecondsPerEpoch is a free data retrieval call binding the contract method 0x580c8f3d.

Solidity: function secondsPerEpoch() constant returns(uint256)

func (*StakingCallerSession) Stakeholders

func (_Staking *StakingCallerSession) Stakeholders(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

Stakeholders is a free data retrieval call binding the contract method 0x423ce1ae.

Solidity: function stakeholders(address , uint256 ) constant returns(uint256)

func (*StakingCallerSession) Token

func (_Staking *StakingCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*StakingCallerSession) TotalStaked

func (_Staking *StakingCallerSession) TotalStaked() (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() constant returns(uint256)

func (*StakingCallerSession) UnStakeDuration

func (_Staking *StakingCallerSession) UnStakeDuration() (*big.Int, error)

UnStakeDuration is a free data retrieval call binding the contract method 0xc698d495.

Solidity: function unStakeDuration() constant returns(uint256)

func (*StakingCallerSession) Whitelist

func (_Staking *StakingCallerSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

type StakingFilterer

type StakingFilterer struct {
	// contains filtered or unexported fields
}

StakingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewStakingFilterer

func NewStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingFilterer, error)

NewStakingFilterer creates a new log filterer instance of Staking, bound to a specific deployed contract.

func (*StakingFilterer) FilterBucketCreated

func (_Staking *StakingFilterer) FilterBucketCreated(opts *bind.FilterOpts) (*StakingBucketCreatedIterator, error)

FilterBucketCreated is a free log retrieval operation binding the contract event 0xbecddf0f61f76a4ac94a507fbc32c036d2fb7c4b466cad82dd9a4a2d76b263fe.

Solidity: event BucketCreated(uint256 bucketIndex, bytes12 canName, uint256 amount, uint256 stakeDuration, bool nonDecay, bytes data)

func (*StakingFilterer) FilterBucketUnstake

func (_Staking *StakingFilterer) FilterBucketUnstake(opts *bind.FilterOpts) (*StakingBucketUnstakeIterator, error)

FilterBucketUnstake is a free log retrieval operation binding the contract event 0xaa192dc938c20fb63756fbd8f4d9f46092c3252f772b2c549c4688c118b6b475.

Solidity: event BucketUnstake(uint256 bucketIndex, bytes12 canName, uint256 amount, bytes data)

func (*StakingFilterer) FilterBucketUpdated

func (_Staking *StakingFilterer) FilterBucketUpdated(opts *bind.FilterOpts) (*StakingBucketUpdatedIterator, error)

FilterBucketUpdated is a free log retrieval operation binding the contract event 0x004bbbedd0138c223ffed73fdab05a22a5d22770de54bea694d06661d59d1600.

Solidity: event BucketUpdated(uint256 bucketIndex, bytes12 canName, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, address bucketOwner, bytes data)

func (*StakingFilterer) FilterBucketWithdraw

func (_Staking *StakingFilterer) FilterBucketWithdraw(opts *bind.FilterOpts) (*StakingBucketWithdrawIterator, error)

FilterBucketWithdraw is a free log retrieval operation binding the contract event 0x2a79739690fe6bf5933c5d812824e30c2b95d43b6ddadd96148a4493d3b56540.

Solidity: event BucketWithdraw(uint256 bucketIndex, bytes12 canName, uint256 amount, bytes data)

func (*StakingFilterer) FilterPause

func (_Staking *StakingFilterer) FilterPause(opts *bind.FilterOpts) (*StakingPauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*StakingFilterer) FilterUnpause

func (_Staking *StakingFilterer) FilterUnpause(opts *bind.FilterOpts) (*StakingUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*StakingFilterer) FilterWhitelistedAddressAdded

func (_Staking *StakingFilterer) FilterWhitelistedAddressAdded(opts *bind.FilterOpts) (*StakingWhitelistedAddressAddedIterator, error)

FilterWhitelistedAddressAdded is a free log retrieval operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*StakingFilterer) FilterWhitelistedAddressRemoved

func (_Staking *StakingFilterer) FilterWhitelistedAddressRemoved(opts *bind.FilterOpts) (*StakingWhitelistedAddressRemovedIterator, error)

FilterWhitelistedAddressRemoved is a free log retrieval operation binding the contract event 0xf1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a.

Solidity: event WhitelistedAddressRemoved(address addr)

func (*StakingFilterer) WatchBucketCreated

func (_Staking *StakingFilterer) WatchBucketCreated(opts *bind.WatchOpts, sink chan<- *StakingBucketCreated) (event.Subscription, error)

WatchBucketCreated is a free log subscription operation binding the contract event 0xbecddf0f61f76a4ac94a507fbc32c036d2fb7c4b466cad82dd9a4a2d76b263fe.

Solidity: event BucketCreated(uint256 bucketIndex, bytes12 canName, uint256 amount, uint256 stakeDuration, bool nonDecay, bytes data)

func (*StakingFilterer) WatchBucketUnstake

func (_Staking *StakingFilterer) WatchBucketUnstake(opts *bind.WatchOpts, sink chan<- *StakingBucketUnstake) (event.Subscription, error)

WatchBucketUnstake is a free log subscription operation binding the contract event 0xaa192dc938c20fb63756fbd8f4d9f46092c3252f772b2c549c4688c118b6b475.

Solidity: event BucketUnstake(uint256 bucketIndex, bytes12 canName, uint256 amount, bytes data)

func (*StakingFilterer) WatchBucketUpdated

func (_Staking *StakingFilterer) WatchBucketUpdated(opts *bind.WatchOpts, sink chan<- *StakingBucketUpdated) (event.Subscription, error)

WatchBucketUpdated is a free log subscription operation binding the contract event 0x004bbbedd0138c223ffed73fdab05a22a5d22770de54bea694d06661d59d1600.

Solidity: event BucketUpdated(uint256 bucketIndex, bytes12 canName, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, address bucketOwner, bytes data)

func (*StakingFilterer) WatchBucketWithdraw

func (_Staking *StakingFilterer) WatchBucketWithdraw(opts *bind.WatchOpts, sink chan<- *StakingBucketWithdraw) (event.Subscription, error)

WatchBucketWithdraw is a free log subscription operation binding the contract event 0x2a79739690fe6bf5933c5d812824e30c2b95d43b6ddadd96148a4493d3b56540.

Solidity: event BucketWithdraw(uint256 bucketIndex, bytes12 canName, uint256 amount, bytes data)

func (*StakingFilterer) WatchPause

func (_Staking *StakingFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *StakingPause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*StakingFilterer) WatchUnpause

func (_Staking *StakingFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *StakingUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*StakingFilterer) WatchWhitelistedAddressAdded

func (_Staking *StakingFilterer) WatchWhitelistedAddressAdded(opts *bind.WatchOpts, sink chan<- *StakingWhitelistedAddressAdded) (event.Subscription, error)

WatchWhitelistedAddressAdded is a free log subscription operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*StakingFilterer) WatchWhitelistedAddressRemoved

func (_Staking *StakingFilterer) WatchWhitelistedAddressRemoved(opts *bind.WatchOpts, sink chan<- *StakingWhitelistedAddressRemoved) (event.Subscription, error)

WatchWhitelistedAddressRemoved is a free log subscription operation binding the contract event 0xf1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a.

Solidity: event WhitelistedAddressRemoved(address addr)

type StakingPause

type StakingPause struct {
	Raw types.Log // Blockchain specific contextual infos
}

StakingPause represents a Pause event raised by the Staking contract.

type StakingPauseIterator

type StakingPauseIterator struct {
	Event *StakingPause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the Staking contract.

func (*StakingPauseIterator) Close

func (it *StakingPauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingPauseIterator) Error

func (it *StakingPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingPauseIterator) Next

func (it *StakingPauseIterator) 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 StakingRaw

type StakingRaw struct {
	Contract *Staking // Generic contract binding to access the raw methods on
}

StakingRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*StakingRaw) Call

func (_Staking *StakingRaw) 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 (*StakingRaw) Transact

func (_Staking *StakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakingRaw) Transfer

func (_Staking *StakingRaw) 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 StakingSession

type StakingSession struct {
	Contract     *Staking          // 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
}

StakingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*StakingSession) AddAddressToWhitelist

func (_Staking *StakingSession) AddAddressToWhitelist(addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*StakingSession) AddAddressesToWhitelist

func (_Staking *StakingSession) AddAddressesToWhitelist(addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*StakingSession) Buckets

func (_Staking *StakingSession) Buckets(arg0 *big.Int) (struct {
	CanName          [12]byte
	StakedAmount     *big.Int
	StakeDuration    *big.Int
	StakeStartTime   *big.Int
	NonDecay         bool
	UnstakeStartTime *big.Int
	BucketOwner      common.Address
	CreateTime       *big.Int
	Prev             *big.Int
	Next             *big.Int
}, error)

Buckets is a free data retrieval call binding the contract method 0x9b51fb0d.

Solidity: function buckets(uint256 ) constant returns(bytes12 canName, uint256 stakedAmount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, uint256 unstakeStartTime, address bucketOwner, uint256 createTime, uint256 prev, uint256 next)

func (*StakingSession) CreateBucket

func (_Staking *StakingSession) CreateBucket(_canName [12]byte, _amount *big.Int, _stakeDuration *big.Int, _nonDecay bool, _data []byte) (*types.Transaction, error)

CreateBucket is a paid mutator transaction binding the contract method 0xeae20f76.

Solidity: function createBucket(bytes12 _canName, uint256 _amount, uint256 _stakeDuration, bool _nonDecay, bytes _data) returns(uint256)

func (*StakingSession) GetActiveBucketCreateTimes

func (_Staking *StakingSession) GetActiveBucketCreateTimes(_prevIndex *big.Int, _limit *big.Int) (struct {
	Count       *big.Int
	Indexes     []*big.Int
	CreateTimes []*big.Int
}, error)

GetActiveBucketCreateTimes is a free data retrieval call binding the contract method 0x37130b93.

Solidity: function getActiveBucketCreateTimes(uint256 _prevIndex, uint256 _limit) constant returns(uint256 count, uint256[] indexes, uint256[] createTimes)

func (*StakingSession) GetActiveBucketIdx

func (_Staking *StakingSession) GetActiveBucketIdx(_prevIndex *big.Int, _limit *big.Int) (struct {
	Count   *big.Int
	Indexes []*big.Int
}, error)

GetActiveBucketIdx is a free data retrieval call binding the contract method 0x8b59c5e0.

Solidity: function getActiveBucketIdx(uint256 _prevIndex, uint256 _limit) constant returns(uint256 count, uint256[] indexes)

func (*StakingSession) GetActiveBuckets

func (_Staking *StakingSession) GetActiveBuckets(_prevIndex *big.Int, _limit *big.Int) (struct {
	Count           *big.Int
	Indexes         []*big.Int
	StakeStartTimes []*big.Int
	StakeDurations  []*big.Int
	Decays          []bool
	StakedAmounts   []*big.Int
	CanNames        [][12]byte
	Owners          []common.Address
}, error)

GetActiveBuckets is a free data retrieval call binding the contract method 0x042f95bd.

Solidity: function getActiveBuckets(uint256 _prevIndex, uint256 _limit) constant returns(uint256 count, uint256[] indexes, uint256[] stakeStartTimes, uint256[] stakeDurations, bool[] decays, uint256[] stakedAmounts, bytes12[] canNames, address[] owners)

func (*StakingSession) GetBucketIndexesByAddress

func (_Staking *StakingSession) GetBucketIndexesByAddress(_owner common.Address) ([]*big.Int, error)

GetBucketIndexesByAddress is a free data retrieval call binding the contract method 0x7d0de831.

Solidity: function getBucketIndexesByAddress(address _owner) constant returns(uint256[])

func (*StakingSession) IsOwner

func (_Staking *StakingSession) IsOwner(_address common.Address) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x2f54bf6e.

Solidity: function isOwner(address _address) constant returns(bool)

func (*StakingSession) MaxBucketsPerAddr

func (_Staking *StakingSession) MaxBucketsPerAddr() (*big.Int, error)

MaxBucketsPerAddr is a free data retrieval call binding the contract method 0xfe8a8b4c.

Solidity: function maxBucketsPerAddr() constant returns(uint256)

func (*StakingSession) MaxStakeDuration

func (_Staking *StakingSession) MaxStakeDuration() (*big.Int, error)

MaxStakeDuration is a free data retrieval call binding the contract method 0x76f70003.

Solidity: function maxStakeDuration() constant returns(uint256)

func (*StakingSession) MinStakeAmount

func (_Staking *StakingSession) MinStakeAmount() (*big.Int, error)

MinStakeAmount is a free data retrieval call binding the contract method 0xf1887684.

Solidity: function minStakeAmount() constant returns(uint256)

func (*StakingSession) MinStakeDuration

func (_Staking *StakingSession) MinStakeDuration() (*big.Int, error)

MinStakeDuration is a free data retrieval call binding the contract method 0x5fec5c64.

Solidity: function minStakeDuration() constant returns(uint256)

func (*StakingSession) Owner

func (_Staking *StakingSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*StakingSession) Pause

func (_Staking *StakingSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakingSession) Paused

func (_Staking *StakingSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*StakingSession) RemoveAddressFromWhitelist

func (_Staking *StakingSession) RemoveAddressFromWhitelist(addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*StakingSession) RemoveAddressesFromWhitelist

func (_Staking *StakingSession) RemoveAddressesFromWhitelist(addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*StakingSession) Restake

func (_Staking *StakingSession) Restake(_bucketIndex *big.Int, _stakeDuration *big.Int, _nonDecay bool, _data []byte) (*types.Transaction, error)

Restake is a paid mutator transaction binding the contract method 0x7b24a5fd.

Solidity: function restake(uint256 _bucketIndex, uint256 _stakeDuration, bool _nonDecay, bytes _data) returns()

func (*StakingSession) Revote

func (_Staking *StakingSession) Revote(_bucketIndex *big.Int, _canName [12]byte, _data []byte) (*types.Transaction, error)

Revote is a paid mutator transaction binding the contract method 0xd3e41fd2.

Solidity: function revote(uint256 _bucketIndex, bytes12 _canName, bytes _data) returns()

func (*StakingSession) SecondsPerEpoch

func (_Staking *StakingSession) SecondsPerEpoch() (*big.Int, error)

SecondsPerEpoch is a free data retrieval call binding the contract method 0x580c8f3d.

Solidity: function secondsPerEpoch() constant returns(uint256)

func (*StakingSession) SetBucketOwner

func (_Staking *StakingSession) SetBucketOwner(_bucketIndex *big.Int, _newOwner common.Address, _data []byte) (*types.Transaction, error)

SetBucketOwner is a paid mutator transaction binding the contract method 0x9cfe3461.

Solidity: function setBucketOwner(uint256 _bucketIndex, address _newOwner, bytes _data) returns()

func (*StakingSession) Stakeholders

func (_Staking *StakingSession) Stakeholders(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

Stakeholders is a free data retrieval call binding the contract method 0x423ce1ae.

Solidity: function stakeholders(address , uint256 ) constant returns(uint256)

func (*StakingSession) Token

func (_Staking *StakingSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

func (*StakingSession) TotalStaked

func (_Staking *StakingSession) TotalStaked() (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() constant returns(uint256)

func (*StakingSession) TransferOwnership

func (_Staking *StakingSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

func (*StakingSession) UnStakeDuration

func (_Staking *StakingSession) UnStakeDuration() (*big.Int, error)

UnStakeDuration is a free data retrieval call binding the contract method 0xc698d495.

Solidity: function unStakeDuration() constant returns(uint256)

func (*StakingSession) Unpause

func (_Staking *StakingSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StakingSession) Unstake

func (_Staking *StakingSession) Unstake(_bucketIndex *big.Int, _data []byte) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0xc8fd6ed0.

Solidity: function unstake(uint256 _bucketIndex, bytes _data) returns()

func (*StakingSession) Whitelist

func (_Staking *StakingSession) Whitelist(arg0 common.Address) (bool, error)

Whitelist is a free data retrieval call binding the contract method 0x9b19251a.

Solidity: function whitelist(address ) constant returns(bool)

func (*StakingSession) Withdraw

func (_Staking *StakingSession) Withdraw(_bucketIndex *big.Int, _data []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x030ba25d.

Solidity: function withdraw(uint256 _bucketIndex, bytes _data) returns()

type StakingTransactor

type StakingTransactor struct {
	// contains filtered or unexported fields
}

StakingTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewStakingTransactor

func NewStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingTransactor, error)

NewStakingTransactor creates a new write-only instance of Staking, bound to a specific deployed contract.

func (*StakingTransactor) AddAddressToWhitelist

func (_Staking *StakingTransactor) AddAddressToWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*StakingTransactor) AddAddressesToWhitelist

func (_Staking *StakingTransactor) AddAddressesToWhitelist(opts *bind.TransactOpts, addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*StakingTransactor) CreateBucket

func (_Staking *StakingTransactor) CreateBucket(opts *bind.TransactOpts, _canName [12]byte, _amount *big.Int, _stakeDuration *big.Int, _nonDecay bool, _data []byte) (*types.Transaction, error)

CreateBucket is a paid mutator transaction binding the contract method 0xeae20f76.

Solidity: function createBucket(bytes12 _canName, uint256 _amount, uint256 _stakeDuration, bool _nonDecay, bytes _data) returns(uint256)

func (*StakingTransactor) Pause

func (_Staking *StakingTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakingTransactor) RemoveAddressFromWhitelist

func (_Staking *StakingTransactor) RemoveAddressFromWhitelist(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*StakingTransactor) RemoveAddressesFromWhitelist

func (_Staking *StakingTransactor) RemoveAddressesFromWhitelist(opts *bind.TransactOpts, addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*StakingTransactor) Restake

func (_Staking *StakingTransactor) Restake(opts *bind.TransactOpts, _bucketIndex *big.Int, _stakeDuration *big.Int, _nonDecay bool, _data []byte) (*types.Transaction, error)

Restake is a paid mutator transaction binding the contract method 0x7b24a5fd.

Solidity: function restake(uint256 _bucketIndex, uint256 _stakeDuration, bool _nonDecay, bytes _data) returns()

func (*StakingTransactor) Revote

func (_Staking *StakingTransactor) Revote(opts *bind.TransactOpts, _bucketIndex *big.Int, _canName [12]byte, _data []byte) (*types.Transaction, error)

Revote is a paid mutator transaction binding the contract method 0xd3e41fd2.

Solidity: function revote(uint256 _bucketIndex, bytes12 _canName, bytes _data) returns()

func (*StakingTransactor) SetBucketOwner

func (_Staking *StakingTransactor) SetBucketOwner(opts *bind.TransactOpts, _bucketIndex *big.Int, _newOwner common.Address, _data []byte) (*types.Transaction, error)

SetBucketOwner is a paid mutator transaction binding the contract method 0x9cfe3461.

Solidity: function setBucketOwner(uint256 _bucketIndex, address _newOwner, bytes _data) returns()

func (*StakingTransactor) TransferOwnership

func (_Staking *StakingTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

func (*StakingTransactor) Unpause

func (_Staking *StakingTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StakingTransactor) Unstake

func (_Staking *StakingTransactor) Unstake(opts *bind.TransactOpts, _bucketIndex *big.Int, _data []byte) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0xc8fd6ed0.

Solidity: function unstake(uint256 _bucketIndex, bytes _data) returns()

func (*StakingTransactor) Withdraw

func (_Staking *StakingTransactor) Withdraw(opts *bind.TransactOpts, _bucketIndex *big.Int, _data []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x030ba25d.

Solidity: function withdraw(uint256 _bucketIndex, bytes _data) returns()

type StakingTransactorRaw

type StakingTransactorRaw struct {
	Contract *StakingTransactor // Generic write-only contract binding to access the raw methods on
}

StakingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*StakingTransactorRaw) Transact

func (_Staking *StakingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakingTransactorRaw) Transfer

func (_Staking *StakingTransactorRaw) 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 StakingTransactorSession

type StakingTransactorSession struct {
	Contract     *StakingTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

StakingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*StakingTransactorSession) AddAddressToWhitelist

func (_Staking *StakingTransactorSession) AddAddressToWhitelist(addr common.Address) (*types.Transaction, error)

AddAddressToWhitelist is a paid mutator transaction binding the contract method 0x7b9417c8.

Solidity: function addAddressToWhitelist(address addr) returns(bool success)

func (*StakingTransactorSession) AddAddressesToWhitelist

func (_Staking *StakingTransactorSession) AddAddressesToWhitelist(addrs []common.Address) (*types.Transaction, error)

AddAddressesToWhitelist is a paid mutator transaction binding the contract method 0xe2ec6ec3.

Solidity: function addAddressesToWhitelist(address[] addrs) returns(bool success)

func (*StakingTransactorSession) CreateBucket

func (_Staking *StakingTransactorSession) CreateBucket(_canName [12]byte, _amount *big.Int, _stakeDuration *big.Int, _nonDecay bool, _data []byte) (*types.Transaction, error)

CreateBucket is a paid mutator transaction binding the contract method 0xeae20f76.

Solidity: function createBucket(bytes12 _canName, uint256 _amount, uint256 _stakeDuration, bool _nonDecay, bytes _data) returns(uint256)

func (*StakingTransactorSession) Pause

func (_Staking *StakingTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StakingTransactorSession) RemoveAddressFromWhitelist

func (_Staking *StakingTransactorSession) RemoveAddressFromWhitelist(addr common.Address) (*types.Transaction, error)

RemoveAddressFromWhitelist is a paid mutator transaction binding the contract method 0x286dd3f5.

Solidity: function removeAddressFromWhitelist(address addr) returns(bool success)

func (*StakingTransactorSession) RemoveAddressesFromWhitelist

func (_Staking *StakingTransactorSession) RemoveAddressesFromWhitelist(addrs []common.Address) (*types.Transaction, error)

RemoveAddressesFromWhitelist is a paid mutator transaction binding the contract method 0x24953eaa.

Solidity: function removeAddressesFromWhitelist(address[] addrs) returns(bool success)

func (*StakingTransactorSession) Restake

func (_Staking *StakingTransactorSession) Restake(_bucketIndex *big.Int, _stakeDuration *big.Int, _nonDecay bool, _data []byte) (*types.Transaction, error)

Restake is a paid mutator transaction binding the contract method 0x7b24a5fd.

Solidity: function restake(uint256 _bucketIndex, uint256 _stakeDuration, bool _nonDecay, bytes _data) returns()

func (*StakingTransactorSession) Revote

func (_Staking *StakingTransactorSession) Revote(_bucketIndex *big.Int, _canName [12]byte, _data []byte) (*types.Transaction, error)

Revote is a paid mutator transaction binding the contract method 0xd3e41fd2.

Solidity: function revote(uint256 _bucketIndex, bytes12 _canName, bytes _data) returns()

func (*StakingTransactorSession) SetBucketOwner

func (_Staking *StakingTransactorSession) SetBucketOwner(_bucketIndex *big.Int, _newOwner common.Address, _data []byte) (*types.Transaction, error)

SetBucketOwner is a paid mutator transaction binding the contract method 0x9cfe3461.

Solidity: function setBucketOwner(uint256 _bucketIndex, address _newOwner, bytes _data) returns()

func (*StakingTransactorSession) TransferOwnership

func (_Staking *StakingTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

func (*StakingTransactorSession) Unpause

func (_Staking *StakingTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StakingTransactorSession) Unstake

func (_Staking *StakingTransactorSession) Unstake(_bucketIndex *big.Int, _data []byte) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0xc8fd6ed0.

Solidity: function unstake(uint256 _bucketIndex, bytes _data) returns()

func (*StakingTransactorSession) Withdraw

func (_Staking *StakingTransactorSession) Withdraw(_bucketIndex *big.Int, _data []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x030ba25d.

Solidity: function withdraw(uint256 _bucketIndex, bytes _data) returns()

type StakingUnpause

type StakingUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

StakingUnpause represents a Unpause event raised by the Staking contract.

type StakingUnpauseIterator

type StakingUnpauseIterator struct {
	Event *StakingUnpause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the Staking contract.

func (*StakingUnpauseIterator) Close

func (it *StakingUnpauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingUnpauseIterator) Error

func (it *StakingUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingUnpauseIterator) Next

func (it *StakingUnpauseIterator) 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 StakingWhitelistedAddressAdded

type StakingWhitelistedAddressAdded struct {
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

StakingWhitelistedAddressAdded represents a WhitelistedAddressAdded event raised by the Staking contract.

type StakingWhitelistedAddressAddedIterator

type StakingWhitelistedAddressAddedIterator struct {
	Event *StakingWhitelistedAddressAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingWhitelistedAddressAddedIterator is returned from FilterWhitelistedAddressAdded and is used to iterate over the raw logs and unpacked data for WhitelistedAddressAdded events raised by the Staking contract.

func (*StakingWhitelistedAddressAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingWhitelistedAddressAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingWhitelistedAddressAddedIterator) Next

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 StakingWhitelistedAddressRemoved

type StakingWhitelistedAddressRemoved struct {
	Addr common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

StakingWhitelistedAddressRemoved represents a WhitelistedAddressRemoved event raised by the Staking contract.

type StakingWhitelistedAddressRemovedIterator

type StakingWhitelistedAddressRemovedIterator struct {
	Event *StakingWhitelistedAddressRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingWhitelistedAddressRemovedIterator is returned from FilterWhitelistedAddressRemoved and is used to iterate over the raw logs and unpacked data for WhitelistedAddressRemoved events raised by the Staking contract.

func (*StakingWhitelistedAddressRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingWhitelistedAddressRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingWhitelistedAddressRemovedIterator) Next

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 Vita added in v0.1.13

type Vita struct {
	VitaCaller     // Read-only binding to the contract
	VitaTransactor // Write-only binding to the contract
	VitaFilterer   // Log filterer for contract events
}

Vita is an auto generated Go binding around an Ethereum contract.

func DeployVita added in v0.1.17

func DeployVita(auth *bind.TransactOpts, backend bind.ContractBackend, _vps common.Address, _genesisPoolAddress common.Address, _rewardPoolAddress common.Address, _donationPoolAddress common.Address) (common.Address, *types.Transaction, *Vita, error)

DeployVita deploys a new Ethereum contract, binding an instance of Vita to it.

func NewVita added in v0.1.13

func NewVita(address common.Address, backend bind.ContractBackend) (*Vita, error)

NewVita creates a new instance of Vita, bound to a specific deployed contract.

type VitaApproval added in v0.1.13

type VitaApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

VitaApproval represents a Approval event raised by the Vita contract.

type VitaApprovalIterator added in v0.1.13

type VitaApprovalIterator struct {
	Event *VitaApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VitaApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Vita contract.

func (*VitaApprovalIterator) Close added in v0.1.13

func (it *VitaApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VitaApprovalIterator) Error added in v0.1.13

func (it *VitaApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VitaApprovalIterator) Next added in v0.1.13

func (it *VitaApprovalIterator) 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 VitaCaller added in v0.1.13

type VitaCaller struct {
	// contains filtered or unexported fields
}

VitaCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewVitaCaller added in v0.1.13

func NewVitaCaller(address common.Address, caller bind.ContractCaller) (*VitaCaller, error)

NewVitaCaller creates a new read-only instance of Vita, bound to a specific deployed contract.

func (*VitaCaller) Allowance added in v0.1.13

func (_Vita *VitaCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) constant returns(uint256)

func (*VitaCaller) BalanceOf added in v0.1.13

func (_Vita *VitaCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) constant returns(uint256)

func (*VitaCaller) Claimable added in v0.1.13

func (_Vita *VitaCaller) Claimable(opts *bind.CallOpts) (bool, error)

Claimable is a free data retrieval call binding the contract method 0xaf38d757.

Solidity: function claimable() constant returns(bool)

func (*VitaCaller) CycleIncrementalSupply added in v0.1.13

func (_Vita *VitaCaller) CycleIncrementalSupply(opts *bind.CallOpts) (*big.Int, error)

CycleIncrementalSupply is a free data retrieval call binding the contract method 0x13d92623.

Solidity: function cycleIncrementalSupply() constant returns(uint256)

func (*VitaCaller) DecayedIncrementalSupply added in v0.1.13

func (_Vita *VitaCaller) DecayedIncrementalSupply(opts *bind.CallOpts) (*big.Int, error)

DecayedIncrementalSupply is a free data retrieval call binding the contract method 0x1efd1a4c.

Solidity: function decayedIncrementalSupply() constant returns(uint256)

func (*VitaCaller) Decimals added in v0.1.13

func (_Vita *VitaCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*VitaCaller) DonationPoolAddress added in v0.1.13

func (_Vita *VitaCaller) DonationPoolAddress(opts *bind.CallOpts) (common.Address, error)

DonationPoolAddress is a free data retrieval call binding the contract method 0x280e6434.

Solidity: function donationPoolAddress() constant returns(address)

func (*VitaCaller) DonationPoolSize added in v0.1.13

func (_Vita *VitaCaller) DonationPoolSize(opts *bind.CallOpts) (*big.Int, error)

DonationPoolSize is a free data retrieval call binding the contract method 0xc7f3a874.

Solidity: function donationPoolSize() constant returns(uint256)

func (*VitaCaller) GenesisPoolAddress added in v0.1.13

func (_Vita *VitaCaller) GenesisPoolAddress(opts *bind.CallOpts) (common.Address, error)

GenesisPoolAddress is a free data retrieval call binding the contract method 0x4063971c.

Solidity: function genesisPoolAddress() constant returns(address)

func (*VitaCaller) IncrementalSupply added in v0.1.13

func (_Vita *VitaCaller) IncrementalSupply(opts *bind.CallOpts) (*big.Int, error)

IncrementalSupply is a free data retrieval call binding the contract method 0xe26204d7.

Solidity: function incrementalSupply() constant returns(uint256)

func (*VitaCaller) LastClaimViewIDs added in v0.1.13

func (_Vita *VitaCaller) LastClaimViewIDs(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LastClaimViewIDs is a free data retrieval call binding the contract method 0x3609c052.

Solidity: function lastClaimViewIDs(address ) constant returns(uint256)

func (*VitaCaller) LastDonationPoolClaimViewID added in v0.1.13

func (_Vita *VitaCaller) LastDonationPoolClaimViewID(opts *bind.CallOpts) (*big.Int, error)

LastDonationPoolClaimViewID is a free data retrieval call binding the contract method 0x64a23687.

Solidity: function lastDonationPoolClaimViewID() constant returns(uint256)

func (*VitaCaller) LastRewardPoolClaimViewID added in v0.1.13

func (_Vita *VitaCaller) LastRewardPoolClaimViewID(opts *bind.CallOpts) (*big.Int, error)

LastRewardPoolClaimViewID is a free data retrieval call binding the contract method 0xca8153aa.

Solidity: function lastRewardPoolClaimViewID() constant returns(uint256)

func (*VitaCaller) Name added in v0.1.13

func (_Vita *VitaCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*VitaCaller) NumOfViews added in v0.1.17

func (_Vita *VitaCaller) NumOfViews(opts *bind.CallOpts) (*big.Int, error)

NumOfViews is a free data retrieval call binding the contract method 0x1c621e29.

Solidity: function numOfViews() constant returns(uint256)

func (*VitaCaller) Owner added in v0.1.13

func (_Vita *VitaCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*VitaCaller) Paused added in v0.1.13

func (_Vita *VitaCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*VitaCaller) RewardPoolAddress added in v0.1.13

func (_Vita *VitaCaller) RewardPoolAddress(opts *bind.CallOpts) (common.Address, error)

RewardPoolAddress is a free data retrieval call binding the contract method 0x845a51ec.

Solidity: function rewardPoolAddress() constant returns(address)

func (*VitaCaller) RewardPoolSize added in v0.1.13

func (_Vita *VitaCaller) RewardPoolSize(opts *bind.CallOpts) (*big.Int, error)

RewardPoolSize is a free data retrieval call binding the contract method 0x211b827d.

Solidity: function rewardPoolSize() constant returns(uint256)

func (*VitaCaller) StakingPoolSize added in v0.1.13

func (_Vita *VitaCaller) StakingPoolSize(opts *bind.CallOpts) (*big.Int, error)

StakingPoolSize is a free data retrieval call binding the contract method 0x3bcc14d4.

Solidity: function stakingPoolSize() constant returns(uint256)

func (*VitaCaller) Symbol added in v0.1.13

func (_Vita *VitaCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*VitaCaller) TotalSupply added in v0.1.13

func (_Vita *VitaCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*VitaCaller) Vps added in v0.1.13

func (_Vita *VitaCaller) Vps(opts *bind.CallOpts) (common.Address, error)

Vps is a free data retrieval call binding the contract method 0x56702d6e.

Solidity: function vps() constant returns(address)

type VitaCallerRaw added in v0.1.13

type VitaCallerRaw struct {
	Contract *VitaCaller // Generic read-only contract binding to access the raw methods on
}

VitaCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*VitaCallerRaw) Call added in v0.1.13

func (_Vita *VitaCallerRaw) 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 VitaCallerSession added in v0.1.13

type VitaCallerSession struct {
	Contract *VitaCaller   // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

VitaCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*VitaCallerSession) Allowance added in v0.1.13

func (_Vita *VitaCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) constant returns(uint256)

func (*VitaCallerSession) BalanceOf added in v0.1.13

func (_Vita *VitaCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) constant returns(uint256)

func (*VitaCallerSession) Claimable added in v0.1.13

func (_Vita *VitaCallerSession) Claimable() (bool, error)

Claimable is a free data retrieval call binding the contract method 0xaf38d757.

Solidity: function claimable() constant returns(bool)

func (*VitaCallerSession) CycleIncrementalSupply added in v0.1.13

func (_Vita *VitaCallerSession) CycleIncrementalSupply() (*big.Int, error)

CycleIncrementalSupply is a free data retrieval call binding the contract method 0x13d92623.

Solidity: function cycleIncrementalSupply() constant returns(uint256)

func (*VitaCallerSession) DecayedIncrementalSupply added in v0.1.13

func (_Vita *VitaCallerSession) DecayedIncrementalSupply() (*big.Int, error)

DecayedIncrementalSupply is a free data retrieval call binding the contract method 0x1efd1a4c.

Solidity: function decayedIncrementalSupply() constant returns(uint256)

func (*VitaCallerSession) Decimals added in v0.1.13

func (_Vita *VitaCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*VitaCallerSession) DonationPoolAddress added in v0.1.13

func (_Vita *VitaCallerSession) DonationPoolAddress() (common.Address, error)

DonationPoolAddress is a free data retrieval call binding the contract method 0x280e6434.

Solidity: function donationPoolAddress() constant returns(address)

func (*VitaCallerSession) DonationPoolSize added in v0.1.13

func (_Vita *VitaCallerSession) DonationPoolSize() (*big.Int, error)

DonationPoolSize is a free data retrieval call binding the contract method 0xc7f3a874.

Solidity: function donationPoolSize() constant returns(uint256)

func (*VitaCallerSession) GenesisPoolAddress added in v0.1.13

func (_Vita *VitaCallerSession) GenesisPoolAddress() (common.Address, error)

GenesisPoolAddress is a free data retrieval call binding the contract method 0x4063971c.

Solidity: function genesisPoolAddress() constant returns(address)

func (*VitaCallerSession) IncrementalSupply added in v0.1.13

func (_Vita *VitaCallerSession) IncrementalSupply() (*big.Int, error)

IncrementalSupply is a free data retrieval call binding the contract method 0xe26204d7.

Solidity: function incrementalSupply() constant returns(uint256)

func (*VitaCallerSession) LastClaimViewIDs added in v0.1.13

func (_Vita *VitaCallerSession) LastClaimViewIDs(arg0 common.Address) (*big.Int, error)

LastClaimViewIDs is a free data retrieval call binding the contract method 0x3609c052.

Solidity: function lastClaimViewIDs(address ) constant returns(uint256)

func (*VitaCallerSession) LastDonationPoolClaimViewID added in v0.1.13

func (_Vita *VitaCallerSession) LastDonationPoolClaimViewID() (*big.Int, error)

LastDonationPoolClaimViewID is a free data retrieval call binding the contract method 0x64a23687.

Solidity: function lastDonationPoolClaimViewID() constant returns(uint256)

func (*VitaCallerSession) LastRewardPoolClaimViewID added in v0.1.13

func (_Vita *VitaCallerSession) LastRewardPoolClaimViewID() (*big.Int, error)

LastRewardPoolClaimViewID is a free data retrieval call binding the contract method 0xca8153aa.

Solidity: function lastRewardPoolClaimViewID() constant returns(uint256)

func (*VitaCallerSession) Name added in v0.1.13

func (_Vita *VitaCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*VitaCallerSession) NumOfViews added in v0.1.17

func (_Vita *VitaCallerSession) NumOfViews() (*big.Int, error)

NumOfViews is a free data retrieval call binding the contract method 0x1c621e29.

Solidity: function numOfViews() constant returns(uint256)

func (*VitaCallerSession) Owner added in v0.1.13

func (_Vita *VitaCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*VitaCallerSession) Paused added in v0.1.13

func (_Vita *VitaCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*VitaCallerSession) RewardPoolAddress added in v0.1.13

func (_Vita *VitaCallerSession) RewardPoolAddress() (common.Address, error)

RewardPoolAddress is a free data retrieval call binding the contract method 0x845a51ec.

Solidity: function rewardPoolAddress() constant returns(address)

func (*VitaCallerSession) RewardPoolSize added in v0.1.13

func (_Vita *VitaCallerSession) RewardPoolSize() (*big.Int, error)

RewardPoolSize is a free data retrieval call binding the contract method 0x211b827d.

Solidity: function rewardPoolSize() constant returns(uint256)

func (*VitaCallerSession) StakingPoolSize added in v0.1.13

func (_Vita *VitaCallerSession) StakingPoolSize() (*big.Int, error)

StakingPoolSize is a free data retrieval call binding the contract method 0x3bcc14d4.

Solidity: function stakingPoolSize() constant returns(uint256)

func (*VitaCallerSession) Symbol added in v0.1.13

func (_Vita *VitaCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*VitaCallerSession) TotalSupply added in v0.1.13

func (_Vita *VitaCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*VitaCallerSession) Vps added in v0.1.13

func (_Vita *VitaCallerSession) Vps() (common.Address, error)

Vps is a free data retrieval call binding the contract method 0x56702d6e.

Solidity: function vps() constant returns(address)

type VitaClaim added in v0.1.13

type VitaClaim struct {
	Claimer common.Address
	Amount  *big.Int
	ViewID  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

VitaClaim represents a Claim event raised by the Vita contract.

type VitaClaimIterator added in v0.1.13

type VitaClaimIterator struct {
	Event *VitaClaim // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VitaClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the Vita contract.

func (*VitaClaimIterator) Close added in v0.1.13

func (it *VitaClaimIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VitaClaimIterator) Error added in v0.1.13

func (it *VitaClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VitaClaimIterator) Next added in v0.1.13

func (it *VitaClaimIterator) 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 VitaDecay added in v0.1.13

type VitaDecay struct {
	Height            *big.Int
	IncremetnalSupply *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

VitaDecay represents a Decay event raised by the Vita contract.

type VitaDecayIterator added in v0.1.13

type VitaDecayIterator struct {
	Event *VitaDecay // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VitaDecayIterator is returned from FilterDecay and is used to iterate over the raw logs and unpacked data for Decay events raised by the Vita contract.

func (*VitaDecayIterator) Close added in v0.1.13

func (it *VitaDecayIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VitaDecayIterator) Error added in v0.1.13

func (it *VitaDecayIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VitaDecayIterator) Next added in v0.1.13

func (it *VitaDecayIterator) 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 VitaFilterer added in v0.1.13

type VitaFilterer struct {
	// contains filtered or unexported fields
}

VitaFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewVitaFilterer added in v0.1.13

func NewVitaFilterer(address common.Address, filterer bind.ContractFilterer) (*VitaFilterer, error)

NewVitaFilterer creates a new log filterer instance of Vita, bound to a specific deployed contract.

func (*VitaFilterer) FilterApproval added in v0.1.13

func (_Vita *VitaFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*VitaApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*VitaFilterer) FilterClaim added in v0.1.13

func (_Vita *VitaFilterer) FilterClaim(opts *bind.FilterOpts) (*VitaClaimIterator, error)

FilterClaim is a free log retrieval operation binding the contract event 0x34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf7.

Solidity: event Claim(address claimer, uint256 amount, uint256 viewID)

func (*VitaFilterer) FilterDecay added in v0.1.13

func (_Vita *VitaFilterer) FilterDecay(opts *bind.FilterOpts) (*VitaDecayIterator, error)

FilterDecay is a free log retrieval operation binding the contract event 0xb78fecc4804d4e8de58f70e839d77affe1cd72a59c58f87bafad35eb08813679.

Solidity: event Decay(uint256 height, uint256 incremetnalSupply)

func (*VitaFilterer) FilterOwnershipTransferred added in v0.1.13

func (_Vita *VitaFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*VitaOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*VitaFilterer) FilterPause added in v0.1.13

func (_Vita *VitaFilterer) FilterPause(opts *bind.FilterOpts) (*VitaPauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*VitaFilterer) FilterTransfer added in v0.1.13

func (_Vita *VitaFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VitaTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*VitaFilterer) FilterUnpause added in v0.1.13

func (_Vita *VitaFilterer) FilterUnpause(opts *bind.FilterOpts) (*VitaUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*VitaFilterer) FilterUpdateView added in v0.1.13

func (_Vita *VitaFilterer) FilterUpdateView(opts *bind.FilterOpts) (*VitaUpdateViewIterator, error)

FilterUpdateView is a free log retrieval operation binding the contract event 0x2087ba3f49fc996df288fe78f79bfa9d28edef119f970f375e2c7305fc4e2bad.

Solidity: event UpdateView(uint256 viewID)

func (*VitaFilterer) WatchApproval added in v0.1.13

func (_Vita *VitaFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *VitaApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*VitaFilterer) WatchClaim added in v0.1.13

func (_Vita *VitaFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *VitaClaim) (event.Subscription, error)

WatchClaim is a free log subscription operation binding the contract event 0x34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf7.

Solidity: event Claim(address claimer, uint256 amount, uint256 viewID)

func (*VitaFilterer) WatchDecay added in v0.1.13

func (_Vita *VitaFilterer) WatchDecay(opts *bind.WatchOpts, sink chan<- *VitaDecay) (event.Subscription, error)

WatchDecay is a free log subscription operation binding the contract event 0xb78fecc4804d4e8de58f70e839d77affe1cd72a59c58f87bafad35eb08813679.

Solidity: event Decay(uint256 height, uint256 incremetnalSupply)

func (*VitaFilterer) WatchOwnershipTransferred added in v0.1.13

func (_Vita *VitaFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VitaOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*VitaFilterer) WatchPause added in v0.1.13

func (_Vita *VitaFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *VitaPause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*VitaFilterer) WatchTransfer added in v0.1.13

func (_Vita *VitaFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *VitaTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*VitaFilterer) WatchUnpause added in v0.1.13

func (_Vita *VitaFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *VitaUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*VitaFilterer) WatchUpdateView added in v0.1.13

func (_Vita *VitaFilterer) WatchUpdateView(opts *bind.WatchOpts, sink chan<- *VitaUpdateView) (event.Subscription, error)

WatchUpdateView is a free log subscription operation binding the contract event 0x2087ba3f49fc996df288fe78f79bfa9d28edef119f970f375e2c7305fc4e2bad.

Solidity: event UpdateView(uint256 viewID)

type VitaOwnershipTransferred added in v0.1.13

type VitaOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

VitaOwnershipTransferred represents a OwnershipTransferred event raised by the Vita contract.

type VitaOwnershipTransferredIterator added in v0.1.13

type VitaOwnershipTransferredIterator struct {
	Event *VitaOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VitaOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Vita contract.

func (*VitaOwnershipTransferredIterator) Close added in v0.1.13

Close terminates the iteration process, releasing any pending underlying resources.

func (*VitaOwnershipTransferredIterator) Error added in v0.1.13

Error returns any retrieval or parsing error occurred during filtering.

func (*VitaOwnershipTransferredIterator) Next added in v0.1.13

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 VitaPause added in v0.1.13

type VitaPause struct {
	Raw types.Log // Blockchain specific contextual infos
}

VitaPause represents a Pause event raised by the Vita contract.

type VitaPauseIterator added in v0.1.13

type VitaPauseIterator struct {
	Event *VitaPause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VitaPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the Vita contract.

func (*VitaPauseIterator) Close added in v0.1.13

func (it *VitaPauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VitaPauseIterator) Error added in v0.1.13

func (it *VitaPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VitaPauseIterator) Next added in v0.1.13

func (it *VitaPauseIterator) 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 VitaRaw added in v0.1.13

type VitaRaw struct {
	Contract *Vita // Generic contract binding to access the raw methods on
}

VitaRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*VitaRaw) Call added in v0.1.13

func (_Vita *VitaRaw) 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 (*VitaRaw) Transact added in v0.1.13

func (_Vita *VitaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VitaRaw) Transfer added in v0.1.13

func (_Vita *VitaRaw) 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 VitaSession added in v0.1.13

type VitaSession struct {
	Contract     *Vita             // 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
}

VitaSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*VitaSession) Allowance added in v0.1.13

func (_Vita *VitaSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) constant returns(uint256)

func (*VitaSession) Approve added in v0.1.13

func (_Vita *VitaSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*VitaSession) BalanceOf added in v0.1.13

func (_Vita *VitaSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) constant returns(uint256)

func (*VitaSession) Burn added in v0.1.13

func (_Vita *VitaSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*VitaSession) Claim added in v0.1.13

func (_Vita *VitaSession) Claim() (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*VitaSession) Claimable added in v0.1.13

func (_Vita *VitaSession) Claimable() (bool, error)

Claimable is a free data retrieval call binding the contract method 0xaf38d757.

Solidity: function claimable() constant returns(bool)

func (*VitaSession) CycleIncrementalSupply added in v0.1.13

func (_Vita *VitaSession) CycleIncrementalSupply() (*big.Int, error)

CycleIncrementalSupply is a free data retrieval call binding the contract method 0x13d92623.

Solidity: function cycleIncrementalSupply() constant returns(uint256)

func (*VitaSession) DecayedIncrementalSupply added in v0.1.13

func (_Vita *VitaSession) DecayedIncrementalSupply() (*big.Int, error)

DecayedIncrementalSupply is a free data retrieval call binding the contract method 0x1efd1a4c.

Solidity: function decayedIncrementalSupply() constant returns(uint256)

func (*VitaSession) Decimals added in v0.1.13

func (_Vita *VitaSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*VitaSession) DecreaseApproval added in v0.1.13

func (_Vita *VitaSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*VitaSession) DonationPoolAddress added in v0.1.13

func (_Vita *VitaSession) DonationPoolAddress() (common.Address, error)

DonationPoolAddress is a free data retrieval call binding the contract method 0x280e6434.

Solidity: function donationPoolAddress() constant returns(address)

func (*VitaSession) DonationPoolSize added in v0.1.13

func (_Vita *VitaSession) DonationPoolSize() (*big.Int, error)

DonationPoolSize is a free data retrieval call binding the contract method 0xc7f3a874.

Solidity: function donationPoolSize() constant returns(uint256)

func (*VitaSession) GenesisPoolAddress added in v0.1.13

func (_Vita *VitaSession) GenesisPoolAddress() (common.Address, error)

GenesisPoolAddress is a free data retrieval call binding the contract method 0x4063971c.

Solidity: function genesisPoolAddress() constant returns(address)

func (*VitaSession) IncreaseApproval added in v0.1.13

func (_Vita *VitaSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*VitaSession) IncrementalSupply added in v0.1.13

func (_Vita *VitaSession) IncrementalSupply() (*big.Int, error)

IncrementalSupply is a free data retrieval call binding the contract method 0xe26204d7.

Solidity: function incrementalSupply() constant returns(uint256)

func (*VitaSession) LastClaimViewIDs added in v0.1.13

func (_Vita *VitaSession) LastClaimViewIDs(arg0 common.Address) (*big.Int, error)

LastClaimViewIDs is a free data retrieval call binding the contract method 0x3609c052.

Solidity: function lastClaimViewIDs(address ) constant returns(uint256)

func (*VitaSession) LastDonationPoolClaimViewID added in v0.1.13

func (_Vita *VitaSession) LastDonationPoolClaimViewID() (*big.Int, error)

LastDonationPoolClaimViewID is a free data retrieval call binding the contract method 0x64a23687.

Solidity: function lastDonationPoolClaimViewID() constant returns(uint256)

func (*VitaSession) LastRewardPoolClaimViewID added in v0.1.13

func (_Vita *VitaSession) LastRewardPoolClaimViewID() (*big.Int, error)

LastRewardPoolClaimViewID is a free data retrieval call binding the contract method 0xca8153aa.

Solidity: function lastRewardPoolClaimViewID() constant returns(uint256)

func (*VitaSession) Name added in v0.1.13

func (_Vita *VitaSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*VitaSession) NumOfViews added in v0.1.17

func (_Vita *VitaSession) NumOfViews() (*big.Int, error)

NumOfViews is a free data retrieval call binding the contract method 0x1c621e29.

Solidity: function numOfViews() constant returns(uint256)

func (*VitaSession) Owner added in v0.1.13

func (_Vita *VitaSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*VitaSession) Pause added in v0.1.13

func (_Vita *VitaSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*VitaSession) Paused added in v0.1.13

func (_Vita *VitaSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*VitaSession) RewardPoolAddress added in v0.1.13

func (_Vita *VitaSession) RewardPoolAddress() (common.Address, error)

RewardPoolAddress is a free data retrieval call binding the contract method 0x845a51ec.

Solidity: function rewardPoolAddress() constant returns(address)

func (*VitaSession) RewardPoolSize added in v0.1.13

func (_Vita *VitaSession) RewardPoolSize() (*big.Int, error)

RewardPoolSize is a free data retrieval call binding the contract method 0x211b827d.

Solidity: function rewardPoolSize() constant returns(uint256)

func (*VitaSession) SetDonationPoolAddress added in v0.1.13

func (_Vita *VitaSession) SetDonationPoolAddress(_newDonationPool common.Address) (*types.Transaction, error)

SetDonationPoolAddress is a paid mutator transaction binding the contract method 0xed644211.

Solidity: function setDonationPoolAddress(address _newDonationPool) returns()

func (*VitaSession) SetRewardPoolAddress added in v0.1.13

func (_Vita *VitaSession) SetRewardPoolAddress(_newRewardPool common.Address) (*types.Transaction, error)

SetRewardPoolAddress is a paid mutator transaction binding the contract method 0xb24cf5d7.

Solidity: function setRewardPoolAddress(address _newRewardPool) returns()

func (*VitaSession) SetVPS added in v0.1.13

func (_Vita *VitaSession) SetVPS(_newVPS common.Address) (*types.Transaction, error)

SetVPS is a paid mutator transaction binding the contract method 0x3d8384b6.

Solidity: function setVPS(address _newVPS) returns()

func (*VitaSession) StakingPoolSize added in v0.1.13

func (_Vita *VitaSession) StakingPoolSize() (*big.Int, error)

StakingPoolSize is a free data retrieval call binding the contract method 0x3bcc14d4.

Solidity: function stakingPoolSize() constant returns(uint256)

func (*VitaSession) Symbol added in v0.1.13

func (_Vita *VitaSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*VitaSession) TotalSupply added in v0.1.13

func (_Vita *VitaSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*VitaSession) Transfer added in v0.1.13

func (_Vita *VitaSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*VitaSession) TransferFrom added in v0.1.13

func (_Vita *VitaSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*VitaSession) TransferOwnership added in v0.1.13

func (_Vita *VitaSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*VitaSession) Unpause added in v0.1.13

func (_Vita *VitaSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*VitaSession) Vps added in v0.1.13

func (_Vita *VitaSession) Vps() (common.Address, error)

Vps is a free data retrieval call binding the contract method 0x56702d6e.

Solidity: function vps() constant returns(address)

type VitaTransactor added in v0.1.13

type VitaTransactor struct {
	// contains filtered or unexported fields
}

VitaTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewVitaTransactor added in v0.1.13

func NewVitaTransactor(address common.Address, transactor bind.ContractTransactor) (*VitaTransactor, error)

NewVitaTransactor creates a new write-only instance of Vita, bound to a specific deployed contract.

func (*VitaTransactor) Approve added in v0.1.13

func (_Vita *VitaTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*VitaTransactor) Burn added in v0.1.13

func (_Vita *VitaTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*VitaTransactor) Claim added in v0.1.13

func (_Vita *VitaTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*VitaTransactor) DecreaseApproval added in v0.1.13

func (_Vita *VitaTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*VitaTransactor) IncreaseApproval added in v0.1.13

func (_Vita *VitaTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*VitaTransactor) Pause added in v0.1.13

func (_Vita *VitaTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*VitaTransactor) SetDonationPoolAddress added in v0.1.13

func (_Vita *VitaTransactor) SetDonationPoolAddress(opts *bind.TransactOpts, _newDonationPool common.Address) (*types.Transaction, error)

SetDonationPoolAddress is a paid mutator transaction binding the contract method 0xed644211.

Solidity: function setDonationPoolAddress(address _newDonationPool) returns()

func (*VitaTransactor) SetRewardPoolAddress added in v0.1.13

func (_Vita *VitaTransactor) SetRewardPoolAddress(opts *bind.TransactOpts, _newRewardPool common.Address) (*types.Transaction, error)

SetRewardPoolAddress is a paid mutator transaction binding the contract method 0xb24cf5d7.

Solidity: function setRewardPoolAddress(address _newRewardPool) returns()

func (*VitaTransactor) SetVPS added in v0.1.13

func (_Vita *VitaTransactor) SetVPS(opts *bind.TransactOpts, _newVPS common.Address) (*types.Transaction, error)

SetVPS is a paid mutator transaction binding the contract method 0x3d8384b6.

Solidity: function setVPS(address _newVPS) returns()

func (*VitaTransactor) Transfer added in v0.1.13

func (_Vita *VitaTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*VitaTransactor) TransferFrom added in v0.1.13

func (_Vita *VitaTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*VitaTransactor) TransferOwnership added in v0.1.13

func (_Vita *VitaTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*VitaTransactor) Unpause added in v0.1.13

func (_Vita *VitaTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type VitaTransactorRaw added in v0.1.13

type VitaTransactorRaw struct {
	Contract *VitaTransactor // Generic write-only contract binding to access the raw methods on
}

VitaTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*VitaTransactorRaw) Transact added in v0.1.13

func (_Vita *VitaTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*VitaTransactorRaw) Transfer added in v0.1.13

func (_Vita *VitaTransactorRaw) 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 VitaTransactorSession added in v0.1.13

type VitaTransactorSession struct {
	Contract     *VitaTransactor   // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

VitaTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*VitaTransactorSession) Approve added in v0.1.13

func (_Vita *VitaTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*VitaTransactorSession) Burn added in v0.1.13

func (_Vita *VitaTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*VitaTransactorSession) Claim added in v0.1.13

func (_Vita *VitaTransactorSession) Claim() (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*VitaTransactorSession) DecreaseApproval added in v0.1.13

func (_Vita *VitaTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*VitaTransactorSession) IncreaseApproval added in v0.1.13

func (_Vita *VitaTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*VitaTransactorSession) Pause added in v0.1.13

func (_Vita *VitaTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*VitaTransactorSession) SetDonationPoolAddress added in v0.1.13

func (_Vita *VitaTransactorSession) SetDonationPoolAddress(_newDonationPool common.Address) (*types.Transaction, error)

SetDonationPoolAddress is a paid mutator transaction binding the contract method 0xed644211.

Solidity: function setDonationPoolAddress(address _newDonationPool) returns()

func (*VitaTransactorSession) SetRewardPoolAddress added in v0.1.13

func (_Vita *VitaTransactorSession) SetRewardPoolAddress(_newRewardPool common.Address) (*types.Transaction, error)

SetRewardPoolAddress is a paid mutator transaction binding the contract method 0xb24cf5d7.

Solidity: function setRewardPoolAddress(address _newRewardPool) returns()

func (*VitaTransactorSession) SetVPS added in v0.1.13

func (_Vita *VitaTransactorSession) SetVPS(_newVPS common.Address) (*types.Transaction, error)

SetVPS is a paid mutator transaction binding the contract method 0x3d8384b6.

Solidity: function setVPS(address _newVPS) returns()

func (*VitaTransactorSession) Transfer added in v0.1.13

func (_Vita *VitaTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*VitaTransactorSession) TransferFrom added in v0.1.13

func (_Vita *VitaTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*VitaTransactorSession) TransferOwnership added in v0.1.13

func (_Vita *VitaTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*VitaTransactorSession) Unpause added in v0.1.13

func (_Vita *VitaTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type VitaTransfer added in v0.1.13

type VitaTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

VitaTransfer represents a Transfer event raised by the Vita contract.

type VitaTransferIterator added in v0.1.13

type VitaTransferIterator struct {
	Event *VitaTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VitaTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Vita contract.

func (*VitaTransferIterator) Close added in v0.1.13

func (it *VitaTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VitaTransferIterator) Error added in v0.1.13

func (it *VitaTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VitaTransferIterator) Next added in v0.1.13

func (it *VitaTransferIterator) 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 VitaUnpause added in v0.1.13

type VitaUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

VitaUnpause represents a Unpause event raised by the Vita contract.

type VitaUnpauseIterator added in v0.1.13

type VitaUnpauseIterator struct {
	Event *VitaUnpause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VitaUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the Vita contract.

func (*VitaUnpauseIterator) Close added in v0.1.13

func (it *VitaUnpauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VitaUnpauseIterator) Error added in v0.1.13

func (it *VitaUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VitaUnpauseIterator) Next added in v0.1.13

func (it *VitaUnpauseIterator) 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 VitaUpdateView added in v0.1.13

type VitaUpdateView struct {
	ViewID *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

VitaUpdateView represents a UpdateView event raised by the Vita contract.

type VitaUpdateViewIterator added in v0.1.13

type VitaUpdateViewIterator struct {
	Event *VitaUpdateView // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VitaUpdateViewIterator is returned from FilterUpdateView and is used to iterate over the raw logs and unpacked data for UpdateView events raised by the Vita contract.

func (*VitaUpdateViewIterator) Close added in v0.1.13

func (it *VitaUpdateViewIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*VitaUpdateViewIterator) Error added in v0.1.13

func (it *VitaUpdateViewIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*VitaUpdateViewIterator) Next added in v0.1.13

func (it *VitaUpdateViewIterator) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL