### Question:
WasmEventEncoder { public static String encode(WasmEvent event) { return encodeString(event.getName()); } private  WasmEventEncoder(); static String encode(WasmEvent event); static String encodeIndexParameter(Object o);  }### Answer:
@Test public void encodeWasmEvent() { WasmEvent event = new WasmEvent("nameAndAddr", Arrays.asList(), Arrays.asList(new WasmEventParameter(Int8[].class) , new WasmEventParameter(List.class, new com.platon.rlp.ParameterizedTypeImpl( new java.lang.reflect.Type[] {com.platon.rlp.datatypes.Int8.class}, java.util.List.class, java.util.List.class)) , new WasmEventParameter(Int8[].class))); String result = WasmEventEncoder.encode(event); assertThat(result, is("0x0000000000000000000000000000000000000000006e616d65416e6441646472")); }