import { ICurrency, IAmount, IXlib, ICurrencies, IChainConfig } from "@swtc/Wallet"; export { ICurrency, IAmount, IXlib, ICurrencies, IChainConfig }; export interface IMarker { ledger: string | number; seq: string | number; } export interface ISwtcTxOptions { memo?: string; secret?: string; sequence?: string | number; } export interface IPaymentTxOptions { amount: IAmount; source?: string; from?: string; account?: string; destination?: string; to?: string; memo?: string; secret?: string; invoice?: string; sequence?: string | number; } export interface IOfferCreateTxOptions { type: string; source?: string; from?: string; account?: string; gets?: IAmount; pays?: IAmount; taker_gets?: IAmount; taker_pays?: IAmount; platform?: any; memo?: string; secret?: string; sequence?: string | number; } export interface IOfferCancelTxOptions { sequence: number; source?: string; from?: string; account?: string; memo?: string; secret?: string; } export interface IContractInitTxOptions { amount: number; account: string; abi: any[]; payload: string; params?: string[]; memo?: string; secret?: string; sequence?: string | number; } export interface IContractInvokeTxOptions { amount: number; account: string; destination: string; abi: any[]; func: string; memo?: string; secret?: string; sequence?: string | number; } export interface IContractDeployTxOptions { amount: IAmount; account: string; payload: string; params?: string[]; memo?: string; secret?: string; sequence?: string | number; } export interface IContractCallTxOptions { amount: IAmount; account: string; destination: string; params?: string[]; func?: string; foo?: string; memo?: string; secret?: string; sequence?: string | number; } export interface ISignTxOptions { blob: string; } export interface IAccountSetTxOptions { type: "property" | "delegate" | "signer"; source?: string; from?: string; account?: string; set?: string | number; set_flag?: string | number; clear?: string | number; clear_flag?: string | number; delegate_key?: string; memo?: string; secret?: string; sequence?: string | number; } export interface IRelationTxOptions { type: "trust" | "authorize" | "freeze" | "unfreeze"; source?: string; from?: string; account?: string; target?: string; limit: IAmount; quality_out?: any; quality_in?: any; memo?: string; secret?: string; sequence?: string | number; } export interface ISignerListTxOptions { lists: any[]; account?: string; address?: string; threshold: string | number; } export interface ISignFirstTxOptions { tx: any; account?: string; address?: string; secret: string; } export interface ISignOtherTxOptions { tx_json: any; account?: string; address?: string; secret: string; } export interface IMultiSigningOptions { account?: string; address?: string; secret: string; } export interface IBrokerageTxOptions { account: string; address?: string; feeAccount: string; mol?: number; molecule?: number; den?: number; denominator?: number; amount: IAmount; memo?: string; secret?: string; sequence?: string | number; } export interface IIssueSetTxOptions { managerAccount: string; amount: IAmount; memo?: string; } export interface ISetBlackListTxOptions { managerAccount: string; blockAccount: string; memo?: string; } export interface IRemoveBlackListTxOptions { managerAccount: string; blockAccount: string; memo?: string; } export interface IManageIssuerTxOptions { managerAccount: string; issuerAccount: string; memo?: string; } export interface ITokenDelTxOptions { publisher: string; tokenId: string; } export interface ITransferTokenTxOptions { publisher: string; receiver: string; tokenId: string; memo?: string; } export interface IPublishTokenTxOptions extends ITransferTokenTxOptions { token: string; }