git.delta.rocks / unique-network / refs/commits / 950d276ffd36

difftreelog

source

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