Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "src/Utils/types"

Index

Type aliases

EIP712Message

EIP712Message: TypedMessage<IMessageTypes>

Ticker

Ticker: { endTime: number | string; margin: number | string; oracleId: string; params: string[]; syntheticId: string; token: string }

Ticker is the main entity which defines the derivative

Type declaration

  • endTime: number | string

    Maturity of derivative in UNIX timestamp

  • margin: number | string

    Margin parameter for syntheticId

  • oracleId: string

    Address of smart contract which implements Opium.IOracleId interface

  • params: string[]

    Array of parameters for syntheticId

  • syntheticId: string

    Address of smart contract which implements Opium.IDerivativeLogic interface

  • token: string

    Address of ERC20 token which is used as margin (collateral)

Generated using TypeDoc