TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 3,273 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($378,211.35)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
UPC | ERC-20 | 101.126029K | $3.74 |
$378,211.35 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21161093 | 10 hours ago | | | 0 | 0.0014126092 | |
| 21161079 | 10 hours ago | | | 0 | 0.0013216712 | |
| 21161076 | 10 hours ago | | | 0 | 0.0014380472 | |
| 21161074 | 10 hours ago | | | 0 | 0.0013079983 | |
| 21161072 | 10 hours ago | | | 0 | 0.0013382426 | |
| 21154405 | a day ago | | | 0 | 0.00074890474 | |
| 21154361 | a day ago | | | 0 | 0.0023153898 | |
| 21154180 | a day ago | | | 0 | 0.00096122448 | |
| 21141134 | 3 days ago | | | 0 | 0.00079836999 | |
| 21141130 | 3 days ago | | | 0 | 0.00076029597 |
ABI
ABI objects
Getter at block 21164079 Withdrawable() view returns (uint256) shouldDeposit() view returns (uint256)
DAY() view returns (uint256)
86400
owner() view returns (address)
0x2e35169acc25e84e8b2b669e00dc9735cfa9d70e
referralFee() view returns (uint256)
20
stakingAmountLimit() view returns (uint256)
100000000000
totalStakingAmount() view returns (uint256)
22332088376
upcAddress() view returns (address)
0x487d62468282bd04ddf976631c23128a425555ee
Read-only
finalClaimableAmount(uint256 id) view returns (uint256)
isClaimable(uint256 id) view returns (bool)
isStakablePeriod(uint256 id) view returns (bool)
random(uint256 number, uint256 randomIndex) view returns (uint256)
records(uint256) view returns (address staker, uint256 amount, uint256 stakedAt, bool claimed, uint256 stakingRateInfoID, string referralCode, bool claimedReferralFee)
referralAmount(uint256 id) view returns (uint256)
referralCodes(string) view returns (address)
staked(address) view returns (bool)
stakingInfos(uint256) view returns (uint256 day, uint256 apy)
State-modifying
Events claim(uint256 id)
claimReferralFee(uint256 id)
deposit(uint256 amount)
generateReferralCode()
initialvalue(address owner)
pushRecords(address[] stakers, uint256[] amounts, uint256[] stakedAts, uint256[] stakingInfoIDs, string[] refCodes, bool[] claimeds, bool[] claimedReferralFees)
pushReferralCodes(address[] stakers, string[] codes)
renounceOwnership()
setReferralFee(uint256 fee)
setStakingLimit(uint256 limit)
setStakingPeriod(uint256 id, struct StakingPeriod[] periods)
setUPCAddress(address addr)
stake(uint256 amount, uint256 stakingInfoID, string referralCode)
transferOwnership(address newOwner)
withdraw(uint256 amount)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
Claim(uint256 id, address staker, uint256 claimAmount)
ClaimReferralFee(uint256 id, address referrer, uint256 claimAmount)
Deposit(uint256 amount)
GenerateReferralCode(address staker, string code)
Initialized(uint64 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SetStakingPeriod(uint256 id, struct StakingPeriod[] periods)
SetUPCAddress(address upcAddress)
Stake(uint256 id, address staker, uint256 amount, uint256 stakedAt, uint256 stakingInfoID, string referralCode, uint256 reward, uint256 referralReward)
constructor(address _logic, address initialOwner, bytes _data)
fallback()
AddressEmptyCode(address target)
ERC1967InvalidAdmin(address admin)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
ProxyDeniedAdminAccess()
InvalidInitialization()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()