Get desktop application:
View/edit binary Protocol Buffers messages
Query defines the gRPC query service for the budget module.
Addresses returns an address that can be used as source and destination is derived according to the given type, module name, and name.
QueryAddressesRequest is the request type for the Query/Addresses RPC method.
The Address Type, default 0 for ADDRESS_TYPE_32_BYTES or 1 for ADDRESS_TYPE_20_BYTES
The module name to be used for address derivation, default is budget.
The name to be used for address derivation.
QueryAddressesResponse is the response type for the Query/Addresses RPC method.
Budgets returns all budgets.
QueryBudgetsRequest is the request type for the Query/Budgets RPC method.
QueryBudgetsResponse is the response type for the Query/Budgets RPC method.
Params returns parameters of the budget module.
QueryParamsRequest is the request type for the Query/Params RPC method.
(message has no fields)
QueryParamsResponse is the response type for the Query/Params RPC method.
AddressType enumerates the available types of a address.
Used in:
the 32 bytes length address type of ADR 028.
the default 20 bytes length address type.
Budget defines a budget object.
Used in: ,
name defines the name of the budget
rate specifies the distributing amount by ratio of total budget source
source_address defines the bech32-encoded address that source of the budget
destination_address defines the bech32-encoded address of the budget pool to distribute
start_time specifies the start time of the budget
end_time specifies the end time of the budget
BudgetRecord records the state of each budget after genesis import or export.
Used in:
name defines the name of the budget
total_collected_coins specifies the total collected coins in a budget ever since the budget is created
Used in:
GenesisState defines the budget module's genesis state.
params defines all the parameters for the budget module
budget_records defines the budget records used for genesis state
Params defines the parameters for the budget module.
Used in: ,
The universal epoch length in number of blocks A collection of budgets is executed with this epoch_blocks parameter
Budgets parameter can be added, modified, and deleted through parameter change governance proposal
TotalCollectedCoins defines total collected coins with relevant metadata.
total_collected_coins specifies the total collected coins in a budget ever since the budget is created