AlgebraTokenStaking

Modifiers

onlyOwner

Events

Entered

Entered(address,uint256,uint256)

NameTypeDescription

staker

address

ALGBAmount

uint256

xALGBAmount

uint256

Left

Left(address,uint256,uint256)

NameTypeDescription

staker

address

xALGBAmount

uint256

ALGBAmount

uint256

Variables

uint256 freezeTime

address owner

contract IERC20Minimal ALGB

Functions

constructor

ERC20

constructor(contract IERC20Minimal) public

NameTypeDescription

_ALGB

contract IERC20Minimal

enter

enter(uint256) external

NameTypeDescription

_amount

uint256

leave

leave(uint256) external

NameTypeDescription

_share

uint256

currentBalance

currentBalance(uint256) view external

NameTypeDescription

_amount

uint256

Returns:

NameTypeDescription

[0]

uint256

setFreezeTime

onlyOwner

setFreezeTime(uint256) external

NameTypeDescription

_freezeTime

uint256

transferOwner

onlyOwner

transferOwner(address) external

NameTypeDescription

_newOwner

address