👈How to roll out tokens
ERC20 tokens
async function rollout(
tokenId: number,
amount: BigNumberish,
receiverAddress: string
) {
const client = await getZkEvmClient()
const erc20Token = client.customERC20(tokenId)
const result = await erc20Token.withdraw(amount, receiverAddress)
const txHash = await result.getTransactionHash()
const receipt = await result.getReceipt()
}typeLast updated