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

difftreelog

source

tests/src/eth/fungibleAbi.json12.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      { "internalType": "address", "name": "newAdmin", "type": "address" }55    ],56    "name": "addCollectionAdmin",57    "outputs": [],58    "stateMutability": "nonpayable",59    "type": "function"60  },61  {62    "inputs": [63      { "internalType": "uint256", "name": "newAdmin", "type": "uint256" }64    ],65    "name": "addCollectionAdminSubstrate",66    "outputs": [],67    "stateMutability": "nonpayable",68    "type": "function"69  },70  {71    "inputs": [72      { "internalType": "address", "name": "user", "type": "address" }73    ],74    "name": "addToCollectionAllowList",75    "outputs": [],76    "stateMutability": "nonpayable",77    "type": "function"78  },79  {80    "inputs": [81      { "internalType": "uint256", "name": "user", "type": "uint256" }82    ],83    "name": "addToCollectionAllowListSubstrate",84    "outputs": [],85    "stateMutability": "nonpayable",86    "type": "function"87  },88  {89    "inputs": [90      { "internalType": "address", "name": "owner", "type": "address" },91      { "internalType": "address", "name": "spender", "type": "address" }92    ],93    "name": "allowance",94    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],95    "stateMutability": "view",96    "type": "function"97  },98  {99    "inputs": [100      { "internalType": "address", "name": "user", "type": "address" }101    ],102    "name": "allowed",103    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],104    "stateMutability": "view",105    "type": "function"106  },107  {108    "inputs": [109      { "internalType": "address", "name": "spender", "type": "address" },110      { "internalType": "uint256", "name": "amount", "type": "uint256" }111    ],112    "name": "approve",113    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],114    "stateMutability": "nonpayable",115    "type": "function"116  },117  {118    "inputs": [119      { "internalType": "address", "name": "owner", "type": "address" }120    ],121    "name": "balanceOf",122    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],123    "stateMutability": "view",124    "type": "function"125  },126  {127    "inputs": [128      { "internalType": "address", "name": "from", "type": "address" },129      { "internalType": "uint256", "name": "amount", "type": "uint256" }130    ],131    "name": "burnFrom",132    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],133    "stateMutability": "nonpayable",134    "type": "function"135  },136  {137    "inputs": [],138    "name": "collectionOwner",139    "outputs": [140      {141        "components": [142          { "internalType": "address", "name": "field_0", "type": "address" },143          { "internalType": "uint256", "name": "field_1", "type": "uint256" }144        ],145        "internalType": "struct Tuple6",146        "name": "",147        "type": "tuple"148      }149    ],150    "stateMutability": "view",151    "type": "function"152  },153  {154    "inputs": [{ "internalType": "string", "name": "key", "type": "string" }],155    "name": "collectionProperty",156    "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],157    "stateMutability": "view",158    "type": "function"159  },160  {161    "inputs": [],162    "name": "confirmCollectionSponsorship",163    "outputs": [],164    "stateMutability": "nonpayable",165    "type": "function"166  },167  {168    "inputs": [],169    "name": "contractAddress",170    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],171    "stateMutability": "view",172    "type": "function"173  },174  {175    "inputs": [],176    "name": "decimals",177    "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],178    "stateMutability": "view",179    "type": "function"180  },181  {182    "inputs": [{ "internalType": "string", "name": "key", "type": "string" }],183    "name": "deleteCollectionProperty",184    "outputs": [],185    "stateMutability": "nonpayable",186    "type": "function"187  },188  {189    "inputs": [],190    "name": "getCollectionSponsor",191    "outputs": [192      {193        "components": [194          { "internalType": "address", "name": "field_0", "type": "address" },195          { "internalType": "uint256", "name": "field_1", "type": "uint256" }196        ],197        "internalType": "struct Tuple6",198        "name": "",199        "type": "tuple"200      }201    ],202    "stateMutability": "view",203    "type": "function"204  },205  {206    "inputs": [],207    "name": "hasCollectionPendingSponsor",208    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],209    "stateMutability": "view",210    "type": "function"211  },212  {213    "inputs": [214      { "internalType": "address", "name": "user", "type": "address" }215    ],216    "name": "isOwnerOrAdmin",217    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],218    "stateMutability": "view",219    "type": "function"220  },221  {222    "inputs": [223      { "internalType": "uint256", "name": "user", "type": "uint256" }224    ],225    "name": "isOwnerOrAdminSubstrate",226    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],227    "stateMutability": "view",228    "type": "function"229  },230  {231    "inputs": [232      { "internalType": "address", "name": "to", "type": "address" },233      { "internalType": "uint256", "name": "amount", "type": "uint256" }234    ],235    "name": "mint",236    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],237    "stateMutability": "nonpayable",238    "type": "function"239  },240  {241    "inputs": [242      {243        "components": [244          { "internalType": "address", "name": "field_0", "type": "address" },245          { "internalType": "uint256", "name": "field_1", "type": "uint256" }246        ],247        "internalType": "struct Tuple6[]",248        "name": "amounts",249        "type": "tuple[]"250      }251    ],252    "name": "mintBulk",253    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],254    "stateMutability": "nonpayable",255    "type": "function"256  },257  {258    "inputs": [],259    "name": "name",260    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],261    "stateMutability": "view",262    "type": "function"263  },264  {265    "inputs": [266      { "internalType": "address", "name": "admin", "type": "address" }267    ],268    "name": "removeCollectionAdmin",269    "outputs": [],270    "stateMutability": "nonpayable",271    "type": "function"272  },273  {274    "inputs": [275      { "internalType": "uint256", "name": "admin", "type": "uint256" }276    ],277    "name": "removeCollectionAdminSubstrate",278    "outputs": [],279    "stateMutability": "nonpayable",280    "type": "function"281  },282  {283    "inputs": [],284    "name": "removeCollectionSponsor",285    "outputs": [],286    "stateMutability": "nonpayable",287    "type": "function"288  },289  {290    "inputs": [291      { "internalType": "address", "name": "user", "type": "address" }292    ],293    "name": "removeFromCollectionAllowList",294    "outputs": [],295    "stateMutability": "nonpayable",296    "type": "function"297  },298  {299    "inputs": [300      { "internalType": "uint256", "name": "user", "type": "uint256" }301    ],302    "name": "removeFromCollectionAllowListSubstrate",303    "outputs": [],304    "stateMutability": "nonpayable",305    "type": "function"306  },307  {308    "inputs": [{ "internalType": "uint8", "name": "mode", "type": "uint8" }],309    "name": "setCollectionAccess",310    "outputs": [],311    "stateMutability": "nonpayable",312    "type": "function"313  },314  {315    "inputs": [316      { "internalType": "string", "name": "limit", "type": "string" },317      { "internalType": "uint32", "name": "value", "type": "uint32" }318    ],319    "name": "setCollectionLimit",320    "outputs": [],321    "stateMutability": "nonpayable",322    "type": "function"323  },324  {325    "inputs": [326      { "internalType": "string", "name": "limit", "type": "string" },327      { "internalType": "bool", "name": "value", "type": "bool" }328    ],329    "name": "setCollectionLimit",330    "outputs": [],331    "stateMutability": "nonpayable",332    "type": "function"333  },334  {335    "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }],336    "name": "setCollectionMintMode",337    "outputs": [],338    "stateMutability": "nonpayable",339    "type": "function"340  },341  {342    "inputs": [{ "internalType": "bool", "name": "enable", "type": "bool" }],343    "name": "setCollectionNesting",344    "outputs": [],345    "stateMutability": "nonpayable",346    "type": "function"347  },348  {349    "inputs": [350      { "internalType": "bool", "name": "enable", "type": "bool" },351      {352        "internalType": "address[]",353        "name": "collections",354        "type": "address[]"355      }356    ],357    "name": "setCollectionNesting",358    "outputs": [],359    "stateMutability": "nonpayable",360    "type": "function"361  },362  {363    "inputs": [364      { "internalType": "string", "name": "key", "type": "string" },365      { "internalType": "bytes", "name": "value", "type": "bytes" }366    ],367    "name": "setCollectionProperty",368    "outputs": [],369    "stateMutability": "nonpayable",370    "type": "function"371  },372  {373    "inputs": [374      { "internalType": "address", "name": "sponsor", "type": "address" }375    ],376    "name": "setCollectionSponsor",377    "outputs": [],378    "stateMutability": "nonpayable",379    "type": "function"380  },381  {382    "inputs": [383      { "internalType": "uint256", "name": "sponsor", "type": "uint256" }384    ],385    "name": "setCollectionSponsorSubstrate",386    "outputs": [],387    "stateMutability": "nonpayable",388    "type": "function"389  },390  {391    "inputs": [392      { "internalType": "address", "name": "newOwner", "type": "address" }393    ],394    "name": "setOwner",395    "outputs": [],396    "stateMutability": "nonpayable",397    "type": "function"398  },399  {400    "inputs": [401      { "internalType": "uint256", "name": "newOwner", "type": "uint256" }402    ],403    "name": "setOwnerSubstrate",404    "outputs": [],405    "stateMutability": "nonpayable",406    "type": "function"407  },408  {409    "inputs": [410      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }411    ],412    "name": "supportsInterface",413    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],414    "stateMutability": "view",415    "type": "function"416  },417  {418    "inputs": [],419    "name": "symbol",420    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],421    "stateMutability": "view",422    "type": "function"423  },424  {425    "inputs": [],426    "name": "totalSupply",427    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],428    "stateMutability": "view",429    "type": "function"430  },431  {432    "inputs": [433      { "internalType": "address", "name": "to", "type": "address" },434      { "internalType": "uint256", "name": "amount", "type": "uint256" }435    ],436    "name": "transfer",437    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],438    "stateMutability": "nonpayable",439    "type": "function"440  },441  {442    "inputs": [443      { "internalType": "address", "name": "from", "type": "address" },444      { "internalType": "address", "name": "to", "type": "address" },445      { "internalType": "uint256", "name": "amount", "type": "uint256" }446    ],447    "name": "transferFrom",448    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],449    "stateMutability": "nonpayable",450    "type": "function"451  },452  {453    "inputs": [],454    "name": "uniqueCollectionType",455    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],456    "stateMutability": "nonpayable",457    "type": "function"458  }459]