Skip to content

Add "source" to "ContractType" object #85

@fubuloubu

Description

@fubuloubu

I believe "source":"./contracts/AbstractToken.sol" should be a mandatory sub-key of a "ContractType" object underneath the "contract_types" object. This way I can do a 1-to-1 match of the contract to the file that created it (and also find it's source on IPFS through the "sources" key).

I personally like that "contract_types" does NOT use the full file name e.g. "/path/to/Contract.sol:Contract". The contract's name in the package namespace should not be allowed to be duplicated (solidity does this), and this enforces that by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions