WAX

waxdaosynths

合约

此合约定义的数据结构。

  • 的结构体属性 newsynth

    的结构体属性 synthtokens

    {
      "name": "FUNGIBLE_INPUT",
      "base": "",
      "fields": [
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • 的结构体属性 newlisting

    的结构体属性 requests

    {
      "name": "NEW_LISTING_INFO",
      "base": "",
      "fields": [
        {
          "name": "token_symbol",
          "type": "string"
        },
        {
          "name": "project_name",
          "type": "string"
        },
        {
          "name": "project_description",
          "type": "string"
        },
        {
          "name": "website",
          "type": "string"
        },
        {
          "name": "whitepaper",
          "type": "string"
        },
        {
          "name": "nft_collection",
          "type": "name"
        },
        {
          "name": "github",
          "type": "string"
        },
        {
          "name": "twitter",
          "type": "string"
        },
        {
          "name": "telegram",
          "type": "string"
        },
        {
          "name": "medium",
          "type": "string"
        },
        {
          "name": "discord",
          "type": "string"
        },
        {
          "name": "youtube",
          "type": "string"
        },
        {
          "name": "comments",
          "type": "string"
        },
        {
          "name": "logo",
          "type": "string"
        }
      ]
    }
  • accounts 的表格行类型

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • assertsynth中的操作参数

    {
      "name": "assertsynth",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • cancelorders中的操作参数

    {
      "name": "cancelorders",
      "base": "",
      "fields": [
        {
          "name": "order_ids",
          "type": "uint64[]"
        }
      ]
    }
  • close中的操作参数

    {
      "name": "close",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    }
  • create中的操作参数

    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "issuer",
          "type": "name"
        },
        {
          "name": "maximum_supply",
          "type": "asset"
        }
      ]
    }
  • stat 的表格行类型

    {
      "name": "currency_stats",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    }
  • global 的表格行类型

    {
      "name": "global",
      "base": "",
      "fields": [
        {
          "name": "admins",
          "type": "name[]"
        },
        {
          "name": "default_max_supply",
          "type": "int64"
        },
        {
          "name": "is_emergency",
          "type": "bool"
        },
        {
          "name": "is_paused",
          "type": "bool"
        },
        {
          "name": "max_ingredients",
          "type": "uint8"
        },
        {
          "name": "version",
          "type": "string"
        }
      ]
    }
  • issue中的操作参数

    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • newlisting中的操作参数

    {
      "name": "newlisting",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "project_information",
          "type": "NEW_LISTING_INFO"
        }
      ]
    }
  • newsynth中的操作参数

    {
      "name": "newsynth",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "basket_of_assets",
          "type": "FUNGIBLE_INPUT[]"
        }
      ]
    }
  • open中的操作参数

    {
      "name": "open",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "ram_payer",
          "type": "name"
        }
      ]
    }
  • ordersnew 的表格行类型

    {
      "name": "orders_new",
      "base": "",
      "fields": [
        {
          "name": "ID",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "remaining_ingredients",
          "type": "extended_asset[]"
        },
        {
          "name": "synth_quantity",
          "type": "asset"
        }
      ]
    }
  • removrequest中的操作参数

    {
      "name": "removrequest",
      "base": "",
      "fields": [
        {
          "name": "ID",
          "type": "uint64"
        }
      ]
    }
  • requests 的表格行类型

    {
      "name": "requests",
      "base": "",
      "fields": [
        {
          "name": "ID",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "string"
        },
        {
          "name": "project_information",
          "type": "NEW_LISTING_INFO"
        }
      ]
    }
  • retire中的操作参数

    {
      "name": "retire",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • snthorderss 的表格行类型

    {
      "name": "snthorderss",
      "base": "",
      "fields": [
        {
          "name": "ID",
          "type": "uint64"
        },
        {
          "name": "usersynthcom",
          "type": "uint128"
        },
        {
          "name": "total_ingredients_remaining",
          "type": "uint64"
        },
        {
          "name": "remaining_ingredient_quantities",
          "type": "uint64[]"
        },
        {
          "name": "synth_quantity",
          "type": "asset"
        },
        {
          "name": "status",
          "type": "string"
        }
      ]
    }
  • synthtokens 的表格行类型

    {
      "name": "synthtokens",
      "base": "",
      "fields": [
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "basket_of_assets",
          "type": "FUNGIBLE_INPUT[]"
        }
      ]
    }
  • transfer中的操作参数

    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }