Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 653 Bytes

revoke.md

File metadata and controls

21 lines (18 loc) · 653 Bytes

Revoke Permissions

Users can revoke permissions at any time by calling SpendPermissionManager.revoke, which can also be batched via CoinbaseSmartWallet.executeBatch. Spenders can revoke their own spend permissions by calling SpendPermissionManager.revokeAsSpender

sequenceDiagram
    autonumber
    participant E as Entrypoint
    participant A as Account
    participant PM as Permission Manager

    Note over E: Validation phase
    E->>A: validateUserOp
    A-->>E: validation data
    Note over E: Execution phase
    E->>A: executeBatch
    loop
        A->>PM: revoke
        Note over A,PM: SpendPermission data
    end
Loading