Telos

koin4kontrak

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in cleansport

    {
      "name": "cleansport",
      "base": "",
      "fields": []
    }
  • Action parameter in close

    {
      "name": "close",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in closelottery

    {
      "name": "closelottery",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in closeltfive

    {
      "name": "closeltfive",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in closeltfour

    {
      "name": "closeltfour",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in closeltsix

    {
      "name": "closeltsix",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in closesport

    {
      "name": "closesport",
      "base": "",
      "fields": [
        {
          "name": "event",
          "type": "name"
        },
        {
          "name": "home",
          "type": "uint8"
        },
        {
          "name": "away",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in closetoto

    {
      "name": "closetoto",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    }
  • Table row type of cpanels

    {
      "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"
        }
      ]
    }
  • Action parameter in create

    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "maximum_supply",
          "type": "asset"
        }
      ]
    }
  • Table row type of stat

    {
      "name": "currency_stats",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    }
  • Action parameter in issue

    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of lotteries

    {
      "name": "lottery",
      "base": "",
      "fields": [
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "start_ticket",
          "type": "uint64"
        },
        {
          "name": "end_ticket",
          "type": "uint64"
        }
      ]
    }
  • Table row type of lottos

    {
      "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"
        }
      ]
    }
  • Action parameter in notify

    {
      "name": "notify",
      "base": "",
      "fields": [
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in open

    {
      "name": "open",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    }
  • Action parameter in openlottery

    {
      "name": "openlottery",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in openltfive

    {
      "name": "openltfive",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in openltfour

    {
      "name": "openltfour",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in openltsix

    {
      "name": "openltsix",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in opensport

    {
      "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"
        }
      ]
    }
  • Action parameter in opentoto

    {
      "name": "opentoto",
      "base": "",
      "fields": [
        {
          "name": "initseed",
          "type": "uint64"
        }
      ]
    }
  • Table row type of psessions

    {
      "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"
        }
      ]
    }
  • Action parameter in playdice

    {
      "name": "playdice",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in playfree

    {
      "name": "playfree",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in playlottery

    {
      "name": "playlottery",
      "base": "",
      "fields": [
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in playltfive

    {
      "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"
        }
      ]
    }
  • Action parameter in playltfour

    {
      "name": "playltfour",
      "base": "",
      "fields": [
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "n1",
          "type": "uint8"
        },
        {
          "name": "n2",
          "type": "uint8"
        },
        {
          "name": "n3",
          "type": "uint8"
        },
        {
          "name": "n4",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in playltsix

    {
      "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"
        }
      ]
    }
  • Action parameter in playsport

    {
      "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"
        }
      ]
    }
  • Action parameter in playtoto

    {
      "name": "playtoto",
      "base": "",
      "fields": [
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "digit",
          "type": "uint8"
        },
        {
          "name": "number",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in playwheel

    {
      "name": "playwheel",
      "base": "",
      "fields": [
        {
          "name": "player",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in reset

    {
      "name": "reset",
      "base": "",
      "fields": []
    }
  • Action parameter in retire

    {
      "name": "retire",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in setenable

    {
      "name": "setenable",
      "base": "",
      "fields": [
        {
          "name": "play",
          "type": "uint8"
        },
        {
          "name": "enabled",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in setsportstat

    {
      "name": "setsportstat",
      "base": "",
      "fields": [
        {
          "name": "event",
          "type": "name"
        },
        {
          "name": "enabled",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in settle

    {
      "name": "settle",
      "base": "",
      "fields": [
        {
          "name": "vskey",
          "type": "uint64"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "payback",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of sports

    {
      "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"
        }
      ]
    }
  • Table row type of sevents

    {
      "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"
        }
      ]
    }
  • Table row type of totos

    {
      "name": "toto",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "participant",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "digit",
          "type": "uint8"
        },
        {
          "name": "number",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in transfer

    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of vsettles

    {
      "name": "valid_settle",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "payback",
          "type": "asset"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "holder",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }