-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added voter_info fields back in (#72)
* Added voter_info fields back in * Version 0.7.4-beta1 * Version 0.7.4-beta2 * Check for compression and throw if unsupported
- Loading branch information
Showing
4 changed files
with
296 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
277 changes: 277 additions & 0 deletions
277
test/data/8745e40a973fe2860ad803d3c20a76541d3b9392.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,277 @@ | ||
{ | ||
"headers": { | ||
"access-control-allow-headers": "X-Requested-With,Accept,Content-Type,Origin", | ||
"access-control-allow-methods": "GET, POST, OPTIONS", | ||
"access-control-allow-origin": "*", | ||
"connection": "close", | ||
"content-length": "3600", | ||
"content-type": "application/json", | ||
"date": "Sun, 30 Jul 2023 19:12:57 GMT", | ||
"host": "eos.greymass.com", | ||
"server": "nginx", | ||
"x-cached": "MISS" | ||
}, | ||
"status": 200, | ||
"json": { | ||
"account_name": "teamgreymass", | ||
"head_block_num": 323116128, | ||
"head_block_time": "2023-07-30T19:12:57.500", | ||
"privileged": false, | ||
"last_code_update": "1970-01-01T00:00:00.000", | ||
"created": "2018-06-10T13:04:15.000", | ||
"core_liquid_balance": "11768.7873 EOS", | ||
"ram_quota": 67988, | ||
"net_weight": 4497214, | ||
"cpu_weight": "10674157299", | ||
"net_limit": { | ||
"used": 194529, | ||
"available": 8278572, | ||
"max": 8473101, | ||
"last_usage_update_time": "2023-07-30T19:12:39.500", | ||
"current_used": 194488 | ||
}, | ||
"cpu_limit": { | ||
"used": 750173, | ||
"available": 211970, | ||
"max": 962143, | ||
"last_usage_update_time": "2023-07-30T19:12:39.500", | ||
"current_used": 750016 | ||
}, | ||
"ram_usage": 17516, | ||
"permissions": [ | ||
{ | ||
"perm_name": "active", | ||
"parent": "owner", | ||
"required_auth": { | ||
"threshold": 1, | ||
"keys": [ | ||
{ | ||
"key": "EOS6gqJ7sdPgjHLFLtks9cRPs5qYHa9U3CwK4P2JasTLWKQ9kXZK1", | ||
"weight": 1 | ||
} | ||
], | ||
"accounts": [], | ||
"waits": [] | ||
}, | ||
"linked_actions": [] | ||
}, | ||
{ | ||
"perm_name": "claim", | ||
"parent": "active", | ||
"required_auth": { | ||
"threshold": 1, | ||
"keys": [ | ||
{ | ||
"key": "EOS6DLD9HxMcwn73U41jjdGsNe9vDFRKB26um6qTAqrtYcJFtED4C", | ||
"weight": 1 | ||
} | ||
], | ||
"accounts": [], | ||
"waits": [] | ||
}, | ||
"linked_actions": [ | ||
{ | ||
"account": "eosio", | ||
"action": "claimrewards" | ||
} | ||
] | ||
}, | ||
{ | ||
"perm_name": "decentium", | ||
"parent": "active", | ||
"required_auth": { | ||
"threshold": 1, | ||
"keys": [ | ||
{ | ||
"key": "EOS7knG7M5TUEdRv1bkVjTPddVoDQnwS7oEZXAgFk3A4hhocA3eJf", | ||
"weight": 1 | ||
} | ||
], | ||
"accounts": [], | ||
"waits": [] | ||
}, | ||
"linked_actions": [ | ||
{ | ||
"account": "decentiumorg" | ||
} | ||
] | ||
}, | ||
{ | ||
"perm_name": "killswitch", | ||
"parent": "active", | ||
"required_auth": { | ||
"threshold": 1, | ||
"keys": [ | ||
{ | ||
"key": "EOS7CjC7GL71msPzAuAzd2WwiBEAzTcPL47ACrjSuiNmnnGGufYSn", | ||
"weight": 1 | ||
} | ||
], | ||
"accounts": [], | ||
"waits": [] | ||
}, | ||
"linked_actions": [ | ||
{ | ||
"account": "eosio", | ||
"action": "unregprod" | ||
} | ||
] | ||
}, | ||
{ | ||
"perm_name": "oracle", | ||
"parent": "active", | ||
"required_auth": { | ||
"threshold": 1, | ||
"keys": [ | ||
{ | ||
"key": "EOS88VqmDmJJ9S23eNqdeWYf2zySxv3ckQrWBKy7EvVRCUuhSU4f3", | ||
"weight": 1 | ||
} | ||
], | ||
"accounts": [], | ||
"waits": [] | ||
}, | ||
"linked_actions": [ | ||
{ | ||
"account": "delphioracle", | ||
"action": "write" | ||
} | ||
] | ||
}, | ||
{ | ||
"perm_name": "owner", | ||
"parent": "", | ||
"required_auth": { | ||
"threshold": 1, | ||
"keys": [ | ||
{ | ||
"key": "EOS8QzGtCea2thiqcTVeXGdyRZpdKYptQznbcWSMj73FD5RgwKN82", | ||
"weight": 1 | ||
} | ||
], | ||
"accounts": [], | ||
"waits": [] | ||
}, | ||
"linked_actions": [] | ||
}, | ||
{ | ||
"perm_name": "producerjson", | ||
"parent": "active", | ||
"required_auth": { | ||
"threshold": 1, | ||
"keys": [ | ||
{ | ||
"key": "EOS5JCEciUdfXnQmTyj85T98bXTAZZ1g7Nmajseu7ZWB8DrDa6Etp", | ||
"weight": 1 | ||
} | ||
], | ||
"accounts": [], | ||
"waits": [] | ||
}, | ||
"linked_actions": [ | ||
{ | ||
"account": "producerjson", | ||
"action": "set" | ||
} | ||
] | ||
}, | ||
{ | ||
"perm_name": "transfer", | ||
"parent": "active", | ||
"required_auth": { | ||
"threshold": 1, | ||
"keys": [ | ||
{ | ||
"key": "EOS7qZ8nnmn6KBnjQL4oukyZFWCj8DmC9nJE2nkAYAZbwgKhMu8cW", | ||
"weight": 1 | ||
} | ||
], | ||
"accounts": [], | ||
"waits": [] | ||
}, | ||
"linked_actions": [ | ||
{ | ||
"account": "eosio.token", | ||
"action": "transfer" | ||
} | ||
] | ||
}, | ||
{ | ||
"perm_name": "vote", | ||
"parent": "active", | ||
"required_auth": { | ||
"threshold": 1, | ||
"keys": [ | ||
{ | ||
"key": "EOS65NrHPVXaV4voxepQREmYCmnMJm4tAWdxPaK46CbUN1rrVmRzg", | ||
"weight": 1 | ||
} | ||
], | ||
"accounts": [], | ||
"waits": [] | ||
}, | ||
"linked_actions": [ | ||
{ | ||
"account": "eosio", | ||
"action": "voteproducer" | ||
} | ||
] | ||
}, | ||
{ | ||
"perm_name": "voting", | ||
"parent": "active", | ||
"required_auth": { | ||
"threshold": 1, | ||
"keys": [ | ||
{ | ||
"key": "EOS7pn6P5FftyNAKRfx9VcUzBFMvC4UitNbnoKbfxNe8SShELo2it", | ||
"weight": 1 | ||
} | ||
], | ||
"accounts": [], | ||
"waits": [] | ||
}, | ||
"linked_actions": [ | ||
{ | ||
"account": "eosio.forum", | ||
"action": "vote" | ||
}, | ||
{ | ||
"account": "eosio.forum", | ||
"action": "unvote" | ||
} | ||
] | ||
} | ||
], | ||
"total_resources": { | ||
"owner": "teamgreymass", | ||
"net_weight": "449.7214 EOS", | ||
"cpu_weight": "1067415.7299 EOS", | ||
"ram_bytes": 66588 | ||
}, | ||
"self_delegated_bandwidth": null, | ||
"refund_request": null, | ||
"voter_info": { | ||
"owner": "teamgreymass", | ||
"proxy": "greymassvote", | ||
"producers": [], | ||
"staked": 100202, | ||
"last_vote_weight": "863265464502.93908691406250000", | ||
"proxied_vote_weight": "0.00000000000000000", | ||
"is_proxy": 0, | ||
"flags1": 0, | ||
"reserved2": 0, | ||
"reserved3": "0.0000 EOS" | ||
}, | ||
"rex_info": null, | ||
"subjective_cpu_bill_limit": { | ||
"used": 0, | ||
"available": 0, | ||
"max": 0, | ||
"last_usage_update_time": "2000-01-01T00:00:00.000", | ||
"current_used": 0 | ||
}, | ||
"eosio_any_linked_actions": [] | ||
}, | ||
"text": "{\"account_name\":\"teamgreymass\",\"head_block_num\":323116128,\"head_block_time\":\"2023-07-30T19:12:57.500\",\"privileged\":false,\"last_code_update\":\"1970-01-01T00:00:00.000\",\"created\":\"2018-06-10T13:04:15.000\",\"core_liquid_balance\":\"11768.7873 EOS\",\"ram_quota\":67988,\"net_weight\":4497214,\"cpu_weight\":\"10674157299\",\"net_limit\":{\"used\":194529,\"available\":8278572,\"max\":8473101,\"last_usage_update_time\":\"2023-07-30T19:12:39.500\",\"current_used\":194488},\"cpu_limit\":{\"used\":750173,\"available\":211970,\"max\":962143,\"last_usage_update_time\":\"2023-07-30T19:12:39.500\",\"current_used\":750016},\"ram_usage\":17516,\"permissions\":[{\"perm_name\":\"active\",\"parent\":\"owner\",\"required_auth\":{\"threshold\":1,\"keys\":[{\"key\":\"EOS6gqJ7sdPgjHLFLtks9cRPs5qYHa9U3CwK4P2JasTLWKQ9kXZK1\",\"weight\":1}],\"accounts\":[],\"waits\":[]},\"linked_actions\":[]},{\"perm_name\":\"claim\",\"parent\":\"active\",\"required_auth\":{\"threshold\":1,\"keys\":[{\"key\":\"EOS6DLD9HxMcwn73U41jjdGsNe9vDFRKB26um6qTAqrtYcJFtED4C\",\"weight\":1}],\"accounts\":[],\"waits\":[]},\"linked_actions\":[{\"account\":\"eosio\",\"action\":\"claimrewards\"}]},{\"perm_name\":\"decentium\",\"parent\":\"active\",\"required_auth\":{\"threshold\":1,\"keys\":[{\"key\":\"EOS7knG7M5TUEdRv1bkVjTPddVoDQnwS7oEZXAgFk3A4hhocA3eJf\",\"weight\":1}],\"accounts\":[],\"waits\":[]},\"linked_actions\":[{\"account\":\"decentiumorg\"}]},{\"perm_name\":\"killswitch\",\"parent\":\"active\",\"required_auth\":{\"threshold\":1,\"keys\":[{\"key\":\"EOS7CjC7GL71msPzAuAzd2WwiBEAzTcPL47ACrjSuiNmnnGGufYSn\",\"weight\":1}],\"accounts\":[],\"waits\":[]},\"linked_actions\":[{\"account\":\"eosio\",\"action\":\"unregprod\"}]},{\"perm_name\":\"oracle\",\"parent\":\"active\",\"required_auth\":{\"threshold\":1,\"keys\":[{\"key\":\"EOS88VqmDmJJ9S23eNqdeWYf2zySxv3ckQrWBKy7EvVRCUuhSU4f3\",\"weight\":1}],\"accounts\":[],\"waits\":[]},\"linked_actions\":[{\"account\":\"delphioracle\",\"action\":\"write\"}]},{\"perm_name\":\"owner\",\"parent\":\"\",\"required_auth\":{\"threshold\":1,\"keys\":[{\"key\":\"EOS8QzGtCea2thiqcTVeXGdyRZpdKYptQznbcWSMj73FD5RgwKN82\",\"weight\":1}],\"accounts\":[],\"waits\":[]},\"linked_actions\":[]},{\"perm_name\":\"producerjson\",\"parent\":\"active\",\"required_auth\":{\"threshold\":1,\"keys\":[{\"key\":\"EOS5JCEciUdfXnQmTyj85T98bXTAZZ1g7Nmajseu7ZWB8DrDa6Etp\",\"weight\":1}],\"accounts\":[],\"waits\":[]},\"linked_actions\":[{\"account\":\"producerjson\",\"action\":\"set\"}]},{\"perm_name\":\"transfer\",\"parent\":\"active\",\"required_auth\":{\"threshold\":1,\"keys\":[{\"key\":\"EOS7qZ8nnmn6KBnjQL4oukyZFWCj8DmC9nJE2nkAYAZbwgKhMu8cW\",\"weight\":1}],\"accounts\":[],\"waits\":[]},\"linked_actions\":[{\"account\":\"eosio.token\",\"action\":\"transfer\"}]},{\"perm_name\":\"vote\",\"parent\":\"active\",\"required_auth\":{\"threshold\":1,\"keys\":[{\"key\":\"EOS65NrHPVXaV4voxepQREmYCmnMJm4tAWdxPaK46CbUN1rrVmRzg\",\"weight\":1}],\"accounts\":[],\"waits\":[]},\"linked_actions\":[{\"account\":\"eosio\",\"action\":\"voteproducer\"}]},{\"perm_name\":\"voting\",\"parent\":\"active\",\"required_auth\":{\"threshold\":1,\"keys\":[{\"key\":\"EOS7pn6P5FftyNAKRfx9VcUzBFMvC4UitNbnoKbfxNe8SShELo2it\",\"weight\":1}],\"accounts\":[],\"waits\":[]},\"linked_actions\":[{\"account\":\"eosio.forum\",\"action\":\"vote\"},{\"account\":\"eosio.forum\",\"action\":\"unvote\"}]}],\"total_resources\":{\"owner\":\"teamgreymass\",\"net_weight\":\"449.7214 EOS\",\"cpu_weight\":\"1067415.7299 EOS\",\"ram_bytes\":66588},\"self_delegated_bandwidth\":null,\"refund_request\":null,\"voter_info\":{\"owner\":\"teamgreymass\",\"proxy\":\"greymassvote\",\"producers\":[],\"staked\":100202,\"last_vote_weight\":\"863265464502.93908691406250000\",\"proxied_vote_weight\":\"0.00000000000000000\",\"is_proxy\":0,\"flags1\":0,\"reserved2\":0,\"reserved3\":\"0.0000 EOS\"},\"rex_info\":null,\"subjective_cpu_bill_limit\":{\"used\":0,\"available\":0,\"max\":0,\"last_usage_update_time\":\"2000-01-01T00:00:00.000\",\"current_used\":0},\"eosio_any_linked_actions\":[]}" | ||
} |