VolatilitySurfaceOracle
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
12
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
Balances ($0.00)
No balances found for "VolatilitySurfaceOracle"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "VolatilitySurfaceOracle"
ABI
ABI objects
Getter at block 20854487
getWhitelistedRelayers() view returns (address[])
[]
Read-only
formatVolatilitySurfaceCoefficients(int256[5] coefficients) pure returns (bytes32 result)
getAnnualizedVolatility64x64(address baseToken, address underlyingToken, int128 spot64x64, int128 strike64x64, int128 timeToMaturity64x64, bool isCall) view returns (int128)
getBlackScholesPrice(address baseToken, address underlyingToken, int128 strike64x64, int128 spot64x64, int128 timeToMaturity64x64, bool isCall) view returns (uint256)
getBlackScholesPrice64x64(address baseToken, address underlyingToken, int128 strike64x64, int128 spot64x64, int128 timeToMaturity64x64, bool isCall) view returns (int128)
getTimeToMaturity64x64(uint64 maturity) view returns (int128)
getVolatilitySurface(address baseToken, address underlyingToken) view returns (struct VolatilitySurfaceOracleStorageUpdate)
getVolatilitySurfaceCoefficientsUnpacked(address baseToken, address underlyingToken, bool isCall) view returns (int256[])
parseVolatilitySurfaceCoefficients(bytes32 input) pure returns (int256[] coefficients)
State-modifying
Events addWhitelistedRelayer(address[] _addr)
removeWhitelistedRelayer(address[] _addr)
updateVolatilitySurfaces(address[] baseTokens, address[] underlyingTokens, bytes32[] callCoefficients, bytes32[] putCoefficients)
UpdateCoefficients(address indexed baseToken, address indexed underlyingToken, bytes32 callCoefficients, bytes32 putCoefficients)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.