Skip to content

Passing DispatcherStorage as propery #9

@getsachmail

Description

@getsachmail

DispatcherStorage dispatcherStorage = DispatcherStorage(0x1111222233334444555566667777888899990000);

Can we use contract address as an property
address public Storage;
function setStorage(address storageAddress) public {
Storage = storageAddress;
}

DispatcherStorage dispatcherStorage = DispatcherStorage(Storage);

I tried to do this but it's not working, but in callback function we can use variables values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions