Telos

xchain.start

Contract

{
  "version": "eosio::abi/1.1",
  "types": [
    {
      "new_type_name": "double_t",
      "type": "float64"
    }
  ],
  "structs": [
    {
      "name": "addreporter",
      "base": "",
      "fields": [
        {
          "name": "reporter",
          "type": "name"
        }
      ]
    },
    {
      "name": "addtoken",
      "base": "",
      "fields": [
        {
          "name": "token_symbol",
          "type": "extended_symbol"
        },
        {
          "name": "chain_id",
          "type": "uint8"
        },
        {
          "name": "remote_token_address",
          "type": "checksum160"
        },
        {
          "name": "remote_token_symbol",
          "type": "symbol"
        },
        {
          "name": "remote_precision",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "claimed",
      "base": "",
      "fields": [
        {
          "name": "reporter",
          "type": "name"
        },
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_address",
          "type": "checksum160"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    },
    {
      "name": "closepool",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "send_tokens",
          "type": "bool"
        }
      ]
    },
    {
      "name": "clrreports",
      "base": "",
      "fields": []
    },
    {
      "name": "clrsignature",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "clrteleports",
      "base": "",
      "fields": []
    },
    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "admin_account",
          "type": "name"
        },
        {
          "name": "enabled",
          "type": "bool"
        },
        {
          "name": "pools_account",
          "type": "name"
        },
        {
          "name": "threshold",
          "type": "uint32"
        },
        {
          "name": "last_teleport_id",
          "type": "uint64"
        },
        {
          "name": "last_report_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "exec",
      "base": "",
      "fields": [
        {
          "name": "reporter",
          "type": "name"
        },
        {
          "name": "report_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "exec2",
      "base": "",
      "fields": [
        {
          "name": "reporter",
          "type": "name"
        },
        {
          "name": "report_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "execfailed",
      "base": "",
      "fields": [
        {
          "name": "reporter",
          "type": "name"
        },
        {
          "name": "report_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "extended_symbol",
      "base": "",
      "fields": [
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    },
    {
      "name": "fixteleports",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_address",
          "type": "checksum160"
        },
        {
          "name": "token_amount",
          "type": "asset"
        }
      ]
    },
    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "admin_account",
          "type": "name"
        },
        {
          "name": "enabled",
          "type": "bool"
        },
        {
          "name": "pools_account",
          "type": "name"
        }
      ]
    },
    {
      "name": "logwallet",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "chain_id",
          "type": "uint8"
        },
        {
          "name": "token_address",
          "type": "checksum160"
        },
        {
          "name": "quantity",
          "type": "extended_asset"
        }
      ]
    },
    {
      "name": "pair_checksum256_remote_token_info",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "checksum256"
        },
        {
          "name": "value",
          "type": "remote_token_info"
        }
      ]
    },
    {
      "name": "pair_name_string",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "name"
        },
        {
          "name": "value",
          "type": "string"
        }
      ]
    },
    {
      "name": "pair_name_uint32",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "name"
        },
        {
          "name": "value",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "pool_info",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "total_raise",
          "type": "pair_checksum256_remote_token_info[]"
        }
      ]
    },
    {
      "name": "pools_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "pool_type",
          "type": "name"
        },
        {
          "name": "title",
          "type": "string"
        },
        {
          "name": "avatar",
          "type": "string"
        },
        {
          "name": "tag_line",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "status",
          "type": "name"
        },
        {
          "name": "base_token",
          "type": "extended_symbol"
        },
        {
          "name": "swap_ratio",
          "type": "extended_asset"
        },
        {
          "name": "soft_cap",
          "type": "asset"
        },
        {
          "name": "hard_cap",
          "type": "asset"
        },
        {
          "name": "minimum_swap",
          "type": "asset"
        },
        {
          "name": "maximum_swap",
          "type": "asset"
        },
        {
          "name": "remaining_ask",
          "type": "asset"
        },
        {
          "name": "remaining_offer",
          "type": "asset"
        },
        {
          "name": "total_raise",
          "type": "asset"
        },
        {
          "name": "directly_allocated",
          "type": "asset"
        },
        {
          "name": "participants",
          "type": "uint16"
        },
        {
          "name": "pool_open",
          "type": "time_point_sec"
        },
        {
          "name": "private_end",
          "type": "time_point_sec"
        },
        {
          "name": "public_end",
          "type": "time_point_sec"
        },
        {
          "name": "bonus",
          "type": "uint16"
        },
        {
          "name": "commission_rate",
          "type": "double_t"
        },
        {
          "name": "commission_account",
          "type": "name"
        },
        {
          "name": "token_lockup",
          "type": "bool"
        },
        {
          "name": "lockup_percent",
          "type": "uint16"
        },
        {
          "name": "lockup_period",
          "type": "uint16"
        },
        {
          "name": "whitelist",
          "type": "name[]"
        },
        {
          "name": "web_links",
          "type": "pair_name_string[]"
        },
        {
          "name": "sentiment",
          "type": "pair_name_uint32[]"
        },
        {
          "name": "tags",
          "type": "pair_name_string[]"
        }
      ]
    },
    {
      "name": "reclaim",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "to_address",
          "type": "checksum160"
        }
      ]
    },
    {
      "name": "remote_token_info",
      "base": "",
      "fields": [
        {
          "name": "chain_id",
          "type": "uint8"
        },
        {
          "name": "token_address",
          "type": "checksum160"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    },
    {
      "name": "report",
      "base": "",
      "fields": [
        {
          "name": "reporter",
          "type": "name"
        },
        {
          "name": "transfer",
          "type": "transfer_item"
        }
      ]
    },
    {
      "name": "report_item",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "transfer",
          "type": "transfer_item"
        },
        {
          "name": "confirmed",
          "type": "bool"
        },
        {
          "name": "confirmed_by",
          "type": "name[]"
        },
        {
          "name": "executed",
          "type": "bool"
        },
        {
          "name": "failed",
          "type": "bool"
        },
        {
          "name": "failed_by",
          "type": "name[]"
        },
        {
          "name": "expires_at",
          "type": "time_point_sec"
        },
        {
          "name": "retained",
          "type": "asset"
        },
        {
          "name": "refunding",
          "type": "asset"
        },
        {
          "name": "complete",
          "type": "bool"
        }
      ]
    },
    {
      "name": "reporter_info",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "points",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "rmreporter",
      "base": "",
      "fields": [
        {
          "name": "reporter",
          "type": "name"
        }
      ]
    },
    {
      "name": "rmtoken",
      "base": "",
      "fields": [
        {
          "name": "token_symbol",
          "type": "extended_symbol"
        },
        {
          "name": "chain_id",
          "type": "uint8"
        },
        {
          "name": "remote_token_address",
          "type": "checksum160"
        }
      ]
    },
    {
      "name": "settings",
      "base": "",
      "fields": [
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "platform_token",
          "type": "extended_symbol"
        },
        {
          "name": "featured_pools",
          "type": "uint64[]"
        },
        {
          "name": "listing_fee",
          "type": "asset"
        },
        {
          "name": "premium_access_fee",
          "type": "asset"
        },
        {
          "name": "social_fee",
          "type": "asset"
        },
        {
          "name": "lockup_buckets",
          "type": "uint32"
        },
        {
          "name": "unstake_buckets",
          "type": "uint32"
        },
        {
          "name": "social_buckets",
          "type": "uint32"
        },
        {
          "name": "fee_account",
          "type": "name"
        },
        {
          "name": "success_fee",
          "type": "double_t"
        },
        {
          "name": "website",
          "type": "string"
        },
        {
          "name": "contact",
          "type": "string"
        },
        {
          "name": "sourcecode",
          "type": "string"
        },
        {
          "name": "enabled",
          "type": "bool"
        },
        {
          "name": "last_pool_id",
          "type": "uint64"
        },
        {
          "name": "last_pool_account_id",
          "type": "uint64"
        },
        {
          "name": "last_token_id",
          "type": "uint64"
        },
        {
          "name": "stake_pool",
          "type": "asset"
        }
      ]
    },
    {
      "name": "sign",
      "base": "",
      "fields": [
        {
          "name": "reporter",
          "type": "name"
        },
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "signature",
          "type": "string"
        }
      ]
    },
    {
      "name": "teleport_item",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "time",
          "type": "uint32"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "to_address",
          "type": "checksum160"
        },
        {
          "name": "chain_id",
          "type": "uint8"
        },
        {
          "name": "token_address",
          "type": "checksum160"
        },
        {
          "name": "token_amount",
          "type": "asset"
        },
        {
          "name": "oracles",
          "type": "name[]"
        },
        {
          "name": "signatures",
          "type": "string[]"
        },
        {
          "name": "claimed",
          "type": "bool"
        }
      ]
    },
    {
      "name": "tokenavatar",
      "base": "",
      "fields": [
        {
          "name": "token_symbol",
          "type": "extended_symbol"
        },
        {
          "name": "chain_id",
          "type": "uint8"
        },
        {
          "name": "remote_token_address",
          "type": "checksum160"
        },
        {
          "name": "avatar_url",
          "type": "string"
        }
      ]
    },
    {
      "name": "tokens",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token_info",
          "type": "extended_symbol"
        },
        {
          "name": "remote_chain_id",
          "type": "uint8"
        },
        {
          "name": "remote_token_address",
          "type": "checksum160"
        },
        {
          "name": "remote_token_symbol",
          "type": "symbol"
        },
        {
          "name": "remote_precision",
          "type": "uint8"
        },
        {
          "name": "avatar",
          "type": "string"
        },
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    },
    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "teleport",
          "type": "teleport_item"
        }
      ]
    },
    {
      "name": "transfer_item",
      "base": "",
      "fields": [
        {
          "name": "transaction_id",
          "type": "checksum256"
        },
        {
          "name": "from_address",
          "type": "checksum160"
        },
        {
          "name": "to_account",
          "type": "name"
        },
        {
          "name": "token_address",
          "type": "checksum160"
        },
        {
          "name": "token_amount",
          "type": "asset"
        },
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "from_chain_id",
          "type": "uint8"
        },
        {
          "name": "to_chain_id",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "update",
      "base": "",
      "fields": [
        {
          "name": "field",
          "type": "name"
        },
        {
          "name": "value",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "wallet",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "chain_id",
          "type": "uint8"
        },
        {
          "name": "token_address",
          "type": "checksum160"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "addreporter",
      "type": "addreporter",
      "ricardian_contract": ""
    },
    {
      "name": "addtoken",
      "type": "addtoken",
      "ricardian_contract": ""
    },
    {
      "name": "claimed",
      "type": "claimed",
      "ricardian_contract": ""
    },
    {
      "name": "closepool",
      "type": "closepool",
      "ricardian_contract": ""
    },
    {
      "name": "clrreports",
      "type": "clrreports",
      "ricardian_contract": ""
    },
    {
      "name": "clrsignature",
      "type": "clrsignature",
      "ricardian_contract": ""
    },
    {
      "name": "clrteleports",
      "type": "clrteleports",
      "ricardian_contract": ""
    },
    {
      "name": "exec",
      "type": "exec",
      "ricardian_contract": ""
    },
    {
      "name": "exec2",
      "type": "exec2",
      "ricardian_contract": ""
    },
    {
      "name": "execfailed",
      "type": "execfailed",
      "ricardian_contract": ""
    },
    {
      "name": "fixteleports",
      "type": "fixteleports",
      "ricardian_contract": ""
    },
    {
      "name": "init",
      "type": "init",
      "ricardian_contract": ""
    },
    {
      "name": "logwallet",
      "type": "logwallet",
      "ricardian_contract": ""
    },
    {
      "name": "reclaim",
      "type": "reclaim",
      "ricardian_contract": ""
    },
    {
      "name": "report",
      "type": "report",
      "ricardian_contract": ""
    },
    {
      "name": "rmreporter",
      "type": "rmreporter",
      "ricardian_contract": ""
    },
    {
      "name": "rmtoken",
      "type": "rmtoken",
      "ricardian_contract": ""
    },
    {
      "name": "sign",
      "type": "sign",
      "ricardian_contract": ""
    },
    {
      "name": "tokenavatar",
      "type": "tokenavatar",
      "ricardian_contract": ""
    },
    {
      "name": "transfer",
      "type": "transfer",
      "ricardian_contract": ""
    },
    {
      "name": "update",
      "type": "update",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "config"
    },
    {
      "name": "pools",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pools_row"
    },
    {
      "name": "reporters",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "reporter_info"
    },
    {
      "name": "reports",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "report_item"
    },
    {
      "name": "settings",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "settings"
    },
    {
      "name": "teleports",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "teleport_item"
    },
    {
      "name": "tokens",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "tokens"
    },
    {
      "name": "wallets",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "wallet"
    },
    {
      "name": "xpools",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pool_info"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}