Page Properties | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
...
- Domain related
- Register/Unregister<Id, Identifiable>
- Mint/Burn<Id, Value>
- Transfer<Id, Value, Id>
- Math
- Add/Substract<Value, Value>
- Multiply/Divide<Value, Value>
- RaiseTo<Value, Value>
- Mod<Value, Value>
- Compositions
- Sequence<Vec<Instruction>>
- Pair<Instruction, Instruction>
- If<Instruction, Instruction, Instruction>
- Not<Instruction>
- Queries
- Execute<Query>
...
- Register/Unregister
- Register or unregister Domain in Peer
- Register or unregister Account in Domain
- Register or unregister Asset Definition in Domain
- Register or unregister Peer Id in Peer
- Register or unregister Signatory in Account
- Mint
- Mint or burn Asset under Accountvalue to or from an Asset
Alternatives
- Do not have categories and generic instructions using plain set of instructions like "AddDomain, RegisterAccount" - as cons we can point out naming and extensibility problems
- Do not have granularity and differences between register, mint, add - as cons we can point out different business related meanings for similar actions and to wide set of options in one bucket
...