House module CLI.
This section specifies the queries, transactions, and required payloads. By following this section, one can get a deep understanding of the functioning of the reward
module in the SGE Network chain.
Reward module CLI queries.
The below table explains the details of the argument required for the above query:
The below table explains the details of the argument required for the above query:
The below table explains the details of the argument required for the above query:
The below table explains the details of the argument required for the above query:
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
Params | Description | Type | Validation | Example |
---|---|---|---|---|
Params | Description | Type | Validation | Example |
---|---|---|---|---|
Params | Description | Type | Validation | Example |
---|---|---|---|---|
Params | Description | Type | Validation | Example |
---|---|---|---|---|
uid
uid of the campaign
string
Required
Valid uuid
8483cc8a-d4c8-44ef-9f06-971ec7afe059
uid
uid of the campaign
string
Required
Valid uuid
8483cc8a-d4c8-44ef-9f06-971ec7afe059
address
address of the receiver
string
Required
Valid address
sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3
address
address of the reward receiver
string
Required
Valid address
sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3
category
category of the reward
int32
Required
Valid address
1
campaign
uid of the campaign
string
Required
Valid uid
8483cc8a-d4c8-44ef-9f06-971ec7afe059
The below transaction can be used to create a campaign on the blockchain.
The below table specifies the details of the arguments used in the above transaction:
The below transaction can be used to update a campaign on the blockchain.
The below table specifies the details of the arguments used in the above transaction:
The below transaction can be used to withdraw available funds from a campaign pool on the blockchain.
The below table specifies the details of the arguments used in the above transaction:
The below transaction can be used to grant a reward of a certain campaign to a reward receiver address on the blockchain.
The below table specifies the details of the arguments used in the above transaction:
Argument | Description | Type | Validation | Example |
---|---|---|---|---|
Argument | Description | Type | Validation | Example |
---|---|---|---|---|
Argument | Description | Type | Validation | Example |
---|---|---|---|---|
Argument | Description | Type | Validation | Example |
---|---|---|---|---|
uid
uid of the camoaign
string
Required
Valid uid
8483cc8a-d4c8-44ef-9f06-971ec7afe059
totalfunds
total funds of the campaign pool
uint64
Required
Valid Number
100000
ticket
ticked payload for the campaign create
string
Required
Valid Ticket
uid
unique identifier of the campaign
string
Required
Valid uid
8483cc8a-d4c8-44ef-9f06-971ec7afe059
topup funds
the funds to be topped up to the campaign pool
uint64
Required
Valid Number
100000
ticket
ticked payload for the campaign update
string
Required
Valid Ticket
uid
unique identifier of the campaign
string
Required
Valid uid
8483cc8a-d4c8-44ef-9f06-971ec7afe059
ticket
ticked payload for the campaign funds withdrawal
string
Required
Valid Ticket
uid
unique identifier of the reward
string
Required
Valid uid
8483cc8a-d4c8-44ef-9f06-971ec7afe059
campaign_uid
uid of the corresponding campaign
string
Required
Valid uid
8483cc8a-d4c8-44ef-9f06-971ec7afe059
ticket
ticked payload for the grant reward
string
Required
Valid Ticket