Skip to content
0.6.1 — latest

Defined in: packages/sage/src/scanning/actions/index.ts:119

Explicit choices for one Idle Fleet’s detection; setup and funding are separate.

declare const profile: Address, authority: Address;
const authorization = { profile, authority, keyIndex: 0 };
const options: PlanDetectSignalOptions = { authorization, patternId: 0, focus: 'any' };
  • DetectOptions

readonly authorization: PlanAuthorization;

Defined in: packages/sage/src/internal/planning/scan-detect.ts:53

DetectOptions.authorization

readonly focus: "any" | "industrial" | "technology" | "tactical" | "exotic";

Defined in: packages/sage/src/internal/planning/scan-detect.ts:52

DetectOptions.focus

readonly patternId: number;

Defined in: packages/sage/src/internal/planning/scan-detect.ts:51

DetectOptions.patternId

Defined in: packages/sage/src/scanning/actions/index.ts:31

Explicit address-only direct Profile authorization for signal setup. Certificates are unsupported.

declare const authorization: PlanAuthorization;
const options: PlanOpenScanSignalOptions = { authorization };

readonly authorization: PlanAuthorization;

Defined in: packages/sage/src/scanning/actions/index.ts:32


Defined in: packages/sage/src/scanning/actions/index.ts:168

Direct address-only authority for recovery, abandonment and receipt acknowledgement.

declare const authorization: PlanAuthorization;
const options: PlanScanCompletionOptions = { authorization };
  • ScanCompletionOptions

readonly authorization: PlanAuthorization;

Defined in: packages/sage/src/internal/planning/scan-completion.ts:48

ScanCompletionOptions.authorization

function planAbandonSignal(
ctx,
fleet,
options): Promise<Plan>;

Defined in: packages/sage/src/scanning/actions/index.ts:286

Abandon one unexpired Contact without attempting recovery. Acknowledgement remains a separate explicit action.

ParameterType
ctxSageContext
fleetAddress
optionsPlanScanCompletionOptions

Promise<Plan>

declare const ctx: SageContext, fleet: Address, options: PlanScanCompletionOptions;
const plan = await planAbandonSignal(ctx, fleet, options);
console.log(plan.describe());

function planAcknowledgeScanResult(
ctx,
fleet,
options): Promise<Plan>;

Defined in: packages/sage/src/scanning/actions/index.ts:271

Clear one terminal receipt to Empty while retaining the funded signal. Explicitly includes the Fleet for current abandoned-receipt cooldown handling.

ParameterType
ctxSageContext
fleetAddress
optionsPlanScanCompletionOptions

Promise<Plan>

declare const ctx: SageContext, fleet: Address, options: PlanScanCompletionOptions;
const plan = await planAcknowledgeScanResult(ctx, fleet, options);
console.log(plan.describe());

function planDetectSignal(
ctx,
fleet,
options): Promise<Plan>;

Defined in: packages/sage/src/scanning/actions/index.ts:131

Plans one signal detection for an existing Empty signal and directly owned Idle Fleet. Reads fresh prerequisites without signing. Restricted-key sufficiency, cooldown rejection and final gameplay outcomes remain chain-authoritative; use simulatePlan. No automatic opening, deposits, loading, undocking or resolution occurs.

ParameterType
ctxSageContext
fleetAddress
optionsPlanDetectSignalOptions

Promise<Plan>

declare const ctx: SageContext, fleet: Address, options: PlanDetectSignalOptions;
const plan = await planDetectSignal(ctx, fleet, options);
console.log(plan.describe());

function planExpireSignal(ctx, fleet): Promise<Plan>;

Defined in: packages/sage/src/scanning/actions/index.ts:301

Expire one Contact after its deadline. No gameplay authority is needed; acknowledgement remains separate.

ParameterType
ctxSageContext
fleetAddress

Promise<Plan>

declare const ctx: SageContext, fleet: Address;
const plan = await planExpireSignal(ctx, fleet);
console.log(plan.describe());

function planForfeitScanSignalEntropy(ctx, fleet): Promise<Plan>;

Defined in: packages/sage/src/scanning/actions/index.ts:315

Forfeit one PendingEntropy attempt after the supported reveal deadline. No gameplay authority is needed; acknowledgement remains separate.

ParameterType
ctxSageContext
fleetAddress

Promise<Plan>

declare const ctx: SageContext, fleet: Address;
const plan = await planForfeitScanSignalEntropy(ctx, fleet);
console.log(plan.describe());

function planOpenScanSignal(
ctx,
fleet,
options): Promise<Plan>;

Defined in: packages/sage/src/scanning/actions/index.ts:46

Plans one absent canonical signal for a directly owned Fleet, including Docked Fleets. Planning reads fresh state but never signs, submits, deposits funds or detects a signal. The Profile funds signal rent while retaining its own reserve; transaction fees are separate. Restricted-key least privilege is unqualified: instruction permission acceptance remains chain-authoritative, and legacy SCAN bit 38 is not established as sufficient. Simulate before signing.

ParameterType
ctxSageContext
fleetAddress
optionsPlanOpenScanSignalOptions

Promise<Plan>

declare const ctx: SageContext, fleet: Address, authorization: PlanAuthorization;
const plan = await planOpenScanSignal(ctx, fleet, { authorization });
console.log(plan.describe());

function planRecoverSignal(
ctx,
fleet,
options): Promise<Plan>;

Defined in: packages/sage/src/scanning/actions/index.ts:256

Recover one unexpired Contact with an Idle Fleet inside its stored radius. Cargo acceptance, clipping and XP remain chain-authoritative.

ParameterType
ctxSageContext
fleetAddress
optionsPlanScanCompletionOptions

Promise<Plan>

declare const ctx: SageContext, fleet: Address, options: PlanScanCompletionOptions;
const plan = await planRecoverSignal(ctx, fleet, options);
console.log(plan.describe());

function planResolveSignal(ctx, fleet): Promise<Plan>;

Defined in: packages/sage/src/scanning/actions/index.ts:242

Resolve one PendingEntropy signal using its committed policy and regional loot configuration. Requires current Character XP accounts; no gameplay authority is needed.

ParameterType
ctxSageContext
fleetAddress

Promise<Plan>

declare const ctx: SageContext, fleet: Address;
const plan = await planResolveSignal(ctx, fleet);
console.log(plan.describe());

Re-exports PlanAuthorization