-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add Uniswap V3 Price Feed #101
Commits on Mar 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ecb9fd1 - Browse repository at this point
Copy the full SHA ecb9fd1View commit details
Commits on Mar 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 65ee8ad - Browse repository at this point
Copy the full SHA 65ee8adView commit details -
feat(protocol): set UniswapV3Pool feed description dynamically in con…
…structor perf(protocol): add minor gas optimizations to UniswapV3Pool feat(protocol): add "IUniswapV3PriceFeed__RefAssetNotInPool" error in UniswapV3PriceFeed.sol refactor(protocol): add UniswapV3PriceFeed interface docs(protocol): add missing "@inheritdoc" tags in UniswapV3PriceFeed.sol refactor(protocol): rename "getNormalizedPriceInternal" function into "getPriceInternal"
Configuration menu - View commit details
-
Copy full SHA for e01b183 - Browse repository at this point
Copy the full SHA e01b183View commit details -
chore(protocol): add deployment script for UniswapV3PriceFeed
chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for f550472 - Browse repository at this point
Copy the full SHA f550472View commit details -
chore(protocol): add missing uniswapV3PriceFeed import in "packages/p…
…rotocol/tasks/deploy/index.ts"
Configuration menu - View commit details
-
Copy full SHA for 2ab3a07 - Browse repository at this point
Copy the full SHA 2ab3a07View commit details
Commits on Mar 14, 2023
-
fix(protocol): loss of precision issue in "getPriceInternal" function
chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for 70cec57 - Browse repository at this point
Copy the full SHA 70cec57View commit details
Commits on Mar 15, 2023
-
feat(protocol): handle math edge cases in "getPriceInternal"
perf(protocol): remove "basePrice" memory var from "getPriceInternal" function perf(protocol): use "1 << 192" instead of "2**192" for gas savings refactor(protocol): rename "normalizedPrice" to "price" in "getPriceInternal" function
Configuration menu - View commit details
-
Copy full SHA for 39c9ce1 - Browse repository at this point
Copy the full SHA 39c9ce1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24993e3 - Browse repository at this point
Copy the full SHA 24993e3View commit details -
perf(protocol): remove superfluous "mTwapInterval" memory var from "g…
…etPriceInternal" function
Configuration menu - View commit details
-
Copy full SHA for 895f652 - Browse repository at this point
Copy the full SHA 895f652View commit details
Commits on Mar 16, 2023
-
test(protocol): setup unit tests for UniswapV3PriceFeed
test(protocol): add UniswapV3PriceFeed deployer test(protocol): add UniswapV3PriceFeed fixture test(protocol): add UniswapV3Pool mock test(protocol): test "description" function in UniswapV3PriceFeed test(protocol): test "pool" function in UniswapV3PriceFeed test(protocol): test "refAsset" function in UniswapV3PriceFeed test(protocol): test "twapInterval" function in UniswapV3PriceFeed chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for fb5eeb4 - Browse repository at this point
Copy the full SHA fb5eeb4View commit details
Commits on Mar 17, 2023
-
test(protocol): test "getRoundData" function in UniswapV3PriceFeed
test(protocol): test "latestRoundData" function in UniswapV3PriceFeed
Configuration menu - View commit details
-
Copy full SHA for 9397f43 - Browse repository at this point
Copy the full SHA 9397f43View commit details -
test(protocol): test "decimals" function in UniswapV3PriceFeed
test(protocol): test "version" function in UniswapV3PriceFeed
Configuration menu - View commit details
-
Copy full SHA for 6ba8822 - Browse repository at this point
Copy the full SHA 6ba8822View commit details -
fix(protocol): handle missed edge case in "getPriceInternal" function
test(protocol): add more unit tests for "getRoundData" and "latestRoundData" functions chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for 0157f02 - Browse repository at this point
Copy the full SHA 0157f02View commit details
Commits on Mar 21, 2023
-
test(protocol): add GodModeUniswapV3PriceFeed test contract to modify…
… immutable vars test(protocol): update unit tests to integrate GodModeUniswapV3PriceFeed chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for 9a99929 - Browse repository at this point
Copy the full SHA 9a99929View commit details -
test(protocol): add "calculateTick" and "tickToTokenPrices" to mirror…
…s.ts build(protocol): add "@uniswap/v3-sdk" dev dep feat(constants): add Uniswap V3 constants test(protocol): update unit tests for "getRoundData" function to reflect added mirrors test(protocol): update unit tests for "latestRoundData" function to reflect added mirrors chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for 35aa406 - Browse repository at this point
Copy the full SHA 35aa406View commit details
Commits on Mar 22, 2023
-
refactor(protocol): re-implement "description" as a view function
perf(protocol): add token{0,1} as immutable variables refactor(protocol): switch token{0,1}Decimals to uint8 test(protocol): test both branches of "description" function in UniswapV3PriceFeed test(protocol): make UniswapV3PriceFeed unit tests more descriptive refactor(constants): rename "uniswap-v3.ts" to "oracles.ts" chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for e5ac32e - Browse repository at this point
Copy the full SHA e5ac32eView commit details -
chore(protocol): add custom compiler settings for UniswapV3PriceFeed.sol
chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for baf1a9f - Browse repository at this point
Copy the full SHA baf1a9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac2aa67 - Browse repository at this point
Copy the full SHA ac2aa67View commit details
Commits on Mar 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9a1f6f2 - Browse repository at this point
Copy the full SHA 9a1f6f2View commit details -
chore(protocol): update solidity version to 0.8.4 in IUniswapV3Pool.s…
…ol and related interfaces chore(protocol): disable solhint linter rules for "external" contract files
Configuration menu - View commit details
-
Copy full SHA for 98162ed - Browse repository at this point
Copy the full SHA 98162edView commit details
Commits on Apr 21, 2023
-
feat(protocol): validate TWAP criteria in UniswapV3PriceFeed constructor
feat(protocol): check provided pool address is not zero in UniswapV3PriceFeed constructor refactor(protocol): clean up IUniswapV3Pool
Configuration menu - View commit details
-
Copy full SHA for 9afe525 - Browse repository at this point
Copy the full SHA 9afe525View commit details -
Configuration menu - View commit details
-
Copy full SHA for 952add3 - Browse repository at this point
Copy the full SHA 952add3View commit details
Commits on Apr 26, 2023
-
test(protocol): fix "unitFixtureUniswapV3PriceFeed" test fixture
chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for 1cc8b55 - Browse repository at this point
Copy the full SHA 1cc8b55View commit details -
test(protocol): constructor in UniswapV3PriceFeed
feat(errors): add oracle errors feat(constants): add "CARDINALITY" constant
Configuration menu - View commit details
-
Copy full SHA for 68a7c04 - Browse repository at this point
Copy the full SHA 68a7c04View commit details
Commits on Apr 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c68636a - Browse repository at this point
Copy the full SHA c68636aView commit details -
feat(protocol): add "MINIMUM_CARDINALITY" constant in UniswapV3PriceFeed
chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for da7421e - Browse repository at this point
Copy the full SHA da7421eView commit details -
feat(protocol): add "baseAsset" state var to UniswapV3PriceFeed
test(protocol): add unit test for "baseAsset" chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for e391250 - Browse repository at this point
Copy the full SHA e391250View commit details
Commits on Apr 28, 2023
-
refactor(protocol): rename "refAsset" to "quoteAsset" in UniswapV3Pri…
…ceFeed chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for 80d6e1c - Browse repository at this point
Copy the full SHA 80d6e1cView commit details -
fix(protocol): bug in TWAP interval calculation in UniswapV3PriceFeed…
… constructor test(protocol): fix UniswapV3PriceFeed tests chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for 8bf1767 - Browse repository at this point
Copy the full SHA 8bf1767View commit details -
feat(protocol): remove redundant IUniswapV3PriceFeed__ZeroAddressPool…
… error test(protocol): update UniswapV3PriceFeed tests chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for 3148fad - Browse repository at this point
Copy the full SHA 3148fadView commit details -
docs(protocol): improve comments in UniswapV3PriceFeed
test(protocol): remove unused import
Configuration menu - View commit details
-
Copy full SHA for d3f88f9 - Browse repository at this point
Copy the full SHA d3f88f9View commit details
Commits on Oct 11, 2023
-
feat(protocol): calculate minimum cardinality instead of using const …
…value docs(protocol): add comments to UniswapV3PriceFeed constructor feat(constants): change default oracle params to 30-minute TWAP refactor(constants): rename "CARDINALITY" to "DEFAULT_CARDINALITY"
Configuration menu - View commit details
-
Copy full SHA for f0a7e0d - Browse repository at this point
Copy the full SHA f0a7e0dView commit details
Commits on Oct 12, 2023
-
feat(protocol): add a max price bound in UniswapV3PriceFeed
feat(errors): add MAX_PRICE_LESS_THAN_OR_EQUAL_TO_ZERO test(protocol): add "setMaxPrice" unit test chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for 785636a - Browse repository at this point
Copy the full SHA 785636aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d65cae - Browse repository at this point
Copy the full SHA 8d65caeView commit details -
feat(protocol): use "cardinalityNext" for TWAP criteria logic instead…
… of "cardinality" chore(protocol): re-generate types
Configuration menu - View commit details
-
Copy full SHA for 6a01de9 - Browse repository at this point
Copy the full SHA 6a01de9View commit details