uniswap-sell-immediate

star 0

Execute an immediate (this-heartbeat) market sell of a token your clan holds. Use when you need gold THIS tick to act on something else (e.g. mission with high gold cost, walls upgrade) and can't wait for a scheduled order.

clan-world By clan-world schedule Updated 5/26/2026

name: uniswap-sell-immediate description: Execute an immediate (this-heartbeat) market sell of a token your clan holds. Use when you need gold THIS tick to act on something else (e.g. mission with high gold cost, walls upgrade) and can't wait for a scheduled order.

Uniswap sell immediate

When to use

  • You need gold IN this tick to enable another order (e.g. wall upgrade, mission with cost).
  • Your worker is in Waiting at Unicorn Town with cooldown clear.
  • The token spread is acceptable (don't burn 30% of value just for tempo).

Order shape

MarketSell is exact-input:

{
  type: "MarketSell",
  token: "wood" | "ore" | "stone",  // NOT gold; selling for gold
  amountIn: bigint,                  // exact amount of token to sell
  // No maxGoldIn — you accept whatever the market gives.
}

The actual gold received depends on pool depth at execution time.

When NOT to use

  • You can wait one heartbeat — use scheduled orders + arb-camping for better execution.
  • Spread is wide (> 15% from spot) — you're paying liquidity tax for tempo. Wait.
  • Worker not in Waiting + Unicorn Town — order will fail (no error, just no execution).
  • Cooldown not clear — same.

Output to remember

Call memory_save with key sell-immediate:wood:tick-N and value like:

sold 5e18 wood for 3.1e18 gold, pool slippage 8% — acceptable for tempo

S2 placeholder skill. See uniswap-arb-camping for scheduled sells.

Install via CLI
npx skills add https://github.com/clan-world/clan-world-game --skill uniswap-sell-immediate
Repository Details
star Stars 0
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator