createMultisigStorageKey static method
Make Multisig Storage Key
Implementation
static Uint8List createMultisigStorageKey(
Uint8List multiSigAddressBytes, Uint8List callHashReceiver) {
final multisigModuleHash = Hasher.twoxx128.hashString('Multisig');
final multisigStorageHash = Hasher.twoxx128.hashString('Multisigs');
final multisigAddressHash = Hasher.twoxx64.hash(multiSigAddressBytes);
final multisigCallHash = Hasher.blake2b128.hash(callHashReceiver);
final multisigStorageKey = multisigModuleHash +
multisigStorageHash +
multisigAddressHash +
multiSigAddressBytes +
multisigCallHash +
callHashReceiver;
return Uint8List.fromList(multisigStorageKey);
}