public Task <TransactionReceipt> DepositERC20RequestAndWaitForReceiptAsync(string l1Token, string l2Token, BigInteger amount, uint l2Gas, byte[] data, CancellationTokenSource cancellationToken = null) { var depositERC20Function = new DepositERC20Function(); depositERC20Function.L1Token = l1Token; depositERC20Function.L2Token = l2Token; depositERC20Function.Amount = amount; depositERC20Function.L2Gas = l2Gas; depositERC20Function.Data = data; return(ContractHandler.SendRequestAndWaitForReceiptAsync(depositERC20Function, cancellationToken)); }
public Task <string> DepositERC20RequestAsync(string l1Token, string l2Token, BigInteger amount, uint l2Gas, byte[] data) { var depositERC20Function = new DepositERC20Function(); depositERC20Function.L1Token = l1Token; depositERC20Function.L2Token = l2Token; depositERC20Function.Amount = amount; depositERC20Function.L2Gas = l2Gas; depositERC20Function.Data = data; return(ContractHandler.SendRequestAsync(depositERC20Function)); }
public Task <TransactionReceipt> DepositERC20RequestAndWaitForReceiptAsync(DepositERC20Function depositERC20Function, CancellationTokenSource cancellationToken = null) { return(ContractHandler.SendRequestAndWaitForReceiptAsync(depositERC20Function, cancellationToken)); }
public Task <string> DepositERC20RequestAsync(DepositERC20Function depositERC20Function) { return(ContractHandler.SendRequestAsync(depositERC20Function)); }