|
8 | 8 | "imports": "(import \"ethereum\" \"callDataCopy\" (func $callDataCopy (param i32 i32 i32) ))" |
9 | 9 | }, |
10 | 10 | "GAS": { |
11 | | - "wast": ";; generated by ./wasm/generateInterface.js\n(func $GAS (i64.store (i32.add (get_global $sp) (i32.const 32)) (call $getGasLeft))\n\n ;; zero out mem\n (i64.store (i32.add (get_global $sp) (i32.const 56)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 48)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 40)) (i64.const 0)))", |
| 11 | + "wast": ";; generated by ./wasm/generateInterface.js\n(func $GAS (i64.store (i32.add (get_global $sp) (i32.const 32)) (call $getGasLeft))\n ;; zero out mem\n (i64.store (i32.add (get_global $sp) (i32.const 56)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 48)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 40)) (i64.const 0)))", |
12 | 12 | "imports": "(import \"ethereum\" \"getGasLeft\" (func $getGasLeft (result i64)))" |
13 | 13 | }, |
14 | 14 | "ADDRESS": { |
|
68 | 68 | "imports": "(import \"ethereum\" \"getBlockCoinbase\" (func $getBlockCoinbase (param i32) ))" |
69 | 69 | }, |
70 | 70 | "TIMESTAMP": { |
71 | | - "wast": ";; generated by ./wasm/generateInterface.js\n(func $TIMESTAMP (i64.store (i32.add (get_global $sp) (i32.const 32)) (call $getBlockTimestamp))\n\n ;; zero out mem\n (i64.store (i32.add (get_global $sp) (i32.const 56)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 48)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 40)) (i64.const 0)))", |
| 71 | + "wast": ";; generated by ./wasm/generateInterface.js\n(func $TIMESTAMP (i64.store (i32.add (get_global $sp) (i32.const 32)) (call $getBlockTimestamp))\n ;; zero out mem\n (i64.store (i32.add (get_global $sp) (i32.const 56)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 48)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 40)) (i64.const 0)))", |
72 | 72 | "imports": "(import \"ethereum\" \"getBlockTimestamp\" (func $getBlockTimestamp (result i64)))" |
73 | 73 | }, |
74 | 74 | "NUMBER": { |
75 | | - "wast": ";; generated by ./wasm/generateInterface.js\n(func $NUMBER (i64.store (i32.add (get_global $sp) (i32.const 32)) (call $getBlockNumber))\n\n ;; zero out mem\n (i64.store (i32.add (get_global $sp) (i32.const 56)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 48)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 40)) (i64.const 0)))", |
| 75 | + "wast": ";; generated by ./wasm/generateInterface.js\n(func $NUMBER (i64.store (i32.add (get_global $sp) (i32.const 32)) (call $getBlockNumber))\n ;; zero out mem\n (i64.store (i32.add (get_global $sp) (i32.const 56)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 48)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 40)) (i64.const 0)))", |
76 | 76 | "imports": "(import \"ethereum\" \"getBlockNumber\" (func $getBlockNumber (result i64)))" |
77 | 77 | }, |
78 | 78 | "DIFFICULTY": { |
79 | 79 | "wast": ";; generated by ./wasm/generateInterface.js\n(func $DIFFICULTY (call $getBlockDifficulty(i32.add (get_global $sp) (i32.const 32))))", |
80 | 80 | "imports": "(import \"ethereum\" \"getBlockDifficulty\" (func $getBlockDifficulty (param i32) ))" |
81 | 81 | }, |
82 | 82 | "GASLIMIT": { |
83 | | - "wast": ";; generated by ./wasm/generateInterface.js\n(func $GASLIMIT (i64.store (i32.add (get_global $sp) (i32.const 32)) (call $getBlockGasLimit))\n\n ;; zero out mem\n (i64.store (i32.add (get_global $sp) (i32.const 56)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 48)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 40)) (i64.const 0)))", |
| 83 | + "wast": ";; generated by ./wasm/generateInterface.js\n(func $GASLIMIT (i64.store (i32.add (get_global $sp) (i32.const 32)) (call $getBlockGasLimit))\n ;; zero out mem\n (i64.store (i32.add (get_global $sp) (i32.const 56)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 48)) (i64.const 0))\n (i64.store (i32.add (get_global $sp) (i32.const 40)) (i64.const 0)))", |
84 | 84 | "imports": "(import \"ethereum\" \"getBlockGasLimit\" (func $getBlockGasLimit (result i64)))" |
85 | 85 | }, |
86 | 86 | "CREATE": { |
|
0 commit comments