MarginCalculator

Verified contract

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

No balances found for "MarginCalculator"

0x39a0566245a8f719b615a65767d9307ecf5a0088052608642ce76f1d25cbdbb7
0xf8e29ea4b8aefcd22930c4286a745f03ead5db3e784ead7e85cbe784f06539e3
0x93abfb2107319bb4e1963307ba78b23a27d4dff09840253d4b7dbbbf8159bc18
0x92ad03992397d28b08ebb086d93f1fe79fc33f16c0aca0e794e8f3a47eea4df5
0x45142e5be00bca9a50bbe5c8bfa6d904ccb0a76d1250b85a65258ab09106c7b2
0xc30379600923e7bd35c30a34969054c66468a934d0b1e9887e0b97bb8106bfe3
0xa9f2a471c73eafa3e061b64dec07198746ee86af4a9a4e4005217dd4fa6b3c05
0xa4e78be7804c54ca645d527b5d22f4ca6a98e7adf50c1c77e26e1f0d2f87a7b0
0x253902c44c28d3f958e52f5565937888b64c5a845f60103dd4329b4f87c3591b
0xd8a1fbf8dcef13ac5fd9c94f2250484ae94bff2157e22a40949165cb8b9a3368

Functions
Getter at block 21274645
AUCTION_TIME(view returns (uint256)
3600
addressBook(view returns (address)
0x8be7687884111f62ec088a81cf2f7d39263f060c
getOracleDeviation(view returns (uint256)
0
liquidationMultiplier(view returns (uint256)
10000
oracle(view returns (address)
0xc69c49bac000e6310aa055af5593e0ebf603332e
owner(view returns (address)
0xf8368119bb1073cf01b841848725d81b542a4c19
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 FixedPointInt256FixedPointIntstruct FixedPointInt256FixedPointInt)
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 _vaultTypeview returns (booluint256uint256)
State-modifying
renounceOwnership(
setCollateralDust(address _collateraluint256 _dust
setLiquidationMultiplier(uint256 _liquidationMultiplier
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
LiquidationMultiplierUpdated(uint256 liquidationMultiplier
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 _oracleaddress _addressBook
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.