Skip to main content
Function:
ABI Object:
Parameters:
  • signer - The account signer
  • funded_from_dex_subaccount - The subaccount used to fund the vault
  • contribution_asset_type - The fungible asset metadata for contributions
  • vault_name - Vault name (String)
  • vault_description - Vault description (String)
  • vault_social_links - Vault social links (vector of Strings). Array format: [xUrl, discordUrl] where each element is a string URL or empty string
  • vault_share_symbol - Vault share symbol (String)
  • vault_share_icon_uri - Vault share icon URI (String)
  • vault_share_project_uri - Vault share project URI (String)
  • fee_bps - Fee in basis points (u64). Maximum: 1000 (10%)
  • fee_interval_s - Fee interval in seconds (u64). Minimum: 2,592,000 (30 days). Maximum: 31,536,000 (365 days)
  • contribution_lockup_duration_s - Lockup duration in seconds (u64). Contributors cannot redeem until this period elapses
  • initial_funding - Initial funding amount (u64)
  • accepts_contributions - Whether vault accepts contributions (bool)
  • delegate_to_creator - Whether to delegate to creator (bool)
Example: