GHO Subgraph Development #91
Replies: 3 comments 3 replies
-
Still dealing with one issue with the It's emitted in the FacilitatorAdded event: https://goerli.etherscan.io/tx/0x427be68e627e99e429d9465d2328ef8ce4fb9af215d4ecf56bb72e1f52af1543 And encoded here: https://github.com/aave/gho-core/blob/5ac3ed8d1fd5edea9ad3ee9b0942e3d211dec99a/src/contracts/gho/GhoToken.sol#L84 but I can't figure out how to decode it in the gho-token mapping |
Beta Was this translation helpful? Give feedback.
-
Created a separate staging deployment to keep the main endpoint stable while developing. Staging deployment adds treasury entities, will deploy to main endpoint once it's synced and stable. Currently there is no treasury data coming through since Goerli treasury is not configured |
Beta Was this translation helpful? Give feedback.
-
Re-deployed latest version of #92 to https://thegraph.com/hosted-service/subgraph/aave/protocol-v3-goerli-gho. All events in initial schema are indexed ✔️ |
Beta Was this translation helpful? Give feedback.
-
🧵 Open thread for GHO subgraph development
GHO Subgraph
Development Branch
Deployed GHO Contracts Goerli
Current Schema
Events to index
IGHOToken.sol:
event FacilitatorAdded(address indexed facilitatorAddress, bytes32 indexed label, uint256 bucketCapacity);
event FacilitatorRemoved(address indexed facilitatorAddress);
event FacilitatorBucketCapacityUpdated(address indexed facilitatorAddress, uint256 oldCapacity, uint256 newCapacity);
event FacilitatorBucketLevelUpdated(address indexed facilitatorAddress, uint256 oldLevel, uint256 newLevel);
IGHOAToken.sol is IGhoFacilitator:
- [ ]handled in reserve initializerevent VariableDebtTokenSet(address indexed variableDebtToken);
event FeesDistributedToTreasury(address indexed ghoTreasury, address indexed asset, uint256 amount);
event GhoTreasuryUpdated(address indexed oldGhoTreasury, address indexed newGhoTreasury);
IGHOVariableDebtToken.sol:
- [ ]handled in reserve initializerevent ATokenSet(address indexed aToken);
event DiscountRateStrategyUpdated(address indexed oldDiscountRateStrategy, address indexed newDiscountRateStrategy);
event DiscountTokenUpdated(address indexed oldDiscountToken, address indexed newDiscountToken);
- [ ]event DiscountPercentLocked(user, newDiscountPercent, newRebalanceTimestamp);
- [ ]event DiscountLockPeriodUpdated(uint256 indexed oldDiscountLockPeriod, uint256 indexed newDiscountLockPeriod);
IGHOFlashMinter.sol:
event FeeUpdated(uint256 oldFee, uint256 newFee);
event FlashMint(address indexed receiver, address indexed initiator, address asset, uint256 indexed amount, uint256 fee);
event FeesDistributedToTreasury(address indexed ghoTreasury, address indexed asset, uint256 amount);
event GhoTreasuryUpdated(address indexed oldGhoTreasury, address indexed newGhoTreasury);
Beta Was this translation helpful? Give feedback.
All reactions