Package Logo
aave_v2
aave-v2@v0.1.0
Total Downloads
0
Published
1 years ago
Publisher
User Avatar streamingfast

Readme

Documentation

Modules

Maps icon
Maps

map
map_atoken_supply_changes

defbd438c939792616c1e0a75f8f7bf62926e04d
map map_atoken_supply_changes (
blocksf.ethereum.type.v2.Block
)  -> messari.aave_v2.v1.ATokenSupplies

Will look at storage changes from addresses in store_observed_contracts and look for scaled_total_supply changes on AToken, StableDebtToken and VariableDebtToken contracts.

substreams gui aave-v2@v0.1.0 map_atoken_supply_changes

map
map_atoken_balances

f8c56237579bdeec667090c306a86d2a0b86aafe

Will look at storage changes and Transfer events on AToken, StableDebtToken and VariableDebtToken to track scaled_balance's of token holders. The output is a list of balances for all accounts that had their balance change in the block.

substreams gui aave-v2@v0.1.0 map_atoken_balances

map
map_raw_events

28c58fda284fa0db16a3bf2168119aed7e25ec80

Will output literally every event emitted by the AAVE contracts being observed.

substreams gui aave-v2@v0.1.0 map_raw_events

map
map_output

6f64e9114bd8b3cddb9f852bc90f96bdf31188e4

Combines the output of all previous modules (supply, balances, events). Useful to be sinked somewhere.

substreams gui aave-v2@v0.1.0 map_output
Stores icon
Stores

store
store_observed_contracts

5fd297901e3b9c4a12b24c2ba99b07fdef52b24f
store <set_if_not_exists,messari.aave_v2.v1.Contract> store_observed_contracts (
paramsstring
)
Default param : 0x357d51124f59836ded84c8a1730d72b749d8bc23;0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf;0x26db2b833021583566323e3b8985999981b9f1f3

Stores the addresses of the AAVE contracts we want to track. It requires as params a semicolon separated list of hex addresses which should be the initial contracts to track (not factory created). And those that will spawn new contracts.

substreams gui aave-v2@v0.1.0 store_observed_contracts
Protobuf

Protobuf Docs Explorer

messari.aave_v2.v1
sf.ethereum.type.v1
sf.ethereum.substreams.v1