TreasuryProxy
Verified contract
Proxy
Active on
Ethereum with 55 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x409c…8153
0x409c…8153
28 additional
variables
Balances ($6,413,445.20)
Native
Value
$6,413,445.2
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 2.033213K | $3,154.34 |
$6,413,445.2 | |
TOS | ERC-20 | 14.250823M | -- | -- | |
HQG | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21213536 | 12 hours ago | | | 0 | 0.00070169743 | |
| 21183250 | 5 days ago | | | 0 | 0.0024696536 | |
| 21171076 | 6 days ago | | | 0 | 0.0033624231 | |
| 21170064 | 7 days ago | | | 0 | 0.0016849429 | |
| 21146889 | 10 days ago | | | 0 | 0.00058089624 | |
| 21135694 | 11 days ago | | | 0 | 0.0016258482 | |
| 21126091 | 13 days ago | | | 0 | 0.0024953539 | |
| 21125776 | 13 days ago | | | 0 | 0.0019287308 | |
| 21107186 | 15 days ago | | | 0 | 0.00036957151 | |
| 21099224 | 16 days ago | | | 0 | 0.00025599509 |
ABI
ABI objects
Getter at block 21217147 backingReserveTOS() view returns (uint256)
ADMIN_ROLE() view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
POLICY_ROLE() view returns (bytes32)
0xfb5864e8ff833c3cb2d2d08505e82ff02a43554c74a35d4f5a64e85261278311
calculator() view returns (address)
0xd062c01b317933eaabd8f64e3f59141a79c3f95c
foundationAmount() view returns (uint256)
1
foundationTotalPercentage() view returns (uint256)
2100
implementation() view returns (address)
0x27cd23123b2511855232c219af2f9440b3fb9ba0
isTreasury() pure returns (bool)
true
mintRate() view returns (uint256)
14000000000000000000000
mintRateDenominator() view returns (uint256)
1000000000000000000
pauseProxy() view returns (bool)
false
poolAddressTOSETH() view returns (address)
0x2ad99c938471770da0cd60e08eaf29ebff67a92a
stakingV2() view returns (address)
0x14fb0933ec45ece75a431d10afaa1ddf7bfee44c
tos() view returns (address)
0x409c4d8cd5d2924b9bc5509230d16a61289c8153
uniswapV3Factory() view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
wethAddress() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
ADMIN_ROLE() view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
POLICY_ROLE() view returns (bytes32)
0xfb5864e8ff833c3cb2d2d08505e82ff02a43554c74a35d4f5a64e85261278311
allBacking() view returns (address[])
[]
allMinting() view returns (address[] mintAddress, uint256[] mintPercents)
(mintAddress=[0x15280a52E79FD4aB35F4B9Acbb376DCD72b44Fd1, 0xBedE575486e1F103fbe258a00D046F09e837fA17, 0x2520CD65BAa2cEEe9E6Ad6EBD3F45490C42dd303], mintPercents=[1500, 500, 100])
backingRateETHPerTOS() view returns (uint256)
73199678367128
backingReserve() view returns (uint256)
2033213034754322360027
backingReserveETH() view returns (uint256)
2033213034754322360027
calculator() view returns (address)
0xd062c01b317933eaabd8f64e3f59141a79c3f95c
claimPause() view returns (bool)
false
claimableStartTime() view returns (uint256)
1726963200
enableStaking() view returns (uint256)
14250823082279628765112880
foundationAmount() view returns (uint256)
1
foundationTotalPercentage() view returns (uint256)
2100
getETHPricePerTOS() view returns (uint256)
0
getMintRate() view returns (uint256)
14000000000000000000000
getTOSPricePerETH() view returns (uint256)
14000000000000000000000
mintRate() view returns (uint256)
14000000000000000000000
mintRateDenominator() view returns (uint256)
1000000000000000000
pauseProxy() view returns (bool)
false
poolAddressTOSETH() view returns (address)
0x2ad99c938471770da0cd60e08eaf29ebff67a92a
stakingV2() view returns (address)
0x14fb0933ec45ece75a431d10afaa1ddf7bfee44c
tos() view returns (address)
0x409c4d8cd5d2924b9bc5509230d16a61289c8153
totalBacking() view returns (uint256)
0
totalMinting() view returns (uint256)
3
uniswapV3Factory() view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
wethAddress() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
aliveImplementation(address) view returns (bool)
backingIndexPlusOne(address) view returns (uint256)
backings(uint256) view returns (address)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSelectorImplementation2(bytes4 _selector) view returns (address impl)
hasRole(bytes32 role, address account) view returns (bool)
implementation2(uint256 _index) view returns (address)
isAdmin(address account) view returns (bool)
isPolicy(address account) view returns (bool)
isProxyAdmin(address account) view returns (bool)
lpTokens(uint256) view returns (uint256)
mintings(uint256) view returns (address mintAddress, uint256 mintPercents)
permissions(uint8, address) view returns (bool)
proxyImplementation(uint256) view returns (address)
registry(uint8, uint256) view returns (address)
selectorImplementation(bytes4) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
aliveImplementation(address) view returns (bool)
backingIndexPlusOne(address) view returns (uint256)
backings(uint256) view returns (address)
checkTosSolvency(uint256 amount) view returns (bool)
checkTosSolvencyAfterTOSBurn(uint256 _checkMintRate, uint256 amount) view returns (bool)
checkTosSolvencyAfterTOSMint(uint256 _checkMintRate, uint256 amount) view returns (bool)
claimableEther(uint256 tosAmount) view returns (uint256 ethAmount_)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasPermission(uint256 role, address account) view returns (bool)
hasRole(bytes32 role, address account) view returns (bool)
indexInRegistry(address _address, uint8 _status) view returns (bool, uint256)
isAdmin(address account) view returns (bool)
isBonder(address account) view returns (bool)
isPolicy(address account) view returns (bool)
isProxyAdmin(address account) view returns (bool)
isStaker(address account) view returns (bool)
lpTokens(uint256) view returns (uint256)
mintings(uint256) view returns (address mintAddress, uint256 mintPercents)
permissions(uint8, address) view returns (bool)
proxyImplementation(uint256) view returns (address)
registry(uint8, uint256) view returns (address)
selectorImplementation(bytes4) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
viewMintingInfo(uint256 _index) view returns (address mintAddress, uint256 mintPercents)
State-modifying
Events addAdmin(address account)
addPolicy(address _account)
addProxyAdmin(address _owner)
deletePolicy(address _account)
grantRole(bytes32 role, address account)
initialize(address _tos, address _calculator, address _wethAddress, address _uniswapV3Factory, address _stakingV2, address _poolAddressTOSETH)
removeAdmin()
removePolicy()
removeProxyAdmin()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setAliveImplementation2(address newImplementation, bool _alive)
setImplementation2(address newImplementation, uint256 _index, bool _alive)
setProxyPause(bool _pause)
setSelectorImplementations2(bytes4[] _selectors, address _imp)
transferAdmin(address newAdmin)
transferProxyAdmin(address newAdmin)
upgradeTo(address impl)
addAdmin(address account)
addBackingList(address _address)
addBondAsset(address _address)
addPolicy(address _account)
addProxyAdmin(address _owner)
claim(uint256 tosAmount)
deleteBackingList(address _address)
deletePolicy(address _account)
disable(uint256 _status, address _toDisable)
enable(uint256 _status, address _address)
foundationDistribute()
grantRole(bytes32 role, address account)
removeAdmin()
removePolicy()
removeProxyAdmin()
renounceRole(bytes32 role, address account)
requestMint(uint256 _mintAmount, uint256 _payout, bool _distribute)
requestTransfer(address _recipient, uint256 _amount)
revokeRole(bytes32 role, address account)
setCalculator(address _calculator)
setClaimPause(bool _pause)
setClaimableStartTime(uint32 _startTime)
setFoundationDistributeInfo(address[] _address, uint256[] _percents)
setMR(uint256 _mrRate, uint256 amount, bool _isBurn)
setMintRateDenominator(uint256 _mintRateDenominator)
setPoolAddressTOSETH(address _poolAddressTOSETH)
setUniswapV3Factory(address _uniswapFactory)
setWeth(address _wethAddress)
tosBurn(uint256 amount)
transferAdmin(address newAdmin)
transferProxyAdmin(address newAdmin)
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)
SetAliveImplementation(address indexed impl, bool alive)
SetSelectorImplementation(bytes4 indexed selector, address indexed impl)
Upgraded(address indexed implementation)
AddedBackingList(address _address)
BurnedTos(uint256 amount)
Claimed(address account, uint256 tosAmount, uint256 ethAmount)
DeletedBackingList(address _address)
DistributedFoundation(address to, uint256 amount)
Permissioned(address addr, uint256 indexed status, bool result)
RequestedMint(uint256 _mintAmount, uint256 _payout, bool _distribute)
RequestedTransfer(address _recipient, uint256 _amount)
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)
SetCalculator(address calculatorAddress)
SetClaimPause(bool _pause)
SetClaimableStartTime(uint32 _startTime)
SetFoundationDistributeInfo(address[] _addr, uint256[] _percents)
SetMintRate(uint256 mrRate, uint256 amount, bool isBurn)
SetMintRateDenominator(uint256 _mintRateDenominator)
SetPoolAddressTOSETH(address _poolAddressTOSETH)
SetUniswapV3Factory(address _uniswapFactory)
SetWethAddress(address _wethAddress)
This contract contains no constructor objects.
fallback()
receive()
PassedTimeError()