Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • OrderHashManager

Index

Constructors

  • new OrderHashManager(__namedParameters: { address: string; network: Network; subaccountIndex?: number }): OrderHashManager

Properties

address: string
network: Network
nonce: number = 0
subaccountIndex: number

Methods

  • getOrderHashes(__namedParameters: { derivativeOrders: DerivativeOrder[]; spotOrders: SpotOrder[] }): internal.Promise<{ derivativeOrderHashes: string[]; spotOrderHashes: string[] }>
  • hashTypedData(eip712: any): string
  • incrementNonce(): void
  • incrementNonceAndReturn<T>(result: T): T
  • setNonce(nonce: number): void

Generated using TypeDoc