stellar-plus
Version:
beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain
22 lines (21 loc) • 901 B
TypeScript
import { Spec } from '@stellar/stellar-sdk/contract';
import { ClassicAssetHandler } from '../../../stellar-plus/asset/classic';
import { ClassicAssetHandlerConstructorArgs } from '../../../stellar-plus/asset/classic/types';
import { SorobanTokenHandler } from '../../../stellar-plus/asset/soroban-token';
import { AssetType } from '../../../stellar-plus/asset/types';
import { Options } from '../../../stellar-plus/core/contract-engine/types';
import { NetworkConfig } from '../../../stellar-plus/types';
export type SACHandler = AssetType & {
classicHandler: ClassicAssetHandler;
sorobanTokenHandler: SorobanTokenHandler;
};
export type SACConstructorArgs = ClassicAssetHandlerConstructorArgs & {
networkConfig: NetworkConfig;
contractParameters?: {
spec?: Spec;
contractId?: string;
wasm?: Buffer;
wasmHash?: string;
};
options?: Options;
};