Sudo policy

The sudo policy gives full permission to the signer. The signer will be able to send any UserOps.

const createSessionsResponse = await safe7559Account.grantPermission({
    sessionRequestedInfo: [
        {
            sessionPublicKey: sessionOwner.address,
        },
    ],
});

Last updated