Skip to content

Commit

Permalink
update libUsdOracle (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brean0 authored Sep 14, 2024
2 parents 5dffa3f + 4b29e87 commit 72fa75e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ contract ReseedWhitelist {
s.sys.usdTokenPrice[token] = 1;
s.sys.twaReserves[token].reserve0 = 1;
s.sys.twaReserves[token].reserve1 = 1;
// LP tokens will require an Oracle Implmentation for the non Bean Asset.
s.sys.oracleImplementation[nonBeanToken] = oracle[i];
}
// add asset settings for the underlying lp token
s.sys.silo.assetSettings[token] = assets[i];

// add whitelist status
s.sys.silo.whitelistStatuses.push(whitelistStatus[i]);
// the Oracle should return the price for the non-bean asset in USD
s.sys.oracleImplementation[nonBeanToken] = oracle[i];
}
}
}
6 changes: 3 additions & 3 deletions protocol/reseed/data/r9-whitelist.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"0xBEA0005B8599265D41256905A9B3073D397812E4",
[
"0x5a049a47",
"0",
"1",
"10000",
"0",
"0",
Expand Down Expand Up @@ -61,7 +61,7 @@
"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
[
"0xc84c7727",
"0",
"1",
"10000",
"0",
"0",
Expand All @@ -85,7 +85,7 @@
"0x5979D7b546E38E414F7E9822514be443A4800529",
[
"0xc84c7727",
"0",
"1",
"10000",
"0",
"0",
Expand Down

0 comments on commit 72fa75e

Please sign in to comment.