ModuleSDK
Modules
getSetAutoSavingConfigAction

getSetAutoSavingConfigAction

Get the action to set the auto-save configuration for a token.

Usage

const action = getSetAutoSavingConfigAction({
  token: "0x123...",
  config: {
    percentage: BigInt(10),
    vault: "0x123...",
  },
});

Parameters

token

The address of the token to set the auto-save configuration for.

config

  • Type: { percentage: number, vault: Address, }

The configuration for the auto-save module for the token.

Returns

action

The action to set the auto-savings configuration.