WAX

waxdaosynths

Contract

The data structures defined by this contract.

  • Struct property of newsynth

    Struct property of synthtokens

    {
      "name": "FUNGIBLE_INPUT",
      "base": "",
      "fields": [
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Struct property of newlisting

    Struct property of 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"
        }
      ]
    }
  • Table row type of accounts

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

    {
      "name": "assertsynth",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in cancelorders

    {
      "name": "cancelorders",
      "base": "",
      "fields": [
        {
          "name": "order_ids",
          "type": "uint64[]"
        }
      ]
    }
  • Action parameter in close

    {
      "name": "close",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in create

    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "issuer",
          "type": "name"
        },
        {
          "name": "maximum_supply",
          "type": "asset"
        }
      ]
    }
  • Table row type of stat

    {
      "name": "currency_stats",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    }
  • Table row type of 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"
        }
      ]
    }
  • Action parameter in issue

    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in newlisting

    {
      "name": "newlisting",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "project_information",
          "type": "NEW_LISTING_INFO"
        }
      ]
    }
  • Action parameter in newsynth

    {
      "name": "newsynth",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "basket_of_assets",
          "type": "FUNGIBLE_INPUT[]"
        }
      ]
    }
  • Action parameter in open

    {
      "name": "open",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "ram_payer",
          "type": "name"
        }
      ]
    }
  • Table row type of 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"
        }
      ]
    }
  • Action parameter in removrequest

    {
      "name": "removrequest",
      "base": "",
      "fields": [
        {
          "name": "ID",
          "type": "uint64"
        }
      ]
    }
  • Table row type of 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"
        }
      ]
    }
  • Action parameter in retire

    {
      "name": "retire",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of 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"
        }
      ]
    }
  • Table row type of synthtokens

    {
      "name": "synthtokens",
      "base": "",
      "fields": [
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "basket_of_assets",
          "type": "FUNGIBLE_INPUT[]"
        }
      ]
    }
  • Action parameter in transfer

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