Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m20s
CI/CD Pipeline / Security Scanning (push) Successful in 2m48s
CI/CD Pipeline / Lint and Format (push) Failing after 47s
CI/CD Pipeline / Terraform Validation (push) Failing after 28s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 30s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 44s
Validation / validate-genesis (push) Successful in 37s
Validation / validate-terraform (push) Failing after 42s
Validation / validate-kubernetes (push) Failing after 12s
Validation / validate-smart-contracts (push) Failing after 16m44s
Validation / validate-security (push) Failing after 20s
Validation / validate-documentation (push) Failing after 19s
Verify Deployment / Verify Deployment (push) Failing after 1m21s
Use dedicated cusdc_v2/cusdt_v2 SVG paths so GRU token alignment validation passes.
28 lines
1005 B
Solidity
28 lines
1005 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.19;
|
|
|
|
interface IISO20022Router {
|
|
struct CanonicalMessage {
|
|
bytes32 msgType; // pacs.008, pain.001, camt.054, etc.
|
|
bytes32 instructionId; // unique reference
|
|
bytes32 endToEndId; // optional
|
|
bytes32 accountRefId;
|
|
bytes32 counterpartyRefId;
|
|
address token;
|
|
uint256 amount;
|
|
bytes32 currencyCode;
|
|
bytes32 payloadHash; // hash of off-chain payload
|
|
}
|
|
|
|
function submitInbound(CanonicalMessage calldata m) external returns (uint256 triggerId);
|
|
|
|
function submitOutbound(CanonicalMessage calldata m) external returns (uint256 triggerId);
|
|
|
|
function getTriggerIdByInstructionId(bytes32 instructionId) external view returns (uint256);
|
|
|
|
event InboundSubmitted(uint256 indexed triggerId, bytes32 msgType, bytes32 instructionId, bytes32 accountRefId);
|
|
|
|
event OutboundSubmitted(uint256 indexed triggerId, bytes32 msgType, bytes32 instructionId, bytes32 accountRefId);
|
|
}
|
|
|