VxPremia
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
15Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 9 additional slots
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "VxPremia"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "VxPremia"
ABI
ABI objects
Getter at block 20820444
DOMAIN_SEPARATOR() view returns (bytes32 domainSeparator)
0xc4493f1167939ca97e8d357ed0310825f3d14c7197cf5e8510560ac5ef177199
PT_SEND() view returns (uint16)
0
circulatingSupply() view returns (uint256)
0
decimals() view returns (uint8)
0
getAvailablePremiaAmount() view returns (uint256)
0
getAvailableRewards() view returns (uint256 rewards, uint256 unstakeRewards)
(rewards=0, unstakeRewards=0)
getPendingRewards() view returns (uint256)
0
getPendingWithdrawals() view returns (uint256)
0
getRewardToken() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
getStakeLevels() pure returns (struct IPremiaStakingStakeLevel[] stakeLevels)
[(5000000000000000000000, 1000), (50000000000000000000000, 2500), (500000000000000000000000, 3500), (2500000000000000000000000, 6000)]
getTotalPower() view returns (uint256)
0
lzEndpoint() view returns (address)
0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
name() view returns (string)
symbol() view returns (string)
totalSupply() view returns (uint256)
0
Read-only
allowance(address holder, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
estimateSendFee(uint16 dstChainId, bytes toAddress, uint256 amount, bool useZro, bytes adapterParams) view returns (uint256 nativeFee, uint256 zroFee)
failedMessages(uint16 srcChainId, bytes srcAddress, uint64 nonce) view returns (bytes32)
getConfig(uint16 version, uint16 chainId, address, uint256 configType) view returns (bytes)
getDiscountBPS(address user) view returns (uint256)
getEarlyUnstakeFeeBPS(address user) view returns (uint256 feePercentage)
getPendingUserRewards(address user) view returns (uint256 reward, uint256 unstakeReward)
getPendingWithdrawal(address user) view returns (uint256 amount, uint256 startDate, uint256 unlockDate)
getPoolVotes(uint8 version, bytes target) view returns (uint256)
getStakePeriodMultiplierBPS(uint256 period) pure returns (uint256)
getTrustedRemoteAddress(uint16 _remoteChainId) view returns (bytes)
getUserInfo(address user) view returns (struct PremiaStakingStorageUserInfo)
getUserPower(address user) view returns (uint256)
getUserVotes(address user) view returns (struct VxPremiaStorageVote[])
isTrustedRemote(uint16 srcChainId, bytes srcAddress) view returns (bool)
nonces(address owner) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addRewards(uint256 amount)
approve(address spender, uint256 amount) returns (bool)
castVotes(struct VxPremiaStorageVote[] votes)
decreaseAllowance(address spender, uint256 amount) returns (bool)
earlyUnstake(uint256 amount)
forceResumeReceive(uint16 srcChainId, bytes srcAddress)
harvest()
harvestAndStake(struct IPremiaStakingSwapArgs s, uint64 stakePeriod)
increaseAllowance(address spender, uint256 amount) returns (bool)
lzReceive(uint16 srcChainId, bytes srcAddress, uint64 nonce, bytes payload)
nonblockingLzReceive(uint16 srcChainId, bytes srcAddress, uint64 nonce, bytes payload)
permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
resetUserVotes(address user)
retryMessage(uint16 srcChainId, bytes srcAddress, uint64 nonce, bytes payload) payable
sendFrom(address from, uint16 dstChainId, bytes toAddress, uint256 amount, address refundAddress, address zroPaymentAddress, bytes adapterParams) payable
setConfig(uint16 version, uint16 chainId, uint256 configType, bytes config)
setReceiveVersion(uint16 version)
setSendVersion(uint16 version)
setTrustedRemoteAddress(uint16 remoteChainId, bytes remoteAddress)
stake(uint256 amount, uint64 period)
stakeWithPermit(uint256 amount, uint64 period, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
startWithdraw(uint256 amount)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address holder, address recipient, uint256 amount) returns (bool)
updateLock(uint64 period)
withdraw()
AddVote(address indexed voter, uint8 indexed version, bytes target, uint256 amount)
Approval(address indexed owner, address indexed spender, uint256 value)
BridgeLock(address indexed user, uint64 stakePeriod, uint64 lockedUntil)
EarlyUnstakeRewardCollected(address indexed user, uint256 amount)
Harvest(address indexed user, uint256 amount)
MessageFailed(uint16 srcChainId, bytes srcAddress, uint64 nonce, bytes payload, bytes reason)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ReceiveFromChain(uint16 indexed srcChainId, bytes indexed srcAddress, address indexed toAddress, uint256 amount)
RemoveVote(address indexed voter, uint8 indexed version, bytes target, uint256 amount)
RetryMessageSuccess(uint16 srcChainId, bytes srcAddress, uint64 nonce, bytes32 payloadHash)
RewardsAdded(uint256 amount)
SendToChain(address indexed sender, uint16 indexed dstChainId, bytes indexed toAddress, uint256 amount)
SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress)
SetUseCustomAdapterParams(bool _useCustomAdapterParams)
Stake(address indexed user, uint256 amount, uint64 stakePeriod, uint64 lockedUntil)
Transfer(address indexed from, address indexed to, uint256 value)
Unstake(address indexed user, uint256 amount, uint256 fee, uint256 startDate)
UpdateLock(address indexed user, uint64 oldStakePeriod, uint64 newStakePeriod)
Withdraw(address indexed user, uint256 amount)
constructor(address proxyManager, address lzEndpoint, address premia, address rewardToken, address exchangeHelper)
This contract contains no fallback and receive objects.
AddressUtils__NotContract()
BytesLib__OutOfBounds()
BytesLib__Overflow()
ECDSA__InvalidS()
ECDSA__InvalidSignature()
ECDSA__InvalidV()
ERC165Base__InvalidInterfaceId()
ERC20Base__ApproveFromZeroAddress()
ERC20Base__ApproveToZeroAddress()
ERC20Base__BurnExceedsBalance()
ERC20Base__BurnFromZeroAddress()
ERC20Base__InsufficientAllowance()
ERC20Base__MintToZeroAddress()
ERC20Base__TransferExceedsBalance()
ERC20Base__TransferFromZeroAddress()
ERC20Base__TransferToZeroAddress()
ERC20Extended__ExcessiveAllowance()
ERC20Extended__InsufficientAllowance()
ERC20Permit__ExpiredDeadline()
ERC20Permit__InvalidSignature()
LzApp__InvalidEndpointCaller()
LzApp__InvalidSource()
LzApp__NoTrustedPathRecord()
LzApp__NotTrustedSource()
NonblockingLzApp__CallerNotLzApp()
NonblockingLzApp__InvalidPayload()
NonblockingLzApp__NoStoredMessage()
OFT_InsufficientAllowance()
Ownable__NotOwner()
Ownable__NotTransitiveOwner()
PremiaStaking__CantTransfer()
PremiaStaking__ExcessiveStakePeriod()
PremiaStaking__InsufficientSwapOutput()
PremiaStaking__NoPendingWithdrawal()
PremiaStaking__NotEnoughLiquidity()
PremiaStaking__PeriodTooShort()
PremiaStaking__StakeLocked()
PremiaStaking__StakeNotLocked()
PremiaStaking__WithdrawalStillPending()
SafeERC20__OperationFailed()
VxPremia__InvalidPoolAddress()
VxPremia__InvalidVoteTarget()
VxPremia__NotEnoughVotingPower()