TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 21 txns
Deployed by via 0x405e73c1 at 13473208
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
ERC-20
Value $215,025.44
ERC-20
Value $0.7
0xc57b0be36fc128c5e00e769b344ebace6ba8997dc0276f1c2bfe774555b00850
0x0361a40b242f6ab46e9b066ad73c0b4896f2aeaffce4202aaef765bffe4134a2
0xaa2b0f7d447dd5a07415c9736e134f01d472911c07564ec3eb41f2ca6495d1c4
0x4b504ce815320640aa69eaf584cce3896062bfc58a950932292344ca7572b1b3
0x5a638a0a291ed63dc5f22c455ebb445e087e0ade5719fbc18cff0a121b4010c8
0xe876af0d18352d138c49b89bdf5b73feacbd184857ae3874ba3b76b25b7aed43
0xe1070a5b45ad806a6ba4e9b3a3646c62fb24e52722453e28efaa35b1a65037de
0xb33fa05bc1a668743ac0dc785df96a376ac15a1438920ad458dd0101094d42d0
0x35a83128fb5b75cf6f5fca35f8d5cdb1d332c7fa0a07f6ffbd3e24e40c660613
0x2d10d06121380f06179db7213499ad5dc711bcb092a65505fe476c1f92db8215

Functions
Getter at block 21078746
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)
0
debtRatio(view returns (uint256)
0
 
estimatedAPR(view returns (uint256 apr)
feeManager(view returns (address)
0x97b6897aad7aba3861c04c0e6388fc02af1f227f
getBalance(view returns (uint256)
215025438190
getTotalAsset(view returns (uint256)
215025438190
interestsAccumulated(view returns (uint256)
7803084410
interestsForSurplus(view returns (uint64)
500000000
perpetualManager(view returns (address)
0x5efe48f8383921d950683c46b87e28e21dea9fb5
stableMaster(view returns (address)
0x5addc89785d75c86ab939e9e15bfbbb7fc086a87
surplusConverter(view returns (address)
0xdc4e6dfe07efca50a197df15d9200883ef4eb1c8
token(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
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
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
accumulateInterestOrSignalLoss(uint256 valuebool gainOrLoss
addGovernor(address _governor
addStrategy(address strategyuint256 _debtRatio
deployCollateral(address[] governorListaddress guardianaddress _perpetualManageraddress _feeManageraddress _oracle
forceStrategyWithdraw(address strategyuint256 amount
grantRole(bytes32 roleaddress account
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
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
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(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.