pub fn encode_object_ref(
unmasked_object_id: ObjectID,
version: SequenceNumber,
epoch: EpochId,
balance: u64,
chain_identifier: ChainIdentifier,
) -> ObjectRefExpand description
Creates a fake ObjectRef representing an address balance, suitable for returning from JSON-RPC APIs to backward-compatible clients. The object_id is masked with the chain identifier to prevent cross-chain replay.