git.delta.rocks / unique-network / refs/commits / 3c77c1e2ea04

difftreelog

source

tests/src/eth/abi/fungible.json18.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": "spender",15        "type": "address"16      },17      {18        "indexed": false,19        "internalType": "uint256",20        "name": "value",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": "from",34        "type": "address"35      },36      {37        "indexed": true,38        "internalType": "address",39        "name": "to",40        "type": "address"41      },42      {43        "indexed": false,44        "internalType": "uint256",45        "name": "value",46        "type": "uint256"47      }48    ],49    "name": "Transfer",50    "type": "event"51  },52  {53    "inputs": [54      {55        "components": [56          { "internalType": "address", "name": "eth", "type": "address" },57          { "internalType": "uint256", "name": "sub", "type": "uint256" }58        ],59        "internalType": "struct CrossAddress",60        "name": "newAdmin",61        "type": "tuple"62      }63    ],64    "name": "addCollectionAdminCross",65    "outputs": [],66    "stateMutability": "nonpayable",67    "type": "function"68  },69  {70    "inputs": [71      {72        "components": [73          { "internalType": "address", "name": "eth", "type": "address" },74          { "internalType": "uint256", "name": "sub", "type": "uint256" }75        ],76        "internalType": "struct CrossAddress",77        "name": "user",78        "type": "tuple"79      }80    ],81    "name": "addToCollectionAllowListCross",82    "outputs": [],83    "stateMutability": "nonpayable",84    "type": "function"85  },86  {87    "inputs": [88      { "internalType": "address", "name": "owner", "type": "address" },89      { "internalType": "address", "name": "spender", "type": "address" }90    ],91    "name": "allowance",92    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],93    "stateMutability": "view",94    "type": "function"95  },96  {97    "inputs": [98      {99        "components": [100          { "internalType": "address", "name": "eth", "type": "address" },101          { "internalType": "uint256", "name": "sub", "type": "uint256" }102        ],103        "internalType": "struct CrossAddress",104        "name": "user",105        "type": "tuple"106      }107    ],108    "name": "allowlistedCross",109    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],110    "stateMutability": "view",111    "type": "function"112  },113  {114    "inputs": [115      { "internalType": "address", "name": "spender", "type": "address" },116      { "internalType": "uint256", "name": "amount", "type": "uint256" }117    ],118    "name": "approve",119    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],120    "stateMutability": "nonpayable",121    "type": "function"122  },123  {124    "inputs": [125      {126        "components": [127          { "internalType": "address", "name": "eth", "type": "address" },128          { "internalType": "uint256", "name": "sub", "type": "uint256" }129        ],130        "internalType": "struct CrossAddress",131        "name": "spender",132        "type": "tuple"133      },134      { "internalType": "uint256", "name": "amount", "type": "uint256" }135    ],136    "name": "approveCross",137    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],138    "stateMutability": "nonpayable",139    "type": "function"140  },141  {142    "inputs": [143      { "internalType": "address", "name": "owner", "type": "address" }144    ],145    "name": "balanceOf",146    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],147    "stateMutability": "view",148    "type": "function"149  },150  {151    "inputs": [152      {153        "components": [154          { "internalType": "address", "name": "eth", "type": "address" },155          { "internalType": "uint256", "name": "sub", "type": "uint256" }156        ],157        "internalType": "struct CrossAddress",158        "name": "from",159        "type": "tuple"160      },161      { "internalType": "uint256", "name": "amount", "type": "uint256" }162    ],163    "name": "burnFromCross",164    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],165    "stateMutability": "nonpayable",166    "type": "function"167  },168  {169    "inputs": [170      {171        "components": [172          { "internalType": "address", "name": "eth", "type": "address" },173          { "internalType": "uint256", "name": "sub", "type": "uint256" }174        ],175        "internalType": "struct CrossAddress",176        "name": "newOwner",177        "type": "tuple"178      }179    ],180    "name": "changeCollectionOwnerCross",181    "outputs": [],182    "stateMutability": "nonpayable",183    "type": "function"184  },185  {186    "inputs": [],187    "name": "collectionAdmins",188    "outputs": [189      {190        "components": [191          { "internalType": "address", "name": "eth", "type": "address" },192          { "internalType": "uint256", "name": "sub", "type": "uint256" }193        ],194        "internalType": "struct CrossAddress[]",195        "name": "",196        "type": "tuple[]"197      }198    ],199    "stateMutability": "view",200    "type": "function"201  },202  {203    "inputs": [],204    "name": "collectionHelperAddress",205    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],206    "stateMutability": "view",207    "type": "function"208  },209  {210    "inputs": [],211    "name": "collectionLimits",212    "outputs": [213      {214        "components": [215          {216            "internalType": "enum CollectionLimitField",217            "name": "field",218            "type": "uint8"219          },220          {221            "components": [222              { "internalType": "bool", "name": "status", "type": "bool" },223              { "internalType": "uint256", "name": "value", "type": "uint256" }224            ],225            "internalType": "struct OptionUint256",226            "name": "value",227            "type": "tuple"228          }229        ],230        "internalType": "struct CollectionLimit[]",231        "name": "",232        "type": "tuple[]"233      }234    ],235    "stateMutability": "view",236    "type": "function"237  },238  {239    "inputs": [],240    "name": "collectionNestingPermissions",241    "outputs": [242      {243        "components": [244          {245            "internalType": "enum CollectionPermissionField",246            "name": "field",247            "type": "uint8"248          },249          { "internalType": "bool", "name": "value", "type": "bool" }250        ],251        "internalType": "struct CollectionNestingPermission[]",252        "name": "",253        "type": "tuple[]"254      }255    ],256    "stateMutability": "view",257    "type": "function"258  },259  {260    "inputs": [],261    "name": "collectionNestingRestrictedCollectionIds",262    "outputs": [263      {264        "components": [265          { "internalType": "bool", "name": "token_owner", "type": "bool" },266          { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }267        ],268        "internalType": "struct CollectionNesting",269        "name": "",270        "type": "tuple"271      }272    ],273    "stateMutability": "view",274    "type": "function"275  },276  {277    "inputs": [],278    "name": "collectionOwner",279    "outputs": [280      {281        "components": [282          { "internalType": "address", "name": "eth", "type": "address" },283          { "internalType": "uint256", "name": "sub", "type": "uint256" }284        ],285        "internalType": "struct CrossAddress",286        "name": "",287        "type": "tuple"288      }289    ],290    "stateMutability": "view",291    "type": "function"292  },293  {294    "inputs": [295      { "internalType": "string[]", "name": "keys", "type": "string[]" }296    ],297    "name": "collectionProperties",298    "outputs": [299      {300        "components": [301          { "internalType": "string", "name": "key", "type": "string" },302          { "internalType": "bytes", "name": "value", "type": "bytes" }303        ],304        "internalType": "struct Property[]",305        "name": "",306        "type": "tuple[]"307      }308    ],309    "stateMutability": "view",310    "type": "function"311  },312  {313    "inputs": [{ "internalType": "string", "name": "key", "type": "string" }],314    "name": "collectionProperty",315    "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],316    "stateMutability": "view",317    "type": "function"318  },319  {320    "inputs": [],321    "name": "collectionSponsor",322    "outputs": [323      {324        "components": [325          { "internalType": "address", "name": "eth", "type": "address" },326          { "internalType": "uint256", "name": "sub", "type": "uint256" }327        ],328        "internalType": "struct CrossAddress",329        "name": "",330        "type": "tuple"331      }332    ],333    "stateMutability": "view",334    "type": "function"335  },336  {337    "inputs": [],338    "name": "confirmCollectionSponsorship",339    "outputs": [],340    "stateMutability": "nonpayable",341    "type": "function"342  },343  {344    "inputs": [],345    "name": "contractAddress",346    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],347    "stateMutability": "view",348    "type": "function"349  },350  {351    "inputs": [],352    "name": "decimals",353    "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],354    "stateMutability": "view",355    "type": "function"356  },357  {358    "inputs": [359      { "internalType": "string[]", "name": "keys", "type": "string[]" }360    ],361    "name": "deleteCollectionProperties",362    "outputs": [],363    "stateMutability": "nonpayable",364    "type": "function"365  },366  {367    "inputs": [],368    "name": "description",369    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],370    "stateMutability": "view",371    "type": "function"372  },373  {374    "inputs": [],375    "name": "hasCollectionPendingSponsor",376    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],377    "stateMutability": "view",378    "type": "function"379  },380  {381    "inputs": [382      {383        "components": [384          { "internalType": "address", "name": "eth", "type": "address" },385          { "internalType": "uint256", "name": "sub", "type": "uint256" }386        ],387        "internalType": "struct CrossAddress",388        "name": "user",389        "type": "tuple"390      }391    ],392    "name": "isOwnerOrAdminCross",393    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],394    "stateMutability": "view",395    "type": "function"396  },397  {398    "inputs": [399      { "internalType": "address", "name": "to", "type": "address" },400      { "internalType": "uint256", "name": "amount", "type": "uint256" }401    ],402    "name": "mint",403    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],404    "stateMutability": "nonpayable",405    "type": "function"406  },407  {408    "inputs": [409      {410        "components": [411          { "internalType": "address", "name": "field_0", "type": "address" },412          { "internalType": "uint256", "name": "field_1", "type": "uint256" }413        ],414        "internalType": "struct Tuple9[]",415        "name": "amounts",416        "type": "tuple[]"417      }418    ],419    "name": "mintBulk",420    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],421    "stateMutability": "nonpayable",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 CrossAddress",432        "name": "to",433        "type": "tuple"434      },435      { "internalType": "uint256", "name": "amount", "type": "uint256" }436    ],437    "name": "mintCross",438    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],439    "stateMutability": "nonpayable",440    "type": "function"441  },442  {443    "inputs": [],444    "name": "name",445    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],446    "stateMutability": "view",447    "type": "function"448  },449  {450    "inputs": [451      {452        "components": [453          { "internalType": "address", "name": "eth", "type": "address" },454          { "internalType": "uint256", "name": "sub", "type": "uint256" }455        ],456        "internalType": "struct CrossAddress",457        "name": "admin",458        "type": "tuple"459      }460    ],461    "name": "removeCollectionAdminCross",462    "outputs": [],463    "stateMutability": "nonpayable",464    "type": "function"465  },466  {467    "inputs": [],468    "name": "removeCollectionSponsor",469    "outputs": [],470    "stateMutability": "nonpayable",471    "type": "function"472  },473  {474    "inputs": [475      {476        "components": [477          { "internalType": "address", "name": "eth", "type": "address" },478          { "internalType": "uint256", "name": "sub", "type": "uint256" }479        ],480        "internalType": "struct CrossAddress",481        "name": "user",482        "type": "tuple"483      }484    ],485    "name": "removeFromCollectionAllowListCross",486    "outputs": [],487    "stateMutability": "nonpayable",488    "type": "function"489  },490  {491    "inputs": [{ "internalType": "uint8", "name": "mode", "type": "uint8" }],492    "name": "setCollectionAccess",493    "outputs": [],494    "stateMutability": "nonpayable",495    "type": "function"496  },497  {498    "inputs": [499      {500        "components": [501          {502            "internalType": "enum CollectionLimitField",503            "name": "field",504            "type": "uint8"505          },506          {507            "components": [508              { "internalType": "bool", "name": "status", "type": "bool" },509              { "internalType": "uint256", "name": "value", "type": "uint256" }510            ],511            "internalType": "struct OptionUint256",512            "name": "value",513            "type": "tuple"514          }515        ],516        "internalType": "struct CollectionLimit",517        "name": "limit",518        "type": "tuple"519      }520    ],521    "name": "setCollectionLimit",522    "outputs": [],523    "stateMutability": "nonpayable",524    "type": "function"525  },526  {527    "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }],528    "name": "setCollectionMintMode",529    "outputs": [],530    "stateMutability": "nonpayable",531    "type": "function"532  },533  {534    "inputs": [{ "internalType": "bool", "name": "enable", "type": "bool" }],535    "name": "setCollectionNesting",536    "outputs": [],537    "stateMutability": "nonpayable",538    "type": "function"539  },540  {541    "inputs": [542      { "internalType": "bool", "name": "enable", "type": "bool" },543      {544        "internalType": "address[]",545        "name": "collections",546        "type": "address[]"547      }548    ],549    "name": "setCollectionNesting",550    "outputs": [],551    "stateMutability": "nonpayable",552    "type": "function"553  },554  {555    "inputs": [556      {557        "components": [558          { "internalType": "string", "name": "key", "type": "string" },559          { "internalType": "bytes", "name": "value", "type": "bytes" }560        ],561        "internalType": "struct Property[]",562        "name": "properties",563        "type": "tuple[]"564      }565    ],566    "name": "setCollectionProperties",567    "outputs": [],568    "stateMutability": "nonpayable",569    "type": "function"570  },571  {572    "inputs": [573      {574        "components": [575          { "internalType": "address", "name": "eth", "type": "address" },576          { "internalType": "uint256", "name": "sub", "type": "uint256" }577        ],578        "internalType": "struct CrossAddress",579        "name": "sponsor",580        "type": "tuple"581      }582    ],583    "name": "setCollectionSponsorCross",584    "outputs": [],585    "stateMutability": "nonpayable",586    "type": "function"587  },588  {589    "inputs": [590      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }591    ],592    "name": "supportsInterface",593    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],594    "stateMutability": "view",595    "type": "function"596  },597  {598    "inputs": [],599    "name": "symbol",600    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],601    "stateMutability": "view",602    "type": "function"603  },604  {605    "inputs": [],606    "name": "totalSupply",607    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],608    "stateMutability": "view",609    "type": "function"610  },611  {612    "inputs": [613      { "internalType": "address", "name": "to", "type": "address" },614      { "internalType": "uint256", "name": "amount", "type": "uint256" }615    ],616    "name": "transfer",617    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],618    "stateMutability": "nonpayable",619    "type": "function"620  },621  {622    "inputs": [623      {624        "components": [625          { "internalType": "address", "name": "eth", "type": "address" },626          { "internalType": "uint256", "name": "sub", "type": "uint256" }627        ],628        "internalType": "struct CrossAddress",629        "name": "to",630        "type": "tuple"631      },632      { "internalType": "uint256", "name": "amount", "type": "uint256" }633    ],634    "name": "transferCross",635    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],636    "stateMutability": "nonpayable",637    "type": "function"638  },639  {640    "inputs": [641      { "internalType": "address", "name": "from", "type": "address" },642      { "internalType": "address", "name": "to", "type": "address" },643      { "internalType": "uint256", "name": "amount", "type": "uint256" }644    ],645    "name": "transferFrom",646    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],647    "stateMutability": "nonpayable",648    "type": "function"649  },650  {651    "inputs": [652      {653        "components": [654          { "internalType": "address", "name": "eth", "type": "address" },655          { "internalType": "uint256", "name": "sub", "type": "uint256" }656        ],657        "internalType": "struct CrossAddress",658        "name": "from",659        "type": "tuple"660      },661      {662        "components": [663          { "internalType": "address", "name": "eth", "type": "address" },664          { "internalType": "uint256", "name": "sub", "type": "uint256" }665        ],666        "internalType": "struct CrossAddress",667        "name": "to",668        "type": "tuple"669      },670      { "internalType": "uint256", "name": "amount", "type": "uint256" }671    ],672    "name": "transferFromCross",673    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],674    "stateMutability": "nonpayable",675    "type": "function"676  },677  {678    "inputs": [],679    "name": "uniqueCollectionType",680    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],681    "stateMutability": "view",682    "type": "function"683  }684]