Function: queueRequest(string memory _description)
This function registers a request and starts the bonding period. The APPROVAL_WINDOW (bonding period duration), bondToken, and bondAmount are set by the owner in advance.
Inputs
_descriptionValidation: None. This was fixed in before our audit period began but after the scope was set.
Impact: Stored in the request struct.
msg.senderValidation: None.
Impact: Stored as the
bonderin the request struct.
Branches and code coverage
Intended branches
Function call analysis
queueRequest -> safeTransferFromExternal/internal? External.
Argument control? Only the
fromaddress.Impact: Transfers the bond amount from the bonder to the contract.