git.delta.rocks / unique-network / refs/commits / fb3fa28b0be8

difftreelog

source

tests/src/eth/nonFungibleAbi.json17.5 KiBsourcehistory
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    "name": "MintingFinished",56    "type": "event"57  },58  {59    "anonymous": false,60    "inputs": [61      {62        "indexed": true,63        "internalType": "address",64        "name": "from",65        "type": "address"66      },67      {68        "indexed": true,69        "internalType": "address",70        "name": "to",71        "type": "address"72      },73      {74        "indexed": true,75        "internalType": "uint256",76        "name": "tokenId",77        "type": "uint256"78      }79    ],80    "name": "Transfer",81    "type": "event"82  },83  {84    "inputs": [85      { "internalType": "address", "name": "newAdmin", "type": "address" }86    ],87    "name": "addCollectionAdmin",88    "outputs": [],89    "stateMutability": "nonpayable",90    "type": "function"91  },92  {93    "inputs": [94      { "internalType": "uint256", "name": "newAdmin", "type": "uint256" }95    ],96    "name": "addCollectionAdminSubstrate",97    "outputs": [],98    "stateMutability": "nonpayable",99    "type": "function"100  },101  {102    "inputs": [103      { "internalType": "address", "name": "user", "type": "address" }104    ],105    "name": "addToCollectionAllowList",106    "outputs": [],107    "stateMutability": "nonpayable",108    "type": "function"109  },110  {111    "inputs": [112      { "internalType": "uint256", "name": "user", "type": "uint256" }113    ],114    "name": "addToCollectionAllowListSubstrate",115    "outputs": [],116    "stateMutability": "nonpayable",117    "type": "function"118  },119  {120    "inputs": [121      { "internalType": "address", "name": "user", "type": "address" }122    ],123    "name": "allowed",124    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],125    "stateMutability": "view",126    "type": "function"127  },128  {129    "inputs": [130      { "internalType": "address", "name": "approved", "type": "address" },131      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }132    ],133    "name": "approve",134    "outputs": [],135    "stateMutability": "nonpayable",136    "type": "function"137  },138  {139    "inputs": [140      { "internalType": "address", "name": "owner", "type": "address" }141    ],142    "name": "balanceOf",143    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],144    "stateMutability": "view",145    "type": "function"146  },147  {148    "inputs": [149      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }150    ],151    "name": "burn",152    "outputs": [],153    "stateMutability": "nonpayable",154    "type": "function"155  },156  {157    "inputs": [158      { "internalType": "address", "name": "from", "type": "address" },159      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }160    ],161    "name": "burnFrom",162    "outputs": [],163    "stateMutability": "nonpayable",164    "type": "function"165  },166  {167    "inputs": [],168    "name": "collectionOwner",169    "outputs": [170      {171        "components": [172          { "internalType": "address", "name": "field_0", "type": "address" },173          { "internalType": "uint256", "name": "field_1", "type": "uint256" }174        ],175        "internalType": "struct Tuple17",176        "name": "",177        "type": "tuple"178      }179    ],180    "stateMutability": "view",181    "type": "function"182  },183  {184    "inputs": [{ "internalType": "string", "name": "key", "type": "string" }],185    "name": "collectionProperty",186    "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],187    "stateMutability": "view",188    "type": "function"189  },190  {191    "inputs": [],192    "name": "confirmCollectionSponsorship",193    "outputs": [],194    "stateMutability": "nonpayable",195    "type": "function"196  },197  {198    "inputs": [],199    "name": "contractAddress",200    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],201    "stateMutability": "view",202    "type": "function"203  },204  {205    "inputs": [{ "internalType": "string", "name": "key", "type": "string" }],206    "name": "deleteCollectionProperty",207    "outputs": [],208    "stateMutability": "nonpayable",209    "type": "function"210  },211  {212    "inputs": [213      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },214      { "internalType": "string", "name": "key", "type": "string" }215    ],216    "name": "deleteProperty",217    "outputs": [],218    "stateMutability": "nonpayable",219    "type": "function"220  },221  {222    "inputs": [],223    "name": "finishMinting",224    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],225    "stateMutability": "nonpayable",226    "type": "function"227  },228  {229    "inputs": [230      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }231    ],232    "name": "getApproved",233    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],234    "stateMutability": "view",235    "type": "function"236  },237  {238    "inputs": [],239    "name": "getCollectionSponsor",240    "outputs": [241      {242        "components": [243          { "internalType": "address", "name": "field_0", "type": "address" },244          { "internalType": "uint256", "name": "field_1", "type": "uint256" }245        ],246        "internalType": "struct Tuple17",247        "name": "",248        "type": "tuple"249      }250    ],251    "stateMutability": "view",252    "type": "function"253  },254  {255    "inputs": [],256    "name": "hasCollectionPendingSponsor",257    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],258    "stateMutability": "view",259    "type": "function"260  },261  {262    "inputs": [263      { "internalType": "address", "name": "owner", "type": "address" },264      { "internalType": "address", "name": "operator", "type": "address" }265    ],266    "name": "isApprovedForAll",267    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],268    "stateMutability": "view",269    "type": "function"270  },271  {272    "inputs": [273      { "internalType": "address", "name": "user", "type": "address" }274    ],275    "name": "isOwnerOrAdmin",276    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],277    "stateMutability": "view",278    "type": "function"279  },280  {281    "inputs": [282      { "internalType": "uint256", "name": "user", "type": "uint256" }283    ],284    "name": "isOwnerOrAdminSubstrate",285    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],286    "stateMutability": "view",287    "type": "function"288  },289  {290    "inputs": [291      { "internalType": "address", "name": "to", "type": "address" },292      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }293    ],294    "name": "mint",295    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],296    "stateMutability": "nonpayable",297    "type": "function"298  },299  {300    "inputs": [301      { "internalType": "address", "name": "to", "type": "address" },302      { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" }303    ],304    "name": "mintBulk",305    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],306    "stateMutability": "nonpayable",307    "type": "function"308  },309  {310    "inputs": [311      { "internalType": "address", "name": "to", "type": "address" },312      {313        "components": [314          { "internalType": "uint256", "name": "field_0", "type": "uint256" },315          { "internalType": "string", "name": "field_1", "type": "string" }316        ],317        "internalType": "struct Tuple8[]",318        "name": "tokens",319        "type": "tuple[]"320      }321    ],322    "name": "mintBulkWithTokenURI",323    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],324    "stateMutability": "nonpayable",325    "type": "function"326  },327  {328    "inputs": [329      { "internalType": "address", "name": "to", "type": "address" },330      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },331      { "internalType": "string", "name": "tokenUri", "type": "string" }332    ],333    "name": "mintWithTokenURI",334    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],335    "stateMutability": "nonpayable",336    "type": "function"337  },338  {339    "inputs": [],340    "name": "mintingFinished",341    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],342    "stateMutability": "view",343    "type": "function"344  },345  {346    "inputs": [],347    "name": "name",348    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],349    "stateMutability": "view",350    "type": "function"351  },352  {353    "inputs": [],354    "name": "nextTokenId",355    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],356    "stateMutability": "view",357    "type": "function"358  },359  {360    "inputs": [361      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }362    ],363    "name": "ownerOf",364    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],365    "stateMutability": "view",366    "type": "function"367  },368  {369    "inputs": [370      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },371      { "internalType": "string", "name": "key", "type": "string" }372    ],373    "name": "property",374    "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],375    "stateMutability": "view",376    "type": "function"377  },378  {379    "inputs": [380      { "internalType": "address", "name": "admin", "type": "address" }381    ],382    "name": "removeCollectionAdmin",383    "outputs": [],384    "stateMutability": "nonpayable",385    "type": "function"386  },387  {388    "inputs": [389      { "internalType": "uint256", "name": "admin", "type": "uint256" }390    ],391    "name": "removeCollectionAdminSubstrate",392    "outputs": [],393    "stateMutability": "nonpayable",394    "type": "function"395  },396  {397    "inputs": [],398    "name": "removeCollectionSponsor",399    "outputs": [],400    "stateMutability": "nonpayable",401    "type": "function"402  },403  {404    "inputs": [405      { "internalType": "address", "name": "user", "type": "address" }406    ],407    "name": "removeFromCollectionAllowList",408    "outputs": [],409    "stateMutability": "nonpayable",410    "type": "function"411  },412  {413    "inputs": [414      { "internalType": "uint256", "name": "user", "type": "uint256" }415    ],416    "name": "removeFromCollectionAllowListSubstrate",417    "outputs": [],418    "stateMutability": "nonpayable",419    "type": "function"420  },421  {422    "inputs": [423      { "internalType": "address", "name": "from", "type": "address" },424      { "internalType": "address", "name": "to", "type": "address" },425      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }426    ],427    "name": "safeTransferFrom",428    "outputs": [],429    "stateMutability": "nonpayable",430    "type": "function"431  },432  {433    "inputs": [434      { "internalType": "address", "name": "from", "type": "address" },435      { "internalType": "address", "name": "to", "type": "address" },436      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },437      { "internalType": "bytes", "name": "data", "type": "bytes" }438    ],439    "name": "safeTransferFrom",440    "outputs": [],441    "stateMutability": "nonpayable",442    "type": "function"443  },444  {445    "inputs": [446      { "internalType": "address", "name": "operator", "type": "address" },447      { "internalType": "bool", "name": "approved", "type": "bool" }448    ],449    "name": "setApprovalForAll",450    "outputs": [],451    "stateMutability": "nonpayable",452    "type": "function"453  },454  {455    "inputs": [{ "internalType": "uint8", "name": "mode", "type": "uint8" }],456    "name": "setCollectionAccess",457    "outputs": [],458    "stateMutability": "nonpayable",459    "type": "function"460  },461  {462    "inputs": [463      { "internalType": "string", "name": "limit", "type": "string" },464      { "internalType": "uint32", "name": "value", "type": "uint32" }465    ],466    "name": "setCollectionLimit",467    "outputs": [],468    "stateMutability": "nonpayable",469    "type": "function"470  },471  {472    "inputs": [473      { "internalType": "string", "name": "limit", "type": "string" },474      { "internalType": "bool", "name": "value", "type": "bool" }475    ],476    "name": "setCollectionLimit",477    "outputs": [],478    "stateMutability": "nonpayable",479    "type": "function"480  },481  {482    "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }],483    "name": "setCollectionMintMode",484    "outputs": [],485    "stateMutability": "nonpayable",486    "type": "function"487  },488  {489    "inputs": [{ "internalType": "bool", "name": "enable", "type": "bool" }],490    "name": "setCollectionNesting",491    "outputs": [],492    "stateMutability": "nonpayable",493    "type": "function"494  },495  {496    "inputs": [497      { "internalType": "bool", "name": "enable", "type": "bool" },498      {499        "internalType": "address[]",500        "name": "collections",501        "type": "address[]"502      }503    ],504    "name": "setCollectionNesting",505    "outputs": [],506    "stateMutability": "nonpayable",507    "type": "function"508  },509  {510    "inputs": [511      { "internalType": "string", "name": "key", "type": "string" },512      { "internalType": "bytes", "name": "value", "type": "bytes" }513    ],514    "name": "setCollectionProperty",515    "outputs": [],516    "stateMutability": "nonpayable",517    "type": "function"518  },519  {520    "inputs": [521      { "internalType": "address", "name": "sponsor", "type": "address" }522    ],523    "name": "setCollectionSponsor",524    "outputs": [],525    "stateMutability": "nonpayable",526    "type": "function"527  },528  {529    "inputs": [530      { "internalType": "uint256", "name": "sponsor", "type": "uint256" }531    ],532    "name": "setCollectionSponsorSubstrate",533    "outputs": [],534    "stateMutability": "nonpayable",535    "type": "function"536  },537  {538    "inputs": [539      { "internalType": "address", "name": "newOwner", "type": "address" }540    ],541    "name": "setOwner",542    "outputs": [],543    "stateMutability": "nonpayable",544    "type": "function"545  },546  {547    "inputs": [548      { "internalType": "uint256", "name": "newOwner", "type": "uint256" }549    ],550    "name": "setOwnerSubstrate",551    "outputs": [],552    "stateMutability": "nonpayable",553    "type": "function"554  },555  {556    "inputs": [557      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },558      { "internalType": "string", "name": "key", "type": "string" },559      { "internalType": "bytes", "name": "value", "type": "bytes" }560    ],561    "name": "setProperty",562    "outputs": [],563    "stateMutability": "nonpayable",564    "type": "function"565  },566  {567    "inputs": [568      { "internalType": "string", "name": "key", "type": "string" },569      { "internalType": "bool", "name": "isMutable", "type": "bool" },570      { "internalType": "bool", "name": "collectionAdmin", "type": "bool" },571      { "internalType": "bool", "name": "tokenOwner", "type": "bool" }572    ],573    "name": "setTokenPropertyPermission",574    "outputs": [],575    "stateMutability": "nonpayable",576    "type": "function"577  },578  {579    "inputs": [580      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }581    ],582    "name": "supportsInterface",583    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],584    "stateMutability": "view",585    "type": "function"586  },587  {588    "inputs": [],589    "name": "symbol",590    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],591    "stateMutability": "view",592    "type": "function"593  },594  {595    "inputs": [596      { "internalType": "uint256", "name": "index", "type": "uint256" }597    ],598    "name": "tokenByIndex",599    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],600    "stateMutability": "view",601    "type": "function"602  },603  {604    "inputs": [605      { "internalType": "address", "name": "owner", "type": "address" },606      { "internalType": "uint256", "name": "index", "type": "uint256" }607    ],608    "name": "tokenOfOwnerByIndex",609    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],610    "stateMutability": "view",611    "type": "function"612  },613  {614    "inputs": [615      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }616    ],617    "name": "tokenURI",618    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],619    "stateMutability": "view",620    "type": "function"621  },622  {623    "inputs": [],624    "name": "totalSupply",625    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],626    "stateMutability": "view",627    "type": "function"628  },629  {630    "inputs": [631      { "internalType": "address", "name": "to", "type": "address" },632      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }633    ],634    "name": "transfer",635    "outputs": [],636    "stateMutability": "nonpayable",637    "type": "function"638  },639  {640    "inputs": [641      { "internalType": "address", "name": "from", "type": "address" },642      { "internalType": "address", "name": "to", "type": "address" },643      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }644    ],645    "name": "transferFrom",646    "outputs": [],647    "stateMutability": "nonpayable",648    "type": "function"649  },650  {651    "inputs": [],652    "name": "uniqueCollectionType",653    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],654    "stateMutability": "nonpayable",655    "type": "function"656  }657]