Open charles-cooper opened 4 months ago
vyper --version
exports: interface does not work for interfaces which were declared inline. example:
exports: interface
# lib.vy from ethereum.ercs import IERC20 asset: public(immutable(IERC20)) interface IAsset: def asset() -> address: view implements: IAsset @deploy def __init__(asset_: IERC20): asset = asset_
# main.vy from ethereum.ercs import IERC20 import lib initializes: lib exports: lib.IAsset @deploy def __init__(asset_: IERC20): lib.__init__(asset_)
mildly related: https://github.com/vyperlang/vyper/issues/3954
Version Information
vyper --version
): e1adb7b3344c1ac03facfa553830a94dd7def2e2What's your issue about?
exports: interface
does not work for interfaces which were declared inline. example: