From 6c3f024a2998627c396547d263058af36e5d4360 Mon Sep 17 00:00:00 2001 From: aljo242 Date: Tue, 14 Sep 2021 09:07:03 -0400 Subject: [PATCH] regenerate proto --- proto/pylons/event.proto | 1 - proto/pylons/query.proto | 13 - .../pylons/Pylonstech.pylons.pylons/index.js | 224 +++++++++--------- .../pylons/Pylonstech.pylons.pylons/index.ts | 224 +++++++++--------- .../module/index.d.ts | 40 ++-- .../Pylonstech.pylons.pylons/module/index.js | 60 ++--- .../Pylonstech.pylons.pylons/module/index.ts | 60 ++--- 7 files changed, 304 insertions(+), 318 deletions(-) diff --git a/proto/pylons/event.proto b/proto/pylons/event.proto index 54467531aa..d02787b3ce 100644 --- a/proto/pylons/event.proto +++ b/proto/pylons/event.proto @@ -47,7 +47,6 @@ message EventCreateRecipe { // EventUpdateRecipe contains a record of the recipe pre-update. The updated fields can be found by the message emitted by MsgUpdateRecipe message EventUpdateRecipe { Recipe originalRecipe = 1 [(gogoproto.nullable) = false]; - } // EventCreateExecution contains the creator and ID of a created execution. Execution IDs are of the form {count-targetBlockHeight} diff --git a/proto/pylons/query.proto b/proto/pylons/query.proto index cd264038f2..8761ebe191 100644 --- a/proto/pylons/query.proto +++ b/proto/pylons/query.proto @@ -24,7 +24,6 @@ service Query { option (google.api.http).get = "/pylons/account/address/{address}"; } - // Queries a username by account. rpc AddressByUsername(QueryGetAddressByUsernameRequest) returns (QueryGetAddressByUsernameResponse) { option (google.api.http).get = "/pylons/account/username/{username}"; @@ -35,66 +34,55 @@ service Query { option (google.api.http).get = "/pylons/trade/{ID}"; } - // Queries a list of listItemByOwner items. rpc ListItemByOwner(QueryListItemByOwnerRequest) returns (QueryListItemByOwnerResponse) { option (google.api.http).get = "/pylons/items/{owner}"; } - // Queries a googleIAPOrder by PurchaseToken. rpc GoogleInAppPurchaseOrder(QueryGetGoogleInAppPurchaseOrderRequest) returns (QueryGetGoogleInAppPurchaseOrderResponse) { option (google.api.http).get = "/pylons/iap/{PurchaseToken}"; } - // Queries a list of listExecutionsByItem items. rpc ListExecutionsByItem(QueryListExecutionsByItemRequest) returns (QueryListExecutionsByItemResponse) { option (google.api.http).get = "/pylons/executions/item/{CookbookID}/{ItemID}"; } - // Queries a list of listExecutionsByRecipe items. rpc ListExecutionsByRecipe(QueryListExecutionsByRecipeRequest) returns (QueryListExecutionsByRecipeResponse) { option (google.api.http).get = "/pylons/executions/recipe/{CookbookID}/{RecipeID}"; } - // Queries a execution by id. rpc Execution(QueryGetExecutionRequest) returns (QueryGetExecutionResponse) { option (google.api.http).get = "/pylons/execution/{ID}"; } - // Queries a list of listRecipesByCookbook items. rpc ListRecipesByCookbook(QueryListRecipesByCookbookRequest) returns (QueryListRecipesByCookbookResponse) { option (google.api.http).get = "/pylons/recipes/{CookbookID}"; } - // Queries a item by ID. rpc Item(QueryGetItemRequest) returns (QueryGetItemResponse) { option (google.api.http).get = "/pylons/item/{CookbookID}/{ID}"; } - // Retrieves a recipe by ID. rpc Recipe(QueryGetRecipeRequest) returns (QueryGetRecipeResponse) { option (google.api.http).get = "/pylons/recipe/{CookbookID}/{ID}"; } - // Retrieves the list of cookbooks owned by an address rpc ListCookbooksByCreator(QueryListCookbooksByCreatorRequest) returns (QueryListCookbooksByCreatorResponse) { option (google.api.http).get = "/pylons/cookbooks/{creator}"; } - // Retrieves a cookbook by ID. rpc Cookbook(QueryGetCookbookRequest) returns (QueryGetCookbookResponse) { option (google.api.http).get = "/pylons/cookbook/{ID}"; } - } // this line is used by starport scaffolding # 3 @@ -114,7 +102,6 @@ message QueryGetAddressByUsernameResponse { AccountAddr address = 1 [(gogoproto.nullable) = false]; } - message QueryGetTradeRequest { uint64 ID = 1; } diff --git a/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/index.js b/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/index.js index cb3331efb4..cdb8dfc390 100644 --- a/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/index.js +++ b/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/index.js @@ -471,71 +471,71 @@ export default { throw new SpVuexError('QueryClient:QueryCookbook', 'API Node Unavailable. Could not perform query: ' + e.message); } }, - async sendMsgCreateTrade({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCompleteExecutionEarly({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCreateTrade(value); + const msg = await txClient.msgCompleteExecutionEarly(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateTrade:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCreateTrade:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgSendItems({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgTransferCookbook({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgSendItems(value); + const msg = await txClient.msgTransferCookbook(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgSendItems:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgTransferCookbook:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgSendItems:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgTransferCookbook:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgTransferCookbook({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgGoogleInAppPurchaseGetCoins({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgTransferCookbook(value); + const msg = await txClient.msgGoogleInAppPurchaseGetCoins(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgTransferCookbook:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgTransferCookbook:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgUpdateAccount({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCancelTrade({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgUpdateAccount(value); + const msg = await txClient.msgCancelTrade(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgUpdateAccount:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCancelTrade:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgUpdateAccount:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgCancelTrade:Send', 'Could not broadcast Tx: ' + e.message); } } }, @@ -556,233 +556,233 @@ export default { } } }, - async sendMsgCompleteExecutionEarly({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgFulfillTrade({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCompleteExecutionEarly(value); + const msg = await txClient.msgFulfillTrade(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgFulfillTrade:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgFulfillTrade:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgUpdateCookbook({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCreateRecipe({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgUpdateCookbook(value); + const msg = await txClient.msgCreateRecipe(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgUpdateCookbook:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCreateRecipe:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgUpdateCookbook:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgCreateRecipe:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgGoogleInAppPurchaseGetCoins({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgSetItemString({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgGoogleInAppPurchaseGetCoins(value); + const msg = await txClient.msgSetItemString(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgSetItemString:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgSetItemString:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgCreateCookbook({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgUpdateAccount({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCreateCookbook(value); + const msg = await txClient.msgUpdateAccount(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateCookbook:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgUpdateAccount:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCreateCookbook:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgUpdateAccount:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgCreateRecipe({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgExecuteRecipe({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCreateRecipe(value); + const msg = await txClient.msgExecuteRecipe(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateRecipe:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgExecuteRecipe:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCreateRecipe:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgExecuteRecipe:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgCancelTrade({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCreateAccount({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCancelTrade(value); + const msg = await txClient.msgCreateAccount(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCancelTrade:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCreateAccount:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCancelTrade:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgCreateAccount:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgCreateAccount({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCreateTrade({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCreateAccount(value); + const msg = await txClient.msgCreateTrade(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateAccount:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCreateTrade:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCreateAccount:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgCreateTrade:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgFulfillTrade({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgUpdateCookbook({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgFulfillTrade(value); + const msg = await txClient.msgUpdateCookbook(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgFulfillTrade:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgUpdateCookbook:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgFulfillTrade:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgUpdateCookbook:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgExecuteRecipe({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgSendItems({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgExecuteRecipe(value); + const msg = await txClient.msgSendItems(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgExecuteRecipe:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgSendItems:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgExecuteRecipe:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgSendItems:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async sendMsgSetItemString({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCreateCookbook({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgSetItemString(value); + const msg = await txClient.msgCreateCookbook(value); const result = await txClient.signAndBroadcast([msg], { fee: { amount: fee, gas: "200000" }, memo }); return result; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgSetItemString:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCreateCookbook:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgSetItemString:Send', 'Could not broadcast Tx: ' + e.message); + throw new SpVuexError('TxClient:MsgCreateCookbook:Send', 'Could not broadcast Tx: ' + e.message); } } }, - async MsgCreateTrade({ rootGetters }, { value }) { + async MsgCompleteExecutionEarly({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCreateTrade(value); + const msg = await txClient.msgCompleteExecutionEarly(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateTrade:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCreateTrade:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Create', 'Could not create message: ' + e.message); } } }, - async MsgSendItems({ rootGetters }, { value }) { + async MsgTransferCookbook({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgSendItems(value); + const msg = await txClient.msgTransferCookbook(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgSendItems:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgTransferCookbook:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgSendItems:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgTransferCookbook:Create', 'Could not create message: ' + e.message); } } }, - async MsgTransferCookbook({ rootGetters }, { value }) { + async MsgGoogleInAppPurchaseGetCoins({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgTransferCookbook(value); + const msg = await txClient.msgGoogleInAppPurchaseGetCoins(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgTransferCookbook:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgTransferCookbook:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Create', 'Could not create message: ' + e.message); } } }, - async MsgUpdateAccount({ rootGetters }, { value }) { + async MsgCancelTrade({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgUpdateAccount(value); + const msg = await txClient.msgCancelTrade(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgUpdateAccount:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCancelTrade:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgUpdateAccount:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgCancelTrade:Create', 'Could not create message: ' + e.message); } } }, @@ -801,153 +801,153 @@ export default { } } }, - async MsgCompleteExecutionEarly({ rootGetters }, { value }) { + async MsgFulfillTrade({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCompleteExecutionEarly(value); + const msg = await txClient.msgFulfillTrade(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgFulfillTrade:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgFulfillTrade:Create', 'Could not create message: ' + e.message); } } }, - async MsgUpdateCookbook({ rootGetters }, { value }) { + async MsgCreateRecipe({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgUpdateCookbook(value); + const msg = await txClient.msgCreateRecipe(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgUpdateCookbook:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCreateRecipe:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgUpdateCookbook:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgCreateRecipe:Create', 'Could not create message: ' + e.message); } } }, - async MsgGoogleInAppPurchaseGetCoins({ rootGetters }, { value }) { + async MsgSetItemString({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgGoogleInAppPurchaseGetCoins(value); + const msg = await txClient.msgSetItemString(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgSetItemString:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgSetItemString:Create', 'Could not create message: ' + e.message); } } }, - async MsgCreateCookbook({ rootGetters }, { value }) { + async MsgUpdateAccount({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCreateCookbook(value); + const msg = await txClient.msgUpdateAccount(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateCookbook:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgUpdateAccount:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCreateCookbook:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgUpdateAccount:Create', 'Could not create message: ' + e.message); } } }, - async MsgCreateRecipe({ rootGetters }, { value }) { + async MsgExecuteRecipe({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCreateRecipe(value); + const msg = await txClient.msgExecuteRecipe(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateRecipe:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgExecuteRecipe:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCreateRecipe:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgExecuteRecipe:Create', 'Could not create message: ' + e.message); } } }, - async MsgCancelTrade({ rootGetters }, { value }) { + async MsgCreateAccount({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCancelTrade(value); + const msg = await txClient.msgCreateAccount(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCancelTrade:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCreateAccount:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCancelTrade:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgCreateAccount:Create', 'Could not create message: ' + e.message); } } }, - async MsgCreateAccount({ rootGetters }, { value }) { + async MsgCreateTrade({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgCreateAccount(value); + const msg = await txClient.msgCreateTrade(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateAccount:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCreateTrade:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgCreateAccount:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgCreateTrade:Create', 'Could not create message: ' + e.message); } } }, - async MsgFulfillTrade({ rootGetters }, { value }) { + async MsgUpdateCookbook({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgFulfillTrade(value); + const msg = await txClient.msgUpdateCookbook(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgFulfillTrade:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgUpdateCookbook:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgFulfillTrade:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgUpdateCookbook:Create', 'Could not create message: ' + e.message); } } }, - async MsgExecuteRecipe({ rootGetters }, { value }) { + async MsgSendItems({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgExecuteRecipe(value); + const msg = await txClient.msgSendItems(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgExecuteRecipe:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgSendItems:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgExecuteRecipe:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgSendItems:Create', 'Could not create message: ' + e.message); } } }, - async MsgSetItemString({ rootGetters }, { value }) { + async MsgCreateCookbook({ rootGetters }, { value }) { try { const txClient = await initTxClient(rootGetters); - const msg = await txClient.msgSetItemString(value); + const msg = await txClient.msgCreateCookbook(value); return msg; } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgSetItemString:Init', 'Could not initialize signing client. Wallet is required.'); + throw new SpVuexError('TxClient:MsgCreateCookbook:Init', 'Could not initialize signing client. Wallet is required.'); } else { - throw new SpVuexError('TxClient:MsgSetItemString:Create', 'Could not create message: ' + e.message); + throw new SpVuexError('TxClient:MsgCreateCookbook:Create', 'Could not create message: ' + e.message); } } }, diff --git a/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/index.ts b/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/index.ts index bfc02fddc7..111727ea0d 100644 --- a/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/index.ts +++ b/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/index.ts @@ -587,63 +587,63 @@ export default { }, - async sendMsgCreateTrade({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCompleteExecutionEarly({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCreateTrade(value) + const msg = await txClient.msgCompleteExecutionEarly(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateTrade:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCreateTrade:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgSendItems({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgTransferCookbook({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgSendItems(value) + const msg = await txClient.msgTransferCookbook(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgSendItems:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgTransferCookbook:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgSendItems:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgTransferCookbook:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgTransferCookbook({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgGoogleInAppPurchaseGetCoins({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgTransferCookbook(value) + const msg = await txClient.msgGoogleInAppPurchaseGetCoins(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgTransferCookbook:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgTransferCookbook:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgUpdateAccount({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCancelTrade({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgUpdateAccount(value) + const msg = await txClient.msgCancelTrade(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgUpdateAccount:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCancelTrade:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgUpdateAccount:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgCancelTrade:Send', 'Could not broadcast Tx: '+ e.message) } } }, @@ -662,209 +662,209 @@ export default { } } }, - async sendMsgCompleteExecutionEarly({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgFulfillTrade({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCompleteExecutionEarly(value) + const msg = await txClient.msgFulfillTrade(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgFulfillTrade:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgFulfillTrade:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgUpdateCookbook({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCreateRecipe({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgUpdateCookbook(value) + const msg = await txClient.msgCreateRecipe(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgUpdateCookbook:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCreateRecipe:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgUpdateCookbook:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgCreateRecipe:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgGoogleInAppPurchaseGetCoins({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgSetItemString({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgGoogleInAppPurchaseGetCoins(value) + const msg = await txClient.msgSetItemString(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgSetItemString:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgSetItemString:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgCreateCookbook({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgUpdateAccount({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCreateCookbook(value) + const msg = await txClient.msgUpdateAccount(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateCookbook:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgUpdateAccount:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCreateCookbook:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgUpdateAccount:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgCreateRecipe({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgExecuteRecipe({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCreateRecipe(value) + const msg = await txClient.msgExecuteRecipe(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateRecipe:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgExecuteRecipe:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCreateRecipe:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgExecuteRecipe:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgCancelTrade({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCreateAccount({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCancelTrade(value) + const msg = await txClient.msgCreateAccount(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCancelTrade:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCreateAccount:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCancelTrade:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgCreateAccount:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgCreateAccount({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCreateTrade({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCreateAccount(value) + const msg = await txClient.msgCreateTrade(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateAccount:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCreateTrade:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCreateAccount:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgCreateTrade:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgFulfillTrade({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgUpdateCookbook({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgFulfillTrade(value) + const msg = await txClient.msgUpdateCookbook(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgFulfillTrade:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgUpdateCookbook:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgFulfillTrade:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgUpdateCookbook:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgExecuteRecipe({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgSendItems({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgExecuteRecipe(value) + const msg = await txClient.msgSendItems(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgExecuteRecipe:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgSendItems:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgExecuteRecipe:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgSendItems:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async sendMsgSetItemString({ rootGetters }, { value, fee = [], memo = '' }) { + async sendMsgCreateCookbook({ rootGetters }, { value, fee = [], memo = '' }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgSetItemString(value) + const msg = await txClient.msgCreateCookbook(value) const result = await txClient.signAndBroadcast([msg], {fee: { amount: fee, gas: "200000" }, memo}) return result } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgSetItemString:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCreateCookbook:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgSetItemString:Send', 'Could not broadcast Tx: '+ e.message) + throw new SpVuexError('TxClient:MsgCreateCookbook:Send', 'Could not broadcast Tx: '+ e.message) } } }, - async MsgCreateTrade({ rootGetters }, { value }) { + async MsgCompleteExecutionEarly({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCreateTrade(value) + const msg = await txClient.msgCompleteExecutionEarly(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateTrade:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCreateTrade:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Create', 'Could not create message: ' + e.message) } } }, - async MsgSendItems({ rootGetters }, { value }) { + async MsgTransferCookbook({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgSendItems(value) + const msg = await txClient.msgTransferCookbook(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgSendItems:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgTransferCookbook:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgSendItems:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgTransferCookbook:Create', 'Could not create message: ' + e.message) } } }, - async MsgTransferCookbook({ rootGetters }, { value }) { + async MsgGoogleInAppPurchaseGetCoins({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgTransferCookbook(value) + const msg = await txClient.msgGoogleInAppPurchaseGetCoins(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgTransferCookbook:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgTransferCookbook:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Create', 'Could not create message: ' + e.message) } } }, - async MsgUpdateAccount({ rootGetters }, { value }) { + async MsgCancelTrade({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgUpdateAccount(value) + const msg = await txClient.msgCancelTrade(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgUpdateAccount:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCancelTrade:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgUpdateAccount:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgCancelTrade:Create', 'Could not create message: ' + e.message) } } @@ -883,142 +883,142 @@ export default { } } }, - async MsgCompleteExecutionEarly({ rootGetters }, { value }) { + async MsgFulfillTrade({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCompleteExecutionEarly(value) + const msg = await txClient.msgFulfillTrade(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgFulfillTrade:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCompleteExecutionEarly:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgFulfillTrade:Create', 'Could not create message: ' + e.message) } } }, - async MsgUpdateCookbook({ rootGetters }, { value }) { + async MsgCreateRecipe({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgUpdateCookbook(value) + const msg = await txClient.msgCreateRecipe(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgUpdateCookbook:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCreateRecipe:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgUpdateCookbook:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgCreateRecipe:Create', 'Could not create message: ' + e.message) } } }, - async MsgGoogleInAppPurchaseGetCoins({ rootGetters }, { value }) { + async MsgSetItemString({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgGoogleInAppPurchaseGetCoins(value) + const msg = await txClient.msgSetItemString(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgSetItemString:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgGoogleInAppPurchaseGetCoins:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgSetItemString:Create', 'Could not create message: ' + e.message) } } }, - async MsgCreateCookbook({ rootGetters }, { value }) { + async MsgUpdateAccount({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCreateCookbook(value) + const msg = await txClient.msgUpdateAccount(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateCookbook:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgUpdateAccount:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCreateCookbook:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgUpdateAccount:Create', 'Could not create message: ' + e.message) } } }, - async MsgCreateRecipe({ rootGetters }, { value }) { + async MsgExecuteRecipe({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCreateRecipe(value) + const msg = await txClient.msgExecuteRecipe(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateRecipe:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgExecuteRecipe:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCreateRecipe:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgExecuteRecipe:Create', 'Could not create message: ' + e.message) } } }, - async MsgCancelTrade({ rootGetters }, { value }) { + async MsgCreateAccount({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCancelTrade(value) + const msg = await txClient.msgCreateAccount(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCancelTrade:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCreateAccount:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCancelTrade:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgCreateAccount:Create', 'Could not create message: ' + e.message) } } }, - async MsgCreateAccount({ rootGetters }, { value }) { + async MsgCreateTrade({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgCreateAccount(value) + const msg = await txClient.msgCreateTrade(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgCreateAccount:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCreateTrade:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgCreateAccount:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgCreateTrade:Create', 'Could not create message: ' + e.message) } } }, - async MsgFulfillTrade({ rootGetters }, { value }) { + async MsgUpdateCookbook({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgFulfillTrade(value) + const msg = await txClient.msgUpdateCookbook(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgFulfillTrade:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgUpdateCookbook:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgFulfillTrade:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgUpdateCookbook:Create', 'Could not create message: ' + e.message) } } }, - async MsgExecuteRecipe({ rootGetters }, { value }) { + async MsgSendItems({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgExecuteRecipe(value) + const msg = await txClient.msgSendItems(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgExecuteRecipe:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgSendItems:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgExecuteRecipe:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgSendItems:Create', 'Could not create message: ' + e.message) } } }, - async MsgSetItemString({ rootGetters }, { value }) { + async MsgCreateCookbook({ rootGetters }, { value }) { try { const txClient=await initTxClient(rootGetters) - const msg = await txClient.msgSetItemString(value) + const msg = await txClient.msgCreateCookbook(value) return msg } catch (e) { if (e == MissingWalletError) { - throw new SpVuexError('TxClient:MsgSetItemString:Init', 'Could not initialize signing client. Wallet is required.') + throw new SpVuexError('TxClient:MsgCreateCookbook:Init', 'Could not initialize signing client. Wallet is required.') }else{ - throw new SpVuexError('TxClient:MsgSetItemString:Create', 'Could not create message: ' + e.message) + throw new SpVuexError('TxClient:MsgCreateCookbook:Create', 'Could not create message: ' + e.message) } } diff --git a/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.d.ts b/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.d.ts index ba0efb9c65..d1d71273db 100644 --- a/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.d.ts +++ b/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.d.ts @@ -1,21 +1,21 @@ import { StdFee } from "@cosmjs/launchpad"; import { OfflineSigner, EncodeObject } from "@cosmjs/proto-signing"; import { Api } from "./rest"; -import { MsgCreateTrade } from "./types/pylons/tx"; -import { MsgSendItems } from "./types/pylons/tx"; -import { MsgTransferCookbook } from "./types/pylons/tx"; -import { MsgUpdateAccount } from "./types/pylons/tx"; -import { MsgUpdateRecipe } from "./types/pylons/tx"; import { MsgCompleteExecutionEarly } from "./types/pylons/tx"; -import { MsgUpdateCookbook } from "./types/pylons/tx"; +import { MsgTransferCookbook } from "./types/pylons/tx"; import { MsgGoogleInAppPurchaseGetCoins } from "./types/pylons/tx"; -import { MsgCreateCookbook } from "./types/pylons/tx"; -import { MsgCreateRecipe } from "./types/pylons/tx"; import { MsgCancelTrade } from "./types/pylons/tx"; -import { MsgCreateAccount } from "./types/pylons/tx"; +import { MsgUpdateRecipe } from "./types/pylons/tx"; import { MsgFulfillTrade } from "./types/pylons/tx"; -import { MsgExecuteRecipe } from "./types/pylons/tx"; +import { MsgCreateRecipe } from "./types/pylons/tx"; import { MsgSetItemString } from "./types/pylons/tx"; +import { MsgUpdateAccount } from "./types/pylons/tx"; +import { MsgExecuteRecipe } from "./types/pylons/tx"; +import { MsgCreateAccount } from "./types/pylons/tx"; +import { MsgCreateTrade } from "./types/pylons/tx"; +import { MsgUpdateCookbook } from "./types/pylons/tx"; +import { MsgSendItems } from "./types/pylons/tx"; +import { MsgCreateCookbook } from "./types/pylons/tx"; export declare const MissingWalletError: Error; interface TxClientOptions { addr: string; @@ -26,21 +26,21 @@ interface SignAndBroadcastOptions { } declare const txClient: (wallet: OfflineSigner, { addr: addr }?: TxClientOptions) => Promise<{ signAndBroadcast: (msgs: EncodeObject[], { fee, memo }?: SignAndBroadcastOptions) => Promise; - msgCreateTrade: (data: MsgCreateTrade) => EncodeObject; - msgSendItems: (data: MsgSendItems) => EncodeObject; - msgTransferCookbook: (data: MsgTransferCookbook) => EncodeObject; - msgUpdateAccount: (data: MsgUpdateAccount) => EncodeObject; - msgUpdateRecipe: (data: MsgUpdateRecipe) => EncodeObject; msgCompleteExecutionEarly: (data: MsgCompleteExecutionEarly) => EncodeObject; - msgUpdateCookbook: (data: MsgUpdateCookbook) => EncodeObject; + msgTransferCookbook: (data: MsgTransferCookbook) => EncodeObject; msgGoogleInAppPurchaseGetCoins: (data: MsgGoogleInAppPurchaseGetCoins) => EncodeObject; - msgCreateCookbook: (data: MsgCreateCookbook) => EncodeObject; - msgCreateRecipe: (data: MsgCreateRecipe) => EncodeObject; msgCancelTrade: (data: MsgCancelTrade) => EncodeObject; - msgCreateAccount: (data: MsgCreateAccount) => EncodeObject; + msgUpdateRecipe: (data: MsgUpdateRecipe) => EncodeObject; msgFulfillTrade: (data: MsgFulfillTrade) => EncodeObject; - msgExecuteRecipe: (data: MsgExecuteRecipe) => EncodeObject; + msgCreateRecipe: (data: MsgCreateRecipe) => EncodeObject; msgSetItemString: (data: MsgSetItemString) => EncodeObject; + msgUpdateAccount: (data: MsgUpdateAccount) => EncodeObject; + msgExecuteRecipe: (data: MsgExecuteRecipe) => EncodeObject; + msgCreateAccount: (data: MsgCreateAccount) => EncodeObject; + msgCreateTrade: (data: MsgCreateTrade) => EncodeObject; + msgUpdateCookbook: (data: MsgUpdateCookbook) => EncodeObject; + msgSendItems: (data: MsgSendItems) => EncodeObject; + msgCreateCookbook: (data: MsgCreateCookbook) => EncodeObject; }>; interface QueryClientOptions { addr: string; diff --git a/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.js b/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.js index 1e9b48c796..f675989492 100644 --- a/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.js +++ b/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.js @@ -2,37 +2,37 @@ import { SigningStargateClient } from "@cosmjs/stargate"; import { Registry } from "@cosmjs/proto-signing"; import { Api } from "./rest"; -import { MsgCreateTrade } from "./types/pylons/tx"; -import { MsgSendItems } from "./types/pylons/tx"; -import { MsgTransferCookbook } from "./types/pylons/tx"; -import { MsgUpdateAccount } from "./types/pylons/tx"; -import { MsgUpdateRecipe } from "./types/pylons/tx"; import { MsgCompleteExecutionEarly } from "./types/pylons/tx"; -import { MsgUpdateCookbook } from "./types/pylons/tx"; +import { MsgTransferCookbook } from "./types/pylons/tx"; import { MsgGoogleInAppPurchaseGetCoins } from "./types/pylons/tx"; -import { MsgCreateCookbook } from "./types/pylons/tx"; -import { MsgCreateRecipe } from "./types/pylons/tx"; import { MsgCancelTrade } from "./types/pylons/tx"; -import { MsgCreateAccount } from "./types/pylons/tx"; +import { MsgUpdateRecipe } from "./types/pylons/tx"; import { MsgFulfillTrade } from "./types/pylons/tx"; -import { MsgExecuteRecipe } from "./types/pylons/tx"; +import { MsgCreateRecipe } from "./types/pylons/tx"; import { MsgSetItemString } from "./types/pylons/tx"; +import { MsgUpdateAccount } from "./types/pylons/tx"; +import { MsgExecuteRecipe } from "./types/pylons/tx"; +import { MsgCreateAccount } from "./types/pylons/tx"; +import { MsgCreateTrade } from "./types/pylons/tx"; +import { MsgUpdateCookbook } from "./types/pylons/tx"; +import { MsgSendItems } from "./types/pylons/tx"; +import { MsgCreateCookbook } from "./types/pylons/tx"; const types = [ - ["/Pylonstech.pylons.pylons.MsgCreateTrade", MsgCreateTrade], - ["/Pylonstech.pylons.pylons.MsgSendItems", MsgSendItems], - ["/Pylonstech.pylons.pylons.MsgTransferCookbook", MsgTransferCookbook], - ["/Pylonstech.pylons.pylons.MsgUpdateAccount", MsgUpdateAccount], - ["/Pylonstech.pylons.pylons.MsgUpdateRecipe", MsgUpdateRecipe], ["/Pylonstech.pylons.pylons.MsgCompleteExecutionEarly", MsgCompleteExecutionEarly], - ["/Pylonstech.pylons.pylons.MsgUpdateCookbook", MsgUpdateCookbook], + ["/Pylonstech.pylons.pylons.MsgTransferCookbook", MsgTransferCookbook], ["/Pylonstech.pylons.pylons.MsgGoogleInAppPurchaseGetCoins", MsgGoogleInAppPurchaseGetCoins], - ["/Pylonstech.pylons.pylons.MsgCreateCookbook", MsgCreateCookbook], - ["/Pylonstech.pylons.pylons.MsgCreateRecipe", MsgCreateRecipe], ["/Pylonstech.pylons.pylons.MsgCancelTrade", MsgCancelTrade], - ["/Pylonstech.pylons.pylons.MsgCreateAccount", MsgCreateAccount], + ["/Pylonstech.pylons.pylons.MsgUpdateRecipe", MsgUpdateRecipe], ["/Pylonstech.pylons.pylons.MsgFulfillTrade", MsgFulfillTrade], - ["/Pylonstech.pylons.pylons.MsgExecuteRecipe", MsgExecuteRecipe], + ["/Pylonstech.pylons.pylons.MsgCreateRecipe", MsgCreateRecipe], ["/Pylonstech.pylons.pylons.MsgSetItemString", MsgSetItemString], + ["/Pylonstech.pylons.pylons.MsgUpdateAccount", MsgUpdateAccount], + ["/Pylonstech.pylons.pylons.MsgExecuteRecipe", MsgExecuteRecipe], + ["/Pylonstech.pylons.pylons.MsgCreateAccount", MsgCreateAccount], + ["/Pylonstech.pylons.pylons.MsgCreateTrade", MsgCreateTrade], + ["/Pylonstech.pylons.pylons.MsgUpdateCookbook", MsgUpdateCookbook], + ["/Pylonstech.pylons.pylons.MsgSendItems", MsgSendItems], + ["/Pylonstech.pylons.pylons.MsgCreateCookbook", MsgCreateCookbook], ]; export const MissingWalletError = new Error("wallet is required"); const registry = new Registry(types); @@ -47,21 +47,21 @@ const txClient = async (wallet, { addr: addr } = { addr: "http://localhost:26657 const { address } = (await wallet.getAccounts())[0]; return { signAndBroadcast: (msgs, { fee, memo } = { fee: defaultFee, memo: "" }) => client.signAndBroadcast(address, msgs, fee, memo), - msgCreateTrade: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateTrade", value: data }), - msgSendItems: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgSendItems", value: data }), - msgTransferCookbook: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgTransferCookbook", value: data }), - msgUpdateAccount: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateAccount", value: data }), - msgUpdateRecipe: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateRecipe", value: data }), msgCompleteExecutionEarly: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCompleteExecutionEarly", value: data }), - msgUpdateCookbook: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateCookbook", value: data }), + msgTransferCookbook: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgTransferCookbook", value: data }), msgGoogleInAppPurchaseGetCoins: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgGoogleInAppPurchaseGetCoins", value: data }), - msgCreateCookbook: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateCookbook", value: data }), - msgCreateRecipe: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateRecipe", value: data }), msgCancelTrade: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCancelTrade", value: data }), - msgCreateAccount: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateAccount", value: data }), + msgUpdateRecipe: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateRecipe", value: data }), msgFulfillTrade: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgFulfillTrade", value: data }), - msgExecuteRecipe: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgExecuteRecipe", value: data }), + msgCreateRecipe: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateRecipe", value: data }), msgSetItemString: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgSetItemString", value: data }), + msgUpdateAccount: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateAccount", value: data }), + msgExecuteRecipe: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgExecuteRecipe", value: data }), + msgCreateAccount: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateAccount", value: data }), + msgCreateTrade: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateTrade", value: data }), + msgUpdateCookbook: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateCookbook", value: data }), + msgSendItems: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgSendItems", value: data }), + msgCreateCookbook: (data) => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateCookbook", value: data }), }; }; const queryClient = async ({ addr: addr } = { addr: "http://localhost:1317" }) => { diff --git a/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.ts b/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.ts index 62b081b7be..8ebd1e63ec 100644 --- a/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.ts +++ b/vue/src/store/generated/Pylons-tech/pylons/Pylonstech.pylons.pylons/module/index.ts @@ -4,39 +4,39 @@ import { StdFee } from "@cosmjs/launchpad"; import { SigningStargateClient } from "@cosmjs/stargate"; import { Registry, OfflineSigner, EncodeObject, DirectSecp256k1HdWallet } from "@cosmjs/proto-signing"; import { Api } from "./rest"; -import { MsgCreateTrade } from "./types/pylons/tx"; -import { MsgSendItems } from "./types/pylons/tx"; -import { MsgTransferCookbook } from "./types/pylons/tx"; -import { MsgUpdateAccount } from "./types/pylons/tx"; -import { MsgUpdateRecipe } from "./types/pylons/tx"; import { MsgCompleteExecutionEarly } from "./types/pylons/tx"; -import { MsgUpdateCookbook } from "./types/pylons/tx"; +import { MsgTransferCookbook } from "./types/pylons/tx"; import { MsgGoogleInAppPurchaseGetCoins } from "./types/pylons/tx"; -import { MsgCreateCookbook } from "./types/pylons/tx"; -import { MsgCreateRecipe } from "./types/pylons/tx"; import { MsgCancelTrade } from "./types/pylons/tx"; -import { MsgCreateAccount } from "./types/pylons/tx"; +import { MsgUpdateRecipe } from "./types/pylons/tx"; import { MsgFulfillTrade } from "./types/pylons/tx"; -import { MsgExecuteRecipe } from "./types/pylons/tx"; +import { MsgCreateRecipe } from "./types/pylons/tx"; import { MsgSetItemString } from "./types/pylons/tx"; +import { MsgUpdateAccount } from "./types/pylons/tx"; +import { MsgExecuteRecipe } from "./types/pylons/tx"; +import { MsgCreateAccount } from "./types/pylons/tx"; +import { MsgCreateTrade } from "./types/pylons/tx"; +import { MsgUpdateCookbook } from "./types/pylons/tx"; +import { MsgSendItems } from "./types/pylons/tx"; +import { MsgCreateCookbook } from "./types/pylons/tx"; const types = [ - ["/Pylonstech.pylons.pylons.MsgCreateTrade", MsgCreateTrade], - ["/Pylonstech.pylons.pylons.MsgSendItems", MsgSendItems], - ["/Pylonstech.pylons.pylons.MsgTransferCookbook", MsgTransferCookbook], - ["/Pylonstech.pylons.pylons.MsgUpdateAccount", MsgUpdateAccount], - ["/Pylonstech.pylons.pylons.MsgUpdateRecipe", MsgUpdateRecipe], ["/Pylonstech.pylons.pylons.MsgCompleteExecutionEarly", MsgCompleteExecutionEarly], - ["/Pylonstech.pylons.pylons.MsgUpdateCookbook", MsgUpdateCookbook], + ["/Pylonstech.pylons.pylons.MsgTransferCookbook", MsgTransferCookbook], ["/Pylonstech.pylons.pylons.MsgGoogleInAppPurchaseGetCoins", MsgGoogleInAppPurchaseGetCoins], - ["/Pylonstech.pylons.pylons.MsgCreateCookbook", MsgCreateCookbook], - ["/Pylonstech.pylons.pylons.MsgCreateRecipe", MsgCreateRecipe], ["/Pylonstech.pylons.pylons.MsgCancelTrade", MsgCancelTrade], - ["/Pylonstech.pylons.pylons.MsgCreateAccount", MsgCreateAccount], + ["/Pylonstech.pylons.pylons.MsgUpdateRecipe", MsgUpdateRecipe], ["/Pylonstech.pylons.pylons.MsgFulfillTrade", MsgFulfillTrade], - ["/Pylonstech.pylons.pylons.MsgExecuteRecipe", MsgExecuteRecipe], + ["/Pylonstech.pylons.pylons.MsgCreateRecipe", MsgCreateRecipe], ["/Pylonstech.pylons.pylons.MsgSetItemString", MsgSetItemString], + ["/Pylonstech.pylons.pylons.MsgUpdateAccount", MsgUpdateAccount], + ["/Pylonstech.pylons.pylons.MsgExecuteRecipe", MsgExecuteRecipe], + ["/Pylonstech.pylons.pylons.MsgCreateAccount", MsgCreateAccount], + ["/Pylonstech.pylons.pylons.MsgCreateTrade", MsgCreateTrade], + ["/Pylonstech.pylons.pylons.MsgUpdateCookbook", MsgUpdateCookbook], + ["/Pylonstech.pylons.pylons.MsgSendItems", MsgSendItems], + ["/Pylonstech.pylons.pylons.MsgCreateCookbook", MsgCreateCookbook], ]; export const MissingWalletError = new Error("wallet is required"); @@ -65,21 +65,21 @@ const txClient = async (wallet: OfflineSigner, { addr: addr }: TxClientOptions = return { signAndBroadcast: (msgs: EncodeObject[], { fee, memo }: SignAndBroadcastOptions = {fee: defaultFee, memo: ""}) => client.signAndBroadcast(address, msgs, fee,memo), - msgCreateTrade: (data: MsgCreateTrade): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateTrade", value: data }), - msgSendItems: (data: MsgSendItems): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgSendItems", value: data }), - msgTransferCookbook: (data: MsgTransferCookbook): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgTransferCookbook", value: data }), - msgUpdateAccount: (data: MsgUpdateAccount): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateAccount", value: data }), - msgUpdateRecipe: (data: MsgUpdateRecipe): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateRecipe", value: data }), msgCompleteExecutionEarly: (data: MsgCompleteExecutionEarly): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCompleteExecutionEarly", value: data }), - msgUpdateCookbook: (data: MsgUpdateCookbook): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateCookbook", value: data }), + msgTransferCookbook: (data: MsgTransferCookbook): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgTransferCookbook", value: data }), msgGoogleInAppPurchaseGetCoins: (data: MsgGoogleInAppPurchaseGetCoins): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgGoogleInAppPurchaseGetCoins", value: data }), - msgCreateCookbook: (data: MsgCreateCookbook): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateCookbook", value: data }), - msgCreateRecipe: (data: MsgCreateRecipe): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateRecipe", value: data }), msgCancelTrade: (data: MsgCancelTrade): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCancelTrade", value: data }), - msgCreateAccount: (data: MsgCreateAccount): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateAccount", value: data }), + msgUpdateRecipe: (data: MsgUpdateRecipe): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateRecipe", value: data }), msgFulfillTrade: (data: MsgFulfillTrade): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgFulfillTrade", value: data }), - msgExecuteRecipe: (data: MsgExecuteRecipe): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgExecuteRecipe", value: data }), + msgCreateRecipe: (data: MsgCreateRecipe): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateRecipe", value: data }), msgSetItemString: (data: MsgSetItemString): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgSetItemString", value: data }), + msgUpdateAccount: (data: MsgUpdateAccount): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateAccount", value: data }), + msgExecuteRecipe: (data: MsgExecuteRecipe): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgExecuteRecipe", value: data }), + msgCreateAccount: (data: MsgCreateAccount): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateAccount", value: data }), + msgCreateTrade: (data: MsgCreateTrade): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateTrade", value: data }), + msgUpdateCookbook: (data: MsgUpdateCookbook): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgUpdateCookbook", value: data }), + msgSendItems: (data: MsgSendItems): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgSendItems", value: data }), + msgCreateCookbook: (data: MsgCreateCookbook): EncodeObject => ({ typeUrl: "/Pylonstech.pylons.pylons.MsgCreateCookbook", value: data }), }; };