github.com/n1ghtfa1l/go-vnt@v0.6.4-alpha.6/core/wavm/tests/precompile/wasm/main7.json (about)

     1  [{
     2          "name": "test",
     3          "constant": false,
     4          "inputs": [],
     5          "outputs": [],
     6          "type": "constructor"
     7      },
     8      {
     9          "name": "testRead",
    10          "constant": false,
    11          "inputs": [],
    12          "outputs": [{
    13              "name": "output",
    14              "type": "string",
    15              "indexed": false
    16          }],
    17          "type": "function"
    18      },
    19      {
    20          "name": "testReadStructE",
    21          "constant": false,
    22          "inputs": [],
    23          "outputs": [{
    24              "name": "output",
    25              "type": "string",
    26              "indexed": false
    27          }],
    28          "type": "function"
    29      },
    30      {
    31          "name": "testReadStructF",
    32          "constant": false,
    33          "inputs": [],
    34          "outputs": [{
    35              "name": "output",
    36              "type": "address",
    37              "indexed": false
    38          }],
    39          "type": "function"
    40      },
    41      {
    42          "name": "testReadMapStructA",
    43          "constant": false,
    44          "inputs": [{
    45              "name": "key",
    46              "type": "string",
    47              "indexed": false
    48          }],
    49          "outputs": [{
    50              "name": "output",
    51              "type": "int32",
    52              "indexed": false
    53          }],
    54          "type": "function"
    55      },
    56      {
    57          "name": "testReadMapStructC",
    58          "constant": false,
    59          "inputs": [{
    60              "name": "key",
    61              "type": "string",
    62              "indexed": false
    63          }],
    64          "outputs": [{
    65              "name": "output",
    66              "type": "uint32",
    67              "indexed": false
    68          }],
    69          "type": "function"
    70      },
    71      {
    72          "name": "testReadStructD",
    73          "constant": false,
    74          "inputs": [],
    75          "outputs": [{
    76              "name": "output",
    77              "type": "uint64",
    78              "indexed": false
    79          }],
    80          "type": "function"
    81      },
    82      {
    83          "name": "testWriteMapStruct",
    84          "constant": false,
    85          "inputs": [{
    86                  "name": "key",
    87                  "type": "string",
    88                  "indexed": false
    89              },
    90              {
    91                  "name": "a",
    92                  "type": "int32",
    93                  "indexed": false
    94              },
    95              {
    96                  "name": "b",
    97                  "type": "int64",
    98                  "indexed": false
    99              },
   100              {
   101                  "name": "c",
   102                  "type": "uint32",
   103                  "indexed": false
   104              },
   105              {
   106                  "name": "d",
   107                  "type": "uint64",
   108                  "indexed": false
   109              },
   110              {
   111                  "name": "e",
   112                  "type": "string",
   113                  "indexed": false
   114              },
   115              {
   116                  "name": "f",
   117                  "type": "address",
   118                  "indexed": false
   119              },
   120              {
   121                  "name": "g",
   122                  "type": "bool",
   123                  "indexed": false
   124              }
   125          ],
   126          "outputs": [{
   127              "name": "output",
   128              "type": "int32",
   129              "indexed": false
   130          }],
   131          "type": "function"
   132      },
   133      {
   134          "name": "testReadMapStructB",
   135          "constant": false,
   136          "inputs": [{
   137              "name": "key",
   138              "type": "string",
   139              "indexed": false
   140          }],
   141          "outputs": [{
   142              "name": "output",
   143              "type": "int64",
   144              "indexed": false
   145          }],
   146          "type": "function"
   147      },
   148      {
   149          "name": "testArrayWrite",
   150          "constant": false,
   151          "inputs": [{
   152              "name": "length",
   153              "type": "uint64",
   154              "indexed": false
   155          }],
   156          "outputs": [{
   157              "name": "output",
   158              "type": "string",
   159              "indexed": false
   160          }],
   161          "type": "function"
   162      },
   163      {
   164          "name": "testArrayRead",
   165          "constant": false,
   166          "inputs": [{
   167              "name": "index",
   168              "type": "uint64",
   169              "indexed": false
   170          }],
   171          "outputs": [{
   172              "name": "output",
   173              "type": "address",
   174              "indexed": false
   175          }],
   176          "type": "function"
   177      },
   178      {
   179          "name": "testWriteStruct",
   180          "constant": false,
   181          "inputs": [{
   182                  "name": "a",
   183                  "type": "int32",
   184                  "indexed": false
   185              },
   186              {
   187                  "name": "b",
   188                  "type": "int64",
   189                  "indexed": false
   190              },
   191              {
   192                  "name": "c",
   193                  "type": "uint32",
   194                  "indexed": false
   195              },
   196              {
   197                  "name": "d",
   198                  "type": "uint64",
   199                  "indexed": false
   200              },
   201              {
   202                  "name": "e",
   203                  "type": "string",
   204                  "indexed": false
   205              },
   206              {
   207                  "name": "f",
   208                  "type": "address",
   209                  "indexed": false
   210              },
   211              {
   212                  "name": "g",
   213                  "type": "bool",
   214                  "indexed": false
   215              }
   216          ],
   217          "outputs": [{
   218              "name": "output",
   219              "type": "int32",
   220              "indexed": false
   221          }],
   222          "type": "function"
   223      },
   224      {
   225          "name": "testReadStructA",
   226          "constant": false,
   227          "inputs": [],
   228          "outputs": [{
   229              "name": "output",
   230              "type": "int32",
   231              "indexed": false
   232          }],
   233          "type": "function"
   234      },
   235      {
   236          "name": "testReadStructB",
   237          "constant": false,
   238          "inputs": [],
   239          "outputs": [{
   240              "name": "output",
   241              "type": "int64",
   242              "indexed": false
   243          }],
   244          "type": "function"
   245      },
   246      {
   247          "name": "testWrite",
   248          "constant": false,
   249          "inputs": [],
   250          "outputs": [{
   251              "name": "output",
   252              "type": "int32",
   253              "indexed": false
   254          }],
   255          "type": "function"
   256      },
   257      {
   258          "name": "testReadStructC",
   259          "constant": false,
   260          "inputs": [],
   261          "outputs": [{
   262              "name": "output",
   263              "type": "uint32",
   264              "indexed": false
   265          }],
   266          "type": "function"
   267      },
   268      {
   269          "name": "testReadMapStructE",
   270          "constant": false,
   271          "inputs": [{
   272              "name": "key",
   273              "type": "string",
   274              "indexed": false
   275          }],
   276          "outputs": [{
   277              "name": "output",
   278              "type": "string",
   279              "indexed": false
   280          }],
   281          "type": "function"
   282      },
   283      {
   284          "name": "testReadStructG",
   285          "constant": false,
   286          "inputs": [],
   287          "outputs": [{
   288              "name": "output",
   289              "type": "bool",
   290              "indexed": false
   291          }],
   292          "type": "function"
   293      },
   294      {
   295          "name": "testReadMapStructD",
   296          "constant": false,
   297          "inputs": [{
   298              "name": "key",
   299              "type": "string",
   300              "indexed": false
   301          }],
   302          "outputs": [{
   303              "name": "output",
   304              "type": "uint64",
   305              "indexed": false
   306          }],
   307          "type": "function"
   308      },
   309      {
   310          "name": "testReadMapStructF",
   311          "constant": false,
   312          "inputs": [{
   313              "name": "key",
   314              "type": "string",
   315              "indexed": false
   316          }],
   317          "outputs": [{
   318              "name": "output",
   319              "type": "address",
   320              "indexed": false
   321          }],
   322          "type": "function"
   323      },
   324      {
   325          "name": "testReadMapStructG",
   326          "constant": false,
   327          "inputs": [{
   328              "name": "key",
   329              "type": "string",
   330              "indexed": false
   331          }],
   332          "outputs": [{
   333              "name": "output",
   334              "type": "bool",
   335              "indexed": false
   336          }],
   337          "type": "function"
   338      },
   339      {
   340          "name": "testEVENT",
   341          "anonymous": false,
   342          "inputs": [{
   343                  "name": "addr",
   344                  "type": "address",
   345                  "indexed": false
   346              },
   347              {
   348                  "name": "amount",
   349                  "type": "uint64",
   350                  "indexed": false
   351              },
   352              {
   353                  "name": "a",
   354                  "type": "int32",
   355                  "indexed": false
   356              },
   357              {
   358                  "name": "b",
   359                  "type": "int64",
   360                  "indexed": false
   361              },
   362              {
   363                  "name": "c",
   364                  "type": "uint32",
   365                  "indexed": false
   366              },
   367              {
   368                  "name": "d",
   369                  "type": "uint64",
   370                  "indexed": false
   371              },
   372              {
   373                  "name": "e",
   374                  "type": "string",
   375                  "indexed": false
   376              },
   377              {
   378                  "name": "f",
   379                  "type": "address",
   380                  "indexed": false
   381              },
   382              {
   383                  "name": "g",
   384                  "type": "bool",
   385                  "indexed": false
   386              }
   387          ],
   388          "type": "event"
   389      },
   390      {
   391          "name": "testCALL",
   392          "constant": false,
   393          "inputs": [{
   394                  "name": "addr",
   395                  "type": "address",
   396                  "indexed": false
   397              },
   398              {
   399                  "name": "amount",
   400                  "type": "uint64",
   401                  "indexed": false
   402              },
   403              {
   404                  "name": "a",
   405                  "type": "int32",
   406                  "indexed": false
   407              },
   408              {
   409                  "name": "b",
   410                  "type": "int64",
   411                  "indexed": false
   412              },
   413              {
   414                  "name": "c",
   415                  "type": "uint32",
   416                  "indexed": false
   417              },
   418              {
   419                  "name": "d",
   420                  "type": "uint64",
   421                  "indexed": false
   422              },
   423              {
   424                  "name": "e",
   425                  "type": "string",
   426                  "indexed": false
   427              },
   428              {
   429                  "name": "f",
   430                  "type": "address",
   431                  "indexed": false
   432              },
   433              {
   434                  "name": "g",
   435                  "type": "bool",
   436                  "indexed": false
   437              }
   438          ],
   439          "outputs": [{
   440              "name": "output",
   441              "type": "int32",
   442              "indexed": false
   443          }],
   444          "type": "call"
   445      }
   446  ]