/
...
/
/
proposal-upsert-ubi
Search
Duplicate
Try Notion
Page icon

proposal-upsert-ubi

DESCRIPTION
Proposes to upsert a Universal Basic Income (UBI) for the network
PERMISSIONS (VOTE/CREATION/SUDO)
PROPOSAL TYPE
UpsertUBIProposal
Subcommand Path
sekaid tx customgov
The CLI command, proposal-upsert-ubi, is used to create a proposal to upsert (insert or update) a Universal Basic Income (UBI) distribution. The command accepts the following flags:
Flags:
$TITLE
string
title
The title of a proposal.
$DESCRIPTION
string
description
The description of the proposal, it can be a url, some text, etc.
$NAME
string
ValidatorPerMinuteIncome
Name of the UBI record.
$POOLNAME
string
ValidatorBasicRewardsPool
Name of the associated spending pool registry where exact $AMOUNT of KEX should be deposited.
$DISTRIBUTIONSTART
uint64
1641004800
The exact starting time of the UBI, allowing for a precise funds spending. Unix timestamps
$DISTRIBUTIONEND
uint64
1672537599
The exact ending time of the UBI. Unix timestamps
$PERIOD
uint64
60
Period of time in seconds over which current KEX supply is inflated by $AMOUNT and deposited in the UBI pool.
$AMOUNT
uint64
15
The amount of KEX tokens to be minted and distributed per $PERIOD into pool.
Bash
Copy
sekaid tx customgov proposal-upsert-ubi \ --from=$SIGNER $FLAGS_TX \ --name=$NAME \ --distribution-start=$DISTRIBUTION_START \ --distribution-end=$DISTRIBUTION_END \ --amount=$AMOUNT \ --period=$PERIOD \ --pool-name=$POOL_NAME \ --title=$TITLE --description=$DESCRIPTION
​
Bash
Copy
sekaid tx ubi proposal-upsert-ubi \ --title="title" --description="description" --name="ValidatorPerMinuteIncome" \ --pool-name="ValidatorBasicRewardsPool" \ --distr-start=0 --distr-end=0 \ --amount=15 --period=60
​