MarginCalculator

Verified contract

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

No balances found for "MarginCalculator"

0xd40a1c4223a8267ffa997451686fbe9e7b0321ffa9a535351b69aaa15182b95b
0x27a9121c40160b41b92c413aa162880df0ab0d03f344244311e55b3dbf53cdd9
0xa6c9804e9d6ac4127ab187f63807f9610cd737b74a198fd844d213a952bed11f
0xd431329ef8d6174d8e2772d8e48e19225164c7a5d7818e143f7636be3a316ef3
0xd364a872cf4129b06e4d3ab614c9dc855b4cb3df37ec4d6983c9c7ce8b67cf69
0x33056a056b2191db6ea56c6a1719d975081ccdf1d7437f351d868ab5011b9a50
0x3b5730fe331b5f6443ce476ae7f48ac5a41c59c56c24c037ce6172bdc978f0d5
0xc779788af41281d6278a7293dcbe5a8f1d2945b479cf3c8d59e8c3c5bf5b7dd8

Functions
Getter at block 21282688
AUCTION_TIME(view returns (uint256)
5400
getOracleDeviation(view returns (uint256)
10000000000000000000000000
oracle(view returns (address)
0x789cd7ab3742e23ce0952f6bc3eb3a73a0e08833
owner(view returns (address)
0x638e5da0eebba58c67567bceb4ab2dc8d34853fb
Read-only
getCollateralDust(address _collateralview returns (uint256)
getExcessCollateral(struct MarginVaultVault _vaultuint256 _vaultTypeview returns (uint256bool)
getExpiredPayoutRate(address _otokenview returns (uint256)
getMarginRequired(struct MarginVaultVault _vaultuint256 _vaultTypeview returns (struct FPIFixedPointIntstruct FPIFixedPointInt)
getMaxPrice(address _underlyingaddress _strikeaddress _collateralbool _isPutuint256 _timeToExpiryview returns (uint256)
getNakedMarginRequired(address _underlyingaddress _strikeaddress _collateraluint256 _shortAmountuint256 _strikePriceuint256 _underlyingPriceuint256 _shortExpiryTimestampuint256 _collateralDecimalsbool _isPutview returns (uint256)
getSpotShock(address _underlyingaddress _strikeaddress _collateralbool _isPutview returns (uint256)
getTimesToExpiry(address _underlyingaddress _strikeaddress _collateralbool _isPutview returns (uint256[])
isLiquidatable(struct MarginVaultVault _vaultuint256 _vaultTypeuint256 _vaultLatestUpdateuint256 _roundIdview returns (booluint256uint256)
State-modifying
renounceOwnership(
setCollateralDust(address _collateraluint256 _dust
setOracleDeviation(uint256 _deviation
setSpotShock(address _underlyingaddress _strikeaddress _collateralbool _isPutuint256 _shockValue
setUpperBoundValues(address _underlyingaddress _strikeaddress _collateralbool _isPutuint256[] _timesToExpiryuint256[] _values
transferOwnership(address newOwner
updateUpperBoundValue(address _underlyingaddress _strikeaddress _collateralbool _isPutuint256 _timeToExpiryuint256 _value
Events
CollateralDustUpdated(address indexed collateraluint256 dust
MaxPriceAdded(bytes32 indexed productHashuint256 timeToExpiryuint256 value
MaxPriceUpdated(bytes32 indexed productHashuint256 timeToExpiryuint256 oldValueuint256 newValue
OracleDeviationUpdated(uint256 oracleDeviation
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SpotShockUpdated(bytes32 indexed productuint256 spotShock
TimeToExpiryAdded(bytes32 indexed productHashuint256 timeToExpiry
Constructor
constructor(address _oracle
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.