Telos

koin4kontrak

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "cleansport",
      "base": "",
      "fields": []
    },
    {
      "name": "close",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    },
    {
      "name": "closelottery",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "closeltfive",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "closeltfour",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "closeltsix",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "closesport",
      "base": "",
      "fields": [
        {
          "name": "event",
          "type": "name"
        },
        {
          "name": "home",
          "type": "uint8"
        },
        {
          "name": "away",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "closetoto",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "cpanel",
      "base": "",
      "fields": [
        {
          "name": "play",
          "type": "uint8"
        },
        {
          "name": "enabled",
          "type": "uint8"
        },
        {
          "name": "jackpot_prize",
          "type": "asset"
        },
        {
          "name": "close_time",
          "type": "uint64"
        },
        {
          "name": "result",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "maximum_supply",
          "type": "asset"
        }
      ]
    },
    {
      "name": "currency_stats",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    },
    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "lottery",
      "base": "",
      "fields": [
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "start_ticket",
          "type": "uint64"
        },
        {
          "name": "end_ticket",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "lotto",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "n1",
          "type": "uint8"
        },
        {
          "name": "n2",
          "type": "uint8"
        },
        {
          "name": "n3",
          "type": "uint8"
        },
        {
          "name": "n4",
          "type": "uint8"
        },
        {
          "name": "n5",
          "type": "uint8"
        },
        {
          "name": "n6",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "notify",
      "base": "",
      "fields": [
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "open",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    },
    {
      "name": "openlottery",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "openltfive",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "openltfour",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "openltsix",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "opensport",
      "base": "",
      "fields": [
        {
          "name": "event",
          "type": "name"
        },
        {
          "name": "start_time",
          "type": "uint64"
        },
        {
          "name": "match",
          "type": "string"
        },
        {
          "name": "enabled",
          "type": "uint8"
        },
        {
          "name": "o1x2_win",
          "type": "int16"
        },
        {
          "name": "o1x2_draw",
          "type": "int16"
        },
        {
          "name": "o1x2_away",
          "type": "int16"
        },
        {
          "name": "ah_home",
          "type": "int16"
        },
        {
          "name": "ah_away",
          "type": "int16"
        }
      ]
    },
    {
      "name": "opentoto",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "play_session",
      "base": "",
      "fields": [
        {
          "name": "play",
          "type": "uint8"
        },
        {
          "name": "close_time",
          "type": "uint64"
        },
        {
          "name": "last_time",
          "type": "uint64"
        },
        {
          "name": "participants",
          "type": "uint64"
        },
        {
          "name": "total_stake",
          "type": "asset"
        }
      ]
    },
    {
      "name": "playdice",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "playfree",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "playlottery",
      "base": "",
      "fields": [
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    },
    {
      "name": "playltfive",
      "base": "",
      "fields": [
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "n1",
          "type": "uint8"
        },
        {
          "name": "n2",
          "type": "uint8"
        },
        {
          "name": "n3",
          "type": "uint8"
        },
        {
          "name": "n4",
          "type": "uint8"
        },
        {
          "name": "n5",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "playltfour",
      "base": "",
      "fields": [
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "n1",
          "type": "uint8"
        },
        {
          "name": "n2",
          "type": "uint8"
        },
        {
          "name": "n3",
          "type": "uint8"
        },
        {
          "name": "n4",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "playltsix",
      "base": "",
      "fields": [
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "n1",
          "type": "uint8"
        },
        {
          "name": "n2",
          "type": "uint8"
        },
        {
          "name": "n3",
          "type": "uint8"
        },
        {
          "name": "n4",
          "type": "uint8"
        },
        {
          "name": "n5",
          "type": "uint8"
        },
        {
          "name": "n6",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "playsport",
      "base": "",
      "fields": [
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "event",
          "type": "name"
        },
        {
          "name": "so1x2_win",
          "type": "asset"
        },
        {
          "name": "so1x2_draw",
          "type": "asset"
        },
        {
          "name": "so1x2_away",
          "type": "asset"
        },
        {
          "name": "sah_home",
          "type": "asset"
        },
        {
          "name": "sah_away",
          "type": "asset"
        },
        {
          "name": "sodd",
          "type": "asset"
        },
        {
          "name": "seven",
          "type": "asset"
        }
      ]
    },
    {
      "name": "playtoto",
      "base": "",
      "fields": [
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "digit",
          "type": "uint8"
        },
        {
          "name": "number",
          "type": "uint16"
        }
      ]
    },
    {
      "name": "playwheel",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    },
    {
      "name": "reset",
      "base": "",
      "fields": []
    },
    {
      "name": "retire",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "setenable",
      "base": "",
      "fields": [
        {
          "name": "play",
          "type": "uint8"
        },
        {
          "name": "enabled",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "setsportstat",
      "base": "",
      "fields": [
        {
          "name": "event",
          "type": "name"
        },
        {
          "name": "enabled",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "settle",
      "base": "",
      "fields": [
        {
          "name": "vskey",
          "type": "uint64"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "payback",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "sport",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "so1x2_win",
          "type": "asset"
        },
        {
          "name": "so1x2_draw",
          "type": "asset"
        },
        {
          "name": "so1x2_away",
          "type": "asset"
        },
        {
          "name": "sah_home",
          "type": "asset"
        },
        {
          "name": "sah_away",
          "type": "asset"
        },
        {
          "name": "sodd",
          "type": "asset"
        },
        {
          "name": "seven",
          "type": "asset"
        }
      ]
    },
    {
      "name": "sport_event",
      "base": "",
      "fields": [
        {
          "name": "event",
          "type": "name"
        },
        {
          "name": "start_time",
          "type": "uint64"
        },
        {
          "name": "match",
          "type": "string"
        },
        {
          "name": "enabled",
          "type": "uint8"
        },
        {
          "name": "o1x2_win",
          "type": "int16"
        },
        {
          "name": "o1x2_draw",
          "type": "int16"
        },
        {
          "name": "o1x2_away",
          "type": "int16"
        },
        {
          "name": "ah_home",
          "type": "int16"
        },
        {
          "name": "ah_away",
          "type": "int16"
        },
        {
          "name": "settle_time",
          "type": "uint64"
        },
        {
          "name": "home_score",
          "type": "uint8"
        },
        {
          "name": "away_score",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "toto",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "digit",
          "type": "uint8"
        },
        {
          "name": "number",
          "type": "uint16"
        }
      ]
    },
    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "valid_settle",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "payback",
          "type": "asset"
        }
      ]
    },
    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "holder",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "cleansport",
      "type": "cleansport",
      "ricardian_contract": ""
    },
    {
      "name": "close",
      "type": "close",
      "ricardian_contract": ""
    },
    {
      "name": "closelottery",
      "type": "closelottery",
      "ricardian_contract": ""
    },
    {
      "name": "closeltfive",
      "type": "closeltfive",
      "ricardian_contract": ""
    },
    {
      "name": "closeltfour",
      "type": "closeltfour",
      "ricardian_contract": ""
    },
    {
      "name": "closeltsix",
      "type": "closeltsix",
      "ricardian_contract": ""
    },
    {
      "name": "closesport",
      "type": "closesport",
      "ricardian_contract": ""
    },
    {
      "name": "closetoto",
      "type": "closetoto",
      "ricardian_contract": ""
    },
    {
      "name": "create",
      "type": "create",
      "ricardian_contract": ""
    },
    {
      "name": "issue",
      "type": "issue",
      "ricardian_contract": ""
    },
    {
      "name": "notify",
      "type": "notify",
      "ricardian_contract": ""
    },
    {
      "name": "open",
      "type": "open",
      "ricardian_contract": ""
    },
    {
      "name": "openlottery",
      "type": "openlottery",
      "ricardian_contract": ""
    },
    {
      "name": "openltfive",
      "type": "openltfive",
      "ricardian_contract": ""
    },
    {
      "name": "openltfour",
      "type": "openltfour",
      "ricardian_contract": ""
    },
    {
      "name": "openltsix",
      "type": "openltsix",
      "ricardian_contract": ""
    },
    {
      "name": "opensport",
      "type": "opensport",
      "ricardian_contract": ""
    },
    {
      "name": "opentoto",
      "type": "opentoto",
      "ricardian_contract": ""
    },
    {
      "name": "playdice",
      "type": "playdice",
      "ricardian_contract": ""
    },
    {
      "name": "playfree",
      "type": "playfree",
      "ricardian_contract": ""
    },
    {
      "name": "playlottery",
      "type": "playlottery",
      "ricardian_contract": ""
    },
    {
      "name": "playltfive",
      "type": "playltfive",
      "ricardian_contract": ""
    },
    {
      "name": "playltfour",
      "type": "playltfour",
      "ricardian_contract": ""
    },
    {
      "name": "playltsix",
      "type": "playltsix",
      "ricardian_contract": ""
    },
    {
      "name": "playsport",
      "type": "playsport",
      "ricardian_contract": ""
    },
    {
      "name": "playtoto",
      "type": "playtoto",
      "ricardian_contract": ""
    },
    {
      "name": "playwheel",
      "type": "playwheel",
      "ricardian_contract": ""
    },
    {
      "name": "reset",
      "type": "reset",
      "ricardian_contract": ""
    },
    {
      "name": "retire",
      "type": "retire",
      "ricardian_contract": ""
    },
    {
      "name": "setenable",
      "type": "setenable",
      "ricardian_contract": ""
    },
    {
      "name": "setsportstat",
      "type": "setsportstat",
      "ricardian_contract": ""
    },
    {
      "name": "settle",
      "type": "settle",
      "ricardian_contract": ""
    },
    {
      "name": "transfer",
      "type": "transfer",
      "ricardian_contract": ""
    },
    {
      "name": "withdraw",
      "type": "withdraw",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "accounts",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "account"
    },
    {
      "name": "cpanels",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "cpanel"
    },
    {
      "name": "lotteries",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "lottery"
    },
    {
      "name": "lottos",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "lotto"
    },
    {
      "name": "psessions",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "play_session"
    },
    {
      "name": "sevents",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "sport_event"
    },
    {
      "name": "sports",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "sport"
    },
    {
      "name": "stat",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "currency_stats"
    },
    {
      "name": "totos",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "toto"
    },
    {
      "name": "vsettles",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "valid_settle"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}