-
Notifications
You must be signed in to change notification settings - Fork 100
/
operationids.py
62 lines (61 loc) · 1.45 KB
/
operationids.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
op_names = [
'vote',
'comment',
'transfer',
'transfer_to_vesting',
'withdraw_vesting',
'limit_order_create',
'limit_order_cancel',
'feed_publish',
'convert',
'account_create',
'account_update',
'witness_update',
'account_witness_vote',
'account_witness_proxy',
'pow',
'custom',
'report_over_production',
'delete_comment',
'custom_json',
'comment_options',
'set_withdraw_vesting_route',
'limit_order_create2',
'challenge_authority',
'prove_authority',
'request_account_recovery',
'recover_account',
'change_recovery_account',
'escrow_transfer',
'escrow_dispute',
'escrow_release',
'pow2',
'escrow_approve',
'transfer_to_savings',
'transfer_from_savings',
'cancel_transfer_from_savings',
'custom_binary',
'decline_voting_rights',
'reset_account',
'set_reset_account',
'claim_reward_balance',
'delegate_vesting_shares',
'account_create_with_delegation',
'witness_set_properties',
'fill_convert_request',
'author_reward',
'curation_reward',
'comment_reward',
'liquidity_reward',
'interest',
'fill_vesting_withdraw',
'fill_order',
'shutdown_witness',
'fill_transfer_from_savings',
'hardfork',
'comment_payout_update',
'return_vesting_delegation',
'comment_benefactor_reward',
]
#: assign operation ids
operations = dict(zip(op_names, range(len(op_names))))