fromDelegation static method

DelegationIdentity fromDelegation(
  1. SignIdentity key,
  2. DelegationChain delegation
)

Create a delegation without having access to delegate key.

Implementation

static DelegationIdentity fromDelegation(
  SignIdentity key,
  DelegationChain delegation,
) {
  return DelegationIdentity(key, delegation);
}