Function validateCancel

  • Check whether the sender can cancel the lock.

    Returns

    true if the sender can cancel the lock.

    Throws

    If the sender does not have the cancel capability for a simpleV0 lock controller.

    For unknown controller variants, the capability check is skipped.

    Parameters

    • lock: Lock

      The lock to validate against.

    • sender: AccountAddress

      The sender account to validate.

    Returns true

Generated using TypeDoc