File tree Expand file tree Collapse file tree
src/lib/components/summary Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import mvfrsavings from './mvfrsavings.svelte';
1111import ramtransfer from './ramtransfer.svelte' ;
1212import sellram from './sellram.svelte' ;
1313import sellrex from './sellrex.svelte' ;
14+ import setpriv from './setpriv.svelte' ;
1415import swaptrace from './swaptrace.svelte' ;
1516import withdraw from './withdraw.svelte' ;
1617
@@ -28,6 +29,7 @@ export default {
2829 ramtransfer,
2930 sellram,
3031 sellrex,
32+ setpriv,
3133 swaptrace,
3234 withdraw
3335} ;
Original file line number Diff line number Diff line change 1+ <script lang =" ts" >
2+ import { Name } from ' @wharfkit/antelope' ;
3+
4+ import * as SystemContract from ' $lib/wharf/contracts/system' ;
5+ import type { ActionSummaryProps } from ' $lib/types/transaction' ;
6+ import AccountElement from ' $lib/components/elements/account.svelte' ;
7+ import Chip from ' $lib/components/chip.svelte' ;
8+ import Row from ' ../components/row.svelte' ;
9+
10+ interface Props extends Omit <ActionSummaryProps , ' data' > {
11+ data: SystemContract .Types .setpriv ;
12+ }
13+
14+ const { data }: Props = $props ();
15+ </script >
16+
17+ <Row >
18+ <Chip >Privileged</Chip >
19+ <AccountElement name ={Name .from (data .account )} /> = {data .is_priv ? ' true' : ' false' }
20+ </Row >
Original file line number Diff line number Diff line change @@ -9,11 +9,13 @@ import eosio from '$lib/components/summary/eosio';
99import rex from '$lib/components/summary/eosio.rex' ;
1010import token from '$lib/components/summary/eosio.token' ;
1111import greymassnoop from '$lib/components/summary/greymassnoop' ;
12+ import delphioracle from '$lib/components/summary/delphioracle' ;
1213
1314// eslint-disable-next-line @typescript-eslint/no-explicit-any
1415export const summaries : Record < string , any > = {
1516 'core.vaulta' : eosio ,
16- eosio : eosio ,
17+ delphioracle,
18+ eosio,
1719 'eosio.rex' : rex ,
1820 'eosio.token' : token ,
1921 greymassnoop
You can’t perform that action at this time.
0 commit comments