How to get the address of erc-20 token contract from token instance

后端 未结 0 792
轮回少年
轮回少年 2021-02-13 21:23

i create instance of IERC20 public token in some contract.

How can i get the same address of token contract from the instance? token.this? token.address?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题