pub fn default_registry() -> Registry {
        let mut registry = BTreeMap::new();
        // add Move ground types to registry (address, signer)
        let address_layout = Box::new(Format::TupleArray {
            content: Box::new(Format::U8),
            size: AccountAddress::LENGTH,
        });
        registry.insert(
            ADDRESS.to_string(),
            ContainerFormat::NewTypeStruct(address_layout.clone()),
        );
        registry.insert(
            SIGNER.to_string(),
            ContainerFormat::NewTypeStruct(address_layout),
        );

        registry
    }
/// Return a registry containing layouts for all the Move ground types (e.g., address)
Return a registry containing layouts for all the Move ground types
Return a registry containing layouts for all the Move ground types
pub fn default_registry() -> Registry {
        let mut registry = BTreeMap::new();
        // add Move ground types to registry (address, signer)
        let address_layout = Box::new(Format::TupleArray {
            content: Box::new(Format::U8),
            size: AccountAddress::LENGTH,
        });
        registry.insert(
            ADDRESS.to_string(),
            ContainerFormat::NewTypeStruct(address_layout.clone()),
        );
        registry.insert(
            SIGNER.to_string(),
            ContainerFormat::NewTypeStruct(address_layout),
        );
        registry
    }
pub fn default_registry ( ) -> Registry { let mut registry = BTreeMap :: new ( ) ; // add Move ground types to registry (address, signer) let address_layout = Box :: new ( Format :: TupleArray { content : Box :: new ( Format :: U8 ) , size : AccountAddress :: LENGTH , } ) ; registry . insert ( ADDRESS . to_string ( ) , ContainerFormat :: NewTypeStruct ( address_layout . clone ( ) ) , ) ; registry . insert ( SIGNER . to_string ( ) , ContainerFormat :: NewTypeStruct ( address_layout ) , ) ; registry }
Return a registry containing layouts for all the Move ground types (e.g., address)
Return a registry containing layouts for all the Move ground types ( e . g . address )