Added some new primitives

This commit is contained in:
Julien Eluard 2018-12-11 15:55:01 +01:00
parent 9635722734
commit fa626147f9
No known key found for this signature in database
GPG Key ID: 6FD7DB5437FCBEF6
1 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,7 @@
'asset-selector {:value component}
'token-selector {:value component}}
:queries {'wallet/token {:value :wallet/token :arguments {:token :string}}
'wallet/tokens {:value :wallet/tokens :arguments {:filter :vector}}
'wallet/balance {:value :wallet/balance :arguments {:token :string}}
'wallet/collectibles {:value :get-collectible-token :arguments {:token :string :symbol :string}}
'store/get {:value :store/get :arguments {:key :string}}}
@ -86,6 +87,10 @@
{:permissions [:read]
:value :store/put
:arguments {:key :string :value :any}}
'store/puts
{:permissions [:read]
:value :store/puts
:arguments {:value :vector}}
'store/append
{:permissions [:read]
:value :store/append