PoolManager

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x396b17a5 at 14003911
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots

No balances found for "PoolManager"

No transactions found for "PoolManager"


Functions
Getter at block 21080550
BASE_PARAMS(view returns (uint256)
1000000000
BASE_TOKENS(view returns (uint256)
1000000000000000000
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GOVERNOR_ROLE(view returns (bytes32)
0x7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f55
GUARDIAN_ROLE(view returns (bytes32)
0x55435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041
STABLEMASTER_ROLE(view returns (bytes32)
0x42e87691d7920cf38a77ca8920f5a4c84f1b5ae359a91577fea4018facdd7b53
STRATEGY_ROLE(view returns (bytes32)
0x928286c473ded01ff8bf61a1986f14a0579066072fa8261442d9fea514d93a4c
adminDebt(view returns (uint256)
0
 
creditAvailable(view returns (uint256)
 
debtOutstanding(view returns (uint256)
debtRatio(view returns (uint256)
0
 
estimatedAPR(view returns (uint256 apr)
feeManager(view returns (address)
0x0000000000000000000000000000000000000000
 
getBalance(view returns (uint256)
 
getTotalAsset(view returns (uint256)
interestsAccumulated(view returns (uint256)
0
interestsForSurplus(view returns (uint64)
0
perpetualManager(view returns (address)
0x0000000000000000000000000000000000000000
stableMaster(view returns (address)
0x0000000000000000000000000000000000000000
surplusConverter(view returns (address)
0x0000000000000000000000000000000000000000
token(view returns (address)
0x0000000000000000000000000000000000000000
totalDebt(view returns (uint256)
0
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
strategies(addressview returns (uint256 lastReportuint256 totalStrategyDebtuint256 debtRatio)
strategyList(uint256view returns (address)
State-modifying
addGovernor(address _governor
addStrategy(address strategyuint256 _debtRatio
deployCollateral(address[] governorListaddress guardianaddress _perpetualManageraddress _feeManageraddress _oracle
grantRole(bytes32 roleaddress account
initialize(address _tokenaddress _stableMaster
pushSurplus(
recoverERC20(address tokenAddressaddress touint256 amountToRecover
removeGovernor(address _governor
renounceRole(bytes32 roleaddress account
report(uint256 gainuint256 lossuint256 debtPayment
revokeGuardian(address guardian
revokeRole(bytes32 roleaddress account
revokeStrategy(address strategy
setFeeManager(address _feeManager
setGuardian(address _guardianaddress guardian
setInterestsForSurplus(uint64 _interestsForSurplus
setStrategyEmergencyExit(address strategy
setSurplusConverter(address newSurplusConverter
updateStrategyDebtRatio(address strategyuint256 _debtRatio
withdrawFromStrategy(address strategyuint256 amount
Events
FeesDistributed(uint256 amountDistributed
InterestsForSurplusUpdated(uint64 _interestsForSurplus
Recovered(address indexed tokenaddress indexed touint256 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
StrategyAdded(address indexed strategyuint256 debtRatio
StrategyReported(address indexed strategyuint256 gainuint256 lossuint256 debtPaymentuint256 totalDebt
StrategyRevoked(address indexed strategy
SurplusConverterUpdated(address indexed newSurplusConverteraddress indexed oldSurplusConverter
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.