Skip to content

Turupawn/MudLang

Repository files navigation

Opcodes

0x10 Push0
0x11 Push1
0x12 Push2
0x13 Push3
0x14 Push4
0x20 ParamRead(ParamPos)
0x21 SlotRead(SlotPos) returns(SlotValue)
0x22 Keccack256(A, B) returns(HashedValue)
0x23 SlotWrite(SlotPos, NewValue)

Token

transfer(To, Amount)
11 Push1
20 ParamRead
10 Push0
10 Push0
20 ParamRead
22 Keccack256
21 SlotRead
23 SlotWrite
0x1120101020222300000000000000000000000000000000000000000000000000

getBalance(Account)
10 Push 0
10 Push 0
20 ParamRead
22 Keccack256
0x1010202200000000000000000000000000000000000000000000000000000000

[0x1120101020222300000000000000000000000000000000000000000000000000,0x1010202200000000000000000000000000000000000000000000000000000000]

Call transfer (To, Amount)

[0x0000000000000000000000000000000000000000000000000000000000000123, 0x0000000000000000000000000000000000000000000000000000000000000050]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published