services/wallet/thirdparty/paraswap/request_build_transaction.go
Method ClientV5.BuildTransaction
has 12 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func (c *ClientV5) BuildTransaction(ctx context.Context, srcTokenAddress common.Address, srcTokenDecimals uint, srcAmountWei *big.Int,
destTokenAddress common.Address, destTokenDecimals uint, destAmountWei *big.Int, slippageBasisPoints uint,
addressFrom common.Address, addressTo common.Address, priceRoute json.RawMessage, side SwapSide) (Transaction, error) {