Staking

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x7832ea08 at 13296683
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 2 additional slots
10 additional variables

No balances found for "Staking"

No transactions found for "Staking"


Functions
Getter at block 21184955
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EXTERNAL_STAKER_ROLE(view returns (bytes32)
0x89b9439cc214903f84e45dd38c65d9d5e383ed005a269516b5b7973bbeeb4185
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
MIGRATOR_ROLE(view returns (bytes32)
0x600e5f1c60beb469a3fa6dd3814a4ae211cc6259a6d033bae218a742f2af01d3
addresses(view returns (address mainTokenaddress auctionaddress subBalances)
(mainToken=0x0000000000000000000000000000000000000000, auction=0x0000000000000000000000000000000000000000, subBalances=0x0000000000000000000000000000000000000000)
basePeriod(view returns (uint256)
0
 
calculateStepsFromStart(view returns (uint256)
getBPD(view returns (uint128[5]uint128[5])
([0, 0, 0, 0, 0], [0, 0, 0, 0, 0])
getDivTokens(view returns (address[])
[]
getMaxShareEventActive(view returns (bool)
false
getMaxShareMaxDays(view returns (uint16)
0
getPaused(view returns (bool)
false
getTotalVcaRegisteredShares(view returns (uint256)
0
globalPayin(view returns (uint256)
0
globalPayout(view returns (uint256)
0
init_(view returns (bool)
false
lastSessionId(view returns (uint256)
0
lastSessionIdV1(view returns (uint256)
0
nextPayoutCall(view returns (uint256)
0
shareRate(view returns (uint256)
0
sharesTotalSupply(view returns (uint256)
0
stakingV1(view returns (address)
0x0000000000000000000000000000000000000000
startContract(view returns (uint256)
0
stepTimestamp(view returns (uint256)
0
totalStakedAmount(view returns (uint256)
0
Read-only
calcBPD(uint256 startuint256 enduint256 sharesview returns (uint256)
calculateStakingInterest(uint256 firstPayoutuint256 lastPayoutuint256 sharesview returns (uint256)
findBPDEligible(uint256 starttimeuint256 endtimeview returns (uint16[2])
getAmountOutAndPenalty(uint256 amountuint256 startuint256 enduint256 stakingInterestview returns (uint256uint256)
getDeductBalances(address accountaddress tokenview returns (uint256)
getIsVCARegistered(address stakerview returns (bool)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getTokenInterestEarned(address accountAddressaddress tokenAddressview returns (uint256)
getTokenPricePerShare(address tokenview returns (uint256)
getTotalSharesOf(address accountview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
payouts(uint256view returns (uint256 payoutuint256 sharesTotalSupply)
sessionDataOf(addressuint256view returns (uint256 amountuint256 startuint256 enduint256 sharesuint256 firstPayoutuint256 lastPayoutbool withdrawnuint256 payout)
sessionsOf(addressuint256view returns (uint256)
sessionsOf_(address accountview returns (uint256[])
State-modifying
addDivToken(address tokenAddress
externalStake(uint256 amountuint256 stakingDaysaddress staker
grantRole(bytes32 roleaddress account
initialize(address _manageraddress _migrator
makePayout(
maxShare(uint256 sessionId
maxShareV1(uint256 sessionId
recover(address recoverForaddress tokenToRecoveruint256 amount
renounceRole(bytes32 roleaddress account
restake(uint256 sessionIduint256 stakingDaysuint256 topup
restakeV1(uint256 sessionIduint256 stakingDaysuint256 topup
revokeRole(bytes32 roleaddress account
safeRecover(address recoverForaddress tokenToRecoveruint256 amount
setBPDPools(uint128[5] poolAmountuint128[5] poolShares
setMaxShareEventActive(bool _active
setMaxShareMaxDays(uint16 _maxShareMaxDays
setPaused(bool _paused
setShareRateScalingFactor(uint256 _scalingFactor
setTotalSharesOfAccount(address _address
setTotalVcaRegisteredShares(uint256 _shares
setupRole(bytes32 roleaddress account
stake(uint256 amountuint256 stakingDays
unstake(uint256 sessionId
unstakeV1(uint256 sessionId
updateTokenPricePerShare(address bidderAddressaddress originAddressaddress tokenAddressuint256 amountBoughtpayable 
withdrawDivToken(address tokenAddress
Events
AccountRegistered(address indexed accountuint256 indexed totalShares
DailyBurn(uint256 indexed valueuint256 indexed totalSupplyuint256 indexed time
MakePayout(uint256 indexed valueuint256 indexed sharesTotalSupplyuint256 indexed time
MaxShareUpgrade(address indexed accountuint256 indexed sessionIduint256 amountuint256 newAmountuint256 sharesuint256 newSharesuint256 startuint256 end
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Stake(address indexed accountuint256 indexed sessionIduint256 amountuint256 startuint256 enduint256 shares
Unstake(address indexed accountuint256 indexed sessionIduint256 amountuint256 startuint256 enduint256 shares
WithdrawLiquidDiv(address indexed accountaddress indexed tokenAddressuint256 indexed interest
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.