Telos

otc.starter

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "cancelorder",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "clearhistory",
      "base": "",
      "fields": []
    },
    {
      "name": "currency_stats",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    },
    {
      "name": "history_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "time_point_sec"
        },
        {
          "name": "event_type",
          "type": "name"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "trxid",
          "type": "checksum256"
        }
      ]
    },
    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "enabled",
          "type": "bool"
        },
        {
          "name": "contact",
          "type": "string"
        },
        {
          "name": "sourcecode",
          "type": "string"
        }
      ]
    },
    {
      "name": "loghistory",
      "base": "",
      "fields": [
        {
          "name": "event_type",
          "type": "name"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "extended_asset"
        }
      ]
    },
    {
      "name": "orders_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "maker",
          "type": "name"
        },
        {
          "name": "ask",
          "type": "extended_asset"
        },
        {
          "name": "offer",
          "type": "extended_asset"
        },
        {
          "name": "minimum",
          "type": "asset"
        },
        {
          "name": "remaining_ask",
          "type": "asset"
        },
        {
          "name": "remaining_offer",
          "type": "asset"
        },
        {
          "name": "hash",
          "type": "checksum256"
        }
      ]
    },
    {
      "name": "settings",
      "base": "",
      "fields": [
        {
          "name": "contact",
          "type": "string"
        },
        {
          "name": "sourcecode",
          "type": "string"
        },
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "enabled",
          "type": "bool"
        },
        {
          "name": "last_order_id",
          "type": "uint64"
        },
        {
          "name": "last_log_id",
          "type": "uint64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "cancelorder",
      "type": "cancelorder",
      "ricardian_contract": ""
    },
    {
      "name": "clearhistory",
      "type": "clearhistory",
      "ricardian_contract": ""
    },
    {
      "name": "init",
      "type": "init",
      "ricardian_contract": ""
    },
    {
      "name": "loghistory",
      "type": "loghistory",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "history",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "history_row"
    },
    {
      "name": "orders",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "orders_row"
    },
    {
      "name": "settings",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "settings"
    },
    {
      "name": "stat",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "currency_stats"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}