Interface IVolatilityOracle

Hierarchy

  • BaseContract
    • IVolatilityOracle

Properties

[internal]: any
addWhitelistedRelayers: TypedContractMethod<[accounts: AddressLike[]], [void], "nonpayable">
fallback: null | WrappedFallback
filters: {}

Type declaration

    formatParams: TypedContractMethod<[params: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish]], [string], "view">
    getParams: TypedContractMethod<[token: AddressLike], [UpdateStructOutput], "view">
    getParamsUnpacked: TypedContractMethod<[token: AddressLike], [ParamsStructOutput], "view">
    getRiskFreeRate: TypedContractMethod<[], [bigint], "view">
    getVolatility(address,uint256,uint256,uint256): TypedContractMethod<[token: AddressLike, spot: BigNumberish, strike: BigNumberish, timeToMaturity: BigNumberish], [bigint], "view">
    getVolatility(address,uint256,uint256[],uint256[]): TypedContractMethod<[token: AddressLike, spot: BigNumberish, strike: BigNumberish[], timeToMaturity: BigNumberish[]], [bigint[]], "view">
    getWhitelistedRelayers: TypedContractMethod<[], [string[]], "view">
    interface: IVolatilityOracleInterface
    parseParams: TypedContractMethod<[input: BytesLike], [[bigint, bigint, bigint, bigint, bigint]], "view">
    removeWhitelistedRelayers: TypedContractMethod<[accounts: AddressLike[]], [void], "nonpayable">
    runner: null | ContractRunner
    target: string | Addressable
    updateParams: TypedContractMethod<[tokens: AddressLike[], tau: BytesLike[], theta: BytesLike[], psi: BytesLike[], rho: BytesLike[], riskFreeRate: BigNumberish], [void], "nonpayable">

    Methods

    • Parameters

      • event: ContractEventName
      • listener: Listener

      Returns Promise<IVolatilityOracle>

    • Parameters

      • Optional runner: null | ContractRunner

      Returns BaseContract

    • Returns null | ContractTransactionResponse

    • Parameters

      • event: ContractEventName
      • Rest ...args: any[]

      Returns Promise<boolean>

    • Returns Promise<string>

    • Returns Promise<null | string>

    • Parameters

      • key: string | EventFragment

      Returns ContractEvent<any[]>

    • Type Parameters

      • T extends ContractMethod<any[], any, any, T> = ContractMethod<any[], any, any>

      Parameters

      • key: string | FunctionFragment

      Returns T

    • Parameters

      • nameOrSignature: "addWhitelistedRelayers"

      Returns TypedContractMethod<[accounts: AddressLike[]], [void], "nonpayable">

    • Parameters

      • nameOrSignature: "formatParams"

      Returns TypedContractMethod<[params: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish]], [string], "view">

    • Parameters

      • nameOrSignature: "getParams"

      Returns TypedContractMethod<[token: AddressLike], [UpdateStructOutput], "view">

    • Parameters

      • nameOrSignature: "getParamsUnpacked"

      Returns TypedContractMethod<[token: AddressLike], [ParamsStructOutput], "view">

    • Parameters

      • nameOrSignature: "getRiskFreeRate"

      Returns TypedContractMethod<[], [bigint], "view">

    • Parameters

      • nameOrSignature: "getVolatility(address,uint256,uint256,uint256)"

      Returns TypedContractMethod<[token: AddressLike, spot: BigNumberish, strike: BigNumberish, timeToMaturity: BigNumberish], [bigint], "view">

    • Parameters

      • nameOrSignature: "getVolatility(address,uint256,uint256[],uint256[])"

      Returns TypedContractMethod<[token: AddressLike, spot: BigNumberish, strike: BigNumberish[], timeToMaturity: BigNumberish[]], [bigint[]], "view">

    • Parameters

      • nameOrSignature: "getWhitelistedRelayers"

      Returns TypedContractMethod<[], [string[]], "view">

    • Parameters

      • nameOrSignature: "parseParams"

      Returns TypedContractMethod<[input: BytesLike], [[bigint, bigint, bigint, bigint, bigint]], "view">

    • Parameters

      • nameOrSignature: "removeWhitelistedRelayers"

      Returns TypedContractMethod<[accounts: AddressLike[]], [void], "nonpayable">

    • Parameters

      • nameOrSignature: "updateParams"

      Returns TypedContractMethod<[tokens: AddressLike[], tau: BytesLike[], theta: BytesLike[], psi: BytesLike[], rho: BytesLike[], riskFreeRate: BigNumberish], [void], "nonpayable">

    • Parameters

      • Optional event: ContractEventName

      Returns Promise<number>

    • Type Parameters

      • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

      Parameters

      • event: TCEvent

      Returns Promise<TypedListener<TCEvent>[]>

    • Parameters

      • Optional eventName: string

      Returns Promise<Listener[]>

    • Parameters

      • event: ContractEventName
      • Optional listener: Listener

      Returns Promise<IVolatilityOracle>

    • Type Parameters

      • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

      Parameters

      • event: TCEvent
      • listener: TypedListener<TCEvent>

      Returns Promise<IVolatilityOracle>

    • Type Parameters

      • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

      Parameters

      • filter: TypedDeferredTopicFilter<TCEvent>
      • listener: TypedListener<TCEvent>

      Returns Promise<IVolatilityOracle>

    • Type Parameters

      • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

      Parameters

      • event: TCEvent
      • listener: TypedListener<TCEvent>

      Returns Promise<IVolatilityOracle>

    • Type Parameters

      • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

      Parameters

      • filter: TypedDeferredTopicFilter<TCEvent>
      • listener: TypedListener<TCEvent>

      Returns Promise<IVolatilityOracle>

    • Type Parameters

      • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

      Parameters

      • event: TCEvent
      • Optional fromBlockOrBlockhash: string | number
      • Optional toBlock: string | number

      Returns Promise<TypedEventLog<TCEvent>[]>

    • Type Parameters

      • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

      Parameters

      • filter: TypedDeferredTopicFilter<TCEvent>
      • Optional fromBlockOrBlockhash: string | number
      • Optional toBlock: string | number

      Returns Promise<TypedEventLog<TCEvent>[]>

    • Parameters

      • hash: string

      Returns Promise<EventLog[]>

    • Type Parameters

      • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

      Parameters

      • Optional event: TCEvent

      Returns Promise<IVolatilityOracle>

    • Parameters

      • event: ContractEventName
      • listener: Listener

      Returns Promise<IVolatilityOracle>

    • Returns Promise<IVolatilityOracle>

    Generated using TypeDoc