Skip to content

Commit d031703

Browse files
committed
Added producer/top21 as tags and added systemAccounts
1 parent e826a58 commit d031703

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

src/lib/state/meta.svelte.ts

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,32 @@ export const defaultTags: MetaTag[] = [
55
MetaTag.from({
66
id: 0,
77
tag: 'system',
8-
description: 'System contract'
8+
description: 'System Contract'
99
}),
1010
MetaTag.from({
11-
id: 0,
11+
id: 1,
1212
tag: 'network',
13-
description: 'System contract'
13+
description: 'Network Account'
1414
}),
1515
MetaTag.from({
1616
id: 2,
17+
tag: 'producer',
18+
description: 'Block Producere Account'
19+
}),
20+
MetaTag.from({
21+
id: 3,
22+
tag: 'top21',
23+
description: 'Elected Block Producer Account'
24+
}),
25+
MetaTag.from({
26+
id: 4,
1727
tag: 'exchange',
1828
description: 'Known exchange account'
1929
})
2030
];
2131

32+
const systemAccounts = ['admin.grants'];
33+
2234
const systemContracts = [
2335
'core.vaulta',
2436
'eosio',
@@ -42,7 +54,8 @@ const exchanges = ['coinbasebase', 'krakenkraken', 'okbtothemoon', 'maineosofbin
4254

4355
export const defaultTaggedAccounts: MetaTaggedAccount[] = [
4456
...systemContracts.map((a) => MetaTaggedAccount.from({ account: Name.from(a).value, tags: [0] })),
45-
...exchanges.map((a) => MetaTaggedAccount.from({ account: Name.from(a).value, tags: [2] }))
57+
...systemAccounts.map((a) => MetaTaggedAccount.from({ account: Name.from(a).value, tags: [1] })),
58+
...exchanges.map((a) => MetaTaggedAccount.from({ account: Name.from(a).value, tags: [4] }))
4659
];
4760

4861
export class MetaState {

0 commit comments

Comments
 (0)