UNPKG

@transia/xrpl

Version:

A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser

25 lines 914 B
import { Function, InstanceParameter, InstanceParameterValue } from '../common'; import { BaseTransaction, GlobalFlagsInterface } from './common'; export declare enum ContractFlags { tfImmutable = 65536, tfCodeImmutable = 131072, tfABIImmutable = 262144, tfUndeletable = 524288 } export interface ContractFlagsInterface extends GlobalFlagsInterface { tfImmutable?: boolean; tfCodeImmutable?: boolean; tfABIImmutable?: boolean; tfUndeletable?: boolean; } export interface ContractCreate extends BaseTransaction { TransactionType: 'ContractCreate'; ContractCode?: string; ContractHash?: string; Functions?: Function[]; InstanceParameters?: InstanceParameter[]; InstanceParameterValues?: InstanceParameterValue[]; URI?: string; } export declare function validateContractCreate(tx: Record<string, unknown>): void; //# sourceMappingURL=contractCreate.d.ts.map