The registries keep track of the deployed pie so external integrations can easily fetch if a smart contract is a pie and if so if its a PieVault or Smart Pool.
On Ethereum mainnet
Tracks all pies.
0x412a5d5eC35fF185D6BfF32a367a985e1FB7c296
Tracks all PieVaults
0x63aafCF1F184A6A682f781c15A6436Ebd7D1C7ed
Tracks all Pie Smart Pools
0xE0CBd9db30E15B9ad885D39AecaE138616807753
The registry contract inherits from the OpenZeppelin Ownable
contracts. Which allow an owner
to be set and functions which can only be called by the owner
Add a pie to the registry
function addSmartPool(address _smartPool) external;
Remove a smart pool by index
function removeSmartPool(uint256 _index) external;
Remove a smart pool by address
function removeSmartPoolByAddress(address _address) external;
Fetch if a pie is in the registry
function inRegistry(address _pool) external view returns(bool);
Fetch a pie at a specific index
function entries(uint256 _index) external view returns(address);