Skip to main content

ContractAddressDescriptor

@midnight-ntwrk/compact-runtime v0.9.0


@midnight-ntwrk/compact-runtime / ContractAddressDescriptor

Variable: ContractAddressDescriptor

const ContractAddressDescriptor: {
alignment: Alignment;
fromValue: {
bytes: Uint8Array;
};
toValue: Value;
};

Type declaration

alignment()

alignment(): Alignment;

Returns

Alignment

fromValue()

fromValue(value): {
bytes: Uint8Array;
};

Parameters

value

Value

Returns

{
bytes: Uint8Array;
}
bytes
bytes: Uint8Array;

toValue()

toValue(value): Value;

Parameters

value
bytes

Uint8Array

Returns

Value