LCOV - code coverage report
Current view: top level - crypto/evm/entities/abi/erc - erc721_contract.dart (source / functions) Coverage Total Hit
Test: lcov.info Lines: 0.0 % 1 0
Test Date: 2025-01-30 01:10:00 Functions: - 0 0

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

Generated by: LCOV version 2.0-1