Market

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xb41e32d0 at 18660378
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
1 additional variable

No balances found for "Market"

No transactions found for "Market"


Functions
Getter at block 21260027
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EMERGENCY_DAO_ROLE(view returns (bytes32)
0x30d43bb366ef85d2e9345bef3138e4a552faefea6255fa2db4667fdcf34d69a5
baseToken(view returns (address)
0x0000000000000000000000000000000000000000
fToken(view returns (address)
0x0000000000000000000000000000000000000000
fTokenMintFeeRatio(view returns (uint128 defaultFeeRatioint128 extraFeeRatio)
(defaultFeeRatio=0, extraFeeRatio=0)
fTokenMintInSystemStabilityModePaused(view returns (bool)
false
fTokenRedeemFeeRatio(view returns (uint128 defaultFeeRatioint128 extraFeeRatio)
(defaultFeeRatio=0, extraFeeRatio=0)
incentiveConfig(view returns (uint64 stabilityIncentiveRatiouint64 liquidationIncentiveRatiouint64 selfLiquidationIncentiveRatio)
(stabilityIncentiveRatio=0, liquidationIncentiveRatio=0, selfLiquidationIncentiveRatio=0)
marketConfig(view returns (uint64 stabilityRatiouint64 liquidationRatiouint64 selfLiquidationRatiouint64 recapRatio)
(stabilityRatio=0, liquidationRatio=0, selfLiquidationRatio=0, recapRatio=0)
mintPaused(view returns (bool)
false
platform(view returns (address)
0x0000000000000000000000000000000000000000
redeemPaused(view returns (bool)
false
registry(view returns (address)
0x0000000000000000000000000000000000000000
reservePool(view returns (address)
0x0000000000000000000000000000000000000000
treasury(view returns (address)
0x0000000000000000000000000000000000000000
xToken(view returns (address)
0x0000000000000000000000000000000000000000
xTokenMintFeeRatio(view returns (uint128 defaultFeeRatioint128 extraFeeRatio)
(defaultFeeRatio=0, extraFeeRatio=0)
xTokenRedeemFeeRatio(view returns (uint128 defaultFeeRatioint128 extraFeeRatio)
(defaultFeeRatio=0, extraFeeRatio=0)
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
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
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

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.