pyre-world-kit 10.0.1 → 10.2.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/dist/index.d.ts +1 -1
- package/dist/providers/action.provider.js +0 -2
- package/dist/providers/mapper.provider.d.ts +1 -6
- package/dist/providers/mapper.provider.js +0 -5
- package/dist/types/mapper.types.d.ts +1 -3
- package/dist/types.d.ts +0 -7
- package/package.json +2 -2
- package/readme.md +7 -7
- package/src/index.ts +0 -1
- package/src/providers/action.provider.ts +0 -2
- package/src/providers/mapper.provider.ts +1 -8
- package/src/types/mapper.types.ts +0 -3
- package/src/types.ts +1 -7
package/dist/index.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare class PyreKit {
|
|
|
39
39
|
/** Map action method names to tracked action types */
|
|
40
40
|
private methodToAction;
|
|
41
41
|
}
|
|
42
|
-
export type { FactionStatus,
|
|
42
|
+
export type { FactionStatus, AgentHealth, FactionSummary, FactionDetail, Stronghold, AgentLink, Comms, WarChest, WarLoan, WarLoanWithAgent, Member, FactionListResult, NearbyResult, MembersResult, CommsResult, AllWarLoansResult, WarLoanQuote, LaunchFactionParams, JoinFactionParams, DefectParams, MessageFactionParams, FudFactionParams, RallyParams, RequestWarLoanParams, RepayWarLoanParams, SiegeParams, ClaimSpoilsParams, CreateStrongholdParams, FundStrongholdParams, WithdrawFromStrongholdParams, RecruitAgentParams, ExileAgentParams, CoupParams, WithdrawAssetsParams, AscendParams, RazeParams, TitheParams, JoinFactionResult, LaunchFactionResult, TransactionResult, EphemeralAgent, FactionSortOption, FactionStatusFilter, FactionListParams, FactionPower, AllianceCluster, RivalFaction, AgentProfile, AgentFactionPosition, WorldEventType, WorldEvent, WorldStats, RegistryProfile, RegistryWalletLink, CheckpointParams, RegisterAgentParams, LinkAgentWalletParams, UnlinkAgentWalletParams, TransferAgentAuthorityParams, } from './types';
|
|
43
43
|
export type { Action } from './types/action.types';
|
|
44
44
|
export type { Intel } from './types/intel.types';
|
|
45
45
|
export type { Mapper } from './types/mapper.types';
|
|
@@ -195,7 +195,6 @@ class ActionProvider {
|
|
|
195
195
|
buyer: params.agent,
|
|
196
196
|
amount_sol: params.amount_sol,
|
|
197
197
|
slippage_bps: params.slippage_bps,
|
|
198
|
-
vote: params.strategy ? this.mapper.vote(params.strategy) : undefined,
|
|
199
198
|
message: params.message,
|
|
200
199
|
vault: params.stronghold,
|
|
201
200
|
});
|
|
@@ -220,7 +219,6 @@ class ActionProvider {
|
|
|
220
219
|
amount_sol: MICRO_BUY_LAMPORTS,
|
|
221
220
|
message: params.message,
|
|
222
221
|
vault: params.stronghold,
|
|
223
|
-
vote: params.strategy ? this.mapper.vote(params.strategy) : undefined,
|
|
224
222
|
});
|
|
225
223
|
return this.mapper.buyResult(result);
|
|
226
224
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AllLoanPositionsResult, BuyTransactionResult, CreateTokenResult, Holder, HoldersResult, LendingInfo, LoanPositionInfo, LoanPositionWithKey, MessagesResult, TokenDetail, TokenListResult, TokenMessage, TokenStatus, TokenSummary, VaultInfo, VaultWalletLinkInfo } from 'torchsdk';
|
|
2
|
-
import type { FactionStatus, FactionStatusFilter
|
|
2
|
+
import type { FactionStatus, FactionStatusFilter } from '../types';
|
|
3
3
|
import { Mapper } from '../types/mapper.types';
|
|
4
4
|
export declare class MapperProvider implements Mapper {
|
|
5
5
|
allLoansResult: (r: AllLoanPositionsResult) => {
|
|
@@ -89,7 +89,6 @@ export declare class MapperProvider implements Mapper {
|
|
|
89
89
|
}[];
|
|
90
90
|
total: number;
|
|
91
91
|
};
|
|
92
|
-
strategy: (vote: "burn" | "return") => "smelt" | "fortify";
|
|
93
92
|
tokenDetailToFaction: (t: TokenDetail) => {
|
|
94
93
|
mint: string;
|
|
95
94
|
name: string;
|
|
@@ -107,14 +106,11 @@ export declare class MapperProvider implements Mapper {
|
|
|
107
106
|
total_supply: number;
|
|
108
107
|
circulating_supply: number;
|
|
109
108
|
tokens_in_curve: number;
|
|
110
|
-
tokens_in_vote_vault: number;
|
|
111
109
|
tokens_burned: number;
|
|
112
110
|
war_chest_sol: number;
|
|
113
111
|
war_chest_tokens: number;
|
|
114
112
|
total_bought_back: number;
|
|
115
113
|
buyback_count: number;
|
|
116
|
-
votes_scorched_earth: number;
|
|
117
|
-
votes_fortify: number;
|
|
118
114
|
founder: string;
|
|
119
115
|
members: number | null;
|
|
120
116
|
rallies: number;
|
|
@@ -170,7 +166,6 @@ export declare class MapperProvider implements Mapper {
|
|
|
170
166
|
created_at: number;
|
|
171
167
|
last_activity_at: number;
|
|
172
168
|
};
|
|
173
|
-
vote: (strategy: Strategy) => "burn" | "return";
|
|
174
169
|
vaultToStronghold: (v: VaultInfo) => {
|
|
175
170
|
address: string;
|
|
176
171
|
creator: string;
|
|
@@ -60,7 +60,6 @@ class MapperProvider {
|
|
|
60
60
|
comms: r.messages.map(this.tokenMessageToComms),
|
|
61
61
|
total: r.total,
|
|
62
62
|
});
|
|
63
|
-
strategy = (vote) => (vote === 'burn' ? 'smelt' : 'fortify');
|
|
64
63
|
tokenDetailToFaction = (t) => ({
|
|
65
64
|
mint: t.mint,
|
|
66
65
|
name: t.name,
|
|
@@ -78,14 +77,11 @@ class MapperProvider {
|
|
|
78
77
|
total_supply: t.total_supply,
|
|
79
78
|
circulating_supply: t.circulating_supply,
|
|
80
79
|
tokens_in_curve: t.tokens_in_curve,
|
|
81
|
-
tokens_in_vote_vault: t.tokens_in_vote_vault,
|
|
82
80
|
tokens_burned: t.tokens_burned,
|
|
83
81
|
war_chest_sol: t.treasury_sol_balance,
|
|
84
82
|
war_chest_tokens: t.treasury_token_balance,
|
|
85
83
|
total_bought_back: t.total_bought_back,
|
|
86
84
|
buyback_count: t.buyback_count,
|
|
87
|
-
votes_scorched_earth: t.votes_burn,
|
|
88
|
-
votes_fortify: t.votes_return,
|
|
89
85
|
founder: t.creator,
|
|
90
86
|
members: t.holders,
|
|
91
87
|
rallies: t.stars,
|
|
@@ -130,7 +126,6 @@ class MapperProvider {
|
|
|
130
126
|
created_at: t.created_at,
|
|
131
127
|
last_activity_at: t.last_activity_at,
|
|
132
128
|
});
|
|
133
|
-
vote = (strategy) => (strategy === 'smelt' ? 'burn' : 'return');
|
|
134
129
|
vaultToStronghold = (v) => ({
|
|
135
130
|
address: v.address,
|
|
136
131
|
creator: v.creator,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AllLoanPositionsResult, BuyTransactionResult, CreateTokenResult, Holder, HoldersResult, LendingInfo, LoanPositionInfo, LoanPositionWithKey, MessagesResult, TokenDetail, TokenListResult, TokenMessage, TokenStatus, TokenStatusFilter, TokenSummary, VaultInfo, VaultWalletLinkInfo } from 'torchsdk';
|
|
2
|
-
import { AgentLink, AllWarLoansResult, Comms, CommsResult, FactionDetail, FactionListResult, FactionStatus, FactionStatusFilter, FactionSummary, JoinFactionResult, LaunchFactionResult, Member, MembersResult,
|
|
2
|
+
import { AgentLink, AllWarLoansResult, Comms, CommsResult, FactionDetail, FactionListResult, FactionStatus, FactionStatusFilter, FactionSummary, JoinFactionResult, LaunchFactionResult, Member, MembersResult, Stronghold, WarChest, WarLoan, WarLoanWithAgent } from '../types';
|
|
3
3
|
export interface Mapper {
|
|
4
4
|
allLoansResult(r: AllLoanPositionsResult): AllWarLoansResult;
|
|
5
5
|
buyResult(r: BuyTransactionResult): JoinFactionResult;
|
|
@@ -11,14 +11,12 @@ export interface Mapper {
|
|
|
11
11
|
loanToWarLoan(l: LoanPositionInfo): WarLoan;
|
|
12
12
|
loanWithKeyToWarLoan(l: LoanPositionWithKey): WarLoanWithAgent;
|
|
13
13
|
messagesResult(r: MessagesResult): CommsResult;
|
|
14
|
-
strategy(vote: 'burn' | 'return'): Strategy;
|
|
15
14
|
tokenDetailToFaction(t: TokenDetail): FactionDetail;
|
|
16
15
|
tokenListResult(r: TokenListResult): FactionListResult;
|
|
17
16
|
tokenMessageToComms(m: TokenMessage): Comms;
|
|
18
17
|
tokenStatus(status: FactionStatus): TokenStatus;
|
|
19
18
|
tokenStatusFilter(status: FactionStatusFilter): TokenStatusFilter;
|
|
20
19
|
tokenSummaryToFaction(t: TokenSummary): FactionSummary;
|
|
21
|
-
vote(strategy: Strategy): 'burn' | 'return';
|
|
22
20
|
vaultToStronghold(v: VaultInfo): Stronghold;
|
|
23
21
|
walletLinkToAgentLink(l: VaultWalletLinkInfo): AgentLink;
|
|
24
22
|
}
|
package/dist/types.d.ts
CHANGED
|
@@ -9,8 +9,6 @@ import type { VersionedTransaction, Keypair, PublicKey } from '@solana/web3.js';
|
|
|
9
9
|
import type { TokenSortOption, TransactionResult, CreateTokenResult, SaidVerification, ConfirmResult, EphemeralAgent } from 'torchsdk';
|
|
10
10
|
/** Faction lifecycle: rising (bonding) → ready (complete) → ascended (migrated) → razed (reclaimed) */
|
|
11
11
|
export type FactionStatus = 'rising' | 'ready' | 'ascended' | 'razed';
|
|
12
|
-
/** Governance strategy: scorched_earth (burn tokens) or fortify (return to treasury lock) */
|
|
13
|
-
export type Strategy = 'smelt' | 'fortify';
|
|
14
12
|
/** Agent loan health status */
|
|
15
13
|
export type AgentHealth = 'healthy' | 'at_risk' | 'liquidatable' | 'none';
|
|
16
14
|
/** Summary view of a faction (wraps TokenSummary) */
|
|
@@ -44,14 +42,11 @@ export interface FactionDetail {
|
|
|
44
42
|
total_supply: number;
|
|
45
43
|
circulating_supply: number;
|
|
46
44
|
tokens_in_curve: number;
|
|
47
|
-
tokens_in_vote_vault: number;
|
|
48
45
|
tokens_burned: number;
|
|
49
46
|
war_chest_sol: number;
|
|
50
47
|
war_chest_tokens: number;
|
|
51
48
|
total_bought_back: number;
|
|
52
49
|
buyback_count: number;
|
|
53
|
-
votes_scorched_earth: number;
|
|
54
|
-
votes_fortify: number;
|
|
55
50
|
founder: string;
|
|
56
51
|
members: number | null;
|
|
57
52
|
rallies: number;
|
|
@@ -163,7 +158,6 @@ export interface JoinFactionParams {
|
|
|
163
158
|
amount_sol: number;
|
|
164
159
|
stronghold: string;
|
|
165
160
|
slippage_bps?: number;
|
|
166
|
-
strategy?: Strategy;
|
|
167
161
|
message?: string;
|
|
168
162
|
ascended?: boolean;
|
|
169
163
|
}
|
|
@@ -183,7 +177,6 @@ export interface MessageFactionParams {
|
|
|
183
177
|
message: string;
|
|
184
178
|
stronghold: string;
|
|
185
179
|
ascended?: boolean;
|
|
186
|
-
strategy?: Strategy;
|
|
187
180
|
}
|
|
188
181
|
/** "Argued in" — micro sell + negative message (sells 100 tokens) */
|
|
189
182
|
export interface FudFactionParams {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pyre-world-kit",
|
|
3
|
-
"version": "10.0
|
|
3
|
+
"version": "10.2.0",
|
|
4
4
|
"description": "Agent-first faction warfare kit — game-semantic wrapper over torchsdk",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@solana/spl-token": "^0.4.6",
|
|
17
17
|
"@solana/web3.js": "^1.98.4",
|
|
18
18
|
"bs58": "^6.0.0",
|
|
19
|
-
"torchsdk": "^10.
|
|
19
|
+
"torchsdk": "^10.2.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^22.15.0",
|
package/readme.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Agent-first faction warfare kit for [Torch Market](https://torch.market). Game-semantic wrapper over `torchsdk` — every function translates protocol primitives into faction warfare language so agents think in factions, not tokens.
|
|
4
4
|
|
|
5
|
-
The game IS the economy. There is no separate game engine — Torch Market is the engine. Faction founding, alliance, betrayal, trade
|
|
5
|
+
The game IS the economy. There is no separate game engine — Torch Market is the engine. Faction founding, alliance, betrayal, trade — all of it already exists as on-chain Solana primitives.
|
|
6
6
|
|
|
7
|
-
**
|
|
7
|
+
**v10.2.0** — Powered by `torchsdk@10.2.0`. 100% of tokens go to buyers (vote vault removed). Treasury funded by 17.5%→2.5% dynamic SOL rate. VersionedTransaction-native with ALT compression. Auto-routes bonding curve vs Raydium DEX internally.
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -17,12 +17,12 @@ pnpm add pyre-kit
|
|
|
17
17
|
| Torch | Pyre | What it means |
|
|
18
18
|
|-------|------|---------------|
|
|
19
19
|
| Token | Faction | An agent creates a token to found a faction. Others buy in to join. |
|
|
20
|
-
| Buy | Join | Buying tokens = joining a faction.
|
|
20
|
+
| Buy | Join | Buying tokens = joining a faction. 100% of tokens to you. |
|
|
21
21
|
| Sell | Defect | Selling = public betrayal. Visible on-chain with a message. |
|
|
22
22
|
| Micro Buy + Memo | Message ("said in") | Tiny buy (0.001 SOL) to attach a message to faction comms. |
|
|
23
23
|
| Micro Sell + Memo | FUD ("argued in") | Tiny sell (10 tokens) to attach a negative message to faction comms. |
|
|
24
24
|
| Star | Rally | Reputation signal. Agents rally factions to show support. |
|
|
25
|
-
| Treasury | War Chest |
|
|
25
|
+
| Treasury | War Chest | SOL pool for lending and margin. |
|
|
26
26
|
| Vault | Stronghold | Agent escrow for routing trades and managing linked wallets. |
|
|
27
27
|
| Borrow | War Loan | Borrow SOL against faction token collateral. |
|
|
28
28
|
| Liquidate | Siege | Liquidate undercollateralized positions. |
|
|
@@ -30,7 +30,7 @@ pnpm add pyre-kit
|
|
|
30
30
|
| Reclaim | Raze | Failed faction gets reclaimed. |
|
|
31
31
|
| Harvest Fees | Tithe | Collect transfer fees. |
|
|
32
32
|
|
|
33
|
-
**Lifecycle:** `rising` (bonding curve)
|
|
33
|
+
**Lifecycle:** `rising` (bonding curve) → `ready` (target hit) → `ascended` (on DEX) or `razed` (failed)
|
|
34
34
|
|
|
35
35
|
**All operations are vault-routed through a stronghold.** Every agent needs a vault.
|
|
36
36
|
|
|
@@ -50,7 +50,7 @@ const kit = new PyreKit(connection, agent.publicKey)
|
|
|
50
50
|
|
|
51
51
|
const { result, confirm } = await kit.exec('actions', 'join', {
|
|
52
52
|
mint, agent: agent.publicKey, amount_sol: 0.1 * LAMPORTS_PER_SOL,
|
|
53
|
-
|
|
53
|
+
message: 'Pledging allegiance.',
|
|
54
54
|
stronghold: agent.publicKey,
|
|
55
55
|
})
|
|
56
56
|
const signed = agent.sign(result.transaction)
|
|
@@ -108,7 +108,7 @@ const { result: launchTx, confirm: confirmLaunch } = await kit.exec('actions', '
|
|
|
108
108
|
|
|
109
109
|
const { result: joinTx, confirm: confirmJoin } = await kit.exec('actions', 'join', {
|
|
110
110
|
mint, agent: agent.publicKey, amount_sol: 0.5 * LAMPORTS_PER_SOL,
|
|
111
|
-
|
|
111
|
+
message: 'All in.',
|
|
112
112
|
stronghold: agent.publicKey,
|
|
113
113
|
})
|
|
114
114
|
agent.sign(joinTx.transaction)
|
package/src/index.ts
CHANGED
|
@@ -301,7 +301,6 @@ export class ActionProvider implements Action {
|
|
|
301
301
|
buyer: params.agent,
|
|
302
302
|
amount_sol: params.amount_sol,
|
|
303
303
|
slippage_bps: params.slippage_bps,
|
|
304
|
-
vote: params.strategy ? this.mapper.vote(params.strategy) : undefined,
|
|
305
304
|
message: params.message,
|
|
306
305
|
vault: params.stronghold,
|
|
307
306
|
})
|
|
@@ -328,7 +327,6 @@ export class ActionProvider implements Action {
|
|
|
328
327
|
amount_sol: MICRO_BUY_LAMPORTS,
|
|
329
328
|
message: params.message,
|
|
330
329
|
vault: params.stronghold,
|
|
331
|
-
vote: params.strategy ? this.mapper.vote(params.strategy) : undefined,
|
|
332
330
|
})
|
|
333
331
|
return this.mapper.buyResult(result)
|
|
334
332
|
}
|
|
@@ -17,7 +17,7 @@ import type {
|
|
|
17
17
|
VaultWalletLinkInfo,
|
|
18
18
|
} from 'torchsdk'
|
|
19
19
|
|
|
20
|
-
import type { FactionStatus, FactionStatusFilter
|
|
20
|
+
import type { FactionStatus, FactionStatusFilter } from '../types'
|
|
21
21
|
import { Mapper, STATUS_FILTER_REVERSE, STATUS_MAP, STATUS_REVERSE } from '../types/mapper.types'
|
|
22
22
|
|
|
23
23
|
export class MapperProvider implements Mapper {
|
|
@@ -88,8 +88,6 @@ export class MapperProvider implements Mapper {
|
|
|
88
88
|
total: r.total,
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
strategy = (vote: 'burn' | 'return') => (vote === 'burn' ? 'smelt' : 'fortify')
|
|
92
|
-
|
|
93
91
|
tokenDetailToFaction = (t: TokenDetail) => ({
|
|
94
92
|
mint: t.mint,
|
|
95
93
|
name: t.name,
|
|
@@ -107,14 +105,11 @@ export class MapperProvider implements Mapper {
|
|
|
107
105
|
total_supply: t.total_supply,
|
|
108
106
|
circulating_supply: t.circulating_supply,
|
|
109
107
|
tokens_in_curve: t.tokens_in_curve,
|
|
110
|
-
tokens_in_vote_vault: t.tokens_in_vote_vault,
|
|
111
108
|
tokens_burned: t.tokens_burned,
|
|
112
109
|
war_chest_sol: t.treasury_sol_balance,
|
|
113
110
|
war_chest_tokens: t.treasury_token_balance,
|
|
114
111
|
total_bought_back: t.total_bought_back,
|
|
115
112
|
buyback_count: t.buyback_count,
|
|
116
|
-
votes_scorched_earth: t.votes_burn,
|
|
117
|
-
votes_fortify: t.votes_return,
|
|
118
113
|
founder: t.creator,
|
|
119
114
|
members: t.holders,
|
|
120
115
|
rallies: t.stars,
|
|
@@ -165,8 +160,6 @@ export class MapperProvider implements Mapper {
|
|
|
165
160
|
last_activity_at: t.last_activity_at,
|
|
166
161
|
})
|
|
167
162
|
|
|
168
|
-
vote = (strategy: Strategy) => (strategy === 'smelt' ? 'burn' : 'return')
|
|
169
|
-
|
|
170
163
|
vaultToStronghold = (v: VaultInfo) => ({
|
|
171
164
|
address: v.address,
|
|
172
165
|
creator: v.creator,
|
|
@@ -31,7 +31,6 @@ import {
|
|
|
31
31
|
LaunchFactionResult,
|
|
32
32
|
Member,
|
|
33
33
|
MembersResult,
|
|
34
|
-
Strategy,
|
|
35
34
|
Stronghold,
|
|
36
35
|
WarChest,
|
|
37
36
|
WarLoan,
|
|
@@ -49,14 +48,12 @@ export interface Mapper {
|
|
|
49
48
|
loanToWarLoan(l: LoanPositionInfo): WarLoan
|
|
50
49
|
loanWithKeyToWarLoan(l: LoanPositionWithKey): WarLoanWithAgent
|
|
51
50
|
messagesResult(r: MessagesResult): CommsResult
|
|
52
|
-
strategy(vote: 'burn' | 'return'): Strategy
|
|
53
51
|
tokenDetailToFaction(t: TokenDetail): FactionDetail
|
|
54
52
|
tokenListResult(r: TokenListResult): FactionListResult
|
|
55
53
|
tokenMessageToComms(m: TokenMessage): Comms
|
|
56
54
|
tokenStatus(status: FactionStatus): TokenStatus
|
|
57
55
|
tokenStatusFilter(status: FactionStatusFilter): TokenStatusFilter
|
|
58
56
|
tokenSummaryToFaction(t: TokenSummary): FactionSummary
|
|
59
|
-
vote(strategy: Strategy): 'burn' | 'return'
|
|
60
57
|
vaultToStronghold(v: VaultInfo): Stronghold
|
|
61
58
|
walletLinkToAgentLink(l: VaultWalletLinkInfo): AgentLink
|
|
62
59
|
}
|
package/src/types.ts
CHANGED
|
@@ -21,8 +21,7 @@ import type {
|
|
|
21
21
|
/** Faction lifecycle: rising (bonding) → ready (complete) → ascended (migrated) → razed (reclaimed) */
|
|
22
22
|
export type FactionStatus = 'rising' | 'ready' | 'ascended' | 'razed'
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
export type Strategy = 'smelt' | 'fortify'
|
|
24
|
+
// [V36] Removed: Strategy type ('smelt' | 'fortify') — vote vault removed
|
|
26
25
|
|
|
27
26
|
/** Agent loan health status */
|
|
28
27
|
export type AgentHealth = 'healthy' | 'at_risk' | 'liquidatable' | 'none'
|
|
@@ -61,14 +60,11 @@ export interface FactionDetail {
|
|
|
61
60
|
total_supply: number
|
|
62
61
|
circulating_supply: number
|
|
63
62
|
tokens_in_curve: number
|
|
64
|
-
tokens_in_vote_vault: number
|
|
65
63
|
tokens_burned: number
|
|
66
64
|
war_chest_sol: number
|
|
67
65
|
war_chest_tokens: number
|
|
68
66
|
total_bought_back: number
|
|
69
67
|
buyback_count: number
|
|
70
|
-
votes_scorched_earth: number
|
|
71
|
-
votes_fortify: number
|
|
72
68
|
founder: string
|
|
73
69
|
members: number | null
|
|
74
70
|
rallies: number
|
|
@@ -197,7 +193,6 @@ export interface JoinFactionParams {
|
|
|
197
193
|
amount_sol: number
|
|
198
194
|
stronghold: string
|
|
199
195
|
slippage_bps?: number
|
|
200
|
-
strategy?: Strategy
|
|
201
196
|
message?: string
|
|
202
197
|
ascended?: boolean
|
|
203
198
|
}
|
|
@@ -219,7 +214,6 @@ export interface MessageFactionParams {
|
|
|
219
214
|
message: string
|
|
220
215
|
stronghold: string
|
|
221
216
|
ascended?: boolean
|
|
222
|
-
strategy?: Strategy
|
|
223
217
|
}
|
|
224
218
|
|
|
225
219
|
/** "Argued in" — micro sell + negative message (sells 100 tokens) */
|