Skip to main content



Can be used as either a Parent or Child messenger mock in unit tests for the Oracle Hub and Spoke cross-chain contracts. The reason that this can't also be used for the Governor Hub and Spoke is that the sendMessageToChild is called with different encoded data in the Oracle versus the Governor.


sendMessageToChild(bytes data) (external)
getL1CallValue() → uint256 (public)
requestPrice(address oracleHub, uint256 chainId, bytes32 identifier, uint256 time, bytes ancillaryData) (external)
sendMessageToParent(bytes data) (external)
publishPrice(address oracleSpoke, bytes32 identifier, uint256 time, bytes ancillaryData, int256 price) (external)