TreasuryProxy

Verified contract

Proxy

Active on Ethereum with 55 txns
Deployed by via 0xfa5afbd3 at 15974002
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
28 additional variables
Native
Value $6,413,445.2
ERC-20
--
ERC-20
--
0xc7de3f1df2d81db532c797a87f87e51942f14f3ddee00cfd2520a915c3c30331
0x64db95faa79c40ec5a89321e485f8cc513a5a712dd0a6541d771b1fada10a130
From
0x98d29129e4b128533239724de90ed9e109a1e65eb5140b24537e898dc342b657
0xc4ccc1f10effeb44da9f82af3bad9edb98dc4817ed8de2e2625805ea688efdea
0x52b7baef2438061a75f98d4c02b3dec77ea4ead03be6c1d6eb251c9ca289a05c
0x50ee2eed09252d7fbbc39bb18ddccb76d37b6eec11f6248c082dfb33b3d67f16
0xefc5c383e94037ba236699eafd6dd2481dc2f0943c10eca6bdc8ce875fc9818d
0xf92aa1ef706b5dfb5bdd3e7f38f5150bd2d0373434976e83fa7aec12b28b1894
0x2d566b42bb249bd5cc5ff8465f3ce9d0422c9ea5fc8c22e48a4aebd1aa4c1e44
0x91d6061aa61719d9ca889269d58922b3ba5e1718655c44bddb34a18d417aee95

Functions
Getter at block 21217147
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[] mintAddressuint256[] mintPercents)
(mintAddress=[0x15280a52E79FD4aB35F4B9Acbb376DCD72b44Fd1, 0xBedE575486e1F103fbe258a00D046F09e837fA17, 0x2520CD65BAa2cEEe9E6Ad6EBD3F45490C42dd303], mintPercents=[1500, 500, 100])
backingRateETHPerTOS(view returns (uint256)
73199678367128
backingReserve(view returns (uint256)
2033213034754322360027
backingReserveETH(view returns (uint256)
2033213034754322360027
 
backingReserveTOS(view returns (uint256)
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(addressview returns (bool)
backingIndexPlusOne(addressview returns (uint256)
backings(uint256view returns (address)
getRoleAdmin(bytes32 roleview returns (bytes32)
getSelectorImplementation2(bytes4 _selectorview returns (address impl)
hasRole(bytes32 roleaddress accountview returns (bool)
implementation2(uint256 _indexview returns (address)
isAdmin(address accountview returns (bool)
isPolicy(address accountview returns (bool)
isProxyAdmin(address accountview returns (bool)
lpTokens(uint256view returns (uint256)
mintings(uint256view returns (address mintAddressuint256 mintPercents)
permissions(uint8addressview returns (bool)
proxyImplementation(uint256view returns (address)
registry(uint8uint256view returns (address)
selectorImplementation(bytes4view returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
aliveImplementation(addressview returns (bool)
backingIndexPlusOne(addressview returns (uint256)
backings(uint256view returns (address)
checkTosSolvency(uint256 amountview returns (bool)
checkTosSolvencyAfterTOSBurn(uint256 _checkMintRateuint256 amountview returns (bool)
checkTosSolvencyAfterTOSMint(uint256 _checkMintRateuint256 amountview returns (bool)
claimableEther(uint256 tosAmountview returns (uint256 ethAmount_)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasPermission(uint256 roleaddress accountview returns (bool)
hasRole(bytes32 roleaddress accountview returns (bool)
indexInRegistry(address _addressuint8 _statusview returns (booluint256)
isAdmin(address accountview returns (bool)
isBonder(address accountview returns (bool)
isPolicy(address accountview returns (bool)
isProxyAdmin(address accountview returns (bool)
isStaker(address accountview returns (bool)
lpTokens(uint256view returns (uint256)
mintings(uint256view returns (address mintAddressuint256 mintPercents)
permissions(uint8addressview returns (bool)
proxyImplementation(uint256view returns (address)
registry(uint8uint256view returns (address)
selectorImplementation(bytes4view returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
viewMintingInfo(uint256 _indexview returns (address mintAddressuint256 mintPercents)
State-modifying
addAdmin(address account
addPolicy(address _account
addProxyAdmin(address _owner
deletePolicy(address _account
grantRole(bytes32 roleaddress account
initialize(address _tosaddress _calculatoraddress _wethAddressaddress _uniswapV3Factoryaddress _stakingV2address _poolAddressTOSETH
removeAdmin(
removePolicy(
removeProxyAdmin(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setAliveImplementation2(address newImplementationbool _alive
setImplementation2(address newImplementationuint256 _indexbool _alive
setProxyPause(bool _pause
setSelectorImplementations2(bytes4[] _selectorsaddress _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 _statusaddress _toDisable
enable(uint256 _statusaddress _address
foundationDistribute(
grantRole(bytes32 roleaddress account
removeAdmin(
removePolicy(
removeProxyAdmin(
renounceRole(bytes32 roleaddress account
requestMint(uint256 _mintAmountuint256 _payoutbool _distribute
requestTransfer(address _recipientuint256 _amount
revokeRole(bytes32 roleaddress account
setCalculator(address _calculator
setClaimPause(bool _pause
setClaimableStartTime(uint32 _startTime
setFoundationDistributeInfo(address[] _addressuint256[] _percents
setMR(uint256 _mrRateuint256 amountbool _isBurn
setMintRateDenominator(uint256 _mintRateDenominator
setPoolAddressTOSETH(address _poolAddressTOSETH
setUniswapV3Factory(address _uniswapFactory
setWeth(address _wethAddress
tosBurn(uint256 amount
transferAdmin(address newAdmin
transferProxyAdmin(address newAdmin
Events
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetAliveImplementation(address indexed implbool alive
SetSelectorImplementation(bytes4 indexed selectoraddress indexed impl
Upgraded(address indexed implementation
AddedBackingList(address _address
BurnedTos(uint256 amount
Claimed(address accountuint256 tosAmountuint256 ethAmount
DeletedBackingList(address _address
DistributedFoundation(address touint256 amount
Permissioned(address addruint256 indexed statusbool result
RequestedMint(uint256 _mintAmountuint256 _payoutbool _distribute
RequestedTransfer(address _recipientuint256 _amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetCalculator(address calculatorAddress
SetClaimPause(bool _pause
SetClaimableStartTime(uint32 _startTime
SetFoundationDistributeInfo(address[] _addruint256[] _percents
SetMintRate(uint256 mrRateuint256 amountbool isBurn
SetMintRateDenominator(uint256 _mintRateDenominator
SetPoolAddressTOSETH(address _poolAddressTOSETH
SetUniswapV3Factory(address _uniswapFactory
SetWethAddress(address _wethAddress
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
receive(
Errors
PassedTimeError(