@nervosnetwork/ckb-sdk-utils
Version:
Utils module of @nervosnetwork/ckb-sdk-core
13 lines (12 loc) • 733 B
TypeScript
/// <reference types="@nervosnetwork/ckb-types" />
interface SystemScript extends Omit<CKBComponents.Script, 'args'> {
depType: CKBComponents.DepType;
}
declare type OutPoints = Record<'mainnetOutPoint' | 'testnetOutPoint', CKBComponents.OutPoint>;
export declare const SECP256K1_BLAKE160: SystemScript & OutPoints;
export declare const SECP256K1_MULTISIG: SystemScript & OutPoints;
export declare const ANYONE_CAN_PAY_MAINNET: SystemScript & Pick<OutPoints, 'mainnetOutPoint'>;
export declare const ANYONE_CAN_PAY_TESTNET: SystemScript & Pick<OutPoints, 'testnetOutPoint'>;
export declare const NERVOS_DAO: SystemScript & OutPoints;
export declare const SIMPLE_UDT: SystemScript & Pick<OutPoints, 'testnetOutPoint'>;
export {};