TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 541 txns
Deployed by via 0x28a13ec9 at 17818954
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
3 additional variables
ERC-20
Value $0
0x8d5a2fb99c34d71dfbe5e9c389729ed0fd66979c497b0349bc89d3b109c14bc8
0xfeb958e64a2b95c8fc0ab00c9822f6ea718c71d0bb180f4b567d57418cb87d89
0xe2c1ac9db4ca89e8f0eaea4f3f82fe8241b4f3511337f402fc9525dcdaed863c
0xad547c87daf78fe32f2d190c86a6e560969f8e5a746bd20f3eeba44eed992c23
0x7316081469df70d3ef7d1aba295b440af296b720ce5fd8a77ec1aee7362f5adc
0x6ca3996df89ab9e6d48b3e19b185aeab3c772d9bd14a6df8d218a03972ceda22
0x5c1cbdeb5b361aa724c3d7188b2ecbf1fae4bf34288564b2c347c9f409311d95
0x4b4f41a51b3bb56dfbdf0404ee6235c6c90dd0a54b26658629499b219889e243
0x451d5dafb0d821735d1bd5c8590a577f4f1a9b61256b8b9562939f9196388886
0xd774629f906217891191bee7bb822c6292e955246c39d655171bbc7b121c6a53

Functions
Getter at block 21260027
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EMERGENCY_DAO_ROLE(view returns (bytes32)
0x30d43bb366ef85d2e9345bef3138e4a552faefea6255fa2db4667fdcf34d69a5
baseToken(view returns (address)
0xae7ab96520de3a18e5e111b5eaab095312d7fe84
fToken(view returns (address)
0x53805a76e1f5ebbfe7115f16f9c87c2f7e633726
fTokenMintFeeRatio(view returns (uint128 defaultFeeRatioint128 extraFeeRatio)
(defaultFeeRatio=2500000000000000, extraFeeRatio=0)
fTokenMintInSystemStabilityModePaused(view returns (bool)
true
fTokenRedeemFeeRatio(view returns (uint128 defaultFeeRatioint128 extraFeeRatio)
(defaultFeeRatio=2500000000000000, extraFeeRatio=-2500000000000000)
incentiveConfig(view returns (uint64 stabilityIncentiveRatiouint64 liquidationIncentiveRatiouint64 selfLiquidationIncentiveRatio)
(stabilityIncentiveRatio=0, liquidationIncentiveRatio=0, selfLiquidationIncentiveRatio=0)
marketConfig(view returns (uint64 stabilityRatiouint64 liquidationRatiouint64 selfLiquidationRatiouint64 recapRatio)
(stabilityRatio=1305500000000000000, liquidationRatio=1206700000000000000, selfLiquidationRatio=1143900000000000000, recapRatio=1000000000000000000)
mintPaused(view returns (bool)
false
platform(view returns (address)
0x0084c2e1b1823564e597ff4848a88d61ac63d703
redeemPaused(view returns (bool)
false
registry(view returns (address)
0x4eefea49e4d876599765d5375cf7314cd14c9d38
reservePool(view returns (address)
0xb592e01dd77084b36430ffcb9c9d2f76fde32631
treasury(view returns (address)
0x0e5caa5c889bdf053c9a76395f62267e653afbb0
xToken(view returns (address)
0xe063f04f280c60aeca68b38341c2eecbec703ae2
xTokenMintFeeRatio(view returns (uint128 defaultFeeRatioint128 extraFeeRatio)
(defaultFeeRatio=15000000000000000, extraFeeRatio=-15000000000000000)
xTokenRedeemFeeRatio(view returns (uint128 defaultFeeRatioint128 extraFeeRatio)
(defaultFeeRatio=15000000000000000, extraFeeRatio=70000000000000000)
xTokenRedeemInSystemStabilityModePaused(view returns (bool)
false
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
liquidationWhitelist(addressview returns (bool)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
addBaseToken(uint256 _baseInaddress _recipientuint256 _minXTokenMintedreturns (uint256 _xTokenMinted)
grantRole(bytes32 roleaddress account
initialize(address _treasuryaddress _platform
liquidate(uint256 _fTokenInaddress _recipientuint256 _minBaseOutreturns (uint256 _baseOut)
mint(uint256 _baseInaddress _recipientuint256 _minFTokenMinteduint256 _minXTokenMintedreturns (uint256 _fTokenMinteduint256 _xTokenMinted)
mintFToken(uint256 _baseInaddress _recipientuint256 _minFTokenMintedreturns (uint256 _fTokenMinted)
mintXToken(uint256 _baseInaddress _recipientuint256 _minXTokenMintedreturns (uint256 _xTokenMinteduint256 _bonus)
pauseFTokenMintInSystemStabilityMode(bool _status
pauseMint(bool _status
pauseRedeem(bool _status
pauseXTokenRedeemInSystemStabilityMode(bool _status
redeem(uint256 _fTokenInuint256 _xTokenInaddress _recipientuint256 _minBaseOutreturns (uint256 _baseOutuint256 _bonus)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
updateIncentiveConfig(uint64 _stabilityIncentiveRatiouint64 _liquidationIncentiveRatiouint64 _selfLiquidationIncentiveRatio
updateLiquidationWhitelist(address _accountbool _status
updateMarketConfig(uint64 _stabilityRatiouint64 _liquidationRatiouint64 _selfLiquidationRatiouint64 _recapRatio
updateMintFeeRatio(uint128 _defaultFeeRatioint128 _extraFeeRatiobool _isFToken
updatePlatform(address _platform
updateRebalancePoolRegistry(address _registry
updateRedeemFeeRatio(uint128 _defaultFeeRatioint128 _extraFeeRatiobool _isFToken
updateReservePool(address _reservePool
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
AddCollateral(address indexed owneraddress indexed recipientuint256 baseTokenInuint256 xTokenMinted
Mint(address indexed owneraddress indexed recipientuint256 baseTokenInuint256 fTokenOutuint256 xTokenOutuint256 mintFee
PauseFTokenMintInSystemStabilityMode(bool status
PauseMint(bool status
PauseRedeem(bool status
PauseXTokenRedeemInSystemStabilityMode(bool status
Redeem(address indexed owneraddress indexed recipientuint256 fTokenBurneduint256 xTokenBurneduint256 baseTokenOutuint256 redeemFee
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SelfLiquidate(address indexed calleruint256 baseSwapAmtuint256 baseTokenOutuint256 fTokenBurned
UpdateIncentiveConfig(uint64 stabilityIncentiveRatiouint64 liquidationIncentiveRatiouint64 selfLiquidationIncentiveRatio
UpdateLiquidationWhitelist(address accountbool status
UpdateMarketConfig(uint64 stabilityRatiouint64 liquidationRatiouint64 selfLiquidationRatiouint64 recapRatio
UpdateMintFeeRatioFToken(uint128 defaultFeeRatioint128 extraFeeRatio
UpdateMintFeeRatioXToken(uint128 defaultFeeRatioint128 extraFeeRatio
UpdatePlatform(address platform
UpdateRebalancePoolRegistry(address registry
UpdateRedeemFeeRatioFToken(uint128 defaultFeeRatioint128 extraFeeRatio
UpdateRedeemFeeRatioXToken(uint128 defaultFeeRatioint128 extraFeeRatio
UpdateReservePool(address reservePool
UserLiquidate(address indexed owneraddress indexed recipientuint256 fTokenBurneduint256 baseTokenOut
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.