Published
Edited
Sep 1, 2022
Importers
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Compound = protocol()
Insert cell
Insert cell
Compound.PriceOracleProxy.methods.isPriceOracle().call()
Insert cell
Compound.PriceOracleProxy.methods.getUnderlyingPrice(Compound.cUSDC._address).call()
Insert cell
Compound.$logs.topic('MarketListed(address)')
Insert cell
Compound.$logs.decode({
data: '0x00000000000000000000000000000000000000000000000000000000004712f90000000000000000000000000000000000000000000000000f67f1a448fb3044000000000000000000000000000000000000000000000000000006c2b683c5c1',
topics: ['0x875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9']
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// TODO
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
GITHUB_REPO = 'compound-finance/compound-protocol'
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more