eosio.system.abi 6.1 KB
Newer Older
1
{
K
Khaled Al-Hassanieh 已提交
2
  "types": [],
3 4 5 6 7 8
  "structs": [{
      "name": "transfer",
      "base": "",
      "fields": [
        {"name":"from", "type":"account_name"},
        {"name":"to", "type":"account_name"},
K
Kevin Heifner 已提交
9 10
        {"name":"quantity", "type":"asset"},
        {"name":"memo", "type":"string"}
11
      ]
K
Kevin Heifner 已提交
12 13 14 15 16 17 18
    },{
     "name": "issue",
     "base": "",
     "fields": [
        {"name":"to", "type":"account_name"},
        {"name":"quantity", "type":"asset"}
     ]
19 20 21 22
    },{
      "name": "account",
      "base": "",
      "fields": [
23
        {"name":"currency", "type":"uint64"},
24 25
        {"name":"balance", "type":"uint64"}
      ]
26
    },{
27 28 29 30 31 32 33 34
      "name": "currency_stats",
      "base": "",
      "fields": [
        {"name":"currency", "type":"uint64"},
        {"name":"supply", "type":"uint64"}
      ]
    },{
      "name": "delegatebw",
35 36
      "base": "",
      "fields": [
37 38 39 40 41 42 43 44 45 46 47 48 49 50
         {"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 已提交
51
         {"name":"unstake_bytes", "type":"uint64"}
52
      ]
53 54 55 56 57 58 59 60 61 62 63
    },{
      "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"}
      ]
64 65 66 67 68 69 70 71 72
    },{
      "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"}
73
      ]
A
Anton Perkov 已提交
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
    },{
      "name": "eosio_parameters",
      "base": "",
      "fields": [
         {"name":"target_block_size", "type":"uint32"},
         {"name":"max_block_size", "type":"uint32"},
         {"name":"target_block_acts_per_scope", "type":"uint32"},
         {"name":"max_block_acts_per_scope", "type":"uint32"},
         {"name":"target_block_acts", "type":"uint32"},
         {"name":"max_block_acts", "type":"uint32"},
         {"name":"max_storage_size", "type":"uint64"},
         {"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"},
         {"name":"max_generated_transaction_size", "type":"uint32"},
91
         {"name":"percent_of_max_inflation_rate", "type":"uint32"},
A
Anton Perkov 已提交
92
         {"name":"storage_reserve_ratio", "type":"uint32"}
A
Anton Perkov 已提交
93
      ]
94
    },{
A
Anton Perkov 已提交
95 96 97 98
      "name": "eosio_global_state",
      "base": "eosio_parameters",
      "fields": [
         {"name":"total_storage_bytes_reserved", "type":"uint64"},
99 100
         {"name":"total_storage_stake", "type":"uint64"},
         {"name":"payment_per_block", "type":"uint64"}
A
Anton Perkov 已提交
101
      ]
102 103 104 105
    },{
      "name": "producer_info",
      "base": "",
      "fields": [
106
         {"name":"owner",              "type":"account_name"},
107 108 109 110 111
         {"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"}
112
      ]
D
Daniel Larimer 已提交
113 114 115 116
    },{
      "name": "regproducer",
      "base": "",
      "fields": [
A
Anton Perkov 已提交
117 118 119
        {"name":"producer",     "type":"account_name"},
        {"name":"producer_key", "type":"bytes"},
        {"name":"prefs",        "type":"eosio_parameters"}
D
Daniel Larimer 已提交
120
      ]
121 122 123 124 125 126
    },{
      "name": "unregprod",
      "base": "",
      "fields": [
        {"name":"producer",     "type":"account_name"}
      ]
127 128 129 130 131 132 133 134 135 136 137 138
    },{
      "name": "regproxy",
      "base": "",
      "fields": [
        {"name":"proxy",     "type":"account_name"}
      ]
    },{
      "name": "unregproxy",
      "base": "",
      "fields": [
        {"name":"proxy",     "type":"account_name"}
      ]
A
Anton Perkov 已提交
139 140 141 142 143 144 145 146
    },{
      "name": "voteproducer",
      "base": "",
      "fields": [
        {"name":"voter",     "type":"account_name"},
        {"name":"proxy",     "type":"account_name"},
        {"name":"producers", "type":"account_name[]"}
      ]
147
    },{
148
      "name": "voter_info",
149 150
      "base": "",
      "fields": [
151 152 153 154
        {"name":"owner",             "type":"account_name"},
        {"name":"proxy",             "type":"account_name"},
        {"name":"last_update",       "type":"uint32"},
        {"name":"is_proxy",          "type":"uint32"},
155 156 157
        {"name":"staked",            "type":"uint64"},
        {"name":"unstaking",         "type":"uint64"},
        {"name":"unstake_per_week",  "type":"uint64"},
158 159 160 161
        {"name":"proxied_votes",     "type":"uint128"},
        {"name":"producers",         "type":"account_name[]"},
        {"name":"deferred_trx_id",   "type":"uint32"},
        {"name":"last_unstake",      "type":"uint32"}
162
      ]
163 164 165 166 167 168
    },{
      "name": "claimrewards",
      "base": "",
      "fields": [
        {"name":"owner",   "type":"account_name"}
      ]
169 170 171 172 173
    }
  ],
  "actions": [{
      "name": "transfer",
      "type": "transfer"
K
Kevin Heifner 已提交
174 175 176
    },{
      "name": "issue",
      "type": "issue"
177
    },{
178 179 180 181 182
      "name": "delegatebw",
      "type": "delegatebw"
    },{
      "name": "undelegatebw",
      "type": "undelegatebw"
D
Daniel Larimer 已提交
183 184 185
    },{
      "name": "regproducer",
      "type": "regproducer"
186 187 188
    },{
      "name": "unregprod",
      "type": "unregprod"
189 190 191 192 193 194
    },{
      "name": "regproxy",
      "type": "regproxy"
    },{
      "name": "unregproxy",
      "type": "unregproxy"
A
Anton Perkov 已提交
195 196 197
    },{
      "name": "voteproducer",
      "type": "voteproducer"
198 199 200
    },{
      "name": "claimrewards",
      "type": "claimrewards"
201 202
    }
  ],
203
  "tables": [
204
  ]
D
Daniel Larimer 已提交
205
}