wasm/interface.wastView |
---|
23 | 23 | ) |
24 | 24 | (export "getGasLeft" $getGasLeft) |
25 | 25 | |
26 | 26 | ;; call |
27 | | - ;; (import $call "ethereum" "call" (param i32 i32 i32 i32 i32 i32 i32) (result i32)) |
28 | | - (import $call "interface" "call" (param i32 i32 i32 i32 i32 i32 i32 i32) (result i32)) |
| 27 | + ;; (import $call "ethereum" "call" (param i32 i32 i32 i32 i32 i32 i32 i32) (result i32)) |
| 28 | + (import $call "interface" "call" (param i32 i32 i32 i32 i32 i32 i32 i32 i32) (result i32)) |
29 | 29 | (func $callShim |
30 | | - (param i64 i32 i32 i32 i32 i32 i32) |
| 30 | + (param i64 i32 i32 i32 i32 i32 i32 i32) |
31 | 31 | (result i32) |
32 | 32 | (call_import $call |
33 | 33 | (i32.wrap/i64 |
34 | 34 | (i64.shr_u (get_local 0) (i64.const 32))) |
38 | 38 | (get_local 3) |
39 | 39 | (get_local 4) |
40 | 40 | (get_local 5) |
41 | 41 | (get_local 6) |
| 42 | + (get_local 7) |
42 | 43 | ) |
43 | 44 | ) |
44 | 45 | (export "call" $callShim) |
45 | 46 | ) |