- Preparing search index...
- The search index is not available
Lumos
omnilock: { CellCollector: CellCollectorConstructor; OmnilockWitnessLock: ObjectCodec<{ omni_identity: OptionCodec<ObjectCodec<{ identity: FixedBytesCodec<string, BytesLike>; proofs: ArrayCodec<ObjectCodec<{ mask: FixedBytesCodec<string, BytesLike>; proof: BytesCodec<string, BytesLike>; }>>; }>>; preimage: OptionCodec<BytesCodec<string, BytesLike>>; signature: OptionCodec<BytesCodec<string, BytesLike>>; }>; createOmnilockScript: ((omnilockInfo,
options?) => Script); prepareSigningEntries: ((txSkeleton,
options?) => TransactionSkeletonType); setupInputCell: ((txSkeleton,
inputCell,
_fromInfo?,
options?) => Promise<TransactionSkeletonType>); }
Type declaration
-
-
OmnilockWitnessLock: ObjectCodec<{
omni_identity: OptionCodec<ObjectCodec<{
identity: FixedBytesCodec<string, BytesLike>;
proofs: ArrayCodec<ObjectCodec<{
mask: FixedBytesCodec<string, BytesLike>;
proof: BytesCodec<string, BytesLike>;
}>>;
}>>;
preimage: OptionCodec<BytesCodec<string, BytesLike>>;
signature: OptionCodec<BytesCodec<string, BytesLike>>;
}>
-
createOmnilockScript: ((omnilockInfo, options?) => Script)
-
- (omnilockInfo, options?): Script
-
Parameters
-
omnilockInfo: OmnilockInfo
-
Optional
options: Options
-
prepareSigningEntries: ((txSkeleton, options?) => TransactionSkeletonType)
-
setupInputCell: ((txSkeleton, inputCell, _fromInfo?, options?) => Promise<TransactionSkeletonType>)
only support ETHEREUM and SECP256K1_BLAKE160 mode currently refer to: