Withdrawals (Dividend / SplitVault)

There is no standalone reward-claim entrypoint in the current contract set.

User-facing withdrawals are mainly:

  • Dividend withdrawals (for tax markets with dividend enabled)

  • SplitVault withdrawals (if the market uses vault mode)

Dividend Withdrawal

For tax-enabled markets, discover dividendContract from NewBFunTaxTokenParams, then call:

function withdrawDividends() external;

SplitVault Withdrawal

If a market is created in vault mode, discover vault details from MarketVaultCreated.

In most cases, SplitVault distributions are executed automatically.

Manual withdrawal is only needed when an automatic distribution fails for a recipient.

Users then withdraw from the corresponding SplitVault contract via its withdraw/distribute flow.

See the latest ABI set for exact signatures and parameters.

Last updated