Overview ERC1155
Total Supply:
1,093,262.77 GNUS

Holders:
3,802
Profile Summary
Blockchain:
Ethereum (1)

Contract Source Code Verified (Exact Match)
Contract Name:
GeniusDiamond

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1000 runs

Created At:
Tue, 20 Feb 2024 13:54:11 GMT
GeniusDiamond.sol
contracts
GeniusDiamond.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_contractOwner",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_diamondCutFacet",
        "type": "address"
      }
    ],
    "stateMutability": "payable",
    "type": "constructor"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_initializationContractAddress",
        "type": "address"
      },
      {
        "internalType": "bytes",
        "name": "_calldata",
        "type": "bytes"
      }
    ],
    "name": "InitializationFunctionReverted",
    "type": "error"
  },
  {
    "stateMutability": "payable",
    "type": "fallback"
  },
  {
    "inputs": [
      {
        "internalType": "bytes4",
        "name": "interfaceId",
        "type": "bytes4"
      }
    ],
    "name": "supportsInterface",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "stateMutability": "payable",
    "type": "receive"
  }
]


Contract Creation Code
6080604052604051620025203803806200252083398101604081905262000026916200107e565b81816200003e826200034060201b620001681760201c565b604080516001808252818301909252600091816020015b60408051606080820183526000808352602083015291810191909152815260200190600190039081620000555750506040805160018082528183019092529192506000919060208083019080368337019050509050631f931c1c60e01b81600081518110620000c857620000c8620010b6565b6001600160e01b031990921660209283029190910182015260408051606081019091526001600160a01b03851681529081016000815260200182815250826000815181106200011b576200011b620010b6565b60200260200101819052506200014e82600060405180602001604052806000815250620003c460201b620002151760201c565b50505050620001676200055160201b620003971760201c565b54610100900460ff1662000195576200018a6200055160201b620003971760201c565b5460ff16156200019f565b6200019f62000575565b620002085760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b60006200021f6200055160201b620003971760201c565b54610100900460ff1615905080156200028a576001620002496200055160201b620003971760201c565b60000160016101000a81548160ff02191690831515021790555060016200027a6200055160201b620003971760201c565b805460ff19169115159190911790555b6200029462000593565b620002a6636cdb3d1360e11b62000618565b620002b86301ffc9a760e01b62000618565b620002ca6307e4c70760e21b62000618565b620002dc6348e2b09360e01b62000618565b6000620002f36200055160201b620003971760201c565b805460ff1916911515919091179055801562000337576000620003206200055160201b620003971760201c565b80549115156101000261ff00199092169190911790555b50505062001339565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080546001600160a01b031981166001600160a01b038481169182179093556040516000805160206200246c833981519152939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131e546000805160206200246c8339815191529061ffff811690819060009060071615620004235750600381901c60009081526001840160205260409020545b60005b8751811015620004bf57620004a583838a84815181106200044b576200044b620010b6565b6020026020010151600001518b85815181106200046c576200046c620010b6565b6020026020010151602001518c86815181106200048d576200048d620010b6565b602002602001015160400151620006b960201b60201c565b909350915080620004b681620010f8565b91505062000426565b50828214620004dc5760028401805461ffff191661ffff84161790555b6007821615620004ff57600382901c600090815260018501602052604090208190555b7f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673878787604051620005349392919062001173565b60405180910390a162000548868662000ec3565b50505050505050565b7f7a9c09dffb400f1c80d0455dcb8e56808aa28f0a58ad6480b85e9ec3328b6d9b90565b60006200058d3062000f9b60201b620003bb1760201c565b15905090565b620005a86200055160201b620003971760201c565b54610100900460ff16620006025760405162461bcd60e51b815260206004820152602b6024820152600080516020620024d883398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620001ff565b6200060c62000faa565b6200061662000faa565b565b6001600160e01b03198082161415620006745760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e74657266616365206964000000006044820152606401620001ff565b60016200068b6200101960201b620003ca1760201c565b6001600160e01b03199290921660009081526020929092526040909120805460ff1916911515919091179055565b600080806000805160206200246c83398151915290506000845111620007365760405162461bcd60e51b815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201526a1858d95d081d1bc818dd5d60aa1b6064820152608401620001ff565b60008560028111156200074d576200074d620010cc565b1415620008d45762000779866040518060600160405280602481526020016200248c602491396200103d565b60005b8451811015620008cd5760008582815181106200079d576200079d620010b6565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c15620008405760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c72656164792065786973747300000000000000000000006064820152608401620001ff565b6001600160e01b031980831660008181526020879052604090206001600160601b031960608d901b168e17905560e060058e901b811692831c199c909c1690821c179a811415620008a55760038c901c600090815260018601602052604081209b909b555b8b620008b181620010f8565b9c50505050508080620008c490620010f8565b9150506200077c565b5062000eb7565b6001856002811115620008eb57620008eb620010cc565b141562000b07576200091786604051806060016040528060288152602001620024f8602891396200103d565b60005b8451811015620008cd5760008582815181106200093b576200093b620010b6565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c30811415620009d35760405162461bcd60e51b815260206004820152602f60248201527f4c69624469616d6f6e644375743a2043616e2774207265706c61636520696d6d60448201526e3aba30b1363290333ab731ba34b7b760891b6064820152608401620001ff565b896001600160a01b0316816001600160a01b0316141562000a4c5760405162461bcd60e51b815260206004820152603860248201526000805160206200244c83398151915260448201527f6374696f6e20776974682073616d652066756e6374696f6e00000000000000006064820152608401620001ff565b6001600160a01b03811662000ab95760405162461bcd60e51b815260206004820152603860248201526000805160206200244c83398151915260448201527f6374696f6e207468617420646f65736e277420657869737400000000000000006064820152608401620001ff565b506001600160e01b031990911660009081526020849052604090206001600160601b03919091166001600160601b031960608a901b161790558062000afe81620010f8565b9150506200091a565b600285600281111562000b1e5762000b1e620010cc565b141562000e5e576001600160a01b0386161562000ba45760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d7573742062652061646472657373283029000000000000000000006064820152608401620001ff565b600388901c6007891660005b865181101562000e39578962000bed578262000bcc816200127a565b60008181526001870160205260409020549b5093506007925062000bfd9050565b8162000bf9816200127a565b9250505b6000806000808a858151811062000c185762000c18620010b6565b6020908102919091018101516001600160e01b031981166000908152918a9052604090912054909150606081901c62000cba5760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e27742065786973740000000000000000006064820152608401620001ff565b606081901c30141562000d275760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b6064820152608401620001ff565b600587901b8f901b94506001600160e01b03198086169083161462000d79576001600160e01b03198516600090815260208a90526040902080546001600160601b0319166001600160601b0383161790555b6001600160e01b031991909116600090815260208990526040812055600381901c611fff16925060051b60e016905085821462000de0576000828152600188016020526040902080546001600160e01b031980841c19909116908516831c17905562000e04565b80836001600160e01b031916901c816001600160e01b031960001b901c198e16179c505b8462000e2057600086815260018801602052604081208190559c505b505050808062000e3090620010f8565b91505062000bb0565b508062000e4883600862001294565b62000e549190620012b6565b9950505062000eb7565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b6064820152608401620001ff565b50959694955050505050565b6001600160a01b03821662000ed6575050565b62000efb82604051806060016040528060288152602001620024b0602891396200103d565b600080836001600160a01b03168360405162000f189190620012d1565b600060405180830381855af49150503d806000811462000f55576040519150601f19603f3d011682016040523d82523d6000602084013e62000f5a565b606091505b50915091508162000f955780511562000f765780518082602001fd5b838360405163192105d760e01b8152600401620001ff929190620012ef565b50505050565b6001600160a01b03163b151590565b62000fbf6200055160201b620003971760201c565b54610100900460ff16620006165760405162461bcd60e51b815260206004820152602b6024820152600080516020620024d883398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620001ff565b7f3f765b30d91b767793626dd7ae57c00e6f5f1a7c61a9d69537b3aa3dba5bee2a90565b813b818162000f955760405162461bcd60e51b8152600401620001ff91906200131d565b80516001600160a01b03811681146200107957600080fd5b919050565b600080604083850312156200109257600080fd5b6200109d8362001061565b9150620010ad6020840162001061565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156200110f576200110f620010e2565b5060010190565b60005b838110156200113357818101518382015260200162001119565b8381111562000f955750506000910152565b600081518084526200115f81602086016020860162001116565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156200124857898403607f19018652815180516001600160a01b03168552838101518986019060038110620011e457634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b80831015620012325783516001600160e01b031916825292860192600192909201919086019062001206565b509785019795505050908201906001016200119c565b50506001600160a01b038a169088015286810360408801526200126c818962001145565b9a9950505050505050505050565b6000816200128c576200128c620010e2565b506000190190565b6000816000190483118215151615620012b157620012b1620010e2565b500290565b60008219821115620012cc57620012cc620010e2565b500190565b60008251620012e581846020870162001116565b9190910192915050565b6001600160a01b0383168152604060208201819052600090620013159083018462001145565b949350505050565b60208152600062001332602083018462001145565b9392505050565b61110380620013496000396000f3fe6080604052600436106100225760003560e01c806301ffc9a7146100e057610029565b3661002957005b600080356001600160e01b03191681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819060601c806100bc5760405162461bcd60e51b815260206004820181905260248201527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460448201526064015b60405180910390fd5b3660008037600080366000845af43d6000803e8080156100db573d6000f35b3d6000fd5b3480156100ec57600080fd5b506101006100fb366004610dcd565b610114565b604051901515815260200160405180910390f35b600061011f826103ee565b8061016257506001600160e01b0319821660009081527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131f602052604090205460ff165b92915050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080547fffffffffffffffffffffffff000000000000000000000000000000000000000081166001600160a01b038481169182179093556040517fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c939092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131e547fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c9061ffff8116908190600090600716156102845750600381901c60009081526001840160205260409020545b60005b875181101561030b576102f483838a84815181106102a7576102a7610dfe565b6020026020010151600001518b85815181106102c5576102c5610dfe565b6020026020010151602001518c86815181106102e3576102e3610dfe565b602002602001015160400151610462565b90935091508061030381610e2a565b915050610287565b508282146103275760028401805461ffff191661ffff84161790555b600782161561034957600382901c600090815260018501602052604090208190555b7f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67387878760405161037c93929190610eb3565b60405180910390a161038e8686610cc7565b50505050505050565b7f7a9c09dffb400f1c80d0455dcb8e56808aa28f0a58ad6480b85e9ec3328b6d9b90565b6001600160a01b03163b151590565b7f3f765b30d91b767793626dd7ae57c00e6f5f1a7c61a9d69537b3aa3dba5bee2a90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614806101625750506001600160e01b03191660009081527f3f765b30d91b767793626dd7ae57c00e6f5f1a7c61a9d69537b3aa3dba5bee2a602052604090205460ff1690565b600080807fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c905060008451116105005760405162461bcd60e51b815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201527f6163657420746f2063757400000000000000000000000000000000000000000060648201526084016100b3565b600085600281111561051457610514610e45565b141561068f5761053c8660405180606001604052806024815260200161105a60249139610dac565b60005b845181101561068957600085828151811061055c5761055c610dfe565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c156105fd5760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c726561647920657869737473000000000000000000000060648201526084016100b3565b6001600160e01b031980831660008181526020879052604090206bffffffffffffffffffffffff1960608d901b168e17905560e060058e901b811692831c199c909c1690821c179a8114156106665760038c901c600090815260018601602052604081209b909b555b8b61067081610e2a565b9c5050505050808061068190610e2a565b91505061053f565b50610cbb565b60018560028111156106a3576106a3610e45565b14156108e8576106cb866040518060600160405280602881526020016110a660289139610dac565b60005b84518110156106895760008582815181106106eb576106eb610dfe565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c3081141561078f5760405162461bcd60e51b815260206004820152602f60248201527f4c69624469616d6f6e644375743a2043616e2774207265706c61636520696d6d60448201527f757461626c652066756e6374696f6e000000000000000000000000000000000060648201526084016100b3565b896001600160a01b0316816001600160a01b031614156108175760405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e20776974682073616d652066756e6374696f6e000000000000000060648201526084016100b3565b6001600160a01b0381166108935760405162461bcd60e51b815260206004820152603860248201527f4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e60448201527f6374696f6e207468617420646f65736e2774206578697374000000000000000060648201526084016100b3565b506001600160e01b031990911660009081526020849052604090206bffffffffffffffffffffffff919091166bffffffffffffffffffffffff1960608a901b16179055806108e081610e2a565b9150506106ce565b60028560028111156108fc576108fc610e45565b1415610c4d576001600160a01b0386161561097f5760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d75737420626520616464726573732830290000000000000000000060648201526084016100b3565b600388901c6007891660005b8651811015610c2d57896109c357826109a381610fb2565b60008181526001870160205260409020549b509350600792506109d19050565b816109cd81610fb2565b9250505b6000806000808a85815181106109e9576109e9610dfe565b6020908102919091018101516001600160e01b031981166000908152918a9052604090912054909150606081901c610a895760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e277420657869737400000000000000000060648201526084016100b3565b606081901c301415610b035760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201527f7461626c652066756e6374696f6e00000000000000000000000000000000000060648201526084016100b3565b600587901b8f901b94506001600160e01b031980861690831614610b5e576001600160e01b03198516600090815260208a90526040902080546bffffffffffffffffffffffff19166bffffffffffffffffffffffff83161790555b6001600160e01b031991909116600090815260208990526040812055600381901c611fff16925060051b60e0169050858214610bc3576000828152600188016020526040902080546001600160e01b031980841c19909116908516831c179055610bfc565b80837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c816001600160e01b031960001b901c198e16179c505b84610c1757600086815260018801602052604081208190559c505b5050508080610c2590610e2a565b91505061098b565b5080610c3a836008610fc9565b610c449190610fe8565b99505050610cbb565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f7272656374204661636574437560448201527f74416374696f6e0000000000000000000000000000000000000000000000000060648201526084016100b3565b50959694955050505050565b6001600160a01b038216610cd9575050565b610cfb8260405180606001604052806028815260200161107e60289139610dac565b600080836001600160a01b031683604051610d169190611000565b600060405180830381855af49150503d8060008114610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b509150915081610da657805115610d705780518082602001fd5b83836040517f192105d70000000000000000000000000000000000000000000000000000000081526004016100b392919061101c565b50505050565b813b8181610da65760405162461bcd60e51b81526004016100b39190611046565b600060208284031215610ddf57600080fd5b81356001600160e01b031981168114610df757600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415610e3e57610e3e610e14565b5060010190565b634e487b7160e01b600052602160045260246000fd5b60005b83811015610e76578181015183820152602001610e5e565b83811115610da65750506000910152565b60008151808452610e9f816020860160208601610e5b565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b84811015610f8257607f198a850301865281518885016001600160a01b0382511686528482015160038110610f2157634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b80831015610f6d5783516001600160e01b0319168252928601926001929092019190860190610f43565b50978501979550505090820190600101610edc565b50506001600160a01b038a16908801528681036040880152610fa48189610e87565b9a9950505050505050505050565b600081610fc157610fc1610e14565b506000190190565b6000816000190483118215151615610fe357610fe3610e14565b500290565b60008219821115610ffb57610ffb610e14565b500190565b60008251611012818460208701610e5b565b9190910192915050565b6001600160a01b038316815260406020820152600061103e6040830184610e87565b949350505050565b602081526000610df76020830184610e8756fe4c69624469616d6f6e644375743a2041646420666163657420686173206e6f20636f64654c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a205265706c61636520666163657420686173206e6f20636f6465a2646970667358221220111d853a2b3e7ec2c4b7f3baaa1f0138a2422e740860cb434f5f5b9c0cae223064736f6c634300080900334c69624469616d6f6e644375743a2043616e2774207265706c6163652066756ec8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c4c69624469616d6f6e644375743a2041646420666163657420686173206e6f20636f64654c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f6465496e697469616c697a61626c653a20636f6e7472616374206973206e6f7420694c69624469616d6f6e644375743a205265706c61636520666163657420686173206e6f20636f64650000000000000000000000001804deca63705e18edf04f242b325bcd54a8b4630000000000000000000000002765a3b1367ecae882a427e9a188832934f6ad46