forked from yearn/yearn-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Add github action to build and bush docker container image" #1
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Owner
numan
commented
Feb 18, 2022
- fix: use crypto swap registry if available (fix: use crypto swap registry if available yearn/yearn-exporter#188)
- fix: Requesting ERC-20 or ERC-677 Transfer events in log filter. (fix: Requesting ERC-20 or ERC-677 Transfer events in log filter. yearn/yearn-exporter#186)
- fix: add pagination for dynamic assets ([WEB-1170-195] fix: add pagination for dynamic assets yearn/yearn-exporter#195)
- feat: support spooky lp price on fantom
- feat: support xcredit unwrapping on fantom
- fix: uniswap v2 with no lp supply or unknown price
- feat: add spiritswap support
- feat: add geist support
- feat: yearn vault price on fantom
- fix: correct calculation of discounted rKP3R price ([WEB-1259-203] fix: correct calculation of discounted rKP3R price yearn/yearn-exporter#203)
- [WEB-1253-200] fix: arbitrum fixes ([WEB-1253-200] fix: arbitrum fixes yearn/yearn-exporter#200)
- [WEB-1247-199] Refactor price magic and set TVL of ib to 0 after 2022-01-22 ([WEB-1247-199] Refactor price magic and set TVL of ib to 0 after 2022-01-22 yearn/yearn-exporter#199)
- [EXP-13-215] fix: dashboard names ([EXP-13-215] fix: dashboard names yearn/yearn-exporter#215)
- Wallets and treasury update (Wallets and treasury update yearn/yearn-exporter#182)
- [EXP-14-216] fix: oracle regression ([EXP-14-216] fix: oracle regression yearn/yearn-exporter#216)
- [EXP-16-218] Treasury and SMS on fantom ([EXP-16-218] Treasury and SMS on fantom yearn/yearn-exporter#218)
- fix: correct multichain token icon urls ([WEB-1265-204] fix: correct multichain token icon urls yearn/yearn-exporter#204)
- [EXP-20-192] sentry support and automatic capturing of unhandled exceptions ([EXP-20-192] sentry support and automatic capturing of unhandled exceptions yearn/yearn-exporter#192)
- [EXP-26-226] add CL price feeds for fantom ([EXP-26-226] add CL price feeds for fantom yearn/yearn-exporter#226)
- [EXP-30-230] fix: check for reward token ([EXP-30-230] fix: check for reward token yearn/yearn-exporter#230)
- various fixes and minor updates (various fixes and minor updates yearn/yearn-exporter#232)
- [EXP-33-234] refactor: curve oracle and curve v5 support ([EXP-33-234] refactor: curve oracle and curve v5 support yearn/yearn-exporter#234)
- [EXP-35-236] sentry release tracking + custom tags ([EXP-35-236] sentry release tracking + custom tags yearn/yearn-exporter#236)
- [EXP-39-240] Add id 6 to curve Ids enum ([EXP-39-240] Add id 6 to curve Ids enum yearn/yearn-exporter#240)
- fix: curve registry 0x8F942C20D02bEfc377D41445793068908E2250D0 doesn't have #get_underlying_coins but has #get_coins. ([EXP-40-241] fix: curve registry 0x8F942C20D02bEfc377D41445793068908E2250D0 doesn'… yearn/yearn-exporter#241)
- [EXP-36-237] fix: fixed postgres db connection configurability ([EXP-36-237] fix: fixed postgres db connection configurability yearn/yearn-exporter#237)
- fix: reorganized imports so api file is able to run without brownie being initialized ([EXP-42-243] fix: reorganized imports so api file is able to run without brownie yearn/yearn-exporter#243)
- feat: add github action to build and deploy container image
* fix: use crypto swap registry if available * fix: make boolean check more explicit
…rn#186) * fix: Requesting ERC-20 or ERC-677 Transfer events in log filter. * fix: use brownie version that contains the ability to download the latest solc compiler patch version for contract compilations and remove handling of '(unknown)' events. * fix: don't import relative parts and use encode_* methods to encode the addresses for the log filter. * fix: typo in yaml file * feat: use brownie master branch which has the required changes merged in which fix event decoding for the given chainlink contract.
* fix: arbitrum pricing fixes, disable curve apy for now * fix: revert change to interface * fix: remove unused interface import
…-01-22 (yearn#199) * fix: added ust stablecoin. * feat: refactor multiple chain-based #get_price methods into a single one. * feat: set ironbank tvl to 0 after 2022-01-22T00:00:00Z because they launched as a separate product. * fix: define a constant for the ironbank snapshot block per network and use that for comparing with the current block. * fix: allow to override the default behaviour where the ib TVL is excluded after the snapshot block. * fix: remove __repr__ method. * fix: remove chain.id check. * fix: make token unwrapping chain-aware. * feat: refactor balance as a class. Move memory-cached code into a pure function so it can be cached. * feat: refactor pool-like markets and add #is_in_pool and #get_pool_price for them * fix: make the usage of the constant more explicit. * fix: remove special handling here to not obscure any underlying problems. * fix: order for if-check * fix: change market order. * fix: create two metrics to track ib tvl before and after the snapshot. * fix: revert changes and make querying of uniswap_v2, balancer and yearn-lens more explicit again. * fix: oracles could be empty for the given network. * feat: remove ib tvl from the total sums if the conditions are met. * fix: constant import * fix: remove unused __repr__ methods. * fix: resolve circular import for balancer. * Update dashboards (yearn#209) * fix: ironbank dash * fix: overview dash * update overview changes * update TVL in Yearn Ecosystem dash * update vault overview dash * run prettier Co-authored-by: Dark Ghosty <[email protected]>
* fix vault overview name * fix tvl name * fix overview name
* feat: add skeleton * fix: temporarily disable victoria * feat: add total users * feat: count wallets by # vaults used * feat: add total users by vault * fix: use Decimal instead of float * feat: use pickle instead of csv for tx cache * chore: refactor * chore: checkpoint tx pickle thru block 10949751 * feat: parallelism * fix: accept new transfer event field labels * fix: handle reverts in price magic * fix: etherscan rate limit handler * chore: refactor dataframe * chore: increase dop * chore: refactor * chore: checkpoint tx pickle thru block 13398262 * feat:user balances (#2) * feat: add transactions exporter to docker * chore: reduce unnecessary printing * feat: user balances * feat: merge tx analysis with existing exporter * chore: wallets not users * chore: cleanup * chore: wallets not users * chore: refactor * feat: env variable to skip wallet stats for speed * chore: cleanup * fix: skip transfers * fix: typo * feat: treasury exporter * feat: add buckets * fix: add details to revert message when can't decode logs * feat: silent kwarg for magic.get_price * feat: postgres tx caching * chore: cleanup reverted changes * feat: yearn.describe_wallets * feat: wallet exporter * feat: specify new agg stats * feat: skip middleware if already setup * chore: cleanup * chore: black * chore: cleanup * chore: cleanup * fix: setup middleware * chore: revert changes to create_filter * chore: revert silent kwarg on magic.get_price * chore: refactor * feat: sms exporter * fix: compound debt zero address bug * chore: fix logger name * feat: replace pyodbc with ponyorm * feat: wallet exporter for earn, ib, special * chore: add pony to requirements * fix: sms exporter * fix: wallet exporter * fix: historical treasury exporter * fix: treasury exporter * fix: sql syntax * fix: registry wallet exporter * fix: vault wallet exporter * fix: yearn registry * fix: victoria * fix: transactions exporter insufficient chunk size * feat: add sms address for ftm * fix: typeerror in compound debt calc * chore: cleaner treasury constants for multichain * chore: homogenize registry method names for active_vaults_at * chore: remove unnecessary caching * chore: cleanup constants * chore: refactor * chore: remove artifact from testing * chore: better utilize ponyorm queries * chore: refactor * fix: last_recorded_block postgres util * fix: transactions exporter broken by previous refactoring * chore: remove artifact from testing * chore: remove unneeded infura env vars * chore: remove dev artifacts * fix: remove parallelism on transactions exporter * chore: extract variable * chore: add comment * chore: refactor * chore: remove commented out wip snippets * fix: buckets * fix: unhashable type error * chore: clarify comment * fix: stablecoin checksum addresses * feat: add husd, dusd, musd, fusdt(ftm), mim (ftm) to stablecoin list * feat: support yearn vaults on ftm price magic * chore: remove old code * fix: magic.get_price for yveCRV-DAO before there was liquidity * fix: data_query for ftm historical exporter * chore: remove empty exports * chore: remove unused imports * chore: cleanup logging * feat: magic.get_price for curve v2 * chore: improve exception logging * fix: price edge cases for wallet exporter * fix: null data display bug * Revert "feat: magic.get_price for curve v2" This reverts commit 15e3d1d. * feat: add anydai and anymim to mainnet stablecoins list * fix: import error when postgres container not running * feat: log errors while fetching price to sentry * feat: more responsive treasury event watching * fix: treasury watch events * fix: manually merge ib handling code into the PR branch. * feat: refactored outputs into separate files for better readability. * feat: adding treasury file from bob. * fix: move import to the right file * feat: remove unused packages from docker image. * chore: add FTMSCAN_TOKEN env var for ftm containers * fix: remove IS_CONTAINER env var * fix: transactions-exporter TransactionIntegrityError on fresh startup * chore: replace soon-to-be-deprecated df.append with pd.concat * fix: don't fail when transaction_exporter has not exported anything yet. * fix: handle the entity creation more gracefully with the transaction so it doesn't raise IntegrityException. * feat: refactor db entities a bit for more standardized PKs and FKs and less ORM surprises. * fix: adding band supported tokens. * fix: use PG* envs for postgres connection config. * wip: trying to move pricePerShare logic into its own price class. * fix: adding file to calculate price per share of a token * Revert "fix: adding file to calculate price per share of a token" This reverts commit d215e97. * Revert "wip: trying to move pricePerShare logic into its own price class." This reverts commit 3efcdba. * fix: propagate error when unable to read share price * fix: handle crvaave incident Co-authored-by: mariuspod <[email protected]> Co-authored-by: banteg <[email protected]>
* feat: multicall can require success * fix: yearn oracle error for zero share price * feat: add gusd incident handling
* feat: env variable to skip wallet stats for speed * feat: postgres tx caching * fix: price edge cases for wallet exporter * feat: add new exporters to make logs * fix: treasury params for multichain * feat: make wallet exporter loop instead of restarting container * fix: fantom env vars * feat: make logs-all Co-authored-by: banteg <[email protected]> Co-authored-by: banteg <[email protected]>
…ptions (yearn#192) * feat: add -r flag to raise exceptions from the brownie script to the caller. * feat: integrate sentry. * feat: unlock the thread if there is an exception and re-raise. * feat: make sentry optional. * feat: add KeyboardInterrupt to the ingnore_errors for sentry. * feat: added @sentry_catch_all, @wait_or_exit_before and @wait_or_exit_after decorators for multi-threaded handling. * feat: DRY common envs and volumes as variables in docker-compose. * fix: add correct decorator
* fix: correct YFI price on fantom by reading from the CL price feed directly until there's a deployed registry on fantom. * fix: adding some CL price feed mappings for fantom from: https://data.chain.link/fantom/mainnet * fix: clean comments for fantom chainlink feeds * fix: xcredit price block identifier Co-authored-by: banteg <[email protected]>
* fix: check for reward token * style: pythonic Co-authored-by: banteg <[email protected]>
* fix: BlockNotFound error revealed by @sentry_catch_all * fix: BlockNotFound error revealed by @sentry_catch_all * chore: add symbol to PriceError messages * fix: wallet exporter rebase mixup * fix: add vm dependency to wallet exporters in docker-compose * fix: broken wallet exporter due to entity definition changes * fix: chainlink feed for wbtc on fantom * fix: whoops, used sql syntax instead of pony syntax * fix: add vm dependency to treasury exporters in docker-compose * feat: add sentry tags for network and chainid * fix: potential for revert in magic error messages * feat: allow Network.label() with or without chain_id input * feat: use Network.name for sentry tag instead of Network.label * feat: add Network.name to price magic error msgs * fix: prevent exception when magic.get_price returns 0
* fix: circular import of curve oracle * feat: simplify curve oracle * test: update curve tests * feat: add default decorators for threaded exception tracking with sentry. * feat: give sentry a bit more time to send off all events. * fix: explicit call to _add_deployment_topics before filter creation so brownie matches event topics against the contract ABI's topic_map instead of the thread-unsafe ~/.brownie/topics.json from disk. * feat: adding custom sentry tags for chain_id and network_label * feat: bumping the sentry max_string_length to 8KB so exceptions are not truncated. * fix: not every factory has #get_underlying_coins(). Co-authored-by: mariuspod <[email protected]>
* feat: using the default envs that sentry picks up by default: SENTRY_ENVIRONMENT, SENTRY_RELEASE. * feat: adding more custom tags to sentry.
* fix: curve Ids enum for id 6 * chore: improve comments * chore: cleanup comments
…t have #get_underlying_coins but has #get_coins. (yearn#241)
…#237) * fix: fixed postgres db connection configurability * removed ENV in compose file
…eing initialized (yearn#243)
… can use the default aws environment variables
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.