NewStake

Verified contract

Active on Ethereum with 0 txns
Deployed by via 0xa4c5e88a at 18213349
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 48 additional slots

No balances found for "NewStake"

No transactions found for "NewStake"


Functions
Getter at block 21271086
claimAndWithdrawFreeze(view returns (bool)
false
emergencyFees(view returns (uint128)
0
getPoolLength(view returns (uint128)
0
maxStakeLimit(view returns (uint128)
0
name(view returns (string)
owner(view returns (address)
0x0000000000000000000000000000000000000000
ownerWallet(view returns (address)
0x0000000000000000000000000000000000000000
platformFee(view returns (uint128)
0
stakedToken(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
totalStaked(view returns (uint128)
0
treasury(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getPoolData(uint128 _stakeTypeview returns (struct StructLibraryStakeTypeData)
rewardCalculation(uint128 _amountuint128 _stakeTypeuint128 _timeview returns (uint128)
stakeTypesList(uint256view returns (uint128 stakeTypeuint128 stakePerioduint128 depositFeesuint128 withdrawlFeesuint128 rewardRateuint128 totalStakedInbool isActive)
userAllStakesData(addressuint128uint256view returns (uint128 stakeAmountuint128 depositTimeuint128 fullWithdrawlTimeuint128 lastClaimTimebool accumulated)
userStakesData(addressuint128view returns (uint128 stakeAmountuint128 depositTimeuint128 fullWithdrawlTimeuint128 lastClaimTimebool accumulated)
userTotalTxPerPool(address useruint128 _stakeTypeview returns (struct StructLibraryeachTransaction[] userAllStakesuint128 len)
userUnlockAmount(address useruint128 _stakeTypeview returns (uint128 unlockAmountuint128 lockAmount)
State-modifying
addStakedType(uint128 _stakePerioduint128 _depositFeesuint128 _withdrawlFeesuint128 _rewardRatereturns (uint128)
claim(address useruint128 _stakeTypepayable returns (uint128uint128)
compound(address useruint128 _stakeTypepayable returns (uint128uint128uint128)
deleteStakeType(uint128 _stakeTypereturns (bool)
deposit(address useruint128 _amountuint128 _stakeTypepayable returns (uint128 emitAmountuint128 _perioduint128 _totalPoolStaked)
emergencyWithdraw(address useruint128 _stakeTypepayable returns (uint128uint128uint128)
enableStakeType(uint128 _stakeTypereturns (bool)
initialize(address _ownerWalletaddress _stakedTokenuint128 _stakePerioduint128 _depositFeesuint128 _withdrawlsFeesuint128 _rewardRateuint128 _emergencyFeesuint128 _platformFeeaddress _treasuryuint128 _maxStakeLimit
renounceOwnership(
transferOwnership(address newOwner
updateEmergencyFees(uint128 newFees
updateOwnerWallet(address newOwnerWallet
updatePlatformFee(uint128 newFee
updateStakeLimit(uint128 _newLimit
updateStakeType(uint128 _stakeTypeuint128 _stakePerioduint128 _depositFeesuint128 _withdrawlFeesuint128 _rewardRate
updateTreasuryWallet(address newTreasuryWallet
withdraw(address useruint128 _amountuint128 _stakeTypepayable returns (uint128uint128uint128)
Events
AddStakeType(uint128 _stakeTypeuint128 _stakePerioduint128 _depositFeesuint128 _withdrawlFeesuint128 _rewardRate
Claim(address indexed useruint128 rewardAmountuint128 stakeTypeuint256 time
Compound(address indexed useruint128 rewardAmountuint128 stakeTypeuint256 timeuint128 poolTotalStaked
DeleteStakeType(uint128 _stakeType
Deposit(uint128 stakeAmountuint128 stakeTypeuint128 stakePerioduint256 timeuint128 poolTotalStaked
EmergencyWithdrawn(address indexed useruint128 amountuint128 stakeTypeuint256 timeuint128 poolTotalStaked
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
UpdateEmergencyFee(address indexed _stakeTokenuint128 oldFeeuint128 newFee
UpdateOwnerWallet(address indexed _stakeTokenaddress indexed oldOwnerWalletaddress indexed newOwnerWallet
UpdatePlatformFee(address indexed _stakeTokenuint128 oldFeeuint128 newFee
UpdateStakeToken(address indexed newTokenAddr
UpdateStakeType(uint128 _stakeTypeuint128 _stakePerioduint128 _depositFeesuint128 _withdrawlFeesuint128 _rewardRate
UpdateTreasuryWallet(address indexed _stakeTokenaddress indexed oldTreasuryWalletaddress indexed newTreasuryWallet
Withdraw(address indexed useruint128 stakeAmountuint128 stakeTypeuint128 rewardAmountuint256 timeuint128 poolTotalStaked
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.