vault: reordering

This commit is contained in:
Mark Spanbroek 2025-02-04 15:06:10 +01:00
parent 8f6190b371
commit 95b9ca6fc6

View File

@ -34,6 +34,13 @@ abstract contract VaultBase {
_token = token;
}
function _getLock(
Controller controller,
Fund fund
) internal view returns (Lock memory) {
return _locks[controller][fund];
}
function _getAccount(
Controller controller,
Fund fund,
@ -55,13 +62,6 @@ abstract contract VaultBase {
return account;
}
function _getLock(
Controller controller,
Fund fund
) internal view returns (Lock memory) {
return _locks[controller][fund];
}
function _lock(
Controller controller,
Fund fund,