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

Hooks in Smart Contract Continued…

Vinay Rawal answered on March 9, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • 2. How many hooks can be there in smart contracts?
  • Hooks in Smart Contract
  • Smart Contract hook called on Account creation
  • Smart Contract hook called on migration
  • Smart contract - Can schedules be customized for each product?
  • contract hooks.

  • Hooks in Smart Contract Continued…

    0

    Note

    : Pre_posting_code is the hot path hook. It typically has strict performance SLAs as it blocks the committing of a posting to the ledger on a

    hot path that could be a card payment or bank transfer. Payment providers generally expect a Payment to be accepted or rejecte d within a

    few seconds. Therefore, the pre_posting_code hook is limited in what data it can fetch and what Hook Directives it has access to. All other

    hooks are non hot paths. This means they have access to all directives and data.

    Helper

    Hooks:

    get_account_creation_date this method allows you to retrieve the account creation date from Vault for an account.

    get_parameter_timeseries This method allows you to retrieve a parameter value at a given point in time.

    get_flag_timeseries using this method you can retrieve a flag at a given point in time.

    make_internal_transfer_instruction make a posting to and from accounts on vault.

    amend_schedule you can alter the next date and time a schedule runs. 

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Mar 09 2023
    Vinay 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.