@transia/xrpl
Version:
A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser
24 lines • 781 B
TypeScript
import { BaseLedgerEntry, HasPreviousTxnID } from './BaseLedgerEntry';
import { Function, InstanceParameter } from '../common';
export default interface ContractSource extends BaseLedgerEntry, HasPreviousTxnID {
LedgerEntryType: 'ContractSource';
ContractHash: string;
ContractCode: string;
Functions: Function[];
InstanceParameters?: InstanceParameter[];
ReferenceCount: number;
Flags: number;
}
export interface ContractFlagsInterface {
lsfImmutable?: boolean;
tfCodeImmutable?: boolean;
tfABIImmutable?: boolean;
tfUndeletable?: boolean;
}
export declare enum ContractFlags {
lsfImmutable = 65536,
tfCodeImmutable = 131072,
tfABIImmutable = 262144,
tfUndeletable = 524288
}
//# sourceMappingURL=ContractSource.d.ts.map