https://github.com/hyperledger/iroha/blob/iroha2-dev/iroha_2_whitepaper.md
Category | Function | Input | Output | Description |
---|---|---|---|---|
Accounts | Register | domain:String, name:String | Account | |
UnRegister | Account | None | ||
Assets | Register | domain:String, name:String, quantity:Number | Asset | |
UnRegister | Asset | None | Removes registration of an asset. | |
Mint | Asset, Account, Quantity | Asset | Adds Quantity newly minted units of Asset to an Account. Note: Permissions must allow this. | |
Demint | Asset, Account, Quantity | Asset | Deletes Quantity of Asset from an Account. Note: Permissions must allow this | |
Domains | Register | name:String | Domain | |
Math | Add | Number... | Number | Takes 2 or more numbers and adds them together |
Subtract | Number1, Number2 | Number | Subtracts a number from another | |
Multiply | Number... | Number | Multiplies 2 or more numbers together | |
Divide | Number1, Number2 | Number | Divides one number by another one | |
RaisedTo | NumberBase, NumberPow | Number | Raises one number to another number | |
Mod | Number1, Number2 | Number | Takes the modulo of one number by another one | |
Conditionals | If | |||
IfNot | ||||
ElseIf | ||||
ElseIfNot | ||||
Else | ||||
Events | OnBlockHeight | |||
OnTime | ||||
OnCondition | ||||
Resources
Code blocks visualization: