Vaulta

crayfishplay

Contract

The data structures defined by this contract.

  • Table row type of account

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

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

    {
      "name": "claimfund",
      "base": "",
      "fields": [
        {
          "name": "timestamp",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in claims

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

    {
      "name": "close",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "end_time",
          "type": "uint64"
        }
      ]
    }
  • 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": "crayfish",
          "type": "asset"
        },
        {
          "name": "begin_time",
          "type": "uint64"
        },
        {
          "name": "end_time",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in createcat

    {
      "name": "createcat",
      "base": "",
      "fields": [
        {
          "name": "category",
          "type": "name"
        },
        {
          "name": "weight",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in draw

    {
      "name": "draw",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "luck_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in execute

    {
      "name": "execute",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "luck_id",
          "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": []
    }
  • Action parameter in issue

    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "limit",
          "type": "uint64"
        }
      ]
    }
  • Table row type of nfts

    {
      "name": "sasset",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "author",
          "type": "name"
        },
        {
          "name": "category",
          "type": "name"
        },
        {
          "name": "idata",
          "type": "string"
        },
        {
          "name": "mdata",
          "type": "string"
        }
      ]
    }
  • Table row type of accounts

    {
      "name": "st_crayfish_account",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "points",
          "type": "uint64"
        },
        {
          "name": "liquidity_token",
          "type": "uint64"
        },
        {
          "name": "weight",
          "type": "float32"
        },
        {
          "name": "quantity1",
          "type": "asset"
        },
        {
          "name": "quantity2",
          "type": "asset"
        },
        {
          "name": "claimed",
          "type": "asset"
        },
        {
          "name": "unclaimed",
          "type": "asset"
        },
        {
          "name": "claim_time",
          "type": "uint64"
        },
        {
          "name": "team_id",
          "type": "uint8"
        },
        {
          "name": "team_weight",
          "type": "uint32"
        },
        {
          "name": "team_time",
          "type": "uint32"
        }
      ]
    }
  • Table row type of category

    {
      "name": "st_crayfish_category",
      "base": "",
      "fields": [
        {
          "name": "category",
          "type": "name"
        },
        {
          "name": "weight",
          "type": "float32"
        }
      ]
    }
  • Table row type of config

    {
      "name": "st_crayfish_config",
      "base": "",
      "fields": [
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "retire",
          "type": "asset"
        },
        {
          "name": "target_release",
          "type": "uint64"
        },
        {
          "name": "cur_release",
          "type": "uint64"
        },
        {
          "name": "target_price",
          "type": "float32"
        },
        {
          "name": "cur_price",
          "type": "float32"
        },
        {
          "name": "last_target_price",
          "type": "float32"
        },
        {
          "name": "last_targettime",
          "type": "uint64"
        },
        {
          "name": "last_rebasetime",
          "type": "uint64"
        },
        {
          "name": "all_community",
          "type": "uint64"
        },
        {
          "name": "cur_community",
          "type": "uint64"
        }
      ]
    }
  • Table row type of eossupply

    {
      "name": "st_crayfish_eos",
      "base": "",
      "fields": [
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "supply",
          "type": "asset"
        }
      ]
    }
  • Table row type of fund

    {
      "name": "st_crayfish_fund",
      "base": "",
      "fields": [
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "status",
          "type": "uint64"
        }
      ]
    }
  • Table row type of locks

    {
      "name": "st_crayfish_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"
        },
        {
          "name": "factor",
          "type": "float32"
        }
      ]
    }
  • Table row type of mine

    {
      "name": "st_crayfish_mine",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "claimed",
          "type": "asset"
        }
      ]
    }
  • Table row type of locknfts

    {
      "name": "st_crayfish_nft",
      "base": "",
      "fields": [
        {
          "name": "nft_id",
          "type": "uint64"
        },
        {
          "name": "category",
          "type": "name"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "weight",
          "type": "uint64"
        }
      ]
    }
  • Table row type of power

    {
      "name": "st_crayfish_power",
      "base": "",
      "fields": [
        {
          "name": "luck_id",
          "type": "uint64"
        },
        {
          "name": "begin_time",
          "type": "uint64"
        },
        {
          "name": "end_time",
          "type": "uint64"
        },
        {
          "name": "weight",
          "type": "float32"
        }
      ]
    }
  • Table row type of prices

    {
      "name": "st_crayfish_price",
      "base": "",
      "fields": [
        {
          "name": "ones",
          "type": "asset"
        },
        {
          "name": "xw",
          "type": "asset"
        },
        {
          "name": "xo",
          "type": "asset"
        }
      ]
    }
  • Table row type of tokens

    {
      "name": "st_crayfish_token",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "liquidity_id",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "token1",
          "type": "token_t"
        },
        {
          "name": "token2",
          "type": "token_t"
        },
        {
          "name": "begin_time",
          "type": "uint64"
        },
        {
          "name": "end_time",
          "type": "uint64"
        },
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "total_quantity1",
          "type": "asset"
        },
        {
          "name": "total_quantity2",
          "type": "asset"
        },
        {
          "name": "points",
          "type": "uint64"
        },
        {
          "name": "liquidity_token",
          "type": "uint64"
        },
        {
          "name": "times",
          "type": "uint64"
        },
        {
          "name": "game_id",
          "type": "uint64"
        },
        {
          "name": "game_state",
          "type": "uint64"
        }
      ]
    }
  • Table row type of luckyinfo

    {
      "name": "st_lucky_info",
      "base": "",
      "fields": [
        {
          "name": "luck_id",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Table row type of luckyrecord

    {
      "name": "st_lucky_record",
      "base": "",
      "fields": [
        {
          "name": "luck_id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "lottery_time",
          "type": "uint64"
        },
        {
          "name": "draw_time",
          "type": "uint64"
        },
        {
          "name": "begin_time",
          "type": "uint64"
        },
        {
          "name": "end_time",
          "type": "uint64"
        },
        {
          "name": "status",
          "type": "uint64"
        },
        {
          "name": "weight",
          "type": "float32"
        }
      ]
    }
  • Table row type of swaptoken

    {
      "name": "st_swap_token",
      "base": "",
      "fields": [
        {
          "name": "timestamp",
          "type": "uint64"
        },
        {
          "name": "in_quantity1",
          "type": "asset"
        },
        {
          "name": "out_quantity2",
          "type": "asset"
        },
        {
          "name": "counter1",
          "type": "uint64"
        },
        {
          "name": "in_quantity2",
          "type": "asset"
        },
        {
          "name": "out_quantity1",
          "type": "asset"
        },
        {
          "name": "counter2",
          "type": "uint64"
        },
        {
          "name": "price1",
          "type": "float_t"
        },
        {
          "name": "price2",
          "type": "float_t"
        }
      ]
    }
  • Struct property of create

    Struct property of st_crayfish_token

    {
      "name": "token_t",
      "base": "",
      "fields": [
        {
          "name": "address",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in unstake

    {
      "name": "unstake",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "token",
          "type": "symbol_code"
        },
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in unstakenft

    {
      "name": "unstakenft",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "nft_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in updatefactor

    {
      "name": "updatefactor",
      "base": "",
      "fields": []
    }
  • Action parameter in updatetarget

    {
      "name": "updatetarget",
      "base": "",
      "fields": []
    }
  • Action parameter in upgrade

    {
      "name": "upgrade",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "symbol_code"
        }
      ]
    }