Vaulta

lobsterballs

Contract

The data structures defined by this contract.

  • Action parameter in cal

    {
      "name": "cal",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "user_id",
          "type": "uint64"
        },
        {
          "name": "limit",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    }
  • Action parameter in claims

    {
      "name": "claims",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Action parameter in create

    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "liquidity_id",
          "type": "uint64"
        },
        {
          "name": "token1",
          "type": "token_t"
        },
        {
          "name": "token2",
          "type": "token_t"
        },
        {
          "name": "lobster",
          "type": "asset"
        },
        {
          "name": "startup_time",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in exit

    {
      "name": "exit",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    }
  • Action parameter in issue

    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "limit",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in opengame

    {
      "name": "opengame",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "begin_time",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in settlegame

    {
      "name": "settlegame",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    }
  • Table row type of accounts

    {
      "name": "st_lobster_account",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "liquidity_token",
          "type": "uint64"
        },
        {
          "name": "user_id",
          "type": "uint64"
        },
        {
          "name": "quantity1",
          "type": "asset"
        },
        {
          "name": "quantity2",
          "type": "asset"
        },
        {
          "name": "cur_liquidity_token",
          "type": "uint64"
        },
        {
          "name": "claimed",
          "type": "asset"
        },
        {
          "name": "unclaimed",
          "type": "asset"
        },
        {
          "name": "cur_times",
          "type": "uint64"
        },
        {
          "name": "team_id",
          "type": "uint8"
        },
        {
          "name": "weight",
          "type": "uint64"
        }
      ]
    }
  • Table row type of game

    {
      "name": "st_lobster_game",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "contribution1",
          "type": "uint64"
        },
        {
          "name": "contribution2",
          "type": "uint64"
        },
        {
          "name": "income1",
          "type": "uint64"
        },
        {
          "name": "income2",
          "type": "uint64"
        },
        {
          "name": "begin_time",
          "type": "uint64"
        },
        {
          "name": "end_time",
          "type": "uint64"
        },
        {
          "name": "state",
          "type": "uint64"
        }
      ]
    }
  • Table row type of games

    {
      "name": "st_lobster_games",
      "base": "",
      "fields": [
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "contribution1",
          "type": "uint64"
        },
        {
          "name": "contribution2",
          "type": "uint64"
        },
        {
          "name": "reward1",
          "type": "uint64"
        },
        {
          "name": "reward2",
          "type": "uint64"
        },
        {
          "name": "income1",
          "type": "uint64"
        },
        {
          "name": "income2",
          "type": "uint64"
        },
        {
          "name": "begin_time",
          "type": "uint64"
        },
        {
          "name": "end_time",
          "type": "uint64"
        },
        {
          "name": "state",
          "type": "uint64"
        }
      ]
    }
  • Table row type of lock

    {
      "name": "st_lobster_lock",
      "base": "",
      "fields": [
        {
          "name": "lock_id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "begin_time",
          "type": "uint64"
        },
        {
          "name": "end_time",
          "type": "uint64"
        }
      ]
    }
  • Table row type of member1

    {
      "name": "st_lobster_member1",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "team_id",
          "type": "uint8"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "contribution",
          "type": "uint64"
        }
      ]
    }
  • Table row type of member2

    {
      "name": "st_lobster_member2",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "team_id",
          "type": "uint8"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "contribution",
          "type": "uint64"
        }
      ]
    }
  • Table row type of tokens

    {
      "name": "st_lobster_token",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "liquidity_id",
          "type": "uint64"
        },
        {
          "name": "user_id",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "token1",
          "type": "token_t"
        },
        {
          "name": "token2",
          "type": "token_t"
        },
        {
          "name": "startup_time",
          "type": "uint64"
        },
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "total_quantity1",
          "type": "asset"
        },
        {
          "name": "total_quantity2",
          "type": "asset"
        },
        {
          "name": "liquidity_token",
          "type": "uint64"
        },
        {
          "name": "cur_liquidity_token",
          "type": "uint64"
        },
        {
          "name": "times",
          "type": "uint64"
        },
        {
          "name": "state",
          "type": "uint8"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "game_state",
          "type": "uint64"
        }
      ]
    }
  • Struct property of create

    Struct property of st_lobster_token

    {
      "name": "token_t",
      "base": "",
      "fields": [
        {
          "name": "address",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    }