UNPKG

superfuse-wizard

Version:

Interactive smart contract generator based on Superchain 's interoperability standard.

19 lines (13 loc) 809 B
import type { Writable } from 'svelte/store'; import { writable } from 'svelte/store'; export type Action = 'copy-contract-L2NativeSuperchainERC20'| 'copy-deploy-L2NativeSuperchainERC20' | 'copy-test-L2NativeSuperchainERC20' | 'download-contract-L2NativeSuperchainERC20' | 'download-deploy-L2NativeSuperchainERC20' | 'download-test-L2NativeSuperchainERC20' | 'copy-contract-ERC20Votes'| 'copy-deploy-ERC20Votes' | 'copy-test-ERC20Votes' | 'download-contract-ERC20Votes' | 'download-deploy-ERC20Votes' | 'download-test-ERC20Votes' export type GaEvent = { id: string; data: any; event: Action; type: string; }; let initialAnalytics: GaEvent[] = []; export const analyticsStore : Writable<GaEvent[]> = writable(initialAnalytics);