AbstractStakingContract

details

Implement isFallbackAllowed() or override fallback function Implement withdrawTokens(uint256) and withdrawETH() functions

notice

Base class for any staking contract (not usable with openzeppelin proxy)

methods

constructor

params

_router

Interface router contract address

isFallbackAllowed()

details

Checks permission for calling fallback function

router()

details

Returns address of StakingInterfaceRouter

withdrawETH()

details

Withdraw ETH from staking contract

withdrawTokens(uint256)

details

Withdraw tokens from staking contract