Vaulta

offside2fast

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "bet",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "round_id",
          "type": "uint64"
        },
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "match_result_options",
          "type": "uint64[]"
        },
        {
          "name": "goal_size_options",
          "type": "uint64[]"
        },
        {
          "name": "total_goal_options",
          "type": "uint64[]"
        },
        {
          "name": "bet_asset",
          "type": "asset"
        },
        {
          "name": "bet_time",
          "type": "uint64"
        },
        {
          "name": "payout_asset",
          "type": "asset"
        }
      ]
    },
    {
      "name": "betreceipt",
      "base": "",
      "fields": [
        {
          "name": "bet_id",
          "type": "uint64"
        },
        {
          "name": "bettor",
          "type": "name"
        },
        {
          "name": "match_result_options",
          "type": "uint64[]"
        },
        {
          "name": "goal_size_options",
          "type": "uint64[]"
        },
        {
          "name": "total_goal_options",
          "type": "uint64[]"
        },
        {
          "name": "bet_asset",
          "type": "asset"
        },
        {
          "name": "bet_time",
          "type": "uint64"
        },
        {
          "name": "payout_asset",
          "type": "asset"
        },
        {
          "name": "round_id",
          "type": "uint64"
        },
        {
          "name": "home_score",
          "type": "uint8"
        },
        {
          "name": "away_score",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "connector",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "weight",
          "type": "float64"
        }
      ]
    },
    {
      "name": "exchange_state",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "base",
          "type": "connector"
        },
        {
          "name": "quote",
          "type": "connector"
        }
      ]
    },
    {
      "name": "globalvar",
      "base": "",
      "fields": [
        {
          "name": "row_id",
          "type": "uint64"
        },
        {
          "name": "current_round_id",
          "type": "uint64"
        },
        {
          "name": "new_bet_id",
          "type": "uint64"
        },
        {
          "name": "pub_key",
          "type": "public_key"
        }
      ]
    },
    {
      "name": "initcontract",
      "base": "",
      "fields": [
        {
          "name": "pub_key",
          "type": "public_key"
        }
      ]
    },
    {
      "name": "newpubkey",
      "base": "",
      "fields": [
        {
          "name": "pubkey",
          "type": "public_key"
        }
      ]
    },
    {
      "name": "play",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "resolveround",
      "base": "",
      "fields": [
        {
          "name": "round_id",
          "type": "uint64"
        },
        {
          "name": "sign",
          "type": "signature"
        },
        {
          "name": "seed_hash",
          "type": "checksum256"
        },
        {
          "name": "sign_hash",
          "type": "checksum256"
        }
      ]
    },
    {
      "name": "round",
      "base": "",
      "fields": [
        {
          "name": "round_id",
          "type": "uint64"
        },
        {
          "name": "match_time",
          "type": "uint64"
        },
        {
          "name": "total_bet_asset",
          "type": "asset"
        },
        {
          "name": "match_result_bets",
          "type": "uint64[]"
        },
        {
          "name": "goal_size_bets",
          "type": "uint64[]"
        },
        {
          "name": "total_goal_bets",
          "type": "uint64[]"
        },
        {
          "name": "ram_price",
          "type": "uint128"
        },
        {
          "name": "home_score",
          "type": "uint8"
        },
        {
          "name": "away_score",
          "type": "uint8"
        },
        {
          "name": "home_goals",
          "type": "uint64[]"
        },
        {
          "name": "away_goals",
          "type": "uint64[]"
        },
        {
          "name": "total_payout_asset",
          "type": "asset"
        },
        {
          "name": "seed_hash",
          "type": "checksum256"
        },
        {
          "name": "sign",
          "type": "signature"
        },
        {
          "name": "sign_hash",
          "type": "checksum256"
        },
        {
          "name": "resolved",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "roundreceipt",
      "base": "",
      "fields": [
        {
          "name": "round_id",
          "type": "uint64"
        },
        {
          "name": "match_time",
          "type": "uint64"
        },
        {
          "name": "total_bet_asset",
          "type": "asset"
        },
        {
          "name": "ram_price",
          "type": "uint128"
        },
        {
          "name": "home_score",
          "type": "uint8"
        },
        {
          "name": "away_score",
          "type": "uint8"
        },
        {
          "name": "home_goals",
          "type": "uint64[]"
        },
        {
          "name": "away_goals",
          "type": "uint64[]"
        },
        {
          "name": "total_payout_asset",
          "type": "asset"
        },
        {
          "name": "seed_hash",
          "type": "checksum256"
        },
        {
          "name": "sign",
          "type": "signature"
        },
        {
          "name": "sign_hash",
          "type": "checksum256"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "betreceipt",
      "type": "betreceipt",
      "ricardian_contract": ""
    },
    {
      "name": "initcontract",
      "type": "initcontract",
      "ricardian_contract": ""
    },
    {
      "name": "newpubkey",
      "type": "newpubkey",
      "ricardian_contract": ""
    },
    {
      "name": "play",
      "type": "play",
      "ricardian_contract": ""
    },
    {
      "name": "resolveround",
      "type": "resolveround",
      "ricardian_contract": ""
    },
    {
      "name": "roundreceipt",
      "type": "roundreceipt",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "bet",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "bet"
    },
    {
      "name": "globalvar",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "globalvar"
    },
    {
      "name": "rammarket",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "exchange_state"
    },
    {
      "name": "round",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "round"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}