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

difftreelog

source

tests/src/eth/abi/fungible.json17.4 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 EthCrossAccount",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 EthCrossAccount",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 EthCrossAccount",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 EthCrossAccount",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 EthCrossAccount",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 EthCrossAccount",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 EthCrossAccount[]",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<<<<<<< HEAD212    "name": "collectionNestingPermissions",213=======214    "name": "collectionLimits",215>>>>>>> 32e011ce... added `collectionLimits` function in `Collection` interface,  changed signture for `setCollectionLimit`216    "outputs": [217      {218        "components": [219          {220<<<<<<< HEAD221            "internalType": "enum CollectionPermissions",222            "name": "field_0",223            "type": "uint8"224          },225          { "internalType": "bool", "name": "field_1", "type": "bool" }226        ],227        "internalType": "struct Tuple24[]",228=======229            "internalType": "enum CollectionLimits",230            "name": "field_0",231            "type": "uint8"232          },233          { "internalType": "bool", "name": "field_1", "type": "bool" },234          { "internalType": "uint256", "name": "field_2", "type": "uint256" }235        ],236        "internalType": "struct Tuple20[]",237>>>>>>> 32e011ce... added `collectionLimits` function in `Collection` interface,  changed signture for `setCollectionLimit`238        "name": "",239        "type": "tuple[]"240      }241    ],242    "stateMutability": "view",243    "type": "function"244  },245  {246    "inputs": [],247<<<<<<< HEAD248    "name": "collectionNestingRestrictedCollectionIds",249    "outputs": [250      {251        "components": [252          { "internalType": "bool", "name": "field_0", "type": "bool" },253          {254            "internalType": "uint256[]",255            "name": "field_1",256            "type": "uint256[]"257          }258        ],259        "internalType": "struct Tuple21",260        "name": "",261        "type": "tuple"262      }263    ],264    "stateMutability": "view",265    "type": "function"266  },267  {268    "inputs": [],269=======270>>>>>>> 32e011ce... added `collectionLimits` function in `Collection` interface,  changed signture for `setCollectionLimit`271    "name": "collectionOwner",272    "outputs": [273      {274        "components": [275          { "internalType": "address", "name": "eth", "type": "address" },276          { "internalType": "uint256", "name": "sub", "type": "uint256" }277        ],278        "internalType": "struct EthCrossAccount",279        "name": "",280        "type": "tuple"281      }282    ],283    "stateMutability": "view",284    "type": "function"285  },286  {287    "inputs": [288      { "internalType": "string[]", "name": "keys", "type": "string[]" }289    ],290    "name": "collectionProperties",291    "outputs": [292      {293        "components": [294          { "internalType": "string", "name": "key", "type": "string" },295          { "internalType": "bytes", "name": "value", "type": "bytes" }296        ],297        "internalType": "struct Property[]",298        "name": "",299        "type": "tuple[]"300      }301    ],302    "stateMutability": "view",303    "type": "function"304  },305  {306    "inputs": [{ "internalType": "string", "name": "key", "type": "string" }],307    "name": "collectionProperty",308    "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],309    "stateMutability": "view",310    "type": "function"311  },312  {313    "inputs": [],314    "name": "collectionSponsor",315    "outputs": [316      {317        "components": [318          { "internalType": "address", "name": "field_0", "type": "address" },319          { "internalType": "uint256", "name": "field_1", "type": "uint256" }320        ],321        "internalType": "struct Tuple8",322        "name": "",323        "type": "tuple"324      }325    ],326    "stateMutability": "view",327    "type": "function"328  },329  {330    "inputs": [],331    "name": "confirmCollectionSponsorship",332    "outputs": [],333    "stateMutability": "nonpayable",334    "type": "function"335  },336  {337    "inputs": [],338    "name": "contractAddress",339    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],340    "stateMutability": "view",341    "type": "function"342  },343  {344    "inputs": [],345    "name": "decimals",346    "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],347    "stateMutability": "view",348    "type": "function"349  },350  {351    "inputs": [352      { "internalType": "string[]", "name": "keys", "type": "string[]" }353    ],354    "name": "deleteCollectionProperties",355    "outputs": [],356    "stateMutability": "nonpayable",357    "type": "function"358  },359  {360    "inputs": [],361    "name": "description",362    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],363    "stateMutability": "view",364    "type": "function"365  },366  {367    "inputs": [],368    "name": "hasCollectionPendingSponsor",369    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],370    "stateMutability": "view",371    "type": "function"372  },373  {374    "inputs": [375      {376        "components": [377          { "internalType": "address", "name": "eth", "type": "address" },378          { "internalType": "uint256", "name": "sub", "type": "uint256" }379        ],380        "internalType": "struct EthCrossAccount",381        "name": "user",382        "type": "tuple"383      }384    ],385    "name": "isOwnerOrAdminCross",386    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],387    "stateMutability": "view",388    "type": "function"389  },390  {391    "inputs": [392      { "internalType": "address", "name": "to", "type": "address" },393      { "internalType": "uint256", "name": "amount", "type": "uint256" }394    ],395    "name": "mint",396    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],397    "stateMutability": "nonpayable",398    "type": "function"399  },400  {401    "inputs": [402      {403        "components": [404          { "internalType": "address", "name": "field_0", "type": "address" },405          { "internalType": "uint256", "name": "field_1", "type": "uint256" }406        ],407        "internalType": "struct Tuple8[]",408        "name": "amounts",409        "type": "tuple[]"410      }411    ],412    "name": "mintBulk",413    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],414    "stateMutability": "nonpayable",415    "type": "function"416  },417  {418    "inputs": [],419    "name": "name",420    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],421    "stateMutability": "view",422    "type": "function"423  },424  {425    "inputs": [426      {427        "components": [428          { "internalType": "address", "name": "eth", "type": "address" },429          { "internalType": "uint256", "name": "sub", "type": "uint256" }430        ],431        "internalType": "struct EthCrossAccount",432        "name": "admin",433        "type": "tuple"434      }435    ],436    "name": "removeCollectionAdminCross",437    "outputs": [],438    "stateMutability": "nonpayable",439    "type": "function"440  },441  {442    "inputs": [],443    "name": "removeCollectionSponsor",444    "outputs": [],445    "stateMutability": "nonpayable",446    "type": "function"447  },448  {449    "inputs": [450      {451        "components": [452          { "internalType": "address", "name": "eth", "type": "address" },453          { "internalType": "uint256", "name": "sub", "type": "uint256" }454        ],455        "internalType": "struct EthCrossAccount",456        "name": "user",457        "type": "tuple"458      }459    ],460    "name": "removeFromCollectionAllowListCross",461    "outputs": [],462    "stateMutability": "nonpayable",463    "type": "function"464  },465  {466    "inputs": [{ "internalType": "uint8", "name": "mode", "type": "uint8" }],467    "name": "setCollectionAccess",468    "outputs": [],469    "stateMutability": "nonpayable",470    "type": "function"471  },472  {473    "inputs": [474      {475        "internalType": "enum CollectionLimits",476        "name": "limit",477        "type": "uint8"478      },479      { "internalType": "bool", "name": "status", "type": "bool" },480      { "internalType": "uint256", "name": "value", "type": "uint256" }481    ],482    "name": "setCollectionLimit",483    "outputs": [],484    "stateMutability": "nonpayable",485    "type": "function"486  },487  {488    "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }],489    "name": "setCollectionMintMode",490    "outputs": [],491    "stateMutability": "nonpayable",492    "type": "function"493  },494  {495    "inputs": [{ "internalType": "bool", "name": "enable", "type": "bool" }],496    "name": "setCollectionNesting",497    "outputs": [],498    "stateMutability": "nonpayable",499    "type": "function"500  },501  {502    "inputs": [503      { "internalType": "bool", "name": "enable", "type": "bool" },504      {505        "internalType": "address[]",506        "name": "collections",507        "type": "address[]"508      }509    ],510    "name": "setCollectionNesting",511    "outputs": [],512    "stateMutability": "nonpayable",513    "type": "function"514  },515  {516    "inputs": [517      {518        "components": [519          { "internalType": "string", "name": "key", "type": "string" },520          { "internalType": "bytes", "name": "value", "type": "bytes" }521        ],522        "internalType": "struct Property[]",523        "name": "properties",524        "type": "tuple[]"525      }526    ],527    "name": "setCollectionProperties",528    "outputs": [],529    "stateMutability": "nonpayable",530    "type": "function"531  },532  {533    "inputs": [534      {535        "components": [536          { "internalType": "address", "name": "eth", "type": "address" },537          { "internalType": "uint256", "name": "sub", "type": "uint256" }538        ],539        "internalType": "struct EthCrossAccount",540        "name": "sponsor",541        "type": "tuple"542      }543    ],544    "name": "setCollectionSponsorCross",545    "outputs": [],546    "stateMutability": "nonpayable",547    "type": "function"548  },549  {550    "inputs": [551      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }552    ],553    "name": "supportsInterface",554    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],555    "stateMutability": "view",556    "type": "function"557  },558  {559    "inputs": [],560    "name": "symbol",561    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],562    "stateMutability": "view",563    "type": "function"564  },565  {566    "inputs": [],567    "name": "totalSupply",568    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],569    "stateMutability": "view",570    "type": "function"571  },572  {573    "inputs": [574      { "internalType": "address", "name": "to", "type": "address" },575      { "internalType": "uint256", "name": "amount", "type": "uint256" }576    ],577    "name": "transfer",578    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],579    "stateMutability": "nonpayable",580    "type": "function"581  },582  {583    "inputs": [584      {585        "components": [586          { "internalType": "address", "name": "eth", "type": "address" },587          { "internalType": "uint256", "name": "sub", "type": "uint256" }588        ],589        "internalType": "struct EthCrossAccount",590        "name": "to",591        "type": "tuple"592      },593      { "internalType": "uint256", "name": "amount", "type": "uint256" }594    ],595    "name": "transferCross",596    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],597    "stateMutability": "nonpayable",598    "type": "function"599  },600  {601    "inputs": [602      { "internalType": "address", "name": "from", "type": "address" },603      { "internalType": "address", "name": "to", "type": "address" },604      { "internalType": "uint256", "name": "amount", "type": "uint256" }605    ],606    "name": "transferFrom",607    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],608    "stateMutability": "nonpayable",609    "type": "function"610  },611  {612    "inputs": [613      {614        "components": [615          { "internalType": "address", "name": "eth", "type": "address" },616          { "internalType": "uint256", "name": "sub", "type": "uint256" }617        ],618        "internalType": "struct EthCrossAccount",619        "name": "from",620        "type": "tuple"621      },622      {623        "components": [624          { "internalType": "address", "name": "eth", "type": "address" },625          { "internalType": "uint256", "name": "sub", "type": "uint256" }626        ],627        "internalType": "struct EthCrossAccount",628        "name": "to",629        "type": "tuple"630      },631      { "internalType": "uint256", "name": "amount", "type": "uint256" }632    ],633    "name": "transferFromCross",634    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],635    "stateMutability": "nonpayable",636    "type": "function"637  },638  {639    "inputs": [],640    "name": "uniqueCollectionType",641    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],642    "stateMutability": "view",643    "type": "function"644  }645]