Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix interface and version #214

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
Loading