Function: assignJob(uint16 _dstChainId, uint16 _proofType, uint64 _outboundBlockConfirmation, address _userApplication)
Query price and assign jobs at the same time.
Inputs
_dstChainIdControl: Fully controlled by caller.
Constraints:
supportedDstChain[_proofType][_dstChainId]must be true; in other words, the supplied proof type must be supported for the destination ID.Impact: The destination endpoint identifier.
_proofTypeControl: Fully controlled by caller.
Constraints:
supportedDstChain[_proofType][_dstChainId]must be true; in other words, the supplied proof type must be supported for the destination ID.Impact: Specifies the proof type to be relayed.
_outboundBlockConfirmationControl: Fully controlled by caller.
Constraints: N/A.
Impact: Block confirmation delay before relaying blocks.
_userApplicationControl: Fully controlled by caller.
Constraints: N/A.
Impact: The source sending contract address.
Branches and code coverage (including function calls)
Intended branches
Emit
OracleNotifiedif_proofTypeand_dstChainIdare valid.
Negative behavior
Revert if
_proofTypeis not supported for_dstChainId.Revert if user application ULN is not supported.