@unique.vc/udm.js
Version:
UDM - Unique Delegation Manager is a simple yet efficient solution allowing to bridge self-custody and user experience, have best from both worlds and potentially extend the reach of the industry.
16 lines (13 loc) • 367 B
text/typescript
import { PublicKey } from '@solana/web3.js';
export interface IDelegation {
// The creator of the delegation
master: PublicKey;
// The wallet who delegates
representative: PublicKey;
// Confirmation flag
authorised: boolean;
}
export interface ITokenAccountInfo {
numberOfRepresentativeTokenAccounts: number;
numberOfMasterTokenAccounts?: number;
}