如何在Vyper中获取当前合同的地址。在solidity中使用address(this)。Vyper中的等价物是什么?
address myContractAddress;
myContractAddress = address(this);发布于 2019-09-19 12:25:49
它只是self,如下所示:
@public
def get_address() -> address:
return selfhttps://stackoverflow.com/questions/58003461
复制相似问题