Optional
abi?: undefinedThe specific function selector from the contract to be included in the policy
Optional
rules?: Rule[]Array of rules for the policy
Optional
sudo?: booleanThe sudo policy is an action policy that will allow any action for the specified target and selector.
Optional
tokenLimits?: SpendingLimitPolicyData[]The spending limits policy can be used to ensure that only a certain amount of ERC-20 tokens can be spent. For native value spends, use the value limit policy
Optional
usageLimit?: bigintThe value limit policy can be used to enforce that only a certain amount of native value can be spent. For ERC-20 limits, use the spending limit policy.
Optional
validAfter?: numberTimestamp after which the policy becomes valid
Optional
validUntil?: numberThe timeframe policy can be used to restrict a session to only be able to be used within a certain timeframe
Optional
valueLimit?: bigintThe value limit policy can be used to enforce that only a certain amount of native value can be spent. For ERC-20 limits, use the spending limit policy
The address of the contract to be included in the policy