Skip to content

Commit

Permalink
feat: add contract version control.
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyyuan committed Aug 29, 2023
1 parent 0c0dbc1 commit 9e567e8
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 9e567e8

Please sign in to comment.