Skip to content

Instantly share code, notes, and snippets.

@minhlucvan
Created May 19, 2022 04:28
Show Gist options
  • Save minhlucvan/c1402d136d775f502f09ab54aaf912f7 to your computer and use it in GitHub Desktop.
Save minhlucvan/c1402d136d775f502f09ab54aaf912f7 to your computer and use it in GitHub Desktop.

Sūrya's Description Report

Files Description Table

File Name SHA-1 Hash
e:\buster\busker-infra\busker-contracts\contracts\common\ERC1155Tradable.sol e8490e3528cd02d6db3c3ff6fa8925e5bbcba354
e:\buster\busker-infra\busker-contracts\contracts\MetaDiscMaster.sol f595d6363fd32ef08293e7a1eccd6c074d30a3b6
e:\buster\busker-infra\busker-contracts\contracts\common\IMetaDiscMaster.sol 2a5310ddee0bf1330dca76593e8d6cc3726a6dab
e:\buster\busker-infra\busker-contracts\contracts\common\IMetaDiscFactory.sol 88a3e7607b5cd2e462e548c4fe97e5c161139bb6
e:\buster\busker-infra\busker-contracts\contracts\MetaDiscFactory.sol fc14da47d98e791b077c50696f6dbade54c1f420
e:\buster\busker-infra\busker-contracts\contracts\common\IFactoryERC1155.sol cc6bfa203c185dd67462207ccb2b4cca82bafb1f
e:\buster\busker-infra\busker-contracts\contracts\common\meta-transactions\ContentMixin.sol ff156822029b2090eee0f8bf488013d281365473
e:\buster\busker-infra\busker-contracts\contracts\common\meta-transactions\NativeMetaTransaction.sol af17e10c2031ffb797cc44495a6c2bab67b4c051
e:\buster\busker-infra\busker-contracts\contracts\common\meta-transactions\EIP712Base.sol 91e0374d099d0e2d00c33fb90de0efdc0df6f946
e:\buster\busker-infra\busker-contracts\contracts\common\meta-transactions\Initializable.sol 53b2f5f7ad67966a246b36390d49bd276a49f962
e:\buster\busker-infra\busker-contracts\contracts\MetaDisc.sol bf1841efa1a751859ae1035b1ea72875a9182e45

Contracts Description Table

Contract Type Bases
Function Name Visibility Mutability Modifiers
OwnableDelegateProxy Implementation
ProxyRegistry Implementation
ERC1155Tradable Implementation ContextMixin, ERC1155, NativeMetaTransaction, Ownable
Public ❗️ 🛑 ERC1155
setFactory Public ❗️ 🛑 onlyOwner
uri Public ❗️ NO❗️
totalSupply Public ❗️ NO❗️
setURI Public ❗️ 🛑 onlyOwner
setCustomURI Public ❗️ 🛑 creatorOnly
create Public ❗️ 🛑 onlyFactory
mint Public ❗️ 🛑 creatorOnly
mintByFactory Public ❗️ 🛑 onlyFactory creatorOnlyWithCreator
batchMint Public ❗️ 🛑 NO❗️
setCreator Public ❗️ 🛑 NO❗️
isApprovedForAll Public ❗️ NO❗️
_setCreator Internal 🔒 🛑 creatorOnly
_exists Internal 🔒
exists External ❗️ NO❗️
_msgSender Internal 🔒
MetaDiscMaster Implementation IMetaDiscMaster, Initializable, OwnableUpgradeable
__MetaDiscMaster_init Public ❗️ 🛑 initializer
setFeeCreateNft External ❗️ 🛑 onlyOwner
setCompanyAddress External ❗️ 🛑 onlyOwner
setFactory External ❗️ 🛑 onlyOwner
setRegistry External ❗️ 🛑 onlyOwner
setToken External ❗️ 🛑 onlyOwner
createAlbum Public ❗️ 🛑 NO❗️
mintAlbum Public ❗️ 🛑 NO❗️
IMetaDiscMaster Interface
IMetaDiscFactory Interface
create External ❗️ 🛑 NO❗️
mintByMaster External ❗️ 🛑 NO❗️
MetaDiscFactory Implementation FactoryERC1155, Ownable, ReentrancyGuard
Public ❗️ 🛑 NO❗️
setMaster Public ❗️ 🛑 onlyOwner
supportsFactoryInterface External ❗️ NO❗️
factorySchemaName External ❗️ NO❗️
uri External ❗️ NO❗️
canMint External ❗️ NO❗️
mint External ❗️ 🛑 nonReentrant
_mint Internal 🔒 🛑
create External ❗️ 🛑 NO❗️
mintByMaster External ❗️ 🛑 NO❗️
balanceOf Public ❗️ NO❗️
_canMint Internal 🔒
_isOwnerOrProxyOrMaster Internal 🔒
FactoryERC1155 Interface
canMint External ❗️ NO❗️
uri External ❗️ NO❗️
supportsFactoryInterface External ❗️ NO❗️
factorySchemaName External ❗️ NO❗️
mint External ❗️ 🛑 NO❗️
balanceOf External ❗️ NO❗️
ContextMixin Implementation
msgSender Internal 🔒
NativeMetaTransaction Implementation EIP712Base
executeMetaTransaction Public ❗️ 💵 NO❗️
hashMetaTransaction Internal 🔒
getNonce Public ❗️ NO❗️
verify Internal 🔒
EIP712Base Implementation Initializable
_initializeEIP712 Internal 🔒 🛑 initializer
_setDomainSeperator Internal 🔒 🛑
getDomainSeperator Public ❗️ NO❗️
getChainId Public ❗️ NO❗️
toTypedMessageHash Internal 🔒
Initializable Implementation
MetaDisc Implementation ERC1155Tradable
Public ❗️ 🛑 ERC1155Tradable
contractURI Public ❗️ NO❗️

Legend

Symbol Meaning
🛑 Function can modify state
💵 Function is payable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment