nft-contracts icon indicating copy to clipboard operation
nft-contracts copied to clipboard

metaverse-nft: not allow contract to call mint()

Open caffeinum opened this issue 2 years ago • 4 comments

speculative.

https://www.reddit.com/r/ethdev/comments/8r6b93/is_txorigin_msgsender_a_secure_option_to_prevent/

TODO:

  • [ ] estimate how many users minted using multisig
  • [ ]

caffeinum avatar Jul 06 '22 07:07 caffeinum

Codecov Report

Merging #57 (3ef1b52) into main (bb6442e) will increase coverage by 0.30%. The diff coverage is 94.11%.

@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
+ Coverage   45.74%   46.04%   +0.30%     
==========================================
  Files          20       21       +1     
  Lines        1080     1088       +8     
  Branches      163      167       +4     
==========================================
+ Hits          494      501       +7     
- Misses        586      587       +1     
Impacted Files Coverage Δ
contracts/MetaverseNFT_ERC721.sol 0.00% <0.00%> (ø)
contracts/MetaverseBaseNFT.sol 73.15% <100.00%> (+0.18%) :arrow_up:
contracts/MetaverseBaseNFT_ERC721.sol 72.97% <100.00%> (+0.18%) :arrow_up:
contracts/MetaverseNFT.sol 86.27% <100.00%> (+0.09%) :arrow_up:
...racts/extensions/LimitedSupplyMintingExtension.sol 100.00% <100.00%> (ø)
contracts/extensions/mocks/MockProxyMinter.sol 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bb6442e...3ef1b52. Read the comment docs.

codecov[bot] avatar Jul 06 '22 07:07 codecov[bot]

Wow this is so good

theshadowagent avatar Jul 07 '22 12:07 theshadowagent

It will drop the multisig minting. Is this bad for communities?

theshadowagent avatar Jul 08 '22 20:07 theshadowagent

It might be actually better since it guarantees that the holders are actual people - community members. I wonder if this should be an extra setting?

theshadowagent avatar Jul 08 '22 20:07 theshadowagent

come back to this later, optionally include this as an extension

caffeinum avatar Aug 26 '22 16:08 caffeinum