OffchainRewardResponse
Type Alias: OffchainRewardResponse
type OffchainRewardResponse = {
createdAt: Date;
description: string | null;
distributors: | {
closeTxSignature: ... | ...;
conversions: ... | ...;
crankerStatus: "IDLE" | "RUNNING" | "STOPPED";
crankGuard: {
activation: ... & ...;
availability: ... | ...;
distributionFunctionInput: ... | ... | ...;
recipient: ... | ... | ... | ...;
};
currentBlockHash: ... | ...;
deployTxSignature: ... | ...;
distributionFunction: {
createdAt: Date;
curveDepth: ... | ...;
curveWidth: ... | ...;
id: string;
slope: ... | ...;
tiers: ... | ...;
trend: ... | ...;
type: ... | ... | ... | ...;
updatedAt: Date;
yIntercept: ... | ...;
};
emissionType: "SOL" | "TOKENS" | "NFT" | "POINTS";
index: number;
pubkey: string;
serializedDeployTx: ... | ...;
status: "DRAFT" | "ACTIVE" | "CLOSED";
tokenAddress: ... | ...;
tokenDecimals: number;
totalFundAmount: | number
| string
| {
d: ...[];
e: number;
s: number;
};
type: "CONVERSION" | "ASYMMETRIC";
} & {
createdAt: Date;
id: string;
updatedAt: Date;
}[]
| null;
id: string;
image: string;
name: string;
project: | {
createdAt: Date;
description: string | null;
discord: string | null;
id: string;
image: string | null;
name: string;
offchainAllocationEndpoint: string | null;
telegram: string | null;
twitter: string | null;
updatedAt: Date;
website: string | null;
}
| null;
symbol: string | null;
type: "POINT" | "BADGE";
updatedAt: Date;
userBadges: | {
badge: {
createdAt: Date;
description: string | null;
id: string;
image: string;
name: string;
symbol: string | null;
type: "POINT" | "BADGE";
updatedAt: Date;
};
createdAt: Date;
id: string;
updatedAt: Date;
}[]
| null;
};Properties
createdAt?
description?
distributors?
id
image
name
project?
symbol?
type
updatedAt
userBadges?
Last updated