MozartCoreV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "MozartCoreV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "MozartCoreV2"
ABI
ABI objects
Getter at block 21225074 getCurrentPrice() view returns (struct DecimalD256)
accumulatedInterest() view returns (uint256)
0
currentBorrowIndex() view returns (uint256)
0
currentTimestamp() view returns (uint256)
1732058987
getAdmin() view returns (address)
0x0000000000000000000000000000000000000000
getBorrowIndex() view returns (uint256, uint256)
(0, 0)
getCollateralAsset() view returns (address)
0x0000000000000000000000000000000000000000
getCollateralRatio() view returns (struct DecimalD256)
(0)
getCurrentOracle() view returns (address)
0x0000000000000000000000000000000000000000
getFees() view returns (struct DecimalD256 _liquidationUserFee, struct DecimalD256 _liquidationArcRatio)
(_liquidationUserFee=(0), _liquidationArcRatio=(0))
getInterestRate() view returns (uint256)
0
getInterestSetter() view returns (address)
0x0000000000000000000000000000000000000000
getLimits() view returns (uint256, uint256)
(0, 0)
getSyntheticAsset() view returns (address)
0x0000000000000000000000000000000000000000
getTotals() view returns (uint256, uint256)
(0, 0)
paused() view returns (bool)
true
positionCount() view returns (uint256)
0
Read-only
calculateCollateralDelta(struct AmountPrincipal parSupply, uint256 borrowedAmount, struct DecimalD256 price) view returns (struct AmountPrincipal)
calculateCollateralRequired(uint256 borrowedAmount, struct DecimalD256 price) view returns (struct AmountPrincipal)
calculateLiquidationPrice(struct DecimalD256 currentPrice) view returns (struct DecimalD256)
getPosition(uint256 id) view returns (struct MozartTypesPosition)
isCollateralized(struct MozartTypesPosition position, struct DecimalD256 currentPrice) view returns (bool)
isGlobalOperator(address _operator) view returns (bool)
isPositionOperator(uint256 _positionId, address _operator) view returns (bool)
State-modifying
Events init(uint8 _collateralDecimals, address _collateralAddress, address _syntheticAddress, address _oracleAddress, address _interestSetter, struct DecimalD256 _collateralRatio, struct DecimalD256 _liquidationUserFee, struct DecimalD256 _liquidationArcRatio)
operateAction(uint8 operation, struct MozartCoreV2OperationParams params)
setCollateralRatio(struct DecimalD256 _collateralRatio)
setFees(struct DecimalD256 _liquidationUserFee, struct DecimalD256 _liquidationArcRatio)
setGlobalOperatorStatus(address _operator, bool _status)
setInterestRate(uint256 _rate)
setInterestSetter(address _setter)
setLimits(uint256 _collateralLimit, uint256 _positionCollateralMinimum)
setOracle(address _oracle)
setPause(bool value)
setPositionOperatorStatus(uint256 _positionId, address _operator, bool _status)
updateIndex() returns (uint256)
withdrawTokens(address token, address destination, uint256 amount)
ActionOperated(uint8 operation, struct MozartCoreV2OperationParams params, struct MozartTypesPosition updatedPosition)
CollateralRatioUpdated(struct DecimalD256 value)
ExcessTokensWithdrawn(address token, uint256 amount, address destination)
FeesUpdated(struct DecimalD256 _liquidationUserFee, struct DecimalD256 _liquidationArcRatio)
GlobalOperatorSet(address _operator, bool _status)
IndexUpdated(uint256 newIndex, uint256 lastUpdateTime)
InterestSetterUpdated(address value)
LimitsUpdated(uint256 _collateralLimit, uint256 _positionCollateralMinimum)
OracleUpdated(address value)
PauseStatusUpdated(bool value)
PositionOperatorSet(uint256 _positionId, address _operator, bool _status)
PrinterUpdated(address value)
RateUpdated(uint256 value)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.