madeonsol-x402 4.1.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +47 -6
- package/dist/early-codec.d.ts.map +1 -1
- package/dist/early-codec.js +4 -3
- package/dist/early-codec.js.map +1 -1
- package/dist/early-stream.d.ts +3 -3
- package/dist/early-stream.d.ts.map +1 -1
- package/dist/index.d.ts +33 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -1
- package/dist/terminal-policy.d.ts +56 -0
- package/dist/terminal-policy.d.ts.map +1 -0
- package/dist/terminal-policy.js +102 -0
- package/dist/terminal-policy.js.map +1 -0
- package/dist/terminal-watch.d.ts +135 -0
- package/dist/terminal-watch.d.ts.map +1 -0
- package/dist/terminal-watch.js +413 -0
- package/dist/terminal-watch.js.map +1 -0
- package/dist/terminal.d.ts +46 -0
- package/dist/terminal.d.ts.map +1 -0
- package/dist/terminal.js +52 -0
- package/dist/terminal.js.map +1 -0
- package/dist/types.d.ts +327 -4
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -1510,6 +1510,12 @@ export interface CandlesParams {
|
|
|
1510
1510
|
from?: string;
|
|
1511
1511
|
/** ISO 8601 end of range (inclusive). */
|
|
1512
1512
|
to?: string;
|
|
1513
|
+
/**
|
|
1514
|
+
* Keyed API only: "allow" opts in to partial delivery. When the server read budget runs out,
|
|
1515
|
+
* the answer is then 200 with truncated=true and covered_from (continue with to=covered_from)
|
|
1516
|
+
* instead of 503 read_budget_exhausted.
|
|
1517
|
+
*/
|
|
1518
|
+
partial?: "allow";
|
|
1513
1519
|
}
|
|
1514
1520
|
/**
|
|
1515
1521
|
* One OHLC bucket. The `t`…`market_cap_usd` fields are present on all tiers
|
|
@@ -3102,6 +3108,237 @@ export type EarlyAmountFilter = {
|
|
|
3102
3108
|
min_raw?: string;
|
|
3103
3109
|
max_raw: string;
|
|
3104
3110
|
});
|
|
3111
|
+
/** Fields every ShredPrism observation carries inside `frame.data`. */
|
|
3112
|
+
export interface EarlyObservationBase {
|
|
3113
|
+
schema_version: 1;
|
|
3114
|
+
chain: "solana";
|
|
3115
|
+
channel: EarlyChannel;
|
|
3116
|
+
signature: string;
|
|
3117
|
+
event_id: string;
|
|
3118
|
+
observed_slot: string;
|
|
3119
|
+
first_observed_at: string;
|
|
3120
|
+
source: "shredprism";
|
|
3121
|
+
source_region: string;
|
|
3122
|
+
observation_stage: "observed";
|
|
3123
|
+
execution_status: "unknown";
|
|
3124
|
+
decoding_basis: "outer_instruction";
|
|
3125
|
+
decoder_version: "deploys-1" | "channels-1";
|
|
3126
|
+
transaction_version: "legacy" | 0 | 1;
|
|
3127
|
+
transaction_config: EarlyTransactionConfig | null;
|
|
3128
|
+
lifetime_token: string;
|
|
3129
|
+
outer_instruction_index: number;
|
|
3130
|
+
program_id: string;
|
|
3131
|
+
fee_payer: string;
|
|
3132
|
+
action: string;
|
|
3133
|
+
actor: string;
|
|
3134
|
+
attribution_basis: string;
|
|
3135
|
+
/** Roster snapshot for `actor`: present on every non-deploy event, absent on `early:deploys`. A database snapshot, not an on-chain fact. */
|
|
3136
|
+
wallet_label?: EarlyWalletLabel;
|
|
3137
|
+
}
|
|
3138
|
+
/** `wallet_label` on non-deploy ShredPrism events. Only `early:trades` accepts the `wallet_labels` filter. */
|
|
3139
|
+
export interface EarlyWalletLabel {
|
|
3140
|
+
wallet: string;
|
|
3141
|
+
labels: ("kol" | "dev" | "alpha")[];
|
|
3142
|
+
available_labels: ("kol" | "dev" | "alpha")[];
|
|
3143
|
+
observed_at_ms: number | null;
|
|
3144
|
+
basis: "database_roster_snapshot";
|
|
3145
|
+
complete: boolean;
|
|
3146
|
+
}
|
|
3147
|
+
/** Supported `early:deploys` create observation. */
|
|
3148
|
+
export interface EarlyDeployObservationData extends EarlyObservationBase {
|
|
3149
|
+
channel: "early:deploys";
|
|
3150
|
+
decoder_version: "deploys-1";
|
|
3151
|
+
action: "create";
|
|
3152
|
+
instruction: "create" | "create_v2" | "initialize" | "initialize_v2" | "initialize_with_token_2022";
|
|
3153
|
+
mint: string;
|
|
3154
|
+
launchpad: "pumpfun" | "launchlab";
|
|
3155
|
+
attribution_basis: "instruction_user";
|
|
3156
|
+
name: string | null;
|
|
3157
|
+
symbol: string | null;
|
|
3158
|
+
}
|
|
3159
|
+
/** Supported Pump.fun/PumpSwap `early:trades` instruction intent. */
|
|
3160
|
+
export interface EarlyTradeObservationData extends EarlyObservationBase {
|
|
3161
|
+
channel: "early:trades";
|
|
3162
|
+
decoder_version: "channels-1";
|
|
3163
|
+
protocol: "pumpfun" | "pumpswap";
|
|
3164
|
+
instruction: "buy" | "sell" | "buy_exact_sol_in" | "buy_exact_quote_in";
|
|
3165
|
+
action: "swap_intent";
|
|
3166
|
+
attribution_basis: "instruction_user";
|
|
3167
|
+
mint: string;
|
|
3168
|
+
quote_mint: string;
|
|
3169
|
+
pool: string;
|
|
3170
|
+
direction: "buy" | "sell";
|
|
3171
|
+
swap_mode: "exact_in" | "exact_out";
|
|
3172
|
+
input_mint: string;
|
|
3173
|
+
output_mint: string;
|
|
3174
|
+
requested_input_raw: string | null;
|
|
3175
|
+
max_input_raw: string | null;
|
|
3176
|
+
min_output_raw: string | null;
|
|
3177
|
+
target_output_raw: string | null;
|
|
3178
|
+
}
|
|
3179
|
+
export interface EarlyLiquidityCreatePoolObservationData extends EarlyObservationBase {
|
|
3180
|
+
channel: "early:liquidity";
|
|
3181
|
+
decoder_version: "channels-1";
|
|
3182
|
+
protocol: "pumpswap";
|
|
3183
|
+
instruction: "create_pool";
|
|
3184
|
+
action: "create_pool";
|
|
3185
|
+
attribution_basis: "instruction_creator";
|
|
3186
|
+
pool: string;
|
|
3187
|
+
mint: string;
|
|
3188
|
+
quote_mint: string;
|
|
3189
|
+
lp_mint: string;
|
|
3190
|
+
pool_index: number;
|
|
3191
|
+
requested_base_input_raw: string;
|
|
3192
|
+
requested_quote_input_raw: string;
|
|
3193
|
+
coin_creator: string;
|
|
3194
|
+
}
|
|
3195
|
+
export interface EarlyLiquidityAddObservationData extends EarlyObservationBase {
|
|
3196
|
+
channel: "early:liquidity";
|
|
3197
|
+
decoder_version: "channels-1";
|
|
3198
|
+
protocol: "pumpswap";
|
|
3199
|
+
instruction: "deposit";
|
|
3200
|
+
action: "add_liquidity";
|
|
3201
|
+
attribution_basis: "instruction_user";
|
|
3202
|
+
pool: string;
|
|
3203
|
+
mint: string;
|
|
3204
|
+
quote_mint: string;
|
|
3205
|
+
lp_mint: string;
|
|
3206
|
+
target_lp_output_raw: string;
|
|
3207
|
+
max_base_input_raw: string;
|
|
3208
|
+
max_quote_input_raw: string;
|
|
3209
|
+
}
|
|
3210
|
+
export interface EarlyLiquidityRemoveObservationData extends EarlyObservationBase {
|
|
3211
|
+
channel: "early:liquidity";
|
|
3212
|
+
decoder_version: "channels-1";
|
|
3213
|
+
protocol: "pumpswap";
|
|
3214
|
+
instruction: "withdraw";
|
|
3215
|
+
action: "remove_liquidity";
|
|
3216
|
+
attribution_basis: "instruction_user";
|
|
3217
|
+
pool: string;
|
|
3218
|
+
mint: string;
|
|
3219
|
+
quote_mint: string;
|
|
3220
|
+
lp_mint: string;
|
|
3221
|
+
requested_lp_input_raw: string;
|
|
3222
|
+
min_base_output_raw: string;
|
|
3223
|
+
min_quote_output_raw: string;
|
|
3224
|
+
}
|
|
3225
|
+
export type EarlyLiquidityObservationData = EarlyLiquidityCreatePoolObservationData | EarlyLiquidityAddObservationData | EarlyLiquidityRemoveObservationData;
|
|
3226
|
+
/** Pump.fun migration instruction observed before execution proof. */
|
|
3227
|
+
export interface EarlyMigrationObservationData extends EarlyObservationBase {
|
|
3228
|
+
channel: "early:migrations";
|
|
3229
|
+
decoder_version: "channels-1";
|
|
3230
|
+
protocol: "pumpfun";
|
|
3231
|
+
instruction: "migrate" | "migrate_v2";
|
|
3232
|
+
action: "migrate";
|
|
3233
|
+
attribution_basis: "instruction_user";
|
|
3234
|
+
mint: string;
|
|
3235
|
+
quote_mint: string;
|
|
3236
|
+
source_curve: string;
|
|
3237
|
+
destination_pool: string;
|
|
3238
|
+
launchpad: "pumpfun";
|
|
3239
|
+
destination_venue: "pumpswap";
|
|
3240
|
+
}
|
|
3241
|
+
/** Protocol-specific schedule encoded by an `early:locks` create instruction. */
|
|
3242
|
+
export type EarlyLockSchedule = {
|
|
3243
|
+
start_time: string;
|
|
3244
|
+
period_seconds: string;
|
|
3245
|
+
amount_per_period_raw: string;
|
|
3246
|
+
cliff_time: string;
|
|
3247
|
+
cliff_amount_raw: string;
|
|
3248
|
+
number_of_periods?: string;
|
|
3249
|
+
} | {
|
|
3250
|
+
releases: {
|
|
3251
|
+
release_time: string;
|
|
3252
|
+
amount_raw: string;
|
|
3253
|
+
}[];
|
|
3254
|
+
};
|
|
3255
|
+
export interface EarlyLockObservationData extends EarlyObservationBase {
|
|
3256
|
+
channel: "early:locks";
|
|
3257
|
+
decoder_version: "channels-1";
|
|
3258
|
+
protocol: "streamflow" | "jupiter_lock" | "bonfida";
|
|
3259
|
+
instruction: "create" | "create_vesting_escrow" | "create_vesting_escrow_v2";
|
|
3260
|
+
action: "create_lock";
|
|
3261
|
+
actor: string;
|
|
3262
|
+
sender: string;
|
|
3263
|
+
recipient: string | null;
|
|
3264
|
+
lock_account: string;
|
|
3265
|
+
mint: string | null;
|
|
3266
|
+
lock_kind: "stream_or_vesting" | "token_vesting";
|
|
3267
|
+
attribution_basis: "instruction_sender" | "instruction_source_owner";
|
|
3268
|
+
requested_amount_raw: string | null;
|
|
3269
|
+
schedule: EarlyLockSchedule;
|
|
3270
|
+
sender_token_account?: string;
|
|
3271
|
+
destination_token_account?: string;
|
|
3272
|
+
cancelable_by_sender?: boolean;
|
|
3273
|
+
cancelable_by_recipient?: boolean;
|
|
3274
|
+
update_recipient_mode?: number;
|
|
3275
|
+
cancel_mode?: number;
|
|
3276
|
+
missing_fields?: string[];
|
|
3277
|
+
}
|
|
3278
|
+
export interface EarlyTokenAmountChangeObservationData extends EarlyObservationBase {
|
|
3279
|
+
channel: "early:token_changes";
|
|
3280
|
+
decoder_version: "channels-1";
|
|
3281
|
+
protocol: "spl_token" | "token_2022";
|
|
3282
|
+
instruction: "mint_to" | "mint_to_checked" | "burn" | "burn_checked";
|
|
3283
|
+
action: "mint" | "burn";
|
|
3284
|
+
attribution_basis: "instruction_authority";
|
|
3285
|
+
authority: string;
|
|
3286
|
+
authority_is_signer: boolean;
|
|
3287
|
+
mint: string;
|
|
3288
|
+
token_account: string;
|
|
3289
|
+
requested_amount_raw: string;
|
|
3290
|
+
decimals: number | null;
|
|
3291
|
+
}
|
|
3292
|
+
export interface EarlyTokenFreezeObservationData extends EarlyObservationBase {
|
|
3293
|
+
channel: "early:token_changes";
|
|
3294
|
+
decoder_version: "channels-1";
|
|
3295
|
+
protocol: "spl_token" | "token_2022";
|
|
3296
|
+
instruction: "freeze" | "thaw";
|
|
3297
|
+
action: "freeze" | "thaw";
|
|
3298
|
+
attribution_basis: "instruction_authority";
|
|
3299
|
+
authority: string;
|
|
3300
|
+
authority_is_signer: boolean;
|
|
3301
|
+
mint: string;
|
|
3302
|
+
token_account: string;
|
|
3303
|
+
target_scope: "token_account";
|
|
3304
|
+
}
|
|
3305
|
+
export interface EarlyTokenAuthorityObservationData extends EarlyObservationBase {
|
|
3306
|
+
channel: "early:token_changes";
|
|
3307
|
+
decoder_version: "channels-1";
|
|
3308
|
+
protocol: "spl_token" | "token_2022";
|
|
3309
|
+
instruction: "set_authority";
|
|
3310
|
+
action: "set_authority";
|
|
3311
|
+
attribution_basis: "instruction_authority";
|
|
3312
|
+
authority: string;
|
|
3313
|
+
authority_is_signer: boolean;
|
|
3314
|
+
authority_type: "mint_tokens" | "freeze_account" | "account_owner" | "close_account";
|
|
3315
|
+
target_scope: "mint" | "token_account";
|
|
3316
|
+
target_account: string;
|
|
3317
|
+
mint: string | null;
|
|
3318
|
+
token_account: string | null;
|
|
3319
|
+
new_authority: string | null;
|
|
3320
|
+
authority_revocation_requested: boolean;
|
|
3321
|
+
missing_fields: string[];
|
|
3322
|
+
}
|
|
3323
|
+
export type EarlyTokenChangeObservationData = EarlyTokenAmountChangeObservationData | EarlyTokenFreezeObservationData | EarlyTokenAuthorityObservationData;
|
|
3324
|
+
export type EarlyObservationData = EarlyDeployObservationData | EarlyLockObservationData | EarlyTradeObservationData | EarlyLiquidityObservationData | EarlyMigrationObservationData | EarlyTokenChangeObservationData;
|
|
3325
|
+
/** Outcome repeats the original observation fields and adds execution evidence. */
|
|
3326
|
+
export type EarlyOutcomeData = Omit<EarlyObservationData, "observation_stage" | "execution_status" | "event_id"> & {
|
|
3327
|
+
event_id: string;
|
|
3328
|
+
observed_event_id: string;
|
|
3329
|
+
observation_stage: "outcome";
|
|
3330
|
+
execution_status: "succeeded" | "failed" | "unresolved";
|
|
3331
|
+
/** Evidence source: "kaldera_rpc" (status lookup: deploys and the fallback) or "kaldera_status_stream" (pushed
|
|
3332
|
+
* finalized status, the five non-deploy channels); null without evidence. Treat unknown values as a valid source. */
|
|
3333
|
+
outcome_source: "kaldera_rpc" | "kaldera_status_stream" | (string & {}) | null;
|
|
3334
|
+
outcome_at: string;
|
|
3335
|
+
commitment: "processed" | "confirmed" | "finalized" | null;
|
|
3336
|
+
slot?: string;
|
|
3337
|
+
error?: unknown;
|
|
3338
|
+
resolution_status?: "unresolved";
|
|
3339
|
+
reason?: "finalization_timeout" | "outcome_timeout";
|
|
3340
|
+
last_observed_outcome?: Record<string, unknown> | null;
|
|
3341
|
+
};
|
|
3105
3342
|
export interface EarlyStreamFilters {
|
|
3106
3343
|
mints?: string[];
|
|
3107
3344
|
/** Instruction actor, not any account/fee payer. Do not combine with actors. */
|
|
@@ -3303,6 +3540,10 @@ export interface TokenDepthQuote {
|
|
|
3303
3540
|
* (partial fill reported) | "exceeds_loaded_bins" | "price_out_of_range" (numbers null).
|
|
3304
3541
|
*/
|
|
3305
3542
|
status?: "filled" | "pool_liquidity_exhausted" | "exceeds_loaded_bins" | "exceeds_loaded_ticks" | "price_out_of_range";
|
|
3543
|
+
/** Concentrated models only: true = this size fills completely inside the loaded window; false = no usable quote for this size. */
|
|
3544
|
+
available?: boolean;
|
|
3545
|
+
/** Meteora DLMM, unavailable sizes only: SOL input (incl. fees) the loaded bins can absorb. null when available. */
|
|
3546
|
+
fillable_up_to_sol?: number | null;
|
|
3306
3547
|
/** Tokens received for that buy (UI units, fee-adjusted). null only on a concentrated pool whose status is not quotable. */
|
|
3307
3548
|
tokens_out: number | null;
|
|
3308
3549
|
/** Average execution price in SOL per token. */
|
|
@@ -3312,7 +3553,7 @@ export interface TokenDepthQuote {
|
|
|
3312
3553
|
}
|
|
3313
3554
|
/** SOL required to move the pool's spot price by 1% / 5% / 10%. */
|
|
3314
3555
|
export interface TokenDepthToMovePrice {
|
|
3315
|
-
/** null on a concentrated pool when the loaded window does not reach that price. */
|
|
3556
|
+
/** null on a concentrated pool when the loaded window does not reach that price, or when no liquidity lies between the current and target price (never 0). */
|
|
3316
3557
|
"1pct": number | null;
|
|
3317
3558
|
"5pct": number | null;
|
|
3318
3559
|
"10pct": number | null;
|
|
@@ -3370,6 +3611,8 @@ export interface TokenDepthPool extends TokenDepthPoolBase {
|
|
|
3370
3611
|
* "reserves_unavailable". */
|
|
3371
3612
|
export interface TokenDepthUnsupportedPool extends TokenDepthPoolBase {
|
|
3372
3613
|
reason: string;
|
|
3614
|
+
/** With reason "dlmm_insufficient_liquidity_in_loaded_bins": SOL input (incl. fees) the loaded bins can absorb (0 = no buy-side liquidity). */
|
|
3615
|
+
fillable_up_to_sol?: number;
|
|
3373
3616
|
}
|
|
3374
3617
|
/**
|
|
3375
3618
|
* v1.22 — Per-pool price-impact / slippage for a token: "how much SOL to move
|
|
@@ -3698,6 +3941,74 @@ export interface TokenLocksSummary {
|
|
|
3698
3941
|
/** Active contracts the sender can still cancel (pull the funds back). */
|
|
3699
3942
|
active_cancelable_by_sender: number;
|
|
3700
3943
|
}
|
|
3944
|
+
/** Panels a terminal can ask for. There is no default set: name every module you render. */
|
|
3945
|
+
export type TokenIntelligenceModuleId = "snapshot" | "risk" | "buyer_quality" | "holders" | "holder_count" | "flow" | "kol" | "locks" | "top_traders";
|
|
3946
|
+
/** Per-module outcome; a non-ready module never carries `data` (a failure is never a zero). */
|
|
3947
|
+
export type TokenIntelligenceModuleStatus = "ready" | "partial_history" | "unverified" | "unavailable" | "timeout";
|
|
3948
|
+
/** Query params for GET /tokens/{mint}/intelligence (and the RHC twin). */
|
|
3949
|
+
export interface TokenIntelligenceParams {
|
|
3950
|
+
/**
|
|
3951
|
+
* Required. Modules as an array or a comma-separated string. Budget: at most
|
|
3952
|
+
* 5 modules and total cost 8 (snapshot 2, risk 2, buyer_quality 2, holders 3,
|
|
3953
|
+
* holder_count 1, flow 3, kol 1, locks 1, top_traders 2); over budget is HTTP 400
|
|
3954
|
+
* `include_budget_exceeded` before any read. `holders` is opt-in only.
|
|
3955
|
+
* `holder_count` (Solana) is the last complete holder census, stored: `ready`
|
|
3956
|
+
* when fresh, `unverified` (`stale_measurement`) with the count and its
|
|
3957
|
+
* `as_of` when older, `unavailable` (`not_measured`) when unknown (never 0).
|
|
3958
|
+
*/
|
|
3959
|
+
include: readonly TokenIntelligenceModuleId[] | string;
|
|
3960
|
+
}
|
|
3961
|
+
export interface TokenIntelligenceHistoricalCompleteness {
|
|
3962
|
+
threshold: "verified_interval";
|
|
3963
|
+
observed: "verified" | "not_verified" | "unknown";
|
|
3964
|
+
threshold_met: boolean;
|
|
3965
|
+
}
|
|
3966
|
+
export interface TokenIntelligenceModule {
|
|
3967
|
+
status: TokenIntelligenceModuleStatus;
|
|
3968
|
+
/** Machine reason for any non-ready status (tier_required, not_found, module_timeout, request_deadline, history_not_verified, not_captured, source_error, ...). */
|
|
3969
|
+
reason: string | null;
|
|
3970
|
+
/** The source's own timestamp; null when the source gives none. Never the request time. */
|
|
3971
|
+
as_of: string | null;
|
|
3972
|
+
provenance: {
|
|
3973
|
+
source: string;
|
|
3974
|
+
chain: string;
|
|
3975
|
+
upstream_status: number | null;
|
|
3976
|
+
cache: "hit" | "miss" | "none";
|
|
3977
|
+
};
|
|
3978
|
+
coverage: {
|
|
3979
|
+
kind: "point_in_time" | "trade_derived";
|
|
3980
|
+
historical_completeness: TokenIntelligenceHistoricalCompleteness | null;
|
|
3981
|
+
};
|
|
3982
|
+
limitations: string[];
|
|
3983
|
+
/** The source endpoint's own body. Absent when unavailable / timed out. */
|
|
3984
|
+
data?: Record<string, unknown>;
|
|
3985
|
+
}
|
|
3986
|
+
export interface TokenIntelligenceBudget {
|
|
3987
|
+
cost_used: number;
|
|
3988
|
+
cost_limit: number;
|
|
3989
|
+
max_modules: number;
|
|
3990
|
+
source_reads: number;
|
|
3991
|
+
module_timeout_ms: number;
|
|
3992
|
+
request_deadline_ms: number;
|
|
3993
|
+
concurrency: number;
|
|
3994
|
+
}
|
|
3995
|
+
/** GET /tokens/{mint}/intelligence — Solana, base58, SOL-native. */
|
|
3996
|
+
export interface TokenIntelligenceResponse {
|
|
3997
|
+
contract_version: 1;
|
|
3998
|
+
chain: "solana";
|
|
3999
|
+
chain_id: null;
|
|
4000
|
+
/** Base58 mint as requested. */
|
|
4001
|
+
address: string;
|
|
4002
|
+
address_format: "base58";
|
|
4003
|
+
native_asset: "SOL";
|
|
4004
|
+
requested: TokenIntelligenceModuleId[];
|
|
4005
|
+
/** Response assembly time, NOT an observation time (each module has its own `as_of`). */
|
|
4006
|
+
generated_at: string;
|
|
4007
|
+
budget: TokenIntelligenceBudget;
|
|
4008
|
+
summary: Record<TokenIntelligenceModuleStatus, number>;
|
|
4009
|
+
/** Only the requested modules are present. */
|
|
4010
|
+
modules: Partial<Record<TokenIntelligenceModuleId, TokenIntelligenceModule>>;
|
|
4011
|
+
}
|
|
3701
4012
|
/** Query params for GET /tokens/{mint}/locks. */
|
|
3702
4013
|
export interface TokenLocksParams {
|
|
3703
4014
|
/** Filter the list (the summary always covers all rows). */
|
|
@@ -4806,7 +5117,7 @@ export interface DeployerRewardsResponse {
|
|
|
4806
5117
|
note: string;
|
|
4807
5118
|
};
|
|
4808
5119
|
}
|
|
4809
|
-
export type DeployerActivityEventType = "launch" | "dev_buy" | "dev_sell" | "creator_transferred" | "fee_claim" | "funding_in" | "capital_out";
|
|
5120
|
+
export type DeployerActivityEventType = "launch" | "dev_buy" | "dev_sell" | "dev_token_transfer_out" | "dev_token_transfer_in" | "creator_transferred" | "fee_claim" | "funding_in" | "capital_out";
|
|
4810
5121
|
/**
|
|
4811
5122
|
* One event of a deployer's activity timeline. Fields present depend on
|
|
4812
5123
|
* `type`; addresses are raw facts of the concrete event, never identity claims.
|
|
@@ -4832,6 +5143,18 @@ export interface DeployerActivityEvent {
|
|
|
4832
5143
|
sol?: number | null;
|
|
4833
5144
|
tokens?: number | null;
|
|
4834
5145
|
price_usd?: number | null;
|
|
5146
|
+
/** Realtime dev-event actor. PRO sees only direct developer events; ULTRA+ may also see proven linked-wallet events when identity stitching is released. */
|
|
5147
|
+
actor_wallet?: string | null;
|
|
5148
|
+
actor_role?: "deployer" | "linked_wallet" | null;
|
|
5149
|
+
/** Exact base-unit amount on persisted realtime dev events. */
|
|
5150
|
+
token_amount_raw?: string | null;
|
|
5151
|
+
supply_pct?: number | null;
|
|
5152
|
+
venue?: string | null;
|
|
5153
|
+
/** Raw transfer counterparty; never an identity claim. */
|
|
5154
|
+
counterparty?: string | null;
|
|
5155
|
+
counterparty_class?: string | null;
|
|
5156
|
+
/** Timeline source/projection marker for realtime dev events. */
|
|
5157
|
+
feed?: string | null;
|
|
4835
5158
|
first_at?: string | null;
|
|
4836
5159
|
last_at?: string | null;
|
|
4837
5160
|
aggregate?: boolean;
|
|
@@ -4852,7 +5175,7 @@ export interface DeployerActivityEvent {
|
|
|
4852
5175
|
first_tx?: string | null;
|
|
4853
5176
|
/** Developer token transfers: number of counterparties of this (tx, mint, direction, actor) aggregate; null on rows stored before 2026-10-06. */
|
|
4854
5177
|
counterparty_count?: number | null;
|
|
4855
|
-
/** Developer token transfers: true when
|
|
5178
|
+
/** Developer token transfers: true when recovered into history after a delivery gap (never delivered live). `time_basis` says the clock: chain (re-derived from a block) or ingest (spool replay keeps the receive time). */
|
|
4856
5179
|
recovered?: boolean;
|
|
4857
5180
|
/** With `recovered: true`: when the recovery stored the event. */
|
|
4858
5181
|
recovered_at?: string | null;
|
|
@@ -5011,7 +5334,7 @@ export interface DeployerActivityParams {
|
|
|
5011
5334
|
cursor?: string;
|
|
5012
5335
|
/** Requested window start (ISO 8601); clamped to the plan window. */
|
|
5013
5336
|
since?: string;
|
|
5014
|
-
/** Comma
|
|
5337
|
+
/** Comma-separated event types. */
|
|
5015
5338
|
types?: string;
|
|
5016
5339
|
}
|
|
5017
5340
|
/** Reputation grade — the deployers.tier CHECK set (migration 031). `unranked` = too few deploys to grade, not "bad". (Earlier types listed "neutral" / "spammer", which are Robinhood Chain tiers and never appear here.) */
|