Skip to content

Commit

Permalink
add ccip and liq man gethwrappers (smartcontractkit#13967)
Browse files Browse the repository at this point in the history
* add gethwrappers

* liqMan wrappers

* port mockery mocks

---------

Co-authored-by: Abdelrahman Soliman (Boda) <[email protected]>
  • Loading branch information
RensR and asoliman92 authored Jul 31, 2024
1 parent d591645 commit afe2b25
Show file tree
Hide file tree
Showing 109 changed files with 151,579 additions and 19 deletions.
144 changes: 140 additions & 4 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,143 @@ packages:
dir: core/services/relay/evm/mocks
ChainReader:
ChainWriter:




github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/evm_2_evm_onramp:
config:
dir: core/gethwrappers/ccip/mocks/
filename: evm2_evm_on_ramp_interface.go
outpkg: mock_contracts
interfaces:
EVM2EVMOnRampInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/evm_2_evm_offramp:
config:
dir: core/gethwrappers/ccip/mocks/
filename: evm2_evm_off_ramp_interface.go
outpkg: mock_contracts
interfaces:
EVM2EVMOffRampInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/evm_2_evm_offramp_1_2_0:
config:
dir: core/gethwrappers/ccip/mocks/v1_2_0/
filename: evm2_evm_off_ramp_interface.go
outpkg: mock_contracts
interfaces:
EVM2EVMOffRampInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/evm_2_evm_offramp_1_0_0:
config:
dir: core/gethwrappers/ccip/mocks/v1_0_0/
filename: evm2_evm_off_ramp_interface.go
outpkg: mock_contracts
interfaces:
EVM2EVMOffRampInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/commit_store:
config:
dir: core/gethwrappers/ccip/mocks/
filename: commit_store_interface.go
outpkg: mock_contracts
interfaces:
CommitStoreInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/price_registry:
config:
dir: core/gethwrappers/ccip/mocks/
filename: price_registry_interface.go
outpkg: mock_contracts
interfaces:
PriceRegistryInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/link_token_interface:
config:
dir: core/gethwrappers/ccip/mocks/
filename: link_token_interface.go
outpkg: mock_contracts
interfaces:
LinkTokenInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbitrum_l1_bridge_adapter:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_arbitrum_l1_bridge_adapter/
filename: arbitrum_l1_bridge_adapter_interface.go
outpkg: mock_arbitrum_l1_bridge_adapter
interfaces:
ArbitrumL1BridgeAdapterInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbitrum_l2_bridge_adapter:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_arbitrum_l2_bridge_adapter/
filename: arbitrum_l2_bridge_adapter_interface.go
outpkg: mock_arbitrum_l2_bridge_adapter
interfaces:
ArbitrumL2BridgeAdapterInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbitrum_gateway_router:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_arbitrum_gateway_router/
filename: arbitrum_gateway_router_interface.go
outpkg: mock_arbitrum_gateway_router
interfaces:
ArbitrumGatewayRouterInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbitrum_inbox:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_arbitrum_inbox/
filename: arbitrum_inbox_interface.go
outpkg: mock_arbitrum_inbox
interfaces:
ArbitrumInboxInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/l2_arbitrum_gateway:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_l2_arbitrum_gateway/
filename: l2_arbitrum_gateway_interface.go
outpkg: mock_l2_arbitrum_gateway
interfaces:
L2ArbitrumGatewayInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbsys:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_arbsys/
filename: arb_sys_interface.go
outpkg: mock_arbsys
interfaces:
ArbSysInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arb_node_interface:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_node_interface/
filename: node_interface_interface.go
outpkg: mock_node_interface
interfaces:
NodeInterfaceInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/l2_arbitrum_messenger:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_l2_arbitrum_messenger/
filename: l2_arbitrum_messenger_interface.go
outpkg: mock_l2_arbitrum_messenger
interfaces:
L2ArbitrumMessengerInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbitrum_rollup_core:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_arbitrum_rollup_core/
filename: arb_rollup_core_interface.go
outpkg: mock_arbitrum_rollup_core
interfaces:
ArbRollupCoreInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/optimism_portal:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_optimism_portal/
filename: optimism_portal_interface.go
outpkg: mock_optimism_portal
interfaces:
OptimismPortalInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/optimism_l2_output_oracle:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_optimism_l2_output_oracle/
filename: optimism_l2_output_oracle_interface.go
outpkg: mock_optimism_l2_output_oracle
interfaces:
OptimismL2OutputOracleInterface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/optimism_portal_2:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_optimism_portal_2/
filename: optimism_portal2_interface.go
outpkg: mock_optimism_portal_2
interfaces:
OptimismPortal2Interface:
github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/optimism_dispute_game_factory:
config:
dir: core/gethwrappers/liquiditymanager/mocks/mock_optimism_dispute_game_factory/
filename: optimism_dispute_game_factory_interface.go
outpkg: mock_optimism_dispute_game_factory
interfaces:
OptimismDisputeGameFactoryInterface:
6 changes: 3 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ THE SOFTWARE.


*All content residing under (1) “/contracts/src/v0.8/ccip”; (2)
“/core/services/ocr2/plugins/ccip” are licensed under “Business Source
License 1.1” with a Change Date of May 23, 2027 and Change License to
“MIT License”
“/core/gethwrappers/ccip”; (3) “/core/services/ocr2/plugins/ccip” are licensed
under “Business Source License 1.1” with a Change Date of May 23, 2027 and
Change License to “MIT License”

* Content outside of the above mentioned directories or restrictions
above is available under the "MIT" license as defined above.
2,849 changes: 2,849 additions & 0 deletions core/gethwrappers/ccip/generated/arm_contract/arm_contract.go

Large diffs are not rendered by default.

Loading

0 comments on commit afe2b25

Please sign in to comment.