Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m11s
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Lint and Format (push) Has been cancelled
CI/CD Pipeline / Terraform Validation (push) Has been cancelled
CI/CD Pipeline / Kubernetes Validation (push) Has been cancelled
Validation / validate-genesis (push) Has been cancelled
Validation / validate-terraform (push) Has been cancelled
Validation / validate-kubernetes (push) Has been cancelled
Validation / validate-smart-contracts (push) Has been cancelled
Validation / validate-security (push) Has been cancelled
Validation / validate-documentation (push) Has been cancelled
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 1m4s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 31s
OMNL reconcile anchor / Run omnl:reconcile and upload artifacts (push) Failing after 29s
Verify Deployment / Verify Deployment (push) Failing after 57s
Relay router, reserve system, oracle publisher, token-aggregation compliance middleware, and Monad deployment scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
1.8 KiB
JavaScript
30 lines
1.8 KiB
JavaScript
/**
|
|
* Contract ABIs for relay service
|
|
*/
|
|
|
|
export const MessageSentABI = [
|
|
"event MessageSent(bytes32 indexed messageId, uint64 indexed destinationChainSelector, address indexed sender, bytes receiver, bytes data, tuple(address token, uint256 amount, uint8 amountType)[] tokenAmounts, address feeToken, bytes extraArgs)"
|
|
];
|
|
|
|
export const RelayRouterABI = [
|
|
"function relayMessage(address bridge, tuple(bytes32 messageId, uint64 sourceChainSelector, bytes sender, bytes data, tuple(address token, uint256 amount, uint8 amountType)[] tokenAmounts) calldata message) external",
|
|
"event MessageRelayed(bytes32 indexed messageId, uint64 indexed sourceChainSelector, address indexed bridge, address recipient, uint256 amount)",
|
|
"function authorizedBridges(address) view returns (bool)",
|
|
"function hasRole(bytes32, address) view returns (bool)"
|
|
];
|
|
|
|
export const RelayBridgeABI = [
|
|
// CWMultiTokenBridgeL2 / Chainlink receivers: destTokenAmounts (address,uint256)[]
|
|
"function ccipReceive(tuple(bytes32 messageId, uint64 sourceChainSelector, bytes sender, bytes data, tuple(address token, uint256 amount)[] destTokenAmounts) calldata message) external",
|
|
// Legacy CCIPRelayBridge (WETH): tokenAmounts with amountType
|
|
"function ccipReceive(tuple(bytes32 messageId, uint64 sourceChainSelector, bytes sender, bytes data, tuple(address token, uint256 amount, uint8 amountType)[] tokenAmounts) calldata message) external",
|
|
"event CrossChainTransferCompleted(bytes32 indexed messageId, uint64 indexed sourceChainSelector, address indexed recipient, uint256 amount)",
|
|
"function processed(bytes32) view returns (bool)",
|
|
"function processedTransfers(bytes32) view returns (bool)",
|
|
"function canonicalToMirrored(address canonicalToken) view returns (address)"
|
|
];
|
|
|
|
export const ERC20ABI = [
|
|
"function balanceOf(address account) view returns (uint256)"
|
|
];
|