MsgIncrementStoreValue
Increments a numeric value for a specific address in a dynamic store.
Proto Definition
message MsgIncrementStoreValue {
string creator = 1; // Address incrementing the value (must be store creator)
string storeId = 2; // ID of the dynamic store
string address = 3; // Address to increment the value for
string amount = 4; // Amount to increment by
}
message MsgIncrementStoreValueResponse {}
Usage Example
# CLI command
bitbadgeschaind tx badges increment-store-value [store-id] [address] [amount] --from creator-key
JSON Example
{
"creator": "bb1...",
"storeId": "1",
"address": "bb1...",
"amount": "10"
}
Related Messages
MsgSetDynamicStoreValue - Set absolute values
MsgDecrementStoreValue - Decrease values
MsgCreateDynamicStore - Create new stores
Last updated