git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 80cc9ff203abb03e4eb39d18d2801f1e2f0e52dd

Files: 80cc9ff203abb03e4eb39d18d2801f1e2f0e52dd / tests / interface / caller.wast

421 bytesRaw
1;; starts with an caller of 5d48c1018904a172886829bbbd9c6f4a2d06c47b
2(module
3 (memory 1)
4 (import $caller "ethereum" "getCaller" (param i32))
5
6 (export "test" 0)
7 (export "a" memory)
8 (func
9 (block
10 ;; loads the caller into memory
11 (call_import $caller (i32.const 0))
12 (if (i64.eq (i64.load (i32.const 0)) (i64.const 0xbd9c6f4a2d06c47b))
13 (return)
14 )
15 (unreachable)
16 )
17 )
18)
19

Built with git-ssb-web