Skip to content

Implement Contract.self to return the current contract #518

@ghallak

Description

@ghallak

The issue arises while trying to pass the current contract as an argument to a function.

Current workaround is to use: Address.to_contract(Contract.address), but Contract.self should be implemented to avoid using this workaround.

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