approveEth()
Initiates transaction to approve contract spend tokens
Method Parameters
tokenBridgeAddress: string
Ethereum bridge contract address
tokenAddress: string
Ethereum token address
signer: ethers.Signer
ethers js Signer
amount: ethers.BigNumberish
Amount to approve for spend (ethers js BigNumberish)
Returns
Returns ethers js ethers.ContractReceipt
Usage
Last updated