Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有啥方法可以查询出合约对应得module类型? #79

Open
chaunsin opened this issue Jun 12, 2023 · 1 comment
Open

有啥方法可以查询出合约对应得module类型? #79

chaunsin opened this issue Jun 12, 2023 · 1 comment

Comments

@chaunsin
Copy link

在使用sdk有这样的场景,有人部署了一个native go得合约,或者我忘记了,现在我想调用这个合约,但是我不知道这个合约是什么类型,现在我用别得类型比如InvokeEVMContract() 方法去调用这个go合约就会出错,请问我如何能拿到合约module类型,如果没有可否考虑在QueryAddressContracts()方法或者QueryAccountContracts()方法中进行扩展?

image
@superlitian
Copy link
Contributor

现在还没有这样的方法,如果感兴趣你可以尝试实现一下,也可以等我们之后考虑扩展 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants