Skip to content

[Contract Verification] Vyper Verification #681

Discussion options

You must be logged in to vote

Here's an example of how the request looks:

'{"contractAddress":"0x570ecE11BAA365E2109498Ab3D0dd44D199F106C","sourceCode":{"contracts/CreateForwarder.vy":"# @version ^0.3.3\\n# vim: ft=python\\n\\ninterface Greeter:\\n    def setup(name: String[100]): nonpayable\\n\\nforwarder: public(address)\\n\\n@external\\ndef deploy(_masterCopy: address, _greeting: String[100]):\\n    self.forwarder = create_forwarder_to(_masterCopy)\\n    # Greeter.__init__ was not called, else this would fail\\n    Greeter(self.forwarder).setup(_greeting)\\n","contracts/Greeter.vy":"# @version ^0.3.3\\n# vim: ft=python\\n\\nowner: public(address)\\ngreeting: public(String[100])\\n\\n# __init__ is not called when de…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bxpana
Comment options

Answer selected by bxpana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contract-verification Questions for contract verification
2 participants