git.delta.rocks / unique-network / refs/commits / 6f5be65656d0

difftreelog

source

tests/src/eth/abi/reFungible.json24.7 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      {56        "indexed": true,57        "internalType": "uint256",58        "name": "tokenId",59        "type": "uint256"60      }61    ],62    "name": "TokenChanged",63    "type": "event"64  },65  {66    "anonymous": false,67    "inputs": [68      {69        "indexed": true,70        "internalType": "address",71        "name": "from",72        "type": "address"73      },74      {75        "indexed": true,76        "internalType": "address",77        "name": "to",78        "type": "address"79      },80      {81        "indexed": true,82        "internalType": "uint256",83        "name": "tokenId",84        "type": "uint256"85      }86    ],87    "name": "Transfer",88    "type": "event"89  },90  {91    "inputs": [92      {93        "components": [94          { "internalType": "address", "name": "eth", "type": "address" },95          { "internalType": "uint256", "name": "sub", "type": "uint256" }96        ],97        "internalType": "struct CrossAddress",98        "name": "newAdmin",99        "type": "tuple"100      }101    ],102    "name": "addCollectionAdminCross",103    "outputs": [],104    "stateMutability": "nonpayable",105    "type": "function"106  },107  {108    "inputs": [109      {110        "components": [111          { "internalType": "address", "name": "eth", "type": "address" },112          { "internalType": "uint256", "name": "sub", "type": "uint256" }113        ],114        "internalType": "struct CrossAddress",115        "name": "user",116        "type": "tuple"117      }118    ],119    "name": "addToCollectionAllowListCross",120    "outputs": [],121    "stateMutability": "nonpayable",122    "type": "function"123  },124  {125    "inputs": [126      {127        "components": [128          { "internalType": "address", "name": "eth", "type": "address" },129          { "internalType": "uint256", "name": "sub", "type": "uint256" }130        ],131        "internalType": "struct CrossAddress",132        "name": "user",133        "type": "tuple"134      }135    ],136    "name": "allowlistedCross",137    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],138    "stateMutability": "view",139    "type": "function"140  },141  {142    "inputs": [143      { "internalType": "address", "name": "approved", "type": "address" },144      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }145    ],146    "name": "approve",147    "outputs": [],148    "stateMutability": "nonpayable",149    "type": "function"150  },151  {152    "inputs": [153      { "internalType": "address", "name": "owner", "type": "address" }154    ],155    "name": "balanceOf",156    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],157    "stateMutability": "view",158    "type": "function"159  },160  {161    "inputs": [162      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }163    ],164    "name": "burn",165    "outputs": [],166    "stateMutability": "nonpayable",167    "type": "function"168  },169  {170    "inputs": [171      {172        "components": [173          { "internalType": "address", "name": "eth", "type": "address" },174          { "internalType": "uint256", "name": "sub", "type": "uint256" }175        ],176        "internalType": "struct CrossAddress",177        "name": "from",178        "type": "tuple"179      },180      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }181    ],182    "name": "burnFromCross",183    "outputs": [],184    "stateMutability": "nonpayable",185    "type": "function"186  },187  {188    "inputs": [189      {190        "components": [191          { "internalType": "address", "name": "eth", "type": "address" },192          { "internalType": "uint256", "name": "sub", "type": "uint256" }193        ],194        "internalType": "struct CrossAddress",195        "name": "newOwner",196        "type": "tuple"197      }198    ],199    "name": "changeCollectionOwnerCross",200    "outputs": [],201    "stateMutability": "nonpayable",202    "type": "function"203  },204  {205    "inputs": [],206    "name": "collectionAdmins",207    "outputs": [208      {209        "components": [210          { "internalType": "address", "name": "eth", "type": "address" },211          { "internalType": "uint256", "name": "sub", "type": "uint256" }212        ],213        "internalType": "struct CrossAddress[]",214        "name": "",215        "type": "tuple[]"216      }217    ],218    "stateMutability": "view",219    "type": "function"220  },221  {222    "inputs": [],223    "name": "collectionHelperAddress",224    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],225    "stateMutability": "view",226    "type": "function"227  },228  {229    "inputs": [],230    "name": "collectionLimits",231    "outputs": [232      {233        "components": [234          {235            "internalType": "enum CollectionLimitField",236            "name": "field",237            "type": "uint8"238          },239          {240            "components": [241              { "internalType": "bool", "name": "status", "type": "bool" },242              { "internalType": "uint256", "name": "value", "type": "uint256" }243            ],244            "internalType": "struct OptionUint256",245            "name": "value",246            "type": "tuple"247          }248        ],249        "internalType": "struct CollectionLimit[]",250        "name": "",251        "type": "tuple[]"252      }253    ],254    "stateMutability": "view",255    "type": "function"256  },257  {258    "inputs": [],259    "name": "collectionNestingPermissions",260    "outputs": [261      {262        "components": [263          {264            "internalType": "enum CollectionPermissionField",265            "name": "field",266            "type": "uint8"267          },268          { "internalType": "bool", "name": "value", "type": "bool" }269        ],270        "internalType": "struct CollectionNestingPermission[]",271        "name": "",272        "type": "tuple[]"273      }274    ],275    "stateMutability": "view",276    "type": "function"277  },278  {279    "inputs": [],280    "name": "collectionNestingRestrictedCollectionIds",281    "outputs": [282      {283        "components": [284          { "internalType": "bool", "name": "token_owner", "type": "bool" },285          { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }286        ],287        "internalType": "struct CollectionNesting",288        "name": "",289        "type": "tuple"290      }291    ],292    "stateMutability": "view",293    "type": "function"294  },295  {296    "inputs": [],297    "name": "collectionOwner",298    "outputs": [299      {300        "components": [301          { "internalType": "address", "name": "eth", "type": "address" },302          { "internalType": "uint256", "name": "sub", "type": "uint256" }303        ],304        "internalType": "struct CrossAddress",305        "name": "",306        "type": "tuple"307      }308    ],309    "stateMutability": "view",310    "type": "function"311  },312  {313    "inputs": [314      { "internalType": "string[]", "name": "keys", "type": "string[]" }315    ],316    "name": "collectionProperties",317    "outputs": [318      {319        "components": [320          { "internalType": "string", "name": "key", "type": "string" },321          { "internalType": "bytes", "name": "value", "type": "bytes" }322        ],323        "internalType": "struct Property[]",324        "name": "",325        "type": "tuple[]"326      }327    ],328    "stateMutability": "view",329    "type": "function"330  },331  {332    "inputs": [{ "internalType": "string", "name": "key", "type": "string" }],333    "name": "collectionProperty",334    "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],335    "stateMutability": "view",336    "type": "function"337  },338  {339    "inputs": [],340    "name": "collectionSponsor",341    "outputs": [342      {343        "components": [344          { "internalType": "address", "name": "eth", "type": "address" },345          { "internalType": "uint256", "name": "sub", "type": "uint256" }346        ],347        "internalType": "struct CrossAddress",348        "name": "",349        "type": "tuple"350      }351    ],352    "stateMutability": "view",353    "type": "function"354  },355  {356    "inputs": [],357    "name": "confirmCollectionSponsorship",358    "outputs": [],359    "stateMutability": "nonpayable",360    "type": "function"361  },362  {363    "inputs": [],364    "name": "contractAddress",365    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],366    "stateMutability": "view",367    "type": "function"368  },369  {370    "inputs": [371      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }372    ],373    "name": "crossOwnerOf",374    "outputs": [375      {376        "components": [377          { "internalType": "address", "name": "eth", "type": "address" },378          { "internalType": "uint256", "name": "sub", "type": "uint256" }379        ],380        "internalType": "struct CrossAddress",381        "name": "",382        "type": "tuple"383      }384    ],385    "stateMutability": "view",386    "type": "function"387  },388  {389    "inputs": [390      { "internalType": "string[]", "name": "keys", "type": "string[]" }391    ],392    "name": "deleteCollectionProperties",393    "outputs": [],394    "stateMutability": "nonpayable",395    "type": "function"396  },397  {398    "inputs": [399      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },400      { "internalType": "string[]", "name": "keys", "type": "string[]" }401    ],402    "name": "deleteProperties",403    "outputs": [],404    "stateMutability": "nonpayable",405    "type": "function"406  },407  {408    "inputs": [],409    "name": "description",410    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],411    "stateMutability": "view",412    "type": "function"413  },414  {415    "inputs": [416      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }417    ],418    "name": "getApproved",419    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],420    "stateMutability": "view",421    "type": "function"422  },423  {424    "inputs": [],425    "name": "hasCollectionPendingSponsor",426    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],427    "stateMutability": "view",428    "type": "function"429  },430  {431    "inputs": [432      { "internalType": "address", "name": "owner", "type": "address" },433      { "internalType": "address", "name": "operator", "type": "address" }434    ],435    "name": "isApprovedForAll",436    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],437    "stateMutability": "view",438    "type": "function"439  },440  {441    "inputs": [442      {443        "components": [444          { "internalType": "address", "name": "eth", "type": "address" },445          { "internalType": "uint256", "name": "sub", "type": "uint256" }446        ],447        "internalType": "struct CrossAddress",448        "name": "user",449        "type": "tuple"450      }451    ],452    "name": "isOwnerOrAdminCross",453    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],454    "stateMutability": "view",455    "type": "function"456  },457  {458    "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],459    "name": "mint",460    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],461    "stateMutability": "nonpayable",462    "type": "function"463  },464  {465    "inputs": [466      {467        "components": [468          { "internalType": "address", "name": "eth", "type": "address" },469          { "internalType": "uint256", "name": "sub", "type": "uint256" }470        ],471        "internalType": "struct CrossAddress",472        "name": "to",473        "type": "tuple"474      },475      {476        "components": [477          { "internalType": "string", "name": "key", "type": "string" },478          { "internalType": "bytes", "name": "value", "type": "bytes" }479        ],480        "internalType": "struct Property[]",481        "name": "properties",482        "type": "tuple[]"483      }484    ],485    "name": "mintCross",486    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],487    "stateMutability": "nonpayable",488    "type": "function"489  },490  {491    "inputs": [492      { "internalType": "address", "name": "to", "type": "address" },493      { "internalType": "string", "name": "tokenUri", "type": "string" }494    ],495    "name": "mintWithTokenURI",496    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],497    "stateMutability": "nonpayable",498    "type": "function"499  },500  {501    "inputs": [],502    "name": "name",503    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],504    "stateMutability": "view",505    "type": "function"506  },507  {508    "inputs": [],509    "name": "nextTokenId",510    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],511    "stateMutability": "view",512    "type": "function"513  },514  {515    "inputs": [516      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }517    ],518    "name": "ownerOf",519    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],520    "stateMutability": "view",521    "type": "function"522  },523  {524    "inputs": [525      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },526      { "internalType": "string[]", "name": "keys", "type": "string[]" }527    ],528    "name": "properties",529    "outputs": [530      {531        "components": [532          { "internalType": "string", "name": "key", "type": "string" },533          { "internalType": "bytes", "name": "value", "type": "bytes" }534        ],535        "internalType": "struct Property[]",536        "name": "",537        "type": "tuple[]"538      }539    ],540    "stateMutability": "view",541    "type": "function"542  },543  {544    "inputs": [545      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },546      { "internalType": "string", "name": "key", "type": "string" }547    ],548    "name": "property",549    "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],550    "stateMutability": "view",551    "type": "function"552  },553  {554    "inputs": [555      {556        "components": [557          { "internalType": "address", "name": "eth", "type": "address" },558          { "internalType": "uint256", "name": "sub", "type": "uint256" }559        ],560        "internalType": "struct CrossAddress",561        "name": "admin",562        "type": "tuple"563      }564    ],565    "name": "removeCollectionAdminCross",566    "outputs": [],567    "stateMutability": "nonpayable",568    "type": "function"569  },570  {571    "inputs": [],572    "name": "removeCollectionSponsor",573    "outputs": [],574    "stateMutability": "nonpayable",575    "type": "function"576  },577  {578    "inputs": [579      {580        "components": [581          { "internalType": "address", "name": "eth", "type": "address" },582          { "internalType": "uint256", "name": "sub", "type": "uint256" }583        ],584        "internalType": "struct CrossAddress",585        "name": "user",586        "type": "tuple"587      }588    ],589    "name": "removeFromCollectionAllowListCross",590    "outputs": [],591    "stateMutability": "nonpayable",592    "type": "function"593  },594  {595    "inputs": [596      { "internalType": "address", "name": "from", "type": "address" },597      { "internalType": "address", "name": "to", "type": "address" },598      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }599    ],600    "name": "safeTransferFrom",601    "outputs": [],602    "stateMutability": "nonpayable",603    "type": "function"604  },605  {606    "inputs": [607      { "internalType": "address", "name": "from", "type": "address" },608      { "internalType": "address", "name": "to", "type": "address" },609      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },610      { "internalType": "bytes", "name": "data", "type": "bytes" }611    ],612    "name": "safeTransferFrom",613    "outputs": [],614    "stateMutability": "nonpayable",615    "type": "function"616  },617  {618    "inputs": [619      { "internalType": "address", "name": "operator", "type": "address" },620      { "internalType": "bool", "name": "approved", "type": "bool" }621    ],622    "name": "setApprovalForAll",623    "outputs": [],624    "stateMutability": "nonpayable",625    "type": "function"626  },627  {628    "inputs": [629      { "internalType": "enum AccessMode", "name": "mode", "type": "uint8" }630    ],631    "name": "setCollectionAccess",632    "outputs": [],633    "stateMutability": "nonpayable",634    "type": "function"635  },636  {637    "inputs": [638      {639        "components": [640          {641            "internalType": "enum CollectionLimitField",642            "name": "field",643            "type": "uint8"644          },645          {646            "components": [647              { "internalType": "bool", "name": "status", "type": "bool" },648              { "internalType": "uint256", "name": "value", "type": "uint256" }649            ],650            "internalType": "struct OptionUint256",651            "name": "value",652            "type": "tuple"653          }654        ],655        "internalType": "struct CollectionLimit",656        "name": "limit",657        "type": "tuple"658      }659    ],660    "name": "setCollectionLimit",661    "outputs": [],662    "stateMutability": "nonpayable",663    "type": "function"664  },665  {666    "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }],667    "name": "setCollectionMintMode",668    "outputs": [],669    "stateMutability": "nonpayable",670    "type": "function"671  },672  {673    "inputs": [{ "internalType": "bool", "name": "enable", "type": "bool" }],674    "name": "setCollectionNesting",675    "outputs": [],676    "stateMutability": "nonpayable",677    "type": "function"678  },679  {680    "inputs": [681      { "internalType": "bool", "name": "enable", "type": "bool" },682      {683        "internalType": "address[]",684        "name": "collections",685        "type": "address[]"686      }687    ],688    "name": "setCollectionNesting",689    "outputs": [],690    "stateMutability": "nonpayable",691    "type": "function"692  },693  {694    "inputs": [695      {696        "components": [697          { "internalType": "string", "name": "key", "type": "string" },698          { "internalType": "bytes", "name": "value", "type": "bytes" }699        ],700        "internalType": "struct Property[]",701        "name": "properties",702        "type": "tuple[]"703      }704    ],705    "name": "setCollectionProperties",706    "outputs": [],707    "stateMutability": "nonpayable",708    "type": "function"709  },710  {711    "inputs": [712      {713        "components": [714          { "internalType": "address", "name": "eth", "type": "address" },715          { "internalType": "uint256", "name": "sub", "type": "uint256" }716        ],717        "internalType": "struct CrossAddress",718        "name": "sponsor",719        "type": "tuple"720      }721    ],722    "name": "setCollectionSponsorCross",723    "outputs": [],724    "stateMutability": "nonpayable",725    "type": "function"726  },727  {728    "inputs": [729      { "internalType": "uint256", "name": "tokenId", "type": "uint256" },730      {731        "components": [732          { "internalType": "string", "name": "key", "type": "string" },733          { "internalType": "bytes", "name": "value", "type": "bytes" }734        ],735        "internalType": "struct Property[]",736        "name": "properties",737        "type": "tuple[]"738      }739    ],740    "name": "setProperties",741    "outputs": [],742    "stateMutability": "nonpayable",743    "type": "function"744  },745  {746    "inputs": [747      {748        "components": [749          { "internalType": "string", "name": "key", "type": "string" },750          {751            "components": [752              {753                "internalType": "enum TokenPermissionField",754                "name": "code",755                "type": "uint8"756              },757              { "internalType": "bool", "name": "value", "type": "bool" }758            ],759            "internalType": "struct PropertyPermission[]",760            "name": "permissions",761            "type": "tuple[]"762          }763        ],764        "internalType": "struct TokenPropertyPermission[]",765        "name": "permissions",766        "type": "tuple[]"767      }768    ],769    "name": "setTokenPropertyPermissions",770    "outputs": [],771    "stateMutability": "nonpayable",772    "type": "function"773  },774  {775    "inputs": [776      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }777    ],778    "name": "supportsInterface",779    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],780    "stateMutability": "view",781    "type": "function"782  },783  {784    "inputs": [],785    "name": "symbol",786    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],787    "stateMutability": "view",788    "type": "function"789  },790  {791    "inputs": [792      { "internalType": "uint256", "name": "index", "type": "uint256" }793    ],794    "name": "tokenByIndex",795    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],796    "stateMutability": "view",797    "type": "function"798  },799  {800    "inputs": [801      { "internalType": "uint256", "name": "token", "type": "uint256" }802    ],803    "name": "tokenContractAddress",804    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],805    "stateMutability": "view",806    "type": "function"807  },808  {809    "inputs": [810      { "internalType": "address", "name": "owner", "type": "address" },811      { "internalType": "uint256", "name": "index", "type": "uint256" }812    ],813    "name": "tokenOfOwnerByIndex",814    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],815    "stateMutability": "view",816    "type": "function"817  },818  {819    "inputs": [],820    "name": "tokenPropertyPermissions",821    "outputs": [822      {823        "components": [824          { "internalType": "string", "name": "key", "type": "string" },825          {826            "components": [827              {828                "internalType": "enum TokenPermissionField",829                "name": "code",830                "type": "uint8"831              },832              { "internalType": "bool", "name": "value", "type": "bool" }833            ],834            "internalType": "struct PropertyPermission[]",835            "name": "permissions",836            "type": "tuple[]"837          }838        ],839        "internalType": "struct TokenPropertyPermission[]",840        "name": "",841        "type": "tuple[]"842      }843    ],844    "stateMutability": "view",845    "type": "function"846  },847  {848    "inputs": [849      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }850    ],851    "name": "tokenURI",852    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],853    "stateMutability": "view",854    "type": "function"855  },856  {857    "inputs": [],858    "name": "totalSupply",859    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],860    "stateMutability": "view",861    "type": "function"862  },863  {864    "inputs": [865      { "internalType": "address", "name": "to", "type": "address" },866      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }867    ],868    "name": "transfer",869    "outputs": [],870    "stateMutability": "nonpayable",871    "type": "function"872  },873  {874    "inputs": [875      {876        "components": [877          { "internalType": "address", "name": "eth", "type": "address" },878          { "internalType": "uint256", "name": "sub", "type": "uint256" }879        ],880        "internalType": "struct CrossAddress",881        "name": "to",882        "type": "tuple"883      },884      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }885    ],886    "name": "transferCross",887    "outputs": [],888    "stateMutability": "nonpayable",889    "type": "function"890  },891  {892    "inputs": [893      { "internalType": "address", "name": "from", "type": "address" },894      { "internalType": "address", "name": "to", "type": "address" },895      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }896    ],897    "name": "transferFrom",898    "outputs": [],899    "stateMutability": "nonpayable",900    "type": "function"901  },902  {903    "inputs": [904      {905        "components": [906          { "internalType": "address", "name": "eth", "type": "address" },907          { "internalType": "uint256", "name": "sub", "type": "uint256" }908        ],909        "internalType": "struct CrossAddress",910        "name": "from",911        "type": "tuple"912      },913      {914        "components": [915          { "internalType": "address", "name": "eth", "type": "address" },916          { "internalType": "uint256", "name": "sub", "type": "uint256" }917        ],918        "internalType": "struct CrossAddress",919        "name": "to",920        "type": "tuple"921      },922      { "internalType": "uint256", "name": "tokenId", "type": "uint256" }923    ],924    "name": "transferFromCross",925    "outputs": [],926    "stateMutability": "nonpayable",927    "type": "function"928  },929  {930    "inputs": [],931    "name": "uniqueCollectionType",932    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],933    "stateMutability": "view",934    "type": "function"935  }936]