TruStake MATIC Vault Shares

Verified contract

Implementation

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

No balances found for "TruStake MATIC Vault Shares"

No transactions found for "TruStake MATIC Vault Shares"


Functions
Getter at block 21393976
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
 
getCurrentEpoch(view returns (uint256 epoch)
 
getDust(view returns (uint256 dust)
 
getUnbondNonce(view returns (uint256 unbondNonce)
name(pure returns (string)
TruStake MATIC Vault Shares
owner(view returns (address)
0x0000000000000000000000000000000000000000
phi(view returns (uint256)
0
sharePrice(view returns (uint256uint256)
(1000000000000000000, 1)
stakeManagerContractAddress(view returns (address)
0x0000000000000000000000000000000000000000
stakingTokenAddress(view returns (address)
0x0000000000000000000000000000000000000000
symbol(pure returns (string)
TruMATIC
 
totalAssets(view returns (uint256)
 
totalRewards(view returns (uint256)
 
totalStaked(view returns (uint256)
totalSupply(view returns (uint256)
0
treasuryAddress(view returns (address)
0x0000000000000000000000000000000000000000
validatorShareContractAddress(view returns (address)
0x0000000000000000000000000000000000000000
whitelistAddress(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allocations(addressaddressboolview returns (uint256 maticAmountuint256 sharePriceNumuint256 sharePriceDenom)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
convertToAssets(uint256 sharesview returns (uint256 assets)
convertToShares(uint256 assetsview returns (uint256 shares)
distributors(addressbooluint256view returns (address)
getDistributors(address _userbool _strictview returns (address[])
getRecipients(address _userbool _strictview returns (address[])
getUserInfo(address _ownerview returns (uint256uint256uint256uint256uint256)
isClaimable(uint256 _unbondNonceview returns (bool claimable)
maxDeposit(addressview returns (uint256)
maxMint(address receiverview returns (uint256)
maxRedeem(address ownerview returns (uint256)
maxWithdraw(address ownerview returns (uint256)
previewDeposit(uint256 assetsview returns (uint256)
previewMint(uint256 sharesview returns (uint256)
previewRedeem(uint256 sharesview returns (uint256)
previewWithdraw(uint256 assetsview returns (uint256)
recipients(addressbooluint256view returns (address)
totalAllocated(addressboolview returns (uint256 maticAmountuint256 sharePriceNumuint256 sharePriceDenom)
unbondingWithdrawals(uint256view returns (address useruint256 amount)
State-modifying
allocate(uint256 _amountaddress _recipientbool _strict
approve(address spenderuint256 amountreturns (bool)
claimList(uint256[] _unbondNonces
compoundRewards(
deallocate(uint256 _amountaddress _recipientbool _strict
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 assetsaddress receiverreturns (uint256)
distributeAll(address _distributorbool _strict
distributeRewards(address _recipientaddress _distributorbool _strict
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _stakingTokenAddressaddress _stakeManagerContractAddressaddress _validatorShareContractAddressaddress _whitelistAddressaddress _treasuryAddressuint256 _phiuint256 _distPhiuint256 _cap
mint(uint256 sharesaddress receiverreturns (uint256)
reallocate(address _oldRecipientaddress _newRecipient
redeem(uint256 sharesaddress receiveraddress ownerreturns (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 touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferOwnership(address newOwner
withdraw(uint256 assetsaddress receiveraddress ownerreturns (uint256)
withdrawClaim(uint256 _unbondNonce
Events
Allocated(address indexed _distributoraddress indexed _recipientuint256 _individualAmountuint256 _individualNumuint256 _individualDenomuint256 _totalAmountuint256 _totalNumuint256 _totalDenombool indexed _strict
Approval(address indexed owneraddress indexed spenderuint256 value
Deallocated(address indexed _distributoraddress indexed _recipientuint256 _individualAmountuint256 _totalAmountuint256 _totalNumuint256 _totalDenombool indexed _strict
Deposit(address indexed senderaddress indexed owneruint256 assetsuint256 shares
Deposited(address indexed _useruint256 _treasurySharesuint256 _userSharesuint256 _amountuint256 _stakedAmountuint256 _totalAssets
DistributedAll(address indexed _distributoruint256 _curNumuint256 _curDenombool indexed _strict
DistributedRewards(address indexed _distributoraddress indexed _recipientuint256 _amountuint256 _sharesuint256 _individualNumuint256 _individualDenomuint256 _totalNumuint256 _totalDenombool indexed _strict
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Reallocated(address indexed _distributoraddress indexed _oldRecipientaddress indexed _newRecipientuint256 _newAmountuint256 _newNumuint256 _newDenom
RewardsCompounded(uint256 _amountuint256 _shares
SetAllowStrict(bool _oldAllowStrictbool _newAllowStrict
SetCap(uint256 _oldCapuint256 _newCap
SetDistPhi(uint256 _oldDistPhiuint256 _newDistPhi
SetEpsilon(uint256 _oldEpsilonuint256 _newEpsilon
SetPhi(uint256 _oldPhiuint256 _newPhi
SetStakeManagerContract(address _oldStakeManagerContractaddress _newStakeManagerContract
SetStakingToken(address _oldStakingTokenaddress _newStakingToken
SetTreasury(address _oldTreasuryAddressaddress _newTreasuryAddress
SetValidatorShareContract(address _oldValidatorShareContractaddress _newValidatorShareContract
SetWhitelist(address _oldWhitelistAddressaddress _newWhitelistAddress
StakerInitialized(address _stakingTokenAddressaddress _stakeManagerContractAddressaddress _validatorShareContractAddressaddress _whitelistAddressaddress _treasuryAddressuint256 _phiuint256 _capuint256 _distPhi
Transfer(address indexed fromaddress indexed touint256 value
Withdraw(address indexed senderaddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
WithdrawalClaimed(address indexed _useruint256 indexed _unbondNonceuint256 _amount
WithdrawalRequested(address indexed _useruint256 _treasurySharesuint256 _userSharesuint256 _amountuint256 _totalAssetsuint256 indexed _unbondNonceuint256 indexed _epoch
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AllocationNonExistent(
CannotAllocateZero(
DepositSurpassesVaultCap(
DepositUnderOneMATIC(
ExceedsUnallocatedBalance(
InsufficientDistributorBalance(
NoRewardsAllocatedToRecipient(
NothingToDistribute(
OnlyDistributorCanDistributeRewards(
PhiTooLarge(
SenderAndOwnerMustBeReceiver(
SenderMustHaveInitiatedWithdrawalRequest(
StrictAllocationDisabled(
UserNotWhitelisted(
WithdrawalAmountTooLarge(
WithdrawalRequestAmountCannotEqualZero(
ZeroAddressNotSupported(