Obi Public Docs
  • FOR USERS
    • Quickstart: Using Obi
  • FOR BUILDERS
    • Obi: Cross-Chain Account and User Management
    • Dev Quickstart: Connecting Your App
    • Dev Quickstart: Building Multi-Chain Apps
    • πŸ”΅The Obi Smart Account Suite
      • πŸ”’Multikey
        • 🎣Preventing Phishing
        • πŸ“²SMS and Other Web2 Providers
        • πŸ’•Final Recovery
      • πŸ”Signet
        • Draft Signet Whitepaper
      • πŸ’•Extra Life
      • πŸ€–Automatons
      • ⏳Sessions
        • Threshold Escalation
      • πŸ§™β€β™‚οΈParty Members
        • Allowances: Hot Wallets, Budgets, and Subscriptions
        • Allow/Block/Delay Lists
      • 🧩Obi Stack Overview
      • β›½Gasless UX
      • πŸ”General Obi Features
      • πŸ“œSmart Account Design Philosophy
      • πŸ—οΈSmart Contract Architecture & Flow
    • πŸ›£οΈRoadmap: Upcoming Features
      • πŸ”§Duress Mode
      • πŸ“³Security Notifications and Lockdowns
      • βœ‹Global Transaction Limit (Sanity Limit)
      • 🌐Obi Service Providers
        • Incentivizing Service Providers
    • πŸ₯‡Obi's Unique Advantages
    • πŸ”’Multikey Attack & Loss Vectors
      • Passkey
      • Cloud Key
      • SMS Key
      • Telegram Key
      • WhatsApp Key
      • Social Recovery Key
      • Email Recovery Key
      • Ledger Hardware Key
      • Map Points Key
      • NFC Key
      • Major 2 Key Loss Vectors and Mitigations
      • Major 2 Key Attack Vectors and Mitigations
      • β€œUnlocked Obi Theft” Attack
  • Glossary
Powered by GitBook
On this page
  1. FOR BUILDERS
  2. The Obi Smart Account Suite
  3. Party Members

Allow/Block/Delay Lists

The message gatekeeper can inspect a message to see if it matches a current Authorization, Block, or Delay order. Contract address, message URL, WASM action name, and fields can all be filtered on.

Examples

  • Allow any action on a specified contract with a specified token_id (a single NFT).

  • Allow any trades on specified LP contracts as long as the max_slippage is under a set value.

  • Disallow the burn action on all contracts.

  • Delay any action with a specified token_id (a high-value NFT).

Creating an Allow Authorization using CLI/Code:

{ add_abstraction_rule: {
    new_rule: {
    	actor: "<ADDRESS>",
    	ty: "allow",
    	main_rule:
    	    [["allow", { allow: {
                "identifier": 0  // usually unspecified
		"actor": "<ADDRESS>"  // optional
	    	"contract": "<CONTRACT_ADDRESS">  // optional
      		"message_name": "MsgExecuteContract"  // optional
      		"wasmaction_name": "transfer"         // optional
      		"fields": [                           // optional
		    ["captain","picard"],
		    ["strategy","engage"]
		]    
	    }}]],
	sub_rules: [] // not yet supported for this main_rule type
    }
}}

PreviousAllowances: Hot Wallets, Budgets, and SubscriptionsNextObi Stack Overview

Last updated 1 year ago

πŸ”΅
πŸ§™β€β™‚οΈ