Vaulta

transfer.wal

Contract

The data structures defined by this contract.

  • Table row type of globalconfig

    {
      "name": "global_config",
      "base": "",
      "fields": [
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "rule_id",
          "type": "uint64"
        },
        {
          "name": "record_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "admin",
          "type": "name"
        }
      ]
    }
  • Table row type of records

    {
      "name": "records",
      "base": "",
      "fields": [
        {
          "name": "record_id",
          "type": "uint64"
        },
        {
          "name": "rule_id",
          "type": "uint64"
        },
        {
          "name": "out_quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "outdated",
          "type": "bool"
        },
        {
          "name": "created_time",
          "type": "time_point_sec"
        },
        {
          "name": "outdated_time",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in rmrecord

    {
      "name": "rmrecord",
      "base": "",
      "fields": [
        {
          "name": "max_records",
          "type": "uint64"
        },
        {
          "name": "force",
          "type": "bool"
        }
      ]
    }
  • Action parameter in rmrule

    {
      "name": "rmrule",
      "base": "",
      "fields": [
        {
          "name": "rule_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of rules

    {
      "name": "rules",
      "base": "",
      "fields": [
        {
          "name": "rule_id",
          "type": "uint64"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "max_quantity",
          "type": "asset"
        },
        {
          "name": "period",
          "type": "uint32"
        },
        {
          "name": "memo_rule",
          "type": "string"
        },
        {
          "name": "current_quantity",
          "type": "asset"
        },
        {
          "name": "updated_time",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in send

    {
      "name": "send",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in setrule

    {
      "name": "setrule",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "max_quantity",
          "type": "asset"
        },
        {
          "name": "period",
          "type": "uint32"
        },
        {
          "name": "memo_rule",
          "type": "string"
        }
      ]
    }