Skip to content

Commit 01cc25f

Browse files
Merge branch 'main' into feat/tp-token-transfer-fee-configs
2 parents bd957ac + 6eee37e commit 01cc25f

46 files changed

Lines changed: 2768 additions & 780 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ccv/chains/evm/deployment/go.mod

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ require (
214214
github.com/rs/cors v1.11.1 // indirect
215215
github.com/rs/zerolog v1.34.0 // indirect
216216
github.com/russross/blackfriday/v2 v2.1.0 // indirect
217+
github.com/sagikazarmark/locafero v0.11.0 // indirect
217218
github.com/samber/lo v1.52.0 // indirect
218219
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
219220
github.com/scylladb/go-reflectx v1.0.1 // indirect
@@ -224,6 +225,7 @@ require (
224225
github.com/sigurn/crc16 v0.0.0-20211026045750-20ab5afb07e3 // indirect
225226
github.com/sirupsen/logrus v1.9.4 // indirect
226227
github.com/smartcontractkit/ccip-contract-examples/chains/evm v0.0.0-20250826190403-aed7f5f33cde // indirect
228+
github.com/smartcontractkit/ccip-owner-contracts v0.1.0 // indirect
227229
github.com/smartcontractkit/chainlink-aptos v0.0.0-20260306142855-8d629e752265 // indirect
228230
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20260121163256-85accaf3d28d // indirect
229231
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 // indirect
@@ -240,13 +242,17 @@ require (
240242
github.com/smartcontractkit/freeport v0.1.3-0.20250828155247-add56fa28aad // indirect
241243
github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7 // indirect
242244
github.com/smartcontractkit/libocr v0.0.0-20250912173940-f3ab0246e23d // indirect
245+
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
246+
github.com/spf13/afero v1.15.0 // indirect
243247
github.com/spf13/cast v1.10.0 // indirect
244248
github.com/spf13/pflag v1.0.10 // indirect
249+
github.com/spf13/viper v1.21.0 // indirect
245250
github.com/stellar/go-stellar-sdk v0.1.0 // indirect
246251
github.com/stellar/go-xdr v0.0.0-20231122183749-b53fb00bcac2 // indirect
247252
github.com/stephenlacy/go-ethereum-hdwallet v0.0.0-20230913225845-a4fa94429863 // indirect
248253
github.com/streamingfast/logging v0.0.0-20230608130331-f22c91403091 // indirect
249254
github.com/stretchr/objx v0.5.2 // indirect
255+
github.com/subosito/gotenv v1.6.0 // indirect
250256
github.com/supranational/blst v0.3.16 // indirect
251257
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
252258
github.com/testcontainers/testcontainers-go v0.41.0 // indirect
@@ -290,6 +296,7 @@ require (
290296
go.uber.org/ratelimit v0.3.1 // indirect
291297
go.uber.org/zap v1.27.1 // indirect
292298
go.yaml.in/yaml/v2 v2.4.2 // indirect
299+
go.yaml.in/yaml/v3 v3.0.4 // indirect
293300
golang.org/x/crypto v0.48.0 // indirect
294301
golang.org/x/exp v0.0.0-20260218203240-3dfff04db8fa // indirect
295302
golang.org/x/net v0.50.0 // indirect

ccv/chains/evm/deployment/go.sum

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,8 @@ github.com/rs/zerolog v1.34.0 h1:k43nTLIwcTVQAncfCw4KZ2VY6ukYoZaBPNOE8txlOeY=
697697
github.com/rs/zerolog v1.34.0/go.mod h1:bJsvje4Z08ROH4Nhs5iH600c3IkWhwp44iRc54W6wYQ=
698698
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
699699
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
700+
github.com/sagikazarmark/locafero v0.11.0 h1:1iurJgmM9G3PA/I+wWYIOw/5SyBtxapeHDcg+AAIFXc=
701+
github.com/sagikazarmark/locafero v0.11.0/go.mod h1:nVIGvgyzw595SUSUE6tvCp3YYTeHs15MvlmU87WwIik=
700702
github.com/samber/lo v1.52.0 h1:Rvi+3BFHES3A8meP33VPAxiBZX/Aws5RxrschYGjomw=
701703
github.com/samber/lo v1.52.0/go.mod h1:4+MXEGsJzbKGaUEQFKBq2xtfuznW9oz/WrgyzMzRoM0=
702704
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 h1:lZUw3E0/J3roVtGQ+SCrUrg3ON6NgVqpn3+iol9aGu4=
@@ -727,6 +729,8 @@ github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w
727729
github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g=
728730
github.com/smartcontractkit/ccip-contract-examples/chains/evm v0.0.0-20250826190403-aed7f5f33cde h1:dMUf1YOX5hdUkQDgnA/A/sWVoMaQWGB+EYBPuYffYIA=
729731
github.com/smartcontractkit/ccip-contract-examples/chains/evm v0.0.0-20250826190403-aed7f5f33cde/go.mod h1:SYc+BvAALmwsx2zMJIAczIyVNwsiXRIBXmejcTORxGE=
732+
github.com/smartcontractkit/ccip-owner-contracts v0.1.0 h1:GiBDtlx7539o7AKlDV+9LsA7vTMPv+0n7ClhSFnZFAk=
733+
github.com/smartcontractkit/ccip-owner-contracts v0.1.0/go.mod h1:NnT6w4Kj42OFFXhSx99LvJZWPpMjmo4+CpDEWfw61xY=
730734
github.com/smartcontractkit/chain-selectors v1.0.97 h1:ECOin+SkJv2MUrfqTUu28J0kub04Epds5NPMHERfGjo=
731735
github.com/smartcontractkit/chain-selectors v1.0.97/go.mod h1:qy7whtgG5g+7z0jt0nRyii9bLND9m15NZTzuQPkMZ5w=
732736
github.com/smartcontractkit/chainlink-aptos v0.0.0-20260306142855-8d629e752265 h1:Q/sYLdOefZUKc/Bxssq1mg8ptQE/AOot2WI+QcLoiVA=
@@ -775,10 +779,16 @@ github.com/smartcontractkit/libocr v0.0.0-20250912173940-f3ab0246e23d h1:LokA9Po
775779
github.com/smartcontractkit/libocr v0.0.0-20250912173940-f3ab0246e23d/go.mod h1:Acy3BTBxou83ooMESLO90s8PKSu7RvLCzwSTbxxfOK0=
776780
github.com/smartcontractkit/mcms v0.37.0 h1:h3tqQhVdLezyHOuPsGcknPFLlZlXpOHTchwlfO3D9s8=
777781
github.com/smartcontractkit/mcms v0.37.0/go.mod h1:7YqJPR8w9GiO1L/JjjTrwlSwAZ7i3J7cgOcu88PqtvU=
782+
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 h1:+jumHNA0Wrelhe64i8F6HNlS8pkoyMv5sreGx2Ry5Rw=
783+
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8/go.mod h1:3n1Cwaq1E1/1lhQhtRK2ts/ZwZEhjcQeJQ1RuC6Q/8U=
784+
github.com/spf13/afero v1.15.0 h1:b/YBCLWAJdFWJTN9cLhiXXcD7mzKn9Dm86dNnfyQw1I=
785+
github.com/spf13/afero v1.15.0/go.mod h1:NC2ByUVxtQs4b3sIUphxK0NioZnmxgyCrfzeuq8lxMg=
778786
github.com/spf13/cast v1.10.0 h1:h2x0u2shc1QuLHfxi+cTJvs30+ZAHOGRic8uyGTDWxY=
779787
github.com/spf13/cast v1.10.0/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
780788
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
781789
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
790+
github.com/spf13/viper v1.21.0 h1:x5S+0EU27Lbphp4UKm1C+1oQO+rKx36vfCoaVebLFSU=
791+
github.com/spf13/viper v1.21.0/go.mod h1:P0lhsswPGWD/1lZJ9ny3fYnVqxiegrlNrEmgLjbTCAY=
782792
github.com/stellar/go-stellar-sdk v0.1.0 h1:MfV7dv4k6xQQrWeKT7npWyKhjoayphLVGwXKtTLNeH8=
783793
github.com/stellar/go-stellar-sdk v0.1.0/go.mod h1:fZPcxQZw1I0zZ+X76uFcVPqmQCaYbWc87lDFW/kQJaY=
784794
github.com/stellar/go-xdr v0.0.0-20231122183749-b53fb00bcac2 h1:OzCVd0SV5qE3ZcDeSFCmOWLZfEWZ3Oe8KtmSOYKEVWE=
@@ -808,6 +818,8 @@ github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
808818
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
809819
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
810820
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
821+
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
822+
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
811823
github.com/supranational/blst v0.3.16 h1:bTDadT+3fK497EvLdWRQEjiGnUtzJ7jjIUMF0jqwYhE=
812824
github.com/supranational/blst v0.3.16/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw=
813825
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc=
@@ -935,6 +947,8 @@ go.uber.org/zap v1.27.1 h1:08RqriUEv8+ArZRYSTXy1LeBScaMpVSTBhCeaZYfMYc=
935947
go.uber.org/zap v1.27.1/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
936948
go.yaml.in/yaml/v2 v2.4.2 h1:DzmwEr2rDGHl7lsFgAHxmNz/1NlQ7xLIrlN2h5d1eGI=
937949
go.yaml.in/yaml/v2 v2.4.2/go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU=
950+
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
951+
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
938952
golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
939953
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
940954
golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE=

ccv/chains/evm/deployment/v1_7_0/adapters/init.go

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,38 @@ import (
55

66
chainsel "github.com/smartcontractkit/chain-selectors"
77

8+
seq1_7 "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/sequences"
9+
versionedverifierresolverops "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v1_7_0/versioned_verifier_resolver"
10+
cctpthroughccvtokenpoolops "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v2_0_0/operations/cctp_through_ccv_token_pool"
11+
cctpverifierops "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v2_0_0/operations/cctp_verifier"
12+
committeeverifierops "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v2_0_0/operations/committee_verifier"
13+
executorops "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v2_0_0/operations/executor"
14+
feequoterops "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v2_0_0/operations/fee_quoter"
15+
"github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v2_0_0/operations/mock_receiver"
16+
usdctokenpoolproxyops "github.com/smartcontractkit/chainlink-ccip/ccv/chains/evm/deployment/v2_0_0/operations/usdc_token_pool_proxy"
17+
"github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/utils/verification"
818
adapters1_2 "github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/v1_2_0/adapters"
919
adapters1_6 "github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/v1_6_0/adapters"
20+
offrampops "github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/v1_6_0/operations/offramp"
21+
onrampops "github.com/smartcontractkit/chainlink-ccip/chains/evm/deployment/v1_6_0/operations/onramp"
22+
burnfromminttokenpoolv2 "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/burn_from_mint_token_pool"
23+
burnminttokenpoolv2 "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/burn_mint_token_pool"
24+
burnmintwithlockreleaseflagtokenpoolv2 "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/burn_mint_with_lock_release_flag_token_pool"
25+
burnwithfromminttokenpoolv2 "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/burn_with_from_mint_token_pool"
26+
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/cctp_through_ccv_token_pool"
27+
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/cctp_verifier"
28+
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/committee_verifier"
29+
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/executor"
30+
v2feequoter "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/fee_quoter"
31+
lockreleasetokenpoolv2 "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/lock_release_token_pool"
32+
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/mock_receiver_v2"
33+
offrampv2 "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/offramp"
34+
onrampv2 "github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/onramp"
35+
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/proxy"
36+
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/usdc_token_pool_proxy"
37+
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v2_0_0/versioned_verifier_resolver"
1038
"github.com/smartcontractkit/chainlink-ccip/deployment/deploy"
39+
"github.com/smartcontractkit/chainlink-ccip/deployment/utils"
1140

1241
"github.com/smartcontractkit/chainlink-ccip/deployment/lanes"
1342
"github.com/smartcontractkit/chainlink-ccip/deployment/tokens"
@@ -16,6 +45,7 @@ import (
1645

1746
func init() {
1847
v := semver.MustParse("2.0.0")
48+
registerContractVerificationMetadata(v)
1949
laneMigratorReg := deploy.GetLaneMigratorRegistry()
2050
laneMigratorReg.RegisterRampUpdater(chainsel.FamilyEVM, semver.MustParse("2.0.0"), &LaneMigrator{})
2151
laneMigratorReg.RegisterRouterUpdater(chainsel.FamilyEVM, semver.MustParse("1.2.0"), &adapters1_2.RouterUpdater{})
@@ -34,3 +64,23 @@ func init() {
3464

3565
tokens.GetTokenAdapterRegistry().RegisterTokenAdapter(chainsel.FamilyEVM, v, NewTokenAdapter())
3666
}
67+
68+
func registerContractVerificationMetadata(v *semver.Version) {
69+
verification.RegisterContractMetadata(feequoterops.ContractType, v, v2feequoter.SolidityStandardInput, v2feequoter.FeeQuoterBin, "contracts/FeeQuoter.sol:FeeQuoter")
70+
verification.RegisterContractMetadata(onrampops.ContractType, v, onrampv2.SolidityStandardInput, onrampv2.OnRampBin, "contracts/onRamp/OnRamp.sol:OnRamp")
71+
verification.RegisterContractMetadata(offrampops.ContractType, v, offrampv2.SolidityStandardInput, offrampv2.OffRampBin, "contracts/offRamp/OffRamp.sol:OffRamp")
72+
verification.RegisterContractMetadata(utils.BurnMintTokenPool, v, burnminttokenpoolv2.SolidityStandardInput, burnminttokenpoolv2.BurnMintTokenPoolBin, "contracts/pools/BurnMintTokenPool.sol:BurnMintTokenPool")
73+
verification.RegisterContractMetadata(utils.BurnWithFromMintTokenPool, v, burnwithfromminttokenpoolv2.SolidityStandardInput, burnwithfromminttokenpoolv2.BurnWithFromMintTokenPoolBin, "contracts/pools/BurnWithFromMintTokenPool.sol:BurnWithFromMintTokenPool")
74+
verification.RegisterContractMetadata(utils.BurnMintWithLockReleaseFlag, v, burnmintwithlockreleaseflagtokenpoolv2.SolidityStandardInput, burnmintwithlockreleaseflagtokenpoolv2.BurnMintWithLockReleaseFlagTokenPoolBin, "contracts/pools/USDC/BurnMintWithLockReleaseFlagTokenPool.sol:BurnMintWithLockReleaseFlagTokenPool")
75+
verification.RegisterContractMetadata(utils.BurnFromMintTokenPool, v, burnfromminttokenpoolv2.SolidityStandardInput, burnfromminttokenpoolv2.BurnFromMintTokenPoolBin, "contracts/pools/BurnFromMintTokenPool.sol:BurnFromMintTokenPool")
76+
verification.RegisterContractMetadata(utils.LockReleaseTokenPool, v, lockreleasetokenpoolv2.SolidityStandardInput, lockreleasetokenpoolv2.LockReleaseTokenPoolBin, "contracts/pools/LockReleaseTokenPool.sol:LockReleaseTokenPool")
77+
verification.RegisterContractMetadata(versionedverifierresolverops.CommitteeVerifierResolverType, v, versioned_verifier_resolver.SolidityStandardInput, versioned_verifier_resolver.VersionedVerifierResolverBin, "contracts/ccvs/VersionedVerifierResolver.sol:VersionedVerifierResolver")
78+
verification.RegisterContractMetadata(versionedverifierresolverops.CCTPVerifierResolverType, v, versioned_verifier_resolver.SolidityStandardInput, versioned_verifier_resolver.VersionedVerifierResolverBin, "contracts/ccvs/VersionedVerifierResolver.sol:VersionedVerifierResolver")
79+
verification.RegisterContractMetadata(cctpverifierops.ContractType, v, cctp_verifier.SolidityStandardInput, cctp_verifier.CCTPVerifierBin, "contracts/ccvs/CCTPVerifier.sol:CCTPVerifier")
80+
verification.RegisterContractMetadata(cctpthroughccvtokenpoolops.ContractType, v, cctp_through_ccv_token_pool.SolidityStandardInput, cctp_through_ccv_token_pool.CCTPThroughCCVTokenPoolBin, "contracts/pools/USDC/CCTPThroughCCVTokenPool.sol:CCTPThroughCCVTokenPool")
81+
verification.RegisterContractMetadata(usdctokenpoolproxyops.ContractType, v, usdc_token_pool_proxy.SolidityStandardInput, usdc_token_pool_proxy.USDCTokenPoolProxyBin, "contracts/pools/USDC/USDCTokenPoolProxy.sol:USDCTokenPoolProxy")
82+
verification.RegisterContractMetadata(mock_receiver.ContractType, v, mock_receiver_v2.SolidityStandardInput, mock_receiver_v2.MockReceiverV2Bin, "contracts/test/mocks/MockReceiverV2.sol:MockReceiverV2")
83+
verification.RegisterContractMetadata(executorops.ContractType, v, executor.SolidityStandardInput, executor.ExecutorBin, "contracts/executor/Executor.sol:Executor")
84+
verification.RegisterContractMetadata(seq1_7.ExecutorProxyType, v, proxy.SolidityStandardInput, proxy.ProxyBin, "contracts/Proxy.sol:Proxy")
85+
verification.RegisterContractMetadata(committeeverifierops.ContractType, v, committee_verifier.SolidityStandardInput, committee_verifier.CommitteeVerifierBin, "contracts/ccvs/CommitteeVerifier.sol:CommitteeVerifier")
86+
}

chains/evm/deployment/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ require (
1515
github.com/ethereum/go-ethereum v1.17.1
1616
github.com/rs/zerolog v1.34.0
1717
github.com/smartcontractkit/ccip-contract-examples/chains/evm v0.0.0-20250826190403-aed7f5f33cde
18+
github.com/smartcontractkit/ccip-owner-contracts v0.1.0
1819
github.com/smartcontractkit/chain-selectors v1.0.97
1920
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20260319162701-d96a00a71caf
2021
github.com/smartcontractkit/chainlink-ccip/deployment v0.0.0-20260319162701-d96a00a71caf

chains/evm/deployment/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,8 @@ github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w
727727
github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g=
728728
github.com/smartcontractkit/ccip-contract-examples/chains/evm v0.0.0-20250826190403-aed7f5f33cde h1:dMUf1YOX5hdUkQDgnA/A/sWVoMaQWGB+EYBPuYffYIA=
729729
github.com/smartcontractkit/ccip-contract-examples/chains/evm v0.0.0-20250826190403-aed7f5f33cde/go.mod h1:SYc+BvAALmwsx2zMJIAczIyVNwsiXRIBXmejcTORxGE=
730+
github.com/smartcontractkit/ccip-owner-contracts v0.1.0 h1:GiBDtlx7539o7AKlDV+9LsA7vTMPv+0n7ClhSFnZFAk=
731+
github.com/smartcontractkit/ccip-owner-contracts v0.1.0/go.mod h1:NnT6w4Kj42OFFXhSx99LvJZWPpMjmo4+CpDEWfw61xY=
730732
github.com/smartcontractkit/chain-selectors v1.0.97 h1:ECOin+SkJv2MUrfqTUu28J0kub04Epds5NPMHERfGjo=
731733
github.com/smartcontractkit/chain-selectors v1.0.97/go.mod h1:qy7whtgG5g+7z0jt0nRyii9bLND9m15NZTzuQPkMZ5w=
732734
github.com/smartcontractkit/chainlink-aptos v0.0.0-20260306142855-8d629e752265 h1:Q/sYLdOefZUKc/Bxssq1mg8ptQE/AOot2WI+QcLoiVA=

chains/evm/deployment/utils/verification/hooks_provider.go

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ import (
2323
var _ evm.ContractInputsProvider = (*EVMContractInputsProvider)(nil)
2424
var _ hooks.ContractVerification = (*EVMContractInputsProvider)(nil)
2525

26+
func init() {
27+
hooks.GetContractVerificationRegistry().Register(chain_selectors.FamilyEVM, &EVMContractInputsProvider{})
28+
}
29+
2630
// EVMContractInputsProvider implements hooks.ContractVerification for EVM chains:
2731
// it supplies Solidity metadata and builds per-address verifiers using the framework's EVM strategy.
2832
type EVMContractInputsProvider struct{}
@@ -116,9 +120,9 @@ func (e *EVMContractInputsProvider) GetInputs(contractType datastore.ContractTyp
116120

117121
// RawContractInfo holds explorer verification inputs for a single contract version.
118122
type rawContractInfo struct {
119-
SolidityStandardJSONInput string
120-
Bytecode string
121-
Name string
123+
solidityStandardJSONInput string
124+
bytecode string
125+
name string
122126
}
123127

124128
// LoadSolidityContractMetadata loads the metadata for a contract type and version, including the standard JSON input, bytecode, and name.
@@ -136,13 +140,13 @@ func LoadSolidityContractMetadata(
136140
}
137141

138142
var input evm.SolidityContractMetadata
139-
err := json.Unmarshal([]byte(contractWithVersion.SolidityStandardJSONInput), &input)
143+
err := json.Unmarshal([]byte(contractWithVersion.solidityStandardJSONInput), &input)
140144
if err != nil {
141145
return evm.SolidityContractMetadata{}, fmt.Errorf("failed to unmarshal solidity standard JSON input for contract type %s: %w", contractType, err)
142146
}
143147
// Add remaining fields that don't exist in the standard JSON input
144-
input.Bytecode = contractWithVersion.Bytecode
145-
input.Name = contractWithVersion.Name
148+
input.Bytecode = contractWithVersion.bytecode
149+
input.Name = contractWithVersion.name
146150

147151
return input, nil
148152
}

0 commit comments

Comments
 (0)