EOS Smart Contract for generic character appearance.
(Anything in 'camelCasing' is a variable)
ie. accountName = YOUR ACCOUNT NAME
cleos get table accountName accountName characterapp
Action:
- create
Properties:
- account
- memo
cleos push action accountName create '["accountName", "Created Account"]' -p accountName
Action:
- update
Properties:
- account
- option
- value
- memo
Options:
- hair
- face
- eyes
- ears
- shirt
- pants
- shoes
cleos push action accountName update '["targetAccount", "hair", 1, "Updated Hair"]' -p targetAccount
Action:
- cleartable
Properties:
- memo
cleos push action accountName cleartable '["Cleared the table."]' -p accountName