Vault Configuration Updates

After creating a vault, the admin can update various configuration parameters. This is useful for adjusting fees, changing deposit caps, or modifying the withdrawal waiting period.

What Can Be Updated

Parameter
Updatable
Updated By

Max cap

Yes

Admin

Locked profit degradation duration

Yes

Admin

Withdrawal waiting period

Yes

Admin

Performance fees (admin/manager)

Yes

Admin

Management fees (admin/manager)

Yes

Admin

Issuance fee

Yes

Admin

Redemption fee

Yes

Admin

Manager

Yes

Admin

Vault name

No

Vault description

No

Asset mint

No

circle-info

Vault name, description, and asset mint are set at creation and cannot be changed afterward. Choose carefully during vault creation.

Update via UI

The simplest way to update vault configuration is through the Ranger manage page:

https://vaults.ranger.finance/manage/<VAULT_PUBKEY>

Connect with the admin wallet and use the configuration update form.

Update via SDK

The createUpdateVaultConfigIx method updates one field at a time. You specify which field to update using the VaultConfigField enum and provide the serialized value as a Buffer.

Update Max Cap (u64 field)

Update a Fee (u16 field)

circle-exclamation

Update Manager (PublicKey field)

VaultConfigField Reference

Field
Data Type
Serialization

MaxCap

u64

new BN(value).toArrayLike(Buffer, "le", 8)

StartAtTs

u64

new BN(value).toArrayLike(Buffer, "le", 8)

LockedProfitDegradationDuration

u64

new BN(value).toArrayLike(Buffer, "le", 8)

WithdrawalWaitingPeriod

u64

new BN(value).toArrayLike(Buffer, "le", 8)

ManagerPerformanceFee

u16

Buffer.alloc(2); buf.writeUInt16LE(value, 0)

AdminPerformanceFee

u16

Buffer.alloc(2); buf.writeUInt16LE(value, 0)

ManagerManagementFee

u16

Buffer.alloc(2); buf.writeUInt16LE(value, 0)

AdminManagementFee

u16

Buffer.alloc(2); buf.writeUInt16LE(value, 0)

RedemptionFee

u16

Buffer.alloc(2); buf.writeUInt16LE(value, 0)

IssuanceFee

u16

Buffer.alloc(2); buf.writeUInt16LE(value, 0)

Manager

PublicKey

new PublicKey("...").toBuffer()

triangle-exclamation

Last updated