• Returns an Ethereum Interface instance for interacting with the wrapped Neon contract. Used for withdraw wNEON from the NeonEVM to Solana.

    This function initializes an Interface using the wrapped Neon contract ABI, allowing interactions with the wrapped Neon token contract.

    Returns Interface

    An Ethers.js Interface instance for the wrapped Neon contract.

    const neonWrapperV2 = neonWrapper2Contract();
    neonWrapperV2.encodeFunctionData('withdraw', [parseUnits(amount.toString(), token.decimals)]);