Jungle 4 (Testnet)

openvaccount

合约

此合约定义的数据结构。

  • 的结构体属性 pair_name_authority

    {
      "name": "authority",
      "base": "",
      "fields": [
        {
          "name": "threshold",
          "type": "uint32"
        },
        {
          "name": "keys",
          "type": "key_weight[]"
        },
        {
          "name": "accounts",
          "type": "permission_level_weight[]"
        },
        {
          "name": "waits",
          "type": "wait_weight[]"
        }
      ]
    }
  • estimatecost中的操作参数

    {
      "name": "estimatecost",
      "base": "",
      "fields": []
    }
  • 的结构体属性 authority

    {
      "name": "key_weight",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "public_key"
        },
        {
          "name": "weight",
          "type": "uint16"
        }
      ]
    }
  • logcreation中的操作参数

    {
      "name": "logcreation",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "excess",
          "type": "asset"
        },
        {
          "name": "ram",
          "type": "asset"
        },
        {
          "name": "timestamp",
          "type": "uint64"
        }
      ]
    }
  • parsememo 的操作返回类型

    {
      "name": "pair_name_authority",
      "base": "",
      "fields": [
        {
          "name": "first",
          "type": "name"
        },
        {
          "name": "second",
          "type": "authority"
        }
      ]
    }
  • parsememo中的操作参数

    {
      "name": "parsememo",
      "base": "",
      "fields": [
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • {
      "name": "permission_level",
      "base": "",
      "fields": [
        {
          "name": "actor",
          "type": "name"
        },
        {
          "name": "permission",
          "type": "name"
        }
      ]
    }
  • 的结构体属性 authority

    {
      "name": "permission_level_weight",
      "base": "",
      "fields": [
        {
          "name": "permission",
          "type": "permission_level"
        },
        {
          "name": "weight",
          "type": "uint16"
        }
      ]
    }
  • 的结构体属性 authority

    {
      "name": "wait_weight",
      "base": "",
      "fields": [
        {
          "name": "wait_sec",
          "type": "uint32"
        },
        {
          "name": "weight",
          "type": "uint16"
        }
      ]
    }