git.delta.rocks / unique-network / refs/commits / 2e0d1a668d33

difftreelog

source

tests/src/eth/abi/fungible.json15.0 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      { "internalType": "address", "name": "user", "type": "address" }99    ],100    "name": "allowed",101    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],102    "stateMutability": "view",103    "type": "function"104  },105  {106    "inputs": [107      { "internalType": "address", "name": "spender", "type": "address" },108      { "internalType": "uint256", "name": "amount", "type": "uint256" }109    ],110    "name": "approve",111    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],112    "stateMutability": "nonpayable",113    "type": "function"114  },115  {116    "inputs": [117      {118        "components": [119          { "internalType": "address", "name": "eth", "type": "address" },120          { "internalType": "uint256", "name": "sub", "type": "uint256" }121        ],122        "internalType": "struct EthCrossAccount",123        "name": "spender",124        "type": "tuple"125      },126      { "internalType": "uint256", "name": "amount", "type": "uint256" }127    ],128    "name": "approveCross",129    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],130    "stateMutability": "nonpayable",131    "type": "function"132  },133  {134    "inputs": [135      { "internalType": "address", "name": "owner", "type": "address" }136    ],137    "name": "balanceOf",138    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],139    "stateMutability": "view",140    "type": "function"141  },142  {143    "inputs": [144      {145        "components": [146          { "internalType": "address", "name": "eth", "type": "address" },147          { "internalType": "uint256", "name": "sub", "type": "uint256" }148        ],149        "internalType": "struct EthCrossAccount",150        "name": "from",151        "type": "tuple"152      },153      { "internalType": "uint256", "name": "amount", "type": "uint256" }154    ],155    "name": "burnFromCross",156    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],157    "stateMutability": "nonpayable",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 EthCrossAccount",168        "name": "newOwner",169        "type": "tuple"170      }171    ],172    "name": "changeCollectionOwnerCross",173    "outputs": [],174    "stateMutability": "nonpayable",175    "type": "function"176  },177  {178    "inputs": [],179    "name": "collectionAdmins",180    "outputs": [181      {182        "components": [183          { "internalType": "address", "name": "eth", "type": "address" },184          { "internalType": "uint256", "name": "sub", "type": "uint256" }185        ],186        "internalType": "struct EthCrossAccount[]",187        "name": "",188        "type": "tuple[]"189      }190    ],191    "stateMutability": "view",192    "type": "function"193  },194  {195    "inputs": [],196    "name": "collectionOwner",197    "outputs": [198      {199        "components": [200          { "internalType": "address", "name": "eth", "type": "address" },201          { "internalType": "uint256", "name": "sub", "type": "uint256" }202        ],203        "internalType": "struct EthCrossAccount",204        "name": "",205        "type": "tuple"206      }207    ],208    "stateMutability": "view",209    "type": "function"210  },211  {212    "inputs": [213      { "internalType": "string[]", "name": "keys", "type": "string[]" }214    ],215    "name": "collectionProperties",216    "outputs": [217      {218        "components": [219          { "internalType": "string", "name": "field_0", "type": "string" },220          { "internalType": "bytes", "name": "field_1", "type": "bytes" }221        ],222        "internalType": "struct Tuple16[]",223        "name": "",224        "type": "tuple[]"225      }226    ],227    "stateMutability": "view",228    "type": "function"229  },230  {231    "inputs": [{ "internalType": "string", "name": "key", "type": "string" }],232    "name": "collectionProperty",233    "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],234    "stateMutability": "view",235    "type": "function"236  },237  {238    "inputs": [],239    "name": "collectionSponsor",240    "outputs": [241      {242        "components": [243          { "internalType": "address", "name": "field_0", "type": "address" },244          { "internalType": "uint256", "name": "field_1", "type": "uint256" }245        ],246        "internalType": "struct Tuple8",247        "name": "",248        "type": "tuple"249      }250    ],251    "stateMutability": "view",252    "type": "function"253  },254  {255    "inputs": [],256    "name": "confirmCollectionSponsorship",257    "outputs": [],258    "stateMutability": "nonpayable",259    "type": "function"260  },261  {262    "inputs": [],263    "name": "contractAddress",264    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],265    "stateMutability": "view",266    "type": "function"267  },268  {269    "inputs": [],270    "name": "decimals",271    "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],272    "stateMutability": "view",273    "type": "function"274  },275  {276    "inputs": [277      { "internalType": "string[]", "name": "keys", "type": "string[]" }278    ],279    "name": "deleteCollectionProperties",280    "outputs": [],281    "stateMutability": "nonpayable",282    "type": "function"283  },284  {285    "inputs": [],286    "name": "hasCollectionPendingSponsor",287    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],288    "stateMutability": "view",289    "type": "function"290  },291  {292    "inputs": [293      {294        "components": [295          { "internalType": "address", "name": "eth", "type": "address" },296          { "internalType": "uint256", "name": "sub", "type": "uint256" }297        ],298        "internalType": "struct EthCrossAccount",299        "name": "user",300        "type": "tuple"301      }302    ],303    "name": "isOwnerOrAdminCross",304    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],305    "stateMutability": "view",306    "type": "function"307  },308  {309    "inputs": [310      { "internalType": "address", "name": "to", "type": "address" },311      { "internalType": "uint256", "name": "amount", "type": "uint256" }312    ],313    "name": "mint",314    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],315    "stateMutability": "nonpayable",316    "type": "function"317  },318  {319    "inputs": [320      {321        "components": [322          { "internalType": "address", "name": "field_0", "type": "address" },323          { "internalType": "uint256", "name": "field_1", "type": "uint256" }324        ],325        "internalType": "struct Tuple8[]",326        "name": "amounts",327        "type": "tuple[]"328      }329    ],330    "name": "mintBulk",331    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],332    "stateMutability": "nonpayable",333    "type": "function"334  },335  {336    "inputs": [],337    "name": "name",338    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],339    "stateMutability": "view",340    "type": "function"341  },342  {343    "inputs": [344      {345        "components": [346          { "internalType": "address", "name": "eth", "type": "address" },347          { "internalType": "uint256", "name": "sub", "type": "uint256" }348        ],349        "internalType": "struct EthCrossAccount",350        "name": "admin",351        "type": "tuple"352      }353    ],354    "name": "removeCollectionAdminCross",355    "outputs": [],356    "stateMutability": "nonpayable",357    "type": "function"358  },359  {360    "inputs": [],361    "name": "removeCollectionSponsor",362    "outputs": [],363    "stateMutability": "nonpayable",364    "type": "function"365  },366  {367    "inputs": [368      {369        "components": [370          { "internalType": "address", "name": "eth", "type": "address" },371          { "internalType": "uint256", "name": "sub", "type": "uint256" }372        ],373        "internalType": "struct EthCrossAccount",374        "name": "user",375        "type": "tuple"376      }377    ],378    "name": "removeFromCollectionAllowListCross",379    "outputs": [],380    "stateMutability": "nonpayable",381    "type": "function"382  },383  {384    "inputs": [{ "internalType": "uint8", "name": "mode", "type": "uint8" }],385    "name": "setCollectionAccess",386    "outputs": [],387    "stateMutability": "nonpayable",388    "type": "function"389  },390  {391    "inputs": [392      { "internalType": "string", "name": "limit", "type": "string" },393      { "internalType": "uint256", "name": "value", "type": "uint256" }394    ],395    "name": "setCollectionLimit",396    "outputs": [],397    "stateMutability": "nonpayable",398    "type": "function"399  },400  {401    "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }],402    "name": "setCollectionMintMode",403    "outputs": [],404    "stateMutability": "nonpayable",405    "type": "function"406  },407  {408    "inputs": [{ "internalType": "bool", "name": "enable", "type": "bool" }],409    "name": "setCollectionNesting",410    "outputs": [],411    "stateMutability": "nonpayable",412    "type": "function"413  },414  {415    "inputs": [416      { "internalType": "bool", "name": "enable", "type": "bool" },417      {418        "internalType": "address[]",419        "name": "collections",420        "type": "address[]"421      }422    ],423    "name": "setCollectionNesting",424    "outputs": [],425    "stateMutability": "nonpayable",426    "type": "function"427  },428  {429    "inputs": [430      {431        "components": [432          { "internalType": "string", "name": "key", "type": "string" },433          { "internalType": "bytes", "name": "value", "type": "bytes" }434        ],435        "internalType": "struct Property[]",436        "name": "properties",437        "type": "tuple[]"438      }439    ],440    "name": "setCollectionProperties",441    "outputs": [],442    "stateMutability": "nonpayable",443    "type": "function"444  },445  {446    "inputs": [447      {448        "components": [449          { "internalType": "address", "name": "eth", "type": "address" },450          { "internalType": "uint256", "name": "sub", "type": "uint256" }451        ],452        "internalType": "struct EthCrossAccount",453        "name": "sponsor",454        "type": "tuple"455      }456    ],457    "name": "setCollectionSponsorCross",458    "outputs": [],459    "stateMutability": "nonpayable",460    "type": "function"461  },462  {463    "inputs": [464      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }465    ],466    "name": "supportsInterface",467    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],468    "stateMutability": "view",469    "type": "function"470  },471  {472    "inputs": [],473    "name": "symbol",474    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],475    "stateMutability": "view",476    "type": "function"477  },478  {479    "inputs": [],480    "name": "totalSupply",481    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],482    "stateMutability": "view",483    "type": "function"484  },485  {486    "inputs": [487      { "internalType": "address", "name": "to", "type": "address" },488      { "internalType": "uint256", "name": "amount", "type": "uint256" }489    ],490    "name": "transfer",491    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],492    "stateMutability": "nonpayable",493    "type": "function"494  },495  {496    "inputs": [497      {498        "components": [499          { "internalType": "address", "name": "eth", "type": "address" },500          { "internalType": "uint256", "name": "sub", "type": "uint256" }501        ],502        "internalType": "struct EthCrossAccount",503        "name": "to",504        "type": "tuple"505      },506      { "internalType": "uint256", "name": "amount", "type": "uint256" }507    ],508    "name": "transferCross",509    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],510    "stateMutability": "nonpayable",511    "type": "function"512  },513  {514    "inputs": [515      { "internalType": "address", "name": "from", "type": "address" },516      { "internalType": "address", "name": "to", "type": "address" },517      { "internalType": "uint256", "name": "amount", "type": "uint256" }518    ],519    "name": "transferFrom",520    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],521    "stateMutability": "nonpayable",522    "type": "function"523  },524  {525    "inputs": [526      {527        "components": [528          { "internalType": "address", "name": "eth", "type": "address" },529          { "internalType": "uint256", "name": "sub", "type": "uint256" }530        ],531        "internalType": "struct EthCrossAccount",532        "name": "from",533        "type": "tuple"534      },535      {536        "components": [537          { "internalType": "address", "name": "eth", "type": "address" },538          { "internalType": "uint256", "name": "sub", "type": "uint256" }539        ],540        "internalType": "struct EthCrossAccount",541        "name": "to",542        "type": "tuple"543      },544      { "internalType": "uint256", "name": "amount", "type": "uint256" }545    ],546    "name": "transferFromCross",547    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],548    "stateMutability": "nonpayable",549    "type": "function"550  },551  {552    "inputs": [],553    "name": "uniqueCollectionType",554    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],555    "stateMutability": "view",556    "type": "function"557  }558]