Function: assignJob(uint16 _dstChainId, uint16 _proofType, uint64 _outboundBlockConfirmation, address _userApplication)
Query price and assign jobs at the same time.
Inputs
_dstChainId
Control: 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.
_proofType
Control: 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.
_outboundBlockConfirmation
Control: Fully controlled by caller.
Constraints: N/A.
Impact: Block confirmation delay before relaying blocks.
_userApplication
Control: Fully controlled by caller.
Constraints: N/A.
Impact: The source sending contract address.
Branches and code coverage (including function calls)
Intended branches
Emit
OracleNotified
if_proofType
and_dstChainId
are valid.
Negative behavior
Revert if
_proofType
is not supported for_dstChainId
.Revert if user application ULN is not supported.