Vaulta

ens.xyz

Contract

The data structures defined by this contract.

  • Struct property of buyaccount

    {
      "name": "authority",
      "base": "",
      "fields": [
        {
          "name": "threshold",
          "type": "uint32"
        },
        {
          "name": "keys",
          "type": "key_weight[]"
        },
        {
          "name": "accounts",
          "type": "permission_level_weight[]"
        },
        {
          "name": "waits",
          "type": "wait_weight[]"
        }
      ]
    }
  • Table row type of balances

    {
      "name": "balances_row",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "balances",
          "type": "pair_symbol_code_asset[]"
        }
      ]
    }
  • Action parameter in buyaccount

    {
      "name": "buyaccount",
      "base": "",
      "fields": [
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "owner",
          "type": "authority"
        },
        {
          "name": "active",
          "type": "authority"
        }
      ]
    }
  • Action parameter in deposit

    {
      "name": "deposit",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in drop

    {
      "name": "drop",
      "base": "",
      "fields": [
        {
          "name": "suffix",
          "type": "name"
        }
      ]
    }
  • Struct property of authority

    {
      "name": "key_weight",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "public_key"
        },
        {
          "name": "weight",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in log

    {
      "name": "log",
      "base": "",
      "fields": [
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "suffix",
          "type": "name"
        },
        {
          "name": "price",
          "type": "asset"
        },
        {
          "name": "commision",
          "type": "asset"
        },
        {
          "name": "fee",
          "type": "asset"
        },
        {
          "name": "website",
          "type": "string"
        }
      ]
    }
  • {
      "name": "pair_symbol_code_asset",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "symbol_code"
        },
        {
          "name": "value",
          "type": "asset"
        }
      ]
    }
  • Struct property of setprices

    {
      "name": "pair_uint8_asset",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint8"
        },
        {
          "name": "value",
          "type": "asset"
        }
      ]
    }
  • {
      "name": "permission_level",
      "base": "",
      "fields": [
        {
          "name": "actor",
          "type": "name"
        },
        {
          "name": "permission",
          "type": "name"
        }
      ]
    }
  • Struct property of authority

    {
      "name": "permission_level_weight",
      "base": "",
      "fields": [
        {
          "name": "permission",
          "type": "permission_level"
        },
        {
          "name": "weight",
          "type": "uint16"
        }
      ]
    }
  • Table row type of prices

    {
      "name": "prices_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "suffix",
          "type": "name"
        },
        {
          "name": "length",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "inserted_at",
          "type": "uint64"
        },
        {
          "name": "updated_at",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setprices

    {
      "name": "setprices",
      "base": "",
      "fields": [
        {
          "name": "suffix",
          "type": "name"
        },
        {
          "name": "prices",
          "type": "pair_uint8_asset[]"
        }
      ]
    }
  • Action parameter in setsuffix

    {
      "name": "setsuffix",
      "base": "",
      "fields": [
        {
          "name": "suffix",
          "type": "name"
        },
        {
          "name": "min_length",
          "type": "uint64"
        },
        {
          "name": "commission_account",
          "type": "name"
        }
      ]
    }
  • Table row type of suffixes

    {
      "name": "suffixes_row",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "min_length",
          "type": "uint64"
        },
        {
          "name": "max_length",
          "type": "uint64"
        },
        {
          "name": "fee",
          "type": "asset"
        },
        {
          "name": "percent",
          "type": "float32"
        },
        {
          "name": "commission_account",
          "type": "name"
        },
        {
          "name": "inserted_at",
          "type": "uint64"
        },
        {
          "name": "updated_at",
          "type": "uint64"
        }
      ]
    }
  • Struct property of authority

    {
      "name": "wait_weight",
      "base": "",
      "fields": [
        {
          "name": "wait_sec",
          "type": "uint32"
        },
        {
          "name": "weight",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }