Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.41 KB

File metadata and controls

17 lines (13 loc) · 1.41 KB
description Learn how to use the delegation scopes.
keywords
delegation scope
delegation
restrict
authority

Use delegation scopes

When creating a delegation, you must configure a scope to define the delegation's initial authority and help prevent delegation misuse. You can further constrain this initial authority by adding caveats to a delegation.

The Smart Accounts Kit currently supports three categories of scopes:

Scope type Description
Spending limit scopes Restricts the spending of native, ERC-20, and ERC-721 tokens based on defined conditions.
Function call scope Restricts the delegation to specific contract methods, contract addresses, or calldata.
Ownership transfer scope Restricts the delegation to only allow ownership transfers, specifically the transferOwnership function for a specified contract.