TreasuryProxy
Verified contract
Proxy
Active on
Ethereum with 47 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 ($4,903,453.08)
Native
Value
$4,903,453.08
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 2.035227K | $2,409.29 |
$4,903,453.08 | |
TOS | ERC-20 | 14.288752M | -- | -- | |
HQG | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21107186 | 2 days ago | | | 0 | 0.00036957151 | |
| 21099224 | 4 days ago | | | 0 | 0.00025599509 | |
| 21064506 | 8 days ago | | | 0 | 0.00072243624 | |
| 21064397 | 8 days ago | | | 0 | 0.00071052573 | |
| 20997594 | 18 days ago | | | 0 | 0.00055871363 | |
| 20984584 | 20 days ago | | | 0 | 0.00074119247 | |
| 20900671 | a month ago | | | 0 | 0.00030428329 | |
| 20797731 | 2 months ago | | | 0 | 0.00063351314 | |
| 20425167 | 3 months ago | | | 0 | 0.00031259808 | |
| 17916495 | a year ago | | | 0 | 0.0010961585 |
ABI
ABI objects
Getter at block 21124411 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)
2035227422083883291172
backingReserveETH() view returns (uint256)
2035227422083883291172
calculator() view returns (address)
0xd062c01b317933eaabd8f64e3f59141a79c3f95c
claimPause() view returns (bool)
false
claimableStartTime() view returns (uint256)
1726963200
enableStaking() view returns (uint256)
14288752059523982410515892
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()