Calyptus’ Post

View organization page for Calyptus, graphic

105,081 followers

Solidity Challenge #393 🕵️♂️ Which of the two functions in CallerContract can change the value variable in StateChangingContract? 🔍

  • text
Prateek Prasanna Savanur

Blockchain Enthusiast and developer | Coding the Future of Trust and Transparency | Chapter Lead @TPG Karnataka

7mo

foo() will change the value, as .call allows for state change

Shawn Adams, PhD

Director Of Operations for 426 NWS (US Air Force Reserve) | Freelance Solidity / Web3 Developer | Computer Science Professor (UAB) | Computer Science Ph.D. | Certifications: GCFA Security+ AWS Cloud Practitioner

7mo

Only Foo will be able to modify the called contract. By its design, statically reverts if the state changes in the called contract ( thus static)

Like
Reply
Rajat Singhal

Software Developer | Blockchain | NodeJs | MongoDB | Ethereum | Web3 | NFT | DeFi | Pioneering Blockchain Solutions for Mainstream Adoption

7mo

foo() will change the value.

Like
Reply
Syed Rabeet

CS Student | Blockchain Dev | Technical Writer | Ambassador @BlockshipDAO

7mo

foo() function

Like
Reply
Shehryar Khan Tanoli

CS Graduate | Backend Developer | TypeScript | NodeJs | NestJs

7mo

function foo()

Like
Reply

Foo and set value

Like
Reply
See more comments

To view or add a comment, sign in

Explore topics