aiprotocol-sbi 1.2.9 → 1.3.1
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/modules/economy/commands/economy-info-requirements.command.js +1 -0
- package/dist/modules/economy/commands/economy-launch.command.js +8 -1
- package/dist/modules/economy/commands/economy-list.command.js +1 -0
- package/dist/modules/economy/commands/economy-status.command.js +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -63,6 +63,7 @@ let EconomyInfoCommand = EconomyInfoCommand_1 = class EconomyInfoCommand {
|
|
|
63
63
|
this.output.row("Price", `${result?.token_price}`);
|
|
64
64
|
this.output.row("Market cap", `${result?.market_cap}`);
|
|
65
65
|
this.output.row("Total supply", `${result?.total_supply}`);
|
|
66
|
+
this.output.row("Moltbook URL", result?.molt_book_url);
|
|
66
67
|
this.output.row("Uniswap Buy / Sell", `https://app.uniswap.org/swap?chain=base&inputCurrency=0x97c806e7665d3afd84a8fe1837921403d59f3dcc&outputCurrency=${result?.token_address}`);
|
|
67
68
|
this.output.row("8004 Registry", `https://www.8004scan.io/agents/base/${result?.registry_id}`);
|
|
68
69
|
this.output.divider();
|
|
@@ -34,6 +34,7 @@ let EconomyLaunchCommand = EconomyLaunchCommand_1 = class EconomyLaunchCommand {
|
|
|
34
34
|
.requiredOption("--ticker <ticker>", "Token ticker")
|
|
35
35
|
.requiredOption("--description <description>", "Short agent description")
|
|
36
36
|
.requiredOption("--image <image>", "Agent image")
|
|
37
|
+
.requiredOption("--moltbook_profile <molt_book_url>", "MoltBook URL")
|
|
37
38
|
.option("--json", "Output result as JSON")
|
|
38
39
|
.action(async (opts) => {
|
|
39
40
|
const cfg = this.config.requireWallet();
|
|
@@ -56,7 +57,8 @@ let EconomyLaunchCommand = EconomyLaunchCommand_1 = class EconomyLaunchCommand {
|
|
|
56
57
|
}
|
|
57
58
|
const name = this.security.sanitizeString(opts.name, 64);
|
|
58
59
|
const ticker = tickerCheck.value;
|
|
59
|
-
const description = opts
|
|
60
|
+
const description = opts?.description;
|
|
61
|
+
const moltBookUrl = opts?.molt_book_url
|
|
60
62
|
? this.security.sanitizeString(opts.description, 512)
|
|
61
63
|
: undefined;
|
|
62
64
|
const image = opts.image;
|
|
@@ -66,6 +68,7 @@ let EconomyLaunchCommand = EconomyLaunchCommand_1 = class EconomyLaunchCommand {
|
|
|
66
68
|
this.output.row("Ticker", ticker);
|
|
67
69
|
this.output.row("Network", cfg.network);
|
|
68
70
|
this.output.row("Image", image);
|
|
71
|
+
this.output.row("Moltbook URL", moltBookUrl);
|
|
69
72
|
this.output.row("Wallet", cfg.wallet_address);
|
|
70
73
|
this.output.blank();
|
|
71
74
|
}
|
|
@@ -85,6 +88,7 @@ let EconomyLaunchCommand = EconomyLaunchCommand_1 = class EconomyLaunchCommand {
|
|
|
85
88
|
network: cfg.network,
|
|
86
89
|
description,
|
|
87
90
|
image: image,
|
|
91
|
+
molt_book_url: moltBookUrl,
|
|
88
92
|
});
|
|
89
93
|
if (!result?.is_application) {
|
|
90
94
|
this.output.blank();
|
|
@@ -92,6 +96,7 @@ let EconomyLaunchCommand = EconomyLaunchCommand_1 = class EconomyLaunchCommand {
|
|
|
92
96
|
this.output.row("Name", name);
|
|
93
97
|
this.output.row("Ticker", ticker);
|
|
94
98
|
this.output.row("Image", image);
|
|
99
|
+
this.output.row("Moltbook URL", moltBookUrl);
|
|
95
100
|
this.output.divider();
|
|
96
101
|
this.output.blank();
|
|
97
102
|
this.output.warn("No funding application found for this bot.\n" +
|
|
@@ -110,6 +115,7 @@ let EconomyLaunchCommand = EconomyLaunchCommand_1 = class EconomyLaunchCommand {
|
|
|
110
115
|
this.output.row("Name", name);
|
|
111
116
|
this.output.row("Ticker", ticker);
|
|
112
117
|
this.output.row("Image", image);
|
|
118
|
+
this.output.row("Moltbook URL", moltBookUrl);
|
|
113
119
|
this.output.divider();
|
|
114
120
|
this.output.blank();
|
|
115
121
|
this.output.warn("Launch blocked. Your funding application has not been verified yet.\n" +
|
|
@@ -130,6 +136,7 @@ let EconomyLaunchCommand = EconomyLaunchCommand_1 = class EconomyLaunchCommand {
|
|
|
130
136
|
this.output.row("Name", name);
|
|
131
137
|
this.output.row("Ticker", ticker);
|
|
132
138
|
this.output.row("Image", image);
|
|
139
|
+
this.output.row("Moltbook URL", moltBookUrl);
|
|
133
140
|
this.output.divider();
|
|
134
141
|
this.output.blank();
|
|
135
142
|
this.output.info("Deployment in progress. Poll with:\n aiprotocol-sbi economy status --poll");
|
|
@@ -86,6 +86,7 @@ let EconomyListCommand = EconomyListCommand_1 = class EconomyListCommand {
|
|
|
86
86
|
this.output.row("Price", `${eco?.token_price}`);
|
|
87
87
|
this.output.row("Market cap", `${eco?.market_cap}`);
|
|
88
88
|
this.output.row("Total supply", `${eco?.total_supply}`);
|
|
89
|
+
this.output.row("Moltbook URL", result?.molt_book_url);
|
|
89
90
|
this.output.row("Uniswap Buy / Sell", `https://app.uniswap.org/swap?chain=base&inputCurrency=0x97c806e7665d3afd84a8fe1837921403d59f3dcc&outputCurrency=${eco?.token_address}`);
|
|
90
91
|
this.output.row("8004 Registry", `https://www.8004scan.io/agents/base/${eco?.registry_id}`);
|
|
91
92
|
this.output.row("Status", this.output.statusBadge(eco.status));
|
|
@@ -66,6 +66,7 @@ let EconomyStatusCommand = EconomyStatusCommand_1 = class EconomyStatusCommand {
|
|
|
66
66
|
this.output.row("Price", `${result?.token_price}`);
|
|
67
67
|
this.output.row("Market cap", `${result?.market_cap}`);
|
|
68
68
|
this.output.row("Total supply", `${result?.total_supply}`);
|
|
69
|
+
this.output.row("Moltbook URL", result?.molt_book_url);
|
|
69
70
|
this.output.row("Uniswap Buy / Sell", `https://app.uniswap.org/swap?chain=base&inputCurrency=0x97c806e7665d3afd84a8fe1837921403d59f3dcc&outputCurrency=${result?.token_address}`);
|
|
70
71
|
this.output.row("8004 Registry", `https://www.8004scan.io/agents/base/${result?.registry_id}`);
|
|
71
72
|
this.output.divider();
|
|
@@ -105,6 +106,7 @@ let EconomyStatusCommand = EconomyStatusCommand_1 = class EconomyStatusCommand {
|
|
|
105
106
|
this.output.row("Price", `${result?.token_price}`);
|
|
106
107
|
this.output.row("Market cap", `${result?.market_cap}`);
|
|
107
108
|
this.output.row("Total supply", `${result?.total_supply}`);
|
|
109
|
+
this.output.row("Moltbook URL", result?.molt_book_url);
|
|
108
110
|
this.output.row("Uniswap Buy / Sell", `https://app.uniswap.org/swap?chain=base&inputCurrency=0x97c806e7665d3afd84a8fe1837921403d59f3dcc&outputCurrency=${result?.token_address}`);
|
|
109
111
|
this.output.row("8004 Registry", `https://www.8004scan.io/agents/base/${result?.registry_id}`);
|
|
110
112
|
this.output.divider();
|