Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Exercise Three - Understanding parameters

Satinder Rawal answered on April 23, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • There are three levels of parameters

  • Exercise Three - Understanding parameters

    0

    In the above example we hard coded the denomination to be 'GBP', but this would be much better passed into the contract as a parameter. In this exercise, we will try to define a parameter to hold the denomination our Smart Contract will accept.Contract parameters

    Any hook can access the parameters timeseries by adding parameters to its requirements. The parameter timeseries is a Python object with methods to access the value of the parameter at different times.About requirements

    Exercise

    In this exercise, we want to first define a parameter that will hold our denomination.

    Once we have defined the parameter, we wish to use it in the Smart Contract code we wrote for the previous exercise to dynamically test the parameter is correct. 

    Popularity 1/10 Helpfulness 1/10 Language python
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Apr 23 2023
    Satinder Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.