Skip to content

Conversation

@Jo-Chris
Copy link
Member

@Jo-Chris Jo-Chris commented Jun 17, 2024

Made some changes to get a running example

  • Needs elaboration on two values, marked
  • Short Doc Explainer for complete project

'UFragmentsPolicy',
deployer,
'initialize(address,address,uint256)',
[owner, ampl.address, INITIAL_CPI.toString()],
Copy link
Member

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?

Copy link
Member Author

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 |
Copy link
Member

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?

Copy link
Member

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

Copy link
Member Author

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

Copy link
Member

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!

Copy link
Member

@wsdt wsdt left a 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
Copy link
Member

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.

Copy link
Member Author

@Jo-Chris Jo-Chris Jun 17, 2024

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hence, the comment

@Jo-Chris
Copy link
Member Author

---- would keep it open to see the changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants