Questions tagged [compound-protocol]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

can someone explain liquidations to me -for the case when price of borrowed asset suddenly goes up and in turn exceeds the supplied collateral value?

I understand concept of liquidations, which is when the value of collateral drops below the borrowed asset value - this can happen either when : collateral asset value drops borrowed asset value ...
0
votes
0answers
22 views

contract.functions.functions.balanceOf() returning 0 balance

I've been trying to send ether from my metamask wallet to compound finance protocol using web.py. So far my code goes like this: .....importing all the libraries..... w3 = Web3(Web3.HTTPProvider('...
1
vote
0answers
159 views

Sending ERC20 tokens using web.py

I'm exploring blockchain development newly. I'm trying to explore how to send ERC20 token from my wallet to compound protocol. To be specific, I'm having a Metamask wallet with my private key, and I ...
3
votes
0answers
18 views

Why borrow DAI from compound has lower rate than borrow USDT?

As shown in the figure, borrowing Tether from compound have 10.73% APY, while borrow DAI from compound only have 4.64%. However, we can exchange DAI or USDC to Tether in any exchange very easily, so ...
1
vote
0answers
24 views

AAVE Protocol v1 issue on reserve addresses with compound ctoken addresses

https://kovan.etherscan.io/tx/0xa7f5e857d1a9ecb4aca0714b24a70ca0942cc1a656c8e09b6d01bab9af4ec9e5 I am trying to make a transaction from DSProxy (Smart Wallet) on a contract https://kovan.etherscan.io/...
0
votes
0answers
9 views

TheGraph with Compound v2 is returning my mainet wallet address as null

When querying the following with the thegraph playground (compound v2) { account(id: "address here") { id totalBorrowValueInEth } } returns { "data": { "...
1
vote
0answers
75 views

Compound - mantissa and exponent

Trying to understand how the following example - from Compound Finance - works, in case you are trying to store something of order 1x10^19. From GitHub - https://github.com/compound-finance/compound-...
0
votes
1answer
39 views

Are the yields on Compound legit?

I have been reading recently about the DeFi space. I have noticed (admittedly, pretty late) quite a bit of buzz regarding WBTC and its applications in Ethereum. I have read about the Compound dapp and ...
2
votes
1answer
44 views

Rationale for using ETH as the unit of account for oracle pricing data

These are Compound Finance's former oracle contracts: PriceOracle PriceOracleProxy I say "former" because Compound switched to the Open Price Feed UniwapAnchoredView.sol oracle on Aug 17, ...
1
vote
0answers
25 views

Is there any free-to-use scenario builder?

The Compound Protocol has a collection of high-level integration tests, dubbed "scenarios": https://github.com/compound-finance/compound-protocol/tree/v2.8.1/spec Which look like this: Test &...