👩‍💻
Unlockd Developers Docs
Unlockd for Devs V2
Unlockd for Devs V2
  • Introduction
  • ⚙️Core
    • Unlockd
    • BaseCore
    • BaseCoreModule
  • ⚙️Modules
    • Installer
    • Manager
    • Action
    • SellNow
    • BuyNow
    • Market
    • Auction
  • 🆕Vault and Tokens
    • UTokenVault
    • BaseToken
    • ScaledToken
    • WethGateway
  • 🆕Adapters and Strategies
    • ReservoirAdapter
    • MaxApyStrategy
  • 🆕Storage
    • CoreStorage
    • UVaultStorage
  • 📔Deployed Contracts
    • Ethereum Sepolia
    • Ethereum Mainnet
  • 📫Unlockd Account (Wallet)
    • Introduction
    • Architecture
    • DelegationWalletFactory
    • DelegationWalletRegistry
    • DelegationOwner
    • GuardOwner
    • ProtocolOwner
    • TransactionGuard
    • DelegationRecipes
    • AllowedControllers
    • Deployed Contracts
      • Ethereum Sepolia (Testnet)
  • 🧰SDK
    • Typescript Package
    • SDK Docs
  • 🤝DEVELOPERS HELP
    • Best Practices
    • Security and Risk Management
    • Github
    • Bug Bounty - ACTIVE
Powered by GitBook
On this page
  • Key Functions:
  • Parameters:
  • Parameters:
  • Interactions:
  1. Unlockd Account (Wallet)

GuardOwner

The GuardOwner contract is responsible for deploying and initializing the TransactionGuard contract. It sets up the TransactionGuard as the guard for the GnosisSafe contract and manages guard-related operations.

Key Functions:

function initialize(
    address _guardBeacon, 
    address _safe, 
    address _owner, 
    address _delegationOnwer, 
    address _protocolOwner
) public

Initializes the GuardOwner contract with the necessary parameters.

Parameters:

_guardBeacon (address): The address of the TransactionGuard beacon contract.

_safe (address): The address of the GnosisSafe contract.

_owner (address): The address of the wallet owner.

_delegationOnwer (address): The address of the DelegationOwner contract.

_protocolOwner (address): The address of the ProtocolOwner contract.


function _setupGuard(
    address _safe, 
    TransactionGuard _guard
) internal;

Internal function to set up the TransactionGuard as the guard for the GnosisSafe contract.

Parameters:

_safe (address): The address of the GnosisSafe contract.

_guard (TransactionGuard): The address of the TransactionGuard contract.


Interactions:

  • Deploys a new instance of the TransactionGuard contract using a beacon proxy.

  • Sets the TransactionGuard as the guard for the GnosisSafe contract.

PreviousDelegationOwnerNextProtocolOwner

Last updated 1 year ago

📫