• Creates a valid ModuleMetadata.

    Parameters

    • input: ModuleOptions

      Use your IDE suggestions for an enhanced development experience

    Returns ModuleMetadata

    Example

    const metadata = module({
    name: 'My Open Action',
    title: 'This is my Open Action',
    description: 'Get ready for the future of social interaction!',
    authors: ['awesome-dev@lens.xyz'],
    initializeCalldataABI: JSON.stringify([
    {
    type: 'address',
    name: 'address',
    },
    {
    type: 'uint256',
    name: 'price',
    },
    ]),
    processCalldataABI: JSON.stringify([
    {
    type: 'address',
    name: 'collector',
    },
    ]),
    });