AlgebraTokenStaking

Modifiers

onlyOwner

modifier onlyOwner() internal

Events

Entered

event Entered(address staker, uint256 ALGBAmount, uint256 xALGBAmount)

NameTypeDescription

staker

address

ALGBAmount

uint256

xALGBAmount

uint256

Left

event Left(address staker, uint256 xALGBAmount, uint256 ALGBAmount)

NameTypeDescription

staker

address

xALGBAmount

uint256

ALGBAmount

uint256

Variables

uint256 freezeTime

address owner

contract IERC20Minimal ALGB

Functions

constructor

constructor(contract IERC20Minimal _ALGB) public public

NameTypeDescription

_ALGB

contract IERC20Minimal

enter

function enter(uint256 _amount) external external

NameTypeDescription

_amount

uint256

leave

function leave(uint256 _share) external external

NameTypeDescription

_share

uint256

currentBalance

function currentBalance(uint256 _amount) external view returns (uint256) view external

NameTypeDescription

_amount

uint256

Returns:

NameTypeDescription

[0]

uint256

setFreezeTime

function setFreezeTime(uint256 _freezeTime) external external

NameTypeDescription

_freezeTime

uint256

transferOwner

function transferOwner(address _newOwner) external external

NameTypeDescription

_newOwner

address