public static List<Type> decode(String rawInput, List<TypeReference<Type>> outputParameters) {
        return decoder.decodeFunctionResult(rawInput, outputParameters);
    }
@Test
    public void testDecodeMultipleDynamicStaticNestedStructs() {
        String rawInput =
                "0000000000000000000000000000000000000000000000000000000000000240"
                        + "000000000000000000000000000000000000000000000000000000000000007b"
                        + "000000000000000000000000000000000000000000000000000000000000007b"
                        + "000000000000000000000000000000000000000000000000000000000000007b"
                        + "000000000000000000000000000000000000000000000000000000000000007b"
                        + "00000000000000000000000000000000000000000000000000000000000004d1"
                        + "0000000000000000000000000000000000000000000000000000000000000079"
                        + "0000000000000000000000000000000000000000000000000000000000000002"
                        + "0000000000000000000000000000000000000000000000000000000000000340"
                        + "0000000000000000000000000000000000000000000000000000000000000400"
                        + "00000000000000000000000000000000000000000000000000000000000004d1"
                        + "0000000000000000000000000000000000000000000000000000000000000079"
                        + "0000000000000000000000000000000000000000000000000000000000000002"
                        + "0000000000000000000000000000000000000000000000000000000000000500"
                        + "00000000000000000000000000000000000000000000000000000000000005a0"
                        + "00000000000000000000000000000000000000000000000000000000000004d1"
                        + "0000000000000000000000000000000000000000000000000000000000000079"
                        + "0000000000000000000000000000000000000000000000000000000000000002"
                        + "0000000000000000000000000000000000000000000000000000000000000020"
                        + "0000000000000000000000000000000000000000000000000000000000000020"
                        + "0000000000000000000000000000000000000000000000000000000000000040"
                        + "0000000000000000000000000000000000000000000000000000000000000080"
                        + "0000000000000000000000000000000000000000000000000000000000000001"
                        + "3400000000000000000000000000000000000000000000000000000000000000"
                        + "0000000000000000000000000000000000000000000000000000000000000009"
                        + "6e6573746564466f6f0000000000000000000000000000000000000000000000"
                        + "0000000000000000000000000000000000000000000000000000000000000040"
                        + "0000000000000000000000000000000000000000000000000000000000000080"
                        + "0000000000000000000000000000000000000000000000000000000000000004"
                        + "6861686100000000000000000000000000000000000000000000000000000000"
                        + "0000000000000000000000000000000000000000000000000000000000000004"
                        + "686f686f00000000000000000000000000000000000000000000000000000000"
                        + "0000000000000000000000000000000000000000000000000000000000000020"
                        + "0000000000000000000000000000000000000000000000000000000000000020"
                        + "0000000000000000000000000000000000000000000000000000000000000040"
                        + "0000000000000000000000000000000000000000000000000000000000000080"
                        + "0000000000000000000000000000000000000000000000000000000000000001"
                        + "3400000000000000000000000000000000000000000000000000000000000000"
                        + "0000000000000000000000000000000000000000000000000000000000000009"
                        + "6e6573746564466f6f0000000000000000000000000000000000000000000000"
                        + "0000000000000000000000000000000000000000000000000000000000000020"
                        + "0000000000000000000000000000000000000000000000000000000000000040"
                        + "0000000000000000000000000000000000000000000000000000000000000060"
                        + "0000000000000000000000000000000000000000000000000000000000000000"
                        + "0000000000000000000000000000000000000000000000000000000000000000"
                        + "0000000000000000000000000000000000000000000000000000000000000040"
                        + "0000000000000000000000000000000000000000000000000000000000000080"
                        + "0000000000000000000000000000000000000000000000000000000000000004"
                        + "6861686100000000000000000000000000000000000000000000000000000000"
                        + "0000000000000000000000000000000000000000000000000000000000000004"
                        + "686f686f00000000000000000000000000000000000000000000000000000000";

        assertEquals(
                FunctionReturnDecoder.decode(
                        rawInput,
                        AbiV2TestFixture.getNarBarBarFuzzFooNarFuzzNuuFooFuzzFunction
                                .getOutputParameters()),
                Arrays.asList(
                        new AbiV2TestFixture.Nar(
                                new AbiV2TestFixture.Nuu(
                                        new AbiV2TestFixture.Foo("4", "nestedFoo"))),
                        new AbiV2TestFixture.Bar(BigInteger.valueOf(123), BigInteger.valueOf(123)),
                        new AbiV2TestFixture.Bar(BigInteger.valueOf(123), BigInteger.valueOf(123)),
                        new AbiV2TestFixture.Fuzz(
                                new AbiV2TestFixture.Bar(
                                        BigInteger.valueOf(1233), BigInteger.valueOf(121)),
                                BigInteger.valueOf(2)),
                        new AbiV2TestFixture.Foo("haha", "hoho"),
                        new AbiV2TestFixture.Nar(
                                new AbiV2TestFixture.Nuu(
                                        new AbiV2TestFixture.Foo("4", "nestedFoo"))),
                        new AbiV2TestFixture.Fuzz(
                                new AbiV2TestFixture.Bar(
                                        BigInteger.valueOf(1233), BigInteger.valueOf(121)),
                                BigInteger.valueOf(2)),
                        new AbiV2TestFixture.Nuu(new AbiV2TestFixture.Foo("", "")),
                        new AbiV2TestFixture.Foo("haha", "hoho"),
                        new AbiV2TestFixture.Fuzz(
                                new AbiV2TestFixture.Bar(
                                        BigInteger.valueOf(1233), BigInteger.valueOf(121)),
                                BigInteger.valueOf(2))));
    }