# Functions
AcceptedQueueStoreKey us used to temporarily store accepted PO order IDs for the ABCI blocker.
DefaultGenesisState creates a default GenesisState object.
default enterprise FUND module parameters.
GetPurchaseOrderIDBytes returns the byte representation of the purchaseOrderID used for getting the highest purchase order ID from the database.
GetPurchaseOrderIDFromBytes returns purchaseOrderID in uint64 format from a byte array used for getting the highest purchase order ID from the database.
LockedUndAddressStoreKey turn an address to key used for enterprise und/locked data to get it from the store.
NewEnterpriseUndPurchaseOrder is currently only used in the simulation decoder unit tests.
NewGenesisState creates a new GenesisState object.
NewLockedUnd is currently only used in the simulation decoder unit tests.
No description provided by the author
NewMsgProcessUndPurchaseOrder is a constructor function for MsgProcessUndPurchaseOrder.
NewMsgUndPurchaseOrder is a constructor function for MsgUndPurchaseOrder
nolint:interfacer.
NewMsgWhitelistAddress is a constructor function for MsgWhitelistAddress.
No description provided by the author
No description provided by the author
NewQueryPurchaseOrdersParams creates a new instance of QueryPurchaseOrdersParams.
ParamTable for enterprise FUND module.
PurchaseOrderKey gets a specific purchase order ID key for use in the store.
PurchaseOrderStatusFromString turns a string into a ProposalStatus.
RaisedQueueStoreKey us used to temporarily store raised PO order IDs for the ABCI blocker.
No description provided by the author
RegisterLegacyAminoCodec registers the necessary x/enterprise interfaces and concrete types on the provided LegacyAmino codec.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
SpentEFUNDAddressStoreKey turn an address to key used for spent eFUND data to get it from the store.
SplitAcceptedQueueKey is used to get the PO ID from the storekey.
SplitRaisedQueueKey is used to get the PO ID from the storekey.
No description provided by the author
ValidPurchaseOrderAcceptRejectStatus checks the decision - returns true if accept/reject.
ValidPurchaseOrderStatus returns true if the purchase order status is valid and false otherwise.
ValidWhitelistAction returns true if the purchase order status is valid and false otherwise.
PurchaseOrderStatusFromString turns a string into a ProposalStatus.
WhitelistAddressStoreKey turn an address to key used for the whitelist store.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
module name.
No description provided by the author
No description provided by the author
QuerierRoute is the querier route for the enterprise store.
RouterKey defines the module's message routing key.
STATUS_ACCEPTED defines an accepted status.
STATUS_COMPLETED defines a completed status.
STATUS_NIL defines a no-op status.
STATUS_RAISED defines a raised status.
STATUS_REJECTED defines a rejected status.
StoreKey to be used when creating the KVStore.
WHITELIST_ACTION_ADD defines an add action.
WHITELIST_ACTION_NIL defines a no-op action.
WHITELIST_ACTION_REMOVE defines a remove action.
No description provided by the author
# Variables
AcceptedPoPrefix used to temporarily store currently accepted purchase orders for the ABCI blocker.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
key used to store the current highest purchase order ID.
Parameter store keys.
Parameter store keys.
Parameter store keys.
Parameter store keys.
LockedUndAddressKeyPrefix prefix for address keys - used to store locked eFUND for an account.
ModuleCdc references the global x/bank module codec.
No description provided by the author
prefix used to store/retrieve an purchase order waiting to be processed from the store.
No description provided by the author
No description provided by the author
RaisedPoPrefix used to temporarily store currently raised purchase orders for the ABCI blocker.
SpentEFUNDAddressKeyPrefix prefix for address keys - used to store a tally of used eFUND for an account.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WhitelistKeyPrefix is the prefix for whitelisted addresses.
# Structs
EnterpriseUndPurchaseOrder defines a purchase order raised by a whitelisted address.
EnterpriseUserAccount defines data about an enterprise user.
GenesisState defines the enterprise module's genesis state.
LockedUnd defines the amount of locked FUND for an account.
MsgProcessUndPurchaseOrder represents a message to processed a raised purchase order.
MsgProcessUndPurchaseOrderResponse defines the Msg/ProcessUndPurchaseOrder response type.
MsgUndPurchaseOrder represents a message to raise a new purchase order.
MsgUndPurchaseOrderResponse defines the Msg/UndPurchaseOrder response type.
MsgUpdateParams is the Msg/UpdateParams request type.
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
MsgWhitelistAddress represents a message to processed an address whitelist action.
MsgWhitelistAddressResponse defines the Msg/WhitelistAddress response type.
Params defines the parameters for the enterprise module.
PurchaseOrderDecision defines a decision made for a given purchase order, ie, whether to accept or reject.
PurchaseOrders defines a list of purchase orders.
QueryEnterpriseAccountRequest is the request type for the Query/EnterpriseAccount RPC method.
QueryEnterpriseAccountResponse is the response type for the Query/EnterpriseAccount RPC method.
QueryEnterpriseSupplyRequest is the request type for the Query/EnterpriseSupply RPC method.
QueryEnterpriseSupplyResponse is the response type for the Query/EnterpriseSupply RPC method.
QueryEnterpriseUndPurchaseOrderRequest is the request type for the Query/EnterpriseUndPurchaseOrder RPC method.
QueryEnterpriseUndPurchaseOrderResponse is the response type for the Query/EnterpriseUndPurchaseOrder RPC method.
QueryEnterpriseUndPurchaseOrdersRequest is the request type for the Query/EnterpriseUndPurchaseOrders RPC method.
QueryEnterpriseUndPurchaseOrdersResponse is the response type for the Query/EnterpriseUndPurchaseOrders RPC method.
QueryLockedUndByAddressRequest is the request type for the Query/LockedUndByAddress RPC method.
QueryLockedUndByAddressResponse is the response type for the Query/LockedUndByAddress RPC method.
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse is the response type for the Query/Params RPC method.
QueryPurchaseOrdersParams Params for query 'custom/enterprise/pos'.
QuerySpentEFUNDByAddressRequest is the request type for the Query/SpentEFUNDByAddress RPC method.
QuerySpentEFUNDByAddressResponse is the response type for the Query/SpentEFUNDByAddress RPC method.
QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
QueryTotalLockedRequest is the request type for the Query/TotalLocked RPC method.
QueryTotalLockedResponse is the response type for the Query/TotalLocked RPC method.
QueryTotalSpentEFUNDRequest is the request type for the Query/TotalSpentEFUND RPC method.
QueryTotalSpentEFUNDResponse is the response type for the Query/TotalSpentEFUND RPC method.
QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method.
QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method.
QueryTotalUnlockedRequest is the request type for the Query/TotalUnlocked RPC method.
QueryTotalUnlockedResponse is the response type for the Query/TotalUnlocked RPC method.
QueryWhitelistedRequest is the request type for the Query/Whitelisted RPC method.
QueryWhitelistedResponse is the response type for the Query/Whitelisted RPC method.
QueryWhitelistRequest is the request type for the Query/Whitelist RPC method.
QueryWhitelistResponse is the response type for the Query/Whitelist RPC method.
SpentEFUND defines the amount of spent eFUND for an account.
UndSupply defines the current FUND supply, including locked.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
WhitelistAddresses defines a list of whitelisted addresses authorised to raise enterprise purchase orders.
# Interfaces
AccountKeeper defines the expected account keeper (noalias).
BankKeeper defines the expected bank keeper.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
ParamSubspace defines the expected Subspace interface for parameters (noalias).
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
PurchaseOrderStatus enumerates the valid statuses for a given purchase order.
QueryResPurchaseOrders Queries raised Enterprise FUND purchase orders.
No description provided by the author
WhitelistAction enumerates the valid actions for whitelisting addresses.
No description provided by the author