@ckb-lumos/base
Advanced tools
Comparing version 0.0.0-canary-bb37e4b-20240115044532 to 0.0.0-canary-c37d5b8-20240429081316
@@ -1,5 +0,4 @@ | ||
import { AnyCodec, BytesLike, PackParam, UnpackResult } from "@ckb-lumos/codec"; | ||
import { AnyCodec, BytesLike, PackParam, UnpackResult, number, molecule } from "@ckb-lumos/codec"; | ||
import { BytesCodec, FixedBytesCodec } from "@ckb-lumos/codec/lib/base"; | ||
import type * as api from "./api"; | ||
import { BIish } from "@ckb-lumos/bi"; | ||
type TransactionCodecType = PackParam<typeof BaseTransaction>; | ||
@@ -21,7 +20,7 @@ type TransactionUnpackResultType = UnpackResult<typeof BaseTransaction>; | ||
export declare const Bytes: BytesCodec<string, BytesLike>; | ||
export declare const BytesOpt: import("@ckb-lumos/codec/lib/molecule/layout").OptionCodec<BytesCodec<string, BytesLike>>; | ||
export declare const BytesVec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<BytesCodec<string, BytesLike>>; | ||
export declare const BytesOptVec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").OptionCodec<BytesCodec<string, BytesLike>>>; | ||
export declare const BytesOpt: molecule.OptionLayoutCodec<BytesCodec<string, BytesLike>>; | ||
export declare const BytesVec: molecule.ArrayLayoutCodec<BytesCodec<string, BytesLike>>; | ||
export declare const BytesOptVec: molecule.ArrayLayoutCodec<molecule.OptionLayoutCodec<BytesCodec<string, BytesLike>>>; | ||
export declare const Byte32: FixedBytesCodec<string, BytesLike>; | ||
export declare const Byte32Vec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<FixedBytesCodec<string, BytesLike>>; | ||
export declare const Byte32Vec: molecule.ArrayLayoutCodec<FixedBytesCodec<string, BytesLike>>; | ||
export declare function WitnessArgsOf<LockCodec extends AnyCodec, InputTypeCodec extends AnyCodec, OutputTypeCodec extends AnyCodec>(payload: { | ||
@@ -73,3 +72,3 @@ lock: LockCodec; | ||
export declare const DepType: FixedBytesCodec<api.DepType, api.DepType>; | ||
export declare const Script: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const Script: molecule.ObjectLayoutCodec<{ | ||
codeHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -79,3 +78,3 @@ hashType: FixedBytesCodec<api.HashType, api.HashType>; | ||
}>; | ||
export declare const ScriptOpt: import("@ckb-lumos/codec/lib/molecule/layout").OptionCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const ScriptOpt: molecule.OptionLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
codeHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -85,23 +84,23 @@ hashType: FixedBytesCodec<api.HashType, api.HashType>; | ||
}>>; | ||
export declare const OutPoint: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const OutPoint: molecule.ObjectLayoutCodec<{ | ||
txHash: FixedBytesCodec<string, BytesLike>; | ||
index: FixedBytesCodec<string, BIish>; | ||
index: FixedBytesCodec<string, number.BIish>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
export declare const CellInput: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
since: FixedBytesCodec<string, BIish>; | ||
previousOutput: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const CellInput: molecule.ObjectLayoutCodec<{ | ||
since: FixedBytesCodec<string, number.BIish>; | ||
previousOutput: molecule.ObjectLayoutCodec<{ | ||
txHash: FixedBytesCodec<string, BytesLike>; | ||
index: FixedBytesCodec<string, BIish>; | ||
index: FixedBytesCodec<string, number.BIish>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
export declare const CellInputVec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
since: FixedBytesCodec<string, BIish>; | ||
previousOutput: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const CellInputVec: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
since: FixedBytesCodec<string, number.BIish>; | ||
previousOutput: molecule.ObjectLayoutCodec<{ | ||
txHash: FixedBytesCodec<string, BytesLike>; | ||
index: FixedBytesCodec<string, BIish>; | ||
index: FixedBytesCodec<string, number.BIish>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed>; | ||
export declare const CellOutput: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
capacity: FixedBytesCodec<string, BIish>; | ||
lock: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const CellOutput: molecule.ObjectLayoutCodec<{ | ||
capacity: FixedBytesCodec<string, number.BIish>; | ||
lock: molecule.ObjectLayoutCodec<{ | ||
codeHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -111,3 +110,3 @@ hashType: FixedBytesCodec<api.HashType, api.HashType>; | ||
}>; | ||
type: import("@ckb-lumos/codec/lib/molecule/layout").OptionCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
type: molecule.OptionLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
codeHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -118,5 +117,5 @@ hashType: FixedBytesCodec<api.HashType, api.HashType>; | ||
}>; | ||
export declare const CellOutputVec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
capacity: FixedBytesCodec<string, BIish>; | ||
lock: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const CellOutputVec: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
capacity: FixedBytesCodec<string, number.BIish>; | ||
lock: molecule.ObjectLayoutCodec<{ | ||
codeHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -126,3 +125,3 @@ hashType: FixedBytesCodec<api.HashType, api.HashType>; | ||
}>; | ||
type: import("@ckb-lumos/codec/lib/molecule/layout").OptionCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
type: molecule.OptionLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
codeHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -133,36 +132,36 @@ hashType: FixedBytesCodec<api.HashType, api.HashType>; | ||
}>>; | ||
export declare const CellDep: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
outPoint: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const CellDep: molecule.ObjectLayoutCodec<{ | ||
outPoint: molecule.ObjectLayoutCodec<{ | ||
txHash: FixedBytesCodec<string, BytesLike>; | ||
index: FixedBytesCodec<string, BIish>; | ||
index: FixedBytesCodec<string, number.BIish>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
depType: FixedBytesCodec<api.DepType, api.DepType>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
export declare const CellDepVec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
outPoint: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const CellDepVec: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
outPoint: molecule.ObjectLayoutCodec<{ | ||
txHash: FixedBytesCodec<string, BytesLike>; | ||
index: FixedBytesCodec<string, BIish>; | ||
index: FixedBytesCodec<string, number.BIish>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
depType: FixedBytesCodec<api.DepType, api.DepType>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed>; | ||
export declare const RawTransaction: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
version: FixedBytesCodec<string, BIish>; | ||
cellDeps: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
outPoint: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const RawTransaction: molecule.ObjectLayoutCodec<{ | ||
version: FixedBytesCodec<string, number.BIish>; | ||
cellDeps: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
outPoint: molecule.ObjectLayoutCodec<{ | ||
txHash: FixedBytesCodec<string, BytesLike>; | ||
index: FixedBytesCodec<string, BIish>; | ||
index: FixedBytesCodec<string, number.BIish>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
depType: FixedBytesCodec<api.DepType, api.DepType>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed>; | ||
headerDeps: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<FixedBytesCodec<string, BytesLike>>; | ||
inputs: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
since: FixedBytesCodec<string, BIish>; | ||
previousOutput: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
headerDeps: molecule.ArrayLayoutCodec<FixedBytesCodec<string, BytesLike>>; | ||
inputs: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
since: FixedBytesCodec<string, number.BIish>; | ||
previousOutput: molecule.ObjectLayoutCodec<{ | ||
txHash: FixedBytesCodec<string, BytesLike>; | ||
index: FixedBytesCodec<string, BIish>; | ||
index: FixedBytesCodec<string, number.BIish>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed>; | ||
outputs: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
capacity: FixedBytesCodec<string, BIish>; | ||
lock: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
outputs: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
capacity: FixedBytesCodec<string, number.BIish>; | ||
lock: molecule.ObjectLayoutCodec<{ | ||
codeHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -172,3 +171,3 @@ hashType: FixedBytesCodec<api.HashType, api.HashType>; | ||
}>; | ||
type: import("@ckb-lumos/codec/lib/molecule/layout").OptionCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
type: molecule.OptionLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
codeHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -179,25 +178,25 @@ hashType: FixedBytesCodec<api.HashType, api.HashType>; | ||
}>>; | ||
outputsData: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<BytesCodec<string, BytesLike>>; | ||
outputsData: molecule.ArrayLayoutCodec<BytesCodec<string, BytesLike>>; | ||
}>; | ||
declare const BaseTransaction: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
raw: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
version: FixedBytesCodec<string, BIish>; | ||
cellDeps: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
outPoint: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
declare const BaseTransaction: molecule.ObjectLayoutCodec<{ | ||
raw: molecule.ObjectLayoutCodec<{ | ||
version: FixedBytesCodec<string, number.BIish>; | ||
cellDeps: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
outPoint: molecule.ObjectLayoutCodec<{ | ||
txHash: FixedBytesCodec<string, BytesLike>; | ||
index: FixedBytesCodec<string, BIish>; | ||
index: FixedBytesCodec<string, number.BIish>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
depType: FixedBytesCodec<api.DepType, api.DepType>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed>; | ||
headerDeps: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<FixedBytesCodec<string, BytesLike>>; | ||
inputs: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
since: FixedBytesCodec<string, BIish>; | ||
previousOutput: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
headerDeps: molecule.ArrayLayoutCodec<FixedBytesCodec<string, BytesLike>>; | ||
inputs: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
since: FixedBytesCodec<string, number.BIish>; | ||
previousOutput: molecule.ObjectLayoutCodec<{ | ||
txHash: FixedBytesCodec<string, BytesLike>; | ||
index: FixedBytesCodec<string, BIish>; | ||
index: FixedBytesCodec<string, number.BIish>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed>; | ||
outputs: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
capacity: FixedBytesCodec<string, BIish>; | ||
lock: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
outputs: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
capacity: FixedBytesCodec<string, number.BIish>; | ||
lock: molecule.ObjectLayoutCodec<{ | ||
codeHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -207,3 +206,3 @@ hashType: FixedBytesCodec<api.HashType, api.HashType>; | ||
}>; | ||
type: import("@ckb-lumos/codec/lib/molecule/layout").OptionCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
type: molecule.OptionLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
codeHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -214,5 +213,5 @@ hashType: FixedBytesCodec<api.HashType, api.HashType>; | ||
}>>; | ||
outputsData: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<BytesCodec<string, BytesLike>>; | ||
outputsData: molecule.ArrayLayoutCodec<BytesCodec<string, BytesLike>>; | ||
}>; | ||
witnesses: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<BytesCodec<string, BytesLike>>; | ||
witnesses: molecule.ArrayLayoutCodec<BytesCodec<string, BytesLike>>; | ||
}>; | ||
@@ -388,3 +387,3 @@ export declare const Transaction: BytesCodec<Partial<Pick<{ | ||
}, api.Transaction>; | ||
export declare const TransactionVec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<BytesCodec<Partial<Pick<{ | ||
export declare const TransactionVec: molecule.ArrayLayoutCodec<BytesCodec<Partial<Pick<{ | ||
version: string; | ||
@@ -558,8 +557,8 @@ cellDeps: (Partial<Pick<{ | ||
}, api.Transaction>>; | ||
export declare const RawHeader: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
version: FixedBytesCodec<string, BIish>; | ||
compactTarget: FixedBytesCodec<string, BIish>; | ||
timestamp: FixedBytesCodec<string, BIish>; | ||
number: FixedBytesCodec<string, BIish>; | ||
epoch: FixedBytesCodec<string, BIish>; | ||
export declare const RawHeader: molecule.ObjectLayoutCodec<{ | ||
version: FixedBytesCodec<string, number.BIish>; | ||
compactTarget: FixedBytesCodec<string, number.BIish>; | ||
timestamp: FixedBytesCodec<string, number.BIish>; | ||
number: FixedBytesCodec<string, number.BIish>; | ||
epoch: FixedBytesCodec<string, number.BIish>; | ||
parentHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -571,9 +570,9 @@ transactionsRoot: FixedBytesCodec<string, BytesLike>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
export declare const BaseHeader: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
raw: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
version: FixedBytesCodec<string, BIish>; | ||
compactTarget: FixedBytesCodec<string, BIish>; | ||
timestamp: FixedBytesCodec<string, BIish>; | ||
number: FixedBytesCodec<string, BIish>; | ||
epoch: FixedBytesCodec<string, BIish>; | ||
export declare const BaseHeader: molecule.ObjectLayoutCodec<{ | ||
raw: molecule.ObjectLayoutCodec<{ | ||
version: FixedBytesCodec<string, number.BIish>; | ||
compactTarget: FixedBytesCodec<string, number.BIish>; | ||
timestamp: FixedBytesCodec<string, number.BIish>; | ||
number: FixedBytesCodec<string, number.BIish>; | ||
epoch: FixedBytesCodec<string, number.BIish>; | ||
parentHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -585,3 +584,3 @@ transactionsRoot: FixedBytesCodec<string, BytesLike>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
nonce: FixedBytesCodec<string, BIish>; | ||
nonce: FixedBytesCodec<string, number.BIish>; | ||
}> & import("@ckb-lumos/codec/lib/base").Fixed; | ||
@@ -615,4 +614,4 @@ export declare const Header: BytesCodec<Partial<Pick<{ | ||
export declare const ProposalShortId: FixedBytesCodec<string, BytesLike>; | ||
export declare const ProposalShortIdVec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<FixedBytesCodec<string, BytesLike>>; | ||
export declare const UncleBlock: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const ProposalShortIdVec: molecule.ArrayLayoutCodec<FixedBytesCodec<string, BytesLike>>; | ||
export declare const UncleBlock: molecule.ObjectLayoutCodec<{ | ||
header: BytesCodec<Partial<Pick<{ | ||
@@ -644,5 +643,5 @@ version: string; | ||
}, api.Header>; | ||
proposals: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<FixedBytesCodec<string, BytesLike>>; | ||
proposals: molecule.ArrayLayoutCodec<FixedBytesCodec<string, BytesLike>>; | ||
}>; | ||
export declare const UncleBlockVec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const UncleBlockVec: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
header: BytesCodec<Partial<Pick<{ | ||
@@ -674,5 +673,5 @@ version: string; | ||
}, api.Header>; | ||
proposals: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<FixedBytesCodec<string, BytesLike>>; | ||
proposals: molecule.ArrayLayoutCodec<FixedBytesCodec<string, BytesLike>>; | ||
}>>; | ||
export declare const Block: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const Block: molecule.ObjectLayoutCodec<{ | ||
header: BytesCodec<Partial<Pick<{ | ||
@@ -704,3 +703,3 @@ version: string; | ||
}, api.Header>; | ||
uncles: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
uncles: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
header: BytesCodec<Partial<Pick<{ | ||
@@ -732,5 +731,5 @@ version: string; | ||
}, api.Header>; | ||
proposals: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<FixedBytesCodec<string, BytesLike>>; | ||
proposals: molecule.ArrayLayoutCodec<FixedBytesCodec<string, BytesLike>>; | ||
}>>; | ||
transactions: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<BytesCodec<Partial<Pick<{ | ||
transactions: molecule.ArrayLayoutCodec<BytesCodec<Partial<Pick<{ | ||
version: string; | ||
@@ -904,5 +903,5 @@ cellDeps: (Partial<Pick<{ | ||
}, api.Transaction>>; | ||
proposals: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<FixedBytesCodec<string, BytesLike>>; | ||
proposals: molecule.ArrayLayoutCodec<FixedBytesCodec<string, BytesLike>>; | ||
}>; | ||
export declare const BlockV1: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const BlockV1: molecule.ObjectLayoutCodec<{ | ||
header: BytesCodec<Partial<Pick<{ | ||
@@ -934,3 +933,3 @@ version: string; | ||
}, api.Header>; | ||
uncles: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
uncles: molecule.ArrayLayoutCodec<molecule.ObjectLayoutCodec<{ | ||
header: BytesCodec<Partial<Pick<{ | ||
@@ -962,5 +961,5 @@ version: string; | ||
}, api.Header>; | ||
proposals: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<FixedBytesCodec<string, BytesLike>>; | ||
proposals: molecule.ArrayLayoutCodec<FixedBytesCodec<string, BytesLike>>; | ||
}>>; | ||
transactions: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<BytesCodec<Partial<Pick<{ | ||
transactions: molecule.ArrayLayoutCodec<BytesCodec<Partial<Pick<{ | ||
version: string; | ||
@@ -1134,7 +1133,7 @@ cellDeps: (Partial<Pick<{ | ||
}, api.Transaction>>; | ||
proposals: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<FixedBytesCodec<string, BytesLike>>; | ||
proposals: molecule.ArrayLayoutCodec<FixedBytesCodec<string, BytesLike>>; | ||
extension: BytesCodec<string, BytesLike>; | ||
}>; | ||
export declare const CellbaseWitness: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
lock: import("@ckb-lumos/codec/lib/molecule/layout").ObjectCodec<{ | ||
export declare const CellbaseWitness: molecule.ObjectLayoutCodec<{ | ||
lock: molecule.ObjectLayoutCodec<{ | ||
codeHash: FixedBytesCodec<string, BytesLike>; | ||
@@ -1141,0 +1140,0 @@ hashType: FixedBytesCodec<api.HashType, api.HashType>; |
{ | ||
"name": "@ckb-lumos/base", | ||
"version": "0.0.0-canary-bb37e4b-20240115044532", | ||
"version": "0.0.0-canary-c37d5b8-20240429081316", | ||
"description": "Base data structures and utilities used in lumos", | ||
@@ -38,5 +38,5 @@ "author": "Xuejie Xiao <xxuejie@gmail.com>", | ||
"dependencies": { | ||
"@ckb-lumos/bi": "0.0.0-canary-bb37e4b-20240115044532", | ||
"@ckb-lumos/codec": "0.0.0-canary-bb37e4b-20240115044532", | ||
"@ckb-lumos/toolkit": "0.0.0-canary-bb37e4b-20240115044532", | ||
"@ckb-lumos/bi": "0.0.0-canary-c37d5b8-20240429081316", | ||
"@ckb-lumos/codec": "0.0.0-canary-c37d5b8-20240429081316", | ||
"@ckb-lumos/toolkit": "0.0.0-canary-c37d5b8-20240429081316", | ||
"@types/blake2b": "^2.1.0", | ||
@@ -43,0 +43,0 @@ "@types/lodash.isequal": "^4.5.5", |
Sorry, the diff of this file is not supported yet
228485
3095
+ Added@ckb-lumos/bi@0.0.0-canary-c37d5b8-20240429081316(transitive)
+ Added@ckb-lumos/codec@0.0.0-canary-c37d5b8-20240429081316(transitive)
+ Added@ckb-lumos/toolkit@0.0.0-canary-c37d5b8-20240429081316(transitive)
- Removed@ckb-lumos/bi@0.0.0-canary-bb37e4b-20240115044532(transitive)
- Removed@ckb-lumos/codec@0.0.0-canary-bb37e4b-20240115044532(transitive)
- Removed@ckb-lumos/toolkit@0.0.0-canary-bb37e4b-20240115044532(transitive)
Updated@ckb-lumos/toolkit@0.0.0-canary-c37d5b8-20240429081316