Inter-Contract Execution Part 2
77 بار بازدید -
3 سال پیش
-
Building from the previous lesson,
Building from the previous lesson, we'll now see how a contract can use .call and .delegatecall to interact with other contracts. The code in the video is pragma 0.5.x, but the contract compiles with 0.8.x as well.
ContextSwitcher.sol
https://gist.github.com/ConsenSys-Academy/de1b2000f3682f0cfba784d0cb5400e7
.call Solidity By Example
https://solidity-by-example.org/call/
.delegatecall Solidity By Example
https://solidity-by-example.org/delegatecall/
Calling Other Contracts
https://solidity-by-example.org/calling-contract/
3 سال پیش
در تاریخ 1400/09/19 منتشر شده
است.
77
بـار بازدید شده