Skip to content

Commit

Permalink
nit: move struct
Browse files Browse the repository at this point in the history
  • Loading branch information
matYang committed Oct 18, 2023
1 parent 41a913a commit 6a34d8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions contracts/src/v0.8/ccip/Router.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ contract Router is IRouter, IRouterClient, ITypeAndVersion, OwnerIsCreator {
error InvalidRecipientAddress(address to);
error BadARMSignal();

struct OnRamp {
uint64 destChainSelector;
address onRamp;
}

event OnRampSet(uint64 indexed destChainSelector, address onRamp);
event OffRampAdded(address offRamp);
event OffRampRemoved(address offRamp);
event MessageExecuted(bytes32 messageId, uint64 sourceChainSelector, address offRamp, bytes32 calldataHash);

struct OnRamp {
uint64 destChainSelector;
address onRamp;
}

// solhint-disable-next-line chainlink-solidity/all-caps-constant-storage-variables
string public constant override typeAndVersion = "Router 1.0.0";
// We limit return data to a selector plus 4 words. This is to avoid
Expand Down

0 comments on commit 6a34d8f

Please sign in to comment.