AstroDocs
Bankroll

Depositing & Withdrawing

How to become an LP, and how to stop.

Depositing

Deposit USDG into the Bankroll and receive ASTROLP shares in return, priced at the Bankroll's current share price (minus the dilution fee; see Economics).

If you're interacting with the contract directly rather than through the app, you'll need to approve the Bankroll to spend your USDG first. Remember that USDG always decrements your allowance on spend, even at max approval. See the note in Network.

Withdrawing

Redeem your ASTROLP shares back for USDG at the current share price (minus the withdrawal fee, if any). You can withdraw a portion of your position or all of it.

You can't deposit and withdraw in the same block. This closes off a manipulation window and has no effect on normal use: deposit, then withdraw whenever you actually want your funds back, even a block later.

If your withdrawal would leave the Bankroll without enough uncommitted liquidity to cover bets already in play, it's rejected until that liquidity frees up. This only matters at the very edges of the Bankroll's capacity, not for typical deposit sizes.

On this page