wire_Order_new method

WireSyncRust2DartDco wire_Order_new(
  1. int account_id,
  2. int sub_account_id,
  3. int slot_id,
  4. int nonce,
  5. int base_token_id,
  6. int quote_token_id,
  7. Pointer<wire_cst_list_prim_u_8_strict> amount,
  8. Pointer<wire_cst_list_prim_u_8_strict> price,
  9. bool is_sell,
  10. int maker_fee_rate,
  11. int taker_fee_rate,
  12. bool has_subsidy,
)

Implementation

WireSyncRust2DartDco wire_Order_new(
  int account_id,
  int sub_account_id,
  int slot_id,
  int nonce,
  int base_token_id,
  int quote_token_id,
  ffi.Pointer<wire_cst_list_prim_u_8_strict> amount,
  ffi.Pointer<wire_cst_list_prim_u_8_strict> price,
  bool is_sell,
  int maker_fee_rate,
  int taker_fee_rate,
  bool has_subsidy,
) {
  return _wire_Order_new(
    account_id,
    sub_account_id,
    slot_id,
    nonce,
    base_token_id,
    quote_token_id,
    amount,
    price,
    is_sell,
    maker_fee_rate,
    taker_fee_rate,
    has_subsidy,
  );
}