The CLI command, proposal-basket-withdraw-surplus, is designed to create a proposal for withdrawing surplus from a basket. The command accepts the following arguments and flags:
Args
$BASKET_IDS: A comma-separated list of basket IDs from which the surplus will be withdrawn.
$RECEIVER_ADDR: The target address where the surplus will be withdrawn to.
Flags
$TITLE: The title of the proposal.
$DESCRIPTION: The proposal’s description. It can be a URL, some text, etc.
Bash
Copy
sekaid tx customgov proposal-basket-withdraw-surplus \
--from=$SIGNER $FLAGS_TX \
--title=$TITLE --description=$DESCRIPTION \
$BASKET_IDS $RECEIVER_ADDR