-
Notifications
You must be signed in to change notification settings - Fork 11
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
Release Isolated Pools and Core Pool Schema refactor #219
Open
coreyar
wants to merge
96
commits into
main
Choose a base branch
from
testnet
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
## [@venusprotocol/cross-chain-governance-subgraph-v1.1.1-pre-add-ci-deployments.1](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/cross-chain-governance-subgraph-v1.1.0...@venusprotocol/cross-chain-governance-subgraph-v1.1.1-pre-add-ci-deployments.1) (2024-12-10) ### Bug Fixes * update release channel ([ab5f43d](ab5f43d))
## [@venusprotocol/etherfi-promo-subgraph-v1.1.0-pre-add-ci-deployments.1](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/etherfi-promo-subgraph-v1.0.1...@venusprotocol/etherfi-promo-subgraph-v1.1.0-pre-add-ci-deployments.1) (2024-12-10) ### Features * add scripts to deploy from ci ([3f036d7](3f036d7)) ### Bug Fixes * update release channel ([ab5f43d](ab5f43d))
## [@venusprotocol/isolated-pools-subgraph-v1.4.0-pre-add-ci-deployments.1](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/isolated-pools-subgraph-v1.3.0...@venusprotocol/isolated-pools-subgraph-v1.4.0-pre-add-ci-deployments.1) (2024-12-10) ### Features * add scripts to deploy from ci ([3f036d7](3f036d7)) ### Bug Fixes * update release channel ([ab5f43d](ab5f43d))
## [@venusprotocol/protocol-reserve-subgraph-v1.2.0-pre-add-ci-deployments.1](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/protocol-reserve-subgraph-v1.1.0...@venusprotocol/protocol-reserve-subgraph-v1.2.0-pre-add-ci-deployments.1) (2024-12-10) ### Features * add scripts to deploy from ci ([3f036d7](3f036d7)) ### Bug Fixes * update release channel ([ab5f43d](ab5f43d))
## [@venusprotocol/core-pool-subgraph-v1.2.0-pre-add-ci-deployments.1](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/core-pool-subgraph-v1.1.2...@venusprotocol/core-pool-subgraph-v1.2.0-pre-add-ci-deployments.1) (2024-12-10) ### Features * add scripts to deploy from ci ([3f036d7](3f036d7)) ### Bug Fixes * update release channel ([ab5f43d](ab5f43d))
## [@venusprotocol/governance-subgraph-v1.1.0-pre-add-ci-deployments.1](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/governance-subgraph-v1.0.2...@venusprotocol/governance-subgraph-v1.1.0-pre-add-ci-deployments.1) (2024-12-10) ### Features * add scripts to deploy from ci ([3f036d7](3f036d7)) ### Bug Fixes * update release channel ([ab5f43d](ab5f43d))
Pre add ci deployments
## [@venusprotocol/cross-chain-governance-subgraph-v1.1.1-testnet.1](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/cross-chain-governance-subgraph-v1.1.0...@venusprotocol/cross-chain-governance-subgraph-v1.1.1-testnet.1) (2024-12-11) ### Bug Fixes * update release channel ([ab5f43d](ab5f43d))
Ci deployments
## [@venusprotocol/etherfi-promo-subgraph-v1.1.0-testnet.1](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/etherfi-promo-subgraph-v1.0.1...@venusprotocol/etherfi-promo-subgraph-v1.1.0-testnet.1) (2024-12-12) ### Features * add scripts to deploy from ci ([3f036d7](3f036d7)) ### Bug Fixes * update release channel ([ab5f43d](ab5f43d))
ci: add codegen before deploy
## [@venusprotocol/protocol-reserve-subgraph-v1.2.0-testnet.1](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/protocol-reserve-subgraph-v1.1.0...@venusprotocol/protocol-reserve-subgraph-v1.2.0-testnet.1) (2024-12-12) ### Features * add scripts to deploy from ci ([3f036d7](3f036d7)) ### Bug Fixes * update release channel ([ab5f43d](ab5f43d))
fix: Transfer event import path
## [@venusprotocol/protocol-reserve-subgraph-v1.2.0-testnet.2](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/protocol-reserve-subgraph-v1.2.0-testnet.1...@venusprotocol/protocol-reserve-subgraph-v1.2.0-testnet.2) (2024-12-12) ### Bug Fixes * Transfer event import path ([fd6a69a](fd6a69a))
Update prerelease name
## [@venusprotocol/protocol-reserve-subgraph-v1.2.0-testnet.3](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/protocol-reserve-subgraph-v1.2.0-testnet.2...@venusprotocol/protocol-reserve-subgraph-v1.2.0-testnet.3) (2024-12-12) ### Bug Fixes * event handler after block handler ([e1e5409](e1e5409)) * update prerelease version name ([9826fe0](9826fe0))
…rsion fix: enable transparent workspaces
## [@venusprotocol/cross-chain-governance-subgraph-v1.1.1-testnet.5](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/cross-chain-governance-subgraph-v1.1.1-testnet.4...@venusprotocol/cross-chain-governance-subgraph-v1.1.1-testnet.5) (2024-12-17) ### Bug Fixes * bump semantic release version ([d6343ee](d6343ee)) * enable transparent workspaces ([6becde3](6becde3)) * revert bump in semantic release version for compatibility with monorepo plugin ([3d7dba8](3d7dba8)) * switch from semantic-release-yarn to @semantic-release/npm ([f296f07](f296f07))
coreyar
force-pushed
the
testnet
branch
9 times, most recently
from
December 17, 2024 19:23
fbd6d16
to
bb6d345
Compare
## [@venusprotocol/etherfi-promo-subgraph-v1.1.0-testnet.5](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/etherfi-promo-subgraph-v1.1.0-testnet.4...@venusprotocol/etherfi-promo-subgraph-v1.1.0-testnet.5) (2024-12-17) ### Bug Fixes * bump semantic release version ([d6343ee](d6343ee)) * relock in prepare script ([be503c8](be503c8)) * revert bump in semantic release version for compatibility with monorepo plugin ([3d7dba8](3d7dba8)) * switch from semantic-release-yarn to @semantic-release/npm ([f296f07](f296f07))
ci: update lock file after versioning
## [@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.4](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.3...@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.4) (2024-12-17) ### Bug Fixes * bump semantic release version ([d6343ee](d6343ee)) * enable transparent workspaces ([6becde3](6becde3)) * revert bump in semantic release version for compatibility with monorepo plugin ([3d7dba8](3d7dba8)) * switch from semantic-release-yarn to @semantic-release/npm ([f296f07](f296f07))
## [@venusprotocol/protocol-reserve-subgraph-v1.2.0-testnet.6](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/protocol-reserve-subgraph-v1.2.0-testnet.5...@venusprotocol/protocol-reserve-subgraph-v1.2.0-testnet.6) (2024-12-17) ### Bug Fixes * bump semantic release version ([d6343ee](d6343ee)) * enable transparent workspaces ([6becde3](6becde3)) * revert bump in semantic release version for compatibility with monorepo plugin ([3d7dba8](3d7dba8)) * switch from semantic-release-yarn to @semantic-release/npm ([f296f07](f296f07))
## [@venusprotocol/core-pool-subgraph-v1.2.0-testnet.4](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/core-pool-subgraph-v1.2.0-testnet.3...@venusprotocol/core-pool-subgraph-v1.2.0-testnet.4) (2024-12-17) ### Bug Fixes * bump semantic release version ([d6343ee](d6343ee)) * revert bump in semantic release version for compatibility with monorepo plugin ([3d7dba8](3d7dba8)) * switch from semantic-release-yarn to @semantic-release/npm ([f296f07](f296f07))
## [@venusprotocol/governance-subgraph-v1.1.0-testnet.2](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/governance-subgraph-v1.1.0-testnet.1...@venusprotocol/governance-subgraph-v1.1.0-testnet.2) (2024-12-17) ### Bug Fixes * bump semantic release version ([d6343ee](d6343ee)) * enable transparent workspaces ([6becde3](6becde3)) * relock in prepare script ([be503c8](be503c8)) * revert bump in semantic release version for compatibility with monorepo plugin ([3d7dba8](3d7dba8)) * switch from semantic-release-yarn to @semantic-release/npm ([f296f07](f296f07))
…rlying fix: hardchade underlying weth token to avoid errors querying before existence
## [@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.5](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.4...@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.5) (2024-12-18) ### Bug Fixes * hardchade underlying weth token to avoid errors querying before existence ([e4c2adf](e4c2adf))
## [@venusprotocol/core-pool-subgraph-v1.2.0-testnet.5](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/core-pool-subgraph-v1.2.0-testnet.4...@venusprotocol/core-pool-subgraph-v1.2.0-testnet.5) (2024-12-18) ### Bug Fixes * hardchade underlying weth token to avoid errors querying before existence ([e4c2adf](e4c2adf))
…g before existence
fix: Add ankr staked bnb hardcoded overrides
## [@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.6](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.5...@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.6) (2024-12-18) ### Bug Fixes * hardchade underlying ankrstakedbnb token to avoid errors querying before existence ([0021141](0021141))
refactor: skip recording vbifi positions
## [@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.7](https://github.com/VenusProtocol/subgraphs/compare/@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.6...@venusprotocol/isolated-pools-subgraph-v1.4.0-testnet.7) (2024-12-18)
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.
Overview
Venus Subgraph Isolated Pools and Core Pool V1 Schema Changes
The focus of refactoring the subgraphs were
Core Pool
Schema Changes
Adds an explicit
address
property to the Comptroller entity. ThecloseFactor
property is renamed with its scale.Token Addresses are now a relationship to the Token entity.
Adds an explicit
address
property to the Market entity. Underlying token is now a relationship to the Token entity.isListed
is a flag indicating if the market is listed. A relationship to accounts with positions in the market is added. ThereserveFactor
property is renamed with its scale. AddxvsSupplySpeed
,xvsBorrowSpeed
,xvsSupplyStateBlock
,xvsSupplyStateIndex
,xvsBorrowStateBlock
, andxvsBorrowStateIndex
properties to the Market entity to track XVS rewards.borrowerCountAdjusted
, which was meant to track dust left over from incomplete liquidations, has been removed.The
Account
entity has a declaredaddress
property so the address doesn't have to be inferred from the id. Thetokens
relationship is to the renamedMarketPosition
entity. Adds anaccrualBlockNumber
property to the Market entity to track interest accrual.Isolated Pools
Schema Changes
The
Pool
entity has a declaredaddress
property so the address doesn't have to be inferred from the id.Token Addresses are now a relationship to the Token entity.
The
MarketAction
now uses a relationship to theMarket
entity instead of the vToken address.The
Account
entity has a declaredaddress
property so the address doesn't have to be inferred from the id.The
AccountVToken
Entity has been renamed toMarketPosition
.The attributes for supplier and borrower amounts were updated to match the core pool schema. Supply is stored in vToken and borrow is stored in underlyingToken.
accountBorrowBalanceMantissa
is renamed toborrowIndex
The
RewardsDistributor
entity reward token address is now a relationship to the Token entity. TherewardSpeeds
property has been renamed to marketRewards. AnisTimeBased
property has been added to indicate if the rewards distributor is time based or block based.The MarketReward entity has been renamed to RewardSpeed.
borrowSpeedPerBlockMantissa
andsupplySpeedPerBlockMantissa
are now required properties. Additional details about reward distributions are now stored.