Skip to content

Commit

Permalink
feat: improved contract version function.
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyyuan committed Sep 1, 2023
1 parent 230d90e commit 7170b2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/src/Registration.sol
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ contract EIP4824Registration is IEIP4824, AccessControl {
super.supportsInterface(interfaceId);
}

function version () external returns(string){
function version () external pure returns(string memory){
return "1.0.0";
}
}
Expand Down Expand Up @@ -281,7 +281,7 @@ contract EIP4824RegistrationSummoner {
}
}

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

0 comments on commit 7170b2d

Please sign in to comment.