You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
The peepeth scheme does this:
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?
The text was updated successfully, but these errors were encountered: