Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SwapRepository

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private models

models: Models

Methods

getSwapDeal

  • getSwapDeal(rHash: string): Promise<db.SwapDealInstance | null>

getSwapDeals

  • getSwapDeals(): Bluebird<db.SwapDealInstance[]>

saveSwapDeal

  • saveSwapDeal(swapDeal: db.SwapDealFactory, swapOrder?: db.OrderFactory): Promise<void>
  • Parameters

    • swapDeal: db.SwapDealFactory
    • Optional swapOrder: db.OrderFactory

    Returns Promise<void>

Generated using TypeDoc