MozartCoreV2

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x04f3a7ec at 11597357
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "MozartCoreV2"

No transactions found for "MozartCoreV2"


Functions
Getter at block 21225074
accumulatedInterest(view returns (uint256)
0
currentBorrowIndex(view returns (uint256)
0
currentTimestamp(view returns (uint256)
1732058987
getAdmin(view returns (address)
0x0000000000000000000000000000000000000000
getBorrowIndex(view returns (uint256uint256)
(0, 0)
getCollateralAsset(view returns (address)
0x0000000000000000000000000000000000000000
getCollateralRatio(view returns (struct DecimalD256)
(0)
getCurrentOracle(view returns (address)
0x0000000000000000000000000000000000000000
 
getCurrentPrice(view returns (struct DecimalD256)
getFees(view returns (struct DecimalD256 _liquidationUserFeestruct DecimalD256 _liquidationArcRatio)
(_liquidationUserFee=(0), _liquidationArcRatio=(0))
getInterestRate(view returns (uint256)
0
getInterestSetter(view returns (address)
0x0000000000000000000000000000000000000000
getLimits(view returns (uint256uint256)
(0, 0)
getSyntheticAsset(view returns (address)
0x0000000000000000000000000000000000000000
getTotals(view returns (uint256uint256)
(0, 0)
paused(view returns (bool)
true
positionCount(view returns (uint256)
0
Read-only
calculateCollateralDelta(struct AmountPrincipal parSupplyuint256 borrowedAmountstruct DecimalD256 priceview returns (struct AmountPrincipal)
calculateCollateralRequired(uint256 borrowedAmountstruct DecimalD256 priceview returns (struct AmountPrincipal)
calculateLiquidationPrice(struct DecimalD256 currentPriceview returns (struct DecimalD256)
getPosition(uint256 idview returns (struct MozartTypesPosition)
isCollateralized(struct MozartTypesPosition positionstruct DecimalD256 currentPriceview returns (bool)
isGlobalOperator(address _operatorview returns (bool)
isPositionOperator(uint256 _positionIdaddress _operatorview returns (bool)
State-modifying
init(uint8 _collateralDecimalsaddress _collateralAddressaddress _syntheticAddressaddress _oracleAddressaddress _interestSetterstruct DecimalD256 _collateralRatiostruct DecimalD256 _liquidationUserFeestruct DecimalD256 _liquidationArcRatio
operateAction(uint8 operationstruct MozartCoreV2OperationParams params
setCollateralRatio(struct DecimalD256 _collateralRatio
setFees(struct DecimalD256 _liquidationUserFeestruct DecimalD256 _liquidationArcRatio
setGlobalOperatorStatus(address _operatorbool _status
setInterestRate(uint256 _rate
setInterestSetter(address _setter
setLimits(uint256 _collateralLimituint256 _positionCollateralMinimum
setOracle(address _oracle
setPause(bool value
setPositionOperatorStatus(uint256 _positionIdaddress _operatorbool _status
updateIndex(returns (uint256)
withdrawTokens(address tokenaddress destinationuint256 amount
Events
ActionOperated(uint8 operationstruct MozartCoreV2OperationParams paramsstruct MozartTypesPosition updatedPosition
CollateralRatioUpdated(struct DecimalD256 value
ExcessTokensWithdrawn(address tokenuint256 amountaddress destination
FeesUpdated(struct DecimalD256 _liquidationUserFeestruct DecimalD256 _liquidationArcRatio
GlobalOperatorSet(address _operatorbool _status
IndexUpdated(uint256 newIndexuint256 lastUpdateTime
InterestSetterUpdated(address value
LimitsUpdated(uint256 _collateralLimituint256 _positionCollateralMinimum
OracleUpdated(address value
PauseStatusUpdated(bool value
PositionOperatorSet(uint256 _positionIdaddress _operatorbool _status
PrinterUpdated(address value
RateUpdated(uint256 value
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.