utils/dynamic_field
library
Functions
-
deriveDynamicFieldId({required String parentObjectId, required String keyTypeTag, required Uint8List keyBcs})
→ String
-
Deterministic UID of a dynamic field, for direct
getObject(uid).
BLAKE2b-256 of 0xf0 || parent (32) || keyLen (u64 LE) || keyBcs || typeTagBcs (order is wire-significant).
-
deriveObjectId({required String parentObjectId, required String typeTag, required Uint8List key})
→ String
-
Derive the ID of a
derived_object. key is BCS-encoded key bytes; typeTag is its Move type.