Type alias LoanDelegation

LoanDelegation: Address | {
    to: Address;
    rights: readonly Hash[];
}

A delegation the loan contract holds for a token: its delegate and every rights value enabled for it, as the API's Delegation.delegateTo and Delegation.rights report them. A bare address stands for the delegate's full-rights (zeroHash) delegation.

Type declaration

  • to: Address
  • rights: readonly Hash[]