Intent
  • Introduction
  • Platform
  • Intent Structure
    • Meta
    • Limits
    • Recurrency (Optional)
    • MultiSig (Optional)
    • Computed (Optional)
    • Calls
      • Call Header
      • Call Params
    • Variables
      • External
      • Returned Data
      • Computed
      • Global
  • Intents vs. traditional methods
  • No-Code Intents Builder
  • Capabilities
  • FAQs
  • Official Tutorials
    • 01 / Introduction to Intentable Trading
  • 02 / Getting Started with Intentable: A Step-by-Step Tutorial
  • 03 / Buying Filtered Tokens with MEV Protection
  • 04 / Stop-Loss Order on any token
  • 05 / Setting Take-Profit / Limit Orders
  • 06 / Setting a Stop-Limit Order
Powered by GitBook
On this page
  1. Intent Structure
  2. Variables

Computed

PreviousReturned DataNextGlobal

Last updated 1 year ago

Computed are variables that takes a value or a variable and returns the following:

result=((var+a−b)c∗d/e) mod fresult = ((var + a - b)^c * d / e )\bmod{f} result=((var+a−b)c∗d/e)modf

It can be used to do basic calculations on returned data without the need to add more calls.

usage

0xFE000....0000LLLL LLLL holds the computed result index on the computed struced list (starting with 1)