1/26
Looks like no tags are added yet.
decelentralized finance DeFi
fiancial systems built on public blockchanins and financial services are done by code not companies
validators 2 roles
block proposers: select and order trasnactions (bonus pay infrequent)
attesters:check and confirm validity of block (base pay, paid for voting correctly)
checks in validations
transactional:signiture
execution level checsk: smart contract is correct
bloakc-level checks:block obey size and timing rules
maximal extractable value
Extra profit made by reordering, including, or leaving out transactions within a blockchain block.
mechanism of MEV
-validdaotrs have God mode power to decide order of transactions
-searches scan the network for profit
-bid in auction to prioriter their trades
-bid is MEV:money for a spot in the line
illegal front running
client buy srock and to sell at higher price
staking yield
Rewards validators earn for locking up ETH and helping verify transactions
being honest
issurance in staking yield
new ETH is printed to incentive security
Tips +MEV:
Extra money validators earn when people use the blockchain.
is taking yielkd risk free?
no because slashing rick, prorotcal risk, and lock up risk
why bitcoin dosen’t use proof of stake
1.nobody can change the rules (everone ahs to agree)
2.hand rules to coin holders (biggers holders write blocks)
3/energy is secutity (attack needs machines
gas
unit of ethereum uses to measure computational work
halting problem
can’t know in advance wether a program will evenutally stop running or run forver
ehthereum solution for halting problem
limit the resources any code can consume
gas price
how much you pay per unit of gas
what happens when etherum network is congested
block space becomes scarse and gas prices rises
what is an oracle
external data soruce for reporting infromation to blockchain
oracle risks
wrong data:
maniuplated data
delayed data
decentralzied oracle network
authenticate data using multiple independent oracles and put their data together before feeding into smart contracts
overcollateralization
every loan must be backed by colalteral worth more than the loan
a factor zero in overcollateralization
does not allow that cryptocurrency to be used as security for a loan
what happens if value of total borrows excces borrowing capacity
collateral will be liquited
health factor
shows the safety of your collateral relative to your borrowed amount
10% liquidation pentaltyl
If someone fails to repay their loan, another person can repay it and take 10% extra of their collateral as a reward.
lending
Deposit crypto into Compound to earn interest.
borrowing
Lock up one type of crypto to borrow another type of crypto.
Deposit crypto to borrow other crypto.
Users must deposit crypto first before they can borrow.
Compound Finance:
A decentralized platform where users can lend and borrow cryptocurrency without using a traditional bank.