Skip to content

Added IOwnable interface to support integrations#1312

Open
web3devLuBdF wants to merge 1 commit into
aave:mainfrom
web3devLuBdF:Added-IOwnable-interface-for-integrations
Open

Added IOwnable interface to support integrations#1312
web3devLuBdF wants to merge 1 commit into
aave:mainfrom
web3devLuBdF:Added-IOwnable-interface-for-integrations

Conversation

@web3devLuBdF

@web3devLuBdF web3devLuBdF commented Jun 17, 2026

Copy link
Copy Markdown

closes #1283

An IOwnable.sol file has been added as an interface for the owner function, to facilitate integration with those who need to verify the owner.
The interface is inherited from ITreasureSpoke, and the owner() function in TreasurySpoke overrides both the one defined in the IOwnable interface and that of the OwnableUpgradeable module, but calls the module's secure logic to make the interface safe to use and allow the function's effects to be extended to TreasurySpoke and contracts inherited from it.
I preferred to include only the owner() function in IOwnable.sol and not the other functions of the OwnableUpgradeable module because they are important for executable logic and not read-only. However, if different needs arise, I am open to making changes.
The IOwnable.sol file is also designed for all integrations if necessary, not just for TreasurySpoke contract.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ITreasurySpoke does not inherit IOwnable

1 participant