@candledottv/agent-sdk 0.6.12 → 0.6.13
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/dist/client.d.ts +1 -1
- package/dist/index.js +72 -1
- package/dist/launch-definition.d.ts +63 -0
- package/dist/launch-definition.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -4490,7 +4490,7 @@ export declare function __setEvmReceiptWaitForTest(opts: {
|
|
|
4490
4490
|
pollMs?: number;
|
|
4491
4491
|
} | null): void;
|
|
4492
4492
|
/** This build's own version. Kept in lockstep with package.json by the release-bump CI guard. */
|
|
4493
|
-
export declare const SDK_VERSION = "0.6.
|
|
4493
|
+
export declare const SDK_VERSION = "0.6.13";
|
|
4494
4494
|
/** Test seam: the once-per-process latch would otherwise weld the suite's first case to the rest. */
|
|
4495
4495
|
export declare function __resetSdkUpdateNoticeForTest(): void;
|
|
4496
4496
|
//# sourceMappingURL=client.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -4000,6 +4000,77 @@ var LAUNCH_DEFINITION = {
|
|
|
4000
4000
|
}
|
|
4001
4001
|
}
|
|
4002
4002
|
},
|
|
4003
|
+
{
|
|
4004
|
+
key: "feeWallet",
|
|
4005
|
+
type: "string",
|
|
4006
|
+
help: "Solana only: the wallet this launch's curve and pool fees earn to, an on-curve wallet or a Squads v4 vault; defaults to the account wallet.",
|
|
4007
|
+
chains: [
|
|
4008
|
+
"solana"
|
|
4009
|
+
],
|
|
4010
|
+
surfaces: {
|
|
4011
|
+
cli: {
|
|
4012
|
+
flag: "--fee-wallet",
|
|
4013
|
+
value: "<address>"
|
|
4014
|
+
},
|
|
4015
|
+
mcp: {
|
|
4016
|
+
key: "feeWallet"
|
|
4017
|
+
},
|
|
4018
|
+
sdk: {
|
|
4019
|
+
key: "feeWallet"
|
|
4020
|
+
}
|
|
4021
|
+
}
|
|
4022
|
+
},
|
|
4023
|
+
{
|
|
4024
|
+
key: "feeWalletMultisig.address",
|
|
4025
|
+
type: "string",
|
|
4026
|
+
help: "The Squads v4 multisig behind an off-curve --fee-wallet vault; takes --fee-wallet-multisig-vault-index.",
|
|
4027
|
+
chains: [
|
|
4028
|
+
"solana"
|
|
4029
|
+
],
|
|
4030
|
+
requires: [
|
|
4031
|
+
"feeWallet"
|
|
4032
|
+
],
|
|
4033
|
+
surfaces: {
|
|
4034
|
+
cli: {
|
|
4035
|
+
flag: "--fee-wallet-multisig",
|
|
4036
|
+
value: "<address>"
|
|
4037
|
+
},
|
|
4038
|
+
mcp: {
|
|
4039
|
+
key: "feeWalletMultisig.address"
|
|
4040
|
+
},
|
|
4041
|
+
sdk: {
|
|
4042
|
+
key: "feeWalletMultisig.address"
|
|
4043
|
+
}
|
|
4044
|
+
}
|
|
4045
|
+
},
|
|
4046
|
+
{
|
|
4047
|
+
key: "feeWalletMultisig.vaultIndex",
|
|
4048
|
+
type: "integer",
|
|
4049
|
+
help: "The Squads vault index, 0 to 255, that with the multisig derives an off-curve --fee-wallet.",
|
|
4050
|
+
chains: [
|
|
4051
|
+
"solana"
|
|
4052
|
+
],
|
|
4053
|
+
range: {
|
|
4054
|
+
min: "0",
|
|
4055
|
+
max: "255",
|
|
4056
|
+
unit: "vault index"
|
|
4057
|
+
},
|
|
4058
|
+
requires: [
|
|
4059
|
+
"feeWalletMultisig.address"
|
|
4060
|
+
],
|
|
4061
|
+
surfaces: {
|
|
4062
|
+
cli: {
|
|
4063
|
+
flag: "--fee-wallet-multisig-vault-index",
|
|
4064
|
+
value: "<n>"
|
|
4065
|
+
},
|
|
4066
|
+
mcp: {
|
|
4067
|
+
key: "feeWalletMultisig.vaultIndex"
|
|
4068
|
+
},
|
|
4069
|
+
sdk: {
|
|
4070
|
+
key: "feeWalletMultisig.vaultIndex"
|
|
4071
|
+
}
|
|
4072
|
+
}
|
|
4073
|
+
},
|
|
4003
4074
|
{
|
|
4004
4075
|
key: "buy",
|
|
4005
4076
|
type: "decimal",
|
|
@@ -6760,7 +6831,7 @@ function generateClientLaunchId() {
|
|
|
6760
6831
|
function generateClientTradeId() {
|
|
6761
6832
|
return generateSdkId();
|
|
6762
6833
|
}
|
|
6763
|
-
var SDK_VERSION = "0.6.
|
|
6834
|
+
var SDK_VERSION = "0.6.13";
|
|
6764
6835
|
var sdkUpdateWarned = false;
|
|
6765
6836
|
function noteLatestSdkVersion(value) {
|
|
6766
6837
|
if (sdkUpdateWarned || !value || !/^\d+\.\d+\.\d+$/.test(value))
|
|
@@ -569,6 +569,64 @@ export declare const LAUNCH_DEFINITION: {
|
|
|
569
569
|
readonly key: "visibility";
|
|
570
570
|
};
|
|
571
571
|
};
|
|
572
|
+
}, {
|
|
573
|
+
readonly key: "feeWallet";
|
|
574
|
+
readonly type: "string";
|
|
575
|
+
readonly help: "Solana only: the wallet this launch's curve and pool fees earn to, an on-curve wallet or a Squads v4 vault; defaults to the account wallet.";
|
|
576
|
+
readonly chains: readonly ["solana"];
|
|
577
|
+
readonly surfaces: {
|
|
578
|
+
readonly cli: {
|
|
579
|
+
readonly flag: "--fee-wallet";
|
|
580
|
+
readonly value: "<address>";
|
|
581
|
+
};
|
|
582
|
+
readonly mcp: {
|
|
583
|
+
readonly key: "feeWallet";
|
|
584
|
+
};
|
|
585
|
+
readonly sdk: {
|
|
586
|
+
readonly key: "feeWallet";
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
}, {
|
|
590
|
+
readonly key: "feeWalletMultisig.address";
|
|
591
|
+
readonly type: "string";
|
|
592
|
+
readonly help: "The Squads v4 multisig behind an off-curve --fee-wallet vault; takes --fee-wallet-multisig-vault-index.";
|
|
593
|
+
readonly chains: readonly ["solana"];
|
|
594
|
+
readonly requires: readonly ["feeWallet"];
|
|
595
|
+
readonly surfaces: {
|
|
596
|
+
readonly cli: {
|
|
597
|
+
readonly flag: "--fee-wallet-multisig";
|
|
598
|
+
readonly value: "<address>";
|
|
599
|
+
};
|
|
600
|
+
readonly mcp: {
|
|
601
|
+
readonly key: "feeWalletMultisig.address";
|
|
602
|
+
};
|
|
603
|
+
readonly sdk: {
|
|
604
|
+
readonly key: "feeWalletMultisig.address";
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
}, {
|
|
608
|
+
readonly key: "feeWalletMultisig.vaultIndex";
|
|
609
|
+
readonly type: "integer";
|
|
610
|
+
readonly help: "The Squads vault index, 0 to 255, that with the multisig derives an off-curve --fee-wallet.";
|
|
611
|
+
readonly chains: readonly ["solana"];
|
|
612
|
+
readonly range: {
|
|
613
|
+
readonly min: "0";
|
|
614
|
+
readonly max: "255";
|
|
615
|
+
readonly unit: "vault index";
|
|
616
|
+
};
|
|
617
|
+
readonly requires: readonly ["feeWalletMultisig.address"];
|
|
618
|
+
readonly surfaces: {
|
|
619
|
+
readonly cli: {
|
|
620
|
+
readonly flag: "--fee-wallet-multisig-vault-index";
|
|
621
|
+
readonly value: "<n>";
|
|
622
|
+
};
|
|
623
|
+
readonly mcp: {
|
|
624
|
+
readonly key: "feeWalletMultisig.vaultIndex";
|
|
625
|
+
};
|
|
626
|
+
readonly sdk: {
|
|
627
|
+
readonly key: "feeWalletMultisig.vaultIndex";
|
|
628
|
+
};
|
|
629
|
+
};
|
|
572
630
|
}, {
|
|
573
631
|
readonly key: "buy";
|
|
574
632
|
readonly type: "decimal";
|
|
@@ -642,6 +700,11 @@ export interface GeneratedLaunchFields {
|
|
|
642
700
|
expPoolShape?: "floor" | "full_range";
|
|
643
701
|
dexVersion?: "v3" | "v4";
|
|
644
702
|
visibility?: "production" | "test" | "local" | "hidden";
|
|
703
|
+
feeWallet?: string;
|
|
704
|
+
feeWalletMultisig?: {
|
|
705
|
+
address?: string;
|
|
706
|
+
vaultIndex?: number;
|
|
707
|
+
};
|
|
645
708
|
buy?: string;
|
|
646
709
|
dryRun?: boolean;
|
|
647
710
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launch-definition.d.ts","sourceRoot":"","sources":["../src/launch-definition.ts"],"names":[],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