UNPKG

@neo-one/simulation-react-template-esnext-esm

Version:

NEO•ONE React Template Simulation.

52 lines (48 loc) 1.74 kB
/* @hash 64c1b7b501b0396bfdd889959b5705bb */ // tslint:disable /* eslint-disable */ import { GetOptions, Hash256String, InvocationTransaction, InvokeReceipt, InvokeSendUnsafeTransactionOptions, ReadSmartContract, SmartContract, TransactionOptions, TransactionResult, } from '@neo-one/client-esnext-esm'; export type ContractEvent = never; export interface ContractSmartContract extends SmartContract<ContractReadSmartContract> { readonly deploy: { (options?: TransactionOptions): Promise< TransactionResult<InvokeReceipt<boolean, ContractEvent>, InvocationTransaction> >; readonly confirmed: { (options?: TransactionOptions & GetOptions): Promise< InvokeReceipt<boolean, ContractEvent> & { readonly transaction: InvocationTransaction } >; }; }; readonly myFirstMethod: { (options?: TransactionOptions): Promise< TransactionResult<InvokeReceipt<undefined, ContractEvent>, InvocationTransaction> >; readonly confirmed: { (options?: TransactionOptions & GetOptions): Promise< InvokeReceipt<undefined, ContractEvent> & { readonly transaction: InvocationTransaction } >; }; }; readonly refundAssets: { (transactionHash: Hash256String, options?: InvokeSendUnsafeTransactionOptions): Promise< TransactionResult<InvokeReceipt<boolean, ContractEvent>, InvocationTransaction> >; readonly confirmed: { (transactionHash: Hash256String, options?: InvokeSendUnsafeTransactionOptions & GetOptions): Promise< InvokeReceipt<boolean, ContractEvent> & { readonly transaction: InvocationTransaction } >; }; }; } export interface ContractReadSmartContract extends ReadSmartContract<ContractEvent> {}