twist/protocols/tokens/fungible-token.twistl
Hellings ef72a56501
Some checks are pending
Build and publish / verify (push) Waiting to run
Build and publish / publish (push) Blocked by required conditions
branch(main): Initial commit.
2026-09-12 08:25:10 -04:00

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)))