TruStake MATIC Vault Shares

Verified contract

Proxy

Active on Ethereum with 14 txns
Deployed by via 0x6f91de7e at 17314036
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
12 additional variables
ERC-20
Value $0.26
ERC-20
--
0x9c5e5bf7f0f05fd628478afa419786ee911c5016118abf0c069461df59e669b2
0xd68dc073a66b862325fe841051d98b8d110dd8b28e962c2f02870fa9f1e99446
0xe419a2a911603b7049a97ef3fe4d66026f167316e9978e01397fd9330be85f06
0x7d0eb00e0006562a3902a403064ec02929ac0baad210cc66a4dbf6d17ea01b2f
0xba9be16c6ae44de9d1a41f1795a5fd1021756e88ea82041e64880bcd9e2097ab
0xde072fa07d8e7cdb545b564797b02fc7af90988947ee56a787a2da6d2fb0b47d
0x9ab4ab85ebc432c81ff1b757d3e9423909c0e69baf01b5cccadbc0317325487f
0x7e7fd5cba88dc7ede4a069c017e82553176cd1dfc46b5abbe5b03fe7272e5b4a
0x77b285601175360a4bd15ab0cd4f26400457ef85207027e72a2475c617db6774
0x75ee78f611129a0233d7353067f425e94e83e5873ae6994ede05280331793d5e

Functions
Getter at block 21385424
allowStrict(view returns (bool)
false
asset(view returns (address)
0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0
cap(view returns (uint256)
100000000000000000000000000
decimals(view returns (uint8)
18
distPhi(view returns (uint256)
500
epsilon(view returns (uint256)
10000
getCurrentEpoch(view returns (uint256 epoch)
73188
 
getDust(view returns (uint256 dust)
getUnbondNonce(view returns (uint256 unbondNonce)
3
name(pure returns (string)
TruStake MATIC Vault Shares
owner(view returns (address)
0xf26d120678e322dd04d3828d4f27a931ac36b0ae
phi(view returns (uint256)
1000
 
sharePrice(view returns (uint256uint256)
stakeManagerContractAddress(view returns (address)
0x5e3ef299fddf15eaa0432e6e66473ace8c13d908
stakingTokenAddress(view returns (address)
0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0
symbol(pure returns (string)
TruMATIC
totalAssets(view returns (uint256)
392633468496349040
 
totalRewards(view returns (uint256)
 
totalStaked(view returns (uint256)
totalSupply(view returns (uint256)
1111918032627914530
treasuryAddress(view returns (address)
0x8680173376b74e50c8e81a2b461252effec922b3
validatorShareContractAddress(view returns (address)
0x3edbf7e027d280bcd8126a87f382941409364269
whitelistAddress(view returns (address)
0x5701773567a4a903ef1de459d0b542adb2439937
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
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
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
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
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(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
AllocationNonExistent(
CannotAllocateZero(
DepositSurpassesVaultCap(
DepositUnderOneMATIC(
ExceedsUnallocatedBalance(
InsufficientDistributorBalance(
NoRewardsAllocatedToRecipient(
NothingToDistribute(
OnlyDistributorCanDistributeRewards(
PhiTooLarge(
SenderAndOwnerMustBeReceiver(
SenderMustHaveInitiatedWithdrawalRequest(
StrictAllocationDisabled(
UserNotWhitelisted(
WithdrawalAmountTooLarge(
WithdrawalRequestAmountCannotEqualZero(
ZeroAddressNotSupported(