20 lines
394 B
Text
20 lines
394 B
Text
(contract Twisto
|
|
(access
|
|
(read storage:* *)
|
|
(write storage:* owner)
|
|
(execute function:metadata *)
|
|
(execute function:total-supply *)
|
|
(execute function:mint owner))
|
|
(function metadata 1
|
|
(push32 0)
|
|
(sload)
|
|
(return))
|
|
(function total-supply 2
|
|
(push32 1)
|
|
(sload)
|
|
(return))
|
|
(function mint 3
|
|
(push32 1)
|
|
(push32 0)
|
|
(sstore)
|
|
(return)))
|