Returns an Ethereum Interface instance for interacting with the wrapped Neon contract. Used for withdraw wNEON from the NeonEVM to Solana.
Interface
This function initializes an Interface using the wrapped Neon contract ABI, allowing interactions with the wrapped Neon token contract.
An Ethers.js Interface instance for the wrapped Neon contract.
const neonWrapperV2 = neonWrapper2Contract();neonWrapperV2.encodeFunctionData('withdraw', [parseUnits(amount.toString(), token.decimals)]); Copy
const neonWrapperV2 = neonWrapper2Contract();neonWrapperV2.encodeFunctionData('withdraw', [parseUnits(amount.toString(), token.decimals)]);
Returns an Ethereum
Interfaceinstance for interacting with the wrapped Neon contract. Used for withdraw wNEON from the NeonEVM to Solana.This function initializes an
Interfaceusing the wrapped Neon contract ABI, allowing interactions with the wrapped Neon token contract.