WAX

c.architect

合约

此合约定义的数据结构。

  • accounts 的表格行类型

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "btc",
          "type": "string"
        },
        {
          "name": "rebus",
          "type": "string"
        },
        {
          "name": "tokens",
          "type": "pair_symbol_code_asset[]"
        }
      ]
    }
  • cfgassets 的表格行类型

    {
      "name": "asset_config",
      "base": "",
      "fields": [
        {
          "name": "internal_id",
          "type": "uint32"
        },
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "slot",
          "type": "uint16[]"
        },
        {
          "name": "rewards",
          "type": "asset[]"
        },
        {
          "name": "cooldown",
          "type": "uint64"
        }
      ]
    }
  • burndata 的表格行类型

    {
      "name": "burndata",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "symbol_code"
        },
        {
          "name": "token",
          "type": "asset"
        }
      ]
    }
  • cfgasset中的操作参数

    {
      "name": "cfgasset",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "internal_id",
          "type": "uint32"
        },
        {
          "name": "label",
          "type": "string"
        },
        {
          "name": "slot",
          "type": "uint16[]"
        },
        {
          "name": "rewards",
          "type": "asset[]"
        },
        {
          "name": "cooldown",
          "type": "uint64"
        }
      ]
    }
  • cfghdd中的操作参数

    {
      "name": "cfghdd",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "stacks",
          "type": "uint8"
        }
      ]
    }
  • cfgslot中的操作参数

    {
      "name": "cfgslot",
      "base": "",
      "fields": [
        {
          "name": "slot",
          "type": "uint16"
        },
        {
          "name": "max_limit",
          "type": "uint8"
        },
        {
          "name": "locked",
          "type": "bool"
        },
        {
          "name": "unlocked_by_slot",
          "type": "uint16"
        },
        {
          "name": "unlock_price",
          "type": "uint64"
        }
      ]
    }
  • claim中的操作参数

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • clear中的操作参数

    {
      "name": "clear",
      "base": "",
      "fields": []
    }
  • equipment 的表格行类型

    {
      "name": "equipment",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "slot",
          "type": "uint16"
        },
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "internal_id",
          "type": "uint32"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "name",
          "type": "string"
        },
        {
          "name": "last_claim",
          "type": "uint64"
        }
      ]
    }
  • fixarvrt中的操作参数

    {
      "name": "fixarvrt",
      "base": "",
      "fields": [
        {
          "name": "wallet",
          "type": "name"
        }
      ]
    }
  • fixtlm中的操作参数

    {
      "name": "fixtlm",
      "base": "",
      "fields": [
        {
          "name": "wallet",
          "type": "name"
        }
      ]
    }
  • cfghdds 的表格行类型

    {
      "name": "hdd_config",
      "base": "",
      "fields": [
        {
          "name": "template_id",
          "type": "uint32"
        },
        {
          "name": "stacks",
          "type": "uint8"
        }
      ]
    }
  • logdeposit中的操作参数

    {
      "name": "logdeposit",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "deposit",
          "type": "asset"
        }
      ]
    }
  • 的结构体属性 account

    {
      "name": "pair_symbol_code_asset",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "symbol_code"
        },
        {
          "name": "value",
          "type": "asset"
        }
      ]
    }
  • radioslots 的表格行类型

    {
      "name": "radioslot",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "unlocked_no",
          "type": "uint8"
        }
      ]
    }
  • seed中的操作参数

    {
      "name": "seed",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    }
  • settings 的表格行类型

    {
      "name": "setting",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "value",
          "type": "uint8"
        },
        {
          "name": "value_1",
          "type": "float32"
        }
      ]
    }
  • settings中的操作参数

    {
      "name": "settings",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "value",
          "type": "uint8"
        },
        {
          "name": "value_1",
          "type": "float32"
        }
      ]
    }
  • setwallets中的操作参数

    {
      "name": "setwallets",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "btc",
          "type": "string"
        },
        {
          "name": "rebus",
          "type": "string"
        }
      ]
    }
  • signup中的操作参数

    {
      "name": "signup",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    }
  • slots 的表格行类型

    {
      "name": "slot",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "slot",
          "type": "uint16"
        }
      ]
    }
  • slotcfg 的表格行类型

    {
      "name": "slot_config",
      "base": "",
      "fields": [
        {
          "name": "slot",
          "type": "uint16"
        },
        {
          "name": "max_limit",
          "type": "uint8"
        },
        {
          "name": "locked",
          "type": "bool"
        },
        {
          "name": "unlocked_by_slot",
          "type": "uint16"
        },
        {
          "name": "unlock_price",
          "type": "uint64"
        }
      ]
    }
  • stake中的操作参数

    {
      "name": "stake",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "template_id",
          "type": "int32"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "slot",
          "type": "uint16"
        }
      ]
    }
  • unlockradio中的操作参数

    {
      "name": "unlockradio",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    }
  • unlockslot中的操作参数

    {
      "name": "unlockslot",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "slot",
          "type": "uint16"
        }
      ]
    }
  • unstake中的操作参数

    {
      "name": "unstake",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        }
      ]
    }
  • withdraw中的操作参数

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        }
      ]
    }