Telos

tport.start

合约

  • receipts 的表格行类型

    {
      "name": "receipt_item",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "date",
          "type": "time_point_sec"
        },
        {
          "name": "ref",
          "type": "checksum256"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "from_chain_id",
          "type": "uint8"
        },
        {
          "name": "to_chain_id",
          "type": "uint8"
        },
        {
          "name": "confirmations",
          "type": "uint8"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "approvers",
          "type": "name[]"
        },
        {
          "name": "completed",
          "type": "bool"
        }
      ]
    }