ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 1,245 txns
Deployed by via 0x378be666 at 19594833
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1,036,246.23
0x1f63d914f44e5a9f7957f880314259a4acd586fb8cc5059c147dcbf96c1aa5c0
0x9d8dc603e50fd32f00d982ab69e0ef1e9d96604120a4b3e2c63b5631f3f34d55
0x8d138dac77ea7cc382dcc9b4fca89f69a0a58a594be43c8f804167600dd30b98
0xad4a5a08a075e7b6a5d0a7be47490d78fed03d89d3ee12f2a4b41f9d0e6ea2e8
0xd114ac9f9125d4dd29d9a06671627fe00b202c75ad9fd83bda58619aad05d9f0
0x71d1d9c3c0cde62644a5a7da37cdfc3bff356b8bee3f7be6598b9dc0b19159be
0xdec08fa986088e90552f7e12c9d953eabb8141a97f62313f6965e4e5225a2a4a
0xb5af484209064654e1e027be5b441cf8011530891b3901a1215d1c345cb980a3
0x353102ae26bc08d2b79375042c854891cd681ae1aa2079cd64f799093bca54da
0x107634296211e8727a9fde597d15641998b8f87c8eeb326a6be323520dc7c66a

Functions
Getter at block 21159835
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
flexibleApy(view returns (uint256)
10
isFixedStakingEnabled(view returns (bool)
true
isFlexibleStakingEnabled(view returns (bool)
false
maxFixedAPY(view returns (uint256)
18
maxFixedDurationDays(view returns (uint256)
90
minFixedAPY(view returns (uint256)
10
minFixedDurationDays(view returns (uint256)
30
owner(view returns (address)
0xa5cfb15fc52dab3d841b063d62b6ee19a08cf650
penaltyRate(view returns (uint256)
0
 
proxiableUUID(view returns (bytes32)
stakingToken(view returns (address)
0x84018071282d4b2996272659d9c01cb08dd7327f
Read-only
calculateAPY(uint256 durationDaysview returns (uint256)
fixedStakes(addressuint256view returns (uint256 amountuint256 startDateuint256 endDateuint256 durationuint256 apyuint256 reward)
flexibleStakes(addressview returns (uint256 totalStakeduint256 totalRewardsuint256 lastUpdate)
getUserFixedStakes(address userview returns (struct StakingPlatformFixedStake[])
getUserFlexibleInfo(address userview returns (struct StakingPlatformFlexibleStake)
State-modifying
claimFixedStakeReward(uint256 stakeIndex
claimReward(
createFixedStake(uint256 amountuint256 durationDays
emergencyWithdraw(address tokenaddress touint256 amount
initialize(address _stakingToken
renounceOwnership(
setAPY(uint256 newAPY
setFixedAPYRange(uint256 minAPYuint256 maxAPY
setFixedDurationDays(uint256 minDaysuint256 maxDays
setFixedStakingStatus(bool enabled
setFlexibleStakingStatus(bool enabled
setPenaltyRate(uint256 rate
setStakingToken(address _stakingToken
stake(uint256 amount
transferOwnership(address newOwner
unstake(uint256 amount
upgradeToAndCall(address newImplementationbytes datapayable 
withdrawFixedStake(uint256 stakeIndex
Events
Upgraded(address indexed implementation
Initialized(uint64 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardClaimed(address indexed useruint256 reward
RewardClaimedFixedStake(address indexed useruint256 stakeIduint256 reward
Staked(address indexed useruint256 amount
StakedFixed(address indexed useruint256 stakeIduint256 amountuint256 duration
Unstaked(address indexed useruint256 amount
Upgraded(address indexed implementation
WithdrawFixedStake(address indexed useruint256 stakeIduint256 amountuint256 penalty
Constructor
constructor(address implementationbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
InvalidInitialization(
NotInitializing(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot