Jungle 4 (Testnet)

eosio.sudo

Contract

The data structures defined by this contract.

  • Struct property of transaction

    {
      "name": "action",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "authorization",
          "type": "permission_level[]"
        },
        {
          "name": "data",
          "type": "bytes"
        }
      ]
    }
  • Action parameter in exec

    {
      "name": "exec",
      "base": "",
      "fields": [
        {
          "name": "executer",
          "type": "name"
        },
        {
          "name": "trx",
          "type": "transaction"
        }
      ]
    }
  • Struct property of transaction

    {
      "name": "extension",
      "base": "",
      "fields": [
        {
          "name": "type",
          "type": "uint16"
        },
        {
          "name": "data",
          "type": "bytes"
        }
      ]
    }
  • Struct property of action

    {
      "name": "permission_level",
      "base": "",
      "fields": [
        {
          "name": "actor",
          "type": "name"
        },
        {
          "name": "permission",
          "type": "name"
        }
      ]
    }
  • Extends base type of transaction_header

    Struct property of exec

    {
      "name": "transaction",
      "base": "transaction_header",
      "fields": [
        {
          "name": "context_free_actions",
          "type": "action[]"
        },
        {
          "name": "actions",
          "type": "action[]"
        },
        {
          "name": "transaction_extensions",
          "type": "extension[]"
        }
      ]
    }
  • Struct base type of transaction

    {
      "name": "transaction_header",
      "base": "",
      "fields": [
        {
          "name": "expiration",
          "type": "time_point_sec"
        },
        {
          "name": "ref_block_num",
          "type": "uint16"
        },
        {
          "name": "ref_block_prefix",
          "type": "uint32"
        },
        {
          "name": "max_net_usage_words",
          "type": "varuint32"
        },
        {
          "name": "max_cpu_usage_ms",
          "type": "uint8"
        },
        {
          "name": "delay_sec",
          "type": "varuint32"
        }
      ]
    }