git.delta.rocks / unique-network / refs/commits / 690118c8eab3

difftreelog

source

tests/src/eth/nonFungibleAbi.json20.2 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      {95        "components": [96          { "internalType": "address", "name": "field_0", "type": "address" },97          { "internalType": "uint256", "name": "field_1", "type": "uint256" }98        ],99        "internalType": "struct Tuple6",100        "name": "newAdmin",101        "type": "tuple"102      }103    ],104    "name": "addCollectionAdminCross",105    "outputs": [],106    "stateMutability": "nonpayable",107    "type": "function"108  },109  {110    "inputs": [111      { "internalType": "address", "name": "user", "type": "address" }112    ],113    "name": "addToCollectionAllowList",114    "outputs": [],115    "stateMutability": "nonpayable",116    "type": "function"117  },118  {119    "inputs": [120      {121        "components": [122          { "internalType": "address", "name": "field_0", "type": "address" },123          { "internalType": "uint256", "name": "field_1", "type": "uint256" }124        ],125        "internalType": "struct Tuple6",126        "name": "user",127        "type": "tuple"128      }129    ],130    "name": "addToCollectionAllowListCross",131    "outputs": [],132    "stateMutability": "nonpayable",133    "type": "function"134  },135  {136    "inputs": [137      { "internalType": "address", "name": "user", "type": "address" }138    ],139    "name": "allowed",140    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],141    "stateMutability": "view",142    "type": "function"143  },144  {145    "inputs": [146      { "internalType": "address", "name": "approved", "type": "address" },147      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }148    ],149    "name": "approve",150    "outputs": [],151    "stateMutability": "nonpayable",152    "type": "function"153  },154  {155    "inputs": [156      {157        "components": [158          { "internalType": "address", "name": "field_0", "type": "address" },159          { "internalType": "uint256", "name": "field_1", "type": "uint256" }160        ],161        "internalType": "struct Tuple6",162        "name": "approved",163        "type": "tuple"164      },165      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }166    ],167    "name": "approveCross",168    "outputs": [],169    "stateMutability": "nonpayable",170    "type": "function"171  },172  {173    "inputs": [174      { "internalType": "address", "name": "owner", "type": "address" }175    ],176    "name": "balanceOf",177    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],178    "stateMutability": "view",179    "type": "function"180  },181  {182    "inputs": [183      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }184    ],185    "name": "burn",186    "outputs": [],187    "stateMutability": "nonpayable",188    "type": "function"189  },190  {191    "inputs": [192      { "internalType": "address", "name": "from", "type": "address" },193      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }194    ],195    "name": "burnFrom",196    "outputs": [],197    "stateMutability": "nonpayable",198    "type": "function"199  },200  {201    "inputs": [202      {203        "components": [204          { "internalType": "address", "name": "field_0", "type": "address" },205          { "internalType": "uint256", "name": "field_1", "type": "uint256" }206        ],207        "internalType": "struct Tuple6",208        "name": "from",209        "type": "tuple"210      },211      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }212    ],213    "name": "burnFromCross",214    "outputs": [],215    "stateMutability": "nonpayable",216    "type": "function"217  },218  {219    "inputs": [220      { "internalType": "address", "name": "newOwner", "type": "address" }221    ],222    "name": "changeCollectionOwner",223    "outputs": [],224    "stateMutability": "nonpayable",225    "type": "function"226  },227  {228    "inputs": [],229    "name": "collectionAdmins",230    "outputs": [231      {232        "components": [233          { "internalType": "address", "name": "field_0", "type": "address" },234          { "internalType": "uint256", "name": "field_1", "type": "uint256" }235        ],236        "internalType": "struct Tuple6[]",237        "name": "",238        "type": "tuple[]"239      }240    ],241    "stateMutability": "view",242    "type": "function"243  },244  {245    "inputs": [],246    "name": "collectionOwner",247    "outputs": [248      {249        "components": [250          { "internalType": "address", "name": "field_0", "type": "address" },251          { "internalType": "uint256", "name": "field_1", "type": "uint256" }252        ],253        "internalType": "struct Tuple6",254        "name": "",255        "type": "tuple"256      }257    ],258    "stateMutability": "view",259    "type": "function"260  },261  {262    "inputs": [{ "internalType": "string", "name": "key", "type": "string" }],263    "name": "collectionProperty",264    "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],265    "stateMutability": "view",266    "type": "function"267  },268  {269    "inputs": [],270    "name": "collectionSponsor",271    "outputs": [272      {273        "components": [274          { "internalType": "address", "name": "field_0", "type": "address" },275          { "internalType": "uint256", "name": "field_1", "type": "uint256" }276        ],277        "internalType": "struct Tuple6",278        "name": "",279        "type": "tuple"280      }281    ],282    "stateMutability": "view",283    "type": "function"284  },285  {286    "inputs": [],287    "name": "confirmCollectionSponsorship",288    "outputs": [],289    "stateMutability": "nonpayable",290    "type": "function"291  },292  {293    "inputs": [],294    "name": "contractAddress",295    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],296    "stateMutability": "view",297    "type": "function"298  },299  {300    "inputs": [{ "internalType": "string", "name": "key", "type": "string" }],301    "name": "deleteCollectionProperty",302    "outputs": [],303    "stateMutability": "nonpayable",304    "type": "function"305  },306  {307    "inputs": [308      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },309      { "internalType": "string", "name": "key", "type": "string" }310    ],311    "name": "deleteProperty",312    "outputs": [],313    "stateMutability": "nonpayable",314    "type": "function"315  },316  {317    "inputs": [],318    "name": "finishMinting",319    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],320    "stateMutability": "nonpayable",321    "type": "function"322  },323  {324    "inputs": [325      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }326    ],327    "name": "getApproved",328    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],329    "stateMutability": "view",330    "type": "function"331  },332  {333    "inputs": [],334    "name": "hasCollectionPendingSponsor",335    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],336    "stateMutability": "view",337    "type": "function"338  },339  {340    "inputs": [341      { "internalType": "address", "name": "owner", "type": "address" },342      { "internalType": "address", "name": "operator", "type": "address" }343    ],344    "name": "isApprovedForAll",345    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],346    "stateMutability": "view",347    "type": "function"348  },349  {350    "inputs": [351      { "internalType": "address", "name": "user", "type": "address" }352    ],353    "name": "isOwnerOrAdmin",354    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],355    "stateMutability": "view",356    "type": "function"357  },358  {359    "inputs": [360      {361        "components": [362          { "internalType": "address", "name": "field_0", "type": "address" },363          { "internalType": "uint256", "name": "field_1", "type": "uint256" }364        ],365        "internalType": "struct Tuple6",366        "name": "user",367        "type": "tuple"368      }369    ],370    "name": "isOwnerOrAdminCross",371    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],372    "stateMutability": "view",373    "type": "function"374  },375  {376    "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],377    "name": "mint",378    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],379    "stateMutability": "nonpayable",380    "type": "function"381  },382  {383    "inputs": [384      { "internalType": "address", "name": "to", "type": "address" },385      { "internalType": "string", "name": "tokenUri", "type": "string" }386    ],387    "name": "mintWithTokenURI",388    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],389    "stateMutability": "nonpayable",390    "type": "function"391  },392  {393    "inputs": [],394    "name": "mintingFinished",395    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],396    "stateMutability": "view",397    "type": "function"398  },399  {400    "inputs": [],401    "name": "name",402    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],403    "stateMutability": "view",404    "type": "function"405  },406  {407    "inputs": [],408    "name": "nextTokenId",409    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],410    "stateMutability": "view",411    "type": "function"412  },413  {414    "inputs": [415      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }416    ],417    "name": "ownerOf",418    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],419    "stateMutability": "view",420    "type": "function"421  },422  {423    "inputs": [424      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },425      { "internalType": "string", "name": "key", "type": "string" }426    ],427    "name": "property",428    "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],429    "stateMutability": "view",430    "type": "function"431  },432  {433    "inputs": [434      { "internalType": "address", "name": "admin", "type": "address" }435    ],436    "name": "removeCollectionAdmin",437    "outputs": [],438    "stateMutability": "nonpayable",439    "type": "function"440  },441  {442    "inputs": [443      {444        "components": [445          { "internalType": "address", "name": "field_0", "type": "address" },446          { "internalType": "uint256", "name": "field_1", "type": "uint256" }447        ],448        "internalType": "struct Tuple6",449        "name": "admin",450        "type": "tuple"451      }452    ],453    "name": "removeCollectionAdminCross",454    "outputs": [],455    "stateMutability": "nonpayable",456    "type": "function"457  },458  {459    "inputs": [],460    "name": "removeCollectionSponsor",461    "outputs": [],462    "stateMutability": "nonpayable",463    "type": "function"464  },465  {466    "inputs": [467      { "internalType": "address", "name": "user", "type": "address" }468    ],469    "name": "removeFromCollectionAllowList",470    "outputs": [],471    "stateMutability": "nonpayable",472    "type": "function"473  },474  {475    "inputs": [476      {477        "components": [478          { "internalType": "address", "name": "field_0", "type": "address" },479          { "internalType": "uint256", "name": "field_1", "type": "uint256" }480        ],481        "internalType": "struct Tuple6",482        "name": "user",483        "type": "tuple"484      }485    ],486    "name": "removeFromCollectionAllowListCross",487    "outputs": [],488    "stateMutability": "nonpayable",489    "type": "function"490  },491  {492    "inputs": [493      { "internalType": "address", "name": "from", "type": "address" },494      { "internalType": "address", "name": "to", "type": "address" },495      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }496    ],497    "name": "safeTransferFrom",498    "outputs": [],499    "stateMutability": "nonpayable",500    "type": "function"501  },502  {503    "inputs": [504      { "internalType": "address", "name": "from", "type": "address" },505      { "internalType": "address", "name": "to", "type": "address" },506      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },507      { "internalType": "bytes", "name": "data", "type": "bytes" }508    ],509    "name": "safeTransferFrom",510    "outputs": [],511    "stateMutability": "nonpayable",512    "type": "function"513  },514  {515    "inputs": [516      { "internalType": "address", "name": "operator", "type": "address" },517      { "internalType": "bool", "name": "approved", "type": "bool" }518    ],519    "name": "setApprovalForAll",520    "outputs": [],521    "stateMutability": "nonpayable",522    "type": "function"523  },524  {525    "inputs": [{ "internalType": "uint8", "name": "mode", "type": "uint8" }],526    "name": "setCollectionAccess",527    "outputs": [],528    "stateMutability": "nonpayable",529    "type": "function"530  },531  {532    "inputs": [533      { "internalType": "string", "name": "limit", "type": "string" },534      { "internalType": "uint32", "name": "value", "type": "uint32" }535    ],536    "name": "setCollectionLimit",537    "outputs": [],538    "stateMutability": "nonpayable",539    "type": "function"540  },541  {542    "inputs": [543      { "internalType": "string", "name": "limit", "type": "string" },544      { "internalType": "bool", "name": "value", "type": "bool" }545    ],546    "name": "setCollectionLimit",547    "outputs": [],548    "stateMutability": "nonpayable",549    "type": "function"550  },551  {552    "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }],553    "name": "setCollectionMintMode",554    "outputs": [],555    "stateMutability": "nonpayable",556    "type": "function"557  },558  {559    "inputs": [{ "internalType": "bool", "name": "enable", "type": "bool" }],560    "name": "setCollectionNesting",561    "outputs": [],562    "stateMutability": "nonpayable",563    "type": "function"564  },565  {566    "inputs": [567      { "internalType": "bool", "name": "enable", "type": "bool" },568      {569        "internalType": "address[]",570        "name": "collections",571        "type": "address[]"572      }573    ],574    "name": "setCollectionNesting",575    "outputs": [],576    "stateMutability": "nonpayable",577    "type": "function"578  },579  {580    "inputs": [581      { "internalType": "string", "name": "key", "type": "string" },582      { "internalType": "bytes", "name": "value", "type": "bytes" }583    ],584    "name": "setCollectionProperty",585    "outputs": [],586    "stateMutability": "nonpayable",587    "type": "function"588  },589  {590    "inputs": [591      { "internalType": "address", "name": "sponsor", "type": "address" }592    ],593    "name": "setCollectionSponsor",594    "outputs": [],595    "stateMutability": "nonpayable",596    "type": "function"597  },598  {599    "inputs": [600      {601        "components": [602          { "internalType": "address", "name": "field_0", "type": "address" },603          { "internalType": "uint256", "name": "field_1", "type": "uint256" }604        ],605        "internalType": "struct Tuple6",606        "name": "sponsor",607        "type": "tuple"608      }609    ],610    "name": "setCollectionSponsorCross",611    "outputs": [],612    "stateMutability": "nonpayable",613    "type": "function"614  },615  {616    "inputs": [617      {618        "components": [619          { "internalType": "address", "name": "field_0", "type": "address" },620          { "internalType": "uint256", "name": "field_1", "type": "uint256" }621        ],622        "internalType": "struct Tuple6",623        "name": "newOwner",624        "type": "tuple"625      }626    ],627    "name": "setOwnerCross",628    "outputs": [],629    "stateMutability": "nonpayable",630    "type": "function"631  },632  {633    "inputs": [634      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },635      { "internalType": "string", "name": "key", "type": "string" },636      { "internalType": "bytes", "name": "value", "type": "bytes" }637    ],638    "name": "setProperty",639    "outputs": [],640    "stateMutability": "nonpayable",641    "type": "function"642  },643  {644    "inputs": [645      { "internalType": "string", "name": "key", "type": "string" },646      { "internalType": "bool", "name": "isMutable", "type": "bool" },647      { "internalType": "bool", "name": "collectionAdmin", "type": "bool" },648      { "internalType": "bool", "name": "tokenOwner", "type": "bool" }649    ],650    "name": "setTokenPropertyPermission",651    "outputs": [],652    "stateMutability": "nonpayable",653    "type": "function"654  },655  {656    "inputs": [657      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }658    ],659    "name": "supportsInterface",660    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],661    "stateMutability": "view",662    "type": "function"663  },664  {665    "inputs": [],666    "name": "symbol",667    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],668    "stateMutability": "view",669    "type": "function"670  },671  {672    "inputs": [673      { "internalType": "uint256", "name": "index", "type": "uint256" }674    ],675    "name": "tokenByIndex",676    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],677    "stateMutability": "view",678    "type": "function"679  },680  {681    "inputs": [682      { "internalType": "address", "name": "owner", "type": "address" },683      { "internalType": "uint256", "name": "index", "type": "uint256" }684    ],685    "name": "tokenOfOwnerByIndex",686    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],687    "stateMutability": "view",688    "type": "function"689  },690  {691    "inputs": [692      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }693    ],694    "name": "tokenURI",695    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],696    "stateMutability": "view",697    "type": "function"698  },699  {700    "inputs": [],701    "name": "totalSupply",702    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],703    "stateMutability": "view",704    "type": "function"705  },706  {707    "inputs": [708      { "internalType": "address", "name": "to", "type": "address" },709      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }710    ],711    "name": "transfer",712    "outputs": [],713    "stateMutability": "nonpayable",714    "type": "function"715  },716  {717    "inputs": [718      { "internalType": "address", "name": "from", "type": "address" },719      { "internalType": "address", "name": "to", "type": "address" },720      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }721    ],722    "name": "transferFrom",723    "outputs": [],724    "stateMutability": "nonpayable",725    "type": "function"726  },727  {728    "inputs": [729      {730        "components": [731          { "internalType": "address", "name": "field_0", "type": "address" },732          { "internalType": "uint256", "name": "field_1", "type": "uint256" }733        ],734        "internalType": "struct Tuple6",735        "name": "from",736        "type": "tuple"737      },738      {739        "components": [740          { "internalType": "address", "name": "field_0", "type": "address" },741          { "internalType": "uint256", "name": "field_1", "type": "uint256" }742        ],743        "internalType": "struct Tuple6",744        "name": "to",745        "type": "tuple"746      },747      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }748    ],749    "name": "transferFromCross",750    "outputs": [],751    "stateMutability": "nonpayable",752    "type": "function"753  },754  {755    "inputs": [],756    "name": "uniqueCollectionType",757    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],758    "stateMutability": "view",759    "type": "function"760  }761]