Skip to content

Commit

Permalink
WIP add cointype
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflau committed Dec 20, 2023
1 parent cbba61f commit 3b9e8d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contracts/reverseRegistrar/L2ReverseRegistrar.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ contract L2ReverseRegistrar is
event ReverseClaimed(address indexed addr, bytes32 indexed node);

bytes32 public immutable L2ReverseNode;
uint256 public immutable coinType;

// This is the hex encoding of the string 'abcdefghijklmnopqrstuvwxyz'
// It is used as a constant to lookup the characters of the hex address
Expand All @@ -40,8 +41,9 @@ contract L2ReverseRegistrar is
/**
* @dev Constructor
*/
constructor(bytes32 _L2ReverseNode) {
constructor(bytes32 _L2ReverseNode, uint256 _coinType) {
L2ReverseNode = _L2ReverseNode;
coinType = _coinType;
}

modifier authorised(address addr) {
Expand Down

0 comments on commit 3b9e8d7

Please sign in to comment.