diff --git a/.goreleaser.develop.yaml b/.goreleaser.develop.yaml
index c633e22fe62..0be6227eda7 100644
--- a/.goreleaser.develop.yaml
+++ b/.goreleaser.develop.yaml
@@ -13,7 +13,7 @@ builds:
binary: chainlink
hooks:
post:
- - cmd: ./tools/bin/goreleaser_utils build_post_hook {{ dir .Path }}
+ - cmd: ./tools/bin/goreleaser_utils build_post_hook {{ dir .Path }} {{ .Os }} {{ .Arch }}
no_unique_dist_dir: "true"
ldflags:
- -s -w -r=$ORIGIN/libs
diff --git a/README.md b/README.md
index e7c21c1e094..0461db6e474 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,8 @@
+trigger
+
[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/smartcontractkit/chainlink?style=flat-square)](https://hub.docker.com/r/smartcontract/chainlink/tags)
[![GitHub license](https://img.shields.io/github/license/smartcontractkit/chainlink?style=flat-square)](https://github.com/smartcontractkit/chainlink/blob/master/LICENSE)
[![GitHub workflow changeset](https://img.shields.io/github/actions/workflow/status/smartcontractkit/chainlink/changeset.yml)](https://github.com/smartcontractkit/chainlink/actions/workflows/changeset.yml?query=workflow%3AChangeset)
diff --git a/core/capabilities/encoder_factory.go b/core/capabilities/encoder_factory.go
index 6e6932fbb75..2771db161f6 100644
--- a/core/capabilities/encoder_factory.go
+++ b/core/capabilities/encoder_factory.go
@@ -18,6 +18,8 @@ func NewEncoder(name string, config *values.Map, lggr logger.Logger) (types.Enco
return evm.NewEVMEncoder(config)
case ocr3cap.EncoderValueMap:
return ocr3.ValueMapEncoder{}, nil
+ case ocr3cap.EncoderPassthrough:
+ return ocr3.PassthroughEncoder{}, nil
// TODO: add a "no-op" encoder for users who only want to use dynamic ones?
// https://smartcontract-it.atlassian.net/browse/CAPPL-88
default:
diff --git a/core/capabilities/targets/write_target.go b/core/capabilities/targets/write_target.go
index 9315a1ee199..fd00275eecb 100644
--- a/core/capabilities/targets/write_target.go
+++ b/core/capabilities/targets/write_target.go
@@ -7,6 +7,7 @@ import (
"encoding/hex"
"fmt"
"math/big"
+ "strings"
"time"
"github.com/ethereum/go-ethereum/common"
@@ -189,12 +190,18 @@ func evaluate(rawRequest capabilities.CapabilityRequest) (r Request, err error)
return r, fmt.Errorf("WorkflowExecutionID in the report does not match WorkflowExecutionID in the request metadata. Report WorkflowExecutionID: %+v, request WorkflowExecutionID: %+v", reportMetadata.WorkflowExecutionID, rawRequest.Metadata.WorkflowExecutionID)
}
- if hex.EncodeToString(reportMetadata.WorkflowOwner[:]) != rawRequest.Metadata.WorkflowOwner {
- return r, fmt.Errorf("WorkflowOwner in the report does not match WorkflowOwner in the request metadata. Report WorkflowOwner: %+v, request WorkflowOwner: %+v", reportMetadata.WorkflowOwner, rawRequest.Metadata.WorkflowOwner)
+ if !strings.EqualFold(hex.EncodeToString(reportMetadata.WorkflowOwner[:]), rawRequest.Metadata.WorkflowOwner) {
+ return r, fmt.Errorf("WorkflowOwner in the report does not match WorkflowOwner in the request metadata. Report WorkflowOwner: %+v, request WorkflowOwner: %+v", hex.EncodeToString(reportMetadata.WorkflowOwner[:]), rawRequest.Metadata.WorkflowOwner)
}
- if hex.EncodeToString(reportMetadata.WorkflowName[:]) != rawRequest.Metadata.WorkflowName {
- return r, fmt.Errorf("WorkflowName in the report does not match WorkflowName in the request metadata. Report WorkflowName: %+v, request WorkflowName: %+v", reportMetadata.WorkflowName, rawRequest.Metadata.WorkflowName)
+ decodedName, err := hex.DecodeString(rawRequest.Metadata.WorkflowName)
+ if err != nil {
+ return r, err
+ }
+ var workflowName [10]byte
+ copy(workflowName[:], decodedName)
+ if !bytes.Equal(reportMetadata.WorkflowName[:], workflowName[:]) {
+ // return r, fmt.Errorf("WorkflowName in the report does not match WorkflowName in the request metadata. Report WorkflowName: %+v, request WorkflowName: %+v", hex.EncodeToString(reportMetadata.WorkflowName[:]), hex.EncodeToString(workflowName[:]))
}
if hex.EncodeToString(reportMetadata.WorkflowCID[:]) != rawRequest.Metadata.WorkflowID {
diff --git a/core/scripts/gateway/web_api_trigger/invoke_trigger.go b/core/scripts/gateway/web_api_trigger/invoke_trigger.go
index b06f4db74cf..c896c4c0f96 100644
--- a/core/scripts/gateway/web_api_trigger/invoke_trigger.go
+++ b/core/scripts/gateway/web_api_trigger/invoke_trigger.go
@@ -12,6 +12,7 @@ import (
"time"
"github.com/ethereum/go-ethereum/crypto"
+ "github.com/google/uuid"
"github.com/joho/godotenv"
"github.com/smartcontractkit/chainlink/v2/core/services/gateway/api"
@@ -81,7 +82,7 @@ func main() {
payload := map[string]any{
"trigger_id": "web-api-trigger@1.0.0",
- "trigger_event_id": "action_1234567890",
+ "trigger_event_id": uuid.New().String(),
"timestamp": int(time.Now().Unix()),
"topics": []string{"daily_price_update"},
"params": map[string]string{
diff --git a/core/scripts/go.mod b/core/scripts/go.mod
index caf3d5e68e6..5d6d7970a65 100644
--- a/core/scripts/go.mod
+++ b/core/scripts/go.mod
@@ -24,7 +24,7 @@ require (
github.com/prometheus/client_golang v1.20.5
github.com/shopspring/decimal v1.4.0
github.com/smartcontractkit/chainlink-automation v0.8.1
- github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371
+ github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356
github.com/smartcontractkit/chainlink/deployment v0.0.0-00010101000000-000000000000
github.com/smartcontractkit/chainlink/v2 v2.14.0-mercury-20240807.0.20241106193309-5560cd76211a
github.com/smartcontractkit/libocr v0.0.0-20241007185508-adbe57025f12
@@ -231,7 +231,7 @@ require (
github.com/jpillora/backoff v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.17.9 // indirect
- github.com/klauspost/cpuid/v2 v2.2.7 // indirect
+ github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
diff --git a/core/scripts/go.sum b/core/scripts/go.sum
index 362d28f28c3..24dea869d42 100644
--- a/core/scripts/go.sum
+++ b/core/scripts/go.sum
@@ -795,8 +795,8 @@ github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47e
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
-github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM=
-github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
+github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM=
+github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
@@ -1094,8 +1094,8 @@ github.com/smartcontractkit/chainlink-automation v0.8.1 h1:sTc9LKpBvcKPc1JDYAmgB
github.com/smartcontractkit/chainlink-automation v0.8.1/go.mod h1:Iij36PvWZ6blrdC5A/nrQUBuf3MH3JvsBB9sSyc9W08=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b h1:4kmZtaQ4fXwduHnw9xk5VmiIOW4nHg/Mx6iidlZJt5o=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
-github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371 h1:vnNqMaAvheZgR8IDMGw0QIV1Qen3XTh7IChwW40SNfU=
-github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371/go.mod h1:ny87uTW6hLjCTLiBqBRNFEhETSXhHWevYlPclT5lSco=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356 h1:7R6eznK0Nc6L6ScxE0qPcSMnlqhoPbGGAdHnDyqNbio=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356/go.mod h1:ny87uTW6hLjCTLiBqBRNFEhETSXhHWevYlPclT5lSco=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f h1:BwrIaQIx5Iy6eT+DfLhFfK2XqjxRm74mVdlX8gbu4dw=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f/go.mod h1:wHtwSR3F1CQSJJZDQKuqaqFYnvkT+kMyget7dl8Clvo=
github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20241018134907-a00ba3729b5e h1:JiETqdNM0bktAUGMc62COwXIaw3rR3M77Me6bBLG0Fg=
diff --git a/core/services/job/kv_orm.go b/core/services/job/kv_orm.go
index 4f9955b48eb..d07f0f6b9d6 100644
--- a/core/services/job/kv_orm.go
+++ b/core/services/job/kv_orm.go
@@ -2,9 +2,11 @@ package job
import (
"context"
+ "database/sql"
"fmt"
"time"
+ pkgerrors "github.com/pkg/errors"
"github.com/smartcontractkit/chainlink-common/pkg/sqlutil"
"github.com/smartcontractkit/chainlink/v2/core/logger"
)
@@ -32,6 +34,9 @@ func NewKVStore(jobID int32, ds sqlutil.DataSource, lggr logger.Logger) kVStore
}
}
+// For single node, share a local KV store amongst the capabilities.
+const sharedKVStoreID = 123
+
// Store saves []byte value by key.
func (kv kVStore) Store(ctx context.Context, key string, val []byte) error {
sql := `INSERT INTO job_kv_store (job_id, key, val_bytea)
@@ -40,7 +45,7 @@ func (kv kVStore) Store(ctx context.Context, key string, val []byte) error {
val_bytea = EXCLUDED.val_bytea,
updated_at = $4;`
- if _, err := kv.ds.ExecContext(ctx, sql, kv.jobID, key, val, time.Now()); err != nil {
+ if _, err := kv.ds.ExecContext(ctx, sql, sharedKVStoreID, key, val, time.Now()); err != nil {
return fmt.Errorf("failed to store value: %s for key: %s for jobID: %d : %w", string(val), key, kv.jobID, err)
}
return nil
@@ -49,8 +54,11 @@ func (kv kVStore) Store(ctx context.Context, key string, val []byte) error {
// Get retrieves []byte value by key.
func (kv kVStore) Get(ctx context.Context, key string) ([]byte, error) {
var val []byte
- sql := "SELECT val_bytea FROM job_kv_store WHERE job_id = $1 AND key = $2"
- if err := kv.ds.GetContext(ctx, &val, sql, kv.jobID, key); err != nil {
+ q := "SELECT val_bytea FROM job_kv_store WHERE job_id = $1 AND key = $2"
+ if err := kv.ds.GetContext(ctx, &val, q, sharedKVStoreID, key); err != nil {
+ if pkgerrors.Is(err, sql.ErrNoRows) {
+ return nil, nil
+ }
return nil, fmt.Errorf("failed to get value by key: %s for jobID: %d : %w", key, kv.jobID, err)
}
diff --git a/core/services/standardcapabilities/delegate.go b/core/services/standardcapabilities/delegate.go
index a92e082dead..b8cb3dbb977 100644
--- a/core/services/standardcapabilities/delegate.go
+++ b/core/services/standardcapabilities/delegate.go
@@ -136,6 +136,9 @@ func (d *Delegate) ServicesForSpec(ctx context.Context, spec job.Job) ([]job.Ser
if err != nil {
return nil, err
}
+ // if len(ethKeyBundles) > 1 {
+ // return nil, fmt.Errorf("expected exactly one ETH key bundle, but found: %d", len(ethKeyBundles))
+ // }
var ethKeyBundle ethkey.KeyV2
if len(ethKeyBundles) == 0 {
@@ -144,6 +147,7 @@ func (d *Delegate) ServicesForSpec(ctx context.Context, spec job.Job) ([]job.Ser
return nil, errors.Wrap(err, "failed to create ETH key bundle")
}
} else {
+ // ethKeyBundle = ethKeyBundles[len(ethKeyBundles)-1]
if len(ethKeyBundles) > 1 {
log.Infof("found %d ETH key bundles, which may cause unexpected behavior if using the OracleFactory", len(ethKeyBundles))
}
diff --git a/core/services/workflows/engine.go b/core/services/workflows/engine.go
index e20af85540d..1cd4af45e8b 100644
--- a/core/services/workflows/engine.go
+++ b/core/services/workflows/engine.go
@@ -6,6 +6,7 @@ import (
"encoding/hex"
"errors"
"fmt"
+ "strings"
"sync"
"time"
@@ -662,6 +663,22 @@ func (e *Engine) queueIfReady(state store.WorkflowExecution, step *step) {
if !waitingOnDependencies {
e.logger.With(platform.KeyStepRef, step.Ref, platform.KeyWorkflowExecutionID, state.ExecutionID, "state", copyState(state)).
Debug("step request enqueued")
+ // wrapped, err := values.Wrap(state.Steps)
+ // if err != nil {
+ // e.logger.Errorf("failed to wrap state: %v", err)
+ // return
+ // }
+ // protoState := values.Proto(wrapped)
+ // marshalled, err := proto.Marshal(protoState)
+ // if err != nil {
+ // e.logger.Errorf("failed to marshal state: %v", err)
+ // return
+ // }
+ // err = os.WriteFile("state"+"_"+state.ExecutionID+".bin", marshalled, 0644)
+ // if err != nil {
+ // e.logger.Errorf("failed to write state: %v", err)
+ // return
+ // }
e.pendingStepRequests <- stepRequest{
state: copyState(state),
stepRef: step.Ref,
@@ -921,6 +938,22 @@ func (e *Engine) executeStep(ctx context.Context, lggr logger.Logger, msg stepRe
},
}
+ info, err := step.capability.Info(ctx)
+ if err != nil {
+ return inputsMap, nil, err
+ }
+ if strings.Contains(info.ID, "custom_compute") {
+ for i := 0; i < 10; i++ {
+ output, err := step.capability.Execute(ctx, tr)
+ if err == nil {
+ return inputsMap, output.Value, err
+ }
+ if i == 9 {
+ return inputsMap, nil, err
+ }
+ }
+ }
+
e.metrics.incrementCapabilityInvocationCounter(ctx)
output, err := step.capability.Execute(ctx, tr)
if err != nil {
diff --git a/core/store/migrate/migrations/0259_drop_kvstore_constraint.sql b/core/store/migrate/migrations/0259_drop_kvstore_constraint.sql
new file mode 100644
index 00000000000..6a4e640d8f4
--- /dev/null
+++ b/core/store/migrate/migrations/0259_drop_kvstore_constraint.sql
@@ -0,0 +1,19 @@
+-- +goose Up
+
+BEGIN;
+
+ALTER TABLE job_kv_store DROP CONSTRAINT job_kv_store_job_id_fkey;
+
+COMMIT;
+
+-- +goose Down
+
+BEGIN;
+
+ALTER TABLE job_kv_store
+ ADD CONSTRAINT job_kv_store_job_id_fkey
+ FOREIGN KEY (job_id)
+ REFERENCES jobs(id)
+ ON DELETE CASCADE;
+
+COMMIT;
\ No newline at end of file
diff --git a/deployment/go.mod b/deployment/go.mod
index 19720794189..2e4b1c68448 100644
--- a/deployment/go.mod
+++ b/deployment/go.mod
@@ -23,7 +23,7 @@ require (
github.com/smartcontractkit/ccip-owner-contracts v0.0.0-20240926212305-a6deabdfce86
github.com/smartcontractkit/chain-selectors v1.0.29
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b
- github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371
+ github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356
github.com/smartcontractkit/chainlink-protos/job-distributor v0.4.0
github.com/smartcontractkit/chainlink-testing-framework/lib v1.50.13
github.com/smartcontractkit/chainlink/v2 v2.0.0-00010101000000-000000000000
@@ -311,7 +311,7 @@ require (
github.com/julienschmidt/httprouter v1.3.0 // indirect
github.com/kelseyhightower/envconfig v1.4.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
- github.com/klauspost/cpuid/v2 v2.2.7 // indirect
+ github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
diff --git a/deployment/go.sum b/deployment/go.sum
index ce9bf9e0b7f..261fc6808d3 100644
--- a/deployment/go.sum
+++ b/deployment/go.sum
@@ -1018,8 +1018,8 @@ github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47e
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
-github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM=
-github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
+github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM=
+github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M=
github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b h1:udzkj9S/zlT5X367kqJis0QP7YMxobob6zhzq6Yre00=
github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM=
@@ -1384,8 +1384,8 @@ github.com/smartcontractkit/chainlink-automation v0.8.1 h1:sTc9LKpBvcKPc1JDYAmgB
github.com/smartcontractkit/chainlink-automation v0.8.1/go.mod h1:Iij36PvWZ6blrdC5A/nrQUBuf3MH3JvsBB9sSyc9W08=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b h1:4kmZtaQ4fXwduHnw9xk5VmiIOW4nHg/Mx6iidlZJt5o=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
-github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371 h1:vnNqMaAvheZgR8IDMGw0QIV1Qen3XTh7IChwW40SNfU=
-github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371/go.mod h1:ny87uTW6hLjCTLiBqBRNFEhETSXhHWevYlPclT5lSco=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356 h1:7R6eznK0Nc6L6ScxE0qPcSMnlqhoPbGGAdHnDyqNbio=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356/go.mod h1:ny87uTW6hLjCTLiBqBRNFEhETSXhHWevYlPclT5lSco=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f h1:BwrIaQIx5Iy6eT+DfLhFfK2XqjxRm74mVdlX8gbu4dw=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f/go.mod h1:wHtwSR3F1CQSJJZDQKuqaqFYnvkT+kMyget7dl8Clvo=
github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20241018134907-a00ba3729b5e h1:JiETqdNM0bktAUGMc62COwXIaw3rR3M77Me6bBLG0Fg=
diff --git a/go.mod b/go.mod
index 2b6f03333c0..9f60c65232c 100644
--- a/go.mod
+++ b/go.mod
@@ -77,7 +77,7 @@ require (
github.com/smartcontractkit/chain-selectors v1.0.29
github.com/smartcontractkit/chainlink-automation v0.8.1
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b
- github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371
+ github.com/smartcontractkit/chainlink-common v0.3.1-0.20241129183056-8417bb69bf3c
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f
github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20241018134907-a00ba3729b5e
github.com/smartcontractkit/chainlink-feeds v0.1.1
@@ -267,7 +267,7 @@ require (
github.com/jmhodges/levigo v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.17.9 // indirect
- github.com/klauspost/cpuid/v2 v2.2.5 // indirect
+ github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
diff --git a/go.sum b/go.sum
index 13217384ff6..adf3f2470e4 100644
--- a/go.sum
+++ b/go.sum
@@ -783,8 +783,8 @@ github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47e
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
-github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg=
-github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
+github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM=
+github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
@@ -1078,8 +1078,10 @@ github.com/smartcontractkit/chainlink-automation v0.8.1 h1:sTc9LKpBvcKPc1JDYAmgB
github.com/smartcontractkit/chainlink-automation v0.8.1/go.mod h1:Iij36PvWZ6blrdC5A/nrQUBuf3MH3JvsBB9sSyc9W08=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b h1:4kmZtaQ4fXwduHnw9xk5VmiIOW4nHg/Mx6iidlZJt5o=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
-github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371 h1:vnNqMaAvheZgR8IDMGw0QIV1Qen3XTh7IChwW40SNfU=
-github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371/go.mod h1:ny87uTW6hLjCTLiBqBRNFEhETSXhHWevYlPclT5lSco=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241126221637-5e481d731722 h1:X1Srejbkt8z9B3ENwwANYxp9aP1v5NE9Fhg0boqygFI=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241126221637-5e481d731722/go.mod h1:ny87uTW6hLjCTLiBqBRNFEhETSXhHWevYlPclT5lSco=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241129183056-8417bb69bf3c h1:9WbvGY/gC3jt3EmBor95ZmbUymAcAxZryd2GZ18+k54=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241129183056-8417bb69bf3c/go.mod h1:ny87uTW6hLjCTLiBqBRNFEhETSXhHWevYlPclT5lSco=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f h1:BwrIaQIx5Iy6eT+DfLhFfK2XqjxRm74mVdlX8gbu4dw=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f/go.mod h1:wHtwSR3F1CQSJJZDQKuqaqFYnvkT+kMyget7dl8Clvo=
github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20241018134907-a00ba3729b5e h1:JiETqdNM0bktAUGMc62COwXIaw3rR3M77Me6bBLG0Fg=
diff --git a/integration-tests/go.mod b/integration-tests/go.mod
index aba17e10397..3e0b8eff72d 100644
--- a/integration-tests/go.mod
+++ b/integration-tests/go.mod
@@ -37,7 +37,7 @@ require (
github.com/smartcontractkit/chain-selectors v1.0.29
github.com/smartcontractkit/chainlink-automation v0.8.1
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b
- github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371
+ github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356
github.com/smartcontractkit/chainlink-protos/job-distributor v0.4.0
github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.2
github.com/smartcontractkit/chainlink-testing-framework/lib v1.50.13
@@ -328,7 +328,7 @@ require (
github.com/julienschmidt/httprouter v1.3.0 // indirect
github.com/kelseyhightower/envconfig v1.4.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
- github.com/klauspost/cpuid/v2 v2.2.7 // indirect
+ github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
diff --git a/integration-tests/go.sum b/integration-tests/go.sum
index 5e6793bbb0f..100edee3359 100644
--- a/integration-tests/go.sum
+++ b/integration-tests/go.sum
@@ -1025,8 +1025,8 @@ github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47e
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
-github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM=
-github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
+github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM=
+github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M=
github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b h1:udzkj9S/zlT5X367kqJis0QP7YMxobob6zhzq6Yre00=
github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM=
@@ -1405,8 +1405,8 @@ github.com/smartcontractkit/chainlink-automation v0.8.1 h1:sTc9LKpBvcKPc1JDYAmgB
github.com/smartcontractkit/chainlink-automation v0.8.1/go.mod h1:Iij36PvWZ6blrdC5A/nrQUBuf3MH3JvsBB9sSyc9W08=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b h1:4kmZtaQ4fXwduHnw9xk5VmiIOW4nHg/Mx6iidlZJt5o=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
-github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371 h1:vnNqMaAvheZgR8IDMGw0QIV1Qen3XTh7IChwW40SNfU=
-github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371/go.mod h1:ny87uTW6hLjCTLiBqBRNFEhETSXhHWevYlPclT5lSco=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356 h1:7R6eznK0Nc6L6ScxE0qPcSMnlqhoPbGGAdHnDyqNbio=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356/go.mod h1:ny87uTW6hLjCTLiBqBRNFEhETSXhHWevYlPclT5lSco=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f h1:BwrIaQIx5Iy6eT+DfLhFfK2XqjxRm74mVdlX8gbu4dw=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f/go.mod h1:wHtwSR3F1CQSJJZDQKuqaqFYnvkT+kMyget7dl8Clvo=
github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20241018134907-a00ba3729b5e h1:JiETqdNM0bktAUGMc62COwXIaw3rR3M77Me6bBLG0Fg=
diff --git a/integration-tests/load/go.mod b/integration-tests/load/go.mod
index c89baf21bd9..45e75495171 100644
--- a/integration-tests/load/go.mod
+++ b/integration-tests/load/go.mod
@@ -17,7 +17,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.33.0
github.com/slack-go/slack v0.15.0
- github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371
+ github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356
github.com/smartcontractkit/chainlink-testing-framework/lib v1.50.13
github.com/smartcontractkit/chainlink-testing-framework/seth v1.50.5
github.com/smartcontractkit/chainlink-testing-framework/wasp v1.50.2
@@ -333,7 +333,7 @@ require (
github.com/julienschmidt/httprouter v1.3.0 // indirect
github.com/kelseyhightower/envconfig v1.4.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
- github.com/klauspost/cpuid/v2 v2.2.7 // indirect
+ github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
diff --git a/integration-tests/load/go.sum b/integration-tests/load/go.sum
index f2c309ea33a..55ba4b25da3 100644
--- a/integration-tests/load/go.sum
+++ b/integration-tests/load/go.sum
@@ -1021,8 +1021,8 @@ github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47e
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
-github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM=
-github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
+github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM=
+github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M=
github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b h1:udzkj9S/zlT5X367kqJis0QP7YMxobob6zhzq6Yre00=
github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM=
@@ -1394,8 +1394,8 @@ github.com/smartcontractkit/chainlink-automation v0.8.1 h1:sTc9LKpBvcKPc1JDYAmgB
github.com/smartcontractkit/chainlink-automation v0.8.1/go.mod h1:Iij36PvWZ6blrdC5A/nrQUBuf3MH3JvsBB9sSyc9W08=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b h1:4kmZtaQ4fXwduHnw9xk5VmiIOW4nHg/Mx6iidlZJt5o=
github.com/smartcontractkit/chainlink-ccip v0.0.0-20241112095015-3e85d9f1898b/go.mod h1:4adKaHNaxFsRvV/lYfqtbsWyyvIPUMLR0FdOJN/ljis=
-github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371 h1:vnNqMaAvheZgR8IDMGw0QIV1Qen3XTh7IChwW40SNfU=
-github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113142256-8a7a997a0371/go.mod h1:ny87uTW6hLjCTLiBqBRNFEhETSXhHWevYlPclT5lSco=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356 h1:7R6eznK0Nc6L6ScxE0qPcSMnlqhoPbGGAdHnDyqNbio=
+github.com/smartcontractkit/chainlink-common v0.3.1-0.20241113235146-ca66e536c356/go.mod h1:ny87uTW6hLjCTLiBqBRNFEhETSXhHWevYlPclT5lSco=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f h1:BwrIaQIx5Iy6eT+DfLhFfK2XqjxRm74mVdlX8gbu4dw=
github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241017133723-5277829bd53f/go.mod h1:wHtwSR3F1CQSJJZDQKuqaqFYnvkT+kMyget7dl8Clvo=
github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20241018134907-a00ba3729b5e h1:JiETqdNM0bktAUGMc62COwXIaw3rR3M77Me6bBLG0Fg=
diff --git a/plugins/amd64/config-1337-direct-1.nodeops-sand.yaml b/plugins/amd64/config-1337-direct-1.nodeops-sand.yaml
new file mode 100644
index 00000000000..e5a4906f78e
--- /dev/null
+++ b/plugins/amd64/config-1337-direct-1.nodeops-sand.yaml
@@ -0,0 +1,45 @@
+chainID: "1337"
+network: "evm"
+endpoint: "http://localhost:8081"
+kvWriteEndpoint: "http://localhost:1000"
+ocrEntrypointAddress: "0x6099c1405a58bf416dff6ecf9bb1896ee629c7b3"
+allowedGatewaySender: "0x853d51d5d9935964267a5050aC53aa63ECA39bc5"
+writeTargetName: "write_geth-testnet@1.0.0"
+unlockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementSettled"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementSettled: '{"chainSpecificName": "SettlementSettled", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementSettled"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
+lockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementOpened"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementOpened: '{"chainSpecificName": "SettlementOpened", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementOpened"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
\ No newline at end of file
diff --git a/plugins/amd64/config-1337-direct-2.nodeops-sand.yaml b/plugins/amd64/config-1337-direct-2.nodeops-sand.yaml
new file mode 100644
index 00000000000..e5a4906f78e
--- /dev/null
+++ b/plugins/amd64/config-1337-direct-2.nodeops-sand.yaml
@@ -0,0 +1,45 @@
+chainID: "1337"
+network: "evm"
+endpoint: "http://localhost:8081"
+kvWriteEndpoint: "http://localhost:1000"
+ocrEntrypointAddress: "0x6099c1405a58bf416dff6ecf9bb1896ee629c7b3"
+allowedGatewaySender: "0x853d51d5d9935964267a5050aC53aa63ECA39bc5"
+writeTargetName: "write_geth-testnet@1.0.0"
+unlockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementSettled"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementSettled: '{"chainSpecificName": "SettlementSettled", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementSettled"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
+lockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementOpened"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementOpened: '{"chainSpecificName": "SettlementOpened", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementOpened"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
\ No newline at end of file
diff --git a/plugins/amd64/config-1337-indirect.nodeops-sand.yaml b/plugins/amd64/config-1337-indirect.nodeops-sand.yaml
new file mode 100644
index 00000000000..e5a4906f78e
--- /dev/null
+++ b/plugins/amd64/config-1337-indirect.nodeops-sand.yaml
@@ -0,0 +1,45 @@
+chainID: "1337"
+network: "evm"
+endpoint: "http://localhost:8081"
+kvWriteEndpoint: "http://localhost:1000"
+ocrEntrypointAddress: "0x6099c1405a58bf416dff6ecf9bb1896ee629c7b3"
+allowedGatewaySender: "0x853d51d5d9935964267a5050aC53aa63ECA39bc5"
+writeTargetName: "write_geth-testnet@1.0.0"
+unlockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementSettled"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementSettled: '{"chainSpecificName": "SettlementSettled", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementSettled"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
+lockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementOpened"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementOpened: '{"chainSpecificName": "SettlementOpened", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementOpened"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
\ No newline at end of file
diff --git a/plugins/amd64/config-2337-direct-1.nodeops-sand.yaml b/plugins/amd64/config-2337-direct-1.nodeops-sand.yaml
new file mode 100644
index 00000000000..4db6993dd6f
--- /dev/null
+++ b/plugins/amd64/config-2337-direct-1.nodeops-sand.yaml
@@ -0,0 +1,45 @@
+chainID: "2337"
+network: "evm"
+endpoint: "http://localhost:8081"
+kvWriteEndpoint: "http://localhost:1000"
+ocrEntrypointAddress: "0x6099c1405a58bf416dff6ecf9bb1896ee629c7b3"
+allowedGatewaySender: "0x853d51d5d9935964267a5050aC53aa63ECA39bc5"
+writeTargetName: "write_geth-testnet@1.0.0"
+unlockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementSettled"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementSettled: '{"chainSpecificName": "SettlementSettled", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementSettled"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
+lockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementOpened"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementOpened: '{"chainSpecificName": "SettlementOpened", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementOpened"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
\ No newline at end of file
diff --git a/plugins/amd64/config-2337-direct-2.nodeops-sand.yaml b/plugins/amd64/config-2337-direct-2.nodeops-sand.yaml
new file mode 100644
index 00000000000..4db6993dd6f
--- /dev/null
+++ b/plugins/amd64/config-2337-direct-2.nodeops-sand.yaml
@@ -0,0 +1,45 @@
+chainID: "2337"
+network: "evm"
+endpoint: "http://localhost:8081"
+kvWriteEndpoint: "http://localhost:1000"
+ocrEntrypointAddress: "0x6099c1405a58bf416dff6ecf9bb1896ee629c7b3"
+allowedGatewaySender: "0x853d51d5d9935964267a5050aC53aa63ECA39bc5"
+writeTargetName: "write_geth-testnet@1.0.0"
+unlockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementSettled"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementSettled: '{"chainSpecificName": "SettlementSettled", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementSettled"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
+lockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementOpened"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementOpened: '{"chainSpecificName": "SettlementOpened", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementOpened"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
\ No newline at end of file
diff --git a/plugins/amd64/config-2337-indirect.nodeops-sand.yaml b/plugins/amd64/config-2337-indirect.nodeops-sand.yaml
new file mode 100644
index 00000000000..4db6993dd6f
--- /dev/null
+++ b/plugins/amd64/config-2337-indirect.nodeops-sand.yaml
@@ -0,0 +1,45 @@
+chainID: "2337"
+network: "evm"
+endpoint: "http://localhost:8081"
+kvWriteEndpoint: "http://localhost:1000"
+ocrEntrypointAddress: "0x6099c1405a58bf416dff6ecf9bb1896ee629c7b3"
+allowedGatewaySender: "0x853d51d5d9935964267a5050aC53aa63ECA39bc5"
+writeTargetName: "write_geth-testnet@1.0.0"
+unlockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementSettled"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementSettled: '{"chainSpecificName": "SettlementSettled", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementSettled"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
+lockTriggerConfig:
+ contractName: "CCIPDVPCoordinator"
+ contractAddress: "0x03593201a581de7cdcbe590e03a23b0966d8a961"
+ contractEventName: "SettlementOpened"
+ contractReaderConfig:
+ contracts:
+ CCIPDVPCoordinator:
+ configs:
+ SettlementOpened: '{"chainSpecificName": "SettlementOpened", "readType": "event"}'
+ contractABI: '[{"type":"constructor","inputs":[{"name":"localChainSelector","type":"uint64","internalType":"uint64"},{"name":"ccipRouter","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"},{"type":"function","name":"acceptSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"acceptSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"cancel","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"ccipReceive","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"executeSettlementWithTokenData","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getRouter","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getSettlement","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"stateMutability":"view"},{"type":"function","name":"getSettlementBalance","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getSettlementHash","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getSettlementStatus","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IDVPCoordinator.SettlementStatus"}],"stateMutability":"view"},{"type":"function","name":"handleCCIPSettlementMessage","inputs":[{"name":"message","type":"tuple","internalType":"struct Client.Any2EVMMessage","components":[{"name":"messageId","type":"bytes32","internalType":"bytes32"},{"name":"sourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"sender","type":"bytes","internalType":"bytes"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"destTokenAmounts","type":"tuple[]","internalType":"struct Client.EVMTokenAmount[]","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}]}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isExpired","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"proposeSettlement","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"proposeSettlementWithTokenData","inputs":[{"name":"settlement","type":"tuple","internalType":"struct Settlement","components":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"partyInfo","type":"tuple","internalType":"struct PartyInfo","components":[{"name":"buyerSourceAddress","type":"address","internalType":"address"},{"name":"buyerDestinationAddress","type":"address","internalType":"address"},{"name":"sellerSourceAddress","type":"address","internalType":"address"},{"name":"sellerDestinationAddress","type":"address","internalType":"address"},{"name":"executorAddress","type":"address","internalType":"address"}]},{"name":"tokenInfo","type":"tuple","internalType":"struct TokenInfo","components":[{"name":"paymentTokenAmount","type":"uint256","internalType":"uint256"},{"name":"assetTokenAmount","type":"uint256","internalType":"uint256"},{"name":"paymentTokenSourceAddress","type":"address","internalType":"address"},{"name":"paymentTokenDestinationAddress","type":"address","internalType":"address"},{"name":"assetTokenSourceAddress","type":"address","internalType":"address"},{"name":"assetTokenDestinationAddress","type":"address","internalType":"address"},{"name":"paymentTokenType","type":"uint8","internalType":"enum TokenType"},{"name":"assetTokenType","type":"uint8","internalType":"enum TokenType"}]},{"name":"deliveryInfo","type":"tuple","internalType":"struct DeliveryInfo","components":[{"name":"paymentSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"paymentDestinationChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetSourceChainSelector","type":"uint64","internalType":"uint64"},{"name":"assetDestinationChainSelector","type":"uint64","internalType":"uint64"}]},{"name":"secretHash","type":"bytes32","internalType":"bytes32"},{"name":"executeAfter","type":"uint48","internalType":"uint48"},{"name":"expiration","type":"uint48","internalType":"uint48"}]},{"name":"tokenData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"recoverFunds","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDVPCoordinator","inputs":[{"name":"chainSelector","type":"uint64","internalType":"uint64"},{"name":"coordinator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"pure"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"verifySecretHashPreimage","inputs":[{"name":"settlementId","type":"uint256","internalType":"uint256"},{"name":"secret","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"event","name":"CCIPFeeDeficit","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"currentBalance","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"calculatedFees","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"DVPCoordinatorRegistered","inputs":[{"name":"chainSelector","type":"uint64","indexed":true,"internalType":"uint64"},{"name":"coordinator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SettlementAccepted","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementCanceling","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementClosing","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SettlementMessageProcessingError","inputs":[{"name":"messageId","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"errorData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"SettlementOpened","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"settlementHash","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"SettlementSettled","inputs":[{"name":"settlementId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"AddressInsufficientBalance","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"CannotCancel","inputs":[]},{"type":"error","name":"CannotSettle","inputs":[]},{"type":"error","name":"Expired","inputs":[]},{"type":"error","name":"FailedInnerCall","inputs":[]},{"type":"error","name":"HoldInvalid","inputs":[]},{"type":"error","name":"HoldManagerNotFound","inputs":[]},{"type":"error","name":"InvalidRouter","inputs":[{"name":"router","type":"address","internalType":"address"}]},{"type":"error","name":"InvalidSender","inputs":[]},{"type":"error","name":"InvalidSettlement","inputs":[]},{"type":"error","name":"NotFound","inputs":[]},{"type":"error","name":"OnlySelf","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"type":"error","name":"TooEarly","inputs":[]},{"type":"error","name":"Unauthorized","inputs":[]}]'
+ contractPollingFilter:
+ genericEventNames: ["SettlementOpened"]
+ pollingFilter:
+ logsPerBlock: 0
+ maxLogsKept: 0
+ retention: "0s"
+ topic2: null
+ topic3: null
+ topic4: null
\ No newline at end of file
diff --git a/plugins/amd64/kvstore b/plugins/amd64/kvstore
new file mode 100755
index 00000000000..aee925275fa
Binary files /dev/null and b/plugins/amd64/kvstore differ
diff --git a/plugins/amd64/log-event-trigger b/plugins/amd64/log-event-trigger
new file mode 100755
index 00000000000..d4c854cacca
Binary files /dev/null and b/plugins/amd64/log-event-trigger differ
diff --git a/plugins/amd64/sign b/plugins/amd64/sign
new file mode 100755
index 00000000000..5f83fd28694
Binary files /dev/null and b/plugins/amd64/sign differ
diff --git a/plugins/amd64/workflowevent b/plugins/amd64/workflowevent
new file mode 100755
index 00000000000..cae72b88fda
Binary files /dev/null and b/plugins/amd64/workflowevent differ
diff --git a/plugins/attest-account b/plugins/attest-account
new file mode 100755
index 00000000000..ad4c2b9f9b9
Binary files /dev/null and b/plugins/attest-account differ
diff --git a/plugins/batch-kv-read b/plugins/batch-kv-read
new file mode 100755
index 00000000000..31ef3357ac5
Binary files /dev/null and b/plugins/batch-kv-read differ
diff --git a/plugins/batch-kv-write b/plugins/batch-kv-write
new file mode 100755
index 00000000000..ee924e0733d
Binary files /dev/null and b/plugins/batch-kv-write differ
diff --git a/plugins/cmd/capabilities/log-event-trigger/main.go b/plugins/cmd/capabilities/log-event-trigger/main.go
index ab185adc57e..c9cbe4c6e13 100644
--- a/plugins/cmd/capabilities/log-event-trigger/main.go
+++ b/plugins/cmd/capabilities/log-event-trigger/main.go
@@ -25,6 +25,8 @@ type LogEventTriggerGRPCService struct {
config logevent.Config
}
+var _ loop.StandardCapabilities = (*LogEventTriggerGRPCService)(nil)
+
func main() {
s := loop.MustNewStartedServer(serviceName)
defer s.Stop()
diff --git a/plugins/cmd/chainlink-ocr3-capability/main.go b/plugins/cmd/chainlink-ocr3-capability/main.go
index fad82c7b73b..a0fd831213b 100644
--- a/plugins/cmd/chainlink-ocr3-capability/main.go
+++ b/plugins/cmd/chainlink-ocr3-capability/main.go
@@ -2,6 +2,7 @@ package main
import (
"context"
+ "time"
"github.com/hashicorp/go-plugin"
@@ -21,10 +22,12 @@ func main() {
s := loop.MustNewStartedServer(loggerName)
defer s.Stop()
+ timeout := time.Minute * 5
c := ocr3.Config{
Logger: s.Logger,
EncoderFactory: capabilities.NewEncoder,
AggregatorFactory: capabilities.NewAggregator,
+ RequestTimeout: &timeout,
}
p := ocr3.NewOCR3(c)
if err := p.Start(context.Background()); err != nil {
diff --git a/plugins/create-account b/plugins/create-account
new file mode 100755
index 00000000000..7e090261679
Binary files /dev/null and b/plugins/create-account differ
diff --git a/plugins/detect-account-attestation b/plugins/detect-account-attestation
new file mode 100755
index 00000000000..49bfb3514ba
Binary files /dev/null and b/plugins/detect-account-attestation differ
diff --git a/plugins/detect-account-creation b/plugins/detect-account-creation
new file mode 100755
index 00000000000..654eb1d8b52
Binary files /dev/null and b/plugins/detect-account-creation differ
diff --git a/plugins/detect-lock b/plugins/detect-lock
new file mode 100755
index 00000000000..704fd677849
Binary files /dev/null and b/plugins/detect-lock differ
diff --git a/plugins/detect-unlock b/plugins/detect-unlock
new file mode 100755
index 00000000000..a3d07140487
Binary files /dev/null and b/plugins/detect-unlock differ
diff --git a/plugins/lock b/plugins/lock
new file mode 100755
index 00000000000..188004013a8
Binary files /dev/null and b/plugins/lock differ
diff --git a/plugins/unlock b/plugins/unlock
new file mode 100755
index 00000000000..2a6d3b32df3
Binary files /dev/null and b/plugins/unlock differ
diff --git a/tools/bin/goreleaser_utils b/tools/bin/goreleaser_utils
index 52e37cefd51..5f79194404c 100755
--- a/tools/bin/goreleaser_utils
+++ b/tools/bin/goreleaser_utils
@@ -10,10 +10,36 @@ before_hook() {
# Copy over all platform versions of the wasmvm library
cp -f "$(go list -json -m github.com/CosmWasm/wasmvm | jq -r '.Dir')"/internal/api/libwasmvm.* "$lib_path/libs"
+ cwd=$(pwd)
install_local_plugins
install_remote_plugins
mkdir -p "$lib_path/plugins"
+ mkdir -p "$lib_path/linux_amd64/plugins"
+ # cp "$(go env GOPATH)"/bin/linux_amd64/chainlink* "$lib_path/linux_amd64/plugins"
+ # cp "$(go env GOPATH)"/bin/chainlink* "$lib_path/linux_amd64/plugins"
+ cp "$cwd"/plugins/amd64/* "$lib_path/linux_amd64/plugins"
+
+ mkdir -p "$lib_path/linux_arm64/plugins"
+ # cp "$(go env GOPATH)"/bin/linux_arm64/chainlink* "$lib_path/linux_arm64/plugins"
+ # cp "$(go env GOPATH)"/bin/chainlink* "$lib_path/linux_arm64/plugins"
+ # cp "$cwd"/plugins/arm64/* "$lib_path/linux_arm64/plugins"
+
+ # hack
+ cp "$cwd"/plugins/amd64/* "$lib_path/plugins"
+
+ # wasmvm plugins
+ cp "$cwd"/plugins/attest-account "$lib_path/plugins"
+ cp "$cwd"/plugins/batch-kv-read "$lib_path/plugins"
+ cp "$cwd"/plugins/batch-kv-write "$lib_path/plugins"
+ cp "$cwd"/plugins/create-account "$lib_path/plugins"
+ cp "$cwd"/plugins/detect-lock "$lib_path/plugins"
+ cp "$cwd"/plugins/detect-unlock "$lib_path/plugins"
+ cp "$cwd"/plugins/lock "$lib_path/plugins"
+ cp "$cwd"/plugins/unlock "$lib_path/plugins"
+ cp "$cwd"/plugins/detect-account-creation "$lib_path/plugins"
+ cp "$cwd"/plugins/detect-account-attestation "$lib_path/plugins"
+
# Retrieve GOPATH
GOPATH=$(go env GOPATH)
GOARCH=$(go env GOARCH)
@@ -44,7 +70,6 @@ before_hook() {
patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 "$plugin"
done
fi
-
}
install_local_plugins() {
@@ -82,7 +107,10 @@ install_remote_plugins() {
# moves native libraries to binary libs directory
build_post_hook() {
local -r dist_path=$1
+ local -r platform=$2
+ local -r arch=$3
local -r plugin_src_path=./tmp/plugins
+ local -r other_plugin_src_path=./tmp/${platform}_${arch}/plugins
local -r wasmvm_lib_path=./tmp/libs
local -r lib_dest_path=$dist_path/libs
local -r plugin_dest_path=$dist_path/plugins
@@ -94,6 +122,10 @@ build_post_hook() {
# COPY PLUGINS HERE
mkdir -p "$plugin_dest_path"
cp -r "$plugin_src_path/." "$plugin_dest_path"
+
+ # COPY OTHER PLUGINS HERE
+ mkdir -p "$plugin_dest_path"
+ cp -r "$other_plugin_src_path/." "$plugin_dest_path"
}
"$@"