TokenStore
Verified contract
Active on
Ethereum with 1,176 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
1 additional
variable
Balances ($7,316.23)
Native
Value
$6,584.3
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 1.662168 | $3,961.27 |
$6,584.3 | |
USDT | ERC-20 | 710.185808 | $1.00 |
$710.19 | |
USDC | ERC-20 | 21.74616 | $1.00 |
$21.75 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21392371 | 7 hours ago | | | 0 | 0.0018077249 | |
| 21392130 | 8 hours ago | | | 0.5349 | 0.0016850862 | |
| 21392122 | 8 hours ago | | | 0 | 0.00049473574 | |
| 21391165 | 11 hours ago | | | 0 | 0.0021473084 | |
| 21387553 | a day ago | | | 0.035 | 0.0082134086 | |
| 21384836 | a day ago | | | 0.05 | 0.0021397153 | |
| 21384580 | a day ago | | | 0.19 | 0.0024549546 | |
| 21381905 | 2 days ago | | | 0.15 | 0.0042270002 | |
| 21380383 | 2 days ago | | | 0 | 0.0028954470 | |
| 21380358 | 2 days ago | | | 0 | 0.0024608275 |
ABI
ABI objects
Getter at block 21394459
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE() view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
MULTIPLIER() view returns (uint256)
1000000000000000000
VERIFIED_ROLE() view returns (bytes32)
0x4f72063d6dc4cf4bb4e008e0815997320f78a862b3e71fe66fa9ae685d1cd12f
defaultPythThreshold() view returns (uint256)
28800
getCurrentMilestoneIndex() view returns (uint256)
51
getLimit() view returns (uint256)
1000000000000000000000000
getMaxDepositAmount() view returns (uint256)
1000000000000000000000000
getMilestoneAmount() view returns (uint256)
55
getMinimalDepositAmount() view returns (uint256)
75000000000000000000
getRepresentativeRates() view returns (uint256, uint256)
(160, 60)
getTotalDepositAmount() view returns (uint256)
118717900000000000000
getTotalSoldTokens() view returns (uint256)
11191236653536600792990033
getTreasury() view returns (address)
0x463e391407ccb81b024db2c06748f01d1df37529
isSaleActive() view returns (bool)
true
isSaleInactive() view returns (bool)
false
paused() view returns (bool)
false
precision() view returns (uint256)
18
Read-only
balanceOf(uint256 milestone_, address user_) view returns (uint256)
getAllowedToken(address token_) view returns (struct ITokenStoreTokenConfig)
getCurrentMilestonePrice(uint8 option_) view returns (uint256)
getDepositedByToken(address asset_) view returns (uint256)
getMilestoneInfo(uint256 index_) view returns (struct ITokenStoreMilestone)
getRepresentative(address user_, address rep_) view returns (address)
getRepresentativeRate(address rep_) view returns (uint256, uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isStableSupported(address asset_) view returns (bool)
isVerified(address user_) view returns (bool)
maxDepositLimit(address user_) view returns (uint256)
regularDepositLimit(address user_) view returns (uint256)
representativeBalanceOf(address asset_, address user_) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events claimRepresentativeRewards(address[] assets_)
close()
depositCollateral(address asset_, uint256 amount_, uint8 option_, address representative_)
depositCollateralFor(address asset_, uint256 amount_, uint8 option_, address receiver_, address representative_)
depositNative(uint8 option_, address representative_) payable
depositNativeFor(uint8 option_, address receiver_, address representative_) payable
depositToken(address asset_, uint256 amount_, uint8 option_, address representative_)
depositTokenFor(address asset_, uint256 amount_, uint8 option_, address receiver_, address representative_)
disableRepresentative(address rep_)
enableRepresentative(address rep_)
finishMilestone(uint256 index_)
grantRole(bytes32 role, address account)
open()
pause()
recoverErc20(address asset_, uint256 amount_)
recoverNative()
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
setLimit(uint256 amount_)
setMaxDepositAmount(uint256 amount_)
setMilestone(uint256 sPrice_, uint256 lPrice_, uint256 supply_)
setMinDepositAmount(uint256 amount_)
setNativePythThreshold(uint256 pythNativeThreshold_)
setRepresentativeRate(uint256 firstRepRate_, uint256 secondRepRate_)
setTreasury(address treasury_)
setVerified(address user_, bool value_)
setVerifiedBatch(address[] users_, bool[] values_)
setupRepresentatives(address[] reps_, uint256[] firstRepRates_, uint256[] secondRepRates_)
start(uint256 index_)
toggleAllowedTokens(address[] tokens_, bytes32[] pythIds_, uint256[] thresholds_, bool[] statuses_)
unpause()
updateMilestonePrice(uint256 index_, uint256 sPrice_, uint256 lPrice_)
updateMilestoneSupply(uint256 index_, uint256 supply_)
Claimed(address indexed Representative, address indexed asset, uint256 amount)
DepositedNative(address indexed receiver, address indexed representative, uint256 size, uint8 indexed option, uint256 tokensReleased, uint256 saleMilestone)
DepositedToken(address indexed receiver, address indexed asset, address indexed representative, uint256 size, uint8 option, uint256 tokensReleased, uint256 saleMilestone)
Paused(address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Unpaused(address account)
constructor(address treasury_, address[] stables_, address pyth_, bytes32 pythNativePriceFeedId_, address[] tokens, bytes32[] pythIds)
receive()
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
EnforcedPause()
ExpectedPause()
FailedInnerCall()
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)