Skip to content

Commit

Permalink
add home chain reader consts
Browse files Browse the repository at this point in the history
  • Loading branch information
makramkd committed Jul 15, 2024
1 parent a1a9150 commit 923e0ca
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions pkg/consts/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ package consts

// Contract Names
const (
ContractNameOffRamp = "OffRamp"
ContractNameOnRamp = "OnRamp"
ContractNamePriceRegistry = "PriceRegistry"
ContractNameOffRamp = "OffRamp"
ContractNameOnRamp = "OnRamp"
ContractNamePriceRegistry = "PriceRegistry"
ContractNameCapabilitiesRegistry = "CapabilitiesRegistry"
ContractNameCCIPConfig = "CCIPConfig"
)

// Method Names
Expand Down Expand Up @@ -43,6 +45,15 @@ const (
// On EVM:
// function execute(bytes32[3] calldata reportContext, bytes calldata report) external
MethodExecute = "Execute"

// Capability registry methods.
// Used by the home chain reader.
MethodNameGetCapability = "GetCapability"

// CCIPConfig.sol methods.
// Used by the home chain reader.
MethodNameGetAllChainConfigs = "GetAllChainConfigs"
MethodNameGetOCRConfig = "GetOCRConfig"
)

// Event Names
Expand Down

0 comments on commit 923e0ca

Please sign in to comment.