eosio.system.abi 3.6 KB
Newer Older
1
{
2 3 4 5 6
  "types": [{
      "new_type_name": "account_name",
      "type": "name"
    }
  ],
7 8 9 10 11 12
  "structs": [{
      "name": "transfer",
      "base": "",
      "fields": [
        {"name":"from", "type":"account_name"},
        {"name":"to", "type":"account_name"},
K
Kevin Heifner 已提交
13 14
        {"name":"quantity", "type":"asset"},
        {"name":"memo", "type":"string"}
15
      ]
K
Kevin Heifner 已提交
16 17 18 19 20 21 22
    },{
     "name": "issue",
     "base": "",
     "fields": [
        {"name":"to", "type":"account_name"},
        {"name":"quantity", "type":"asset"}
     ]
23 24 25 26
    },{
      "name": "account",
      "base": "",
      "fields": [
27
        {"name":"currency", "type":"uint64"},
28 29
        {"name":"balance", "type":"uint64"}
      ]
30
    },{
31 32 33 34 35 36 37 38
      "name": "currency_stats",
      "base": "",
      "fields": [
        {"name":"currency", "type":"uint64"},
        {"name":"supply", "type":"uint64"}
      ]
    },{
      "name": "delegatebw",
39 40
      "base": "",
      "fields": [
41 42 43 44 45 46 47 48 49 50 51 52 53 54
         {"name":"from", "type":"account_name"},
         {"name":"receiver", "type":"account_name"},
         {"name":"stake_net", "type":"asset"},
         {"name":"stake_cpu", "type":"asset"},
         {"name":"stake_storage", "type":"asset"}
      ]
    },{
      "name": "undelegatebw",
      "base": "",
      "fields": [
         {"name":"from", "type":"account_name"},
         {"name":"receiver", "type":"account_name"},
         {"name":"unstake_net", "type":"asset"},
         {"name":"unstake_cpu", "type":"asset"},
A
Anton Perkov 已提交
55
         {"name":"unstake_bytes", "type":"uint64"}
56
      ]
57 58 59 60 61 62 63 64 65 66 67
    },{
      "name": "delegated_bandwidth",
      "base": "",
      "fields": [
         {"name":"from", "type":"account_name"},
         {"name":"to", "type":"account_name"},
         {"name":"net_weight", "type":"asset"},
         {"name":"cpu_weight", "type":"asset"},
         {"name":"storage_stake", "type":"asset"},
         {"name":"storage_bytes", "type":"uint64"}
      ]
68 69 70 71 72 73 74 75 76
    },{
      "name": "total_resources",
      "base": "",
      "fields": [
         {"name":"owner", "type":"account_name"},
         {"name":"net_weight", "type":"uint64"},
         {"name":"cpu_weight", "type":"uint64"},
         {"name":"storage_stake", "type":"uint64"},
         {"name":"storage_bytes", "type":"uint64"}
77
      ]
D
Daniel Larimer 已提交
78 79 80 81
    },{
      "name": "regproducer",
      "base": "",
      "fields": [
82
        {"name":"producer", "type":"account_name"},
D
Daniel Larimer 已提交
83 84 85 86 87 88
        {"name":"producer_key", "type":"bytes"}
      ]
    },{
      "name": "stakevote",
      "base": "",
      "fields": [
89
        {"name":"voter", "type":"account_name"},
D
Daniel Larimer 已提交
90 91
        {"name":"amount", "type":"asset"}
      ]
92
    },{
93
      "name": "voter_info",
94 95
      "base": "",
      "fields": [
96 97 98 99 100 101 102 103 104 105 106
        {"name":"owner",             "type":"account_name"},
        {"name":"proxy",             "type":"account_name"},
        {"name":"last_update",       "type":"uint32"},
        {"name":"is_proxy",          "type":"uint32"},
        {"name":"staked",            "type":"uint32"},
        {"name":"unstaking",         "type":"uint32"},
        {"name":"unstake_per_week",  "type":"uint32"},
        {"name":"proxied_votes",     "type":"uint128"},
        {"name":"producers",         "type":"account_name[]"},
        {"name":"deferred_trx_id",   "type":"uint32"},
        {"name":"last_unstake",      "type":"uint32"}
107
      ]
108 109 110 111 112
    }
  ],
  "actions": [{
      "name": "transfer",
      "type": "transfer"
K
Kevin Heifner 已提交
113 114 115
    },{
      "name": "issue",
      "type": "issue"
116
    },{
117 118 119 120 121
      "name": "delegatebw",
      "type": "delegatebw"
    },{
      "name": "undelegatebw",
      "type": "undelegatebw"
D
Daniel Larimer 已提交
122 123 124 125 126 127
    },{
      "name": "regproducer",
      "type": "regproducer"
    },{
      "name": "stakevote",
      "type": "stakevote"
128 129
    }
  ],
130
  "tables": [
131
  ]
D
Daniel Larimer 已提交
132
}