TamaStaking
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
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
Balances ($0.00)
No balances found for "TamaStaking"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "TamaStaking"
ABI
ABI objects
Getter at block 21319144
BLOCKS_PER_HOUR() view returns (uint256)
300
REWARDS_PRECISION() view returns (uint256)
1000000
accShare() view returns (uint256)
0
currentBlock() view returns (uint256)
21319144
endingBlock() view returns (uint256)
0
isPaused() view returns (bool)
false
lastRewardBlock() view returns (uint256)
0
lockDuration() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
period() view returns (uint256)
0
rewPerBlock() view returns (uint256)
0
rewardBalance() view returns (uint256)
0
stakedBalance() view returns (uint256)
0
startingBlock() view returns (uint256)
0
tokenInterface() view returns (address)
0x0000000000000000000000000000000000000000
totalReward() view returns (uint256)
0
totalStaked() view returns (uint256)
0
Read-only
calcualteOldRewards(address from) view returns (uint256)
calculate(address from) view returns (uint256)
endAccShare(uint256) view returns (uint256 period, uint256 accShare, uint256 rewPerBlock, uint256 startingBlock, uint256 endingBlock, uint256 rewards)
hasStaked(address) view returns (bool)
isPaid(address) view returns (bool)
userDeposits(address from) view returns (struct TamaStakingDeposits)
State-modifying
Events changeTokenInterface(address _tokenAddress)
claimOldRewards() returns (bool)
claimRewards() returns (bool)
extendPeriod(uint256 rewardsToBeAdded) returns (bool)
initialize(address _tokenAddress)
renew() returns (bool)
renounceOwnership()
resetAndSetStartEndBlock(uint256 _rewardAmount, uint256 _startBlock, uint256 _endBlock, uint256 _lockDurationInHr) returns (bool)
stake(uint256 amount) returns (bool)
transferOwnership(address newOwner)
withdraw() returns (bool)
Initialized(uint8 version)
NewPeriodSet(uint256 indexed _period, uint256 indexed _startBlock, uint256 indexed _endBlock, uint256 _lockDuration, uint256 _rewardAmount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PeriodExtended(uint256 indexed period, uint256 indexed endBlock, uint256 rewards)
RewardsHarvested(address indexed _staker, uint256 _amount, uint256 _reward)
Staked(address indexed _staker, uint256 _stakedAmount)
Withdrawn(address indexed _staker, uint256 _withdrawnAmount)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.