TruStake MATIC Vault Shares
Verified contract
Proxy
Active on
Ethereum with 14 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
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
12 additional
variables
Balances ($0.26)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
MATIC | ERC-20 | 0.392633 | $0.65486 |
$0.26 | |
0x3edb…4269 | ERC-20 | 719,553.96411T | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18769510 | a year ago | | | 0 | 0.0015863106 | |
| 17372127 | 2 years ago | | | 0 | 0.0093320005 | |
| 17372118 | 2 years ago | | | 0 | 0.0082078879 | |
| 17329329 | 2 years ago | | | 0 | 0.029187608 | |
| 17328564 | 2 years ago | | | 0 | 0.014739802 | |
| 17328072 | 2 years ago | | | 0 | 0.0076084407 | |
| 17328050 | 2 years ago | | | 0 | 0.010706858 | |
| 17322213 | 2 years ago | | | 0 | 0.016403916 | |
| 17322204 | 2 years ago | | | 0 | 0.016044563 | |
| 17320587 | 2 years ago | | | 0 | 0.023418678 |
ABI
ABI objects
Getter at block 21385424 getDust() view returns (uint256 dust) sharePrice() view returns (uint256, uint256) totalRewards() view returns (uint256) totalStaked() view returns (uint256)
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
getUnbondNonce() view returns (uint256 unbondNonce)
3
name() pure returns (string)
TruStake MATIC Vault Shares
owner() view returns (address)
0xf26d120678e322dd04d3828d4f27a931ac36b0ae
phi() view returns (uint256)
1000
stakeManagerContractAddress() view returns (address)
0x5e3ef299fddf15eaa0432e6e66473ace8c13d908
stakingTokenAddress() view returns (address)
0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0
symbol() pure returns (string)
TruMATIC
totalAssets() view returns (uint256)
392633468496349040
totalSupply() view returns (uint256)
1111918032627914530
treasuryAddress() view returns (address)
0x8680173376b74e50c8e81a2b461252effec922b3
validatorShareContractAddress() view returns (address)
0x3edbf7e027d280bcd8126a87f382941409364269
whitelistAddress() view returns (address)
0x5701773567a4a903ef1de459d0b542adb2439937
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 admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
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(address _logic, address admin_, bytes _data)
fallback()
receive()
AllocationNonExistent()
CannotAllocateZero()
DepositSurpassesVaultCap()
DepositUnderOneMATIC()
ExceedsUnallocatedBalance()
InsufficientDistributorBalance()
NoRewardsAllocatedToRecipient()
NothingToDistribute()
OnlyDistributorCanDistributeRewards()
PhiTooLarge()
SenderAndOwnerMustBeReceiver()
SenderMustHaveInitiatedWithdrawalRequest()
StrictAllocationDisabled()
UserNotWhitelisted()
WithdrawalAmountTooLarge()
WithdrawalRequestAmountCannotEqualZero()
ZeroAddressNotSupported()