eosio.system.abi 9.1 KB
Newer Older
1
{
2
  "types": [],
3
  "structs": [{
K
Khaled Al-Hassanieh 已提交
4 5 6 7 8 9
      "name": "nonce",
       "base": "",
       "fields": [
          {"name":"value", "type":"string"}
      ]
    },{
10 11 12
      "name": "transfer",
      "base": "",
      "fields": [
K
Khaled Al-Hassanieh 已提交
13 14 15 16
         {"name":"from", "type":"account_name"},
         {"name":"to", "type":"account_name"},
         {"name":"quantity", "type":"asset"},
         {"name":"memo", "type":"string"}
17
      ]
K
Kevin Heifner 已提交
18 19 20 21 22 23 24
    },{
     "name": "issue",
     "base": "",
     "fields": [
        {"name":"to", "type":"account_name"},
        {"name":"quantity", "type":"asset"}
     ]
25 26 27 28
    },{
      "name": "account",
      "base": "",
      "fields": [
29
        {"name":"currency", "type":"uint64"},
30 31
        {"name":"balance", "type":"uint64"}
      ]
32
    },{
33 34 35 36 37 38 39 40
      "name": "currency_stats",
      "base": "",
      "fields": [
        {"name":"currency", "type":"uint64"},
        {"name":"supply", "type":"uint64"}
      ]
    },{
      "name": "delegatebw",
41 42
      "base": "",
      "fields": [
43 44
         {"name":"from", "type":"account_name"},
         {"name":"receiver", "type":"account_name"},
45 46 47
         {"name":"stake_net_quantity", "type":"asset"},
         {"name":"stake_cpu_quantity", "type":"asset"},
         {"name":"stake_storage_quantity", "type":"asset"}
48 49 50 51 52 53 54
      ]
    },{
      "name": "undelegatebw",
      "base": "",
      "fields": [
         {"name":"from", "type":"account_name"},
         {"name":"receiver", "type":"account_name"},
55 56 57
         {"name":"unstake_net_quantity", "type":"asset"},
         {"name":"unstake_cpu_quantity", "type":"asset"},
         {"name":"unstake_storage_bytes", "type":"uint64"}
58
      ]
A
Anton Perkov 已提交
59 60 61 62 63 64
    },{
      "name": "refund",
      "base": "",
      "fields": [
         {"name":"owner", "type":"account_name"}
      ]
65 66 67 68 69 70
    },{
      "name": "delegated_bandwidth",
      "base": "",
      "fields": [
         {"name":"from", "type":"account_name"},
         {"name":"to", "type":"account_name"},
71 72 73
         {"name":"net_weight", "type":"uint64"},
         {"name":"cpu_weight", "type":"uint64"},
         {"name":"storage_stake", "type":"uint64"},
74 75
         {"name":"storage_bytes", "type":"uint64"}
      ]
76 77 78 79 80
    },{
      "name": "total_resources",
      "base": "",
      "fields": [
         {"name":"owner", "type":"account_name"},
81 82 83
         {"name":"net_weight", "type":"asset"},
         {"name":"cpu_weight", "type":"asset"},
         {"name":"storage_stake", "type":"asset"},
84
         {"name":"storage_bytes", "type":"uint64"}
85
      ]
86 87 88 89 90 91 92 93
    },{
      "name": "refund_request",
      "base": "",
      "fields": [
         {"name":"owner", "type":"account_name"},
         {"name":"request_time", "type":"time"},
         {"name":"amount", "type":"uint64"}
      ]
A
Anton Perkov 已提交
94
    },{
95
      "name": "blockchain_parameters",
A
Anton Perkov 已提交
96 97
      "base": "",
      "fields": [
A
arhag 已提交
98 99 100
         {"name":"max_block_net_usage", "type": "uint64"},
         {"name":"target_block_net_usage_pct", "type": "uint32"},
         {"name":"max_transaction_net_usage", "type":"uint32"},
101
         {"name":"base_per_transaction_net_usage", "type":"uint32"},
A
arhag 已提交
102 103 104 105 106
         {"name":"context_free_discount_net_usage_num", "type":"uint64"},
         {"name":"context_free_discount_net_usage_den", "type":"uint64"},
         {"name":"max_block_cpu_usage", "type": "uint64"},
         {"name":"target_block_cpu_usage_pct", "type": "uint32"},
         {"name":"max_transaction_cpu_usage", "type":"uint32"},
107 108 109 110
         {"name":"base_per_transaction_cpu_usage", "type":"uint32"},
         {"name":"base_per_action_cpu_usage", "type":"uint32"},
         {"name":"base_setcode_cpu_usage", "type":"uint32"},
         {"name":"per_signature_cpu_usage", "type":"uint32"},
B
Bart Wyatt 已提交
111 112
         {"name":"context_free_discount_cpu_usage_num", "type":"uint64"},
         {"name":"context_free_discount_cpu_usage_den", "type":"uint64"},
A
Anton Perkov 已提交
113
         {"name":"max_transaction_lifetime", "type":"uint32"},
A
arhag 已提交
114 115
         {"name":"deferred_trx_expiration_window", "type":"uint32"},
         {"name":"max_transaction_delay", "type":"uint32"},
A
Anton Perkov 已提交
116
         {"name":"max_inline_action_size", "type":"uint32"},
A
arhag 已提交
117 118 119
         {"name":"max_inline_action_depth", "type":"uint16"},
         {"name":"max_authority_depth", "type":"uint16"},
         {"name":"max_generated_transaction_count", "type":"uint32"}
120 121 122 123 124
      ]
    },{
      "name": "eosio_parameters",
      "base": "blockchain_parameters",
      "fields": [
125
         {"name":"max_storage_size", "type":"uint64"},
126
         {"name":"percent_of_max_inflation_rate", "type":"uint32"},
A
Anton Perkov 已提交
127
         {"name":"storage_reserve_ratio", "type":"uint32"}
A
Anton Perkov 已提交
128
      ]
129
    },{
A
Anton Perkov 已提交
130 131 132 133
      "name": "eosio_global_state",
      "base": "eosio_parameters",
      "fields": [
         {"name":"total_storage_bytes_reserved", "type":"uint64"},
134 135
         {"name":"total_storage_stake", "type":"uint64"},
         {"name":"payment_per_block", "type":"uint64"}
A
Anton Perkov 已提交
136
      ]
137 138 139 140
    },{
      "name": "producer_info",
      "base": "",
      "fields": [
141
         {"name":"owner",              "type":"account_name"},
142
         {"name":"total_votes",        "type":"uint128"},
143
         {"name":"packed_key",         "type":"public_key"},
144
         {"name":"per_block_payments", "type":"uint64"},
145
         {"name":"last_claim_time",    "type":"time"}
146
      ]
D
Daniel Larimer 已提交
147 148 149 150
    },{
      "name": "regproducer",
      "base": "",
      "fields": [
A
Anton Perkov 已提交
151
        {"name":"producer",     "type":"account_name"},
152 153
        {"name":"producer_key", "type":"public_key"},
        {"name":"url",          "type":"string"}
D
Daniel Larimer 已提交
154
      ]
155 156 157 158 159 160
    },{
      "name": "unregprod",
      "base": "",
      "fields": [
        {"name":"producer",     "type":"account_name"}
      ]
161 162 163 164
    },{
      "name": "setparams",
      "base": "",
      "fields": [
K
Kevin Heifner 已提交
165
        {"name":"max_ram_size",     "type":"uint64"},
166 167
        {"name":"ram_reserve_ratio", "type":"uint32"}
      ]
168 169 170 171 172 173 174 175 176 177 178 179
    },{
      "name": "regproxy",
      "base": "",
      "fields": [
        {"name":"proxy",     "type":"account_name"}
      ]
    },{
      "name": "unregproxy",
      "base": "",
      "fields": [
        {"name":"proxy",     "type":"account_name"}
      ]
A
Anton Perkov 已提交
180 181 182 183 184 185 186
    },{
      "name": "voteproducer",
      "base": "",
      "fields": [
        {"name":"voter",     "type":"account_name"},
        {"name":"proxy",     "type":"account_name"},
        {"name":"producers", "type":"account_name[]"}
D
Daniel Larimer 已提交
187 188
      ]
    },{
189
      "name": "voter_info",
D
Daniel Larimer 已提交
190 191
      "base": "",
      "fields": [
192 193
        {"name":"owner",             "type":"account_name"},
        {"name":"proxy",             "type":"account_name"},
194
        {"name":"last_update",       "type":"time"},
195
        {"name":"is_proxy",          "type":"uint32"},
196 197 198
        {"name":"staked",            "type":"asset"},
        {"name":"unstaking",         "type":"asset"},
        {"name":"unstake_per_week",  "type":"asset"},
199 200 201 202
        {"name":"proxied_votes",     "type":"uint128"},
        {"name":"producers",         "type":"account_name[]"},
        {"name":"deferred_trx_id",   "type":"uint32"},
        {"name":"last_unstake",      "type":"uint32"}
203
      ]
204 205 206 207 208
    },{
      "name": "claimrewards",
      "base": "",
      "fields": [
        {"name":"owner",   "type":"account_name"}
D
Daniel Larimer 已提交
209
      ]
210 211 212 213
    }
  ],
  "actions": [{
      "name": "transfer",
214 215
      "type": "transfer",
      "ricardian_contract": ""
K
Kevin Heifner 已提交
216 217
    },{
      "name": "issue",
218 219
      "type": "issue",
      "ricardian_contract": ""
220
    },{
221
      "name": "delegatebw",
222 223
      "type": "delegatebw",
      "ricardian_contract": ""
224 225
    },{
      "name": "undelegatebw",
226 227
      "type": "undelegatebw",
      "ricardian_contract": ""
A
Anton Perkov 已提交
228 229
    },{
      "name": "refund",
230 231
      "type": "refund",
      "ricardian_contract": ""
D
Daniel Larimer 已提交
232 233
    },{
      "name": "regproducer",
234 235
      "type": "regproducer",
      "ricardian_contract": ""
236 237 238 239
    },{
      "name": "setparams",
      "type": "setparams",
      "ricardian_contract": ""
D
Daniel Larimer 已提交
240
    },{
241
      "name": "unregprod",
242 243
      "type": "unregprod",
      "ricardian_contract": ""
244 245
    },{
      "name": "regproxy",
246 247
      "type": "regproxy",
      "ricardian_contract": ""
248 249
    },{
      "name": "unregproxy",
250 251
      "type": "unregproxy",
      "ricardian_contract": ""
A
Anton Perkov 已提交
252 253
    },{
      "name": "voteproducer",
254 255
      "type": "voteproducer",
      "ricardian_contract": ""
256 257
    },{
      "name": "claimrewards",
258 259
      "type": "claimrewards",
      "ricardian_contract": ""
K
Khaled Al-Hassanieh 已提交
260 261
    },{
      "name": "nonce",
262 263
      "type": "nonce",
      "ricardian_contract": ""
264 265
    }
  ],
266 267 268 269 270 271
  "tables": [{
      "name": "producerinfo",
      "type": "producer_info",
      "index_type": "i64",
      "key_names" : ["owner"],
      "key_types" : ["uint64"]
272 273 274 275 276 277
    },{
      "name": "global",
      "type": "eosio_global_state",
      "index_type": "i64",
      "key_names" : [],
      "key_types" : []
278 279 280 281 282 283
    },{
      "name": "voters",
      "type": "voter_info",
      "index_type": "i64",
      "key_names" : ["owner"],
      "key_types" : ["account_name"]
284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301
    },{
      "name": "totalband",
      "type": "total_resources",
      "index_type": "i64",
      "key_names" : ["owner"],
      "key_types" : ["uint64"]
    },{
      "name": "delband",
      "type": "delegated_bandwidth",
      "index_type": "i64",
      "key_names" : ["to"],
      "key_types" : ["uint64"]
    },{
      "name": "refunds",
      "type": "refund_request",
      "index_type": "i64",
      "key_names" : ["owner"],
      "key_types" : ["uint64"]
302
    }
303
  ],
304
  "ricardian_clauses": []
D
Daniel Larimer 已提交
305
}