/
...
/
/
proposal-edit-basket
Search
Duplicate
Try Notion
Page icon

proposal-edit-basket

DESCRIPTION
Proposes to edit an existing basket
PERMISSIONS (VOTE/CREATION/SUDO)
PROPOSAL TYPE
EditBasket
Subcommand Path
sekaid tx basket
The CLI command, proposal-edit-basket, is used for editing existing baskets. The editing requires the same governance permissions and the basket’s ID $BASKET_ID needs to be specified. The command accepts the following arguments and flags:
Flags
$TITLE: The title of the proposal.
$DESCRIPTION: The proposal’s description.
$BASKET_SUFFIX: The suffix of the basket token.
$BASKET_DESCRIPTION: The description of the basket.
$BASKET_TOKENS: Comma-separated list of aggregated tokens with corresponding rates and abilities.
$TOKENS_CAP: Tokens cap on the basket.
$LIMITS_PERIOD: Period after which limits are reset.
$MINTS_DISABLED: Disable all basket’s deposits.
$MINTS_MIN: Minimum amount of basket token issuance.
$MINTS_MAX: Maximum cumulative daily basket token issuance.
$BURNS_DISABLED: Disable all basket’s redemptions.
$BURNS_MIN: Minimum amount of basket token redemption.
$BURNS_MAX: Maximum cumulative daily amount of basket token redemptions.
$SWAPS_DISABLED: Disable all basket swaps.
$SWAPS_MIN: Minimum amount of aggregated tokens swaps.
$SWAPS_MAX: Maximum cumulative daily amount of aggregated tokens swaps.
$SWAP_FEE: Percentage fee for swapping tokens.
$SLIPPAGE_FEE_MIN: Minimum percentage penalty for disbalancing the basket.
Bash
Copy
sekaid tx basket proposal-edit-basket \ --from=$SIGNER $FLAGS_TX \ --title=$TITLE --description=$DESCRIPTION \ --basket-suffix=$BASKET_SUFFIX --basket-description=$BASKET_DESCRIPTION \ --basket-tokens=$BASKET_TOKENS --tokens-cap=$TOKENS_CAP --limits-period=$LIMITS_PERIOD \ --mints-disabled=$MINTS_DISABLED \ --mints-min=$MINTS_MIN --mints-max=$MINTS_MAX \ --burns-disabled=$BURNS_DISABLED \ --burns-min=$BURNS_MIN --burns-max=$BURNS_MAX \ --swaps-disabled=$SWAPS_DISABLED \ --swaps-min=$SWAPS_MIN --swaps-max=$SWAPS_MAX \ --swap-fee=$SWAP_FEE --slippage-fee-min=$SLIPPAGE_FEE_MIN