Context
The Universal wallet uses the MetaMask Delegation Framework for handling wallet delegations, authorizations and intents. The framework includes 20+ enforcer smart contract modules for dictating transaction execution capabilities.
Right now the Universal dashboard only uses the ERC20TransferAmountEnforcer.sol on the authorizations page to enable wallet-to-wallet spending permissions.
We want to add the ability to include BlockNumberEnforcer.sol and TimestampEnforcer.sol enforcers in the delegations, so users can add timing conditionals to spending limits.
Scope
- Update the
apps/wallet authorization form to include a "conditionals" field with timestamp options.
- Update the
apps/popup app to support these new conditionals in the signTypedData render view.
- Update the
apps/api-universal app to exclude delegations with invalid/expired timestamps.
The feature is dependent on the Multi-Enforcer Support Upgrade completition.
Context
The Universal wallet uses the MetaMask Delegation Framework for handling wallet delegations, authorizations and intents. The framework includes 20+ enforcer smart contract modules for dictating transaction execution capabilities.
Right now the Universal dashboard only uses the ERC20TransferAmountEnforcer.sol on the authorizations page to enable wallet-to-wallet spending permissions.
We want to add the ability to include BlockNumberEnforcer.sol and TimestampEnforcer.sol enforcers in the delegations, so users can add timing conditionals to spending limits.
Scope
apps/walletauthorization form to include a "conditionals" field with timestamp options.apps/popupapp to support these new conditionals in the signTypedData render view.apps/api-universalapp to exclude delegations with invalid/expired timestamps.The feature is dependent on the Multi-Enforcer Support Upgrade completition.