Check whether the sender can fund the lock.
true if the sender can fund the lock.
true
If the lock has expired.
If the sender does not have the fund capability for a simpleV0 lock controller.
fund
simpleV0
If the token is not configured on a simpleV0 lock controller.
If the sender does not have enough available balance of the token.
For unknown controller variants, the capability and configured-token checks are skipped.
The lock to validate against.
The sender account to validate.
The fund operation details, used to validate the sender's available balance.
Generated using TypeDoc
Check whether the sender can fund the lock.
Returns
trueif the sender can fund the lock.Throws
If the lock has expired.
Throws
If the sender does not have the
fundcapability for asimpleV0lock controller.Throws
If the token is not configured on a
simpleV0lock controller.Throws
If the sender does not have enough available balance of the token.
For unknown controller variants, the capability and configured-token checks are skipped.