Treasury
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Treasury"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Treasury"
ABI
ABI objects
Getter at block 22904818
BASE_9() view returns (uint256)
1000000000
badDebt() view returns (uint256)
0
core() view returns (address)
0x0000000000000000000000000000000000000000
flashLoanModule() view returns (address)
0x0000000000000000000000000000000000000000
stablecoin() view returns (address)
0x0000000000000000000000000000000000000000
surplusBuffer() view returns (uint256)
0
surplusForGovernance() view returns (uint64)
0
surplusManager() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
isGovernor(address admin) view returns (bool)
isGovernorOrGuardian(address admin) view returns (bool)
isVaultManager(address _vaultManager) view returns (bool)
vaultManagerList(uint256) view returns (address)
vaultManagerMap(address) view returns (uint256)
State-modifying
Events addMinter(address minter)
addVaultManager(address vaultManager)
fetchSurplusFromAll() returns (uint256, uint256)
fetchSurplusFromFlashLoan() returns (uint256, uint256)
initialize(address _core, address _stablecoin)
pushSurplus() returns (uint256 governanceAllocation)
recoverERC20(address tokenAddress, address to, uint256 amountToRecover)
removeMinter(address minter)
removeVaultManager(address vaultManager)
setCore(address _core)
setFlashLoanModule(address _flashLoanModule)
setSurplusForGovernance(uint64 _surplusForGovernance)
setSurplusManager(address _surplusManager)
setTreasury(address _treasury)
updateBadDebt(uint256 amount) returns (uint256 badDebtValue)
BadDebtUpdated(uint256 badDebtValue)
CoreUpdated(address indexed _core)
Initialized(uint8 version)
NewTreasurySet(address indexed _treasury)
Recovered(address indexed token, address indexed to, uint256 amount)
SurplusBufferUpdated(uint256 surplusBufferValue)
SurplusForGovernanceUpdated(uint64 _surplusForGovernance)
SurplusManagerUpdated(address indexed _surplusManager)
VaultManagerToggled(address indexed vaultManager)
constructor()
This contract contains no fallback and receive objects.
AlreadyVaultManager()
InvalidAddress()
InvalidTreasury()
NotCore()
NotGovernor()
NotVaultManager()
RightsNotRemoved()
TooBigAmount()
TooHighParameterValue()
ZeroAddress()