git.delta.rocks / unique-network / refs/heads / master

difftreelog

source

js-packages/evm-abi/abi/fungible.json19.3 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": "owner",105        "type": "tuple"106      },107      {108        "components": [109          { "internalType": "address", "name": "eth", "type": "address" },110          { "internalType": "uint256", "name": "sub", "type": "uint256" }111        ],112        "internalType": "struct CrossAddress",113        "name": "spender",114        "type": "tuple"115      }116    ],117    "name": "allowanceCross",118    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],119    "stateMutability": "view",120    "type": "function"121  },122  {123    "inputs": [124      {125        "components": [126          { "internalType": "address", "name": "eth", "type": "address" },127          { "internalType": "uint256", "name": "sub", "type": "uint256" }128        ],129        "internalType": "struct CrossAddress",130        "name": "user",131        "type": "tuple"132      }133    ],134    "name": "allowlistedCross",135    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],136    "stateMutability": "view",137    "type": "function"138  },139  {140    "inputs": [141      { "internalType": "address", "name": "spender", "type": "address" },142      { "internalType": "uint256", "name": "amount", "type": "uint256" }143    ],144    "name": "approve",145    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],146    "stateMutability": "nonpayable",147    "type": "function"148  },149  {150    "inputs": [151      {152        "components": [153          { "internalType": "address", "name": "eth", "type": "address" },154          { "internalType": "uint256", "name": "sub", "type": "uint256" }155        ],156        "internalType": "struct CrossAddress",157        "name": "spender",158        "type": "tuple"159      },160      { "internalType": "uint256", "name": "amount", "type": "uint256" }161    ],162    "name": "approveCross",163    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],164    "stateMutability": "nonpayable",165    "type": "function"166  },167  {168    "inputs": [169      { "internalType": "address", "name": "owner", "type": "address" }170    ],171    "name": "balanceOf",172    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],173    "stateMutability": "view",174    "type": "function"175  },176  {177    "inputs": [178      {179        "components": [180          { "internalType": "address", "name": "eth", "type": "address" },181          { "internalType": "uint256", "name": "sub", "type": "uint256" }182        ],183        "internalType": "struct CrossAddress",184        "name": "owner",185        "type": "tuple"186      }187    ],188    "name": "balanceOfCross",189    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],190    "stateMutability": "view",191    "type": "function"192  },193  {194    "inputs": [195      {196        "components": [197          { "internalType": "address", "name": "eth", "type": "address" },198          { "internalType": "uint256", "name": "sub", "type": "uint256" }199        ],200        "internalType": "struct CrossAddress",201        "name": "from",202        "type": "tuple"203      },204      { "internalType": "uint256", "name": "amount", "type": "uint256" }205    ],206    "name": "burnFromCross",207    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],208    "stateMutability": "nonpayable",209    "type": "function"210  },211  {212    "inputs": [213      {214        "components": [215          { "internalType": "address", "name": "eth", "type": "address" },216          { "internalType": "uint256", "name": "sub", "type": "uint256" }217        ],218        "internalType": "struct CrossAddress",219        "name": "newOwner",220        "type": "tuple"221      }222    ],223    "name": "changeCollectionOwnerCross",224    "outputs": [],225    "stateMutability": "nonpayable",226    "type": "function"227  },228  {229    "inputs": [],230    "name": "collectionAdmins",231    "outputs": [232      {233        "components": [234          { "internalType": "address", "name": "eth", "type": "address" },235          { "internalType": "uint256", "name": "sub", "type": "uint256" }236        ],237        "internalType": "struct CrossAddress[]",238        "name": "",239        "type": "tuple[]"240      }241    ],242    "stateMutability": "view",243    "type": "function"244  },245  {246    "inputs": [],247    "name": "collectionHelperAddress",248    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],249    "stateMutability": "view",250    "type": "function"251  },252  {253    "inputs": [],254    "name": "collectionLimits",255    "outputs": [256      {257        "components": [258          {259            "internalType": "enum CollectionLimitField",260            "name": "field",261            "type": "uint8"262          },263          {264            "components": [265              { "internalType": "bool", "name": "status", "type": "bool" },266              { "internalType": "uint256", "name": "value", "type": "uint256" }267            ],268            "internalType": "struct OptionUint256",269            "name": "value",270            "type": "tuple"271          }272        ],273        "internalType": "struct CollectionLimit[]",274        "name": "",275        "type": "tuple[]"276      }277    ],278    "stateMutability": "view",279    "type": "function"280  },281  {282    "inputs": [],283    "name": "collectionNesting",284    "outputs": [285      {286        "components": [287          { "internalType": "bool", "name": "token_owner", "type": "bool" },288          {289            "internalType": "bool",290            "name": "collection_admin",291            "type": "bool"292          },293          {294            "internalType": "address[]",295            "name": "restricted",296            "type": "address[]"297          }298        ],299        "internalType": "struct CollectionNestingAndPermission",300        "name": "",301        "type": "tuple"302      }303    ],304    "stateMutability": "view",305    "type": "function"306  },307  {308    "inputs": [],309    "name": "collectionOwner",310    "outputs": [311      {312        "components": [313          { "internalType": "address", "name": "eth", "type": "address" },314          { "internalType": "uint256", "name": "sub", "type": "uint256" }315        ],316        "internalType": "struct CrossAddress",317        "name": "",318        "type": "tuple"319      }320    ],321    "stateMutability": "view",322    "type": "function"323  },324  {325    "inputs": [326      { "internalType": "string[]", "name": "keys", "type": "string[]" }327    ],328    "name": "collectionProperties",329    "outputs": [330      {331        "components": [332          { "internalType": "string", "name": "key", "type": "string" },333          { "internalType": "bytes", "name": "value", "type": "bytes" }334        ],335        "internalType": "struct Property[]",336        "name": "",337        "type": "tuple[]"338      }339    ],340    "stateMutability": "view",341    "type": "function"342  },343  {344    "inputs": [{ "internalType": "string", "name": "key", "type": "string" }],345    "name": "collectionProperty",346    "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],347    "stateMutability": "view",348    "type": "function"349  },350  {351    "inputs": [],352    "name": "collectionSponsor",353    "outputs": [354      {355        "components": [356          { "internalType": "address", "name": "eth", "type": "address" },357          { "internalType": "uint256", "name": "sub", "type": "uint256" }358        ],359        "internalType": "struct CrossAddress",360        "name": "",361        "type": "tuple"362      }363    ],364    "stateMutability": "view",365    "type": "function"366  },367  {368    "inputs": [],369    "name": "confirmCollectionSponsorship",370    "outputs": [],371    "stateMutability": "nonpayable",372    "type": "function"373  },374  {375    "inputs": [],376    "name": "contractAddress",377    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],378    "stateMutability": "view",379    "type": "function"380  },381  {382    "inputs": [],383    "name": "decimals",384    "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],385    "stateMutability": "view",386    "type": "function"387  },388  {389    "inputs": [390      { "internalType": "string[]", "name": "keys", "type": "string[]" }391    ],392    "name": "deleteCollectionProperties",393    "outputs": [],394    "stateMutability": "nonpayable",395    "type": "function"396  },397  {398    "inputs": [],399    "name": "description",400    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],401    "stateMutability": "view",402    "type": "function"403  },404  {405    "inputs": [],406    "name": "hasCollectionPendingSponsor",407    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],408    "stateMutability": "view",409    "type": "function"410  },411  {412    "inputs": [413      {414        "components": [415          { "internalType": "address", "name": "eth", "type": "address" },416          { "internalType": "uint256", "name": "sub", "type": "uint256" }417        ],418        "internalType": "struct CrossAddress",419        "name": "user",420        "type": "tuple"421      }422    ],423    "name": "isOwnerOrAdminCross",424    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],425    "stateMutability": "view",426    "type": "function"427  },428  {429    "inputs": [430      { "internalType": "address", "name": "to", "type": "address" },431      { "internalType": "uint256", "name": "amount", "type": "uint256" }432    ],433    "name": "mint",434    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],435    "stateMutability": "nonpayable",436    "type": "function"437  },438  {439    "inputs": [440      {441        "components": [442          { "internalType": "address", "name": "to", "type": "address" },443          { "internalType": "uint256", "name": "amount", "type": "uint256" }444        ],445        "internalType": "struct AmountForAddress[]",446        "name": "amounts",447        "type": "tuple[]"448      }449    ],450    "name": "mintBulk",451    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],452    "stateMutability": "nonpayable",453    "type": "function"454  },455  {456    "inputs": [457      {458        "components": [459          { "internalType": "address", "name": "eth", "type": "address" },460          { "internalType": "uint256", "name": "sub", "type": "uint256" }461        ],462        "internalType": "struct CrossAddress",463        "name": "to",464        "type": "tuple"465      },466      { "internalType": "uint256", "name": "amount", "type": "uint256" }467    ],468    "name": "mintCross",469    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],470    "stateMutability": "nonpayable",471    "type": "function"472  },473  {474    "inputs": [],475    "name": "name",476    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],477    "stateMutability": "view",478    "type": "function"479  },480  {481    "inputs": [482      {483        "components": [484          { "internalType": "address", "name": "eth", "type": "address" },485          { "internalType": "uint256", "name": "sub", "type": "uint256" }486        ],487        "internalType": "struct CrossAddress",488        "name": "admin",489        "type": "tuple"490      }491    ],492    "name": "removeCollectionAdminCross",493    "outputs": [],494    "stateMutability": "nonpayable",495    "type": "function"496  },497  {498    "inputs": [],499    "name": "removeCollectionSponsor",500    "outputs": [],501    "stateMutability": "nonpayable",502    "type": "function"503  },504  {505    "inputs": [506      {507        "components": [508          { "internalType": "address", "name": "eth", "type": "address" },509          { "internalType": "uint256", "name": "sub", "type": "uint256" }510        ],511        "internalType": "struct CrossAddress",512        "name": "user",513        "type": "tuple"514      }515    ],516    "name": "removeFromCollectionAllowListCross",517    "outputs": [],518    "stateMutability": "nonpayable",519    "type": "function"520  },521  {522    "inputs": [523      { "internalType": "enum AccessMode", "name": "mode", "type": "uint8" }524    ],525    "name": "setCollectionAccess",526    "outputs": [],527    "stateMutability": "nonpayable",528    "type": "function"529  },530  {531    "inputs": [532      {533        "components": [534          {535            "internalType": "enum CollectionLimitField",536            "name": "field",537            "type": "uint8"538          },539          {540            "components": [541              { "internalType": "bool", "name": "status", "type": "bool" },542              { "internalType": "uint256", "name": "value", "type": "uint256" }543            ],544            "internalType": "struct OptionUint256",545            "name": "value",546            "type": "tuple"547          }548        ],549        "internalType": "struct CollectionLimit",550        "name": "limit",551        "type": "tuple"552      }553    ],554    "name": "setCollectionLimit",555    "outputs": [],556    "stateMutability": "nonpayable",557    "type": "function"558  },559  {560    "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }],561    "name": "setCollectionMintMode",562    "outputs": [],563    "stateMutability": "nonpayable",564    "type": "function"565  },566  {567    "inputs": [568      {569        "components": [570          { "internalType": "bool", "name": "token_owner", "type": "bool" },571          {572            "internalType": "bool",573            "name": "collection_admin",574            "type": "bool"575          },576          {577            "internalType": "address[]",578            "name": "restricted",579            "type": "address[]"580          }581        ],582        "internalType": "struct CollectionNestingAndPermission",583        "name": "collectionNestingAndPermissions",584        "type": "tuple"585      }586    ],587    "name": "setCollectionNesting",588    "outputs": [],589    "stateMutability": "nonpayable",590    "type": "function"591  },592  {593    "inputs": [594      {595        "components": [596          { "internalType": "string", "name": "key", "type": "string" },597          { "internalType": "bytes", "name": "value", "type": "bytes" }598        ],599        "internalType": "struct Property[]",600        "name": "properties",601        "type": "tuple[]"602      }603    ],604    "name": "setCollectionProperties",605    "outputs": [],606    "stateMutability": "nonpayable",607    "type": "function"608  },609  {610    "inputs": [611      {612        "components": [613          { "internalType": "address", "name": "eth", "type": "address" },614          { "internalType": "uint256", "name": "sub", "type": "uint256" }615        ],616        "internalType": "struct CrossAddress",617        "name": "sponsor",618        "type": "tuple"619      }620    ],621    "name": "setCollectionSponsorCross",622    "outputs": [],623    "stateMutability": "nonpayable",624    "type": "function"625  },626  {627    "inputs": [628      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }629    ],630    "name": "supportsInterface",631    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],632    "stateMutability": "view",633    "type": "function"634  },635  {636    "inputs": [],637    "name": "symbol",638    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],639    "stateMutability": "view",640    "type": "function"641  },642  {643    "inputs": [],644    "name": "totalSupply",645    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],646    "stateMutability": "view",647    "type": "function"648  },649  {650    "inputs": [651      { "internalType": "address", "name": "to", "type": "address" },652      { "internalType": "uint256", "name": "amount", "type": "uint256" }653    ],654    "name": "transfer",655    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],656    "stateMutability": "nonpayable",657    "type": "function"658  },659  {660    "inputs": [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": "transferCross",673    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],674    "stateMutability": "nonpayable",675    "type": "function"676  },677  {678    "inputs": [679      { "internalType": "address", "name": "from", "type": "address" },680      { "internalType": "address", "name": "to", "type": "address" },681      { "internalType": "uint256", "name": "amount", "type": "uint256" }682    ],683    "name": "transferFrom",684    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],685    "stateMutability": "nonpayable",686    "type": "function"687  },688  {689    "inputs": [690      {691        "components": [692          { "internalType": "address", "name": "eth", "type": "address" },693          { "internalType": "uint256", "name": "sub", "type": "uint256" }694        ],695        "internalType": "struct CrossAddress",696        "name": "from",697        "type": "tuple"698      },699      {700        "components": [701          { "internalType": "address", "name": "eth", "type": "address" },702          { "internalType": "uint256", "name": "sub", "type": "uint256" }703        ],704        "internalType": "struct CrossAddress",705        "name": "to",706        "type": "tuple"707      },708      { "internalType": "uint256", "name": "amount", "type": "uint256" }709    ],710    "name": "transferFromCross",711    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],712    "stateMutability": "nonpayable",713    "type": "function"714  },715  {716    "inputs": [],717    "name": "uniqueCollectionType",718    "outputs": [{ "internalType": "string", "name": "", "type": "string" }],719    "stateMutability": "view",720    "type": "function"721  }722]