Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page Properties
label


Status
Status
colourGrey
titleNot started
Stakeholders
Outcome
Due date
Owner


...

Split out-of-the-box instructions into the following categories:

  • Domain related
    •  Register/Unregister<Id, Identifiable>Unregister<Identifiable>
    •  Mint/Burn<Id, Value>
    •  Transfer<Id, Value, Id>
  • Math
    • Integer
      •  Add/Substract
    <Value
      • <EvaluatesTo<u32>,
    Value>
      • EvaluatesTo<u32>>
      •  Multiply/
    Divide<Value
      • Divide<EvaluatesTo<u32>,
    Value>
      • EvaluatesTo<u32>>
      •  
    RaiseTo<Value
      • RaiseTo<EvaluatesTo<u32>,
    Value>
      • EvaluatesTo<u32>>
      •  
    Mod<Value, Value>
      • Mod<EvaluatesTo<u32>, EvaluatesTo<u32>>
    • Comparison:
      •  Equate<Value, Value>
      •  Greater/Less<EvaluatesTo<u32>, EvaluatesTo<u32>>
    • Bool
      •  Not<EvaluatesTo<bool>>
      •  And/Or<EvaluatesTo<bool>, EvaluatesTo<bool>>
  • Compositions
    •  Sequence<Vec<Instruction>>
    •  Pair<Instruction, Instruction>
    •  If<InstructionIf<EvaluatesTo<bool>, Instruction, Instruction>
    •  Not<Instruction>
    • Option<Instruction>>
  • Vectors
    •  Contains<EvaluatesTo<Vec<Value>>, EvaluatesTo<Value>>
    •  ContainsAny/ContainsAll<EvaluatesTo<Vec<Value>>, EvaluatesTo<Vec<Value>>>
  • Variables
    •  Where<Value, BTreeMap<String, Value>>
    •  ContextValue<String>
  • Queries
    •  Execute<Query>
  • Misc
    •  Fail<String>

Provide a set of possible domain-related instructions:

...