Skip to content

Reference

Proposal actions

Every action a proposal can run.

A proposal is a list of actions. If it passes and is executed, its actions run in order, exactly as written. This page lists every action the app can add to a proposal, grouped the way the Manage page groups a tribe's parts.

Who can do what

  • Propose. Any wallet with at least the tribe's votes needed to propose (the proposal threshold). Votes are counted at the ledger before the proposal is made, and delegated votes count.
  • Vote. Any wallet that had votes when the proposal was made. See Vote.
  • Queue and execute. Any wallet, once the proposal is eligible. The wallet that submits pays the network fee. See Queue and execute.
  • Cancel. Only the person who made the proposal, before voting ends. See Cancel a proposal.

What happens on chain

After launch, the tribe's Treasury is the admin of every tribe contract. When a proposal runs, the Treasury makes each action's contract call itself, in order, in one transaction. No person signs those calls.

If any action fails, the whole proposal reverts and nothing changes. The proposal stays queued, and any wallet can try again until it expires, 14 days after its safety delay ends. A proposal holds at most 20 actions.

Where actions are added

The proposal composer offers actions in three places:

  • Choose what to do. Common goals in plain words, such as "Pay someone" or "Add members".
  • Change a setting. Each setting shows its current value, and you choose the new one.
  • Advanced. Actions most tribes rarely need.

Some actions are prepared on their own page, such as Manage → Tribe profile or Manage → Market, and added to a proposal from there. The tables below mark these "Prepared in". See Choose actions for the steps.

Treasury

ActionWhat it doesNotes
Send treasury funds ("Pay someone")Sends XLM or another asset from the Treasury to an address.The Treasury must hold enough of the asset when the proposal runs.
Give a treasury tokenSends a membership token the Treasury holds to an address.The Treasury must still hold the token. The address can't be the auction or the market, which take memberships only through their own actions.
Buy a listing for the treasuryThe Treasury buys a membership listed in the market, at no more than a set price.Prepared in Manage → Market. The app adds "Authorise the next action (Treasury)" directly before it. See Treasury purchases.
Authorise the next action (Treasury)Lets the Treasury approve the payment that the next action makes.Added by the app only. It must come directly before the action it approves.

Membership

ActionWhat it doesNotes
Mint membership tokens ("Add members")Creates new membership tokens for one or more addresses.At most 43 tokens to one address, or 18 addresses with one token each, in one action.
Mint a membership token ("Add one member")Creates one new membership token for an address.
Recover a membershipMoves a membership from one wallet to another, for example when a member loses access to their wallet.DAO recovery must already be on, or be turned on earlier in this proposal. A token held by a module, such as one in an auction, can't be moved.
Lock membershipsTurns locked memberships on or off. When locked, tokens move only by sale, by being given to the tribe, or by a vote.The new value must differ from the current one.
Members-only delegationTurns on or off the rule that votes can be delegated only to members.The new value must differ from the current one.
DAO recoveryTurns on or off the tribe's power to move any membership by vote.The new value must differ from the current one.
Change a mint allowanceRaises or lowers how many tokens a module, such as the auction or claims, may mint.The module must be registered.
Approve a membership transferMoves a membership that its holder has approved the Treasury to move.Advanced. The holder's approval must still be valid.
Change a transfer agentLets a module move memberships while they are locked, or stops it.Advanced. The module must be registered.
Open a claim listOpens a list of people who can claim tokens, with an optional price and an end date.Prepared in Manage → Claim lists. Raise the claims module's mint allowance first, or every claim fails. See Make a claim list.
Close a claim listStops claims on one of the tribe's open claim lists. Tokens already claimed stay with their holders. The rest can no longer be minted from that list.Choose the list in the composer, or choose Close in proposal on its card in Manage → Claim lists. Offered only when the tribe's claims module has close_list. A module on an earlier release must be upgraded first in Manage → Contract upgrades. The action fails if the list has already ended when the proposal runs. See Close a list early.
Add artwork layersAdds artwork layers and items that new tokens are drawn from.Prepared in Manage → Artwork. At most 16 layers and 30 items in one action.
Change the artwork rendererChanges where token images are drawn from. Existing token images can change too.Prepared in Manage → Artwork.
Seed traits for a tokenGives artwork traits to a token minted before the artwork was added.Prepared in Manage → Artwork.
Add a moduleCreates a new auction, market, or claims module for the tribe.Prepared in Manage → Membership. A tribe has at most one module of each kind.
Register a moduleAdds an existing contract to the tribe as a module.Prepared in Manage → Membership. Any deployed contract can be registered, a member's contract wallet included. See Modules.
Remove a moduleRemoves a module from the tribe.Prepared in Manage → Membership. An auction or market must hold no memberships first, so add its clean-up steps before it. See Modules.

Voting rules

ActionWhat it doesLimits
Change the wait before voting opensSets how long after a proposal is made before members can vote (voting delay).5 minutes to 30 days
Change how long voting stays openSets how long members have to vote (voting period).5 minutes to 30 days
Change the safety delaySets how long a passed proposal waits after it's queued before it can run (queue delay).5 minutes to 30 days
Change the votes needed to proposeSets how many votes someone needs to make a proposal (proposal threshold).At least 1 vote
Change the quorumSets the share of all votes that must be For or Abstain for a proposal to pass.0.01% to 100%

The wait before voting, the voting period, and the quorum are fixed when each proposal is made. The safety delay in force when a proposal is queued is the one it waits for. See Manage: governance.

Selling: auctions

Auction settings change only while auctions are paused. Put "Pause auctions" first in the proposal, and "Resume auctions" last if you want them to start again. See Manage: auction.

ActionWhat it doesLimits
Pause auctionsStops auctions until a vote resumes them.Auctions must be running.
Resume auctionsStarts auctions again, with any new settings.Auctions must be paused.
Change the starting priceSets the lowest opening bid (reserve price).At least 1,000 stroops (0.0001 XLM)
Change how long each auction runsSets the auction duration.5 minutes to 30 days
Change how much time a late bid addsSets how much a bid near the end extends the auction (time buffer).1 second to 1 day
Change the minimum bid increaseSets how much higher each new bid must be than the last.1% to 100%
Change the auction payment assetChanges the asset bids are paid in.Advanced. Not possible after the first bid.
Cancel the current auctionRefunds the top bid and sends the token to the Treasury.Auctions must be paused first.

Selling: market

ActionWhat it doesLimits
Change the resale feeSets the fee the tribe takes on each resale in the market.0% to 25%
Change the market payment assetChanges the asset buyers pay in. Open listings keep the asset they were listed in.XLM or USDC
Pause the marketStops sales in the market until a vote reopens it.
Reopen the marketLets sales in the market start again.
Open a quick-buy poolSells newly minted tokens at a fixed price, with limits per wallet and per period.Prepared in Manage → Market. Raise the market's mint allowance first. At most 8 pools open at once.
Close a poolStops sales from a pool.The pool must be open.
Sweep a closed poolReturns a closed pool's unsold tokens to the Treasury.The pool must be closed. At most 25 tokens per sweep.
Open a moduleStarts a new auction or market module for the first time.Prepared in Manage → Membership. An auction needs a mint allowance first.

See Marketplace pools and Manage: marketplace.

Tribe

ActionWhat it doesNotes
Rename the tribeChanges the tribe's name and token symbol.No quotes, backslashes, or control characters.
Change the tribe linkChanges the tribe's link on tribes.build.Prepared in Manage → Tribe profile. Propose it on its own: if another tribe takes the link first, the whole proposal fails.
Update the tribe profileReplaces the description, links, and image people see.Prepared in Manage → Tribe profile. If another profile update runs first, this one fails, and you propose again.

See Manage: profile.

System

ActionWhat it doesNotes
Upgrade a moduleMoves one of the tribe's contracts to a newer release that the platform has approved.Prepared in Manage → Contract upgrades. An unapproved upgrade fails and changes nothing. See Upgrades.
Migrate module storageUpdates a contract's stored data after an upgrade that needs it.Not offered yet: every contract is on its first storage version.

Source: docs/PROPOSAL_ACTIONS.md and apps/web/src/lib/proposal-actions/catalog.ts. Each action's errors are listed in Error messages.