staticLayout property

StructLayout staticLayout
final

The layout structure for creating a token swap.

Implementation

static final StructLayout staticLayout = LayoutConst.struct([
  LayoutConst.u64(property: 'tradeFeeNumerator'),
  LayoutConst.u64(property: 'tradeFeeDenominator'),
  LayoutConst.u64(property: 'ownerTradeFeeNumerator'),
  LayoutConst.u64(property: 'ownerTradeFeeDenominator'),
  LayoutConst.u64(property: 'ownerWithdrawFeeNumerator'),
  LayoutConst.u64(property: 'ownerWithdrawFeeDenominator'),
  LayoutConst.u64(property: 'hostFeeNumerator'),
  LayoutConst.u64(property: 'hostFeeDenominator'),
], property: "fees");