TruStake MATIC Vault Shares

Verified contract

Proxy

Active on Ethereum with 608 txns
Deployed by via 0x561d55b8 at 17478663
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 42 additional slots
-
variable spans 49 additional slots
19 additional variables
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xe15feb9a463404e7e50ffa69e14660a71d414d35d9b8f8093fc618a43f876f36
0x53a2e1107333f83d214a427b4d37366b4953e57edc8c54cd733c3bf3294a144c
0xa7fa696c05285db969b692acfe3516d19c7628a82dec0daaf9e7472647dae257
0xf0a242ae246d369449e01d31a8e8ce7ce2f41e0db6c099dfdf37d14deeae7608
0x1f6d1fa265fa7f3692ebdbd96d8e0eb3010c0a302605c8bd2b72860cb2977a17
0x8ae9fa907ac7e7b4efdf76b00761586f5c02ae3c429ac2bedba03e9917824ec4
0x012031d5bd2d85046869c9d6bba84b549e55999327e48ff4887a8063e618542a
0x6a04e93de1196c2256c7d592bc5a3aaf26aaa95cdb238f2a7e263d72bc272789
0x5ea82f6d78747877917ee5df8f684d81fa4b5225e4413ea8c50f18bd5df802f1
0xe92251630874e3b5cd366dd776907308e5523c05bf3bf1fe980f6bbe9259c7c7

Functions
Getter at block 21164032
decimals(view returns (uint8)
18
defaultValidatorAddress(view returns (address)
0xeb8eae5a2f106e52c0ff440021aefb16a77a038a
deprecated1(view returns (uint256)
100000000000000000000000000
deprecated3(view returns (bool)
false
distPhi(view returns (uint256)
0
epsilon(view returns (uint256)
10000
 
getAllValidators(view returns (struct Validator[])
getCurrentEpoch(view returns (uint256)
71651
 
getDust(view returns (uint256)
getValidators(view returns (address[])
[0xeA077b10A0eD33e4F68Edb2655C18FDA38F84712, 0x9734e58401905184e2A316895762962fB24386AF, 0xeb8eAE5A2F106E52c0ff440021AeFb16a77a038a, 0xa6e768fEf2D1aF36c0cfdb276422E7881a83e951]
minDeposit(view returns (uint256)
1000000000000000000
name(view returns (string)
TruStake MATIC Vault Shares
owner(view returns (address)
0x71598a2209b4a9c3e23260ac373180f4b637136d
paused(view returns (bool)
false
phi(view returns (uint256)
500
 
sharePrice(view returns (uint256uint256)
stakeManagerContractAddress(view returns (address)
0x5e3ef299fddf15eaa0432e6e66473ace8c13d908
stakingTokenAddress(view returns (address)
0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0
symbol(view returns (string)
TruMATIC
totalAssets(view returns (uint256)
0
 
totalRewards(view returns (uint256)
totalStaked(view returns (uint256)
163421820876568859127474865
totalSupply(view returns (uint256)
153285767585292134176327112
treasuryAddress(view returns (address)
0x96a23064c65c08ce5109a98675e4d87e867db0cc
whitelistAddress(view returns (address)
0xb78610ade922b1aa0df2b0981f0dec17733f0334
Read-only
allocations(addressaddressboolview returns (uint256 maticAmountuint256 sharePriceNumuint256 sharePriceDenom)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
canAccessValidator(address _useraddress _validatorview returns (bool)
convertToAssets(uint256 _sharesview returns (uint256)
convertToShares(uint256 _assetsview returns (uint256)
deprecated2(addressboolview returns (uint256 maticAmountuint256 sharePriceNumuint256 sharePriceDenom)
distributors(addressbooluint256view returns (address)
getDistributors(address _userview returns (address[])
getRecipients(address _userview returns (address[])
getRewardsFromValidator(address _validatorview returns (uint256)
getTotalAllocated(address distributorview returns (struct Allocation)
getUnbondNonce(address _validatorview returns (uint256)
getUserInfo(address _userview returns (uint256uint256uint256uint256uint256)
getUserValidators(address _userview returns (struct Validator[])
isClaimable(uint256 _unbondNonceaddress _validatorview returns (bool)
maxWithdraw(address _userview returns (uint256)
previewRedeem(uint256 _sharesview returns (uint256)
previewWithdraw(uint256 _assetsview returns (uint256)
recipients(addressbooluint256view returns (address)
unbondingWithdrawals(uint256view returns (address useruint256 amount)
usersPrivateAccess(addressview returns (address)
validatorAddresses(uint256view returns (address)
validators(addressview returns (uint8 stateuint256 stakedAmountaddress validatorAddressbool isPrivate)
withdrawals(addressuint256view returns (address useruint256 amount)
State-modifying
addValidator(address _validatorbool _isPrivate
allocate(uint256 _amountaddress _recipient
approve(address spenderuint256 amountreturns (bool)
changeValidatorPrivacy(address _validatorbool _isPrivate
claimList(uint256[] _unbondNoncesaddress _validator
compoundRewards(address _validator
deallocate(uint256 _amountaddress _recipient
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 _assetsreturns (uint256)
depositToSpecificValidator(uint256 _assetsaddress _validatorreturns (uint256)
disableValidator(address _validator
distributeAll(bool _inMatic
distributeRewards(address _recipientbool _inMatic
enableValidator(address _validator
givePrivateAccess(address _useraddress _validator
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _stakingTokenAddressaddress _stakeManagerContractAddressaddress _validatoraddress _whitelistAddressaddress _treasuryAddressuint256 _phiuint256 _distPhi
pause(
removePrivateAccess(address _user
renounceOwnership(
setDefaultValidator(address _validator
setDistPhi(uint256 _distPhi
setEpsilon(uint256 _epsilon
setMinDeposit(uint256 _newMinDeposit
setPhi(uint256 _phi
setTreasury(address _treasuryAddress
setWhitelist(address _whitelistAddress
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferOwnership(address newOwner
unpause(
withdraw(uint256 _assetsreturns (uint256uint256)
withdrawClaim(uint256 _unbondNonceaddress _validator
withdrawFromSpecificValidator(uint256 _assetsaddress _validatorreturns (uint256uint256)
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
Allocated(address indexed _distributoraddress indexed _recipientuint256 _individualAmountuint256 _individualNumuint256 _individualDenom
Approval(address indexed owneraddress indexed spenderuint256 value
Deallocated(address indexed _distributoraddress indexed _recipientuint256 _individualAmount
Deposited(address indexed _useruint256 _treasurySharesuint256 _userSharesuint256 _amountuint256 _stakedAmountuint256 _totalAssetsaddress indexed _validator
DistributedAll(address indexed _distributor
DistributedRewards(address indexed _distributoraddress indexed _recipientuint256 _amountuint256 _sharesuint256 _individualNumuint256 _individualDenom
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
PrivateAccessGiven(address indexed _useraddress indexed _validator
PrivateAccessRemoved(address indexed _useraddress indexed _validator
RestakeError(address indexed _validatorstring _reason
RewardsCompounded(uint256 indexed _amountuint256 indexed _shares
SetDefaultValidator(address indexed _oldDefaultValidatoraddress indexed _newDefaultValidator
SetDistPhi(uint256 indexed _oldDistPhiuint256 indexed _newDistPhi
SetEpsilon(uint256 indexed _oldEpsilonuint256 indexed _newEpsilon
SetMinDeposit(uint256 indexed _oldMinDeposituint256 indexed _newMinDeposit
SetPhi(uint256 indexed _oldPhiuint256 indexed _newPhi
SetTreasury(address indexed _oldTreasuryAddressaddress indexed _newTreasuryAddress
SetWhitelist(address indexed _oldWhitelistAddressaddress indexed _newWhitelistAddress
StakerInitialized(address _stakingTokenAddressaddress _stakeManagerContractAddressaddress _validatoraddress _whitelistAddressaddress _treasuryAddressuint256 _phiuint256 _distPhi
Transfer(address indexed fromaddress indexed touint256 value
Unpaused(address account
ValidatorAdded(address indexed _validatoruint256 _stakedAmountbool _isPrivate
ValidatorPrivacyChanged(address indexed _validatorbool _oldIsPrivatebool _newIsPrivate
ValidatorStateChanged(address indexed _validatoruint8 indexed _oldStateuint8 indexed _newState
WithdrawalClaimed(address indexed _useraddress indexed _validatoruint256 indexed _unbondNonceuint256 _claimedAmountuint256 _transferredAmount
WithdrawalRequested(address indexed _useruint256 _treasurySharesuint256 _userSharesuint256 _amountuint256 _totalAssetsaddress indexed _validatoruint256 _unbondNonceuint256 indexed _epoch
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
AllocationNonExistent(
AllocationUnderOneMATIC(
DepositBelowMinDeposit(
DistPhiTooLarge(
EpsilonTooLarge(
ExcessDeallocation(
InsufficientDistributorBalance(
MinDepositTooSmall(
NoRecipientsFound(
NothingToDistribute(
PhiTooLarge(
PrivateAccessAlreadyGiven(
PrivateAccessNotGiven(
SenderMustHaveInitiatedWithdrawalRequest(
UserNotWhitelisted(
ValidatorAccessDenied(
ValidatorAlreadyExists(
ValidatorAlreadyNonPrivate(
ValidatorAlreadyPrivate(
ValidatorDoesNotExist(
ValidatorHasAssets(
ValidatorNotDisabled(
ValidatorNotEnabled(
ValidatorNotPrivate(
WithdrawClaimNonExistent(
WithdrawalAmountTooLarge(
WithdrawalRequestAmountCannotEqualZero(
ZeroAddressNotSupported(