-
Notifications
You must be signed in to change notification settings - Fork 156
Public Contract interfaces #190
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
Conversation
aalavandhan
commented
Jan 19, 2021
•
edited
Loading
edited
- Checked in standard public interface definition for, AMPL token, Ampleforth monetary policy and Orchestrator.
2b71be8
to
df1bea3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we include the Orchestrator? That has the main rebase callsite
contracts/interfaces/IAMPL.sol
Outdated
function transferAllFrom(address from, address to) external returns (bool); | ||
|
||
// AMPL specific | ||
function rebase(uint256 epoch, int256 supplyDelta) external returns (uint256); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering whether we should include this since it's protected, but I think we should.
The Supply Policy would ideally import the interface to call this function from code.
The other protected functions are admin functions that would be called generically from the governance contract.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense 👍
We can have a seperate interface for governance accessible functions
2d87ef1
to
eb1e8fc
Compare
eb1e8fc
to
148f4a6
Compare
d922ce9
to
0f5e9a3
Compare
@brandoniles Added the orchestrator too |
0f5e9a3
to
6b59696
Compare
6b59696
to
8877396
Compare
8877396
to
92da327
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Curious to hear @thegostep 's take as well.