@allo-team/allo-v2-sdk
Version:
34 lines (28 loc) • 689 B
text/typescript
import { Metadata } from "../../Common/types";
export type ApplicationStatus = {
index: number;
statusRow: number; // todo: Big number?
};
export type Recipient = {
useRegistryAnchor: boolean;
recipientAddress: `0x${string}`;
metadata: Metadata;
};
export type RegisterData = {
registryAnchor?: `0x${string}`;
recipientAddress: `0x${string}`;
metadata: Metadata;
};
export type Distribution = {
index: bigint;
recipientId: `0x${string}`;
amount: bigint;
};
export type InitializeData = {
useRegistryAnchor: boolean;
metadataRequired: boolean;
registrationStartTime: bigint;
registrationEndTime: bigint;
poolStartTime: bigint;
poolEndTime: bigint;
};