MetadataMerkleizer class
Methods
-
blake3Hash(Uint8List input)
→ Uint8List
-
-
compactTypeRefs(dynamic primitive)
→ String
-
-
constructLookupTypeDef(Map<int, LookupValue> definitions, Map<int, int> accessibleTypes, int frameId)
→ List<LookupTypeDef>
-
-
decodeAndCollectKnownLeafs(Uint8List input, List<TypeRef> typeRefs)
→ List<int>
-
-
decodeArray(TypeDefArray def, Input input)
→ List
-
-
decodeComposite(TypeDefComposite def, Input input)
→ Map<String?, dynamic>
-
-
decodeExtrinsic(Uint8List extrinsic)
→ (int, bool, Uint8List)
-
-
decodePrimitive(Primitive primitive, Input input)
→ dynamic
-
-
decodeSequence(TypeDefSequence def, Input input)
→ List
-
-
decodeTuple(TypeDefTuple def, Input input)
→ List?
-
-
decodeTypeDef(TypeDef def, Input input)
→ dynamic
-
-
digest()
→ Uint8List
-
-
generateProof(List<int> knownIndexes)
→ Uint8List
-
-
getAccessibleTypes(Map<int, LookupValue> definitions)
→ Map<int, int>
-
-
getAncestorIdx(int from, int nLevels)
→ int
-
-
getBitSequenceBytes(String primitive)
→ int
-
-
getHashTree()
→ List<Uint8List>
-
-
getLevelFromIdx(int idx)
→ int
-
-
getLookup(Map<int, LookupValue> definitions, Map<int, int> accessibleTypes)
→ Lookup
-
-
getPrimitive(Map<int, LookupValue> definitions, int frameId)
→ dynamic
-
-
getProofData(List<int> knownLeavesIdxs)
→ dynamic
-
-
getProofForExtrinsic(Uint8List transaction, Uint8List? txAdditionalSigned)
→ Uint8List
-
-
getProofForExtrinsicParts(Uint8List callData, Uint8List includedInExtrinsic, Uint8List includedInSignedData)
→ Uint8List
-
-
getProofForExtrinsicPayload(Uint8List payload)
→ Uint8List
-
-
getTypeRef(Map<int, LookupValue> definitions, Map<int, int> accessibleTypes, int frameId)
→ TypeRef
-
-
innerDecodeAndCollect(Input input, TypeRef typeRef, Map<int, List<int>> idToLookups, Set<int> collected)
→ dynamic
-
-
jsShift(int value, int shift)
→ int
-
-
log2(int x)
→ double
-
-
mergeUint8(List<Uint8List> inputs)
→ Uint8List
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
skipTypeRef(TypeRef ref, Input input)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
versionDecoder(Input extrinsic)
→ dynamic
-