github.com/iotexproject/iotex-core@v1.14.1-rc1/ioctl/cmd/ws/wsproject.json (about)

     1  [
     2  	{
     3  		"inputs": [],
     4  		"stateMutability": "nonpayable",
     5  		"type": "constructor"
     6  	},
     7  	{
     8  		"inputs": [
     9  			{
    10  				"internalType": "address",
    11  				"name": "sender",
    12  				"type": "address"
    13  			},
    14  			{
    15  				"internalType": "uint256",
    16  				"name": "tokenId",
    17  				"type": "uint256"
    18  			},
    19  			{
    20  				"internalType": "address",
    21  				"name": "owner",
    22  				"type": "address"
    23  			}
    24  		],
    25  		"name": "ERC721IncorrectOwner",
    26  		"type": "error"
    27  	},
    28  	{
    29  		"inputs": [
    30  			{
    31  				"internalType": "address",
    32  				"name": "operator",
    33  				"type": "address"
    34  			},
    35  			{
    36  				"internalType": "uint256",
    37  				"name": "tokenId",
    38  				"type": "uint256"
    39  			}
    40  		],
    41  		"name": "ERC721InsufficientApproval",
    42  		"type": "error"
    43  	},
    44  	{
    45  		"inputs": [
    46  			{
    47  				"internalType": "address",
    48  				"name": "approver",
    49  				"type": "address"
    50  			}
    51  		],
    52  		"name": "ERC721InvalidApprover",
    53  		"type": "error"
    54  	},
    55  	{
    56  		"inputs": [
    57  			{
    58  				"internalType": "address",
    59  				"name": "operator",
    60  				"type": "address"
    61  			}
    62  		],
    63  		"name": "ERC721InvalidOperator",
    64  		"type": "error"
    65  	},
    66  	{
    67  		"inputs": [
    68  			{
    69  				"internalType": "address",
    70  				"name": "owner",
    71  				"type": "address"
    72  			}
    73  		],
    74  		"name": "ERC721InvalidOwner",
    75  		"type": "error"
    76  	},
    77  	{
    78  		"inputs": [
    79  			{
    80  				"internalType": "address",
    81  				"name": "receiver",
    82  				"type": "address"
    83  			}
    84  		],
    85  		"name": "ERC721InvalidReceiver",
    86  		"type": "error"
    87  	},
    88  	{
    89  		"inputs": [
    90  			{
    91  				"internalType": "address",
    92  				"name": "sender",
    93  				"type": "address"
    94  			}
    95  		],
    96  		"name": "ERC721InvalidSender",
    97  		"type": "error"
    98  	},
    99  	{
   100  		"inputs": [
   101  			{
   102  				"internalType": "uint256",
   103  				"name": "tokenId",
   104  				"type": "uint256"
   105  			}
   106  		],
   107  		"name": "ERC721NonexistentToken",
   108  		"type": "error"
   109  	},
   110  	{
   111  		"inputs": [],
   112  		"name": "ReentrancyGuardReentrantCall",
   113  		"type": "error"
   114  	},
   115  	{
   116  		"anonymous": false,
   117  		"inputs": [
   118  			{
   119  				"indexed": true,
   120  				"internalType": "address",
   121  				"name": "owner",
   122  				"type": "address"
   123  			},
   124  			{
   125  				"indexed": true,
   126  				"internalType": "address",
   127  				"name": "approved",
   128  				"type": "address"
   129  			},
   130  			{
   131  				"indexed": true,
   132  				"internalType": "uint256",
   133  				"name": "tokenId",
   134  				"type": "uint256"
   135  			}
   136  		],
   137  		"name": "Approval",
   138  		"type": "event"
   139  	},
   140  	{
   141  		"anonymous": false,
   142  		"inputs": [
   143  			{
   144  				"indexed": true,
   145  				"internalType": "address",
   146  				"name": "owner",
   147  				"type": "address"
   148  			},
   149  			{
   150  				"indexed": true,
   151  				"internalType": "address",
   152  				"name": "operator",
   153  				"type": "address"
   154  			},
   155  			{
   156  				"indexed": false,
   157  				"internalType": "bool",
   158  				"name": "approved",
   159  				"type": "bool"
   160  			}
   161  		],
   162  		"name": "ApprovalForAll",
   163  		"type": "event"
   164  	},
   165  	{
   166  		"anonymous": false,
   167  		"inputs": [
   168  			{
   169  				"indexed": true,
   170  				"internalType": "uint64",
   171  				"name": "projectId",
   172  				"type": "uint64"
   173  			},
   174  			{
   175  				"indexed": true,
   176  				"internalType": "address",
   177  				"name": "operator",
   178  				"type": "address"
   179  			}
   180  		],
   181  		"name": "OperatorAdded",
   182  		"type": "event"
   183  	},
   184  	{
   185  		"anonymous": false,
   186  		"inputs": [
   187  			{
   188  				"indexed": true,
   189  				"internalType": "uint64",
   190  				"name": "projectId",
   191  				"type": "uint64"
   192  			},
   193  			{
   194  				"indexed": true,
   195  				"internalType": "address",
   196  				"name": "operator",
   197  				"type": "address"
   198  			}
   199  		],
   200  		"name": "OperatorRemoved",
   201  		"type": "event"
   202  	},
   203  	{
   204  		"anonymous": false,
   205  		"inputs": [
   206  			{
   207  				"indexed": true,
   208  				"internalType": "uint64",
   209  				"name": "projectId",
   210  				"type": "uint64"
   211  			}
   212  		],
   213  		"name": "ProjectPaused",
   214  		"type": "event"
   215  	},
   216  	{
   217  		"anonymous": false,
   218  		"inputs": [
   219  			{
   220  				"indexed": true,
   221  				"internalType": "uint64",
   222  				"name": "projectId",
   223  				"type": "uint64"
   224  			}
   225  		],
   226  		"name": "ProjectUnpaused",
   227  		"type": "event"
   228  	},
   229  	{
   230  		"anonymous": false,
   231  		"inputs": [
   232  			{
   233  				"indexed": true,
   234  				"internalType": "uint64",
   235  				"name": "projectId",
   236  				"type": "uint64"
   237  			},
   238  			{
   239  				"indexed": false,
   240  				"internalType": "string",
   241  				"name": "uri",
   242  				"type": "string"
   243  			},
   244  			{
   245  				"indexed": false,
   246  				"internalType": "bytes32",
   247  				"name": "hash",
   248  				"type": "bytes32"
   249  			}
   250  		],
   251  		"name": "ProjectUpserted",
   252  		"type": "event"
   253  	},
   254  	{
   255  		"anonymous": false,
   256  		"inputs": [
   257  			{
   258  				"indexed": true,
   259  				"internalType": "address",
   260  				"name": "from",
   261  				"type": "address"
   262  			},
   263  			{
   264  				"indexed": true,
   265  				"internalType": "address",
   266  				"name": "to",
   267  				"type": "address"
   268  			},
   269  			{
   270  				"indexed": true,
   271  				"internalType": "uint256",
   272  				"name": "tokenId",
   273  				"type": "uint256"
   274  			}
   275  		],
   276  		"name": "Transfer",
   277  		"type": "event"
   278  	},
   279  	{
   280  		"inputs": [
   281  			{
   282  				"internalType": "uint64",
   283  				"name": "_projectId",
   284  				"type": "uint64"
   285  			},
   286  			{
   287  				"internalType": "address",
   288  				"name": "_operator",
   289  				"type": "address"
   290  			}
   291  		],
   292  		"name": "addOperator",
   293  		"outputs": [],
   294  		"stateMutability": "nonpayable",
   295  		"type": "function"
   296  	},
   297  	{
   298  		"inputs": [
   299  			{
   300  				"internalType": "address",
   301  				"name": "to",
   302  				"type": "address"
   303  			},
   304  			{
   305  				"internalType": "uint256",
   306  				"name": "tokenId",
   307  				"type": "uint256"
   308  			}
   309  		],
   310  		"name": "approve",
   311  		"outputs": [],
   312  		"stateMutability": "nonpayable",
   313  		"type": "function"
   314  	},
   315  	{
   316  		"inputs": [
   317  			{
   318  				"internalType": "address",
   319  				"name": "owner",
   320  				"type": "address"
   321  			}
   322  		],
   323  		"name": "balanceOf",
   324  		"outputs": [
   325  			{
   326  				"internalType": "uint256",
   327  				"name": "",
   328  				"type": "uint256"
   329  			}
   330  		],
   331  		"stateMutability": "view",
   332  		"type": "function"
   333  	},
   334  	{
   335  		"inputs": [
   336  			{
   337  				"internalType": "address",
   338  				"name": "_operator",
   339  				"type": "address"
   340  			},
   341  			{
   342  				"internalType": "uint64",
   343  				"name": "_projectId",
   344  				"type": "uint64"
   345  			}
   346  		],
   347  		"name": "canOperateProject",
   348  		"outputs": [
   349  			{
   350  				"internalType": "bool",
   351  				"name": "",
   352  				"type": "bool"
   353  			}
   354  		],
   355  		"stateMutability": "view",
   356  		"type": "function"
   357  	},
   358  	{
   359  		"inputs": [
   360  			{
   361  				"internalType": "string",
   362  				"name": "_uri",
   363  				"type": "string"
   364  			},
   365  			{
   366  				"internalType": "bytes32",
   367  				"name": "_hash",
   368  				"type": "bytes32"
   369  			}
   370  		],
   371  		"name": "createProject",
   372  		"outputs": [],
   373  		"stateMutability": "nonpayable",
   374  		"type": "function"
   375  	},
   376  	{
   377  		"inputs": [
   378  			{
   379  				"internalType": "uint256",
   380  				"name": "tokenId",
   381  				"type": "uint256"
   382  			}
   383  		],
   384  		"name": "getApproved",
   385  		"outputs": [
   386  			{
   387  				"internalType": "address",
   388  				"name": "",
   389  				"type": "address"
   390  			}
   391  		],
   392  		"stateMutability": "view",
   393  		"type": "function"
   394  	},
   395  	{
   396  		"inputs": [
   397  			{
   398  				"internalType": "address",
   399  				"name": "owner",
   400  				"type": "address"
   401  			},
   402  			{
   403  				"internalType": "address",
   404  				"name": "operator",
   405  				"type": "address"
   406  			}
   407  		],
   408  		"name": "isApprovedForAll",
   409  		"outputs": [
   410  			{
   411  				"internalType": "bool",
   412  				"name": "",
   413  				"type": "bool"
   414  			}
   415  		],
   416  		"stateMutability": "view",
   417  		"type": "function"
   418  	},
   419  	{
   420  		"inputs": [],
   421  		"name": "name",
   422  		"outputs": [
   423  			{
   424  				"internalType": "string",
   425  				"name": "",
   426  				"type": "string"
   427  			}
   428  		],
   429  		"stateMutability": "view",
   430  		"type": "function"
   431  	},
   432  	{
   433  		"inputs": [
   434  			{
   435  				"internalType": "uint256",
   436  				"name": "tokenId",
   437  				"type": "uint256"
   438  			}
   439  		],
   440  		"name": "ownerOf",
   441  		"outputs": [
   442  			{
   443  				"internalType": "address",
   444  				"name": "",
   445  				"type": "address"
   446  			}
   447  		],
   448  		"stateMutability": "view",
   449  		"type": "function"
   450  	},
   451  	{
   452  		"inputs": [
   453  			{
   454  				"internalType": "uint64",
   455  				"name": "_projectId",
   456  				"type": "uint64"
   457  			}
   458  		],
   459  		"name": "pauseProject",
   460  		"outputs": [],
   461  		"stateMutability": "nonpayable",
   462  		"type": "function"
   463  	},
   464  	{
   465  		"inputs": [
   466  			{
   467  				"internalType": "uint64",
   468  				"name": "",
   469  				"type": "uint64"
   470  			}
   471  		],
   472  		"name": "projects",
   473  		"outputs": [
   474  			{
   475  				"internalType": "string",
   476  				"name": "uri",
   477  				"type": "string"
   478  			},
   479  			{
   480  				"internalType": "bytes32",
   481  				"name": "hash",
   482  				"type": "bytes32"
   483  			},
   484  			{
   485  				"internalType": "bool",
   486  				"name": "paused",
   487  				"type": "bool"
   488  			}
   489  		],
   490  		"stateMutability": "view",
   491  		"type": "function"
   492  	},
   493  	{
   494  		"inputs": [
   495  			{
   496  				"internalType": "uint64",
   497  				"name": "_projectId",
   498  				"type": "uint64"
   499  			},
   500  			{
   501  				"internalType": "address",
   502  				"name": "_operator",
   503  				"type": "address"
   504  			}
   505  		],
   506  		"name": "removeOperator",
   507  		"outputs": [],
   508  		"stateMutability": "nonpayable",
   509  		"type": "function"
   510  	},
   511  	{
   512  		"inputs": [
   513  			{
   514  				"internalType": "address",
   515  				"name": "from",
   516  				"type": "address"
   517  			},
   518  			{
   519  				"internalType": "address",
   520  				"name": "to",
   521  				"type": "address"
   522  			},
   523  			{
   524  				"internalType": "uint256",
   525  				"name": "tokenId",
   526  				"type": "uint256"
   527  			}
   528  		],
   529  		"name": "safeTransferFrom",
   530  		"outputs": [],
   531  		"stateMutability": "nonpayable",
   532  		"type": "function"
   533  	},
   534  	{
   535  		"inputs": [
   536  			{
   537  				"internalType": "address",
   538  				"name": "from",
   539  				"type": "address"
   540  			},
   541  			{
   542  				"internalType": "address",
   543  				"name": "to",
   544  				"type": "address"
   545  			},
   546  			{
   547  				"internalType": "uint256",
   548  				"name": "tokenId",
   549  				"type": "uint256"
   550  			},
   551  			{
   552  				"internalType": "bytes",
   553  				"name": "data",
   554  				"type": "bytes"
   555  			}
   556  		],
   557  		"name": "safeTransferFrom",
   558  		"outputs": [],
   559  		"stateMutability": "nonpayable",
   560  		"type": "function"
   561  	},
   562  	{
   563  		"inputs": [
   564  			{
   565  				"internalType": "address",
   566  				"name": "operator",
   567  				"type": "address"
   568  			},
   569  			{
   570  				"internalType": "bool",
   571  				"name": "approved",
   572  				"type": "bool"
   573  			}
   574  		],
   575  		"name": "setApprovalForAll",
   576  		"outputs": [],
   577  		"stateMutability": "nonpayable",
   578  		"type": "function"
   579  	},
   580  	{
   581  		"inputs": [
   582  			{
   583  				"internalType": "bytes4",
   584  				"name": "interfaceId",
   585  				"type": "bytes4"
   586  			}
   587  		],
   588  		"name": "supportsInterface",
   589  		"outputs": [
   590  			{
   591  				"internalType": "bool",
   592  				"name": "",
   593  				"type": "bool"
   594  			}
   595  		],
   596  		"stateMutability": "view",
   597  		"type": "function"
   598  	},
   599  	{
   600  		"inputs": [],
   601  		"name": "symbol",
   602  		"outputs": [
   603  			{
   604  				"internalType": "string",
   605  				"name": "",
   606  				"type": "string"
   607  			}
   608  		],
   609  		"stateMutability": "view",
   610  		"type": "function"
   611  	},
   612  	{
   613  		"inputs": [
   614  			{
   615  				"internalType": "uint256",
   616  				"name": "tokenId",
   617  				"type": "uint256"
   618  			}
   619  		],
   620  		"name": "tokenURI",
   621  		"outputs": [
   622  			{
   623  				"internalType": "string",
   624  				"name": "",
   625  				"type": "string"
   626  			}
   627  		],
   628  		"stateMutability": "view",
   629  		"type": "function"
   630  	},
   631  	{
   632  		"inputs": [
   633  			{
   634  				"internalType": "address",
   635  				"name": "from",
   636  				"type": "address"
   637  			},
   638  			{
   639  				"internalType": "address",
   640  				"name": "to",
   641  				"type": "address"
   642  			},
   643  			{
   644  				"internalType": "uint256",
   645  				"name": "tokenId",
   646  				"type": "uint256"
   647  			}
   648  		],
   649  		"name": "transferFrom",
   650  		"outputs": [],
   651  		"stateMutability": "nonpayable",
   652  		"type": "function"
   653  	},
   654  	{
   655  		"inputs": [
   656  			{
   657  				"internalType": "uint64",
   658  				"name": "_projectId",
   659  				"type": "uint64"
   660  			}
   661  		],
   662  		"name": "unpauseProject",
   663  		"outputs": [],
   664  		"stateMutability": "nonpayable",
   665  		"type": "function"
   666  	},
   667  	{
   668  		"inputs": [
   669  			{
   670  				"internalType": "uint64",
   671  				"name": "_projectId",
   672  				"type": "uint64"
   673  			},
   674  			{
   675  				"internalType": "string",
   676  				"name": "_uri",
   677  				"type": "string"
   678  			},
   679  			{
   680  				"internalType": "bytes32",
   681  				"name": "_hash",
   682  				"type": "bytes32"
   683  			}
   684  		],
   685  		"name": "updateProject",
   686  		"outputs": [],
   687  		"stateMutability": "nonpayable",
   688  		"type": "function"
   689  	}
   690  ]