-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce operational treasury and admin role for pools (#72)
* feat: introduce the external treasury for liquidity pools * test: cover the new functions and events by tests * feat: reintroduce the admin role for liquidity pools Now the following functions can only be called by an account with the admin role: * depositFromExternalTreasury; * withdrawToExternalTreasury. * test: cover the reintroduction of the admin role by tests * docs: improve comments for new entities * feat: update contracts version 1.12.0 => 1.13.0 * test: centralize expected contracts version to check * feat: rename externalTreasury => operationalTreasury
- Loading branch information
1 parent
a75a81f
commit cabb92e
Showing
9 changed files
with
432 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export interface Version { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
|
||
[key: string]: number; // Indexing signature to ensure that fields are iterated over in a key-value style | ||
} | ||
|
||
export const EXPECTED_VERSION: Version = { | ||
major: 1, | ||
minor: 13, | ||
patch: 0 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.