Files: 43bf2f2e8a30e0f3f0ae3c32631f5507c7449d67 / wasm / interface.wast
272 bytesRaw
1 | (module |
2 | (import $useGas "interface" "useGas" (param i32 i32)) |
3 | (func $useGasShim |
4 | (param $amount i64) |
5 | (call_import $useGas (i32.wrap/i64 (i64.shr_u (get_local $amount) (i64.const 32))) (i32.wrap/i64 (get_local $amount))) |
6 | ) |
7 | (export "useGas" $useGasShim) |
8 | ) |
9 |
Built with git-ssb-web