PoolingStakingContract

notice

Contract acts as delegate for sub-stakers and owner*

methods

constructor

params

_ownerFraction

Base owner’s portion of reward

_router

Address of the StakingInterfaceRouter contract

depositTokens(uint256)

notice

Transfer tokens as delegator

params

_value

Amount of tokens to transfer

disableDeposit()

notice

Disable deposit

enableDeposit()

notice

Enabled deposit

getAvailableETH(address)

notice

Get available ether for delegator

getAvailableOwnerETH()

notice

Get available ether for owner

getAvailableOwnerReward()

notice

Get available reward in tokens for pool owner

getAvailableReward()

notice

Get available reward for all delegators and owner

getAvailableReward(address)

notice

Get available reward in tokens for delegator

getCumulativeReward()

notice

Get cumulative reward

isFallbackAllowed()

notice

Calling fallback function is allowed only for the owner*

isOwner()

returns

_0

true if msg.sender is the owner of the contract.

owner()

returns

_0

the address of the owner.

renounceOwnership()

details

Allows the current owner to relinquish control of the contract.

notice

Renouncing to ownership will leave the contract without an owner. It will not be possible to call the functions with the onlyOwner modifier anymore.

router()

details

Returns address of StakingInterfaceRouter

transferOwnership(address)

details

Allows the current owner to transfer control of the contract to a newOwner.

params

newOwner

The address to transfer ownership to.

withdrawETH()

notice

Withdraw available amount of ETH to delegator

withdrawOwnerETH()

notice

Withdraw available amount of ETH to pool owner

withdrawOwnerReward()

notice

Withdraw reward in tokens to owner

withdrawTokens(uint256)

notice

Withdraw amount of tokens to delegator

params

_value

Amount of tokens to withdraw