How do you liquidate on Compound using Solidity? What is close factor? What is liquidation incentive? This video explains them all.
Close factor 1:46
Liquidation incentive 2:27
How much can I liquidate? 2:53
Liquidate 3:17
Test 4:25
Ganache 5:51
https://github.com/t4sk/defi-by-example
https://compound.finance/docs
#DeFi #Compound #SmartContract #Solidity #Ethereum #スマートコントラクト
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Join me on Discord: https://discord.gg/Ny8sPaj
Forum https://jiruto.com/SmartContractProgrammer/Smart-Contract-Programmer/discussion
Website: https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=w-oVV0Ie3Fw
This video explains how code a Solidity smart contract that will lend ERC20 token to Compound and earn interest.
Code 0:50
Test 6:41
Demo on Ganache 8:59
https://github.com/t4sk/defi-by-example
https://compound.finance/docs
#DeFi #Compound #SmartContract #Solidity #Ethereum #スマートコントラクト
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Join me on Discord: https://discord.gg/Ny8sPaj
Forum https://jiruto.com/SmartContractProgrammer/Smart-Contract-Programmer/discussion
Website: https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=dHKLcbqFzvE
Where is the best place to start learning Solidity and smart contract programming? Remix.
In this video, I will show you how to write your first smart contract in Solidity, compile it, deploy it and interact with your smart contract. Everything is done inside the browser, no setup required.
0:31 - License
0:49 - Solidity compiler version
1:43 - First contract HelloWorld
2:37 - Compile
2:54 - Deploy
#Solidity #SmartContract #Ethereum #Remix #スマートコントラクト
Remix
https://remix.ethereum.org
Code
https://solidity-by-example.org/hello-world/
Take a course
https://www.smartcontract.engineer/
Follow
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=g_t0Td4Kr6M
How to declare and assign variables using assembly in Solidity
Code
https://solidity-by-example.org/assembly-variable/
Take a course
https://www.smartcontract.engineer/
Yul
https://docs.soliditylang.org/en/latest/yul.html
Remix
https://remix.ethereum.org
#Solidity #SmartContract #Ethereum #スマートコントラクト
Follow
https://odysee.com/@SmartContractProgrammer:8
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=cXRbxeG9S0Q
How to test for events in Foundry
0:00 - Intro
0:36 - Test event example 1
5:29 - Test event example 2
7:12 - Test multiple events
Code
https://github.com/t4sk/hello-foundry
Book
https://book.getfoundry.sh/
Solidity by Example
https://solidity-by-example.org/
Take a course
https://www.smartcontract.engineer/
#Solidity #SmartContract #Ethereum #スマートコントラクト
Remix
https://remix.ethereum.org
Follow
https://odysee.com/@SmartContractProgrammer:8
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=GYwKDSSpzjQ