Function getERC20BridgeCalldata
- getERC20BridgeCalldata(l1TokenAddress, l1Sender, l2Receiver, amount, bridgeData): Promise<string>
Parameters
- l1TokenAddress: string
- l1Sender: string
- l2Receiver: string
- amount: Numbers
- bridgeData: Bytes
Returns Promise<string>
Returns the calldata sent by an L1 ERC20 bridge to its L2 counterpart during token bridging.