File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11import { APIClient } from '@wharfkit/antelope'
22import { Chains , Session } from '@wharfkit/session'
33import { WalletPluginPrivateKey } from '@wharfkit/wallet-plugin-privatekey'
4+ import * as SystemContract from '$lib/contracts/eosio'
45import { NODEOS_API_URL , PROPOSER_PERMISSION , PROPOSER_PRIVATE_KEY } from './constants'
56import { WalletPluginMultiSig } from './plugins/multisig'
67
78export const client = new APIClient ( { url : NODEOS_API_URL } )
9+ export const systemContract = new SystemContract . Contract ( { client } )
810
911export const walletPlugin = new WalletPluginPrivateKey ( PROPOSER_PRIVATE_KEY )
1012
Original file line number Diff line number Diff line change 11import type { Action } from '@wharfkit/antelope'
22import { NETWORK_AUTHORITY } from '$lib/constants'
3- import * as SystemContract from '$lib/contracts/eosio'
43import { logProposalLink } from '$lib/utils'
5- import { client , makeSession } from '$lib/wharf'
6-
7- const systemContract = new SystemContract . Contract ( { client } )
4+ import { makeSession , systemContract } from '$lib/wharf'
85
96const actions : Action [ ] = [
107 // 1 Update admin.grants permissions
You can’t perform that action at this time.
0 commit comments