diff --git a/plugins/amd64/beholder b/plugins/amd64/beholder new file mode 100755 index 00000000000..b788eb114f9 Binary files /dev/null and b/plugins/amd64/beholder differ diff --git a/plugins/amd64/chainlink-ocr3-capability b/plugins/amd64/chainlink-ocr3-capability new file mode 100755 index 00000000000..3d14b838726 Binary files /dev/null and b/plugins/amd64/chainlink-ocr3-capability differ 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..8e1582b4f10 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..42a7e76b3cd 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..d87e4cdf99a 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..53ea12cec0f Binary files /dev/null and b/plugins/amd64/workflowevent differ diff --git a/plugins/arm64/beholder b/plugins/arm64/beholder new file mode 100755 index 00000000000..4ab02b1f50a Binary files /dev/null and b/plugins/arm64/beholder differ diff --git a/plugins/arm64/cron b/plugins/arm64/cron new file mode 100755 index 00000000000..6d34500bfb3 Binary files /dev/null and b/plugins/arm64/cron differ diff --git a/plugins/arm64/kvstore b/plugins/arm64/kvstore new file mode 100755 index 00000000000..1b2b0d4252a Binary files /dev/null and b/plugins/arm64/kvstore differ diff --git a/plugins/arm64/sign b/plugins/arm64/sign new file mode 100755 index 00000000000..8c4789574b8 Binary files /dev/null and b/plugins/arm64/sign differ diff --git a/plugins/attest-account b/plugins/attest-account new file mode 100755 index 00000000000..937063310ae 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..9df2ce17ef8 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..384dcf5d27f Binary files /dev/null and b/plugins/batch-kv-write differ diff --git a/plugins/create-account b/plugins/create-account new file mode 100755 index 00000000000..11a785685bd 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..202a686bc96 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..5927042e9a8 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..e7ed88bd876 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..ca02a09c340 Binary files /dev/null and b/plugins/detect-unlock differ diff --git a/plugins/lock b/plugins/lock new file mode 100755 index 00000000000..4b9efef78b4 Binary files /dev/null and b/plugins/lock differ diff --git a/plugins/unlock b/plugins/unlock new file mode 100755 index 00000000000..355b433023b Binary files /dev/null and b/plugins/unlock differ