github.com/diadata-org/diadata@v1.4.593/pkg/dia/scraper/exchange-scrapers/maverick/position/position.abi (about)

     1  [
     2      {
     3          "anonymous": false,
     4          "inputs": [
     5              {
     6                  "indexed": true,
     7                  "internalType": "address",
     8                  "name": "owner",
     9                  "type": "address"
    10              },
    11              {
    12                  "indexed": true,
    13                  "internalType": "address",
    14                  "name": "approved",
    15                  "type": "address"
    16              },
    17              {
    18                  "indexed": true,
    19                  "internalType": "uint256",
    20                  "name": "tokenId",
    21                  "type": "uint256"
    22              }
    23          ],
    24          "name": "Approval",
    25          "type": "event"
    26      },
    27      {
    28          "anonymous": false,
    29          "inputs": [
    30              {
    31                  "indexed": true,
    32                  "internalType": "address",
    33                  "name": "owner",
    34                  "type": "address"
    35              },
    36              {
    37                  "indexed": true,
    38                  "internalType": "address",
    39                  "name": "operator",
    40                  "type": "address"
    41              },
    42              {
    43                  "indexed": false,
    44                  "internalType": "bool",
    45                  "name": "approved",
    46                  "type": "bool"
    47              }
    48          ],
    49          "name": "ApprovalForAll",
    50          "type": "event"
    51      },
    52      {
    53          "anonymous": false,
    54          "inputs": [
    55              {
    56                  "indexed": false,
    57                  "internalType": "contract IPositionMetadata",
    58                  "name": "metadata",
    59                  "type": "address"
    60              }
    61          ],
    62          "name": "SetMetadata",
    63          "type": "event"
    64      },
    65      {
    66          "anonymous": false,
    67          "inputs": [
    68              {
    69                  "indexed": true,
    70                  "internalType": "address",
    71                  "name": "from",
    72                  "type": "address"
    73              },
    74              {
    75                  "indexed": true,
    76                  "internalType": "address",
    77                  "name": "to",
    78                  "type": "address"
    79              },
    80              {
    81                  "indexed": true,
    82                  "internalType": "uint256",
    83                  "name": "tokenId",
    84                  "type": "uint256"
    85              }
    86          ],
    87          "name": "Transfer",
    88          "type": "event"
    89      },
    90      {
    91          "inputs": [
    92              {
    93                  "internalType": "address",
    94                  "name": "to",
    95                  "type": "address"
    96              },
    97              {
    98                  "internalType": "uint256",
    99                  "name": "tokenId",
   100                  "type": "uint256"
   101              }
   102          ],
   103          "name": "approve",
   104          "outputs": [],
   105          "stateMutability": "nonpayable",
   106          "type": "function"
   107      },
   108      {
   109          "inputs": [
   110              {
   111                  "internalType": "address",
   112                  "name": "owner",
   113                  "type": "address"
   114              }
   115          ],
   116          "name": "balanceOf",
   117          "outputs": [
   118              {
   119                  "internalType": "uint256",
   120                  "name": "balance",
   121                  "type": "uint256"
   122              }
   123          ],
   124          "stateMutability": "view",
   125          "type": "function"
   126      },
   127      {
   128          "inputs": [
   129              {
   130                  "internalType": "uint256",
   131                  "name": "tokenId",
   132                  "type": "uint256"
   133              }
   134          ],
   135          "name": "getApproved",
   136          "outputs": [
   137              {
   138                  "internalType": "address",
   139                  "name": "operator",
   140                  "type": "address"
   141              }
   142          ],
   143          "stateMutability": "view",
   144          "type": "function"
   145      },
   146      {
   147          "inputs": [
   148              {
   149                  "internalType": "address",
   150                  "name": "owner",
   151                  "type": "address"
   152              },
   153              {
   154                  "internalType": "address",
   155                  "name": "operator",
   156                  "type": "address"
   157              }
   158          ],
   159          "name": "isApprovedForAll",
   160          "outputs": [
   161              {
   162                  "internalType": "bool",
   163                  "name": "",
   164                  "type": "bool"
   165              }
   166          ],
   167          "stateMutability": "view",
   168          "type": "function"
   169      },
   170      {
   171          "inputs": [
   172              {
   173                  "internalType": "address",
   174                  "name": "to",
   175                  "type": "address"
   176              }
   177          ],
   178          "name": "mint",
   179          "outputs": [
   180              {
   181                  "internalType": "uint256",
   182                  "name": "tokenId",
   183                  "type": "uint256"
   184              }
   185          ],
   186          "stateMutability": "nonpayable",
   187          "type": "function"
   188      },
   189      {
   190          "inputs": [
   191              {
   192                  "internalType": "uint256",
   193                  "name": "tokenId",
   194                  "type": "uint256"
   195              }
   196          ],
   197          "name": "ownerOf",
   198          "outputs": [
   199              {
   200                  "internalType": "address",
   201                  "name": "owner",
   202                  "type": "address"
   203              }
   204          ],
   205          "stateMutability": "view",
   206          "type": "function"
   207      },
   208      {
   209          "inputs": [
   210              {
   211                  "internalType": "address",
   212                  "name": "from",
   213                  "type": "address"
   214              },
   215              {
   216                  "internalType": "address",
   217                  "name": "to",
   218                  "type": "address"
   219              },
   220              {
   221                  "internalType": "uint256",
   222                  "name": "tokenId",
   223                  "type": "uint256"
   224              }
   225          ],
   226          "name": "safeTransferFrom",
   227          "outputs": [],
   228          "stateMutability": "nonpayable",
   229          "type": "function"
   230      },
   231      {
   232          "inputs": [
   233              {
   234                  "internalType": "address",
   235                  "name": "from",
   236                  "type": "address"
   237              },
   238              {
   239                  "internalType": "address",
   240                  "name": "to",
   241                  "type": "address"
   242              },
   243              {
   244                  "internalType": "uint256",
   245                  "name": "tokenId",
   246                  "type": "uint256"
   247              },
   248              {
   249                  "internalType": "bytes",
   250                  "name": "data",
   251                  "type": "bytes"
   252              }
   253          ],
   254          "name": "safeTransferFrom",
   255          "outputs": [],
   256          "stateMutability": "nonpayable",
   257          "type": "function"
   258      },
   259      {
   260          "inputs": [
   261              {
   262                  "internalType": "address",
   263                  "name": "operator",
   264                  "type": "address"
   265              },
   266              {
   267                  "internalType": "bool",
   268                  "name": "_approved",
   269                  "type": "bool"
   270              }
   271          ],
   272          "name": "setApprovalForAll",
   273          "outputs": [],
   274          "stateMutability": "nonpayable",
   275          "type": "function"
   276      },
   277      {
   278          "inputs": [
   279              {
   280                  "internalType": "bytes4",
   281                  "name": "interfaceId",
   282                  "type": "bytes4"
   283              }
   284          ],
   285          "name": "supportsInterface",
   286          "outputs": [
   287              {
   288                  "internalType": "bool",
   289                  "name": "",
   290                  "type": "bool"
   291              }
   292          ],
   293          "stateMutability": "view",
   294          "type": "function"
   295      },
   296      {
   297          "inputs": [
   298              {
   299                  "internalType": "uint256",
   300                  "name": "index",
   301                  "type": "uint256"
   302              }
   303          ],
   304          "name": "tokenByIndex",
   305          "outputs": [
   306              {
   307                  "internalType": "uint256",
   308                  "name": "",
   309                  "type": "uint256"
   310              }
   311          ],
   312          "stateMutability": "view",
   313          "type": "function"
   314      },
   315      {
   316          "inputs": [
   317              {
   318                  "internalType": "address",
   319                  "name": "owner",
   320                  "type": "address"
   321              },
   322              {
   323                  "internalType": "uint256",
   324                  "name": "index",
   325                  "type": "uint256"
   326              }
   327          ],
   328          "name": "tokenOfOwnerByIndex",
   329          "outputs": [
   330              {
   331                  "internalType": "uint256",
   332                  "name": "",
   333                  "type": "uint256"
   334              }
   335          ],
   336          "stateMutability": "view",
   337          "type": "function"
   338      },
   339      {
   340          "inputs": [
   341              {
   342                  "internalType": "address",
   343                  "name": "owner",
   344                  "type": "address"
   345              },
   346              {
   347                  "internalType": "uint256",
   348                  "name": "index",
   349                  "type": "uint256"
   350              }
   351          ],
   352          "name": "tokenOfOwnerByIndexExists",
   353          "outputs": [
   354              {
   355                  "internalType": "bool",
   356                  "name": "",
   357                  "type": "bool"
   358              }
   359          ],
   360          "stateMutability": "view",
   361          "type": "function"
   362      },
   363      {
   364          "inputs": [],
   365          "name": "totalSupply",
   366          "outputs": [
   367              {
   368                  "internalType": "uint256",
   369                  "name": "",
   370                  "type": "uint256"
   371              }
   372          ],
   373          "stateMutability": "view",
   374          "type": "function"
   375      },
   376      {
   377          "inputs": [
   378              {
   379                  "internalType": "address",
   380                  "name": "from",
   381                  "type": "address"
   382              },
   383              {
   384                  "internalType": "address",
   385                  "name": "to",
   386                  "type": "address"
   387              },
   388              {
   389                  "internalType": "uint256",
   390                  "name": "tokenId",
   391                  "type": "uint256"
   392              }
   393          ],
   394          "name": "transferFrom",
   395          "outputs": [],
   396          "stateMutability": "nonpayable",
   397          "type": "function"
   398      }
   399  ]