Vaulta

ename.we

Contract

The data structures defined by this contract.

  • Action parameter in addnews

    {
      "name": "addnews",
      "base": "",
      "fields": [
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "manager",
          "type": "name"
        },
        {
          "name": "title",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "content",
          "type": "string"
        },
        {
          "name": "starttime",
          "type": "block_timestamp_type"
        },
        {
          "name": "endtime",
          "type": "block_timestamp_type"
        },
        {
          "name": "id",
          "type": "int32"
        }
      ]
    }
  • Table row type of creators

    {
      "name": "creators_struct",
      "base": "",
      "fields": [
        {
          "name": "creator_name",
          "type": "name"
        },
        {
          "name": "refund_name",
          "type": "name"
        },
        {
          "name": "prices",
          "type": "int64[]"
        },
        {
          "name": "total_amount",
          "type": "asset"
        },
        {
          "name": "total_names",
          "type": "uint64"
        },
        {
          "name": "description",
          "type": "string"
        }
      ]
    }
  • Action parameter in delcreator

    {
      "name": "delcreator",
      "base": "",
      "fields": [
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "set_typ",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in delnews

    {
      "name": "delnews",
      "base": "",
      "fields": [
        {
          "name": "manager",
          "type": "name"
        },
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of globals

    {
      "name": "globals",
      "base": "",
      "fields": [
        {
          "name": "total_amount",
          "type": "asset"
        },
        {
          "name": "total_creators",
          "type": "uint64"
        },
        {
          "name": "total_names",
          "type": "uint64"
        },
        {
          "name": "creator_weight",
          "type": "uint32"
        },
        {
          "name": "platform_weight",
          "type": "uint32"
        },
        {
          "name": "fund_weight",
          "type": "uint32"
        },
        {
          "name": "referees_weight",
          "type": "uint32"
        },
        {
          "name": "token_scale",
          "type": "uint32"
        },
        {
          "name": "price12",
          "type": "asset"
        },
        {
          "name": "default_ram_amount",
          "type": "asset"
        },
        {
          "name": "rent_cpu_amount",
          "type": "asset"
        },
        {
          "name": "rent_net_amount",
          "type": "asset"
        },
        {
          "name": "news_admin",
          "type": "name"
        },
        {
          "name": "buyrent",
          "type": "bool"
        }
      ]
    }
  • Table row type of news

    {
      "name": "news_struct",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "manager",
          "type": "name"
        },
        {
          "name": "title",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "content",
          "type": "string"
        },
        {
          "name": "start_dt",
          "type": "block_timestamp_type"
        },
        {
          "name": "end_dt",
          "type": "block_timestamp_type"
        },
        {
          "name": "create_dt",
          "type": "block_timestamp_type"
        }
      ]
    }
  • Table row type of orders

    {
      "name": "orders_struct",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "price",
          "type": "asset"
        },
        {
          "name": "timestamp",
          "type": "block_timestamp_type"
        }
      ]
    }
  • Action parameter in remove

    {
      "name": "remove",
      "base": "",
      "fields": []
    }
  • Action parameter in setcreator

    {
      "name": "setcreator",
      "base": "",
      "fields": [
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "refunder",
          "type": "name"
        },
        {
          "name": "prices",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "set_typ",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setting

    {
      "name": "setting",
      "base": "",
      "fields": [
        {
          "name": "field",
          "type": "string"
        },
        {
          "name": "val",
          "type": "string"
        }
      ]
    }