Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bundle as AssetClass #1497

Open
wants to merge 45 commits into
base: master
Choose a base branch
from
Open

Conversation

atkinsonholly
Copy link
Contributor

@atkinsonholly atkinsonholly commented May 8, 2024

Description

Bundle feature in packages/marketplace:

  • BUNDLE included in LibAsset enum AssetClass
  • BUNDLE comprised of ERC1155, ERC721, ERC20, Quads - uses packages/land
  • Royalties added to BUNDLE
  • Prepare upgrades in packages/deploy

/// @param newLandContractAddress Address of new LAND contract
function _setLandContract(ILandToken newLandContractAddress) internal {
// TODO: uncomment when ILandToken is supported by LandBase
// require(ERC165Checker.supportsInterface(address(newLandContractAddress, type(ILandToken).interfaceId), "invalid LAND address");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO when packages/land is updated

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@atkinsonholly Do you remember what is supposed to be updated in packages/land?

'setOrderValidatorContract',
// TODO: new tests for setRoyaltiesRegistry and setOrderValidatorContract with correct contracts supporting interfaces
// 'setRoyaltiesRegistry',
// 'setOrderValidatorContract',
'setTrustedForwarder',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO new tests needed using correct contracts that have the required interfaces

@atkinsonholly atkinsonholly changed the title add: bundle as AssetType add: bundle as AssetClass Jun 25, 2024
@atkinsonholly atkinsonholly force-pushed the feat/marketplace-bundle-type branch 2 times, most recently from 4ec4a1f to f069820 Compare June 25, 2024 16:44
@atkinsonholly atkinsonholly changed the title add: bundle as AssetClass feat: bundle as AssetClass Jun 26, 2024
@wojciech-turek wojciech-turek marked this pull request as ready for review August 13, 2024 07:02
@wojciech-turek wojciech-turek requested a review from a team as a code owner August 13, 2024 07:02
Copy link

openzeppelin-code bot commented Aug 15, 2024

feat: bundle as AssetClass

Generated at commit: e96dac6554f8be057e20202e0dc19dbd2cc4f8ec

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
1
0
7
30
40

For more details view the full report in OpenZeppelin Code Inspector

@wojciech-turek wojciech-turek requested a review from a team as a code owner September 9, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants