TxInfoStorePacking
Packs a TxInfo entity into a u128 value.
The packing is done as follows:
- The boolean
is_executedis stored as a single bit at the highest bit position (index 127). - The
submitted_blockvalue occupies 64 bits in the range 63..126.
Fully qualified path: openzeppelin_governance::multisig::storage_utils::TxInfoStorePacking
pub impl TxInfoStorePacking of StorePacking<TxInfo, u128>;
Impl functions
pack
Fully qualified path: openzeppelin_governance::multisig::storage_utils::TxInfoStorePacking::pack
fn pack(value: TxInfo) -> u128
unpack
Fully qualified path: openzeppelin_governance::multisig::storage_utils::TxInfoStorePacking::unpack
fn unpack(value: u128) -> TxInfo