Version: 1.0.0 ID: guild-token-lifecycle Category: Economic Estimated Time: 10-20 minutes
mintTokens, manageBankGuild tokens are trust-based. Guilds have full control. No technical safeguards.
Get current guild central bank status.
GET/structs/guild/{guildId}/bankschemas/economics.md#/entities/GuildCentralBankExpected Response:
{
"guildId": "string",
"collateral": "number",
"tokensIssued": "number",
"tokensInCirculation": "number",
"collateralRatio": "number"
}
Lock Alpha Matter as collateral for guild tokens.
POST/cosmos/tx/v1beta1/txs/structs.structs.MsgGuildLockCollateralRequirements: Player must have Alpha Matter in sufficient amount.
Request Example:
{
"body": {
"body": {
"messages": [
{
"@type": "/structs.structs.MsgGuildLockCollateral",
"creator": "structs1...",
"guildId": "1-1",
"alphaMatterAmount": "100000000"
}
]
}
}
}
Expected Result:
{
"collateralLocked": true,
"canMintTokens": true
}
Mint new guild tokens backed by collateral.
POST/cosmos/tx/v1beta1/txs/structs.structs.MsgGuildMintTokensRequirements: Collateral must be locked and guild permissions must be granted.
Request Example:
{
"body": {
"body": {
"messages": [
{
"@type": "/structs.structs.MsgGuildMintTokens",
"creator": "structs1...",
"guildId": "1-1",
"tokensToMint": "1000"
}
]
}
}
}
Expected Result:
{
"tokensMinted": true,
"tokensInCirculation": "updated",
"collateralRatio": "calculated"
}
Get current guild token market data.
GET/structs/market/guild-token/{guildId}schemas/markets.md#/markets/GuildTokenMarketDataExpected Response:
{
"currentPrice": "number",
"marketCap": "number",
"tokensInCirculation": "number",
"collateral": "number",
"collateralRatio": "number",
"volume24h": "number",
"trustRating": "string"
}
Trade guild tokens on marketplace.
POST/cosmos/tx/v1beta1/txs/structs.structs.MsgTradeGuildTokenRequest Example:
{
"body": {
"body": {
"messages": [
{
"@type": "/structs.structs.MsgTradeGuildToken",
"creator": "structs1...",
"guildId": "1-1",
"quantity": 100,
"price": 0.01,
"type": "sell"
}
]
}
}
}
Monitor token supply, collateral ratio, and market value.
GET/structs/guild/{guildId}/bankschemas/economics.md#/entities/GuildCentralBankMonitoring Targets:
| Target | Description |
|---|---|
| collateralRatio | Maintain healthy ratio (100%+ recommended) |
| tokensInCirculation | Track token supply |
| marketValue | Monitor token price |
Revoke and burn tokens (can be used for economic warfare).
POST/cosmos/tx/v1beta1/txs/structs.structs.MsgGuildRevokeTokensWarning: Revocation damages reputation. Use carefully.
Request Example:
{
"body": {
"body": {
"messages": [
{
"@type": "/structs.structs.MsgGuildRevokeTokens",
"creator": "structs1...",
"guildId": "1-1",
"tokensToRevoke": "100"
}
]
}
}
}
Expected Result:
{
"tokensRevoked": true,
"tokensBurned": true
}
| Risk | Description | Result | Prevention |
|---|---|---|---|
| Over-minting | Minting more tokens than collateral backing | Inflation, reduced token value | Maintain healthy collateral ratio |
| Poor management | Poor token management damages reputation | Reduced trust, lower token value | Transparent management, maintain collateral |
| Revocation | Token revocation damages reputation | Reduced trust, potential token devaluation | Use revocation carefully, maintain reputation |
| Error | Code | Step | Solution | Retryable |
|---|---|---|---|---|
| Insufficient collateral | INSUFFICIENT_COLLATERAL |
2 | Lock more Alpha Matter as collateral | Yes |
| Over-minting | OVER_MINTING |
3 | Add more collateral or reduce token supply | Yes |
| No permissions | NO_PERMISSIONS |
3 | Request permissions from guild leadership | No |