github.com/nspcc-dev/neo-go@v0.105.2-0.20240517133400-6be757af3eba/cli/smartcontract/testdata/nameservice/nns.manifest.json (about)

     1        {
     2           "abi" : {
     3              "events" : [
     4                 {
     5                    "parameters" : [
     6                       {
     7                          "name" : "from",
     8                          "type" : "Hash160"
     9                       },
    10                       {
    11                          "name" : "to",
    12                          "type" : "Hash160"
    13                       },
    14                       {
    15                          "name" : "amount",
    16                          "type" : "Integer"
    17                       },
    18                       {
    19                          "type" : "ByteArray",
    20                          "name" : "tokenId"
    21                       }
    22                    ],
    23                    "name" : "Transfer"
    24                 },
    25                 {
    26                    "parameters" : [
    27                       {
    28                          "type" : "String",
    29                          "name" : "name"
    30                       },
    31                       {
    32                          "type" : "Hash160",
    33                          "name" : "oldAdmin"
    34                       },
    35                       {
    36                          "type" : "Hash160",
    37                          "name" : "newAdmin"
    38                       }
    39                    ],
    40                    "name" : "SetAdmin"
    41                 },
    42                 {
    43                    "name" : "Renew",
    44                    "parameters" : [
    45                       {
    46                          "name" : "name",
    47                          "type" : "String"
    48                       },
    49                       {
    50                          "type" : "Integer",
    51                          "name" : "oldExpiration"
    52                       },
    53                       {
    54                          "name" : "newExpiration",
    55                          "type" : "Integer"
    56                       }
    57                    ]
    58                 }
    59              ],
    60              "methods" : [
    61                 {
    62                    "safe" : true,
    63                    "parameters" : [],
    64                    "name" : "symbol",
    65                    "returntype" : "String",
    66                    "offset" : 0
    67                 },
    68                 {
    69                    "parameters" : [],
    70                    "name" : "decimals",
    71                    "returntype" : "Integer",
    72                    "safe" : true,
    73                    "offset" : 6
    74                 },
    75                 {
    76                    "offset" : 8,
    77                    "returntype" : "Integer",
    78                    "name" : "totalSupply",
    79                    "parameters" : [],
    80                    "safe" : true
    81                 },
    82                 {
    83                    "offset" : 53,
    84                    "safe" : true,
    85                    "parameters" : [
    86                       {
    87                          "type" : "ByteArray",
    88                          "name" : "tokenId"
    89                       }
    90                    ],
    91                    "name" : "ownerOf",
    92                    "returntype" : "Hash160"
    93                 },
    94                 {
    95                    "safe" : true,
    96                    "name" : "properties",
    97                    "returntype" : "Map",
    98                    "parameters" : [
    99                       {
   100                          "type" : "ByteArray",
   101                          "name" : "tokenId"
   102                       }
   103                    ],
   104                    "offset" : 184
   105                 },
   106                 {
   107                    "safe" : true,
   108                    "returntype" : "Integer",
   109                    "name" : "balanceOf",
   110                    "parameters" : [
   111                       {
   112                          "name" : "owner",
   113                          "type" : "Hash160"
   114                       }
   115                    ],
   116                    "offset" : 341
   117                 },
   118                 {
   119                    "safe" : true,
   120                    "returntype" : "InteropInterface",
   121                    "name" : "tokens",
   122                    "parameters" : [],
   123                    "offset" : 453
   124                 },
   125                 {
   126                    "safe" : true,
   127                    "name" : "tokensOf",
   128                    "returntype" : "InteropInterface",
   129                    "parameters" : [
   130                       {
   131                          "name" : "owner",
   132                          "type" : "Hash160"
   133                       }
   134                    ],
   135                    "offset" : 494
   136                 },
   137                 {
   138                    "offset" : 600,
   139                    "safe" : false,
   140                    "parameters" : [
   141                       {
   142                          "type" : "Hash160",
   143                          "name" : "to"
   144                       },
   145                       {
   146                          "name" : "tokenId",
   147                          "type" : "ByteArray"
   148                       },
   149                       {
   150                          "name" : "data",
   151                          "type" : "Any"
   152                       }
   153                    ],
   154                    "name" : "transfer",
   155                    "returntype" : "Boolean"
   156                 },
   157                 {
   158                    "name" : "update",
   159                    "returntype" : "Void",
   160                    "parameters" : [
   161                       {
   162                          "type" : "ByteArray",
   163                          "name" : "nef"
   164                       },
   165                       {
   166                          "name" : "manifest",
   167                          "type" : "String"
   168                       }
   169                    ],
   170                    "safe" : false,
   171                    "offset" : 1121
   172                 },
   173                 {
   174                    "offset" : 1291,
   175                    "returntype" : "Void",
   176                    "name" : "addRoot",
   177                    "parameters" : [
   178                       {
   179                          "name" : "root",
   180                          "type" : "String"
   181                       }
   182                    ],
   183                    "safe" : false
   184                 },
   185                 {
   186                    "offset" : 1725,
   187                    "safe" : true,
   188                    "parameters" : [],
   189                    "returntype" : "InteropInterface",
   190                    "name" : "roots"
   191                 },
   192                 {
   193                    "offset" : 1757,
   194                    "parameters" : [
   195                       {
   196                          "type" : "Array",
   197                          "name" : "priceList"
   198                       }
   199                    ],
   200                    "name" : "setPrice",
   201                    "returntype" : "Void",
   202                    "safe" : false
   203                 },
   204                 {
   205                    "offset" : 1952,
   206                    "safe" : true,
   207                    "parameters" : [
   208                       {
   209                          "name" : "length",
   210                          "type" : "Integer"
   211                       }
   212                    ],
   213                    "name" : "getPrice",
   214                    "returntype" : "Integer"
   215                 },
   216                 {
   217                    "offset" : 2017,
   218                    "safe" : true,
   219                    "parameters" : [
   220                       {
   221                          "type" : "String",
   222                          "name" : "name"
   223                       }
   224                    ],
   225                    "name" : "isAvailable",
   226                    "returntype" : "Boolean"
   227                 },
   228                 {
   229                    "offset" : 2405,
   230                    "parameters" : [
   231                       {
   232                          "type" : "String",
   233                          "name" : "name"
   234                       },
   235                       {
   236                          "type" : "Hash160",
   237                          "name" : "owner"
   238                       }
   239                    ],
   240                    "name" : "register",
   241                    "returntype" : "Boolean",
   242                    "safe" : false
   243                 },
   244                 {
   245                    "name" : "renew",
   246                    "returntype" : "Integer",
   247                    "parameters" : [
   248                       {
   249                          "type" : "String",
   250                          "name" : "name"
   251                       }
   252                    ],
   253                    "safe" : false,
   254                    "offset" : 3113
   255                 },
   256                 {
   257                    "offset" : 3123,
   258                    "safe" : false,
   259                    "parameters" : [
   260                       {
   261                          "name" : "name",
   262                          "type" : "String"
   263                       },
   264                       {
   265                          "name" : "years",
   266                          "type" : "Integer"
   267                       }
   268                    ],
   269                    "name" : "renew",
   270                    "returntype" : "Integer"
   271                 },
   272                 {
   273                    "offset" : 3697,
   274                    "parameters" : [
   275                       {
   276                          "type" : "String",
   277                          "name" : "name"
   278                       },
   279                       {
   280                          "name" : "admin",
   281                          "type" : "Hash160"
   282                       }
   283                    ],
   284                    "name" : "setAdmin",
   285                    "returntype" : "Void",
   286                    "safe" : false
   287                 },
   288                 {
   289                    "safe" : false,
   290                    "returntype" : "Void",
   291                    "name" : "setRecord",
   292                    "parameters" : [
   293                       {
   294                          "name" : "name",
   295                          "type" : "String"
   296                       },
   297                       {
   298                          "type" : "Integer",
   299                          "name" : "type"
   300                       },
   301                       {
   302                          "name" : "data",
   303                          "type" : "String"
   304                       }
   305                    ],
   306                    "offset" : 3921
   307                 },
   308                 {
   309                    "name" : "getRecord",
   310                    "returntype" : "String",
   311                    "parameters" : [
   312                       {
   313                          "name" : "name",
   314                          "type" : "String"
   315                       },
   316                       {
   317                          "type" : "Integer",
   318                          "name" : "type"
   319                       }
   320                    ],
   321                    "safe" : true,
   322                    "offset" : 5877
   323                 },
   324                 {
   325                    "returntype" : "InteropInterface",
   326                    "name" : "getAllRecords",
   327                    "parameters" : [
   328                       {
   329                          "name" : "name",
   330                          "type" : "String"
   331                       }
   332                    ],
   333                    "safe" : true,
   334                    "offset" : 6201
   335                 },
   336                 {
   337                    "safe" : false,
   338                    "returntype" : "Void",
   339                    "name" : "deleteRecord",
   340                    "parameters" : [
   341                       {
   342                          "name" : "name",
   343                          "type" : "String"
   344                       },
   345                       {
   346                          "type" : "Integer",
   347                          "name" : "type"
   348                       }
   349                    ],
   350                    "offset" : 6281
   351                 },
   352                 {
   353                    "offset" : 6565,
   354                    "name" : "resolve",
   355                    "returntype" : "String",
   356                    "parameters" : [
   357                       {
   358                          "name" : "name",
   359                          "type" : "String"
   360                       },
   361                       {
   362                          "type" : "Integer",
   363                          "name" : "type"
   364                       }
   365                    ],
   366                    "safe" : true
   367                 },
   368                 {
   369                    "safe" : false,
   370                    "parameters" : [
   371                       {
   372                          "name" : "data",
   373                          "type" : "Any"
   374                       },
   375                       {
   376                          "name" : "update",
   377                          "type" : "Boolean"
   378                       }
   379                    ],
   380                    "name" : "_deploy",
   381                    "returntype" : "Void",
   382                    "offset" : 7152
   383                 },
   384                 {
   385                    "offset" : 7514,
   386                    "parameters" : [],
   387                    "returntype" : "Void",
   388                    "name" : "_initialize",
   389                    "safe" : false
   390                 }
   391              ]
   392           },
   393           "supportedstandards" : [
   394              "NEP-11"
   395           ],
   396           "permissions" : [
   397              {
   398                 "contract" : "0x726cb6e0cd8628a1350a611384688911ab75f51b",
   399                 "methods" : [
   400                    "ripemd160"
   401                 ]
   402              },
   403              {
   404                 "contract" : "0xacce6fd80d44e1796aa0c2c625e9e4e0ce39efc0",
   405                 "methods" : [
   406                    "atoi",
   407                    "deserialize",
   408                    "serialize",
   409                    "stringSplit"
   410                 ]
   411              },
   412              {
   413                 "contract" : "0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5",
   414                 "methods" : [
   415                    "getCommittee"
   416                 ]
   417              },
   418              {
   419                 "contract" : "0xfffdc93764dbaddd97c48f252a53ea4643faa3fd",
   420                 "methods" : [
   421                    "getContract",
   422                    "update"
   423                 ]
   424              },
   425              {
   426                 "methods" : [
   427                    "onNEP11Payment"
   428                 ],
   429                 "contract" : "*"
   430              }
   431           ],
   432           "features" : {},
   433           "name" : "NameService",
   434           "trusts" : [],
   435           "extra" : {
   436              "Author" : "The Neo Project",
   437              "Description" : "Neo Name Service",
   438              "Email" : "dev@neo.org"
   439           },
   440           "groups" : []
   441        }