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

difftreelog

source

js-packages/tests/src/eth/abi/collectionHelpers.json7.7 KiBsourcehistory
1[2  {3    "anonymous": false,4    "inputs": [5      {6        "indexed": true,7        "internalType": "address",8        "name": "collectionId",9        "type": "address"10      }11    ],12    "name": "CollectionChanged",13    "type": "event"14  },15  {16    "anonymous": false,17    "inputs": [18      {19        "indexed": true,20        "internalType": "address",21        "name": "owner",22        "type": "address"23      },24      {25        "indexed": true,26        "internalType": "address",27        "name": "collectionId",28        "type": "address"29      }30    ],31    "name": "CollectionCreated",32    "type": "event"33  },34  {35    "anonymous": false,36    "inputs": [37      {38        "indexed": true,39        "internalType": "address",40        "name": "collectionId",41        "type": "address"42      }43    ],44    "name": "CollectionDestroyed",45    "type": "event"46  },47  {48    "inputs": [49      { "internalType": "uint32", "name": "collectionId", "type": "uint32" }50    ],51    "name": "collectionAddress",52    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],53    "stateMutability": "view",54    "type": "function"55  },56  {57    "inputs": [],58    "name": "collectionCreationFee",59    "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],60    "stateMutability": "view",61    "type": "function"62  },63  {64    "inputs": [65      {66        "internalType": "address",67        "name": "collectionAddress",68        "type": "address"69      }70    ],71    "name": "collectionId",72    "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }],73    "stateMutability": "view",74    "type": "function"75  },76  {77    "inputs": [78      {79        "components": [80          { "internalType": "string", "name": "name", "type": "string" },81          { "internalType": "string", "name": "description", "type": "string" },82          {83            "internalType": "string",84            "name": "token_prefix",85            "type": "string"86          },87          {88            "internalType": "enum CollectionMode",89            "name": "mode",90            "type": "uint8"91          },92          { "internalType": "uint8", "name": "decimals", "type": "uint8" },93          {94            "components": [95              { "internalType": "string", "name": "key", "type": "string" },96              { "internalType": "bytes", "name": "value", "type": "bytes" }97            ],98            "internalType": "struct Property[]",99            "name": "properties",100            "type": "tuple[]"101          },102          {103            "components": [104              { "internalType": "string", "name": "key", "type": "string" },105              {106                "components": [107                  {108                    "internalType": "enum TokenPermissionField",109                    "name": "code",110                    "type": "uint8"111                  },112                  { "internalType": "bool", "name": "value", "type": "bool" }113                ],114                "internalType": "struct PropertyPermission[]",115                "name": "permissions",116                "type": "tuple[]"117              }118            ],119            "internalType": "struct TokenPropertyPermission[]",120            "name": "token_property_permissions",121            "type": "tuple[]"122          },123          {124            "components": [125              { "internalType": "address", "name": "eth", "type": "address" },126              { "internalType": "uint256", "name": "sub", "type": "uint256" }127            ],128            "internalType": "struct CrossAddress[]",129            "name": "admin_list",130            "type": "tuple[]"131          },132          {133            "components": [134              { "internalType": "bool", "name": "token_owner", "type": "bool" },135              {136                "internalType": "bool",137                "name": "collection_admin",138                "type": "bool"139              },140              {141                "internalType": "address[]",142                "name": "restricted",143                "type": "address[]"144              }145            ],146            "internalType": "struct CollectionNestingAndPermission",147            "name": "nesting_settings",148            "type": "tuple"149          },150          {151            "components": [152              {153                "internalType": "enum CollectionLimitField",154                "name": "field",155                "type": "uint8"156              },157              { "internalType": "uint256", "name": "value", "type": "uint256" }158            ],159            "internalType": "struct CollectionLimitValue[]",160            "name": "limits",161            "type": "tuple[]"162          },163          {164            "components": [165              { "internalType": "address", "name": "eth", "type": "address" },166              { "internalType": "uint256", "name": "sub", "type": "uint256" }167            ],168            "internalType": "struct CrossAddress",169            "name": "pending_sponsor",170            "type": "tuple"171          },172          {173            "internalType": "CollectionFlags",174            "name": "flags",175            "type": "uint8"176          }177        ],178        "internalType": "struct CreateCollectionData",179        "name": "data",180        "type": "tuple"181      }182    ],183    "name": "createCollection",184    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],185    "stateMutability": "payable",186    "type": "function"187  },188  {189    "inputs": [190      { "internalType": "string", "name": "name", "type": "string" },191      { "internalType": "uint8", "name": "decimals", "type": "uint8" },192      { "internalType": "string", "name": "description", "type": "string" },193      { "internalType": "string", "name": "tokenPrefix", "type": "string" }194    ],195    "name": "createFTCollection",196    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],197    "stateMutability": "payable",198    "type": "function"199  },200  {201    "inputs": [202      { "internalType": "string", "name": "name", "type": "string" },203      { "internalType": "string", "name": "description", "type": "string" },204      { "internalType": "string", "name": "tokenPrefix", "type": "string" }205    ],206    "name": "createNFTCollection",207    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],208    "stateMutability": "payable",209    "type": "function"210  },211  {212    "inputs": [213      { "internalType": "string", "name": "name", "type": "string" },214      { "internalType": "string", "name": "description", "type": "string" },215      { "internalType": "string", "name": "tokenPrefix", "type": "string" }216    ],217    "name": "createRFTCollection",218    "outputs": [{ "internalType": "address", "name": "", "type": "address" }],219    "stateMutability": "payable",220    "type": "function"221  },222  {223    "inputs": [224      {225        "internalType": "address",226        "name": "collectionAddress",227        "type": "address"228      }229    ],230    "name": "destroyCollection",231    "outputs": [],232    "stateMutability": "nonpayable",233    "type": "function"234  },235  {236    "inputs": [237      {238        "internalType": "address",239        "name": "collectionAddress",240        "type": "address"241      }242    ],243    "name": "isCollectionExist",244    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],245    "stateMutability": "view",246    "type": "function"247  },248  {249    "inputs": [250      { "internalType": "address", "name": "collection", "type": "address" },251      { "internalType": "string", "name": "baseUri", "type": "string" }252    ],253    "name": "makeCollectionERC721MetadataCompatible",254    "outputs": [],255    "stateMutability": "nonpayable",256    "type": "function"257  },258  {259    "inputs": [260      { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }261    ],262    "name": "supportsInterface",263    "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],264    "stateMutability": "view",265    "type": "function"266  }267]