Skip to content

Commit

Permalink
updated geth wrappers for new audited reference contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
jhweintraub committed Jun 28, 2024
1 parent 13b9c91 commit 6d0b0c1
Show file tree
Hide file tree
Showing 8 changed files with 9,017 additions and 263 deletions.
11 changes: 8 additions & 3 deletions contracts/scripts/native_solc_compile_all_ccip
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,12 @@ compileContract () {
# Contracts should be ordered in reverse-import-complexity-order to minimize overwrite risks.
compileContract ccip/offRamp/EVM2EVMOffRamp.sol
compileContract ccip/offRamp/EVM2EVMMultiOffRamp.sol
compileContract ccip/applications/PingPongDemo.sol
compileContract ccip/applications/SelfFundedPingPong.sol
compileContract ccip/applications/EtherSenderReceiver.sol
compileContract ccip/applications/internal/PingPongDemo.sol
compileContract ccip/applications/internal/SelfFundedPingPong.sol
compileContract ccip/applications/external/CCIPClient.sol
compileContract ccip/applications/external/CCIPReceiver.sol
compileContract ccip/applications/external/CCIPReceiverWithAck.sol
compileContract ccip/applications/external/CCIPSender.sol
compileContract ccip/onRamp/EVM2EVMMultiOnRamp.sol
compileContract ccip/onRamp/EVM2EVMOnRamp.sol
compileContract ccip/CommitStore.sol
Expand All @@ -77,6 +80,8 @@ compileContract ccip/tokenAdminRegistry/TokenAdminRegistry.sol
compileContract ccip/tokenAdminRegistry/RegistryModuleOwnerCustom.sol
compileContract ccip/capability/CCIPCapabilityConfiguration.sol



# Test helpers
compileContract ccip/test/helpers/BurnMintERC677Helper.sol
compileContract ccip/test/helpers/CommitStoreHelper.sol
Expand Down
1,941 changes: 1,941 additions & 0 deletions core/gethwrappers/ccip/generated/ccipClient/ccipClient.go

Large diffs are not rendered by default.

1,287 changes: 1,287 additions & 0 deletions core/gethwrappers/ccip/generated/ccipReceiver/ccipReceiver.go

Large diffs are not rendered by default.

1,927 changes: 1,927 additions & 0 deletions core/gethwrappers/ccip/generated/ccipReceiverWithAck/ccipReceiverWithAck.go

Large diffs are not rendered by default.

1,029 changes: 1,029 additions & 0 deletions core/gethwrappers/ccip/generated/ccipSender/ccipSender.go

Large diffs are not rendered by default.

1,552 changes: 1,416 additions & 136 deletions core/gethwrappers/ccip/generated/ping_pong_demo/ping_pong_demo.go

Large diffs are not rendered by default.

1,526 changes: 1,403 additions & 123 deletions core/gethwrappers/ccip/generated/self_funded_ping_pong/self_funded_ping_pong.go

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion core/gethwrappers/ccip/go_generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,14 @@ package ccip
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/MaybeRevertMessageReceiver/MaybeRevertMessageReceiver.abi ../../../contracts/solc/v0.8.24/MaybeRevertMessageReceiver/MaybeRevertMessageReceiver.bin MaybeRevertMessageReceiver maybe_revert_message_receiver
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/PingPongDemo/PingPongDemo.abi ../../../contracts/solc/v0.8.24/PingPongDemo/PingPongDemo.bin PingPongDemo ping_pong_demo
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/SelfFundedPingPong/SelfFundedPingPong.abi ../../../contracts/solc/v0.8.24/SelfFundedPingPong/SelfFundedPingPong.bin SelfFundedPingPong self_funded_ping_pong
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/EtherSenderReceiver/EtherSenderReceiver.abi ../../../contracts/solc/v0.8.24/EtherSenderReceiver/EtherSenderReceiver.bin EtherSenderReceiver ether_sender_receiver
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/WETH9/WETH9.abi ../../../contracts/solc/v0.8.24/WETH9/WETH9.bin WETH9 weth9

// Audited Reference Contracts
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/CCIPReceiver/CCIPReceiver.abi ../../../contracts/solc/v0.8.24/CCIPReceiver/CCIPReceiver.bin CCIPReceiver ccipReceiver
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/CCIPClient/CCIPClient.abi ../../../contracts/solc/v0.8.24/CCIPClient/CCIPClient.bin CCIPClient ccipClient
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/CCIPSender/CCIPSender.abi ../../../contracts/solc/v0.8.24/CCIPSender/CCIPSender.bin CCIPSender ccipSender
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/CCIPReceiverWithAck/CCIPReceiverWithAck.abi ../../../contracts/solc/v0.8.24/CCIPReceiverWithAck/CCIPReceiverWithAck.bin CCIPReceiverWithAck ccipReceiverWithAck

// Customer contracts
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/USDCTokenPool/USDCTokenPool.abi ../../../contracts/solc/v0.8.24/USDCTokenPool/USDCTokenPool.bin USDCTokenPool usdc_token_pool

Expand Down

0 comments on commit 6d0b0c1

Please sign in to comment.