contract

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AgentABI = "" /* 3352-byte string literal not displayed */

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

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

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

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

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

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

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

View Source
const PyggStakingABI = "" /* 10380-byte string literal not displayed */

PyggStakingABI 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.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent added in v0.3.5

type Agent struct {
	AgentCaller     // Read-only binding to the contract
	AgentTransactor // Write-only binding to the contract
	AgentFilterer   // Log filterer for contract events
}

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

func NewAgent added in v0.3.5

func NewAgent(address common.Address, backend bind.ContractBackend) (*Agent, error)

NewAgent creates a new instance of Agent, bound to a specific deployed contract.

type AgentCaller added in v0.3.5

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

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

func NewAgentCaller added in v0.3.5

func NewAgentCaller(address common.Address, caller bind.ContractCaller) (*AgentCaller, error)

NewAgentCaller creates a new read-only instance of Agent, bound to a specific deployed contract.

func (*AgentCaller) AUTHENTICATIONTYPEHASH added in v0.3.5

func (_Agent *AgentCaller) AUTHENTICATIONTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

AUTHENTICATIONTYPEHASH is a free data retrieval call binding the contract method 0xb2ae7d46.

Solidity: function AUTHENTICATION_TYPEHASH() view returns(bytes32)

func (*AgentCaller) Claimed added in v0.3.5

func (_Agent *AgentCaller) Claimed(opts *bind.CallOpts, _user common.Address) (*big.Int, *big.Int, bool, error)

Claimed is a free data retrieval call binding the contract method 0xc884ef83.

Solidity: function claimed(address _user) view returns(uint256, uint256, bool)

func (*AgentCaller) DOMAINSEPARATOR added in v0.3.5

func (_Agent *AgentCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*AgentCaller) Digest added in v0.3.5

func (_Agent *AgentCaller) Digest(opts *bind.CallOpts, wallet common.Address, amount *big.Int, deadline *big.Int) ([32]byte, error)

Digest is a free data retrieval call binding the contract method 0xfe54bd15.

Solidity: function digest(address wallet, uint256 amount, uint256 deadline) view returns(bytes32)

func (*AgentCaller) EIP712DOMAINTYPEHASH added in v0.3.5

func (_Agent *AgentCaller) EIP712DOMAINTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

EIP712DOMAINTYPEHASH is a free data retrieval call binding the contract method 0xc49f91d3.

Solidity: function EIP712DOMAIN_TYPEHASH() view returns(bytes32)

func (*AgentCaller) LastClaimCycles added in v0.3.5

func (_Agent *AgentCaller) LastClaimCycles(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LastClaimCycles is a free data retrieval call binding the contract method 0xb1629241.

Solidity: function lastClaimCycles(address ) view returns(uint256)

func (*AgentCaller) Notary added in v0.3.5

func (_Agent *AgentCaller) Notary(opts *bind.CallOpts) (common.Address, error)

Notary is a free data retrieval call binding the contract method 0x9d54c79d.

Solidity: function notary() view returns(address)

func (*AgentCaller) PoolSize added in v0.3.5

func (_Agent *AgentCaller) PoolSize(opts *bind.CallOpts) (*big.Int, error)

PoolSize is a free data retrieval call binding the contract method 0x4ec18db9.

Solidity: function poolSize() view returns(uint256)

func (*AgentCaller) Vita added in v0.3.5

func (_Agent *AgentCaller) Vita(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function vita() view returns(address)

type AgentCallerRaw added in v0.3.5

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

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

func (*AgentCallerRaw) Call added in v0.3.5

func (_Agent *AgentCallerRaw) 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 AgentCallerSession added in v0.3.5

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

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

func (*AgentCallerSession) AUTHENTICATIONTYPEHASH added in v0.3.5

func (_Agent *AgentCallerSession) AUTHENTICATIONTYPEHASH() ([32]byte, error)

AUTHENTICATIONTYPEHASH is a free data retrieval call binding the contract method 0xb2ae7d46.

Solidity: function AUTHENTICATION_TYPEHASH() view returns(bytes32)

func (*AgentCallerSession) Claimed added in v0.3.5

func (_Agent *AgentCallerSession) Claimed(_user common.Address) (*big.Int, *big.Int, bool, error)

Claimed is a free data retrieval call binding the contract method 0xc884ef83.

Solidity: function claimed(address _user) view returns(uint256, uint256, bool)

func (*AgentCallerSession) DOMAINSEPARATOR added in v0.3.5

func (_Agent *AgentCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*AgentCallerSession) Digest added in v0.3.5

func (_Agent *AgentCallerSession) Digest(wallet common.Address, amount *big.Int, deadline *big.Int) ([32]byte, error)

Digest is a free data retrieval call binding the contract method 0xfe54bd15.

Solidity: function digest(address wallet, uint256 amount, uint256 deadline) view returns(bytes32)

func (*AgentCallerSession) EIP712DOMAINTYPEHASH added in v0.3.5

func (_Agent *AgentCallerSession) EIP712DOMAINTYPEHASH() ([32]byte, error)

EIP712DOMAINTYPEHASH is a free data retrieval call binding the contract method 0xc49f91d3.

Solidity: function EIP712DOMAIN_TYPEHASH() view returns(bytes32)

func (*AgentCallerSession) LastClaimCycles added in v0.3.5

func (_Agent *AgentCallerSession) LastClaimCycles(arg0 common.Address) (*big.Int, error)

LastClaimCycles is a free data retrieval call binding the contract method 0xb1629241.

Solidity: function lastClaimCycles(address ) view returns(uint256)

func (*AgentCallerSession) Notary added in v0.3.5

func (_Agent *AgentCallerSession) Notary() (common.Address, error)

Notary is a free data retrieval call binding the contract method 0x9d54c79d.

Solidity: function notary() view returns(address)

func (*AgentCallerSession) PoolSize added in v0.3.5

func (_Agent *AgentCallerSession) PoolSize() (*big.Int, error)

PoolSize is a free data retrieval call binding the contract method 0x4ec18db9.

Solidity: function poolSize() view returns(uint256)

func (*AgentCallerSession) Vita added in v0.3.5

func (_Agent *AgentCallerSession) Vita() (common.Address, error)

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

Solidity: function vita() view returns(address)

type AgentFilterer added in v0.3.5

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

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

func NewAgentFilterer added in v0.3.5

func NewAgentFilterer(address common.Address, filterer bind.ContractFilterer) (*AgentFilterer, error)

NewAgentFilterer creates a new log filterer instance of Agent, bound to a specific deployed contract.

type AgentRaw added in v0.3.5

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

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

func (*AgentRaw) Call added in v0.3.5

func (_Agent *AgentRaw) 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 (*AgentRaw) Transact added in v0.3.5

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

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

func (*AgentRaw) Transfer added in v0.3.5

func (_Agent *AgentRaw) 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 AgentSession added in v0.3.5

type AgentSession struct {
	Contract     *Agent            // 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
}

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

func (*AgentSession) AUTHENTICATIONTYPEHASH added in v0.3.5

func (_Agent *AgentSession) AUTHENTICATIONTYPEHASH() ([32]byte, error)

AUTHENTICATIONTYPEHASH is a free data retrieval call binding the contract method 0xb2ae7d46.

Solidity: function AUTHENTICATION_TYPEHASH() view returns(bytes32)

func (*AgentSession) Claim added in v0.3.5

func (_Agent *AgentSession) Claim(_amount *big.Int, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

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

Solidity: function claim(uint256 _amount, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*AgentSession) ClaimFor added in v0.3.5

func (_Agent *AgentSession) ClaimFor(_owner common.Address, _amount *big.Int, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

ClaimFor is a paid mutator transaction binding the contract method 0xa34010a8.

Solidity: function claimFor(address _owner, uint256 _amount, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*AgentSession) ClaimVita added in v0.3.5

func (_Agent *AgentSession) ClaimVita() (*types.Transaction, error)

ClaimVita is a paid mutator transaction binding the contract method 0x77a7af06.

Solidity: function claimVita() returns()

func (*AgentSession) Claimed added in v0.3.5

func (_Agent *AgentSession) Claimed(_user common.Address) (*big.Int, *big.Int, bool, error)

Claimed is a free data retrieval call binding the contract method 0xc884ef83.

Solidity: function claimed(address _user) view returns(uint256, uint256, bool)

func (*AgentSession) DOMAINSEPARATOR added in v0.3.5

func (_Agent *AgentSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*AgentSession) Digest added in v0.3.5

func (_Agent *AgentSession) Digest(wallet common.Address, amount *big.Int, deadline *big.Int) ([32]byte, error)

Digest is a free data retrieval call binding the contract method 0xfe54bd15.

Solidity: function digest(address wallet, uint256 amount, uint256 deadline) view returns(bytes32)

func (*AgentSession) EIP712DOMAINTYPEHASH added in v0.3.5

func (_Agent *AgentSession) EIP712DOMAINTYPEHASH() ([32]byte, error)

EIP712DOMAINTYPEHASH is a free data retrieval call binding the contract method 0xc49f91d3.

Solidity: function EIP712DOMAIN_TYPEHASH() view returns(bytes32)

func (*AgentSession) LastClaimCycles added in v0.3.5

func (_Agent *AgentSession) LastClaimCycles(arg0 common.Address) (*big.Int, error)

LastClaimCycles is a free data retrieval call binding the contract method 0xb1629241.

Solidity: function lastClaimCycles(address ) view returns(uint256)

func (*AgentSession) Notary added in v0.3.5

func (_Agent *AgentSession) Notary() (common.Address, error)

Notary is a free data retrieval call binding the contract method 0x9d54c79d.

Solidity: function notary() view returns(address)

func (*AgentSession) PoolSize added in v0.3.5

func (_Agent *AgentSession) PoolSize() (*big.Int, error)

PoolSize is a free data retrieval call binding the contract method 0x4ec18db9.

Solidity: function poolSize() view returns(uint256)

func (*AgentSession) Vita added in v0.3.5

func (_Agent *AgentSession) Vita() (common.Address, error)

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

Solidity: function vita() view returns(address)

type AgentTransactor added in v0.3.5

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

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

func NewAgentTransactor added in v0.3.5

func NewAgentTransactor(address common.Address, transactor bind.ContractTransactor) (*AgentTransactor, error)

NewAgentTransactor creates a new write-only instance of Agent, bound to a specific deployed contract.

func (*AgentTransactor) Claim added in v0.3.5

func (_Agent *AgentTransactor) Claim(opts *bind.TransactOpts, _amount *big.Int, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

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

Solidity: function claim(uint256 _amount, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*AgentTransactor) ClaimFor added in v0.3.5

func (_Agent *AgentTransactor) ClaimFor(opts *bind.TransactOpts, _owner common.Address, _amount *big.Int, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

ClaimFor is a paid mutator transaction binding the contract method 0xa34010a8.

Solidity: function claimFor(address _owner, uint256 _amount, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*AgentTransactor) ClaimVita added in v0.3.5

func (_Agent *AgentTransactor) ClaimVita(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimVita is a paid mutator transaction binding the contract method 0x77a7af06.

Solidity: function claimVita() returns()

type AgentTransactorRaw added in v0.3.5

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

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

func (*AgentTransactorRaw) Transact added in v0.3.5

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

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

func (*AgentTransactorRaw) Transfer added in v0.3.5

func (_Agent *AgentTransactorRaw) 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 AgentTransactorSession added in v0.3.5

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

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

func (*AgentTransactorSession) Claim added in v0.3.5

func (_Agent *AgentTransactorSession) Claim(_amount *big.Int, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

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

Solidity: function claim(uint256 _amount, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*AgentTransactorSession) ClaimFor added in v0.3.5

func (_Agent *AgentTransactorSession) ClaimFor(_owner common.Address, _amount *big.Int, _deadline *big.Int, _v uint8, _r [32]byte, _s [32]byte) (*types.Transaction, error)

ClaimFor is a paid mutator transaction binding the contract method 0xa34010a8.

Solidity: function claimFor(address _owner, uint256 _amount, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s) returns()

func (*AgentTransactorSession) ClaimVita added in v0.3.5

func (_Agent *AgentTransactorSession) ClaimVita() (*types.Transaction, error)

ClaimVita is a paid mutator transaction binding the contract method 0x77a7af06.

Solidity: function claimVita() returns()

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 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) view 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) view 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) view 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) view 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() view 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() view 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() view 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() view 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 ) view 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) view 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) view 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) view 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) view 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() view 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() view 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() view 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() view 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 ) view 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) ParseCollateralWithdrawn added in v0.3.5

func (_Broker *BrokerFilterer) ParseCollateralWithdrawn(log types.Log) (*BrokerCollateralWithdrawn, error)

ParseCollateralWithdrawn is a log parse operation binding the contract event 0xc30fcfbcaac9e0deffa719714eaa82396ff506a0d0d0eebe170830177288715d.

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

func (*BrokerFilterer) ParseNewRound added in v0.3.5

func (_Broker *BrokerFilterer) ParseNewRound(log types.Log) (*BrokerNewRound, error)

ParseNewRound is a log parse operation binding the contract event 0x5aec57d81928b24d30b1a2aec0d23d693412c37d7ec106b5d8259413716bb1f4.

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

func (*BrokerFilterer) ParseOwnershipTransferred added in v0.3.5

func (_Broker *BrokerFilterer) ParseOwnershipTransferred(log types.Log) (*BrokerOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

func (*BrokerFilterer) ParsePause added in v0.3.5

func (_Broker *BrokerFilterer) ParsePause(log types.Log) (*BrokerPause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*BrokerFilterer) ParseUnpause added in v0.3.5

func (_Broker *BrokerFilterer) ParseUnpause(log types.Log) (*BrokerUnpause, error)

ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*BrokerFilterer) ParseVitaBidden added in v0.3.5

func (_Broker *BrokerFilterer) ParseVitaBidden(log types.Log) (*BrokerVitaBidden, error)

ParseVitaBidden is a log parse operation binding the contract event 0x79a65306bcf4df035a08de81edeed738ecd4ed22db73a8ec95d953b82e1611dd.

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

func (*BrokerFilterer) ParseVitaBidsSettled added in v0.3.5

func (_Broker *BrokerFilterer) ParseVitaBidsSettled(log types.Log) (*BrokerVitaBidsSettled, error)

ParseVitaBidsSettled is a log parse operation binding the contract event 0x80fd533e8e20c803bc5ea74913bea6a24c31cf5d3c8773c55b35692291a4f95d.

Solidity: event VitaBidsSettled(bool finished)

func (*BrokerFilterer) ParseVitaBought added in v0.3.5

func (_Broker *BrokerFilterer) ParseVitaBought(log types.Log) (*BrokerVitaBought, error)

ParseVitaBought is a log parse operation binding the contract event 0x2788583a28c987267b8994b86aa4aca25db0bb25d1a742da84afd7845af92af6.

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

func (*BrokerFilterer) ParseWhitelistedAddressAdded added in v0.3.5

func (_Broker *BrokerFilterer) ParseWhitelistedAddressAdded(log types.Log) (*BrokerWhitelistedAddressAdded, error)

ParseWhitelistedAddressAdded is a log parse operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*BrokerFilterer) ParseWhitelistedAddressRemoved added in v0.3.5

func (_Broker *BrokerFilterer) ParseWhitelistedAddressRemoved(log types.Log) (*BrokerWhitelistedAddressRemoved, error)

ParseWhitelistedAddressRemoved is a log parse 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() payable 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) view 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) view 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) view 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) view 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() view 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() view 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() view 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() view 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 ) view 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() payable 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() payable 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 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() view 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() view 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 ) view 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() view 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() view 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 ) view 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) ParseOwnershipTransferred added in v0.3.5

func (_Clerk *ClerkFilterer) ParseOwnershipTransferred(log types.Log) (*ClerkOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

func (*ClerkFilterer) ParseWhitelistedAddressAdded added in v0.3.5

func (_Clerk *ClerkFilterer) ParseWhitelistedAddressAdded(log types.Log) (*ClerkWhitelistedAddressAdded, error)

ParseWhitelistedAddressAdded is a log parse operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*ClerkFilterer) ParseWhitelistedAddressRemoved added in v0.3.5

func (_Clerk *ClerkFilterer) ParseWhitelistedAddressRemoved(log types.Log) (*ClerkWhitelistedAddressRemoved, error)

ParseWhitelistedAddressRemoved is a log parse 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() view 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() view 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 ) view 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) view 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) view 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() view 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() view 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() view 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() view 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() view 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() view 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) view 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) view 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() view 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() view 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() view 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() view 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() view 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() view 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) ParseApproval added in v0.3.5

func (_IOTX *IOTXFilterer) ParseApproval(log types.Log) (*IOTXApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

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

func (*IOTXFilterer) ParseOwnershipTransferred added in v0.3.5

func (_IOTX *IOTXFilterer) ParseOwnershipTransferred(log types.Log) (*IOTXOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

func (*IOTXFilterer) ParsePause added in v0.3.5

func (_IOTX *IOTXFilterer) ParsePause(log types.Log) (*IOTXPause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*IOTXFilterer) ParseTransfer added in v0.3.5

func (_IOTX *IOTXFilterer) ParseTransfer(log types.Log) (*IOTXTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*IOTXFilterer) ParseUnpause added in v0.3.5

func (_IOTX *IOTXFilterer) ParseUnpause(log types.Log) (*IOTXUnpause, error)

ParseUnpause is a log parse 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) view 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) view 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() view 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() view 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() view 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() view 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() view 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() view 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 PyggStaking added in v0.2.14

type PyggStaking struct {
	PyggStakingCaller     // Read-only binding to the contract
	PyggStakingTransactor // Write-only binding to the contract
	PyggStakingFilterer   // Log filterer for contract events
}

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

func NewPyggStaking added in v0.2.14

func NewPyggStaking(address common.Address, backend bind.ContractBackend) (*PyggStaking, error)

NewPyggStaking creates a new instance of PyggStaking, bound to a specific deployed contract.

type PyggStakingCaller added in v0.2.14

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

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

func NewPyggStakingCaller added in v0.2.14

func NewPyggStakingCaller(address common.Address, caller bind.ContractCaller) (*PyggStakingCaller, error)

NewPyggStakingCaller creates a new read-only instance of PyggStaking, bound to a specific deployed contract.

func (*PyggStakingCaller) GetActivePyggCreateTimes added in v0.2.14

func (_PyggStaking *PyggStakingCaller) GetActivePyggCreateTimes(opts *bind.CallOpts, _prevIndex *big.Int, _limit *big.Int) (struct {
	Count       *big.Int
	Indexes     []*big.Int
	CreateTimes []*big.Int
}, error)

GetActivePyggCreateTimes is a free data retrieval call binding the contract method 0x6c0a5ebd.

Solidity: function getActivePyggCreateTimes(uint256 _prevIndex, uint256 _limit) view returns(uint256 count, uint256[] indexes, uint256[] createTimes)

func (*PyggStakingCaller) GetActivePyggIdx added in v0.2.14

func (_PyggStaking *PyggStakingCaller) GetActivePyggIdx(opts *bind.CallOpts, _prevIndex *big.Int, _limit *big.Int) (struct {
	Count   *big.Int
	Indexes []*big.Int
}, error)

GetActivePyggIdx is a free data retrieval call binding the contract method 0x94a9c0f9.

Solidity: function getActivePyggIdx(uint256 _prevIndex, uint256 _limit) view returns(uint256 count, uint256[] indexes)

func (*PyggStakingCaller) GetActivePyggs added in v0.2.14

func (_PyggStaking *PyggStakingCaller) GetActivePyggs(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)

GetActivePyggs is a free data retrieval call binding the contract method 0xdf43a94e.

Solidity: function getActivePyggs(uint256 _prevIndex, uint256 _limit) view returns(uint256 count, uint256[] indexes, uint256[] stakeStartTimes, uint256[] stakeDurations, bool[] decays, uint256[] stakedAmounts, bytes12[] canNames, address[] owners)

func (*PyggStakingCaller) GetPyggIndexesByAddress added in v0.2.14

func (_PyggStaking *PyggStakingCaller) GetPyggIndexesByAddress(opts *bind.CallOpts, _owner common.Address) ([]*big.Int, error)

GetPyggIndexesByAddress is a free data retrieval call binding the contract method 0xd09daa99.

Solidity: function getPyggIndexesByAddress(address _owner) view returns(uint256[])

func (*PyggStakingCaller) IsOwner added in v0.2.14

func (_PyggStaking *PyggStakingCaller) 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) view returns(bool)

func (*PyggStakingCaller) MaxPyggsPerAddr added in v0.2.14

func (_PyggStaking *PyggStakingCaller) MaxPyggsPerAddr(opts *bind.CallOpts) (*big.Int, error)

MaxPyggsPerAddr is a free data retrieval call binding the contract method 0x1b0690ed.

Solidity: function maxPyggsPerAddr() view returns(uint256)

func (*PyggStakingCaller) MaxStakeDuration added in v0.2.14

func (_PyggStaking *PyggStakingCaller) MaxStakeDuration(opts *bind.CallOpts) (*big.Int, error)

MaxStakeDuration is a free data retrieval call binding the contract method 0x76f70003.

Solidity: function maxStakeDuration() view returns(uint256)

func (*PyggStakingCaller) MinStakeAmount added in v0.2.14

func (_PyggStaking *PyggStakingCaller) MinStakeAmount(opts *bind.CallOpts) (*big.Int, error)

MinStakeAmount is a free data retrieval call binding the contract method 0xf1887684.

Solidity: function minStakeAmount() view returns(uint256)

func (*PyggStakingCaller) MinStakeDuration added in v0.2.14

func (_PyggStaking *PyggStakingCaller) MinStakeDuration(opts *bind.CallOpts) (*big.Int, error)

MinStakeDuration is a free data retrieval call binding the contract method 0x5fec5c64.

Solidity: function minStakeDuration() view returns(uint256)

func (*PyggStakingCaller) Owner added in v0.2.14

func (_PyggStaking *PyggStakingCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PyggStakingCaller) Paused added in v0.2.14

func (_PyggStaking *PyggStakingCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() view returns(bool)

func (*PyggStakingCaller) Pyggs added in v0.2.14

func (_PyggStaking *PyggStakingCaller) Pyggs(opts *bind.CallOpts, arg0 *big.Int) (struct {
	CanName          [12]byte
	StakedAmount     *big.Int
	StakeDuration    *big.Int
	StakeStartTime   *big.Int
	NonDecay         bool
	UnstakeStartTime *big.Int
	PyggOwner        common.Address
	CreateTime       *big.Int
	Prev             *big.Int
	Next             *big.Int
}, error)

Pyggs is a free data retrieval call binding the contract method 0xccfafd5c.

Solidity: function pyggs(uint256 ) view returns(bytes12 canName, uint256 stakedAmount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, uint256 unstakeStartTime, address pyggOwner, uint256 createTime, uint256 prev, uint256 next)

func (*PyggStakingCaller) SecondsPerDay added in v0.2.14

func (_PyggStaking *PyggStakingCaller) SecondsPerDay(opts *bind.CallOpts) (*big.Int, error)

SecondsPerDay is a free data retrieval call binding the contract method 0x63809953.

Solidity: function secondsPerDay() view returns(uint256)

func (*PyggStakingCaller) Stakeholders added in v0.2.14

func (_PyggStaking *PyggStakingCaller) 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 ) view returns(uint256)

func (*PyggStakingCaller) TotalStaked added in v0.2.14

func (_PyggStaking *PyggStakingCaller) TotalStaked(opts *bind.CallOpts) (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() view returns(uint256)

func (*PyggStakingCaller) UnStakeDuration added in v0.2.14

func (_PyggStaking *PyggStakingCaller) UnStakeDuration(opts *bind.CallOpts) (*big.Int, error)

UnStakeDuration is a free data retrieval call binding the contract method 0xc698d495.

Solidity: function unStakeDuration() view returns(uint256)

func (*PyggStakingCaller) Whitelist added in v0.2.14

func (_PyggStaking *PyggStakingCaller) 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 ) view returns(bool)

type PyggStakingCallerRaw added in v0.2.14

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

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

func (*PyggStakingCallerRaw) Call added in v0.2.14

func (_PyggStaking *PyggStakingCallerRaw) 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 PyggStakingCallerSession added in v0.2.14

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

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

func (*PyggStakingCallerSession) GetActivePyggCreateTimes added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) GetActivePyggCreateTimes(_prevIndex *big.Int, _limit *big.Int) (struct {
	Count       *big.Int
	Indexes     []*big.Int
	CreateTimes []*big.Int
}, error)

GetActivePyggCreateTimes is a free data retrieval call binding the contract method 0x6c0a5ebd.

Solidity: function getActivePyggCreateTimes(uint256 _prevIndex, uint256 _limit) view returns(uint256 count, uint256[] indexes, uint256[] createTimes)

func (*PyggStakingCallerSession) GetActivePyggIdx added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) GetActivePyggIdx(_prevIndex *big.Int, _limit *big.Int) (struct {
	Count   *big.Int
	Indexes []*big.Int
}, error)

GetActivePyggIdx is a free data retrieval call binding the contract method 0x94a9c0f9.

Solidity: function getActivePyggIdx(uint256 _prevIndex, uint256 _limit) view returns(uint256 count, uint256[] indexes)

func (*PyggStakingCallerSession) GetActivePyggs added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) GetActivePyggs(_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)

GetActivePyggs is a free data retrieval call binding the contract method 0xdf43a94e.

Solidity: function getActivePyggs(uint256 _prevIndex, uint256 _limit) view returns(uint256 count, uint256[] indexes, uint256[] stakeStartTimes, uint256[] stakeDurations, bool[] decays, uint256[] stakedAmounts, bytes12[] canNames, address[] owners)

func (*PyggStakingCallerSession) GetPyggIndexesByAddress added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) GetPyggIndexesByAddress(_owner common.Address) ([]*big.Int, error)

GetPyggIndexesByAddress is a free data retrieval call binding the contract method 0xd09daa99.

Solidity: function getPyggIndexesByAddress(address _owner) view returns(uint256[])

func (*PyggStakingCallerSession) IsOwner added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) IsOwner(_address common.Address) (bool, error)

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

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

func (*PyggStakingCallerSession) MaxPyggsPerAddr added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) MaxPyggsPerAddr() (*big.Int, error)

MaxPyggsPerAddr is a free data retrieval call binding the contract method 0x1b0690ed.

Solidity: function maxPyggsPerAddr() view returns(uint256)

func (*PyggStakingCallerSession) MaxStakeDuration added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) MaxStakeDuration() (*big.Int, error)

MaxStakeDuration is a free data retrieval call binding the contract method 0x76f70003.

Solidity: function maxStakeDuration() view returns(uint256)

func (*PyggStakingCallerSession) MinStakeAmount added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) MinStakeAmount() (*big.Int, error)

MinStakeAmount is a free data retrieval call binding the contract method 0xf1887684.

Solidity: function minStakeAmount() view returns(uint256)

func (*PyggStakingCallerSession) MinStakeDuration added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) MinStakeDuration() (*big.Int, error)

MinStakeDuration is a free data retrieval call binding the contract method 0x5fec5c64.

Solidity: function minStakeDuration() view returns(uint256)

func (*PyggStakingCallerSession) Owner added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PyggStakingCallerSession) Paused added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*PyggStakingCallerSession) Pyggs added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) Pyggs(arg0 *big.Int) (struct {
	CanName          [12]byte
	StakedAmount     *big.Int
	StakeDuration    *big.Int
	StakeStartTime   *big.Int
	NonDecay         bool
	UnstakeStartTime *big.Int
	PyggOwner        common.Address
	CreateTime       *big.Int
	Prev             *big.Int
	Next             *big.Int
}, error)

Pyggs is a free data retrieval call binding the contract method 0xccfafd5c.

Solidity: function pyggs(uint256 ) view returns(bytes12 canName, uint256 stakedAmount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, uint256 unstakeStartTime, address pyggOwner, uint256 createTime, uint256 prev, uint256 next)

func (*PyggStakingCallerSession) SecondsPerDay added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) SecondsPerDay() (*big.Int, error)

SecondsPerDay is a free data retrieval call binding the contract method 0x63809953.

Solidity: function secondsPerDay() view returns(uint256)

func (*PyggStakingCallerSession) Stakeholders added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) 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 ) view returns(uint256)

func (*PyggStakingCallerSession) TotalStaked added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) TotalStaked() (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() view returns(uint256)

func (*PyggStakingCallerSession) UnStakeDuration added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) UnStakeDuration() (*big.Int, error)

UnStakeDuration is a free data retrieval call binding the contract method 0xc698d495.

Solidity: function unStakeDuration() view returns(uint256)

func (*PyggStakingCallerSession) Whitelist added in v0.2.14

func (_PyggStaking *PyggStakingCallerSession) Whitelist(arg0 common.Address) (bool, error)

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

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

type PyggStakingFilterer added in v0.2.14

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

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

func NewPyggStakingFilterer added in v0.2.14

func NewPyggStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*PyggStakingFilterer, error)

NewPyggStakingFilterer creates a new log filterer instance of PyggStaking, bound to a specific deployed contract.

func (*PyggStakingFilterer) FilterPause added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) FilterPause(opts *bind.FilterOpts) (*PyggStakingPauseIterator, error)

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

Solidity: event Pause()

func (*PyggStakingFilterer) FilterPyggCreated added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) FilterPyggCreated(opts *bind.FilterOpts) (*PyggStakingPyggCreatedIterator, error)

FilterPyggCreated is a free log retrieval operation binding the contract event 0xd7812fae7f8126d2df0f5449a2cc0744d2e9d3fc8c161de6193bc4df6c68d365.

Solidity: event PyggCreated(uint256 pyggIndex, bytes12 canName, uint256 amount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, address pyggOwner, bytes data)

func (*PyggStakingFilterer) FilterPyggUnstake added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) FilterPyggUnstake(opts *bind.FilterOpts) (*PyggStakingPyggUnstakeIterator, error)

FilterPyggUnstake is a free log retrieval operation binding the contract event 0x9954bdedc474e937b39bbb080fc136e2edf1cef61f0906d36203267f4930762e.

Solidity: event PyggUnstake(uint256 pyggIndex, bytes12 canName, uint256 amount, bytes data)

func (*PyggStakingFilterer) FilterPyggUpdated added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) FilterPyggUpdated(opts *bind.FilterOpts) (*PyggStakingPyggUpdatedIterator, error)

FilterPyggUpdated is a free log retrieval operation binding the contract event 0x0b074423c8a0f26c131cd7c88b19ef6adf084b812c97bdd1fb9dcf339ee9a387.

Solidity: event PyggUpdated(uint256 pyggIndex, bytes12 canName, uint256 amount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, address pyggOwner, bytes data)

func (*PyggStakingFilterer) FilterPyggWithdraw added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) FilterPyggWithdraw(opts *bind.FilterOpts) (*PyggStakingPyggWithdrawIterator, error)

FilterPyggWithdraw is a free log retrieval operation binding the contract event 0xf99c0736fafe9102d41ec0b56c187b26a6e35ae50415dcbecedf73112d0ec763.

Solidity: event PyggWithdraw(uint256 pyggIndex, bytes12 canName, uint256 amount, bytes data)

func (*PyggStakingFilterer) FilterUnpause added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) FilterUnpause(opts *bind.FilterOpts) (*PyggStakingUnpauseIterator, error)

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

Solidity: event Unpause()

func (*PyggStakingFilterer) FilterWhitelistedAddressAdded added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) FilterWhitelistedAddressAdded(opts *bind.FilterOpts) (*PyggStakingWhitelistedAddressAddedIterator, error)

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

Solidity: event WhitelistedAddressAdded(address addr)

func (*PyggStakingFilterer) FilterWhitelistedAddressRemoved added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) FilterWhitelistedAddressRemoved(opts *bind.FilterOpts) (*PyggStakingWhitelistedAddressRemovedIterator, error)

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

Solidity: event WhitelistedAddressRemoved(address addr)

func (*PyggStakingFilterer) ParsePause added in v0.3.5

func (_PyggStaking *PyggStakingFilterer) ParsePause(log types.Log) (*PyggStakingPause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*PyggStakingFilterer) ParsePyggCreated added in v0.3.5

func (_PyggStaking *PyggStakingFilterer) ParsePyggCreated(log types.Log) (*PyggStakingPyggCreated, error)

ParsePyggCreated is a log parse operation binding the contract event 0xd7812fae7f8126d2df0f5449a2cc0744d2e9d3fc8c161de6193bc4df6c68d365.

Solidity: event PyggCreated(uint256 pyggIndex, bytes12 canName, uint256 amount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, address pyggOwner, bytes data)

func (*PyggStakingFilterer) ParsePyggUnstake added in v0.3.5

func (_PyggStaking *PyggStakingFilterer) ParsePyggUnstake(log types.Log) (*PyggStakingPyggUnstake, error)

ParsePyggUnstake is a log parse operation binding the contract event 0x9954bdedc474e937b39bbb080fc136e2edf1cef61f0906d36203267f4930762e.

Solidity: event PyggUnstake(uint256 pyggIndex, bytes12 canName, uint256 amount, bytes data)

func (*PyggStakingFilterer) ParsePyggUpdated added in v0.3.5

func (_PyggStaking *PyggStakingFilterer) ParsePyggUpdated(log types.Log) (*PyggStakingPyggUpdated, error)

ParsePyggUpdated is a log parse operation binding the contract event 0x0b074423c8a0f26c131cd7c88b19ef6adf084b812c97bdd1fb9dcf339ee9a387.

Solidity: event PyggUpdated(uint256 pyggIndex, bytes12 canName, uint256 amount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, address pyggOwner, bytes data)

func (*PyggStakingFilterer) ParsePyggWithdraw added in v0.3.5

func (_PyggStaking *PyggStakingFilterer) ParsePyggWithdraw(log types.Log) (*PyggStakingPyggWithdraw, error)

ParsePyggWithdraw is a log parse operation binding the contract event 0xf99c0736fafe9102d41ec0b56c187b26a6e35ae50415dcbecedf73112d0ec763.

Solidity: event PyggWithdraw(uint256 pyggIndex, bytes12 canName, uint256 amount, bytes data)

func (*PyggStakingFilterer) ParseUnpause added in v0.3.5

func (_PyggStaking *PyggStakingFilterer) ParseUnpause(log types.Log) (*PyggStakingUnpause, error)

ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*PyggStakingFilterer) ParseWhitelistedAddressAdded added in v0.3.5

func (_PyggStaking *PyggStakingFilterer) ParseWhitelistedAddressAdded(log types.Log) (*PyggStakingWhitelistedAddressAdded, error)

ParseWhitelistedAddressAdded is a log parse operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*PyggStakingFilterer) ParseWhitelistedAddressRemoved added in v0.3.5

func (_PyggStaking *PyggStakingFilterer) ParseWhitelistedAddressRemoved(log types.Log) (*PyggStakingWhitelistedAddressRemoved, error)

ParseWhitelistedAddressRemoved is a log parse operation binding the contract event 0xf1abf01a1043b7c244d128e8595cf0c1d10743b022b03a02dffd8ca3bf729f5a.

Solidity: event WhitelistedAddressRemoved(address addr)

func (*PyggStakingFilterer) WatchPause added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *PyggStakingPause) (event.Subscription, error)

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

Solidity: event Pause()

func (*PyggStakingFilterer) WatchPyggCreated added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) WatchPyggCreated(opts *bind.WatchOpts, sink chan<- *PyggStakingPyggCreated) (event.Subscription, error)

WatchPyggCreated is a free log subscription operation binding the contract event 0xd7812fae7f8126d2df0f5449a2cc0744d2e9d3fc8c161de6193bc4df6c68d365.

Solidity: event PyggCreated(uint256 pyggIndex, bytes12 canName, uint256 amount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, address pyggOwner, bytes data)

func (*PyggStakingFilterer) WatchPyggUnstake added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) WatchPyggUnstake(opts *bind.WatchOpts, sink chan<- *PyggStakingPyggUnstake) (event.Subscription, error)

WatchPyggUnstake is a free log subscription operation binding the contract event 0x9954bdedc474e937b39bbb080fc136e2edf1cef61f0906d36203267f4930762e.

Solidity: event PyggUnstake(uint256 pyggIndex, bytes12 canName, uint256 amount, bytes data)

func (*PyggStakingFilterer) WatchPyggUpdated added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) WatchPyggUpdated(opts *bind.WatchOpts, sink chan<- *PyggStakingPyggUpdated) (event.Subscription, error)

WatchPyggUpdated is a free log subscription operation binding the contract event 0x0b074423c8a0f26c131cd7c88b19ef6adf084b812c97bdd1fb9dcf339ee9a387.

Solidity: event PyggUpdated(uint256 pyggIndex, bytes12 canName, uint256 amount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, address pyggOwner, bytes data)

func (*PyggStakingFilterer) WatchPyggWithdraw added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) WatchPyggWithdraw(opts *bind.WatchOpts, sink chan<- *PyggStakingPyggWithdraw) (event.Subscription, error)

WatchPyggWithdraw is a free log subscription operation binding the contract event 0xf99c0736fafe9102d41ec0b56c187b26a6e35ae50415dcbecedf73112d0ec763.

Solidity: event PyggWithdraw(uint256 pyggIndex, bytes12 canName, uint256 amount, bytes data)

func (*PyggStakingFilterer) WatchUnpause added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *PyggStakingUnpause) (event.Subscription, error)

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

Solidity: event Unpause()

func (*PyggStakingFilterer) WatchWhitelistedAddressAdded added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) WatchWhitelistedAddressAdded(opts *bind.WatchOpts, sink chan<- *PyggStakingWhitelistedAddressAdded) (event.Subscription, error)

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

Solidity: event WhitelistedAddressAdded(address addr)

func (*PyggStakingFilterer) WatchWhitelistedAddressRemoved added in v0.2.14

func (_PyggStaking *PyggStakingFilterer) WatchWhitelistedAddressRemoved(opts *bind.WatchOpts, sink chan<- *PyggStakingWhitelistedAddressRemoved) (event.Subscription, error)

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

Solidity: event WhitelistedAddressRemoved(address addr)

type PyggStakingPause added in v0.2.14

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

PyggStakingPause represents a Pause event raised by the PyggStaking contract.

type PyggStakingPauseIterator added in v0.2.14

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

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

func (*PyggStakingPauseIterator) Close added in v0.2.14

func (it *PyggStakingPauseIterator) Close() error

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

func (*PyggStakingPauseIterator) Error added in v0.2.14

func (it *PyggStakingPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PyggStakingPauseIterator) Next added in v0.2.14

func (it *PyggStakingPauseIterator) 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 PyggStakingPyggCreated added in v0.2.14

type PyggStakingPyggCreated struct {
	PyggIndex      *big.Int
	CanName        [12]byte
	Amount         *big.Int
	StakeDuration  *big.Int
	StakeStartTime *big.Int
	NonDecay       bool
	PyggOwner      common.Address
	Data           []byte
	Raw            types.Log // Blockchain specific contextual infos
}

PyggStakingPyggCreated represents a PyggCreated event raised by the PyggStaking contract.

type PyggStakingPyggCreatedIterator added in v0.2.14

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

PyggStakingPyggCreatedIterator is returned from FilterPyggCreated and is used to iterate over the raw logs and unpacked data for PyggCreated events raised by the PyggStaking contract.

func (*PyggStakingPyggCreatedIterator) Close added in v0.2.14

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

func (*PyggStakingPyggCreatedIterator) Error added in v0.2.14

Error returns any retrieval or parsing error occurred during filtering.

func (*PyggStakingPyggCreatedIterator) Next added in v0.2.14

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 PyggStakingPyggUnstake added in v0.2.14

type PyggStakingPyggUnstake struct {
	PyggIndex *big.Int
	CanName   [12]byte
	Amount    *big.Int
	Data      []byte
	Raw       types.Log // Blockchain specific contextual infos
}

PyggStakingPyggUnstake represents a PyggUnstake event raised by the PyggStaking contract.

type PyggStakingPyggUnstakeIterator added in v0.2.14

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

PyggStakingPyggUnstakeIterator is returned from FilterPyggUnstake and is used to iterate over the raw logs and unpacked data for PyggUnstake events raised by the PyggStaking contract.

func (*PyggStakingPyggUnstakeIterator) Close added in v0.2.14

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

func (*PyggStakingPyggUnstakeIterator) Error added in v0.2.14

Error returns any retrieval or parsing error occurred during filtering.

func (*PyggStakingPyggUnstakeIterator) Next added in v0.2.14

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 PyggStakingPyggUpdated added in v0.2.14

type PyggStakingPyggUpdated struct {
	PyggIndex      *big.Int
	CanName        [12]byte
	Amount         *big.Int
	StakeDuration  *big.Int
	StakeStartTime *big.Int
	NonDecay       bool
	PyggOwner      common.Address
	Data           []byte
	Raw            types.Log // Blockchain specific contextual infos
}

PyggStakingPyggUpdated represents a PyggUpdated event raised by the PyggStaking contract.

type PyggStakingPyggUpdatedIterator added in v0.2.14

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

PyggStakingPyggUpdatedIterator is returned from FilterPyggUpdated and is used to iterate over the raw logs and unpacked data for PyggUpdated events raised by the PyggStaking contract.

func (*PyggStakingPyggUpdatedIterator) Close added in v0.2.14

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

func (*PyggStakingPyggUpdatedIterator) Error added in v0.2.14

Error returns any retrieval or parsing error occurred during filtering.

func (*PyggStakingPyggUpdatedIterator) Next added in v0.2.14

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 PyggStakingPyggWithdraw added in v0.2.14

type PyggStakingPyggWithdraw struct {
	PyggIndex *big.Int
	CanName   [12]byte
	Amount    *big.Int
	Data      []byte
	Raw       types.Log // Blockchain specific contextual infos
}

PyggStakingPyggWithdraw represents a PyggWithdraw event raised by the PyggStaking contract.

type PyggStakingPyggWithdrawIterator added in v0.2.14

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

PyggStakingPyggWithdrawIterator is returned from FilterPyggWithdraw and is used to iterate over the raw logs and unpacked data for PyggWithdraw events raised by the PyggStaking contract.

func (*PyggStakingPyggWithdrawIterator) Close added in v0.2.14

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

func (*PyggStakingPyggWithdrawIterator) Error added in v0.2.14

Error returns any retrieval or parsing error occurred during filtering.

func (*PyggStakingPyggWithdrawIterator) Next added in v0.2.14

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 PyggStakingRaw added in v0.2.14

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

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

func (*PyggStakingRaw) Call added in v0.2.14

func (_PyggStaking *PyggStakingRaw) 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 (*PyggStakingRaw) Transact added in v0.2.14

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

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

func (*PyggStakingRaw) Transfer added in v0.2.14

func (_PyggStaking *PyggStakingRaw) 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 PyggStakingSession added in v0.2.14

type PyggStakingSession struct {
	Contract     *PyggStaking      // 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
}

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

func (*PyggStakingSession) AddAddressToWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingSession) 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 (*PyggStakingSession) AddAddressesToWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingSession) 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 (*PyggStakingSession) CreatePygg added in v0.2.14

func (_PyggStaking *PyggStakingSession) CreatePygg(_canName [12]byte, _stakeDuration *big.Int, _nonDecay bool, _data []byte) (*types.Transaction, error)

CreatePygg is a paid mutator transaction binding the contract method 0x07c35fc0.

Solidity: function createPygg(bytes12 _canName, uint256 _stakeDuration, bool _nonDecay, bytes _data) payable returns(uint256)

func (*PyggStakingSession) GetActivePyggCreateTimes added in v0.2.14

func (_PyggStaking *PyggStakingSession) GetActivePyggCreateTimes(_prevIndex *big.Int, _limit *big.Int) (struct {
	Count       *big.Int
	Indexes     []*big.Int
	CreateTimes []*big.Int
}, error)

GetActivePyggCreateTimes is a free data retrieval call binding the contract method 0x6c0a5ebd.

Solidity: function getActivePyggCreateTimes(uint256 _prevIndex, uint256 _limit) view returns(uint256 count, uint256[] indexes, uint256[] createTimes)

func (*PyggStakingSession) GetActivePyggIdx added in v0.2.14

func (_PyggStaking *PyggStakingSession) GetActivePyggIdx(_prevIndex *big.Int, _limit *big.Int) (struct {
	Count   *big.Int
	Indexes []*big.Int
}, error)

GetActivePyggIdx is a free data retrieval call binding the contract method 0x94a9c0f9.

Solidity: function getActivePyggIdx(uint256 _prevIndex, uint256 _limit) view returns(uint256 count, uint256[] indexes)

func (*PyggStakingSession) GetActivePyggs added in v0.2.14

func (_PyggStaking *PyggStakingSession) GetActivePyggs(_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)

GetActivePyggs is a free data retrieval call binding the contract method 0xdf43a94e.

Solidity: function getActivePyggs(uint256 _prevIndex, uint256 _limit) view returns(uint256 count, uint256[] indexes, uint256[] stakeStartTimes, uint256[] stakeDurations, bool[] decays, uint256[] stakedAmounts, bytes12[] canNames, address[] owners)

func (*PyggStakingSession) GetPyggIndexesByAddress added in v0.2.14

func (_PyggStaking *PyggStakingSession) GetPyggIndexesByAddress(_owner common.Address) ([]*big.Int, error)

GetPyggIndexesByAddress is a free data retrieval call binding the contract method 0xd09daa99.

Solidity: function getPyggIndexesByAddress(address _owner) view returns(uint256[])

func (*PyggStakingSession) IsOwner added in v0.2.14

func (_PyggStaking *PyggStakingSession) IsOwner(_address common.Address) (bool, error)

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

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

func (*PyggStakingSession) MaxPyggsPerAddr added in v0.2.14

func (_PyggStaking *PyggStakingSession) MaxPyggsPerAddr() (*big.Int, error)

MaxPyggsPerAddr is a free data retrieval call binding the contract method 0x1b0690ed.

Solidity: function maxPyggsPerAddr() view returns(uint256)

func (*PyggStakingSession) MaxStakeDuration added in v0.2.14

func (_PyggStaking *PyggStakingSession) MaxStakeDuration() (*big.Int, error)

MaxStakeDuration is a free data retrieval call binding the contract method 0x76f70003.

Solidity: function maxStakeDuration() view returns(uint256)

func (*PyggStakingSession) MinStakeAmount added in v0.2.14

func (_PyggStaking *PyggStakingSession) MinStakeAmount() (*big.Int, error)

MinStakeAmount is a free data retrieval call binding the contract method 0xf1887684.

Solidity: function minStakeAmount() view returns(uint256)

func (*PyggStakingSession) MinStakeDuration added in v0.2.14

func (_PyggStaking *PyggStakingSession) MinStakeDuration() (*big.Int, error)

MinStakeDuration is a free data retrieval call binding the contract method 0x5fec5c64.

Solidity: function minStakeDuration() view returns(uint256)

func (*PyggStakingSession) Owner added in v0.2.14

func (_PyggStaking *PyggStakingSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PyggStakingSession) Pause added in v0.2.14

func (_PyggStaking *PyggStakingSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*PyggStakingSession) Paused added in v0.2.14

func (_PyggStaking *PyggStakingSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*PyggStakingSession) Pyggs added in v0.2.14

func (_PyggStaking *PyggStakingSession) Pyggs(arg0 *big.Int) (struct {
	CanName          [12]byte
	StakedAmount     *big.Int
	StakeDuration    *big.Int
	StakeStartTime   *big.Int
	NonDecay         bool
	UnstakeStartTime *big.Int
	PyggOwner        common.Address
	CreateTime       *big.Int
	Prev             *big.Int
	Next             *big.Int
}, error)

Pyggs is a free data retrieval call binding the contract method 0xccfafd5c.

Solidity: function pyggs(uint256 ) view returns(bytes12 canName, uint256 stakedAmount, uint256 stakeDuration, uint256 stakeStartTime, bool nonDecay, uint256 unstakeStartTime, address pyggOwner, uint256 createTime, uint256 prev, uint256 next)

func (*PyggStakingSession) RemoveAddressFromWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingSession) 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 (*PyggStakingSession) RemoveAddressesFromWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingSession) 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 (*PyggStakingSession) Restake added in v0.2.14

func (_PyggStaking *PyggStakingSession) Restake(_pyggIndex *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 _pyggIndex, uint256 _stakeDuration, bool _nonDecay, bytes _data) returns()

func (*PyggStakingSession) Revote added in v0.2.14

func (_PyggStaking *PyggStakingSession) Revote(_pyggIndex *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 _pyggIndex, bytes12 _canName, bytes _data) returns()

func (*PyggStakingSession) SecondsPerDay added in v0.2.14

func (_PyggStaking *PyggStakingSession) SecondsPerDay() (*big.Int, error)

SecondsPerDay is a free data retrieval call binding the contract method 0x63809953.

Solidity: function secondsPerDay() view returns(uint256)

func (*PyggStakingSession) Stakeholders added in v0.2.14

func (_PyggStaking *PyggStakingSession) 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 ) view returns(uint256)

func (*PyggStakingSession) StoreToPygg added in v0.2.14

func (_PyggStaking *PyggStakingSession) StoreToPygg(_pyggIndex *big.Int, _data []byte) (*types.Transaction, error)

StoreToPygg is a paid mutator transaction binding the contract method 0x6e7b3017.

Solidity: function storeToPygg(uint256 _pyggIndex, bytes _data) payable returns()

func (*PyggStakingSession) TotalStaked added in v0.2.14

func (_PyggStaking *PyggStakingSession) TotalStaked() (*big.Int, error)

TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.

Solidity: function totalStaked() view returns(uint256)

func (*PyggStakingSession) TransferOwnership added in v0.2.14

func (_PyggStaking *PyggStakingSession) 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 (*PyggStakingSession) TransferOwnershipOfPygg added in v0.2.14

func (_PyggStaking *PyggStakingSession) TransferOwnershipOfPygg(_pyggIndex *big.Int, _newOwner common.Address, _data []byte) (*types.Transaction, error)

TransferOwnershipOfPygg is a paid mutator transaction binding the contract method 0x7d564937.

Solidity: function transferOwnershipOfPygg(uint256 _pyggIndex, address _newOwner, bytes _data) returns()

func (*PyggStakingSession) UnStakeDuration added in v0.2.14

func (_PyggStaking *PyggStakingSession) UnStakeDuration() (*big.Int, error)

UnStakeDuration is a free data retrieval call binding the contract method 0xc698d495.

Solidity: function unStakeDuration() view returns(uint256)

func (*PyggStakingSession) Unpause added in v0.2.14

func (_PyggStaking *PyggStakingSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*PyggStakingSession) Unstake added in v0.2.14

func (_PyggStaking *PyggStakingSession) Unstake(_pyggIndex *big.Int, _data []byte) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0xc8fd6ed0.

Solidity: function unstake(uint256 _pyggIndex, bytes _data) returns()

func (*PyggStakingSession) Whitelist added in v0.2.14

func (_PyggStaking *PyggStakingSession) Whitelist(arg0 common.Address) (bool, error)

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

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

func (*PyggStakingSession) Withdraw added in v0.2.14

func (_PyggStaking *PyggStakingSession) Withdraw(_pyggIndex *big.Int, _data []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x030ba25d.

Solidity: function withdraw(uint256 _pyggIndex, bytes _data) returns()

type PyggStakingTransactor added in v0.2.14

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

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

func NewPyggStakingTransactor added in v0.2.14

func NewPyggStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*PyggStakingTransactor, error)

NewPyggStakingTransactor creates a new write-only instance of PyggStaking, bound to a specific deployed contract.

func (*PyggStakingTransactor) AddAddressToWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) 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 (*PyggStakingTransactor) AddAddressesToWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) 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 (*PyggStakingTransactor) CreatePygg added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) CreatePygg(opts *bind.TransactOpts, _canName [12]byte, _stakeDuration *big.Int, _nonDecay bool, _data []byte) (*types.Transaction, error)

CreatePygg is a paid mutator transaction binding the contract method 0x07c35fc0.

Solidity: function createPygg(bytes12 _canName, uint256 _stakeDuration, bool _nonDecay, bytes _data) payable returns(uint256)

func (*PyggStakingTransactor) Pause added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*PyggStakingTransactor) RemoveAddressFromWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) 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 (*PyggStakingTransactor) RemoveAddressesFromWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) 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 (*PyggStakingTransactor) Restake added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) Restake(opts *bind.TransactOpts, _pyggIndex *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 _pyggIndex, uint256 _stakeDuration, bool _nonDecay, bytes _data) returns()

func (*PyggStakingTransactor) Revote added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) Revote(opts *bind.TransactOpts, _pyggIndex *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 _pyggIndex, bytes12 _canName, bytes _data) returns()

func (*PyggStakingTransactor) StoreToPygg added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) StoreToPygg(opts *bind.TransactOpts, _pyggIndex *big.Int, _data []byte) (*types.Transaction, error)

StoreToPygg is a paid mutator transaction binding the contract method 0x6e7b3017.

Solidity: function storeToPygg(uint256 _pyggIndex, bytes _data) payable returns()

func (*PyggStakingTransactor) TransferOwnership added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) 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 (*PyggStakingTransactor) TransferOwnershipOfPygg added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) TransferOwnershipOfPygg(opts *bind.TransactOpts, _pyggIndex *big.Int, _newOwner common.Address, _data []byte) (*types.Transaction, error)

TransferOwnershipOfPygg is a paid mutator transaction binding the contract method 0x7d564937.

Solidity: function transferOwnershipOfPygg(uint256 _pyggIndex, address _newOwner, bytes _data) returns()

func (*PyggStakingTransactor) Unpause added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*PyggStakingTransactor) Unstake added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) Unstake(opts *bind.TransactOpts, _pyggIndex *big.Int, _data []byte) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0xc8fd6ed0.

Solidity: function unstake(uint256 _pyggIndex, bytes _data) returns()

func (*PyggStakingTransactor) Withdraw added in v0.2.14

func (_PyggStaking *PyggStakingTransactor) Withdraw(opts *bind.TransactOpts, _pyggIndex *big.Int, _data []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x030ba25d.

Solidity: function withdraw(uint256 _pyggIndex, bytes _data) returns()

type PyggStakingTransactorRaw added in v0.2.14

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

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

func (*PyggStakingTransactorRaw) Transact added in v0.2.14

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

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

func (*PyggStakingTransactorRaw) Transfer added in v0.2.14

func (_PyggStaking *PyggStakingTransactorRaw) 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 PyggStakingTransactorSession added in v0.2.14

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

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

func (*PyggStakingTransactorSession) AddAddressToWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) 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 (*PyggStakingTransactorSession) AddAddressesToWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) 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 (*PyggStakingTransactorSession) CreatePygg added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) CreatePygg(_canName [12]byte, _stakeDuration *big.Int, _nonDecay bool, _data []byte) (*types.Transaction, error)

CreatePygg is a paid mutator transaction binding the contract method 0x07c35fc0.

Solidity: function createPygg(bytes12 _canName, uint256 _stakeDuration, bool _nonDecay, bytes _data) payable returns(uint256)

func (*PyggStakingTransactorSession) Pause added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*PyggStakingTransactorSession) RemoveAddressFromWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) 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 (*PyggStakingTransactorSession) RemoveAddressesFromWhitelist added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) 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 (*PyggStakingTransactorSession) Restake added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) Restake(_pyggIndex *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 _pyggIndex, uint256 _stakeDuration, bool _nonDecay, bytes _data) returns()

func (*PyggStakingTransactorSession) Revote added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) Revote(_pyggIndex *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 _pyggIndex, bytes12 _canName, bytes _data) returns()

func (*PyggStakingTransactorSession) StoreToPygg added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) StoreToPygg(_pyggIndex *big.Int, _data []byte) (*types.Transaction, error)

StoreToPygg is a paid mutator transaction binding the contract method 0x6e7b3017.

Solidity: function storeToPygg(uint256 _pyggIndex, bytes _data) payable returns()

func (*PyggStakingTransactorSession) TransferOwnership added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) 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 (*PyggStakingTransactorSession) TransferOwnershipOfPygg added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) TransferOwnershipOfPygg(_pyggIndex *big.Int, _newOwner common.Address, _data []byte) (*types.Transaction, error)

TransferOwnershipOfPygg is a paid mutator transaction binding the contract method 0x7d564937.

Solidity: function transferOwnershipOfPygg(uint256 _pyggIndex, address _newOwner, bytes _data) returns()

func (*PyggStakingTransactorSession) Unpause added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*PyggStakingTransactorSession) Unstake added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) Unstake(_pyggIndex *big.Int, _data []byte) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0xc8fd6ed0.

Solidity: function unstake(uint256 _pyggIndex, bytes _data) returns()

func (*PyggStakingTransactorSession) Withdraw added in v0.2.14

func (_PyggStaking *PyggStakingTransactorSession) Withdraw(_pyggIndex *big.Int, _data []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x030ba25d.

Solidity: function withdraw(uint256 _pyggIndex, bytes _data) returns()

type PyggStakingUnpause added in v0.2.14

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

PyggStakingUnpause represents a Unpause event raised by the PyggStaking contract.

type PyggStakingUnpauseIterator added in v0.2.14

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

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

func (*PyggStakingUnpauseIterator) Close added in v0.2.14

func (it *PyggStakingUnpauseIterator) Close() error

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

func (*PyggStakingUnpauseIterator) Error added in v0.2.14

func (it *PyggStakingUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PyggStakingUnpauseIterator) Next added in v0.2.14

func (it *PyggStakingUnpauseIterator) 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 PyggStakingWhitelistedAddressAdded added in v0.2.14

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

PyggStakingWhitelistedAddressAdded represents a WhitelistedAddressAdded event raised by the PyggStaking contract.

type PyggStakingWhitelistedAddressAddedIterator added in v0.2.14

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

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

func (*PyggStakingWhitelistedAddressAddedIterator) Close added in v0.2.14

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

func (*PyggStakingWhitelistedAddressAddedIterator) Error added in v0.2.14

Error returns any retrieval or parsing error occurred during filtering.

func (*PyggStakingWhitelistedAddressAddedIterator) Next added in v0.2.14

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 PyggStakingWhitelistedAddressRemoved added in v0.2.14

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

PyggStakingWhitelistedAddressRemoved represents a WhitelistedAddressRemoved event raised by the PyggStaking contract.

type PyggStakingWhitelistedAddressRemovedIterator added in v0.2.14

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

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

func (*PyggStakingWhitelistedAddressRemovedIterator) Close added in v0.2.14

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

func (*PyggStakingWhitelistedAddressRemovedIterator) Error added in v0.2.14

Error returns any retrieval or parsing error occurred during filtering.

func (*PyggStakingWhitelistedAddressRemovedIterator) Next added in v0.2.14

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 ) view 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() view 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 ) view 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() view 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) view 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 ) view 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) view 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() view 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 ) view 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() view 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() view 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() view 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 ) view 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() view 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 ) view 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() view 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) view 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 ) view 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) view 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() view 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 ) view 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() view 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() view 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() view 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) ParsePause added in v0.3.5

func (_Register *RegisterFilterer) ParsePause(log types.Log) (*RegisterPause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*RegisterFilterer) ParseRegistered added in v0.3.5

func (_Register *RegisterFilterer) ParseRegistered(log types.Log) (*RegisterRegistered, error)

ParseRegistered is a log parse operation binding the contract event 0x3340640ab5b6f15b631e9400701305335845b74a8bd5054f7b268608b2b869d4.

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

func (*RegisterFilterer) ParseUnpause added in v0.3.5

func (_Register *RegisterFilterer) ParseUnpause(log types.Log) (*RegisterUnpause, error)

ParseUnpause is a log parse 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 ) view 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() view 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 ) view 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() view 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) view 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 ) view 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) view 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() view 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 ) view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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) view 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) view 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() view 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() view 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) view 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 ) view 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() view 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() view 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() view 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() view 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() view 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() view 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) view 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) view 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() view 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() view 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) view 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 ) view 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) ParseOwnershipTransferred added in v0.3.5

func (_RotatableVPS *RotatableVPSFilterer) ParseOwnershipTransferred(log types.Log) (*RotatableVPSOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

func (*RotatableVPSFilterer) ParseSetVotingPower added in v0.3.5

func (_RotatableVPS *RotatableVPSFilterer) ParseSetVotingPower(log types.Log) (*RotatableVPSSetVotingPower, error)

ParseSetVotingPower is a log parse operation binding the contract event 0x048ebfbc43eddab7a7a576fb6a22551fb89c9fa0bb520948a32ec8b1546640d3.

Solidity: event SetVotingPower(address voter, uint256 power)

func (*RotatableVPSFilterer) ParseWhitelistedAddressAdded added in v0.3.5

func (_RotatableVPS *RotatableVPSFilterer) ParseWhitelistedAddressAdded(log types.Log) (*RotatableVPSWhitelistedAddressAdded, error)

ParseWhitelistedAddressAdded is a log parse operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*RotatableVPSFilterer) ParseWhitelistedAddressRemoved added in v0.3.5

func (_RotatableVPS *RotatableVPSFilterer) ParseWhitelistedAddressRemoved(log types.Log) (*RotatableVPSWhitelistedAddressRemoved, error)

ParseWhitelistedAddressRemoved is a log parse 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() view 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() view 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() view 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() view 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() view 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() view 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) view 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) view 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() view 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() view 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) view 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 ) view 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 ) view 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) view 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) view 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) view 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) view 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) view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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 ) view 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() view 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() view 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() view 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 ) view 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 ) view 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) view 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) view 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) view 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) view 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) view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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 ) view 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() view 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() view 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() view 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 ) view 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) ParseBucketCreated added in v0.3.5

func (_Staking *StakingFilterer) ParseBucketCreated(log types.Log) (*StakingBucketCreated, error)

ParseBucketCreated is a log parse operation binding the contract event 0xbecddf0f61f76a4ac94a507fbc32c036d2fb7c4b466cad82dd9a4a2d76b263fe.

Solidity: event BucketCreated(uint256 bucketIndex, bytes12 canName, uint256 amount, uint256 stakeDuration, bool nonDecay, bytes data)

func (*StakingFilterer) ParseBucketUnstake added in v0.3.5

func (_Staking *StakingFilterer) ParseBucketUnstake(log types.Log) (*StakingBucketUnstake, error)

ParseBucketUnstake is a log parse operation binding the contract event 0xaa192dc938c20fb63756fbd8f4d9f46092c3252f772b2c549c4688c118b6b475.

Solidity: event BucketUnstake(uint256 bucketIndex, bytes12 canName, uint256 amount, bytes data)

func (*StakingFilterer) ParseBucketUpdated added in v0.3.5

func (_Staking *StakingFilterer) ParseBucketUpdated(log types.Log) (*StakingBucketUpdated, error)

ParseBucketUpdated is a log parse 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) ParseBucketWithdraw added in v0.3.5

func (_Staking *StakingFilterer) ParseBucketWithdraw(log types.Log) (*StakingBucketWithdraw, error)

ParseBucketWithdraw is a log parse operation binding the contract event 0x2a79739690fe6bf5933c5d812824e30c2b95d43b6ddadd96148a4493d3b56540.

Solidity: event BucketWithdraw(uint256 bucketIndex, bytes12 canName, uint256 amount, bytes data)

func (*StakingFilterer) ParsePause added in v0.3.5

func (_Staking *StakingFilterer) ParsePause(log types.Log) (*StakingPause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*StakingFilterer) ParseUnpause added in v0.3.5

func (_Staking *StakingFilterer) ParseUnpause(log types.Log) (*StakingUnpause, error)

ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*StakingFilterer) ParseWhitelistedAddressAdded added in v0.3.5

func (_Staking *StakingFilterer) ParseWhitelistedAddressAdded(log types.Log) (*StakingWhitelistedAddressAdded, error)

ParseWhitelistedAddressAdded is a log parse operation binding the contract event 0xd1bba68c128cc3f427e5831b3c6f99f480b6efa6b9e80c757768f6124158cc3f.

Solidity: event WhitelistedAddressAdded(address addr)

func (*StakingFilterer) ParseWhitelistedAddressRemoved added in v0.3.5

func (_Staking *StakingFilterer) ParseWhitelistedAddressRemoved(log types.Log) (*StakingWhitelistedAddressRemoved, error)

ParseWhitelistedAddressRemoved is a log parse 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 ) view 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) view 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) view 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) view 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) view 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) view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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 ) view 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() view 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() view 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() view 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 ) view 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 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) view 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) view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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 ) view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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) view 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) view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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 ) view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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) ParseApproval added in v0.3.5

func (_Vita *VitaFilterer) ParseApproval(log types.Log) (*VitaApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

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

func (*VitaFilterer) ParseClaim added in v0.3.5

func (_Vita *VitaFilterer) ParseClaim(log types.Log) (*VitaClaim, error)

ParseClaim is a log parse operation binding the contract event 0x34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf7.

Solidity: event Claim(address claimer, uint256 amount, uint256 viewID)

func (*VitaFilterer) ParseDecay added in v0.3.5

func (_Vita *VitaFilterer) ParseDecay(log types.Log) (*VitaDecay, error)

ParseDecay is a log parse operation binding the contract event 0xb78fecc4804d4e8de58f70e839d77affe1cd72a59c58f87bafad35eb08813679.

Solidity: event Decay(uint256 height, uint256 incremetnalSupply)

func (*VitaFilterer) ParseOwnershipTransferred added in v0.3.5

func (_Vita *VitaFilterer) ParseOwnershipTransferred(log types.Log) (*VitaOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

func (*VitaFilterer) ParsePause added in v0.3.5

func (_Vita *VitaFilterer) ParsePause(log types.Log) (*VitaPause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*VitaFilterer) ParseTransfer added in v0.3.5

func (_Vita *VitaFilterer) ParseTransfer(log types.Log) (*VitaTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*VitaFilterer) ParseUnpause added in v0.3.5

func (_Vita *VitaFilterer) ParseUnpause(log types.Log) (*VitaUnpause, error)

ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*VitaFilterer) ParseUpdateView added in v0.3.5

func (_Vita *VitaFilterer) ParseUpdateView(log types.Log) (*VitaUpdateView, error)

ParseUpdateView is a log parse 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) view 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) view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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 ) view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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() view 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