TreasuryProxy

Verified contract

Proxy

Active on Ethereum with 47 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 $4,903,453.08
ERC-20
--
ERC-20
--
0x2d566b42bb249bd5cc5ff8465f3ce9d0422c9ea5fc8c22e48a4aebd1aa4c1e44
0x91d6061aa61719d9ca889269d58922b3ba5e1718655c44bddb34a18d417aee95
0x17229173e80ed7026c23f16ae30a82b5e1c65b242d7771c8b517c49eb9a86308
0x0686488a57c5aee1ce065e280bc97aceafd67d5388c4158d8917842322e82443
From
0x17c307e71c8fdb3cf5d7236c7267f99b83559a0ed7f7f51577be62be67798784
0x11e25bb426cbe98a727eb3d46f80ed67dcf4c5a660ef66f3c7001e3c04627066
0x15251ef8127eb749896ffe4c1b6f403129637623ac5c44edf313ada5700f643c
0xb5b6e350d6ee326e55f14cad8409d07f51c3b0625d737cd44fa25515daa9f676
0xb46bde26a42f175351ba4ce4ddf980386a2a881f18c2a91cdfd4ee377a8d61ab
0xbbd72fec5cb83b565aabc79065ff15340ca94abfabe402c8f23b6881b4b85b8f

Functions
Getter at block 21124411
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)
2035227422083883291172
backingReserveETH(view returns (uint256)
2035227422083883291172
 
backingReserveTOS(view returns (uint256)
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(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(