git.delta.rocks / unique-network / refs/commits / 0335e511ccbf

difftreelog

source

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