git.delta.rocks / unique-network / refs/commits / 17cf7864d109

difftreelog

source

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