DistributorResponse
Type Alias: DistributorResponse
type DistributorResponse = {
closeTxSignature: string | null;
conversions: number | null;
crankerStatus: "IDLE" | "RUNNING" | "STOPPED";
crankGuard: {
activation: | {
type: "OFFER_START";
}
| {
type: "OFFER_CONCLUSION";
}
| {
type: "CONVERSION_COUNT";
}
| {
amount: number;
oracle: | "TORQUE"
| "SOLANA_TX"
| "CUSTOM_EVENT_PROVIDER"
| "PYTH_MKT_CAP"
| "PYTH_MKT_VOLUME"
| "MESSAGE_SIGNATURE"
| "SOCIAL_MEDIA";
type: "EVENT";
}
| {
date: Date;
type: "DATE";
} & {
requiredConversionCount: number;
};
availability: | {
maxConversionsPerRecipient: ... | ...;
maxTotalConversions: ... | ...;
recipientConversionPeriod: ... | ...;
}
| null;
distributionFunctionInput: | {
type: "CONVERSION_INDEX";
}
| {
max: number | null;
min: number | null;
type: "CONVERSION_DATA";
}
| {
aggregationType: "BUY_VOLUME" | "BUY_AVERAGE";
type: "AGGREGATION";
};
recipient: "USER" | "PUBLISHER" | "BOTH" | "NONE";
};
currentBlockHash: string | null;
deployTxSignature: string | null;
distributionFunction: {
createdAt: Date;
curveDepth: |
| number
| string
| {
d: ...[];
e: number;
s: number;
}
| null;
curveWidth: |
| number
| string
| {
d: ...[];
e: number;
s: number;
}
| null;
id: string;
slope: |
| number
| string
| {
d: ...[];
e: number;
s: number;
}
| null;
tiers: any | null;
trend: "NEGATIVE" | "POSITIVE" | null;
type: "CONSTANT" | "LINEAR" | "STEP" | "EXPONENTIAL";
updatedAt: Date;
yIntercept: |
| number
| string
| {
d: ...[];
e: number;
s: number;
}
| null;
};
emissionType: "SOL" | "TOKENS" | "NFT" | "POINTS";
index: number;
pubkey: string;
serializedDeployTx: string | null;
status: "DRAFT" | "ACTIVE" | "CLOSED";
tokenAddress: string | null;
tokenDecimals: number;
totalFundAmount: | number
| string
| {
d: number[];
e: number;
s: number;
};
type: "CONVERSION" | "ASYMMETRIC";
} & {
createdAt: Date;
id: string;
updatedAt: Date;
};Type declaration
Name
Type
Type declaration
Name
Type
Last updated