Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Destination contract and source / from contract allow listing #19

@drinkcoffee

Description

@drinkcoffee

Function call approaches should have the ability to switch on an "allow" or "white" listing of contracts that can call the system or be called by the system. A possible approach would be:

Have a bool destContractAllowListingEnabled
and have a mapping(address => bool) destContractAllowed

By default when the contract is constructed destContractAllowListingEnabled is false. When one or more contracts are added to the allow list, destContractAllowListingEnabled would be set to true.

The ability to remove allowed contracts is required too.

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