The Complete Solidity Course - Zero to Advanced for Blockchain and Smart Contracts - Exercise - Error Handling in Solidi

The Complete Solidity Course - Zero to Advanced for Blockchain and Smart Contracts - Exercise - Error Handling in Solidi

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Wayground Content

FREE Resource

The video tutorial guides viewers through creating a smart contract named 'vendor' with a state variable 'address seller'. It covers implementing a modifier 'only seller' to ensure only the seller can execute certain functions. The tutorial also explains the 'become seller' function to set the seller and a 'sell' function that is payable and checks if the input amount exceeds the message value, reverting with an error if insufficient ether is provided. The video concludes with encouragement to attempt the task and a promise to provide a solution.

Read more

1 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What new insight or understanding did you gain from this video?

Evaluate responses using AI:

OFF

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?