Skip to content

Commit

Permalink
rSync
Browse files Browse the repository at this point in the history
  • Loading branch information
sshmatrix committed Aug 15, 2023
1 parent acc417d commit 76cfa55
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions src/CCIP2ETH.sol
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,15 @@ contract CCIP2ETH is iCCIP2ETH {
}

/// @dev : Management functions

/// @dev - Returns owner of the contract
function owner() public view returns (address) {
return gateway.owner();
}
/// @dev - Updates ChainID in case of a hardfork
function updateChainID() public {
chainID = gateway.uintToString(block.chainid);
}
/**
* @dev Sets fees for ownerhash
* Note - Set to 0 at launch
Expand Down Expand Up @@ -616,20 +625,6 @@ contract CCIP2ETH is iCCIP2ETH {
emit UpdatedWrapper(_addr, _set);
}

/**
* @dev - Updates Chain ID in case of a hardfork
*/
function updateChainID() public {
chainID = gateway.uintToString(block.chainid);
}

/**
* @dev - Owner of contract
*/
function owner() public view returns (address) {
return gateway.owner();
}

/**
* @dev Withdraw Ether to owner; to be used for tips or in case some Ether gets locked in the contract
*/
Expand Down

0 comments on commit 76cfa55

Please sign in to comment.