vuex-bitshares
Version:
Vue way to build DAP's on bitshares net
691 lines (689 loc) • 17.4 kB
JavaScript
export default {
get_full_accounts: {
'1.2.383374': [
[
'1.2.383374',
{
account: {
id: '1.2.383374',
membership_expiration_date: '1970-01-01T00:00:00',
registrar: '1.2.96393',
referrer: '1.2.96393',
lifetime_referrer: '1.2.96393',
network_fee_percentage: 2000,
lifetime_referrer_fee_percentage: 3000,
referrer_rewards_percentage: 0,
name: 'anlopan364test2',
owner: {
weight_threshold: 1,
account_auths: [],
key_auths: [
[
'BTS5AmuQyyhyzNyR5N3L6MoJUKiqZFgw7xTRnQr5XP5sLKbptCABX',
1
]
],
address_auths: []
},
active: {
weight_threshold: 1,
account_auths: [],
key_auths: [
[
'BTS5cRRWnDY5v1oLjAqUGqYTpyW8hU9DRu4Ewv2mvgoueNs68RmBG',
1
]
],
address_auths: []
},
options: {
memo_key: 'BTS5cRRWnDY5v1oLjAqUGqYTpyW8hU9DRu4Ewv2mvgoueNs68RmBG',
voting_account: '1.2.5',
num_witness: 0,
num_committee: 0,
votes: [],
extensions: []
},
statistics: '2.6.383374',
whitelisting_accounts: [],
blacklisting_accounts: [],
whitelisted_accounts: [],
blacklisted_accounts: [],
owner_special_authority: [
0,
{}
],
active_special_authority: [
0,
{}
],
top_n_control_flags: 0
},
statistics: {
id: '2.6.383374',
owner: '1.2.383374',
most_recent_op: '2.9.126828861',
total_ops: 422,
removed_ops: 0,
total_core_in_orders: 0,
lifetime_fees_paid: 326219,
pending_fees: 0,
pending_vested_fees: 0
},
registrar_name: 'openledger',
referrer_name: 'openledger',
lifetime_referrer_name: 'openledger',
votes: [],
balances: [
{
id: '2.5.131373',
owner: '1.2.383374',
asset_type: '1.3.0',
balance: 752353
},
{
id: '2.5.142864',
owner: '1.2.383374',
asset_type: '1.3.113',
balance: 0
},
{
id: '2.5.125430',
owner: '1.2.383374',
asset_type: '1.3.121',
balance: 0
},
{
id: '2.5.125441',
owner: '1.2.383374',
asset_type: '1.3.850',
balance: 0
},
{
id: '2.5.193873',
owner: '1.2.383374',
asset_type: '1.3.858',
balance: 0
},
{
id: '2.5.193809',
owner: '1.2.383374',
asset_type: '1.3.859',
balance: 0
},
{
id: '2.5.120415',
owner: '1.2.383374',
asset_type: '1.3.861',
balance: 0
},
{
id: '2.5.188058',
owner: '1.2.383374',
asset_type: '1.3.973',
balance: 0
},
{
id: '2.5.143847',
owner: '1.2.383374',
asset_type: '1.3.1893',
balance: 1092550
},
{
id: '2.5.188009',
owner: '1.2.383374',
asset_type: '1.3.1999',
balance: 0
}
],
vesting_balances: [],
limit_orders: [],
call_orders: [],
settle_orders: [],
proposals: [],
assets: [],
withdraws: []
}
]
],
hobb1t: [
[
'1.2.512210',
{
account: {
id: '1.2.512210',
membership_expiration_date: '1970-01-01T00:00:00',
registrar: '1.2.96393',
referrer: '1.2.416265',
lifetime_referrer: '1.2.416265',
network_fee_percentage: 2000,
lifetime_referrer_fee_percentage: 3000,
referrer_rewards_percentage: 10000,
name: 'hobb1t',
owner: {
weight_threshold: 1,
account_auths: [],
key_auths: [
[
'BTS8EmL19sxJErJUnsqp86QhHyrRDqAbWQCr1SkrkAj9iKFEDDbeK',
1
]
],
address_auths: []
},
active: {
weight_threshold: 1,
account_auths: [],
key_auths: [
[
'BTS7jdBe1Yz9S6wc9VhD41M9PJ1JmP6EdbvBdcy6z8XGVbEr1WoCD',
1
]
],
address_auths: []
},
options: {
memo_key: 'BTS7jdBe1Yz9S6wc9VhD41M9PJ1JmP6EdbvBdcy6z8XGVbEr1WoCD',
voting_account: '1.2.96393',
num_witness: 0,
num_committee: 0,
votes: [],
extensions: []
},
statistics: '2.6.512210',
whitelisting_accounts: [],
blacklisting_accounts: [],
whitelisted_accounts: [],
blacklisted_accounts: [],
owner_special_authority: [
0,
{}
],
active_special_authority: [
0,
{}
],
top_n_control_flags: 0
},
statistics: {
id: '2.6.512210',
owner: '1.2.512210',
most_recent_op: '2.9.137791816',
total_ops: 244,
removed_ops: 0,
total_core_in_orders: 0,
lifetime_fees_paid: 91101,
pending_fees: 0,
pending_vested_fees: 0
},
registrar_name: 'openledger',
referrer_name: 'trfnd',
lifetime_referrer_name: 'trfnd',
votes: [],
balances: [
{
id: '2.5.255580',
owner: '1.2.512210',
asset_type: '1.3.0',
balance: 2864266
},
{
id: '2.5.255584',
owner: '1.2.512210',
asset_type: '1.3.113',
balance: 0
},
{
id: '2.5.255585',
owner: '1.2.512210',
asset_type: '1.3.121',
balance: 0
},
{
id: '2.5.255586',
owner: '1.2.512210',
asset_type: '1.3.850',
balance: 0
},
{
id: '2.5.255587',
owner: '1.2.512210',
asset_type: '1.3.858',
balance: 0
},
{
id: '2.5.255588',
owner: '1.2.512210',
asset_type: '1.3.861',
balance: 0
},
{
id: '2.5.255589',
owner: '1.2.512210',
asset_type: '1.3.973',
balance: 0
},
{
id: '2.5.255590',
owner: '1.2.512210',
asset_type: '1.3.1042',
balance: 0
},
{
id: '2.5.255591',
owner: '1.2.512210',
asset_type: '1.3.1093',
balance: 0
},
{
id: '2.5.255594',
owner: '1.2.512210',
asset_type: '1.3.1362',
balance: 0
},
{
id: '2.5.794810',
owner: '1.2.512210',
asset_type: '1.3.1893',
balance: 264000
},
{
id: '2.5.255593',
owner: '1.2.512210',
asset_type: '1.3.1999',
balance: 0
}
],
vesting_balances: [],
limit_orders: [],
call_orders: [],
settle_orders: [],
proposals: [],
assets: [],
withdraws: []
}
]
]
},
get_key_references: {
BTS5AmuQyyhyzNyR5N3L6MoJUKiqZFgw7xTRnQr5XP5sLKbptCABX: [
[
'1.2.383374'
]
],
not_registered: {
code: 1,
// eslint-disable-next-line max-len
message: 'Assert Exception: fc::ripemd160::hash( key_data.data, key_data.size() )._hash[0] == bin_key.check: ',
data: {
code: 10,
name: 'assert_exception',
message: 'Assert Exception',
stack: [[Object], [Object]]
}
}
},
get_objects: {
'2.1.0': [
{
id: '2.1.0',
head_block_number: 24574572,
head_block_id: '0176fa6c67d3b046157d140f588371abfaab0e34',
time: '2018-02-20T00:07:39',
current_witness: '1.6.64',
next_maintenance_time: '2018-02-20T01:00:00',
last_budget_time: '2018-02-20T00:00:00',
witness_budget: 105100000,
accounts_registered_this_interval: 7,
recently_missed_count: 0,
current_aslot: 24719427,
recent_slots_filled: '340282366920938463463374607431768211455',
dynamic_flags: 0,
last_irreversible_block_num: 24574557
}
],
'2.0.0': [
{
id: '2.0.0',
parameters: {
current_fees: {
parameters: [
[
0,
{
fee: 1662,
price_per_kbyte: 923
}
],
[
1,
{
fee: 92
}
],
[
2,
{
fee: 9
}
],
[
3,
{
fee: 92
}
],
[
4,
{}
],
[
5,
{
basic_fee: 9233,
premium_fee: 461677,
price_per_kbyte: 646
}
],
[
6,
{
fee: 92,
price_per_kbyte: 646
}
],
[
7,
{
fee: 9233
}
],
[
8,
{
membership_annual_fee: '100000000000000',
membership_lifetime_fee: 11080263
}
],
[
9,
{
fee: 461677
}
],
[
10,
{
symbol3: 738684244,
symbol4: 184671061,
long_symbol: 4616776,
price_per_kbyte: 923
}
],
[
11,
{
fee: 184671,
price_per_kbyte: 646
}
],
[
12,
{
fee: 461677
}
],
[
13,
{
fee: 461677
}
],
[
14,
{
fee: 1662,
price_per_kbyte: 923
}
],
[
15,
{
fee: 92
}
],
[
16,
{
fee: 46167
}
],
[
17,
{
fee: 4616
}
],
[
18,
{
fee: 461677
}
],
[
19,
{
fee: 9
}
],
[
20,
{
fee: 4616776
}
],
[
21,
{
fee: 923
}
],
[
22,
{
fee: 13850,
price_per_kbyte: 4616
}
],
[
23,
{
fee: 461,
price_per_kbyte: 646
}
],
[
24,
{
fee: 0
}
],
[
25,
{
fee: 13850
}
],
[
26,
{
fee: 923
}
],
[
27,
{
fee: 1329,
price_per_kbyte: 646
}
],
[
28,
{
fee: 0
}
],
[
29,
{
fee: 461677
}
],
[
30,
{
fee: 923355
}
],
[
31,
{
fee: 0
}
],
[
32,
{
fee: 92335
}
],
[
33,
{
fee: 184671
}
],
[
34,
{
fee: 4616776
}
],
[
35,
{
fee: 923,
price_per_kbyte: 4616
}
],
[
36,
{
fee: 46167
}
],
[
37,
{}
],
[
38,
{
fee: 92335,
price_per_kbyte: 646
}
],
[
39,
{
fee: 19390,
price_per_output: 6463
}
],
[
41,
{
fee: 19390
}
],
[
43,
{
fee: 92335
}
]
],
scale: 10000
},
block_interval: 3,
maintenance_interval: 3600,
maintenance_skip_slots: 3,
committee_proposal_review_period: 3600,
maximum_transaction_size: 98304,
maximum_block_size: 2000000,
maximum_time_until_expiration: 86400,
maximum_proposal_lifetime: 2419200,
maximum_asset_whitelist_authorities: 10,
maximum_asset_feed_publishers: 25,
maximum_witness_count: 1001,
maximum_committee_count: 1001,
maximum_authority_membership: 10,
reserve_percent_of_fee: 2000,
network_percent_of_fee: 2000,
lifetime_referrer_percent_of_fee: 3000,
cashback_vesting_period_seconds: 7776000,
cashback_vesting_threshold: 10000000,
count_non_member_votes: true,
allow_non_member_whitelists: false,
witness_pay_per_block: 100000,
worker_budget_per_day: '50000000000',
max_predicate_opcode: 1,
fee_liquidation_threshold: 10000000,
accounts_per_fee_scale: 1000,
account_fee_scale_bitshifts: 0,
max_authority_depth: 2,
extensions: []
},
next_available_vote_id: 325,
active_committee_members: [
'1.5.25',
'1.5.15',
'1.5.16',
'1.5.33',
'1.5.23',
'1.5.20',
'1.5.27',
'1.5.30',
'1.5.13',
'1.5.28',
'1.5.17'
],
active_witnesses: [
'1.6.16',
'1.6.17',
'1.6.20',
'1.6.22',
'1.6.28',
'1.6.34',
'1.6.35',
'1.6.45',
'1.6.59',
'1.6.63',
'1.6.64',
'1.6.65',
'1.6.69',
'1.6.71',
'1.6.73',
'1.6.74',
'1.6.76',
'1.6.84',
'1.6.98'
]
}
]
},
get_required_fees: {
amount: 1744,
asset_id: '1.3.0'
}
};