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

Requirements

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

Contents


More Related Answers

  • python requirements.txt
  • python requirements.txt
  • requirement
  • python requirements.txt
  • requirements.txt
  • requirements.txt
  • requirements.txt python example
  • what is requirement
  • requirements.txt python
  • requirements file python
  • requirements.txt python
  • Enforcing requirements
  • require

  • Requirements

    -1

    A hook often needs information about the current state of the Account that is being executed.

    Vault can provide the following information to running hooks:

    Postings timeseries

    Balances timeseries

    Parameters timeseries

    Not all hooks are allowed to access all types of data - see "Allowed Requirements" for more details.

    For safety and performance reasons, running Smart Contracts are not allowed to access the database directly. Instead, all data requirements must be specified upfront via statically-parsable means.

    In API version 3.0.0 and above, a hook can specify the data it needs by using the @requires decorator as follows:

    Popularity 10/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.