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

Added Some Documentation to Entity.sol, Fragment.sol, RezProxy.sol, RoyaltiesReceiver.sol, UnstructuredStorage.sol and Vault.sol #5

Open
wants to merge 4 commits into
base: clamor
Choose a base branch
from

Conversation

aang114
Copy link
Contributor

@aang114 aang114 commented Feb 21, 2022

No description provided.

…oyaltiesReceiver.sol, UnstructuredStorage.sol and Vault.sol
/// @dev Note: The Fragment must have been created with `updateable` set to true - otherwise the update is not allowed
/// @param signature - A signature from the the state variable `_delegate`
/// @param id - ¿The ID of the Fragment?
/// @param environment - ¿The New Data of the Fragment?
function update(
Copy link
Contributor

Choose a reason for hiding this comment

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

well be removed

@@ -60,6 +60,8 @@ contract PreERC721 is ERC721, Initializable, Ownable, RoyaltiesReceiver {

/// Overrides
///
/// @notice Returns the name of this ERC-721 Contract
/// @dev ¿I am not sure what _getImmutableVariablesOffset does?
Copy link
Contributor

Choose a reason for hiding this comment

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

_getImmutableVariablesOffset is complex, but basically it's almost a hack inside EVM to get a location in memory where we stored things when we created this contract in a very cheap way

Copy link
Contributor

@sinkingsugar sinkingsugar left a comment

Choose a reason for hiding this comment

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

Nice work, I skipped many entity related things as we need to rewrite that part

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.

2 participants