Treasury

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xcba31dd4 at 2190492
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Treasury"

No transactions found for "Treasury"


Functions
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 adminview returns (bool)
isGovernorOrGuardian(address adminview returns (bool)
isVaultManager(address _vaultManagerview returns (bool)
vaultManagerList(uint256view returns (address)
vaultManagerMap(addressview returns (uint256)
State-modifying
addMinter(address minter
addVaultManager(address vaultManager
fetchSurplusFromAll(returns (uint256uint256)
fetchSurplusFromFlashLoan(returns (uint256uint256)
initialize(address _coreaddress _stablecoin
pushSurplus(returns (uint256 governanceAllocation)
recoverERC20(address tokenAddressaddress touint256 amountToRecover
removeMinter(address minter
removeVaultManager(address vaultManager
setCore(address _core
setFlashLoanModule(address _flashLoanModule
setSurplusForGovernance(uint64 _surplusForGovernance
setSurplusManager(address _surplusManager
setTreasury(address _treasury
updateBadDebt(uint256 amountreturns (uint256 badDebtValue)
Events
BadDebtUpdated(uint256 badDebtValue
CoreUpdated(address indexed _core
Initialized(uint8 version
NewTreasurySet(address indexed _treasury
Recovered(address indexed tokenaddress indexed touint256 amount
SurplusBufferUpdated(uint256 surplusBufferValue
SurplusForGovernanceUpdated(uint64 _surplusForGovernance
SurplusManagerUpdated(address indexed _surplusManager
VaultManagerToggled(address indexed vaultManager
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyVaultManager(
InvalidAddress(
InvalidTreasury(
NotCore(
NotGovernor(
NotVaultManager(
RightsNotRemoved(
TooBigAmount(
TooHighParameterValue(
ZeroAddress(