Versions Compared

Key

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

...

Computational operations:

  • SumAdd
  • SubsctractSubtract
  • Multiply
  • Divide
  • RaiseTo
  • Mod

Permissions checks:

  • Can...

Read only perations with WorldStateView:

  • Execute(IrohaQuery)

Composable types:

  • Pair(Instruction1, Instruction2)
  • Sequence(Vec<Instruction>)
  • If(Condition<Instruction>, Then<Instruction>, Else<Instruction>)

...

  • Swap - `Pair(Transfer(A→B), Transfer(B→A)) 
  • Exchange
  • etc.

Execution of Iroha Special Instruction can be successful or can fail. If it was successful it may return changed WorldStateView and return `Output` as a value. 

Different Iroha Special Instructions can obtain different arguments and return different Outputs. Type of Iroha Special Instruction inputs and output defines possible compositions of Iroha Special Instructions.

Alternatives

Concerns

Assumptions

...