无法将address []参数从python传递到solidity

我具有这样的功能

function convertEthToTokenUniswap(uint tokenAmount,address[] memory path,uint deadline) public payable {
//can be empty still throws no matching argument types error
}

,并且我试图在python中调用它,但现在不介绍如何传递address []参数。像这样(在python中),编译器将变量作为列表传递时中断了:

path = [ethaddresses.ethToken,ethaddresses.makerToken]

错误

ValidationError: 
Could not identify the intended function with name `convertEthToTokenUniswap`,positional argument(s) of type `(<class 'int'>,<class 'list'>,<class 'float'>)` and keyword argument(s) of type `{}`.
Found 1 function(s) with the name `convertEthToTokenUniswap`: ['convertEthToTokenUniswap(uint256,address[],uint256)']
Function invocation Failed due to no matching argument types.

我的问题:

  1. 可以通过这种论点吗?
  2. 如果可能的话,怎么办?

谢谢。

相关文章

功能概要:(目前已实现功能)公共展示部分:1.网站首页展示...
大体上把Python中的数据类型分为如下几类: Number(数字) ...
开发之前第一步,就是构造整个的项目结构。这就好比作一幅画...
源码编译方式安装Apache首先下载Apache源码压缩包,地址为ht...
前面说完了此项目的创建及数据模型设计的过程。如果未看过,...
python中常用的写爬虫的库有urllib2、requests,对于大多数比...