Contract Architecture
BitcoinPodManager.sol
This contract is the entry point for the client for all actions related to BitcoinPod, aka BOD. This contract:
Deploys the BOD
Handles bitcoin deposit/withdrawal requests
Interacts with the service manager
Delegates to Apps
BitcoinPod.sol
This is a unique contract deployed everytime for a new bitcoin address created a BOD. This contract:
Maps a Bitcoin address to an Ethereum address
Tracks Bitcoin balances in the BOD
Delegates to apps via
BitcoinPodManager.sol
Manages bitcoin transaction storage
BitDSMRegistry.sol
Handles operator's registration/deregistration
Stores a mapping for operator's bitcoin pubkey
AppRegistry.sol
This is the entrypoint for Apps to gain access to in-kind Bitcoin. This contract
Maintains a mapping of the contract address for the app and the BODs delegated to it.
BitDSMServiceManager.sol
This is the AVS service manager contract deployed on Eigenlayer's AVSDirectory.sol
. This contract:
Manages Bitcoin pod operations through
IBitcoinPodManager
Handles deposit/withdrawal confirmations from operators
Integrates with EigenLayer for staking and delegation
Was this helpful?