Skip to content

Commit

Permalink
chore: fix interface and version (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlagonia authored Sep 24, 2024
1 parent 92716ed commit e5cf2af
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
[submodule "lib/tokenized-strategy"]
path = lib/tokenized-strategy
url = https://github.com/yearn/tokenized-strategy
branch = v3.0.3
2 changes: 1 addition & 1 deletion ape-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
ref: 4.9.5
- name: tokenized-strategy
github: yearn/tokenized-strategy
ref: v3.0.2
ref: v3.0.3
config_override:
contracts_folder: src

Expand Down
13 changes: 8 additions & 5 deletions contracts/interfaces/IVaultFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ interface IVaultFactory {
event UpdateCustomProtocolFee(address vault, uint16 newCustomProtocolFee);
event RemovedCustomProtocolFee(address vault);
event FactoryShutdown();
event NewPendingGovernance(address newPendingGovernance);
event UpdateGovernance(address newGovernance);
event UpdatePendingGovernance(address newPendingGovernance);
event GovernanceTransferred(
address previousGovernance,
address newGovernance
);

function shutdown() external view returns (bool);

function governance() external view returns (address);

function pending_governance() external view returns (address);
function pendingGovernance() external view returns (address);

function name() external view returns (string memory);

Expand Down Expand Up @@ -65,7 +68,7 @@ interface IVaultFactory {

function shutdown_factory() external;

function set_governance(address new_governance) external;
function transferGovernance(address new_governance) external;

function accept_governance() external;
function acceptGovernance() external;
}

0 comments on commit e5cf2af

Please sign in to comment.