Skip to content

Commit

Permalink
Merge pull request #133 from metagov/feat/contract_version
Browse files Browse the repository at this point in the history
feat: add contract version control.
  • Loading branch information
crazyyuan authored Aug 31, 2023
2 parents 0c0dbc1 + 9e567e8 commit 9ebde41
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contracts/src/Registration.sol
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ contract EIP4824Registration is IEIP4824, AccessControl {
interfaceId == type(IEIP4824).interfaceId ||
super.supportsInterface(interfaceId);
}

function version () external returns(string){
return "1.0.0";
}
}

error ArrayLengthsMismatch();
Expand Down Expand Up @@ -276,4 +280,8 @@ contract EIP4824RegistrationSummoner {
result := keccak256(0x00, 0x40)
}
}

function version () external returns(string){
return "1.0.0";
}
}

0 comments on commit 9ebde41

Please sign in to comment.