git.delta.rocks / unique-network / refs/commits / a2df4e5688ee

difftreelog

source

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