The CLI command, proposal-create-basket, is utilized to create a token basket through a proposal process. To vote on the proposal, an account must have permission
59. 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-create-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