<filename>src/config/types.json
{

  "NonceId": "u64",
  "ReqId": "U256",
  "Amount": "U256",
  "Direction": "u8",

  "L1Account": "U256",
  "L1TxHash": "U256",

  "AccountIndex": "u32",
  "PoolIndex": "u32",
  "TokenIndex": "u32",

  "PublicKey": "(U256, U256)",
  "Signature": "(U256, U256, U256)",

  "Ops": {
    "_enum": {
      "SetKey": "(AccountIndex, PublicKey)",
      "Deposit": "(Signature, AccountIndex, TokenIndex, Amount)",
      "Withdraw": "(Signature, AccountIndex, TokenIndex, Amount, L1Account, NonceId)",
      "Swap": "(Signature, AccountIndex, PoolIndex, Amount, Direction, NonceId)",
      "PoolSupply": "(Signature, AccountIndex, PoolIndex, Amount, Amount, NonceId)",
      "PoolRetrieve": "(Signature, AccountIndex, PoolIndex, Amount, Amount, NonceId)",
      "AddPool": "(PoolIndex, TokenIndex, TokenIndex)"
    }
  }
}
