henriquecbuss/elm-eos/1.0.1

NOTE: the latest version is 1.1.0

Formerly NeoVier/elm-eos. Search finds this package by either name.

Eos.Permission

Permissions control what EOSIO accounts can do and how actions are authorized. They are organized in a hierarchical structure, with the root permission being the Owner permission. The Active permission is a child of the Owner.

= Owner
| Active
| Custom Name

There are two permissions by default: Owner and Active. However, each account may have arbitrary permissions (that's what Custom is for).

Working with JSON

encode : Permission -> Value

Turn a permission into a JSON value.

Decode a JSON value into a Permission