Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Fixes from contract audit. #24

Merged
merged 2 commits into from
May 8, 2018
Merged

Fixes from contract audit. #24

merged 2 commits into from
May 8, 2018

Conversation

MoMannn
Copy link
Member

@MoMannn MoMannn commented May 3, 2018

owner override fix, assembly check in library, remove return true in mint, added comments on xcert proof, removed string checks, eip165 moved into a standalone contract, minor fixes..

@xpepermint @fulldecent

…mint, added comments on xcert proof, removed string checks, eip165 moved into a standalone contract, minor fixes
@MoMannn MoMannn mentioned this pull request May 3, 2018
Copy link
Member

@fulldecent fulldecent left a comment

Choose a reason for hiding this comment

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

Looks great, there are the only remaining updates

{
return XcertMintProxy(XCERT_MINT_PROXY_CONTRACT)
XcertMintProxy(XCERT_MINT_PROXY_CONTRACT)
Copy link
Member

Choose a reason for hiding this comment

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

Whitespace issue

@@ -52,14 +54,11 @@ contract Xcert is Ownable, ERC721, ERC721Metadata, ERC165 {

/*
* @dev Mapping from NFToken ID to proof.
* @notice token Proof has to exist for every token.
Copy link
Member

Choose a reason for hiding this comment

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

This is a tautology. Because of EVM, proof is automatically initialized to a zero-length list. Perhaps this was meant to say:

The Proof array for every token must include one or more items

@xpepermint xpepermint merged commit 272ca94 into 0xcert:master May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants