stakemanager

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const StakemanagerABI = "" /* 20820-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Stakemanager

type Stakemanager struct {
	StakemanagerCaller     // Read-only binding to the contract
	StakemanagerTransactor // Write-only binding to the contract
	StakemanagerFilterer   // Log filterer for contract events
}

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

func NewStakemanager

func NewStakemanager(address common.Address, backend bind.ContractBackend) (*Stakemanager, error)

NewStakemanager creates a new instance of Stakemanager, bound to a specific deployed contract.

type StakemanagerCaller

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

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

func NewStakemanagerCaller

func NewStakemanagerCaller(address common.Address, caller bind.ContractCaller) (*StakemanagerCaller, error)

NewStakemanagerCaller creates a new read-only instance of Stakemanager, bound to a specific deployed contract.

func (*StakemanagerCaller) AccountStateRoot

func (_Stakemanager *StakemanagerCaller) AccountStateRoot(opts *bind.CallOpts) ([32]byte, error)

AccountStateRoot is a free data retrieval call binding the contract method 0x17c2b910.

Solidity: function accountStateRoot() constant returns(bytes32)

func (*StakemanagerCaller) AuctionPeriod added in v0.1.5

func (_Stakemanager *StakemanagerCaller) AuctionPeriod(opts *bind.CallOpts) (*big.Int, error)

AuctionPeriod is a free data retrieval call binding the contract method 0x0cccfc58.

Solidity: function auctionPeriod() constant returns(uint256)

func (*StakemanagerCaller) CHECKPOINTREWARD added in v0.1.5

func (_Stakemanager *StakemanagerCaller) CHECKPOINTREWARD(opts *bind.CallOpts) (*big.Int, error)

CHECKPOINTREWARD is a free data retrieval call binding the contract method 0x7d669752.

Solidity: function CHECKPOINT_REWARD() constant returns(uint256)

func (*StakemanagerCaller) CheckPointBlockInterval added in v0.1.5

func (_Stakemanager *StakemanagerCaller) CheckPointBlockInterval(opts *bind.CallOpts) (*big.Int, error)

CheckPointBlockInterval is a free data retrieval call binding the contract method 0x25316411.

Solidity: function checkPointBlockInterval() constant returns(uint256)

func (*StakemanagerCaller) CurrentEpoch

func (_Stakemanager *StakemanagerCaller) CurrentEpoch(opts *bind.CallOpts) (*big.Int, error)

CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.

Solidity: function currentEpoch() constant returns(uint256)

func (*StakemanagerCaller) CurrentValidatorSetSize added in v0.1.5

func (_Stakemanager *StakemanagerCaller) CurrentValidatorSetSize(opts *bind.CallOpts) (*big.Int, error)

CurrentValidatorSetSize is a free data retrieval call binding the contract method 0x7f952d95.

Solidity: function currentValidatorSetSize() constant returns(uint256)

func (*StakemanagerCaller) CurrentValidatorSetTotalStake added in v0.1.5

func (_Stakemanager *StakemanagerCaller) CurrentValidatorSetTotalStake(opts *bind.CallOpts) (*big.Int, error)

CurrentValidatorSetTotalStake is a free data retrieval call binding the contract method 0xa4769071.

Solidity: function currentValidatorSetTotalStake() constant returns(uint256)

func (*StakemanagerCaller) Dynasty added in v0.1.5

func (_Stakemanager *StakemanagerCaller) Dynasty(opts *bind.CallOpts) (*big.Int, error)

Dynasty is a free data retrieval call binding the contract method 0x7060054d.

Solidity: function dynasty() constant returns(uint256)

func (*StakemanagerCaller) Factory added in v0.1.5

func (_Stakemanager *StakemanagerCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() constant returns(address)

func (*StakemanagerCaller) GetCurrentValidatorSet added in v0.1.5

func (_Stakemanager *StakemanagerCaller) GetCurrentValidatorSet(opts *bind.CallOpts) ([]*big.Int, error)

GetCurrentValidatorSet is a free data retrieval call binding the contract method 0x0209fdd0.

Solidity: function getCurrentValidatorSet() constant returns(uint256[])

func (*StakemanagerCaller) GetValidatorContract added in v0.1.5

func (_Stakemanager *StakemanagerCaller) GetValidatorContract(opts *bind.CallOpts, validatorId *big.Int) (common.Address, error)

GetValidatorContract is a free data retrieval call binding the contract method 0x56342d8c.

Solidity: function getValidatorContract(uint256 validatorId) constant returns(address)

func (*StakemanagerCaller) GetValidatorId added in v0.1.5

func (_Stakemanager *StakemanagerCaller) GetValidatorId(opts *bind.CallOpts, user common.Address) (*big.Int, error)

GetValidatorId is a free data retrieval call binding the contract method 0x174e6832.

Solidity: function getValidatorId(address user) constant returns(uint256)

func (*StakemanagerCaller) Governance added in v0.1.5

func (_Stakemanager *StakemanagerCaller) Governance(opts *bind.CallOpts) (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() constant returns(address)

func (*StakemanagerCaller) IsOwner added in v0.1.5

func (_Stakemanager *StakemanagerCaller) IsOwner(opts *bind.CallOpts) (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*StakemanagerCaller) IsValidator added in v0.1.5

func (_Stakemanager *StakemanagerCaller) IsValidator(opts *bind.CallOpts, validatorId *big.Int) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0x2649263a.

Solidity: function isValidator(uint256 validatorId) constant returns(bool)

func (*StakemanagerCaller) Locked added in v0.1.5

func (_Stakemanager *StakemanagerCaller) Locked(opts *bind.CallOpts) (bool, error)

Locked is a free data retrieval call binding the contract method 0xcf309012.

Solidity: function locked() constant returns(bool)

func (*StakemanagerCaller) Logger added in v0.1.5

func (_Stakemanager *StakemanagerCaller) Logger(opts *bind.CallOpts) (common.Address, error)

Logger is a free data retrieval call binding the contract method 0xf24ccbfe.

Solidity: function logger() constant returns(address)

func (*StakemanagerCaller) MinDeposit added in v0.1.5

func (_Stakemanager *StakemanagerCaller) MinDeposit(opts *bind.CallOpts) (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x41b3d185.

Solidity: function minDeposit() constant returns(uint256)

func (*StakemanagerCaller) MinHeimdallFee added in v0.1.5

func (_Stakemanager *StakemanagerCaller) MinHeimdallFee(opts *bind.CallOpts) (*big.Int, error)

MinHeimdallFee is a free data retrieval call binding the contract method 0xfba58f34.

Solidity: function minHeimdallFee() constant returns(uint256)

func (*StakemanagerCaller) NFTContract added in v0.1.5

func (_Stakemanager *StakemanagerCaller) NFTContract(opts *bind.CallOpts) (common.Address, error)

NFTContract is a free data retrieval call binding the contract method 0x31c2273b.

Solidity: function NFTContract() constant returns(address)

func (*StakemanagerCaller) NFTCounter added in v0.1.5

func (_Stakemanager *StakemanagerCaller) NFTCounter(opts *bind.CallOpts) (*big.Int, error)

NFTCounter is a free data retrieval call binding the contract method 0x5508d8e1.

Solidity: function NFTCounter() constant returns(uint256)

func (*StakemanagerCaller) Owner added in v0.1.5

func (_Stakemanager *StakemanagerCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*StakemanagerCaller) OwnerOf added in v0.1.5

func (_Stakemanager *StakemanagerCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) constant returns(address)

func (*StakemanagerCaller) PerceivedStakeFactor added in v0.1.5

func (_Stakemanager *StakemanagerCaller) PerceivedStakeFactor(opts *bind.CallOpts, validatorId *big.Int) (*big.Int, error)

PerceivedStakeFactor is a free data retrieval call binding the contract method 0x357e6ff8.

Solidity: function perceivedStakeFactor(uint256 validatorId) constant returns(uint256)

func (*StakemanagerCaller) PubToAddress added in v0.1.5

func (_Stakemanager *StakemanagerCaller) PubToAddress(opts *bind.CallOpts, pub []byte) (common.Address, error)

PubToAddress is a free data retrieval call binding the contract method 0xd0110274.

Solidity: function pubToAddress(bytes pub) constant returns(address)

func (*StakemanagerCaller) Registry added in v0.1.5

func (_Stakemanager *StakemanagerCaller) Registry(opts *bind.CallOpts) (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() constant returns(address)

func (*StakemanagerCaller) RootChain added in v0.1.5

func (_Stakemanager *StakemanagerCaller) RootChain(opts *bind.CallOpts) (common.Address, error)

RootChain is a free data retrieval call binding the contract method 0x987ab9db.

Solidity: function rootChain() constant returns(address)

func (*StakemanagerCaller) SignerToValidator added in v0.1.5

func (_Stakemanager *StakemanagerCaller) SignerToValidator(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

SignerToValidator is a free data retrieval call binding the contract method 0x3862da0b.

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

func (*StakemanagerCaller) SupportsHistory

func (_Stakemanager *StakemanagerCaller) SupportsHistory(opts *bind.CallOpts) (bool, error)

SupportsHistory is a free data retrieval call binding the contract method 0x7033e4a6.

Solidity: function supportsHistory() constant returns(bool)

func (*StakemanagerCaller) Token added in v0.1.5

func (_Stakemanager *StakemanagerCaller) Token(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function token() constant returns(address)

func (*StakemanagerCaller) TotalHeimdallFee added in v0.1.5

func (_Stakemanager *StakemanagerCaller) TotalHeimdallFee(opts *bind.CallOpts) (*big.Int, error)

TotalHeimdallFee is a free data retrieval call binding the contract method 0x9a8a6243.

Solidity: function totalHeimdallFee() constant returns(uint256)

func (*StakemanagerCaller) TotalRewards added in v0.1.5

func (_Stakemanager *StakemanagerCaller) TotalRewards(opts *bind.CallOpts) (*big.Int, error)

TotalRewards is a free data retrieval call binding the contract method 0x0e15561a.

Solidity: function totalRewards() constant returns(uint256)

func (*StakemanagerCaller) TotalRewardsLiquidated added in v0.1.5

func (_Stakemanager *StakemanagerCaller) TotalRewardsLiquidated(opts *bind.CallOpts) (*big.Int, error)

TotalRewardsLiquidated is a free data retrieval call binding the contract method 0xcd6b8388.

Solidity: function totalRewardsLiquidated() constant returns(uint256)

func (*StakemanagerCaller) TotalStaked added in v0.1.5

func (_Stakemanager *StakemanagerCaller) TotalStaked(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalStaked() constant returns(uint256)

func (*StakemanagerCaller) TotalStakedFor

func (_Stakemanager *StakemanagerCaller) TotalStakedFor(opts *bind.CallOpts, user common.Address) (*big.Int, error)

TotalStakedFor is a free data retrieval call binding the contract method 0x4b341aed.

Solidity: function totalStakedFor(address user) constant returns(uint256)

func (*StakemanagerCaller) ValidatorAuction added in v0.1.5

func (_Stakemanager *StakemanagerCaller) ValidatorAuction(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Amount     *big.Int
	StartEpoch *big.Int
	User       common.Address
}, error)

ValidatorAuction is a free data retrieval call binding the contract method 0x5325e144.

Solidity: function validatorAuction(uint256 ) constant returns(uint256 amount, uint256 startEpoch, address user)

func (*StakemanagerCaller) ValidatorFeeExit added in v0.1.5

func (_Stakemanager *StakemanagerCaller) ValidatorFeeExit(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

ValidatorFeeExit is a free data retrieval call binding the contract method 0x90a42f16.

Solidity: function validatorFeeExit(uint256 ) constant returns(uint256)

func (*StakemanagerCaller) ValidatorState added in v0.1.5

func (_Stakemanager *StakemanagerCaller) ValidatorState(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Amount      *big.Int
	StakerCount *big.Int
}, error)

ValidatorState is a free data retrieval call binding the contract method 0x5c248855.

Solidity: function validatorState(uint256 ) constant returns(int256 amount, int256 stakerCount)

func (*StakemanagerCaller) ValidatorThreshold added in v0.1.5

func (_Stakemanager *StakemanagerCaller) ValidatorThreshold(opts *bind.CallOpts) (*big.Int, error)

ValidatorThreshold is a free data retrieval call binding the contract method 0x4fd101d7.

Solidity: function validatorThreshold() constant returns(uint256)

func (*StakemanagerCaller) Validators added in v0.1.5

func (_Stakemanager *StakemanagerCaller) Validators(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Amount            *big.Int
	Reward            *big.Int
	ActivationEpoch   *big.Int
	DeactivationEpoch *big.Int
	JailTime          *big.Int
	Signer            common.Address
	ContractAddress   common.Address
	Status            uint8
}, error)

Validators is a free data retrieval call binding the contract method 0x35aa2e44.

Solidity: function validators(uint256 ) constant returns(uint256 amount, uint256 reward, uint256 activationEpoch, uint256 deactivationEpoch, uint256 jailTime, address signer, address contractAddress, uint8 status)

func (*StakemanagerCaller) WITHDRAWALDELAY

func (_Stakemanager *StakemanagerCaller) WITHDRAWALDELAY(opts *bind.CallOpts) (*big.Int, error)

WITHDRAWALDELAY is a free data retrieval call binding the contract method 0x0ebb172a.

Solidity: function WITHDRAWAL_DELAY() constant returns(uint256)

type StakemanagerCallerRaw

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

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

func (*StakemanagerCallerRaw) Call

func (_Stakemanager *StakemanagerCallerRaw) 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 StakemanagerCallerSession

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

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

func (*StakemanagerCallerSession) AccountStateRoot

func (_Stakemanager *StakemanagerCallerSession) AccountStateRoot() ([32]byte, error)

AccountStateRoot is a free data retrieval call binding the contract method 0x17c2b910.

Solidity: function accountStateRoot() constant returns(bytes32)

func (*StakemanagerCallerSession) AuctionPeriod added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) AuctionPeriod() (*big.Int, error)

AuctionPeriod is a free data retrieval call binding the contract method 0x0cccfc58.

Solidity: function auctionPeriod() constant returns(uint256)

func (*StakemanagerCallerSession) CHECKPOINTREWARD added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) CHECKPOINTREWARD() (*big.Int, error)

CHECKPOINTREWARD is a free data retrieval call binding the contract method 0x7d669752.

Solidity: function CHECKPOINT_REWARD() constant returns(uint256)

func (*StakemanagerCallerSession) CheckPointBlockInterval added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) CheckPointBlockInterval() (*big.Int, error)

CheckPointBlockInterval is a free data retrieval call binding the contract method 0x25316411.

Solidity: function checkPointBlockInterval() constant returns(uint256)

func (*StakemanagerCallerSession) CurrentEpoch

func (_Stakemanager *StakemanagerCallerSession) CurrentEpoch() (*big.Int, error)

CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.

Solidity: function currentEpoch() constant returns(uint256)

func (*StakemanagerCallerSession) CurrentValidatorSetSize added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) CurrentValidatorSetSize() (*big.Int, error)

CurrentValidatorSetSize is a free data retrieval call binding the contract method 0x7f952d95.

Solidity: function currentValidatorSetSize() constant returns(uint256)

func (*StakemanagerCallerSession) CurrentValidatorSetTotalStake added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) CurrentValidatorSetTotalStake() (*big.Int, error)

CurrentValidatorSetTotalStake is a free data retrieval call binding the contract method 0xa4769071.

Solidity: function currentValidatorSetTotalStake() constant returns(uint256)

func (*StakemanagerCallerSession) Dynasty added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) Dynasty() (*big.Int, error)

Dynasty is a free data retrieval call binding the contract method 0x7060054d.

Solidity: function dynasty() constant returns(uint256)

func (*StakemanagerCallerSession) Factory added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() constant returns(address)

func (*StakemanagerCallerSession) GetCurrentValidatorSet added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) GetCurrentValidatorSet() ([]*big.Int, error)

GetCurrentValidatorSet is a free data retrieval call binding the contract method 0x0209fdd0.

Solidity: function getCurrentValidatorSet() constant returns(uint256[])

func (*StakemanagerCallerSession) GetValidatorContract added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) GetValidatorContract(validatorId *big.Int) (common.Address, error)

GetValidatorContract is a free data retrieval call binding the contract method 0x56342d8c.

Solidity: function getValidatorContract(uint256 validatorId) constant returns(address)

func (*StakemanagerCallerSession) GetValidatorId added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) GetValidatorId(user common.Address) (*big.Int, error)

GetValidatorId is a free data retrieval call binding the contract method 0x174e6832.

Solidity: function getValidatorId(address user) constant returns(uint256)

func (*StakemanagerCallerSession) Governance added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() constant returns(address)

func (*StakemanagerCallerSession) IsOwner added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) IsOwner() (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*StakemanagerCallerSession) IsValidator added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) IsValidator(validatorId *big.Int) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0x2649263a.

Solidity: function isValidator(uint256 validatorId) constant returns(bool)

func (*StakemanagerCallerSession) Locked added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) Locked() (bool, error)

Locked is a free data retrieval call binding the contract method 0xcf309012.

Solidity: function locked() constant returns(bool)

func (*StakemanagerCallerSession) Logger added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) Logger() (common.Address, error)

Logger is a free data retrieval call binding the contract method 0xf24ccbfe.

Solidity: function logger() constant returns(address)

func (*StakemanagerCallerSession) MinDeposit added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) MinDeposit() (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x41b3d185.

Solidity: function minDeposit() constant returns(uint256)

func (*StakemanagerCallerSession) MinHeimdallFee added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) MinHeimdallFee() (*big.Int, error)

MinHeimdallFee is a free data retrieval call binding the contract method 0xfba58f34.

Solidity: function minHeimdallFee() constant returns(uint256)

func (*StakemanagerCallerSession) NFTContract added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) NFTContract() (common.Address, error)

NFTContract is a free data retrieval call binding the contract method 0x31c2273b.

Solidity: function NFTContract() constant returns(address)

func (*StakemanagerCallerSession) NFTCounter added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) NFTCounter() (*big.Int, error)

NFTCounter is a free data retrieval call binding the contract method 0x5508d8e1.

Solidity: function NFTCounter() constant returns(uint256)

func (*StakemanagerCallerSession) Owner added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*StakemanagerCallerSession) OwnerOf added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) constant returns(address)

func (*StakemanagerCallerSession) PerceivedStakeFactor added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) PerceivedStakeFactor(validatorId *big.Int) (*big.Int, error)

PerceivedStakeFactor is a free data retrieval call binding the contract method 0x357e6ff8.

Solidity: function perceivedStakeFactor(uint256 validatorId) constant returns(uint256)

func (*StakemanagerCallerSession) PubToAddress added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) PubToAddress(pub []byte) (common.Address, error)

PubToAddress is a free data retrieval call binding the contract method 0xd0110274.

Solidity: function pubToAddress(bytes pub) constant returns(address)

func (*StakemanagerCallerSession) Registry added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() constant returns(address)

func (*StakemanagerCallerSession) RootChain added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) RootChain() (common.Address, error)

RootChain is a free data retrieval call binding the contract method 0x987ab9db.

Solidity: function rootChain() constant returns(address)

func (*StakemanagerCallerSession) SignerToValidator added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) SignerToValidator(arg0 common.Address) (*big.Int, error)

SignerToValidator is a free data retrieval call binding the contract method 0x3862da0b.

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

func (*StakemanagerCallerSession) SupportsHistory

func (_Stakemanager *StakemanagerCallerSession) SupportsHistory() (bool, error)

SupportsHistory is a free data retrieval call binding the contract method 0x7033e4a6.

Solidity: function supportsHistory() constant returns(bool)

func (*StakemanagerCallerSession) Token added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) Token() (common.Address, error)

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

Solidity: function token() constant returns(address)

func (*StakemanagerCallerSession) TotalHeimdallFee added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) TotalHeimdallFee() (*big.Int, error)

TotalHeimdallFee is a free data retrieval call binding the contract method 0x9a8a6243.

Solidity: function totalHeimdallFee() constant returns(uint256)

func (*StakemanagerCallerSession) TotalRewards added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) TotalRewards() (*big.Int, error)

TotalRewards is a free data retrieval call binding the contract method 0x0e15561a.

Solidity: function totalRewards() constant returns(uint256)

func (*StakemanagerCallerSession) TotalRewardsLiquidated added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) TotalRewardsLiquidated() (*big.Int, error)

TotalRewardsLiquidated is a free data retrieval call binding the contract method 0xcd6b8388.

Solidity: function totalRewardsLiquidated() constant returns(uint256)

func (*StakemanagerCallerSession) TotalStaked added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) TotalStaked() (*big.Int, error)

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

Solidity: function totalStaked() constant returns(uint256)

func (*StakemanagerCallerSession) TotalStakedFor

func (_Stakemanager *StakemanagerCallerSession) TotalStakedFor(user common.Address) (*big.Int, error)

TotalStakedFor is a free data retrieval call binding the contract method 0x4b341aed.

Solidity: function totalStakedFor(address user) constant returns(uint256)

func (*StakemanagerCallerSession) ValidatorAuction added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) ValidatorAuction(arg0 *big.Int) (struct {
	Amount     *big.Int
	StartEpoch *big.Int
	User       common.Address
}, error)

ValidatorAuction is a free data retrieval call binding the contract method 0x5325e144.

Solidity: function validatorAuction(uint256 ) constant returns(uint256 amount, uint256 startEpoch, address user)

func (*StakemanagerCallerSession) ValidatorFeeExit added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) ValidatorFeeExit(arg0 *big.Int) (*big.Int, error)

ValidatorFeeExit is a free data retrieval call binding the contract method 0x90a42f16.

Solidity: function validatorFeeExit(uint256 ) constant returns(uint256)

func (*StakemanagerCallerSession) ValidatorState added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) ValidatorState(arg0 *big.Int) (struct {
	Amount      *big.Int
	StakerCount *big.Int
}, error)

ValidatorState is a free data retrieval call binding the contract method 0x5c248855.

Solidity: function validatorState(uint256 ) constant returns(int256 amount, int256 stakerCount)

func (*StakemanagerCallerSession) ValidatorThreshold added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) ValidatorThreshold() (*big.Int, error)

ValidatorThreshold is a free data retrieval call binding the contract method 0x4fd101d7.

Solidity: function validatorThreshold() constant returns(uint256)

func (*StakemanagerCallerSession) Validators added in v0.1.5

func (_Stakemanager *StakemanagerCallerSession) Validators(arg0 *big.Int) (struct {
	Amount            *big.Int
	Reward            *big.Int
	ActivationEpoch   *big.Int
	DeactivationEpoch *big.Int
	JailTime          *big.Int
	Signer            common.Address
	ContractAddress   common.Address
	Status            uint8
}, error)

Validators is a free data retrieval call binding the contract method 0x35aa2e44.

Solidity: function validators(uint256 ) constant returns(uint256 amount, uint256 reward, uint256 activationEpoch, uint256 deactivationEpoch, uint256 jailTime, address signer, address contractAddress, uint8 status)

func (*StakemanagerCallerSession) WITHDRAWALDELAY

func (_Stakemanager *StakemanagerCallerSession) WITHDRAWALDELAY() (*big.Int, error)

WITHDRAWALDELAY is a free data retrieval call binding the contract method 0x0ebb172a.

Solidity: function WITHDRAWAL_DELAY() constant returns(uint256)

type StakemanagerFilterer

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

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

func NewStakemanagerFilterer

func NewStakemanagerFilterer(address common.Address, filterer bind.ContractFilterer) (*StakemanagerFilterer, error)

NewStakemanagerFilterer creates a new log filterer instance of Stakemanager, bound to a specific deployed contract.

func (*StakemanagerFilterer) FilterOwnershipTransferred added in v0.1.5

func (_Stakemanager *StakemanagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StakemanagerOwnershipTransferredIterator, error)

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

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

func (*StakemanagerFilterer) FilterRootChainChanged added in v0.1.5

func (_Stakemanager *StakemanagerFilterer) FilterRootChainChanged(opts *bind.FilterOpts, previousRootChain []common.Address, newRootChain []common.Address) (*StakemanagerRootChainChangedIterator, error)

FilterRootChainChanged is a free log retrieval operation binding the contract event 0x211c9015fc81c0dbd45bd99f0f29fc1c143bfd53442d5ffd722bbbef7a887fe9.

Solidity: event RootChainChanged(address indexed previousRootChain, address indexed newRootChain)

func (*StakemanagerFilterer) ParseOwnershipTransferred added in v0.1.5

func (_Stakemanager *StakemanagerFilterer) ParseOwnershipTransferred(log types.Log) (*StakemanagerOwnershipTransferred, error)

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

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

func (*StakemanagerFilterer) ParseRootChainChanged added in v0.1.5

func (_Stakemanager *StakemanagerFilterer) ParseRootChainChanged(log types.Log) (*StakemanagerRootChainChanged, error)

ParseRootChainChanged is a log parse operation binding the contract event 0x211c9015fc81c0dbd45bd99f0f29fc1c143bfd53442d5ffd722bbbef7a887fe9.

Solidity: event RootChainChanged(address indexed previousRootChain, address indexed newRootChain)

func (*StakemanagerFilterer) WatchOwnershipTransferred added in v0.1.5

func (_Stakemanager *StakemanagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StakemanagerOwnershipTransferred, 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 (*StakemanagerFilterer) WatchRootChainChanged added in v0.1.5

func (_Stakemanager *StakemanagerFilterer) WatchRootChainChanged(opts *bind.WatchOpts, sink chan<- *StakemanagerRootChainChanged, previousRootChain []common.Address, newRootChain []common.Address) (event.Subscription, error)

WatchRootChainChanged is a free log subscription operation binding the contract event 0x211c9015fc81c0dbd45bd99f0f29fc1c143bfd53442d5ffd722bbbef7a887fe9.

Solidity: event RootChainChanged(address indexed previousRootChain, address indexed newRootChain)

type StakemanagerOwnershipTransferred added in v0.1.5

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

StakemanagerOwnershipTransferred represents a OwnershipTransferred event raised by the Stakemanager contract.

type StakemanagerOwnershipTransferredIterator added in v0.1.5

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

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

func (*StakemanagerOwnershipTransferredIterator) Close added in v0.1.5

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

func (*StakemanagerOwnershipTransferredIterator) Error added in v0.1.5

Error returns any retrieval or parsing error occurred during filtering.

func (*StakemanagerOwnershipTransferredIterator) Next added in v0.1.5

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 StakemanagerRaw

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

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

func (*StakemanagerRaw) Call

func (_Stakemanager *StakemanagerRaw) 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 (*StakemanagerRaw) Transact

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

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

func (*StakemanagerRaw) Transfer

func (_Stakemanager *StakemanagerRaw) 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 StakemanagerRootChainChanged added in v0.1.5

type StakemanagerRootChainChanged struct {
	PreviousRootChain common.Address
	NewRootChain      common.Address
	Raw               types.Log // Blockchain specific contextual infos
}

StakemanagerRootChainChanged represents a RootChainChanged event raised by the Stakemanager contract.

type StakemanagerRootChainChangedIterator added in v0.1.5

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

StakemanagerRootChainChangedIterator is returned from FilterRootChainChanged and is used to iterate over the raw logs and unpacked data for RootChainChanged events raised by the Stakemanager contract.

func (*StakemanagerRootChainChangedIterator) Close added in v0.1.5

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

func (*StakemanagerRootChainChangedIterator) Error added in v0.1.5

Error returns any retrieval or parsing error occurred during filtering.

func (*StakemanagerRootChainChangedIterator) Next added in v0.1.5

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 StakemanagerSession

type StakemanagerSession struct {
	Contract     *Stakemanager     // 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
}

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

func (*StakemanagerSession) AccountStateRoot

func (_Stakemanager *StakemanagerSession) AccountStateRoot() ([32]byte, error)

AccountStateRoot is a free data retrieval call binding the contract method 0x17c2b910.

Solidity: function accountStateRoot() constant returns(bytes32)

func (*StakemanagerSession) AuctionPeriod added in v0.1.5

func (_Stakemanager *StakemanagerSession) AuctionPeriod() (*big.Int, error)

AuctionPeriod is a free data retrieval call binding the contract method 0x0cccfc58.

Solidity: function auctionPeriod() constant returns(uint256)

func (*StakemanagerSession) CHECKPOINTREWARD added in v0.1.5

func (_Stakemanager *StakemanagerSession) CHECKPOINTREWARD() (*big.Int, error)

CHECKPOINTREWARD is a free data retrieval call binding the contract method 0x7d669752.

Solidity: function CHECKPOINT_REWARD() constant returns(uint256)

func (*StakemanagerSession) ChallangeStateRootUpdate added in v0.1.5

func (_Stakemanager *StakemanagerSession) ChallangeStateRootUpdate(checkpointTx []byte) (*types.Transaction, error)

ChallangeStateRootUpdate is a paid mutator transaction binding the contract method 0x7f5da718.

Solidity: function challangeStateRootUpdate(bytes checkpointTx) returns()

func (*StakemanagerSession) ChangeRootChain added in v0.1.5

func (_Stakemanager *StakemanagerSession) ChangeRootChain(newRootChain common.Address) (*types.Transaction, error)

ChangeRootChain is a paid mutator transaction binding the contract method 0xe8afa8e8.

Solidity: function changeRootChain(address newRootChain) returns()

func (*StakemanagerSession) CheckPointBlockInterval added in v0.1.5

func (_Stakemanager *StakemanagerSession) CheckPointBlockInterval() (*big.Int, error)

CheckPointBlockInterval is a free data retrieval call binding the contract method 0x25316411.

Solidity: function checkPointBlockInterval() constant returns(uint256)

func (*StakemanagerSession) CheckSignatures

func (_Stakemanager *StakemanagerSession) CheckSignatures(blockInterval *big.Int, voteHash [32]byte, stateRoot [32]byte, sigs []byte) (*types.Transaction, error)

CheckSignatures is a paid mutator transaction binding the contract method 0x5aac52f5.

Solidity: function checkSignatures(uint256 blockInterval, bytes32 voteHash, bytes32 stateRoot, bytes sigs) returns(uint256)

func (*StakemanagerSession) ClaimFee added in v0.1.5

func (_Stakemanager *StakemanagerSession) ClaimFee(validatorId *big.Int, accumSlashedAmount *big.Int, accumFeeAmount *big.Int, index *big.Int, proof []byte) (*types.Transaction, error)

ClaimFee is a paid mutator transaction binding the contract method 0xc344e766.

Solidity: function claimFee(uint256 validatorId, uint256 accumSlashedAmount, uint256 accumFeeAmount, uint256 index, bytes proof) returns()

func (*StakemanagerSession) ConfirmAuctionBid

func (_Stakemanager *StakemanagerSession) ConfirmAuctionBid(validatorId *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)

ConfirmAuctionBid is a paid mutator transaction binding the contract method 0xc8b194a2.

Solidity: function confirmAuctionBid(uint256 validatorId, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()

func (*StakemanagerSession) CurrentEpoch

func (_Stakemanager *StakemanagerSession) CurrentEpoch() (*big.Int, error)

CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.

Solidity: function currentEpoch() constant returns(uint256)

func (*StakemanagerSession) CurrentValidatorSetSize added in v0.1.5

func (_Stakemanager *StakemanagerSession) CurrentValidatorSetSize() (*big.Int, error)

CurrentValidatorSetSize is a free data retrieval call binding the contract method 0x7f952d95.

Solidity: function currentValidatorSetSize() constant returns(uint256)

func (*StakemanagerSession) CurrentValidatorSetTotalStake added in v0.1.5

func (_Stakemanager *StakemanagerSession) CurrentValidatorSetTotalStake() (*big.Int, error)

CurrentValidatorSetTotalStake is a free data retrieval call binding the contract method 0xa4769071.

Solidity: function currentValidatorSetTotalStake() constant returns(uint256)

func (*StakemanagerSession) DelegationDeposit added in v0.1.5

func (_Stakemanager *StakemanagerSession) DelegationDeposit(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)

DelegationDeposit is a paid mutator transaction binding the contract method 0x6901b253.

Solidity: function delegationDeposit(uint256 validatorId, uint256 amount, address delegator) returns(bool)

func (*StakemanagerSession) DelegationTransfer

func (_Stakemanager *StakemanagerSession) DelegationTransfer(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)

DelegationTransfer is a paid mutator transaction binding the contract method 0x4777fb42.

Solidity: function delegationTransfer(uint256 validatorId, uint256 amount, address delegator) returns(bool)

func (*StakemanagerSession) Dynasty added in v0.1.5

func (_Stakemanager *StakemanagerSession) Dynasty() (*big.Int, error)

Dynasty is a free data retrieval call binding the contract method 0x7060054d.

Solidity: function dynasty() constant returns(uint256)

func (*StakemanagerSession) Factory added in v0.1.5

func (_Stakemanager *StakemanagerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() constant returns(address)

func (*StakemanagerSession) ForceUnstake added in v0.1.5

func (_Stakemanager *StakemanagerSession) ForceUnstake(validatorId *big.Int) (*types.Transaction, error)

ForceUnstake is a paid mutator transaction binding the contract method 0x91460149.

Solidity: function forceUnstake(uint256 validatorId) returns()

func (*StakemanagerSession) GetCurrentValidatorSet added in v0.1.5

func (_Stakemanager *StakemanagerSession) GetCurrentValidatorSet() ([]*big.Int, error)

GetCurrentValidatorSet is a free data retrieval call binding the contract method 0x0209fdd0.

Solidity: function getCurrentValidatorSet() constant returns(uint256[])

func (*StakemanagerSession) GetValidatorContract added in v0.1.5

func (_Stakemanager *StakemanagerSession) GetValidatorContract(validatorId *big.Int) (common.Address, error)

GetValidatorContract is a free data retrieval call binding the contract method 0x56342d8c.

Solidity: function getValidatorContract(uint256 validatorId) constant returns(address)

func (*StakemanagerSession) GetValidatorId added in v0.1.5

func (_Stakemanager *StakemanagerSession) GetValidatorId(user common.Address) (*big.Int, error)

GetValidatorId is a free data retrieval call binding the contract method 0x174e6832.

Solidity: function getValidatorId(address user) constant returns(uint256)

func (*StakemanagerSession) Governance added in v0.1.5

func (_Stakemanager *StakemanagerSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() constant returns(address)

func (*StakemanagerSession) IsOwner added in v0.1.5

func (_Stakemanager *StakemanagerSession) IsOwner() (bool, error)

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

Solidity: function isOwner() constant returns(bool)

func (*StakemanagerSession) IsValidator added in v0.1.5

func (_Stakemanager *StakemanagerSession) IsValidator(validatorId *big.Int) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0x2649263a.

Solidity: function isValidator(uint256 validatorId) constant returns(bool)

func (*StakemanagerSession) Jail added in v0.1.5

func (_Stakemanager *StakemanagerSession) Jail(validatorId *big.Int, jailCheckpoints *big.Int) (*types.Transaction, error)

Jail is a paid mutator transaction binding the contract method 0xd2203766.

Solidity: function jail(uint256 validatorId, uint256 jailCheckpoints) returns()

func (*StakemanagerSession) Lock added in v0.1.5

func (_Stakemanager *StakemanagerSession) Lock() (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xf83d08ba.

Solidity: function lock() returns()

func (*StakemanagerSession) Locked added in v0.1.5

func (_Stakemanager *StakemanagerSession) Locked() (bool, error)

Locked is a free data retrieval call binding the contract method 0xcf309012.

Solidity: function locked() constant returns(bool)

func (*StakemanagerSession) Logger added in v0.1.5

func (_Stakemanager *StakemanagerSession) Logger() (common.Address, error)

Logger is a free data retrieval call binding the contract method 0xf24ccbfe.

Solidity: function logger() constant returns(address)

func (*StakemanagerSession) MinDeposit added in v0.1.5

func (_Stakemanager *StakemanagerSession) MinDeposit() (*big.Int, error)

MinDeposit is a free data retrieval call binding the contract method 0x41b3d185.

Solidity: function minDeposit() constant returns(uint256)

func (*StakemanagerSession) MinHeimdallFee added in v0.1.5

func (_Stakemanager *StakemanagerSession) MinHeimdallFee() (*big.Int, error)

MinHeimdallFee is a free data retrieval call binding the contract method 0xfba58f34.

Solidity: function minHeimdallFee() constant returns(uint256)

func (*StakemanagerSession) NFTContract added in v0.1.5

func (_Stakemanager *StakemanagerSession) NFTContract() (common.Address, error)

NFTContract is a free data retrieval call binding the contract method 0x31c2273b.

Solidity: function NFTContract() constant returns(address)

func (*StakemanagerSession) NFTCounter added in v0.1.5

func (_Stakemanager *StakemanagerSession) NFTCounter() (*big.Int, error)

NFTCounter is a free data retrieval call binding the contract method 0x5508d8e1.

Solidity: function NFTCounter() constant returns(uint256)

func (*StakemanagerSession) Owner added in v0.1.5

func (_Stakemanager *StakemanagerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*StakemanagerSession) OwnerOf added in v0.1.5

func (_Stakemanager *StakemanagerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) constant returns(address)

func (*StakemanagerSession) PerceivedStakeFactor added in v0.1.5

func (_Stakemanager *StakemanagerSession) PerceivedStakeFactor(validatorId *big.Int) (*big.Int, error)

PerceivedStakeFactor is a free data retrieval call binding the contract method 0x357e6ff8.

Solidity: function perceivedStakeFactor(uint256 validatorId) constant returns(uint256)

func (*StakemanagerSession) PubToAddress added in v0.1.5

func (_Stakemanager *StakemanagerSession) PubToAddress(pub []byte) (common.Address, error)

PubToAddress is a free data retrieval call binding the contract method 0xd0110274.

Solidity: function pubToAddress(bytes pub) constant returns(address)

func (*StakemanagerSession) Registry added in v0.1.5

func (_Stakemanager *StakemanagerSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() constant returns(address)

func (*StakemanagerSession) RenounceOwnership added in v0.1.5

func (_Stakemanager *StakemanagerSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*StakemanagerSession) Restake added in v0.1.5

func (_Stakemanager *StakemanagerSession) Restake(validatorId *big.Int, amount *big.Int, stakeRewards bool) (*types.Transaction, error)

Restake is a paid mutator transaction binding the contract method 0x28cc4e41.

Solidity: function restake(uint256 validatorId, uint256 amount, bool stakeRewards) returns()

func (*StakemanagerSession) RootChain added in v0.1.5

func (_Stakemanager *StakemanagerSession) RootChain() (common.Address, error)

RootChain is a free data retrieval call binding the contract method 0x987ab9db.

Solidity: function rootChain() constant returns(address)

func (*StakemanagerSession) SetToken added in v0.1.5

func (_Stakemanager *StakemanagerSession) SetToken(_token common.Address) (*types.Transaction, error)

SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.

Solidity: function setToken(address _token) returns()

func (*StakemanagerSession) SignerToValidator added in v0.1.5

func (_Stakemanager *StakemanagerSession) SignerToValidator(arg0 common.Address) (*big.Int, error)

SignerToValidator is a free data retrieval call binding the contract method 0x3862da0b.

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

func (*StakemanagerSession) Slash added in v0.1.5

func (_Stakemanager *StakemanagerSession) Slash(validatorId *big.Int, slashingRate *big.Int, jailCheckpoints *big.Int) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x6cbb6050.

Solidity: function slash(uint256 validatorId, uint256 slashingRate, uint256 jailCheckpoints) returns()

func (*StakemanagerSession) Stake

func (_Stakemanager *StakemanagerSession) Stake(amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x028c4c67.

Solidity: function stake(uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()

func (*StakemanagerSession) StakeFor

func (_Stakemanager *StakemanagerSession) StakeFor(user common.Address, amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)

StakeFor is a paid mutator transaction binding the contract method 0x4fdd20f1.

Solidity: function stakeFor(address user, uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()

func (*StakemanagerSession) StartAuction

func (_Stakemanager *StakemanagerSession) StartAuction(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)

StartAuction is a paid mutator transaction binding the contract method 0x4fee13fc.

Solidity: function startAuction(uint256 validatorId, uint256 amount) returns()

func (*StakemanagerSession) SupportsHistory

func (_Stakemanager *StakemanagerSession) SupportsHistory() (bool, error)

SupportsHistory is a free data retrieval call binding the contract method 0x7033e4a6.

Solidity: function supportsHistory() constant returns(bool)

func (*StakemanagerSession) Token added in v0.1.5

func (_Stakemanager *StakemanagerSession) Token() (common.Address, error)

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

Solidity: function token() constant returns(address)

func (*StakemanagerSession) TopUpForFee added in v0.1.5

func (_Stakemanager *StakemanagerSession) TopUpForFee(validatorId *big.Int, heimdallFee *big.Int) (*types.Transaction, error)

TopUpForFee is a paid mutator transaction binding the contract method 0xac586292.

Solidity: function topUpForFee(uint256 validatorId, uint256 heimdallFee) returns()

func (*StakemanagerSession) TotalHeimdallFee added in v0.1.5

func (_Stakemanager *StakemanagerSession) TotalHeimdallFee() (*big.Int, error)

TotalHeimdallFee is a free data retrieval call binding the contract method 0x9a8a6243.

Solidity: function totalHeimdallFee() constant returns(uint256)

func (*StakemanagerSession) TotalRewards added in v0.1.5

func (_Stakemanager *StakemanagerSession) TotalRewards() (*big.Int, error)

TotalRewards is a free data retrieval call binding the contract method 0x0e15561a.

Solidity: function totalRewards() constant returns(uint256)

func (*StakemanagerSession) TotalRewardsLiquidated added in v0.1.5

func (_Stakemanager *StakemanagerSession) TotalRewardsLiquidated() (*big.Int, error)

TotalRewardsLiquidated is a free data retrieval call binding the contract method 0xcd6b8388.

Solidity: function totalRewardsLiquidated() constant returns(uint256)

func (*StakemanagerSession) TotalStaked added in v0.1.5

func (_Stakemanager *StakemanagerSession) TotalStaked() (*big.Int, error)

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

Solidity: function totalStaked() constant returns(uint256)

func (*StakemanagerSession) TotalStakedFor

func (_Stakemanager *StakemanagerSession) TotalStakedFor(user common.Address) (*big.Int, error)

TotalStakedFor is a free data retrieval call binding the contract method 0x4b341aed.

Solidity: function totalStakedFor(address user) constant returns(uint256)

func (*StakemanagerSession) TransferOwnership added in v0.1.5

func (_Stakemanager *StakemanagerSession) 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 (*StakemanagerSession) UnJail added in v0.1.5

func (_Stakemanager *StakemanagerSession) UnJail(validatorId *big.Int) (*types.Transaction, error)

UnJail is a paid mutator transaction binding the contract method 0x3d02455b.

Solidity: function unJail(uint256 validatorId) returns()

func (*StakemanagerSession) Unlock added in v0.1.5

func (_Stakemanager *StakemanagerSession) Unlock() (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*StakemanagerSession) Unstake

func (_Stakemanager *StakemanagerSession) Unstake(validatorId *big.Int) (*types.Transaction, error)

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

Solidity: function unstake(uint256 validatorId) returns()

func (*StakemanagerSession) UnstakeClaim added in v0.1.5

func (_Stakemanager *StakemanagerSession) UnstakeClaim(validatorId *big.Int) (*types.Transaction, error)

UnstakeClaim is a paid mutator transaction binding the contract method 0xd86d53e7.

Solidity: function unstakeClaim(uint256 validatorId) returns()

func (*StakemanagerSession) UpdateCheckPointBlockInterval added in v0.1.5

func (_Stakemanager *StakemanagerSession) UpdateCheckPointBlockInterval(_blocks *big.Int) (*types.Transaction, error)

UpdateCheckPointBlockInterval is a paid mutator transaction binding the contract method 0xa440ab1e.

Solidity: function updateCheckPointBlockInterval(uint256 _blocks) returns()

func (*StakemanagerSession) UpdateCheckpointReward added in v0.1.5

func (_Stakemanager *StakemanagerSession) UpdateCheckpointReward(newReward *big.Int) (*types.Transaction, error)

UpdateCheckpointReward is a paid mutator transaction binding the contract method 0xcbf383d5.

Solidity: function updateCheckpointReward(uint256 newReward) returns()

func (*StakemanagerSession) UpdateConstructor added in v0.1.5

func (_Stakemanager *StakemanagerSession) UpdateConstructor(_registry common.Address, _rootchain common.Address, _NFTContract common.Address, _stakingLogger common.Address, _ValidatorShareFactory common.Address) (*types.Transaction, error)

UpdateConstructor is a paid mutator transaction binding the contract method 0x118bdec9.

Solidity: function updateConstructor(address _registry, address _rootchain, address _NFTContract, address _stakingLogger, address _ValidatorShareFactory) returns()

func (*StakemanagerSession) UpdateDynastyValue added in v0.1.5

func (_Stakemanager *StakemanagerSession) UpdateDynastyValue(newDynasty *big.Int) (*types.Transaction, error)

UpdateDynastyValue is a paid mutator transaction binding the contract method 0xe6692f49.

Solidity: function updateDynastyValue(uint256 newDynasty) returns()

func (*StakemanagerSession) UpdateMinAmounts added in v0.1.5

func (_Stakemanager *StakemanagerSession) UpdateMinAmounts(_minDeposit *big.Int, _minHeimdallFee *big.Int) (*types.Transaction, error)

UpdateMinAmounts is a paid mutator transaction binding the contract method 0xb1d23f02.

Solidity: function updateMinAmounts(uint256 _minDeposit, uint256 _minHeimdallFee) returns()

func (*StakemanagerSession) UpdateSigner added in v0.1.5

func (_Stakemanager *StakemanagerSession) UpdateSigner(validatorId *big.Int, signerPubkey []byte) (*types.Transaction, error)

UpdateSigner is a paid mutator transaction binding the contract method 0xf41a9642.

Solidity: function updateSigner(uint256 validatorId, bytes signerPubkey) returns()

func (*StakemanagerSession) UpdateValidatorState

func (_Stakemanager *StakemanagerSession) UpdateValidatorState(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)

UpdateValidatorState is a paid mutator transaction binding the contract method 0x9ff11500.

Solidity: function updateValidatorState(uint256 validatorId, int256 amount) returns()

func (*StakemanagerSession) UpdateValidatorThreshold added in v0.1.5

func (_Stakemanager *StakemanagerSession) UpdateValidatorThreshold(newThreshold *big.Int) (*types.Transaction, error)

UpdateValidatorThreshold is a paid mutator transaction binding the contract method 0x16827b1b.

Solidity: function updateValidatorThreshold(uint256 newThreshold) returns()

func (*StakemanagerSession) ValidatorAuction added in v0.1.5

func (_Stakemanager *StakemanagerSession) ValidatorAuction(arg0 *big.Int) (struct {
	Amount     *big.Int
	StartEpoch *big.Int
	User       common.Address
}, error)

ValidatorAuction is a free data retrieval call binding the contract method 0x5325e144.

Solidity: function validatorAuction(uint256 ) constant returns(uint256 amount, uint256 startEpoch, address user)

func (*StakemanagerSession) ValidatorFeeExit added in v0.1.5

func (_Stakemanager *StakemanagerSession) ValidatorFeeExit(arg0 *big.Int) (*big.Int, error)

ValidatorFeeExit is a free data retrieval call binding the contract method 0x90a42f16.

Solidity: function validatorFeeExit(uint256 ) constant returns(uint256)

func (*StakemanagerSession) ValidatorState added in v0.1.5

func (_Stakemanager *StakemanagerSession) ValidatorState(arg0 *big.Int) (struct {
	Amount      *big.Int
	StakerCount *big.Int
}, error)

ValidatorState is a free data retrieval call binding the contract method 0x5c248855.

Solidity: function validatorState(uint256 ) constant returns(int256 amount, int256 stakerCount)

func (*StakemanagerSession) ValidatorThreshold added in v0.1.5

func (_Stakemanager *StakemanagerSession) ValidatorThreshold() (*big.Int, error)

ValidatorThreshold is a free data retrieval call binding the contract method 0x4fd101d7.

Solidity: function validatorThreshold() constant returns(uint256)

func (*StakemanagerSession) Validators added in v0.1.5

func (_Stakemanager *StakemanagerSession) Validators(arg0 *big.Int) (struct {
	Amount            *big.Int
	Reward            *big.Int
	ActivationEpoch   *big.Int
	DeactivationEpoch *big.Int
	JailTime          *big.Int
	Signer            common.Address
	ContractAddress   common.Address
	Status            uint8
}, error)

Validators is a free data retrieval call binding the contract method 0x35aa2e44.

Solidity: function validators(uint256 ) constant returns(uint256 amount, uint256 reward, uint256 activationEpoch, uint256 deactivationEpoch, uint256 jailTime, address signer, address contractAddress, uint8 status)

func (*StakemanagerSession) WITHDRAWALDELAY

func (_Stakemanager *StakemanagerSession) WITHDRAWALDELAY() (*big.Int, error)

WITHDRAWALDELAY is a free data retrieval call binding the contract method 0x0ebb172a.

Solidity: function WITHDRAWAL_DELAY() constant returns(uint256)

func (*StakemanagerSession) WithdrawRewards added in v0.1.5

func (_Stakemanager *StakemanagerSession) WithdrawRewards(validatorId *big.Int) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0x9342c8f4.

Solidity: function withdrawRewards(uint256 validatorId) returns()

type StakemanagerTransactor

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

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

func NewStakemanagerTransactor

func NewStakemanagerTransactor(address common.Address, transactor bind.ContractTransactor) (*StakemanagerTransactor, error)

NewStakemanagerTransactor creates a new write-only instance of Stakemanager, bound to a specific deployed contract.

func (*StakemanagerTransactor) ChallangeStateRootUpdate added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) ChallangeStateRootUpdate(opts *bind.TransactOpts, checkpointTx []byte) (*types.Transaction, error)

ChallangeStateRootUpdate is a paid mutator transaction binding the contract method 0x7f5da718.

Solidity: function challangeStateRootUpdate(bytes checkpointTx) returns()

func (*StakemanagerTransactor) ChangeRootChain added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) ChangeRootChain(opts *bind.TransactOpts, newRootChain common.Address) (*types.Transaction, error)

ChangeRootChain is a paid mutator transaction binding the contract method 0xe8afa8e8.

Solidity: function changeRootChain(address newRootChain) returns()

func (*StakemanagerTransactor) CheckSignatures

func (_Stakemanager *StakemanagerTransactor) CheckSignatures(opts *bind.TransactOpts, blockInterval *big.Int, voteHash [32]byte, stateRoot [32]byte, sigs []byte) (*types.Transaction, error)

CheckSignatures is a paid mutator transaction binding the contract method 0x5aac52f5.

Solidity: function checkSignatures(uint256 blockInterval, bytes32 voteHash, bytes32 stateRoot, bytes sigs) returns(uint256)

func (*StakemanagerTransactor) ClaimFee added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) ClaimFee(opts *bind.TransactOpts, validatorId *big.Int, accumSlashedAmount *big.Int, accumFeeAmount *big.Int, index *big.Int, proof []byte) (*types.Transaction, error)

ClaimFee is a paid mutator transaction binding the contract method 0xc344e766.

Solidity: function claimFee(uint256 validatorId, uint256 accumSlashedAmount, uint256 accumFeeAmount, uint256 index, bytes proof) returns()

func (*StakemanagerTransactor) ConfirmAuctionBid

func (_Stakemanager *StakemanagerTransactor) ConfirmAuctionBid(opts *bind.TransactOpts, validatorId *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)

ConfirmAuctionBid is a paid mutator transaction binding the contract method 0xc8b194a2.

Solidity: function confirmAuctionBid(uint256 validatorId, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()

func (*StakemanagerTransactor) DelegationDeposit added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) DelegationDeposit(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)

DelegationDeposit is a paid mutator transaction binding the contract method 0x6901b253.

Solidity: function delegationDeposit(uint256 validatorId, uint256 amount, address delegator) returns(bool)

func (*StakemanagerTransactor) DelegationTransfer

func (_Stakemanager *StakemanagerTransactor) DelegationTransfer(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)

DelegationTransfer is a paid mutator transaction binding the contract method 0x4777fb42.

Solidity: function delegationTransfer(uint256 validatorId, uint256 amount, address delegator) returns(bool)

func (*StakemanagerTransactor) ForceUnstake added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) ForceUnstake(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)

ForceUnstake is a paid mutator transaction binding the contract method 0x91460149.

Solidity: function forceUnstake(uint256 validatorId) returns()

func (*StakemanagerTransactor) Jail added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) Jail(opts *bind.TransactOpts, validatorId *big.Int, jailCheckpoints *big.Int) (*types.Transaction, error)

Jail is a paid mutator transaction binding the contract method 0xd2203766.

Solidity: function jail(uint256 validatorId, uint256 jailCheckpoints) returns()

func (*StakemanagerTransactor) Lock added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) Lock(opts *bind.TransactOpts) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xf83d08ba.

Solidity: function lock() returns()

func (*StakemanagerTransactor) RenounceOwnership added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*StakemanagerTransactor) Restake added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) Restake(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int, stakeRewards bool) (*types.Transaction, error)

Restake is a paid mutator transaction binding the contract method 0x28cc4e41.

Solidity: function restake(uint256 validatorId, uint256 amount, bool stakeRewards) returns()

func (*StakemanagerTransactor) SetToken added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) SetToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.

Solidity: function setToken(address _token) returns()

func (*StakemanagerTransactor) Slash added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) Slash(opts *bind.TransactOpts, validatorId *big.Int, slashingRate *big.Int, jailCheckpoints *big.Int) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x6cbb6050.

Solidity: function slash(uint256 validatorId, uint256 slashingRate, uint256 jailCheckpoints) returns()

func (*StakemanagerTransactor) Stake

func (_Stakemanager *StakemanagerTransactor) Stake(opts *bind.TransactOpts, amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x028c4c67.

Solidity: function stake(uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()

func (*StakemanagerTransactor) StakeFor

func (_Stakemanager *StakemanagerTransactor) StakeFor(opts *bind.TransactOpts, user common.Address, amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)

StakeFor is a paid mutator transaction binding the contract method 0x4fdd20f1.

Solidity: function stakeFor(address user, uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()

func (*StakemanagerTransactor) StartAuction

func (_Stakemanager *StakemanagerTransactor) StartAuction(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int) (*types.Transaction, error)

StartAuction is a paid mutator transaction binding the contract method 0x4fee13fc.

Solidity: function startAuction(uint256 validatorId, uint256 amount) returns()

func (*StakemanagerTransactor) TopUpForFee added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) TopUpForFee(opts *bind.TransactOpts, validatorId *big.Int, heimdallFee *big.Int) (*types.Transaction, error)

TopUpForFee is a paid mutator transaction binding the contract method 0xac586292.

Solidity: function topUpForFee(uint256 validatorId, uint256 heimdallFee) returns()

func (*StakemanagerTransactor) TransferOwnership added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) 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 (*StakemanagerTransactor) UnJail added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) UnJail(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)

UnJail is a paid mutator transaction binding the contract method 0x3d02455b.

Solidity: function unJail(uint256 validatorId) returns()

func (*StakemanagerTransactor) Unlock added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) Unlock(opts *bind.TransactOpts) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*StakemanagerTransactor) Unstake

func (_Stakemanager *StakemanagerTransactor) Unstake(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)

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

Solidity: function unstake(uint256 validatorId) returns()

func (*StakemanagerTransactor) UnstakeClaim added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) UnstakeClaim(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)

UnstakeClaim is a paid mutator transaction binding the contract method 0xd86d53e7.

Solidity: function unstakeClaim(uint256 validatorId) returns()

func (*StakemanagerTransactor) UpdateCheckPointBlockInterval added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) UpdateCheckPointBlockInterval(opts *bind.TransactOpts, _blocks *big.Int) (*types.Transaction, error)

UpdateCheckPointBlockInterval is a paid mutator transaction binding the contract method 0xa440ab1e.

Solidity: function updateCheckPointBlockInterval(uint256 _blocks) returns()

func (*StakemanagerTransactor) UpdateCheckpointReward added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) UpdateCheckpointReward(opts *bind.TransactOpts, newReward *big.Int) (*types.Transaction, error)

UpdateCheckpointReward is a paid mutator transaction binding the contract method 0xcbf383d5.

Solidity: function updateCheckpointReward(uint256 newReward) returns()

func (*StakemanagerTransactor) UpdateConstructor added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) UpdateConstructor(opts *bind.TransactOpts, _registry common.Address, _rootchain common.Address, _NFTContract common.Address, _stakingLogger common.Address, _ValidatorShareFactory common.Address) (*types.Transaction, error)

UpdateConstructor is a paid mutator transaction binding the contract method 0x118bdec9.

Solidity: function updateConstructor(address _registry, address _rootchain, address _NFTContract, address _stakingLogger, address _ValidatorShareFactory) returns()

func (*StakemanagerTransactor) UpdateDynastyValue added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) UpdateDynastyValue(opts *bind.TransactOpts, newDynasty *big.Int) (*types.Transaction, error)

UpdateDynastyValue is a paid mutator transaction binding the contract method 0xe6692f49.

Solidity: function updateDynastyValue(uint256 newDynasty) returns()

func (*StakemanagerTransactor) UpdateMinAmounts added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) UpdateMinAmounts(opts *bind.TransactOpts, _minDeposit *big.Int, _minHeimdallFee *big.Int) (*types.Transaction, error)

UpdateMinAmounts is a paid mutator transaction binding the contract method 0xb1d23f02.

Solidity: function updateMinAmounts(uint256 _minDeposit, uint256 _minHeimdallFee) returns()

func (*StakemanagerTransactor) UpdateSigner added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) UpdateSigner(opts *bind.TransactOpts, validatorId *big.Int, signerPubkey []byte) (*types.Transaction, error)

UpdateSigner is a paid mutator transaction binding the contract method 0xf41a9642.

Solidity: function updateSigner(uint256 validatorId, bytes signerPubkey) returns()

func (*StakemanagerTransactor) UpdateValidatorState

func (_Stakemanager *StakemanagerTransactor) UpdateValidatorState(opts *bind.TransactOpts, validatorId *big.Int, amount *big.Int) (*types.Transaction, error)

UpdateValidatorState is a paid mutator transaction binding the contract method 0x9ff11500.

Solidity: function updateValidatorState(uint256 validatorId, int256 amount) returns()

func (*StakemanagerTransactor) UpdateValidatorThreshold added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) UpdateValidatorThreshold(opts *bind.TransactOpts, newThreshold *big.Int) (*types.Transaction, error)

UpdateValidatorThreshold is a paid mutator transaction binding the contract method 0x16827b1b.

Solidity: function updateValidatorThreshold(uint256 newThreshold) returns()

func (*StakemanagerTransactor) WithdrawRewards added in v0.1.5

func (_Stakemanager *StakemanagerTransactor) WithdrawRewards(opts *bind.TransactOpts, validatorId *big.Int) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0x9342c8f4.

Solidity: function withdrawRewards(uint256 validatorId) returns()

type StakemanagerTransactorRaw

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

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

func (*StakemanagerTransactorRaw) Transact

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

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

func (*StakemanagerTransactorRaw) Transfer

func (_Stakemanager *StakemanagerTransactorRaw) 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 StakemanagerTransactorSession

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

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

func (*StakemanagerTransactorSession) ChallangeStateRootUpdate added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) ChallangeStateRootUpdate(checkpointTx []byte) (*types.Transaction, error)

ChallangeStateRootUpdate is a paid mutator transaction binding the contract method 0x7f5da718.

Solidity: function challangeStateRootUpdate(bytes checkpointTx) returns()

func (*StakemanagerTransactorSession) ChangeRootChain added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) ChangeRootChain(newRootChain common.Address) (*types.Transaction, error)

ChangeRootChain is a paid mutator transaction binding the contract method 0xe8afa8e8.

Solidity: function changeRootChain(address newRootChain) returns()

func (*StakemanagerTransactorSession) CheckSignatures

func (_Stakemanager *StakemanagerTransactorSession) CheckSignatures(blockInterval *big.Int, voteHash [32]byte, stateRoot [32]byte, sigs []byte) (*types.Transaction, error)

CheckSignatures is a paid mutator transaction binding the contract method 0x5aac52f5.

Solidity: function checkSignatures(uint256 blockInterval, bytes32 voteHash, bytes32 stateRoot, bytes sigs) returns(uint256)

func (*StakemanagerTransactorSession) ClaimFee added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) ClaimFee(validatorId *big.Int, accumSlashedAmount *big.Int, accumFeeAmount *big.Int, index *big.Int, proof []byte) (*types.Transaction, error)

ClaimFee is a paid mutator transaction binding the contract method 0xc344e766.

Solidity: function claimFee(uint256 validatorId, uint256 accumSlashedAmount, uint256 accumFeeAmount, uint256 index, bytes proof) returns()

func (*StakemanagerTransactorSession) ConfirmAuctionBid

func (_Stakemanager *StakemanagerTransactorSession) ConfirmAuctionBid(validatorId *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)

ConfirmAuctionBid is a paid mutator transaction binding the contract method 0xc8b194a2.

Solidity: function confirmAuctionBid(uint256 validatorId, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()

func (*StakemanagerTransactorSession) DelegationDeposit added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) DelegationDeposit(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)

DelegationDeposit is a paid mutator transaction binding the contract method 0x6901b253.

Solidity: function delegationDeposit(uint256 validatorId, uint256 amount, address delegator) returns(bool)

func (*StakemanagerTransactorSession) DelegationTransfer

func (_Stakemanager *StakemanagerTransactorSession) DelegationTransfer(validatorId *big.Int, amount *big.Int, delegator common.Address) (*types.Transaction, error)

DelegationTransfer is a paid mutator transaction binding the contract method 0x4777fb42.

Solidity: function delegationTransfer(uint256 validatorId, uint256 amount, address delegator) returns(bool)

func (*StakemanagerTransactorSession) ForceUnstake added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) ForceUnstake(validatorId *big.Int) (*types.Transaction, error)

ForceUnstake is a paid mutator transaction binding the contract method 0x91460149.

Solidity: function forceUnstake(uint256 validatorId) returns()

func (*StakemanagerTransactorSession) Jail added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) Jail(validatorId *big.Int, jailCheckpoints *big.Int) (*types.Transaction, error)

Jail is a paid mutator transaction binding the contract method 0xd2203766.

Solidity: function jail(uint256 validatorId, uint256 jailCheckpoints) returns()

func (*StakemanagerTransactorSession) Lock added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) Lock() (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xf83d08ba.

Solidity: function lock() returns()

func (*StakemanagerTransactorSession) RenounceOwnership added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*StakemanagerTransactorSession) Restake added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) Restake(validatorId *big.Int, amount *big.Int, stakeRewards bool) (*types.Transaction, error)

Restake is a paid mutator transaction binding the contract method 0x28cc4e41.

Solidity: function restake(uint256 validatorId, uint256 amount, bool stakeRewards) returns()

func (*StakemanagerTransactorSession) SetToken added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) SetToken(_token common.Address) (*types.Transaction, error)

SetToken is a paid mutator transaction binding the contract method 0x144fa6d7.

Solidity: function setToken(address _token) returns()

func (*StakemanagerTransactorSession) Slash added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) Slash(validatorId *big.Int, slashingRate *big.Int, jailCheckpoints *big.Int) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x6cbb6050.

Solidity: function slash(uint256 validatorId, uint256 slashingRate, uint256 jailCheckpoints) returns()

func (*StakemanagerTransactorSession) Stake

func (_Stakemanager *StakemanagerTransactorSession) Stake(amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0x028c4c67.

Solidity: function stake(uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()

func (*StakemanagerTransactorSession) StakeFor

func (_Stakemanager *StakemanagerTransactorSession) StakeFor(user common.Address, amount *big.Int, heimdallFee *big.Int, acceptDelegation bool, signerPubkey []byte) (*types.Transaction, error)

StakeFor is a paid mutator transaction binding the contract method 0x4fdd20f1.

Solidity: function stakeFor(address user, uint256 amount, uint256 heimdallFee, bool acceptDelegation, bytes signerPubkey) returns()

func (*StakemanagerTransactorSession) StartAuction

func (_Stakemanager *StakemanagerTransactorSession) StartAuction(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)

StartAuction is a paid mutator transaction binding the contract method 0x4fee13fc.

Solidity: function startAuction(uint256 validatorId, uint256 amount) returns()

func (*StakemanagerTransactorSession) TopUpForFee added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) TopUpForFee(validatorId *big.Int, heimdallFee *big.Int) (*types.Transaction, error)

TopUpForFee is a paid mutator transaction binding the contract method 0xac586292.

Solidity: function topUpForFee(uint256 validatorId, uint256 heimdallFee) returns()

func (*StakemanagerTransactorSession) TransferOwnership added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) 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 (*StakemanagerTransactorSession) UnJail added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) UnJail(validatorId *big.Int) (*types.Transaction, error)

UnJail is a paid mutator transaction binding the contract method 0x3d02455b.

Solidity: function unJail(uint256 validatorId) returns()

func (*StakemanagerTransactorSession) Unlock added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) Unlock() (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*StakemanagerTransactorSession) Unstake

func (_Stakemanager *StakemanagerTransactorSession) Unstake(validatorId *big.Int) (*types.Transaction, error)

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

Solidity: function unstake(uint256 validatorId) returns()

func (*StakemanagerTransactorSession) UnstakeClaim added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) UnstakeClaim(validatorId *big.Int) (*types.Transaction, error)

UnstakeClaim is a paid mutator transaction binding the contract method 0xd86d53e7.

Solidity: function unstakeClaim(uint256 validatorId) returns()

func (*StakemanagerTransactorSession) UpdateCheckPointBlockInterval added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) UpdateCheckPointBlockInterval(_blocks *big.Int) (*types.Transaction, error)

UpdateCheckPointBlockInterval is a paid mutator transaction binding the contract method 0xa440ab1e.

Solidity: function updateCheckPointBlockInterval(uint256 _blocks) returns()

func (*StakemanagerTransactorSession) UpdateCheckpointReward added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) UpdateCheckpointReward(newReward *big.Int) (*types.Transaction, error)

UpdateCheckpointReward is a paid mutator transaction binding the contract method 0xcbf383d5.

Solidity: function updateCheckpointReward(uint256 newReward) returns()

func (*StakemanagerTransactorSession) UpdateConstructor added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) UpdateConstructor(_registry common.Address, _rootchain common.Address, _NFTContract common.Address, _stakingLogger common.Address, _ValidatorShareFactory common.Address) (*types.Transaction, error)

UpdateConstructor is a paid mutator transaction binding the contract method 0x118bdec9.

Solidity: function updateConstructor(address _registry, address _rootchain, address _NFTContract, address _stakingLogger, address _ValidatorShareFactory) returns()

func (*StakemanagerTransactorSession) UpdateDynastyValue added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) UpdateDynastyValue(newDynasty *big.Int) (*types.Transaction, error)

UpdateDynastyValue is a paid mutator transaction binding the contract method 0xe6692f49.

Solidity: function updateDynastyValue(uint256 newDynasty) returns()

func (*StakemanagerTransactorSession) UpdateMinAmounts added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) UpdateMinAmounts(_minDeposit *big.Int, _minHeimdallFee *big.Int) (*types.Transaction, error)

UpdateMinAmounts is a paid mutator transaction binding the contract method 0xb1d23f02.

Solidity: function updateMinAmounts(uint256 _minDeposit, uint256 _minHeimdallFee) returns()

func (*StakemanagerTransactorSession) UpdateSigner added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) UpdateSigner(validatorId *big.Int, signerPubkey []byte) (*types.Transaction, error)

UpdateSigner is a paid mutator transaction binding the contract method 0xf41a9642.

Solidity: function updateSigner(uint256 validatorId, bytes signerPubkey) returns()

func (*StakemanagerTransactorSession) UpdateValidatorState

func (_Stakemanager *StakemanagerTransactorSession) UpdateValidatorState(validatorId *big.Int, amount *big.Int) (*types.Transaction, error)

UpdateValidatorState is a paid mutator transaction binding the contract method 0x9ff11500.

Solidity: function updateValidatorState(uint256 validatorId, int256 amount) returns()

func (*StakemanagerTransactorSession) UpdateValidatorThreshold added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) UpdateValidatorThreshold(newThreshold *big.Int) (*types.Transaction, error)

UpdateValidatorThreshold is a paid mutator transaction binding the contract method 0x16827b1b.

Solidity: function updateValidatorThreshold(uint256 newThreshold) returns()

func (*StakemanagerTransactorSession) WithdrawRewards added in v0.1.5

func (_Stakemanager *StakemanagerTransactorSession) WithdrawRewards(validatorId *big.Int) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0x9342c8f4.

Solidity: function withdrawRewards(uint256 validatorId) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL