![](/style/images/good.png)
0
![](/style/images/bad.png)
solidity interface 与 modifier
source link: https://learnblockchain.cn/question/2925
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
solidity interface 与 modifier
被调用的合约
contract A {
modifer m(uint _pid){
//略
_;
}
//被调用函数
function f(address add, uint _pid) m(pid) external {
//略
}
}
现在想在另一个合约中通过接口实例化合约调用该方法,这个带函数修改器函数的interface该怎么写呢
interface IA{
function f(address, uint) ??? external;
}
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK