package
0.0.6
Repository: https://github.com/pylons-tech/pylons_sdk.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
EntryIDValidationError returns entry ID validation error.
GenAllOutput is a function to generate output with all of entry list.
GenCoinInputList is a utility function to genearte coin input list.
GenCoinOnlyEntry is a utility function to genearte coin only entry.
GenCoinOnlyEntryRand is a utility function to genearte coin only entry with random count.
GenEntries is a function to generate entries from coin name and item name.
GenEntriesItemNameUpgrade is a function to generate entries that update first item's name.
GenEntriesRand is a function to generate entreis from coin name and item name and which has random attributes.
GenEntriesTwoItemNameUpgrade is a function to generate entries that update two items' names.
GenItemInputList is a utility function to genearte item input list.
GenItemNameUpgradeParams is a utility function to generate item name upgrade.
GenItemOnlyEntry is a utility function to generate item only entry.
GenItemOnlyEntryRand is a function to generate item only entry with random value.
GenModifyParamsForDouble is a function to generate modify params from double key and value.
GenModifyParamsForLong is a function to generate modify params from long key and value.
GenModifyParamsForString is a function to generate modify params from string key and value.
GenOneOutput is a function to generate output with one from entry list.
GenTradeItemInputList is a utility function to generate trade item input list.
KeyGen generates key for the store.
Max returns the larger of x or y.
Min returns the larger of x or y.
NewCookbook return a new Cookbook.
NewEntropyReader create an entropy reader.
NewExecution return a new Execution.
NewItem create a new item with an auto generated ID.
NewItemModifyOutput returns ItemOutput that is modified from item input.
NewItemOutput returns new ItemOutput generated from recipe.
NewLockedCoin return a new locked coin.
NewMsgCheckExecution a constructor for CheckExecution msg.
No description provided by the author
NewMsgCreateAccount is a function to get MsgCreateAccount msg from required params.
NewMsgCreateCookbook a constructor for CreateCookbook msg.
NewMsgCreateRecipe a constructor for CreateRecipe msg.
NewMsgCreateTrade a constructor for CreateTrade msg.
NewMsgDisableRecipe a constructor for DisableRecipe msg.
NewMsgDisableTrade a constructor for DisableTrade msg.
NewMsgEnableRecipe a constructor for EnableRecipe msg.
NewMsgEnableTrade a constructor for EnableTrade msg.
NewMsgExecuteRecipe a constructor for ExecuteCookbook msg.
NewMsgFiatItem a constructor for MsgFiatItem msg.
NewMsgFulfillTrade a constructor for FulfillTrade msg.
NewMsgGetPylons is a function to get MsgGetPylons msg from required params.
NewMsgGoogleIAPGetPylons is a function to get MsgGetPylons msg from required params.
NewMsgSendCoins is a function to get MsgSendCoins msg from required params.
NewMsgSendItems is a function to get MsgSendItems msg from required params.
NewMsgUpdateCookbook a constructor for UpdateCookbook msg.
NewMsgUpdateItemString is a function to get MsgUpdateItemString msg from required params.
NewMsgUpdateRecipe a constructor for UpdateRecipe msg.
NewPylon Returns pylon currency.
No description provided by the author
NewRecipe creates a new recipe.
NewTrade creates a new trade.
ProgramValidateBasic validate program.
RandomSeed calculate random seed from context and entity count.
No description provided by the author
No description provided by the author
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
ValidateEmail validates the email string provided.
ValidateLevel validates the level.
ValidateVersion validates the SemVer.

# Constants

Basic is the free int64 which does allow developers to use pylons ( paid currency ) in their games.
Pylons.
ModuleName is the name of the module.
Tier defines the kind of cookbook this is.
No description provided by the author
QuerierRoute is the querier route for distribution.
RouterKey is the message route for distribution.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TypeLockedCoin is a store key for lockedCoin.
No description provided by the author
No description provided by the author

# Variables

fee charged to create a basic cookbook.
BasicTier is the cookbook tier which doesn't allow paid recipes which means the developers cannot have recipes where they can actually carge a fee in pylons.
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
fee charged to create a premium cookbook.
PremiumTier the cookbook tier which does allow paid recipes.

# Structs

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
ConditionList is a struct for describing ItemInput expression conditions.
No description provided by the author
DoubleInputParam describes the bounds on an item input/output parameter of type float64.
DoubleKeyValue describes double key/value set.
DoubleParam describes the bounds on an item input/output parameter of type float64.
DoubleWeightRange describes weight range that produce double value.
EntriesList is a struct to keep list of items and coins.
ExecuteRecipeScheduleOutput is a struct that shows how execute recipe schedule output works.
ExecuteRecipeSerialize is a struct for execute recipe result serialization.
No description provided by the author
No description provided by the author
GenesisState defines pylons module's genesis state.
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
IntWeightRange describes weight range that produce int value.
Item is a tradable asset.
ItemHistory is a struct to store Item use history.
ItemInput is a wrapper struct for Item for recipes.
ItemModifyOutput describes what is modified from item input.
ItemModifyParams describes the fields that needs to be modified.
ItemOutput models the continuum of valid outcomes for item generation in recipes.
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
LockedCoin describes the locked coin struct.
LockedCoinDescribe describes the locked coin struct.
LockedCoinDetails describes the locked coin struct with where it's locked in details.
LongInputParam describes the bounds on an item input/output parameter of type int64.
LongKeyValue describes long key/value set.
LongParam describes the bounds on an item input/output parameter of type int64.
MsgCheckExecution defines a CheckExecution message.
CheckExecutionResponse is the response for checkExecution.
MsgCreateAccount defines a CreateAccount message.
Cookbook is a struct that contains all the metadata of a cookbook.
MsgCreateCookbookResponse is a struct of create cookbook response.
MsgCreateExecutionResponse is the response for create-account.
MsgCreateRecipe defines a CreateRecipe message.
MsgCreateRecipeResponse is struct of create recipe response.
MsgCreateTrade defines a CreateTrade message.
MsgCreateTradeResponse is struct of create trade response.
MsgDisableRecipe defines a DisableRecipe message.
DisableRecipeResponse is the response for disableRecipe.
MsgDisableTrade defines a DisableTrade message.
MsgDisableTradeResponse is the response for enableTrade.
MsgEnableRecipe defines a EnableRecipe message.
MsgEnableRecipeResponse is the response for enableRecipe.
MsgEnableTrade defines a EnableTrade message.
MsgEnableTradeResponse is the response for enableTrade.
MsgExecuteRecipe defines a SetName message.
ExecuteRecipeResponse is the response for executeRecipe.
MsgFiatItem is a msg struct to be used to fiat item.
MsgFiatItemResponse is a struct to control fiat item response.
MsgFulfillTrade defines a FulfillTrade message.
FulfillTradeResponse is the response for fulfillRecipe.
MsgGetPylons defines a GetPylons message.
MsgGetPylonsResponse is the response for get-pylons.
MsgGoogleIAPGetPylons defines a GetPylons message.
MsgGoogleIAPGetPylonsResponse is the response for get-pylons.
MsgSendCoins defines a SendCoins message.
No description provided by the author
MsgSendItems defines a SendItems message.
MsgSendItemsResponse is the response for fulfillRecipe.
MsgUpdateCookbook defines a UpdateCookbook message.
MsgUpdateCookbookResponse is a struct to control update cookbook response.
MsgUpdateItemString defines a UpdateItemString message.
MsgUpdateItemStringResponse is a struct to control update item string response.
MsgUpdateRecipe defines a UpdateRecipe message.
UpdateRecipeResponse is a struct to control update recipe response.
No description provided by the author
No description provided by the author
Reader struct is for entropy set on uuid.
No description provided by the author
ShortenRecipe is a struct to manage shorten recipes.
StringInputParam describes the bounds on an item input/output parameter of type string.
StringKeyValue describes string key/value set.
StringParam describes an item input/output parameter of type string.
Tier defines the kind of cookbook this is.
No description provided by the author
TradeItemInput is a wrapper struct for Item for trades.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
WeightedOutputs is to make structs which is using weight to be based on.

# Interfaces

Entry describes an output which can be produced from a recipe.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
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
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