Type alias PoolMethods

PoolMethods: {
    getAssetBalance: Te.TaskEither<Error, Decimal, [assetId: AssetId]>;
    getAssetIds: (() => AssetId[]);
    getAssetWeight: ((assetId: AssetId) => O.IOption<Decimal>);
    getSwapFee: (() => Decimal);
}

Type declaration

  • getAssetBalance: Te.TaskEither<Error, Decimal, [assetId: AssetId]>
  • getAssetIds: (() => AssetId[])
  • getAssetWeight: ((assetId: AssetId) => O.IOption<Decimal>)
      • (assetId: AssetId): O.IOption<Decimal>
      • Parameters

        Returns O.IOption<Decimal>

  • getSwapFee: (() => Decimal)
      • (): Decimal
      • Returns Decimal

Generated using TypeDoc