VxPremia

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x55125c82 at 17680935
Slot
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

No balances found for "VxPremia"

No transactions found for "VxPremia"


Functions
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 rewardsuint256 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 holderaddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
estimateSendFee(uint16 dstChainIdbytes toAddressuint256 amountbool useZrobytes adapterParamsview returns (uint256 nativeFeeuint256 zroFee)
failedMessages(uint16 srcChainIdbytes srcAddressuint64 nonceview returns (bytes32)
getConfig(uint16 versionuint16 chainIdaddressuint256 configTypeview returns (bytes)
getDiscountBPS(address userview returns (uint256)
getEarlyUnstakeFeeBPS(address userview returns (uint256 feePercentage)
getPendingUserRewards(address userview returns (uint256 rewarduint256 unstakeReward)
getPendingWithdrawal(address userview returns (uint256 amountuint256 startDateuint256 unlockDate)
getPoolVotes(uint8 versionbytes targetview returns (uint256)
getStakePeriodMultiplierBPS(uint256 periodpure returns (uint256)
getTrustedRemoteAddress(uint16 _remoteChainIdview returns (bytes)
getUserInfo(address userview returns (struct PremiaStakingStorageUserInfo)
getUserPower(address userview returns (uint256)
getUserVotes(address userview returns (struct VxPremiaStorageVote[])
isTrustedRemote(uint16 srcChainIdbytes srcAddressview returns (bool)
nonces(address ownerview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addRewards(uint256 amount
approve(address spenderuint256 amountreturns (bool)
castVotes(struct VxPremiaStorageVote[] votes
decreaseAllowance(address spenderuint256 amountreturns (bool)
earlyUnstake(uint256 amount
forceResumeReceive(uint16 srcChainIdbytes srcAddress
harvest(
harvestAndStake(struct IPremiaStakingSwapArgs suint64 stakePeriod
increaseAllowance(address spenderuint256 amountreturns (bool)
lzReceive(uint16 srcChainIdbytes srcAddressuint64 noncebytes payload
nonblockingLzReceive(uint16 srcChainIdbytes srcAddressuint64 noncebytes payload
permit(address owneraddress spenderuint256 amountuint256 deadlineuint8 vbytes32 rbytes32 s
resetUserVotes(address user
retryMessage(uint16 srcChainIdbytes srcAddressuint64 noncebytes payloadpayable 
sendFrom(address fromuint16 dstChainIdbytes toAddressuint256 amountaddress refundAddressaddress zroPaymentAddressbytes adapterParamspayable 
setConfig(uint16 versionuint16 chainIduint256 configTypebytes config
setReceiveVersion(uint16 version
setSendVersion(uint16 version
setTrustedRemoteAddress(uint16 remoteChainIdbytes remoteAddress
stake(uint256 amountuint64 period
stakeWithPermit(uint256 amountuint64 perioduint256 deadlineuint8 vbytes32 rbytes32 s
startWithdraw(uint256 amount
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address holderaddress recipientuint256 amountreturns (bool)
updateLock(uint64 period
withdraw(
Events
AddVote(address indexed voteruint8 indexed versionbytes targetuint256 amount
Approval(address indexed owneraddress indexed spenderuint256 value
BridgeLock(address indexed useruint64 stakePerioduint64 lockedUntil
EarlyUnstakeRewardCollected(address indexed useruint256 amount
Harvest(address indexed useruint256 amount
MessageFailed(uint16 srcChainIdbytes srcAddressuint64 noncebytes payloadbytes reason
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ReceiveFromChain(uint16 indexed srcChainIdbytes indexed srcAddressaddress indexed toAddressuint256 amount
RemoveVote(address indexed voteruint8 indexed versionbytes targetuint256 amount
RetryMessageSuccess(uint16 srcChainIdbytes srcAddressuint64 noncebytes32 payloadHash
RewardsAdded(uint256 amount
SendToChain(address indexed senderuint16 indexed dstChainIdbytes indexed toAddressuint256 amount
SetTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
SetUseCustomAdapterParams(bool _useCustomAdapterParams
Stake(address indexed useruint256 amountuint64 stakePerioduint64 lockedUntil
Transfer(address indexed fromaddress indexed touint256 value
Unstake(address indexed useruint256 amountuint256 feeuint256 startDate
UpdateLock(address indexed useruint64 oldStakePerioduint64 newStakePeriod
Withdraw(address indexed useruint256 amount
Constructor
constructor(address proxyManageraddress lzEndpointaddress premiaaddress rewardTokenaddress exchangeHelper
Fallback and receive

This contract contains no fallback and receive objects.

Errors
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(