20 lines
409 B
Text
20 lines
409 B
Text
(contract FungibleToken
|
|
(access
|
|
(read storage:* *)
|
|
(write storage:* owner)
|
|
(execute function:balance-of *)
|
|
(execute function:transfer *)
|
|
(execute function:total-supply *))
|
|
(function balance-of 1
|
|
(push32 0)
|
|
(sload)
|
|
(return))
|
|
(function transfer 2
|
|
(push32 0)
|
|
(push32 0)
|
|
(sstore)
|
|
(return))
|
|
(function total-supply 3
|
|
(push32 1)
|
|
(sload)
|
|
(return)))
|