← back to registry

erc20

built-in

ERC-20 token wrapping and transfer monitoring

source
arcana-capabilities feature "erc20"
requires
bank
install
arcana add erc20

Adds to your node

commanderc20
monitorERC-20 Transfer / wrapper events

Call from your keepers / tasks / programs

taskerc20.transfer(rpcUrl: string, chainId: number, token: string, to: string, amount: string)
taskerc20.mint(rpcUrl: string, chainId: number, token: string, to: string, amount: string)
taskerc20.wrap(rpcUrl: string, chainId: number, vault: string, token: string, source: string, recipient: string, amount: string)
taskerc20.unwrap()

Spawn it

(spawn "erc20.transfer" { ...args })

Runs after the transaction commits and auto-retries on failure. Handle the outcome with the task's on_success / on_failure callbacks (each names a follow-up handler); after retries a task terminates as failed.