Check whether the sender can return funds controlled by the lock.
true if the sender can return funds controlled by the lock.
true
If the lock has expired.
If the sender does not have the return capability for a simpleV0 lock controller.
return
simpleV0
If the source account does not have enough of the token locked in the lock.
For unknown controller variants, the capability check is skipped.
The lock to validate against.
The sender account to validate.
Generated using TypeDoc
Check whether the sender can return funds controlled by the lock.
Returns
trueif the sender can return funds controlled by the lock.Throws
If the lock has expired.
Throws
If the sender does not have the
returncapability for asimpleV0lock controller.Throws
If the source account does not have enough of the token locked in the lock.
For unknown controller variants, the capability check is skipped.