-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
The peepeth scheme does this:
Controller controller = Controller(_avatar.owner());
// Sends a call to the Peepeth contract to create an account.
// The call will be made from the avatar address such that when received by the Peepeth contract, the msg.sender value will be the avatar's address
controller.genericCall(
peepethContract,
abi.encodeWithSelector(PeepethInterface(peepethContract).createAccount.selector, _name, _ipfsHash),
_avatar,
0
);
I tried the same in my own dao but it reverts. I can do a normal myContract.call with the same encoding. What part of the implementation gives it the permissions to call. Is it inheriting UniversalScheme?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels