-
Notifications
You must be signed in to change notification settings - Fork 105
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
Init EVM bridging project #277
Conversation
address owner = msg.sender; | ||
string memory name = "Bidged NBA TopShot Moments"; | ||
string memory symbol = "TOPSHOT"; | ||
string memory cadenceNFTAddress = "cadenceNFTAddress"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we get to change these values when deploying the bridge contract?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, we should specify the proper values to be used when deploying. Also, only symbol
currently has admin update method - we could add more if needed via contract update later, though I don't think we're expecting any of these to change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
- [OpenZeppelin Doc - Foundry Upgrades](https://docs.openzeppelin.com/upgrades-plugins/foundry-upgrades) | ||
- [OpenZeppelin Doc - ERC721 Contracts v5](https://docs.openzeppelin.com/contracts/5.x/api/token/erc721) | ||
- [GitHub - OpenZeppelin Upgradeable Contracts](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable) | ||
- [GitHub - LimitBreak Creator Token Standards](https://github.com/limitbreakinc/creator-token-standards) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great read me!
import {ICrossVM} from "./interfaces/ICrossVM.sol"; | ||
|
||
// Initial draft version of the BridgedTopShotMoments contract | ||
contract BridgedTopShotMoments is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we not implement the upgradable interfaces or we just leave this for now util get back from opensea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you mean for creator token/royalties? planning to add these in follow-up changes - changed the base for this PR to a new evm-bridging
branch
Changes:
BridgedTopShotMoments
erc721 contract:Reuses erc721 template contract from FlowEVM bridge adapted to allow for upgradeability using UUPS proxy pattern from OpenZeppelin library
Additional functionality such as royalties enforcement and redemption mechanism will be addressed in follow-up changes