MarketWithFundingCost

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x403519fa at 19682590
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 42 additional slots

No balances found for "MarketWithFundingCost"

No transactions found for "MarketWithFundingCost"


Functions
Getter at block 20793635
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EMERGENCY_DAO_ROLE(view returns (bytes32)
0x30d43bb366ef85d2e9345bef3138e4a552faefea6255fa2db4667fdcf34d69a5
baseToken(view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
fToken(view returns (address)
0x576b4779727f5998577bb4e25bf726abe742b9f7
fTokenMintFeeRatio(view returns (uint256 defaultFeeint256 deltaFee)
(defaultFee=0, deltaFee=0)
fTokenMintPausedInStabilityMode(view returns (bool)
false
fTokenRedeemFeeRatio(view returns (uint256 defaultFeeint256 deltaFee)
(defaultFee=0, deltaFee=0)
fxUSD(view returns (address)
0x0000000000000000000000000000000000000000
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
stabilityRatio(view returns (uint256)
0
treasury(view returns (address)
0x63fe55b3fe3f74b42840788cfbe6229869590f83
xToken(view returns (address)
0x9f23562ec47249761222ef7ac02b327a8c45ba7d
xTokenMintFeeRatio(view returns (uint256 defaultFeeint256 deltaFee)
(defaultFee=0, deltaFee=0)
xTokenRedeemFeeRatio(view returns (uint256 defaultFeeint256 deltaFee)
(defaultFee=0, deltaFee=0)
xTokenRedeemPausedInStabilityMode(view returns (bool)
false
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
enableFxUSD(address _fxUSD
grantRole(bytes32 roleaddress account
initialize(address _platformaddress _reservePooladdress _registry
mintFToken(uint256 _baseInaddress _recipientuint256 _minFTokenMintedreturns (uint256 _fTokenMinted)
mintXToken(uint256 _baseInaddress _recipientuint256 _minXTokenMintedreturns (uint256 _xTokenMinteduint256 _bonus)
redeemFToken(uint256 _fTokenInaddress _recipientuint256 _minBaseOutreturns (uint256 _baseOutuint256 _bonus)
redeemXToken(uint256 _xTokenInaddress _recipientuint256 _minBaseOutreturns (uint256 _baseOut)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
updateFTokenMintStatusInStabilityMode(bool _newStatus
updateMintFeeRatio(uint128 _defaultFeeRatioint128 _extraFeeRatiobool _isFToken
updateMintStatus(bool _newStatus
updatePlatform(address _newPlatform
updateRebalancePoolRegistry(address _newRegistry
updateRedeemFeeRatio(uint256 _defaultFeeRatioint256 _extraFeeRatiobool _isFToken
updateRedeemStatus(bool _newStatus
updateReservePool(address _newReservePool
updateStabilityRatio(uint256 _newRatio
updateXTokenRedeemStatusInStabilityMode(bool _newStatus
Events
Initialized(uint8 version
MintFToken(address indexed owneraddress indexed recipientuint256 baseTokenInuint256 fTokenOutuint256 mintFee
MintXToken(address indexed owneraddress indexed recipientuint256 baseTokenInuint256 xTokenOutuint256 bonusuint256 mintFee
RedeemFToken(address indexed owneraddress indexed recipientuint256 fTokenBurneduint256 baseTokenOutuint256 bonusuint256 redeemFee
RedeemXToken(address indexed owneraddress indexed recipientuint256 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
UpdateFTokenMintStatusInStabilityMode(bool oldStatusbool newStatus
UpdateMintFeeRatioFToken(uint256 defaultFeeRatioint256 extraFeeRatio
UpdateMintFeeRatioXToken(uint256 defaultFeeRatioint256 extraFeeRatio
UpdateMintStatus(bool oldStatusbool newStatus
UpdatePlatform(address indexed oldPlatformaddress indexed newPlatform
UpdateRebalancePoolRegistry(address indexed oldRegistryaddress indexed newRegistry
UpdateRedeemFeeRatioFToken(uint256 defaultFeeRatioint256 extraFeeRatio
UpdateRedeemFeeRatioXToken(uint256 defaultFeeRatioint256 extraFeeRatio
UpdateRedeemStatus(bool oldStatusbool newStatus
UpdateReservePool(address indexed oldReservePooladdress indexed newReservePool
UpdateStabilityRatio(uint256 oldRatiouint256 newRatio
UpdateXTokenRedeemStatusInStabilityMode(bool oldStatusbool newStatus
Constructor
constructor(address _treasury
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ErrorCallerNotFUSD(
ErrorDefaultFeeTooLarge(
ErrorDeltaFeeTooSmall(
ErrorFTokenMintPausedInStabilityMode(
ErrorInsufficientBaseOutput(
ErrorInsufficientFTokenOutput(
ErrorInsufficientXTokenOutput(
ErrorMintPaused(
ErrorMintZeroAmount(
ErrorRedeemPaused(
ErrorRedeemZeroAmount(
ErrorStabilityRatioTooLarge(
ErrorTotalFeeTooLarge(
ErrorXTokenRedeemPausedInStabilityMode(
ErrorZeroAddress(