TruStake MATIC Vault Shares
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 47 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
8 additional
variables
Balances ($0.00)
No balances found for "TruStake MATIC Vault Shares"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "TruStake MATIC Vault Shares"
ABI
ABI objects
Getter at block 21393976 getCurrentEpoch() view returns (uint256 epoch) getDust() view returns (uint256 dust) getUnbondNonce() view returns (uint256 unbondNonce) totalAssets() view returns (uint256) totalRewards() view returns (uint256) totalStaked() view returns (uint256)
allowStrict() view returns (bool)
false
asset() view returns (address)
0x0000000000000000000000000000000000000000
cap() view returns (uint256)
0
decimals() view returns (uint8)
0
distPhi() view returns (uint256)
0
epsilon() view returns (uint256)
0
name() pure returns (string)
TruStake MATIC Vault Shares
owner() view returns (address)
0x0000000000000000000000000000000000000000
phi() view returns (uint256)
0
sharePrice() view returns (uint256, uint256)
(1000000000000000000, 1)
stakeManagerContractAddress() view returns (address)
0x0000000000000000000000000000000000000000
stakingTokenAddress() view returns (address)
0x0000000000000000000000000000000000000000
symbol() pure returns (string)
TruMATIC
totalSupply() view returns (uint256)
0
treasuryAddress() view returns (address)
0x0000000000000000000000000000000000000000
validatorShareContractAddress() view returns (address)
0x0000000000000000000000000000000000000000
whitelistAddress() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allocations(address, address, bool) view returns (uint256 maticAmount, uint256 sharePriceNum, uint256 sharePriceDenom)
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
convertToAssets(uint256 shares) view returns (uint256 assets)
convertToShares(uint256 assets) view returns (uint256 shares)
distributors(address, bool, uint256) view returns (address)
getDistributors(address _user, bool _strict) view returns (address[])
getRecipients(address _user, bool _strict) view returns (address[])
getUserInfo(address _owner) view returns (uint256, uint256, uint256, uint256, uint256)
isClaimable(uint256 _unbondNonce) view returns (bool claimable)
maxDeposit(address) view returns (uint256)
maxMint(address receiver) view returns (uint256)
maxRedeem(address owner) view returns (uint256)
maxWithdraw(address owner) view returns (uint256)
previewDeposit(uint256 assets) view returns (uint256)
previewMint(uint256 shares) view returns (uint256)
previewRedeem(uint256 shares) view returns (uint256)
previewWithdraw(uint256 assets) view returns (uint256)
recipients(address, bool, uint256) view returns (address)
totalAllocated(address, bool) view returns (uint256 maticAmount, uint256 sharePriceNum, uint256 sharePriceDenom)
unbondingWithdrawals(uint256) view returns (address user, uint256 amount)
State-modifying
Events allocate(uint256 _amount, address _recipient, bool _strict)
approve(address spender, uint256 amount) returns (bool)
claimList(uint256[] _unbondNonces)
compoundRewards()
deallocate(uint256 _amount, address _recipient, bool _strict)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
deposit(uint256 assets, address receiver) returns (uint256)
distributeAll(address _distributor, bool _strict)
distributeRewards(address _recipient, address _distributor, bool _strict)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(address _stakingTokenAddress, address _stakeManagerContractAddress, address _validatorShareContractAddress, address _whitelistAddress, address _treasuryAddress, uint256 _phi, uint256 _distPhi, uint256 _cap)
mint(uint256 shares, address receiver) returns (uint256)
reallocate(address _oldRecipient, address _newRecipient)
redeem(uint256 shares, address receiver, address owner) returns (uint256)
renounceOwnership()
setAllowStrict(bool _allowStrict)
setCap(uint256 _cap)
setDistPhi(uint256 _distPhi)
setEpsilon(uint256 _epsilon)
setPhi(uint256 _phi)
setStakeManagerContract(address _stateManagerContract)
setStakingToken(address _stakingTokenAddress)
setTreasury(address _treasuryAddress)
setValidatorShareContract(address _validatorShareContractAddress)
setWhitelist(address _whitelistAddress)
stakeClaimedRewards()
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
transferOwnership(address newOwner)
withdraw(uint256 assets, address receiver, address owner) returns (uint256)
withdrawClaim(uint256 _unbondNonce)
Allocated(address indexed _distributor, address indexed _recipient, uint256 _individualAmount, uint256 _individualNum, uint256 _individualDenom, uint256 _totalAmount, uint256 _totalNum, uint256 _totalDenom, bool indexed _strict)
Approval(address indexed owner, address indexed spender, uint256 value)
Deallocated(address indexed _distributor, address indexed _recipient, uint256 _individualAmount, uint256 _totalAmount, uint256 _totalNum, uint256 _totalDenom, bool indexed _strict)
Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)
Deposited(address indexed _user, uint256 _treasuryShares, uint256 _userShares, uint256 _amount, uint256 _stakedAmount, uint256 _totalAssets)
DistributedAll(address indexed _distributor, uint256 _curNum, uint256 _curDenom, bool indexed _strict)
DistributedRewards(address indexed _distributor, address indexed _recipient, uint256 _amount, uint256 _shares, uint256 _individualNum, uint256 _individualDenom, uint256 _totalNum, uint256 _totalDenom, bool indexed _strict)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Reallocated(address indexed _distributor, address indexed _oldRecipient, address indexed _newRecipient, uint256 _newAmount, uint256 _newNum, uint256 _newDenom)
RewardsCompounded(uint256 _amount, uint256 _shares)
SetAllowStrict(bool _oldAllowStrict, bool _newAllowStrict)
SetCap(uint256 _oldCap, uint256 _newCap)
SetDistPhi(uint256 _oldDistPhi, uint256 _newDistPhi)
SetEpsilon(uint256 _oldEpsilon, uint256 _newEpsilon)
SetPhi(uint256 _oldPhi, uint256 _newPhi)
SetStakeManagerContract(address _oldStakeManagerContract, address _newStakeManagerContract)
SetStakingToken(address _oldStakingToken, address _newStakingToken)
SetTreasury(address _oldTreasuryAddress, address _newTreasuryAddress)
SetValidatorShareContract(address _oldValidatorShareContract, address _newValidatorShareContract)
SetWhitelist(address _oldWhitelistAddress, address _newWhitelistAddress)
StakerInitialized(address _stakingTokenAddress, address _stakeManagerContractAddress, address _validatorShareContractAddress, address _whitelistAddress, address _treasuryAddress, uint256 _phi, uint256 _cap, uint256 _distPhi)
Transfer(address indexed from, address indexed to, uint256 value)
Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
WithdrawalClaimed(address indexed _user, uint256 indexed _unbondNonce, uint256 _amount)
WithdrawalRequested(address indexed _user, uint256 _treasuryShares, uint256 _userShares, uint256 _amount, uint256 _totalAssets, uint256 indexed _unbondNonce, uint256 indexed _epoch)
constructor()
This contract contains no fallback and receive objects.
AllocationNonExistent()
CannotAllocateZero()
DepositSurpassesVaultCap()
DepositUnderOneMATIC()
ExceedsUnallocatedBalance()
InsufficientDistributorBalance()
NoRewardsAllocatedToRecipient()
NothingToDistribute()
OnlyDistributorCanDistributeRewards()
PhiTooLarge()
SenderAndOwnerMustBeReceiver()
SenderMustHaveInitiatedWithdrawalRequest()
StrictAllocationDisabled()
UserNotWhitelisted()
WithdrawalAmountTooLarge()
WithdrawalRequestAmountCannotEqualZero()
ZeroAddressNotSupported()