Market
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
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
Balances ($0.00)
No balances found for "Market"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Market"
ABI
ABI objects
Getter at block 21288379
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 defaultFeeRatio, int128 extraFeeRatio)
(defaultFeeRatio=0, extraFeeRatio=0)
fTokenMintInSystemStabilityModePaused() view returns (bool)
false
fTokenRedeemFeeRatio() view returns (uint128 defaultFeeRatio, int128 extraFeeRatio)
(defaultFeeRatio=0, extraFeeRatio=0)
incentiveConfig() view returns (uint64 stabilityIncentiveRatio, uint64 liquidationIncentiveRatio, uint64 selfLiquidationIncentiveRatio)
(stabilityIncentiveRatio=0, liquidationIncentiveRatio=0, selfLiquidationIncentiveRatio=0)
marketConfig() view returns (uint64 stabilityRatio, uint64 liquidationRatio, uint64 selfLiquidationRatio, uint64 recapRatio)
(stabilityRatio=0, liquidationRatio=0, selfLiquidationRatio=0, recapRatio=0)
mintPaused() view returns (bool)
false
platform() view returns (address)
0x0000000000000000000000000000000000000000
redeemPaused() view returns (bool)
false
treasury() view returns (address)
0x0000000000000000000000000000000000000000
xToken() view returns (address)
0x0000000000000000000000000000000000000000
xTokenMintFeeRatio() view returns (uint128 defaultFeeRatio, int128 extraFeeRatio)
(defaultFeeRatio=0, extraFeeRatio=0)
xTokenRedeemFeeRatio() view returns (uint128 defaultFeeRatio, int128 extraFeeRatio)
(defaultFeeRatio=0, extraFeeRatio=0)
xTokenRedeemInSystemStabilityModePaused() view returns (bool)
false
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
liquidationWhitelist(address) view returns (bool)
State-modifying
Events addBaseToken(uint256 _baseIn, address _recipient, uint256 _minXTokenMinted) returns (uint256 _xTokenMinted)
grantRole(bytes32 role, address account)
initialize(address _treasury, address _platform)
liquidate(uint256 _fTokenIn, address _recipient, uint256 _minBaseOut) returns (uint256 _baseOut)
mint(uint256 _baseIn, address _recipient, uint256 _minFTokenMinted, uint256 _minXTokenMinted) returns (uint256 _fTokenMinted, uint256 _xTokenMinted)
mintFToken(uint256 _baseIn, address _recipient, uint256 _minFTokenMinted) returns (uint256 _fTokenMinted)
mintXToken(uint256 _baseIn, address _recipient, uint256 _minXTokenMinted) returns (uint256 _xTokenMinted)
onSelfLiquidate(uint256 _baseSwapAmt, bytes _data) returns (uint256 _fTokenAmt)
pauseFTokenMintInSystemStabilityMode(bool _status)
pauseMint(bool _status)
pauseRedeem(bool _status)
pauseXTokenRedeemInSystemStabilityMode(bool _status)
redeem(uint256 _fTokenIn, uint256 _xTokenIn, address _recipient, uint256 _minBaseOut) returns (uint256 _baseOut)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
selfLiquidate(uint256 _baseSwapAmt, uint256 _minFTokenLiquidated, bytes _data) returns (uint256 _baseOut, uint256 _fTokenLiquidated)
updateIncentiveConfig(uint64 _stabilityIncentiveRatio, uint64 _liquidationIncentiveRatio, uint64 _selfLiquidationIncentiveRatio)
updateLiquidationWhitelist(address _account, bool _status)
updateMarketConfig(uint64 _stabilityRatio, uint64 _liquidationRatio, uint64 _selfLiquidationRatio, uint64 _recapRatio)
updateMintFeeRatio(uint128 _defaultFeeRatio, int128 _extraFeeRatio, bool _isFToken)
updatePlatform(address _platform)
updateRedeemFeeRatio(uint128 _defaultFeeRatio, int128 _extraFeeRatio, bool _isFToken)
AddCollateral(address indexed owner, address indexed recipient, uint256 baseTokenIn, uint256 xTokenMinted)
Mint(address indexed owner, address indexed recipient, uint256 baseTokenIn, uint256 fTokenOut, uint256 xTokenOut, uint256 mintFee)
PauseFTokenMintInSystemStabilityMode(bool status)
PauseMint(bool status)
PauseRedeem(bool status)
PauseXTokenRedeemInSystemStabilityMode(bool status)
Redeem(address indexed owner, address indexed recipient, uint256 fTokenBurned, uint256 xTokenBurned, uint256 baseTokenOut, uint256 redeemFee)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SelfLiquidate(address indexed caller, uint256 baseSwapAmt, uint256 baseTokenOut, uint256 fTokenBurned)
UpdateIncentiveConfig(uint64 stabilityIncentiveRatio, uint64 liquidationIncentiveRatio, uint64 selfLiquidationIncentiveRatio)
UpdateLiquidationWhitelist(address account, bool status)
UpdateMarketConfig(uint64 stabilityRatio, uint64 liquidationRatio, uint64 selfLiquidationRatio, uint64 recapRatio)
UpdateMintFeeRatioFToken(uint128 defaultFeeRatio, int128 extraFeeRatio)
UpdateMintFeeRatioXToken(uint128 defaultFeeRatio, int128 extraFeeRatio)
UpdatePlatform(address platform)
UpdateRedeemFeeRatioFToken(uint128 defaultFeeRatio, int128 extraFeeRatio)
UpdateRedeemFeeRatioXToken(uint128 defaultFeeRatio, int128 extraFeeRatio)
UserLiquidate(address indexed owner, address indexed recipient, uint256 fTokenBurned, uint256 baseTokenOut)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.