import { HexString } from '@gear-js/api'; import { Calls } from '../../common'; import { Call } from '../../processor'; export interface AUploadCode { code: HexString; } export type CUploadCode = Omit & { args: AUploadCode }; export const isUploadCode = (obj: any): obj is CUploadCode => obj.name === Calls.UploadCode;