eosio.system.abi 7.4 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 45 46 47 48 49 50 51 52 53 54 55 56
         {"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 已提交
57
         {"name":"unstake_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 71 72 73 74 75
    },{
      "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"}
      ]
76 77 78 79 80 81 82 83 84
    },{
      "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"}
85
      ]
A
Anton Perkov 已提交
86 87 88 89
    },{
      "name": "eosio_parameters",
      "base": "",
      "fields": [
90 91 92 93 94
         {"name":"base_per_transaction_net_usage", "type":"uint32"},
         {"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 已提交
95 96 97 98 99
         {"name":"per_lock_net_usage", "type":"uint32"},
         {"name":"context_free_discount_cpu_usage_num", "type":"uint64"},
         {"name":"context_free_discount_cpu_usage_den", "type":"uint64"},
         {"name":"max_transaction_cpu_usage", "type":"uint32"},
         {"name":"max_transaction_net_usage", "type":"uint32"},
100
         {"name":"max_block_cpu_usage", "type": "uint64"},
B
Bart Wyatt 已提交
101
         {"name":"target_block_cpu_usage_pct", "type": "uint32"},
102
         {"name":"max_block_net_usage", "type": "uint64"},
B
Bart Wyatt 已提交
103
         {"name":"target_block_net_usage_pct", "type": "uint32"},
A
Anton Perkov 已提交
104 105 106 107 108
         {"name":"max_transaction_lifetime", "type":"uint32"},
         {"name":"max_transaction_exec_time", "type":"uint32"},
         {"name":"max_authority_depth", "type":"uint16"},
         {"name":"max_inline_depth", "type":"uint16"},
         {"name":"max_inline_action_size", "type":"uint32"},
109
         {"name":"max_generated_transaction_count", "type":"uint32"},
110
         {"name":"max_storage_size", "type":"uint64"},
111
         {"name":"percent_of_max_inflation_rate", "type":"uint32"},
A
Anton Perkov 已提交
112
         {"name":"storage_reserve_ratio", "type":"uint32"}
A
Anton Perkov 已提交
113
      ]
114
    },{
A
Anton Perkov 已提交
115 116 117 118
      "name": "eosio_global_state",
      "base": "eosio_parameters",
      "fields": [
         {"name":"total_storage_bytes_reserved", "type":"uint64"},
119 120
         {"name":"total_storage_stake", "type":"uint64"},
         {"name":"payment_per_block", "type":"uint64"}
A
Anton Perkov 已提交
121
      ]
122 123 124 125
    },{
      "name": "producer_info",
      "base": "",
      "fields": [
126
         {"name":"owner",              "type":"account_name"},
127 128 129 130 131
         {"name":"total_votes",        "type":"uint128"},
         {"name":"prefs",              "type":"eosio_parameters"},
         {"name":"packed_key",         "type":"uint8[]"},
         {"name":"per_block_payments", "type":"uint64"},
         {"name":"last_claim_time",    "type":"uint32"}
132
      ]
D
Daniel Larimer 已提交
133 134 135 136
    },{
      "name": "regproducer",
      "base": "",
      "fields": [
A
Anton Perkov 已提交
137 138 139
        {"name":"producer",     "type":"account_name"},
        {"name":"producer_key", "type":"bytes"},
        {"name":"prefs",        "type":"eosio_parameters"}
D
Daniel Larimer 已提交
140
      ]
141 142 143 144 145 146
    },{
      "name": "unregprod",
      "base": "",
      "fields": [
        {"name":"producer",     "type":"account_name"}
      ]
147 148 149 150 151 152 153 154 155 156 157 158
    },{
      "name": "regproxy",
      "base": "",
      "fields": [
        {"name":"proxy",     "type":"account_name"}
      ]
    },{
      "name": "unregproxy",
      "base": "",
      "fields": [
        {"name":"proxy",     "type":"account_name"}
      ]
A
Anton Perkov 已提交
159 160 161 162 163 164 165
    },{
      "name": "voteproducer",
      "base": "",
      "fields": [
        {"name":"voter",     "type":"account_name"},
        {"name":"proxy",     "type":"account_name"},
        {"name":"producers", "type":"account_name[]"}
D
Daniel Larimer 已提交
166 167
      ]
    },{
168
      "name": "voter_info",
D
Daniel Larimer 已提交
169 170
      "base": "",
      "fields": [
171 172 173 174
        {"name":"owner",             "type":"account_name"},
        {"name":"proxy",             "type":"account_name"},
        {"name":"last_update",       "type":"uint32"},
        {"name":"is_proxy",          "type":"uint32"},
175 176 177
        {"name":"staked",            "type":"uint64"},
        {"name":"unstaking",         "type":"uint64"},
        {"name":"unstake_per_week",  "type":"uint64"},
178 179 180 181
        {"name":"proxied_votes",     "type":"uint128"},
        {"name":"producers",         "type":"account_name[]"},
        {"name":"deferred_trx_id",   "type":"uint32"},
        {"name":"last_unstake",      "type":"uint32"}
182
      ]
183 184 185 186 187
    },{
      "name": "claimrewards",
      "base": "",
      "fields": [
        {"name":"owner",   "type":"account_name"}
D
Daniel Larimer 已提交
188
      ]
189 190 191 192
    }
  ],
  "actions": [{
      "name": "transfer",
193 194
      "type": "transfer",
      "ricardian_contract": ""
K
Kevin Heifner 已提交
195 196
    },{
      "name": "issue",
197 198
      "type": "issue",
      "ricardian_contract": ""
199
    },{
200
      "name": "delegatebw",
201 202
      "type": "delegatebw",
      "ricardian_contract": ""
203 204
    },{
      "name": "undelegatebw",
205 206
      "type": "undelegatebw",
      "ricardian_contract": ""
A
Anton Perkov 已提交
207 208
    },{
      "name": "refund",
209 210
      "type": "refund",
      "ricardian_contract": ""
D
Daniel Larimer 已提交
211 212
    },{
      "name": "regproducer",
213 214
      "type": "regproducer",
      "ricardian_contract": ""
D
Daniel Larimer 已提交
215
    },{
216
      "name": "unregprod",
217 218
      "type": "unregprod",
      "ricardian_contract": ""
219 220
    },{
      "name": "regproxy",
221 222
      "type": "regproxy",
      "ricardian_contract": ""
223 224
    },{
      "name": "unregproxy",
225 226
      "type": "unregproxy",
      "ricardian_contract": ""
A
Anton Perkov 已提交
227 228
    },{
      "name": "voteproducer",
229 230
      "type": "voteproducer",
      "ricardian_contract": ""
231 232
    },{
      "name": "claimrewards",
233 234
      "type": "claimrewards",
      "ricardian_contract": ""
K
Khaled Al-Hassanieh 已提交
235 236
    },{
      "name": "nonce",
237 238
      "type": "nonce",
      "ricardian_contract": ""
239 240
    }
  ],
241
  "tables": [
242
  ],
243
  "ricardian_clauses": []
D
Daniel Larimer 已提交
244
}