-
Notifications
You must be signed in to change notification settings - Fork 0
feat: deployment fixes + readme instructions #1
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
base: master
Are you sure you want to change the base?
Conversation
| 'UFragmentsPolicy', | ||
| deployer, | ||
| 'initialize(address,address,uint256)', | ||
| [owner, ampl.address, INITIAL_CPI.toString()], |
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.
why don't we have the initial CPI?
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.
needs more investigation; initialize() function only provides two vals right now
| | UFragments deployed to | 0x0Df6D221DbB5cabAc86777E9FF6B455a1b2cFAD4 | | ||
| | Implementation | 0x86B1c1eD8E4161eAbE7c78D182ef16b9b49c9146 | | ||
| | Market oracle to | 0x15a98688AB4274C578d19874D5Cf3B2991d08A31 | | ||
| | CPI oracle to | 0x6b06Eb8f79457bC036d1a50e4bDcbeBD7AdD50c4 | |
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.
and these oracles are they also part of AMPL and to be forkable with the same license or how does this work?
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.
bc we need to use a custom data feed most likely then
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.
is everything within the same repository
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.
ok cool stuff, the better we understand the oracle part the better! Since that will be the part we will need to change!
wsdt
left a comment
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.
lfg
| RATE_REPORT_EXPIRATION_SEC, | ||
| RATE_REPORT_DELAY_SEC, | ||
| RATE_MIN_PROVIDERS, | ||
| 1 // TODO - NEEDS ELABORATION |
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.
where is this value coming from?
1 sounds for me like the base for CPI/inflation. Without having any further context.
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 just adding it to make it run, as current constructor is defined that way.
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.
Hence, the comment
|
---- would keep it open to see the changes |
Made some changes to get a running example