bitbadges 0.45.0 → 0.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builder/agent/BitBadgesBuilderAgent.d.ts.map +1 -1
- package/dist/cjs/builder/agent/BitBadgesBuilderAgent.js +2 -0
- package/dist/cjs/builder/agent/BitBadgesBuilderAgent.js.map +1 -1
- package/dist/cjs/builder/agent/index.d.ts +1 -0
- package/dist/cjs/builder/agent/index.d.ts.map +1 -1
- package/dist/cjs/builder/agent/index.js +6 -1
- package/dist/cjs/builder/agent/index.js.map +1 -1
- package/dist/cjs/builder/agent/types.d.ts +1 -0
- package/dist/cjs/builder/agent/types.d.ts.map +1 -1
- package/dist/cjs/builder/handoff.d.ts +5 -0
- package/dist/cjs/builder/handoff.d.ts.map +1 -0
- package/dist/cjs/builder/handoff.js +45 -0
- package/dist/cjs/builder/handoff.js.map +1 -0
- package/dist/cjs/builder/handoff.spec.d.ts +2 -0
- package/dist/cjs/builder/handoff.spec.d.ts.map +1 -0
- package/dist/cjs/builder/handoff.spec.js +35 -0
- package/dist/cjs/builder/handoff.spec.js.map +1 -0
- package/dist/cjs/builder/resources/masterPrompt.js +2 -2
- package/dist/cjs/builder/resources/workflows.js +3 -3
- package/dist/cjs/builder/tools/registry.d.ts.map +1 -1
- package/dist/cjs/builder/tools/registry.js +1 -0
- package/dist/cjs/builder/tools/registry.js.map +1 -1
- package/dist/cjs/builder/tools/session/getReviewUrl.d.ts +54 -0
- package/dist/cjs/builder/tools/session/getReviewUrl.d.ts.map +1 -0
- package/dist/cjs/builder/tools/session/getReviewUrl.js +76 -0
- package/dist/cjs/builder/tools/session/getReviewUrl.js.map +1 -0
- package/dist/cjs/builder/tools/session/getReviewUrl.spec.d.ts +2 -0
- package/dist/cjs/builder/tools/session/getReviewUrl.spec.d.ts.map +1 -0
- package/dist/cjs/builder/tools/session/getReviewUrl.spec.js +67 -0
- package/dist/cjs/builder/tools/session/getReviewUrl.spec.js.map +1 -0
- package/dist/cjs/builder/tools/session/index.d.ts +1 -0
- package/dist/cjs/builder/tools/session/index.d.ts.map +1 -1
- package/dist/cjs/builder/tools/session/index.js +1 -0
- package/dist/cjs/builder/tools/session/index.js.map +1 -1
- package/dist/cjs/cli/commands/build.d.ts.map +1 -1
- package/dist/cjs/cli/commands/build.js +7 -1
- package/dist/cjs/cli/commands/build.js.map +1 -1
- package/dist/cjs/cli/commands/preview.d.ts.map +1 -1
- package/dist/cjs/cli/commands/preview.js +18 -4
- package/dist/cjs/cli/commands/preview.js.map +1 -1
- package/dist/cjs/cli/commands/preview.spec.js +18 -0
- package/dist/cjs/cli/commands/preview.spec.js.map +1 -1
- package/dist/cjs/cli/utils/first-run.d.ts.map +1 -1
- package/dist/cjs/cli/utils/first-run.js +6 -0
- package/dist/cjs/cli/utils/first-run.js.map +1 -1
- package/dist/cjs/cli/utils/next-step.d.ts +7 -0
- package/dist/cjs/cli/utils/next-step.d.ts.map +1 -0
- package/dist/cjs/cli/utils/next-step.js +10 -0
- package/dist/cjs/cli/utils/next-step.js.map +1 -0
- package/dist/cjs/cli/utils/next-step.spec.d.ts +2 -0
- package/dist/cjs/cli/utils/next-step.spec.d.ts.map +1 -0
- package/dist/cjs/cli/utils/next-step.spec.js +21 -0
- package/dist/cjs/cli/utils/next-step.spec.js.map +1 -0
- package/dist/cjs/eip712/eip712-integration.spec.js +18 -14
- package/dist/cjs/eip712/eip712-integration.spec.js.map +1 -1
- package/dist/cjs/eip712/module-messages.spec.d.ts +2 -0
- package/dist/cjs/eip712/module-messages.spec.d.ts.map +1 -0
- package/dist/cjs/eip712/module-messages.spec.js +154 -0
- package/dist/cjs/eip712/module-messages.spec.js.map +1 -0
- package/dist/cjs/proto/index.d.ts +1 -0
- package/dist/cjs/proto/index.d.ts.map +1 -1
- package/dist/cjs/proto/index.js +2 -1
- package/dist/cjs/proto/index.js.map +1 -1
- package/dist/cjs/proto/sendmanager/index.d.ts +2 -0
- package/dist/cjs/proto/sendmanager/index.d.ts.map +1 -0
- package/dist/cjs/proto/sendmanager/index.js +38 -0
- package/dist/cjs/proto/sendmanager/index.js.map +1 -0
- package/dist/cjs/proto/sendmanager/v1/index.d.ts +3 -0
- package/dist/cjs/proto/sendmanager/v1/index.d.ts.map +1 -0
- package/dist/cjs/proto/sendmanager/v1/index.js +19 -0
- package/dist/cjs/proto/sendmanager/v1/index.js.map +1 -0
- package/dist/cjs/proto/sendmanager/v1/params_pb.d.ts +13 -0
- package/dist/cjs/proto/sendmanager/v1/params_pb.d.ts.map +1 -0
- package/dist/cjs/proto/sendmanager/v1/params_pb.js +27 -0
- package/dist/cjs/proto/sendmanager/v1/params_pb.js.map +1 -0
- package/dist/cjs/proto/sendmanager/v1/tx_pb.d.ts +50 -0
- package/dist/cjs/proto/sendmanager/v1/tx_pb.d.ts.map +1 -0
- package/dist/cjs/proto/sendmanager/v1/tx_pb.js +106 -0
- package/dist/cjs/proto/sendmanager/v1/tx_pb.js.map +1 -0
- package/dist/cjs/transactions/amino/objectConverter.d.ts.map +1 -1
- package/dist/cjs/transactions/amino/objectConverter.js +6 -5
- package/dist/cjs/transactions/amino/objectConverter.js.map +1 -1
- package/dist/cjs/transactions/amino/registry.d.ts +9 -1
- package/dist/cjs/transactions/amino/registry.d.ts.map +1 -1
- package/dist/cjs/transactions/amino/registry.js +69 -66
- package/dist/cjs/transactions/amino/registry.js.map +1 -1
- package/dist/cjs/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/builder/agent/BitBadgesBuilderAgent.d.ts.map +1 -1
- package/dist/esm/builder/agent/BitBadgesBuilderAgent.js +2 -0
- package/dist/esm/builder/agent/BitBadgesBuilderAgent.js.map +1 -1
- package/dist/esm/builder/agent/index.d.ts +1 -0
- package/dist/esm/builder/agent/index.d.ts.map +1 -1
- package/dist/esm/builder/agent/index.js +1 -0
- package/dist/esm/builder/agent/index.js.map +1 -1
- package/dist/esm/builder/agent/types.d.ts +1 -0
- package/dist/esm/builder/agent/types.d.ts.map +1 -1
- package/dist/esm/builder/handoff.d.ts +5 -0
- package/dist/esm/builder/handoff.d.ts.map +1 -0
- package/dist/esm/builder/handoff.js +39 -0
- package/dist/esm/builder/handoff.js.map +1 -0
- package/dist/esm/builder/handoff.spec.d.ts +2 -0
- package/dist/esm/builder/handoff.spec.d.ts.map +1 -0
- package/dist/esm/builder/handoff.spec.js +33 -0
- package/dist/esm/builder/handoff.spec.js.map +1 -0
- package/dist/esm/builder/resources/masterPrompt.js +2 -2
- package/dist/esm/builder/resources/workflows.js +3 -3
- package/dist/esm/builder/tools/registry.d.ts.map +1 -1
- package/dist/esm/builder/tools/registry.js +2 -1
- package/dist/esm/builder/tools/registry.js.map +1 -1
- package/dist/esm/builder/tools/session/getReviewUrl.d.ts +54 -0
- package/dist/esm/builder/tools/session/getReviewUrl.d.ts.map +1 -0
- package/dist/esm/builder/tools/session/getReviewUrl.js +71 -0
- package/dist/esm/builder/tools/session/getReviewUrl.js.map +1 -0
- package/dist/esm/builder/tools/session/getReviewUrl.spec.d.ts +2 -0
- package/dist/esm/builder/tools/session/getReviewUrl.spec.d.ts.map +1 -0
- package/dist/esm/builder/tools/session/getReviewUrl.spec.js +65 -0
- package/dist/esm/builder/tools/session/getReviewUrl.spec.js.map +1 -0
- package/dist/esm/builder/tools/session/index.d.ts +1 -0
- package/dist/esm/builder/tools/session/index.d.ts.map +1 -1
- package/dist/esm/builder/tools/session/index.js +1 -0
- package/dist/esm/builder/tools/session/index.js.map +1 -1
- package/dist/esm/cli/commands/build.d.ts.map +1 -1
- package/dist/esm/cli/commands/build.js +7 -1
- package/dist/esm/cli/commands/build.js.map +1 -1
- package/dist/esm/cli/commands/preview.d.ts.map +1 -1
- package/dist/esm/cli/commands/preview.js +18 -4
- package/dist/esm/cli/commands/preview.js.map +1 -1
- package/dist/esm/cli/commands/preview.spec.js +18 -0
- package/dist/esm/cli/commands/preview.spec.js.map +1 -1
- package/dist/esm/cli/utils/first-run.d.ts.map +1 -1
- package/dist/esm/cli/utils/first-run.js +6 -0
- package/dist/esm/cli/utils/first-run.js.map +1 -1
- package/dist/esm/cli/utils/next-step.d.ts +7 -0
- package/dist/esm/cli/utils/next-step.d.ts.map +1 -0
- package/dist/esm/cli/utils/next-step.js +7 -0
- package/dist/esm/cli/utils/next-step.js.map +1 -0
- package/dist/esm/cli/utils/next-step.spec.d.ts +2 -0
- package/dist/esm/cli/utils/next-step.spec.d.ts.map +1 -0
- package/dist/esm/cli/utils/next-step.spec.js +19 -0
- package/dist/esm/cli/utils/next-step.spec.js.map +1 -0
- package/dist/esm/eip712/eip712-integration.spec.js +4 -0
- package/dist/esm/eip712/eip712-integration.spec.js.map +1 -1
- package/dist/esm/eip712/module-messages.spec.d.ts +2 -0
- package/dist/esm/eip712/module-messages.spec.d.ts.map +1 -0
- package/dist/esm/eip712/module-messages.spec.js +119 -0
- package/dist/esm/eip712/module-messages.spec.js.map +1 -0
- package/dist/esm/proto/index.d.ts +1 -0
- package/dist/esm/proto/index.d.ts.map +1 -1
- package/dist/esm/proto/index.js +1 -0
- package/dist/esm/proto/index.js.map +1 -1
- package/dist/esm/proto/sendmanager/index.d.ts +2 -0
- package/dist/esm/proto/sendmanager/index.d.ts.map +1 -0
- package/dist/esm/proto/sendmanager/index.js +2 -0
- package/dist/esm/proto/sendmanager/index.js.map +1 -0
- package/dist/esm/proto/sendmanager/v1/index.d.ts +3 -0
- package/dist/esm/proto/sendmanager/v1/index.d.ts.map +1 -0
- package/dist/esm/proto/sendmanager/v1/index.js +3 -0
- package/dist/esm/proto/sendmanager/v1/index.js.map +1 -0
- package/dist/esm/proto/sendmanager/v1/params_pb.d.ts +13 -0
- package/dist/esm/proto/sendmanager/v1/params_pb.d.ts.map +1 -0
- package/dist/esm/proto/sendmanager/v1/params_pb.js +23 -0
- package/dist/esm/proto/sendmanager/v1/params_pb.js.map +1 -0
- package/dist/esm/proto/sendmanager/v1/tx_pb.d.ts +50 -0
- package/dist/esm/proto/sendmanager/v1/tx_pb.d.ts.map +1 -0
- package/dist/esm/proto/sendmanager/v1/tx_pb.js +100 -0
- package/dist/esm/proto/sendmanager/v1/tx_pb.js.map +1 -0
- package/dist/esm/transactions/amino/objectConverter.d.ts.map +1 -1
- package/dist/esm/transactions/amino/objectConverter.js +2 -1
- package/dist/esm/transactions/amino/objectConverter.js.map +1 -1
- package/dist/esm/transactions/amino/registry.d.ts +9 -1
- package/dist/esm/transactions/amino/registry.d.ts.map +1 -1
- package/dist/esm/transactions/amino/registry.js +3 -0
- package/dist/esm/transactions/amino/registry.js.map +1 -1
- package/dist/esm/tsconfig-esm.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-messages.spec.d.ts","sourceRoot":"","sources":["../../../src/eip712/module-messages.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
const fs_1 = require("fs");
|
|
37
|
+
const path_1 = require("path");
|
|
38
|
+
const ethers_1 = require("ethers");
|
|
39
|
+
const gamm = __importStar(require("../proto/gamm/v1beta1/tx_pb.js"));
|
|
40
|
+
const tx_pb_js_1 = require("../proto/gamm/poolmodels/balancer/tx_pb.js");
|
|
41
|
+
const tx_pb_js_2 = require("../proto/sendmanager/v1/tx_pb.js");
|
|
42
|
+
const converter_js_1 = require("../address-converter/converter.js");
|
|
43
|
+
const utils_js_1 = require("../transactions/messages/utils.js");
|
|
44
|
+
const base_js_1 = require("../transactions/messages/base.js");
|
|
45
|
+
const transaction_js_1 = require("../transactions/messages/transaction.js");
|
|
46
|
+
const signDoc_js_1 = require("../transactions/messages/signDoc.js");
|
|
47
|
+
const build_js_1 = require("./build.js");
|
|
48
|
+
const broadcast_js_1 = require("./broadcast.js");
|
|
49
|
+
const hash_js_1 = require("./hash.js");
|
|
50
|
+
const verify_js_1 = require("./verify.js");
|
|
51
|
+
const tx_pb_js_3 = require("../proto/cosmos/tx/v1beta1/tx_pb.js");
|
|
52
|
+
const wallet = new ethers_1.Wallet('0x' + '1'.padStart(64, '0'));
|
|
53
|
+
const sender = (0, converter_js_1.convertToBitBadgesAddress)(wallet.address);
|
|
54
|
+
const coin = { denom: 'ubadge', amount: '100' };
|
|
55
|
+
const pool = { sender, poolId: 1n };
|
|
56
|
+
const swap = { sender, routes: [{ poolId: 1n, tokenOutDenom: 'other' }], tokenIn: coin, tokenOutMinAmount: '1' };
|
|
57
|
+
const messages = [
|
|
58
|
+
new gamm.MsgJoinPool({ ...pool, shareOutAmount: '1', tokenInMaxs: [coin] }),
|
|
59
|
+
new gamm.MsgExitPool({ ...pool, shareInAmount: '1', tokenOutMins: [coin] }),
|
|
60
|
+
new gamm.MsgSwapExactAmountIn(swap),
|
|
61
|
+
new gamm.MsgSwapExactAmountOut({ sender, routes: [{ poolId: 1n, tokenInDenom: 'other' }], tokenOut: coin, tokenInMaxAmount: '1000' }),
|
|
62
|
+
new gamm.MsgJoinSwapExternAmountIn({ ...pool, tokenIn: coin, shareOutMinAmount: '1' }),
|
|
63
|
+
new gamm.MsgJoinSwapShareAmountOut({ ...pool, tokenInDenom: 'ubadge', shareOutAmount: '1', tokenInMaxAmount: '1000' }),
|
|
64
|
+
new gamm.MsgExitSwapExternAmountOut({ ...pool, tokenOut: coin, shareInMaxAmount: '1000' }),
|
|
65
|
+
new gamm.MsgExitSwapShareAmountIn({ ...pool, tokenOutDenom: 'ubadge', shareInAmount: '1', tokenOutMinAmount: '1' }),
|
|
66
|
+
new gamm.MsgSwapExactAmountInWithIBCTransfer({
|
|
67
|
+
...swap,
|
|
68
|
+
ibcTransferInfo: { sourceChannel: 'channel-0', receiver: sender, timeoutTimestamp: 1900000000000000000n }
|
|
69
|
+
}),
|
|
70
|
+
new tx_pb_js_1.MsgCreateBalancerPool({
|
|
71
|
+
sender,
|
|
72
|
+
poolParams: { swapFee: '3000000000000000', exitFee: '0' },
|
|
73
|
+
poolAssets: [
|
|
74
|
+
{ token: coin, weight: '1' },
|
|
75
|
+
{ token: { denom: 'other', amount: '100' }, weight: '1' }
|
|
76
|
+
]
|
|
77
|
+
}),
|
|
78
|
+
new tx_pb_js_2.MsgSendWithAliasRouting({ fromAddress: sender, toAddress: sender, amount: [coin] }),
|
|
79
|
+
new tx_pb_js_2.MsgUpdateParams({ authority: sender, params: {} })
|
|
80
|
+
];
|
|
81
|
+
const fee = { amount: '3000000', denom: 'ubadge', gas: 300000 };
|
|
82
|
+
it.each(messages.map((message) => ({ name: message.getType().typeName, message })))('$name exposes typed data through the frontend payload factory', ({ message }) => {
|
|
83
|
+
const payload = (0, base_js_1.createTransactionPayload)({
|
|
84
|
+
chainIdOverride: 'bitbadges-1',
|
|
85
|
+
eip155ChainIdOverride: 50024,
|
|
86
|
+
sender: {
|
|
87
|
+
address: sender,
|
|
88
|
+
sequence: 0n,
|
|
89
|
+
accountNumber: 1n,
|
|
90
|
+
publicKey: Buffer.from((0, ethers_1.getBytes)(wallet.signingKey.compressedPublicKey)).toString('base64')
|
|
91
|
+
},
|
|
92
|
+
evmAddress: wallet.address,
|
|
93
|
+
fee: { ...fee, gas: String(fee.gas) },
|
|
94
|
+
memo: 'module sign-in intent'
|
|
95
|
+
}, message);
|
|
96
|
+
expect(payload.eip712).toBeDefined();
|
|
97
|
+
expect((0, hash_js_1.hashTypedData)(payload.eip712)).toEqual((0, hash_js_1.hashTypedData)((0, build_js_1.buildEIP712TypedData)({
|
|
98
|
+
messages: [(0, utils_js_1.createProtoMsg)(message)],
|
|
99
|
+
cosmosChainId: 'bitbadges-1',
|
|
100
|
+
eip155ChainId: 50024,
|
|
101
|
+
accountNumber: 1n,
|
|
102
|
+
sequence: 0n,
|
|
103
|
+
memo: 'module sign-in intent',
|
|
104
|
+
fee
|
|
105
|
+
})));
|
|
106
|
+
});
|
|
107
|
+
const fixtures = messages.map((msg) => {
|
|
108
|
+
const encoded = [(0, utils_js_1.createProtoMsg)(msg)];
|
|
109
|
+
const args = {
|
|
110
|
+
messages: encoded,
|
|
111
|
+
cosmosChainId: 'bitbadges-1',
|
|
112
|
+
eip155ChainId: 50024,
|
|
113
|
+
accountNumber: 1n,
|
|
114
|
+
sequence: 0n,
|
|
115
|
+
memo: 'module sign-in intent',
|
|
116
|
+
fee
|
|
117
|
+
};
|
|
118
|
+
const typed = (0, build_js_1.buildEIP712TypedData)(args);
|
|
119
|
+
const digest = (0, hash_js_1.hashTypedData)(typed);
|
|
120
|
+
const tx = (0, broadcast_js_1.buildEip712TxRaw)({
|
|
121
|
+
...args,
|
|
122
|
+
compressedPubKey: (0, ethers_1.getBytes)(wallet.signingKey.compressedPublicKey),
|
|
123
|
+
signatureHex: wallet.signingKey.sign(digest).serialized
|
|
124
|
+
});
|
|
125
|
+
return {
|
|
126
|
+
name: msg.getType().typeName,
|
|
127
|
+
tx,
|
|
128
|
+
signDoc: (0, signDoc_js_1.makeSignDoc)((0, transaction_js_1.convertProtoMessagesToAmino)(encoded), { amount: [{ denom: fee.denom, amount: fee.amount }], gas: String(fee.gas) }, args.cosmosChainId, args.memo, 1, 0),
|
|
129
|
+
hash: Buffer.from(digest).toString('hex')
|
|
130
|
+
};
|
|
131
|
+
});
|
|
132
|
+
it.each(fixtures)('$name signs and verifies with the transaction sign-in verifier', async ({ tx }) => {
|
|
133
|
+
const options = { cosmosChainId: 'bitbadges-1', eip155ChainId: 50024, getAccountNumber: async () => 1n };
|
|
134
|
+
expect(await (0, verify_js_1.verifyEip712Tx)(tx.toBinary(), options)).toEqual({ signer: sender, memo: 'module sign-in intent' });
|
|
135
|
+
const body = tx_pb_js_3.TxBody.fromBinary(tx.bodyBytes);
|
|
136
|
+
body.memo = 'tampered';
|
|
137
|
+
const tampered = tx.clone();
|
|
138
|
+
tampered.bodyBytes = body.toBinary();
|
|
139
|
+
await expect((0, verify_js_1.verifyEip712Tx)(tampered.toBinary(), options)).rejects.toThrow();
|
|
140
|
+
});
|
|
141
|
+
it('matches the cross-repo chain hash fixtures', () => {
|
|
142
|
+
const expected = fixtures.map(({ name, signDoc, hash, tx }) => ({
|
|
143
|
+
name,
|
|
144
|
+
signDoc,
|
|
145
|
+
hash,
|
|
146
|
+
signer: sender,
|
|
147
|
+
txBytes: Buffer.from(tx.toBinary()).toString('base64')
|
|
148
|
+
}));
|
|
149
|
+
const path = (0, path_1.join)(__dirname, 'module-messages.fixture.json');
|
|
150
|
+
if (process.env.UPDATE_EIP712_MODULE_FIXTURES === '1')
|
|
151
|
+
(0, fs_1.writeFileSync)(path, JSON.stringify(expected, null, 2) + '\n');
|
|
152
|
+
expect(expected).toEqual(JSON.parse((0, fs_1.readFileSync)(path, 'utf8')));
|
|
153
|
+
});
|
|
154
|
+
//# sourceMappingURL=module-messages.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-messages.spec.js","sourceRoot":"","sources":["../../../src/eip712/module-messages.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAiD;AAEjD,+BAA4B;AAC5B,mCAA0C;AAC1C,qEAAuD;AACvD,yEAAmF;AACnF,+DAA4F;AAC5F,oEAA8E;AAC9E,gEAAmE;AACnE,8DAA4E;AAC5E,4EAAsF;AACtF,oEAAkE;AAClE,yCAAkD;AAClD,iDAAkD;AAClD,uCAA0C;AAC1C,2CAA6C;AAC7C,kEAA6D;AAE7D,MAAM,MAAM,GAAG,IAAI,eAAM,CAAC,IAAI,GAAG,GAAG,CAAC,QAAQ,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC;AACxD,MAAM,MAAM,GAAG,IAAA,wCAAyB,EAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACzD,MAAM,IAAI,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;AAChD,MAAM,IAAI,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;AACpC,MAAM,IAAI,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,GAAG,EAAE,CAAC;AACjH,MAAM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AC,QAAQ,EAAE,CAAC;IACrC,MAAM,MAAM,CAAC,IAAA,0BAAc,EAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;AAC/E,CAAC,CAAC,CAAC;AACH,EAAE,CAAC,4CAA4C,EAAE,GAAG,EAAE;IACpD,MAAM,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAC9D,IAAI;QACJ,OAAO;QACP,IAAI;QACJ,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;KACvD,CAAC,CAAC,CAAC;IACJ,MAAM,IAAI,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,8BAA8B,CAAC,CAAC;IAC7D,IAAI,OAAO,CAAC,GAAG,CAAC,6BAA6B,KAAK,GAAG;QAAE,IAAA,kBAAa,EAAC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IACrH,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAA,iBAAY,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;AACnE,CAAC,CAAC,CAAC"}
|
|
@@ -9,4 +9,5 @@ export * as tendermint from './tendermint/index.js';
|
|
|
9
9
|
export * as maps from './maps/index.js';
|
|
10
10
|
export * as ibc from './ibc/index.js';
|
|
11
11
|
export * as gamm from './gamm/index.js';
|
|
12
|
+
export * as sendmanager from './sendmanager/index.js';
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/proto/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,cAAc,gBAAgB,CAAC;AAC/B,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/proto/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,cAAc,gBAAgB,CAAC;AAC/B,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC"}
|
package/dist/cjs/proto/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.gamm = exports.ibc = exports.maps = exports.tendermint = exports.protocols = exports.google = exports.cosmwasm = exports.cosmos_proto = exports.cosmos = exports.tokenization = void 0;
|
|
39
|
+
exports.sendmanager = exports.gamm = exports.ibc = exports.maps = exports.tendermint = exports.protocols = exports.google = exports.cosmwasm = exports.cosmos_proto = exports.cosmos = exports.tokenization = void 0;
|
|
40
40
|
exports.tokenization = __importStar(require("./tokenization/index.js"));
|
|
41
41
|
exports.cosmos = __importStar(require("./cosmos/index.js"));
|
|
42
42
|
exports.cosmos_proto = __importStar(require("./cosmos_proto/index.js"));
|
|
@@ -48,4 +48,5 @@ exports.tendermint = __importStar(require("./tendermint/index.js"));
|
|
|
48
48
|
exports.maps = __importStar(require("./maps/index.js"));
|
|
49
49
|
exports.ibc = __importStar(require("./ibc/index.js"));
|
|
50
50
|
exports.gamm = __importStar(require("./gamm/index.js"));
|
|
51
|
+
exports.sendmanager = __importStar(require("./sendmanager/index.js"));
|
|
51
52
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/proto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wEAAwD;AACxD,4DAA4C;AAC5C,wEAAwD;AACxD,gEAAgD;AAChD,4DAA4C;AAC5C,iDAA+B;AAC/B,kEAAkD;AAClD,oEAAoD;AACpD,wDAAwC;AACxC,sDAAsC;AACtC,wDAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/proto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wEAAwD;AACxD,4DAA4C;AAC5C,wEAAwD;AACxD,gEAAgD;AAChD,4DAA4C;AAC5C,iDAA+B;AAC/B,kEAAkD;AAClD,oEAAoD;AACpD,wDAAwC;AACxC,sDAAsC;AACtC,wDAAwC;AACxC,sEAAsD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/proto/sendmanager/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.v1 = void 0;
|
|
37
|
+
exports.v1 = __importStar(require("./v1/index.js"));
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/proto/sendmanager/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/proto/sendmanager/v1/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./tx_pb.js"), exports);
|
|
18
|
+
__exportStar(require("./params_pb.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/sendmanager/v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,iDAA+B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
export declare class Params extends Message<Params> {
|
|
4
|
+
constructor(data?: PartialMessage<Params>);
|
|
5
|
+
static readonly runtime: typeof proto3;
|
|
6
|
+
static readonly typeName = "sendmanager.Params";
|
|
7
|
+
static readonly fields: FieldList;
|
|
8
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Params;
|
|
9
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Params;
|
|
10
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Params;
|
|
11
|
+
static equals(a: Params | PlainMessage<Params> | undefined, b: Params | PlainMessage<Params> | undefined): boolean;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=params_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"params_pb.d.ts","sourceRoot":"","sources":["../../../../../src/proto/sendmanager/v1/params_pb.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAOrD,qBAAa,MAAO,SAAQ,OAAO,CAAC,MAAM,CAAC;gBAC7B,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IAKzC,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,wBAAwB;IAChD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAC9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,MAAM;IAIlF,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,MAAM;IAIjF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,MAAM;IAIrF,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnH"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Params = void 0;
|
|
4
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
|
+
class Params extends protobuf_1.Message {
|
|
6
|
+
constructor(data) {
|
|
7
|
+
super();
|
|
8
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
9
|
+
}
|
|
10
|
+
static fromBinary(bytes, options) {
|
|
11
|
+
return new Params().fromBinary(bytes, options);
|
|
12
|
+
}
|
|
13
|
+
static fromJson(jsonValue, options) {
|
|
14
|
+
return new Params().fromJson(jsonValue, options);
|
|
15
|
+
}
|
|
16
|
+
static fromJsonString(jsonString, options) {
|
|
17
|
+
return new Params().fromJsonString(jsonString, options);
|
|
18
|
+
}
|
|
19
|
+
static equals(a, b) {
|
|
20
|
+
return protobuf_1.proto3.util.equals(Params, a, b);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.Params = Params;
|
|
24
|
+
Params.runtime = protobuf_1.proto3;
|
|
25
|
+
Params.typeName = "sendmanager.Params";
|
|
26
|
+
Params.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
27
|
+
//# sourceMappingURL=params_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"params_pb.js","sourceRoot":"","sources":["../../../../../src/proto/sendmanager/v1/params_pb.ts"],"names":[],"mappings":";;;AAMA,iDAAqD;AAOrD,MAAa,MAAO,SAAQ,kBAAe;IACzC,YAAY,IAA6B;QACvC,KAAK,EAAE,CAAC;QACR,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IAOD,MAAM,CAAC,UAAU,CAAC,KAAiB,EAAE,OAAoC;QACvE,OAAO,IAAI,MAAM,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,SAAoB,EAAE,OAAkC;QACtE,OAAO,IAAI,MAAM,EAAE,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,UAAkB,EAAE,OAAkC;QAC1E,OAAO,IAAI,MAAM,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,CAA4C,EAAE,CAA4C;QACtG,OAAO,iBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC1C,CAAC;;AAzBH,wBA0BC;AApBiB,cAAO,GAAkB,iBAAM,CAAC;AAChC,eAAQ,GAAG,oBAAoB,CAAC;AAChC,aAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,EAClE,CAAC,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { Params } from "./params_pb.js";
|
|
4
|
+
import { Coin } from "../../cosmos/base/v1beta1/coin_pb.js";
|
|
5
|
+
export declare class MsgUpdateParams extends Message<MsgUpdateParams> {
|
|
6
|
+
authority: string;
|
|
7
|
+
params?: Params;
|
|
8
|
+
constructor(data?: PartialMessage<MsgUpdateParams>);
|
|
9
|
+
static readonly runtime: typeof proto3;
|
|
10
|
+
static readonly typeName = "sendmanager.MsgUpdateParams";
|
|
11
|
+
static readonly fields: FieldList;
|
|
12
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgUpdateParams;
|
|
13
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgUpdateParams;
|
|
14
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgUpdateParams;
|
|
15
|
+
static equals(a: MsgUpdateParams | PlainMessage<MsgUpdateParams> | undefined, b: MsgUpdateParams | PlainMessage<MsgUpdateParams> | undefined): boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class MsgUpdateParamsResponse extends Message<MsgUpdateParamsResponse> {
|
|
18
|
+
constructor(data?: PartialMessage<MsgUpdateParamsResponse>);
|
|
19
|
+
static readonly runtime: typeof proto3;
|
|
20
|
+
static readonly typeName = "sendmanager.MsgUpdateParamsResponse";
|
|
21
|
+
static readonly fields: FieldList;
|
|
22
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgUpdateParamsResponse;
|
|
23
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgUpdateParamsResponse;
|
|
24
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgUpdateParamsResponse;
|
|
25
|
+
static equals(a: MsgUpdateParamsResponse | PlainMessage<MsgUpdateParamsResponse> | undefined, b: MsgUpdateParamsResponse | PlainMessage<MsgUpdateParamsResponse> | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
export declare class MsgSendWithAliasRouting extends Message<MsgSendWithAliasRouting> {
|
|
28
|
+
fromAddress: string;
|
|
29
|
+
toAddress: string;
|
|
30
|
+
amount: Coin[];
|
|
31
|
+
constructor(data?: PartialMessage<MsgSendWithAliasRouting>);
|
|
32
|
+
static readonly runtime: typeof proto3;
|
|
33
|
+
static readonly typeName = "sendmanager.MsgSendWithAliasRouting";
|
|
34
|
+
static readonly fields: FieldList;
|
|
35
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgSendWithAliasRouting;
|
|
36
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgSendWithAliasRouting;
|
|
37
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgSendWithAliasRouting;
|
|
38
|
+
static equals(a: MsgSendWithAliasRouting | PlainMessage<MsgSendWithAliasRouting> | undefined, b: MsgSendWithAliasRouting | PlainMessage<MsgSendWithAliasRouting> | undefined): boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare class MsgSendWithAliasRoutingResponse extends Message<MsgSendWithAliasRoutingResponse> {
|
|
41
|
+
constructor(data?: PartialMessage<MsgSendWithAliasRoutingResponse>);
|
|
42
|
+
static readonly runtime: typeof proto3;
|
|
43
|
+
static readonly typeName = "sendmanager.MsgSendWithAliasRoutingResponse";
|
|
44
|
+
static readonly fields: FieldList;
|
|
45
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgSendWithAliasRoutingResponse;
|
|
46
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgSendWithAliasRoutingResponse;
|
|
47
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgSendWithAliasRoutingResponse;
|
|
48
|
+
static equals(a: MsgSendWithAliasRoutingResponse | PlainMessage<MsgSendWithAliasRoutingResponse> | undefined, b: MsgSendWithAliasRoutingResponse | PlainMessage<MsgSendWithAliasRoutingResponse> | undefined): boolean;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=tx_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tx_pb.d.ts","sourceRoot":"","sources":["../../../../../src/proto/sendmanager/v1/tx_pb.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AAO5D,qBAAa,eAAgB,SAAQ,OAAO,CAAC,eAAe,CAAC;IAM3D,SAAS,SAAM;IASf,MAAM,CAAC,EAAE,MAAM,CAAC;gBAEJ,IAAI,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC;IAKlD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,iCAAiC;IACzD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAG9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,eAAe;IAI3F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAA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eAAe,CAAC,GAAG,+BAA+B;IAI1G,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,+BAA+B;IAI9G,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,+BAA+B,GAAG,YAAY,CAAC,+BAA+B,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,+BAA+B,GAAG,YAAY,CAAC,+BAA+B,CAAC,GAAG,SAAS,GAAG,OAAO;CAGvN"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsgSendWithAliasRoutingResponse = exports.MsgSendWithAliasRouting = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = void 0;
|
|
4
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
|
+
const params_pb_js_1 = require("./params_pb.js");
|
|
6
|
+
const coin_pb_js_1 = require("../../cosmos/base/v1beta1/coin_pb.js");
|
|
7
|
+
class MsgUpdateParams extends protobuf_1.Message {
|
|
8
|
+
constructor(data) {
|
|
9
|
+
super();
|
|
10
|
+
this.authority = "";
|
|
11
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
12
|
+
}
|
|
13
|
+
static fromBinary(bytes, options) {
|
|
14
|
+
return new MsgUpdateParams().fromBinary(bytes, options);
|
|
15
|
+
}
|
|
16
|
+
static fromJson(jsonValue, options) {
|
|
17
|
+
return new MsgUpdateParams().fromJson(jsonValue, options);
|
|
18
|
+
}
|
|
19
|
+
static fromJsonString(jsonString, options) {
|
|
20
|
+
return new MsgUpdateParams().fromJsonString(jsonString, options);
|
|
21
|
+
}
|
|
22
|
+
static equals(a, b) {
|
|
23
|
+
return protobuf_1.proto3.util.equals(MsgUpdateParams, a, b);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.MsgUpdateParams = MsgUpdateParams;
|
|
27
|
+
MsgUpdateParams.runtime = protobuf_1.proto3;
|
|
28
|
+
MsgUpdateParams.typeName = "sendmanager.MsgUpdateParams";
|
|
29
|
+
MsgUpdateParams.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
30
|
+
{ no: 1, name: "authority", kind: "scalar", T: 9 },
|
|
31
|
+
{ no: 2, name: "params", kind: "message", T: params_pb_js_1.Params },
|
|
32
|
+
]);
|
|
33
|
+
class MsgUpdateParamsResponse extends protobuf_1.Message {
|
|
34
|
+
constructor(data) {
|
|
35
|
+
super();
|
|
36
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
37
|
+
}
|
|
38
|
+
static fromBinary(bytes, options) {
|
|
39
|
+
return new MsgUpdateParamsResponse().fromBinary(bytes, options);
|
|
40
|
+
}
|
|
41
|
+
static fromJson(jsonValue, options) {
|
|
42
|
+
return new MsgUpdateParamsResponse().fromJson(jsonValue, options);
|
|
43
|
+
}
|
|
44
|
+
static fromJsonString(jsonString, options) {
|
|
45
|
+
return new MsgUpdateParamsResponse().fromJsonString(jsonString, options);
|
|
46
|
+
}
|
|
47
|
+
static equals(a, b) {
|
|
48
|
+
return protobuf_1.proto3.util.equals(MsgUpdateParamsResponse, a, b);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.MsgUpdateParamsResponse = MsgUpdateParamsResponse;
|
|
52
|
+
MsgUpdateParamsResponse.runtime = protobuf_1.proto3;
|
|
53
|
+
MsgUpdateParamsResponse.typeName = "sendmanager.MsgUpdateParamsResponse";
|
|
54
|
+
MsgUpdateParamsResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
55
|
+
class MsgSendWithAliasRouting extends protobuf_1.Message {
|
|
56
|
+
constructor(data) {
|
|
57
|
+
super();
|
|
58
|
+
this.fromAddress = "";
|
|
59
|
+
this.toAddress = "";
|
|
60
|
+
this.amount = [];
|
|
61
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
62
|
+
}
|
|
63
|
+
static fromBinary(bytes, options) {
|
|
64
|
+
return new MsgSendWithAliasRouting().fromBinary(bytes, options);
|
|
65
|
+
}
|
|
66
|
+
static fromJson(jsonValue, options) {
|
|
67
|
+
return new MsgSendWithAliasRouting().fromJson(jsonValue, options);
|
|
68
|
+
}
|
|
69
|
+
static fromJsonString(jsonString, options) {
|
|
70
|
+
return new MsgSendWithAliasRouting().fromJsonString(jsonString, options);
|
|
71
|
+
}
|
|
72
|
+
static equals(a, b) {
|
|
73
|
+
return protobuf_1.proto3.util.equals(MsgSendWithAliasRouting, a, b);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.MsgSendWithAliasRouting = MsgSendWithAliasRouting;
|
|
77
|
+
MsgSendWithAliasRouting.runtime = protobuf_1.proto3;
|
|
78
|
+
MsgSendWithAliasRouting.typeName = "sendmanager.MsgSendWithAliasRouting";
|
|
79
|
+
MsgSendWithAliasRouting.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
80
|
+
{ no: 1, name: "from_address", kind: "scalar", T: 9 },
|
|
81
|
+
{ no: 2, name: "to_address", kind: "scalar", T: 9 },
|
|
82
|
+
{ no: 3, name: "amount", kind: "message", T: coin_pb_js_1.Coin, repeated: true },
|
|
83
|
+
]);
|
|
84
|
+
class MsgSendWithAliasRoutingResponse extends protobuf_1.Message {
|
|
85
|
+
constructor(data) {
|
|
86
|
+
super();
|
|
87
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
88
|
+
}
|
|
89
|
+
static fromBinary(bytes, options) {
|
|
90
|
+
return new MsgSendWithAliasRoutingResponse().fromBinary(bytes, options);
|
|
91
|
+
}
|
|
92
|
+
static fromJson(jsonValue, options) {
|
|
93
|
+
return new MsgSendWithAliasRoutingResponse().fromJson(jsonValue, options);
|
|
94
|
+
}
|
|
95
|
+
static fromJsonString(jsonString, options) {
|
|
96
|
+
return new MsgSendWithAliasRoutingResponse().fromJsonString(jsonString, options);
|
|
97
|
+
}
|
|
98
|
+
static equals(a, b) {
|
|
99
|
+
return protobuf_1.proto3.util.equals(MsgSendWithAliasRoutingResponse, a, b);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.MsgSendWithAliasRoutingResponse = MsgSendWithAliasRoutingResponse;
|
|
103
|
+
MsgSendWithAliasRoutingResponse.runtime = protobuf_1.proto3;
|
|
104
|
+
MsgSendWithAliasRoutingResponse.typeName = "sendmanager.MsgSendWithAliasRoutingResponse";
|
|
105
|
+
MsgSendWithAliasRoutingResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
106
|
+
//# sourceMappingURL=tx_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tx_pb.js","sourceRoot":"","sources":["../../../../../src/proto/sendmanager/v1/tx_pb.ts"],"names":[],"mappings":";;;AAMA,iDAAqD;AACrD,iDAAwC;AACxC,qEAA4D;AAO5D,MAAa,eAAgB,SAAQ,kBAAwB;IAiB3D,YAAY,IAAsC;QAChD,KAAK,EAAE,CAAC;QAZV,cAAS,GAAG,EAAE,CAAC;QAab,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IASD,MAAM,CAAC,UAAU,CAAC,KAAiB,EAAE,OAAoC;QACvE,OAAO,IAAI,eAAe,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,SAAoB,EAAE,OAAkC;QACtE,OAAO,IAAI,eAAe,EAAE,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,UAAkB,EAAE,OAAkC;QAC1E,OAAO,IAAI,eAAe,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,CAA8D,EAAE,CAA8D;QAC1I,OAAO,iBAAM,CAAC,IAAI,CAAC,MAAM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,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,EAClE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectConverter.d.ts","sourceRoot":"","sources":["../../../../src/transactions/amino/objectConverter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"objectConverter.d.ts","sourceRoot":"","sources":["../../../../src/transactions/amino/objectConverter.ts"],"names":[],"mappings":"AAmDA,OAAO,EAAE,KAAK,UAAU,EAAyB,KAAK,OAAO,EAAwB,cAAc,EAAE,MAAM,oBAAoB,CAAC;AA4DhI,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,OAAO,cAAc,CAgH/D,CAAC;AAOF,KAAK,OAAO,GAAG,GAAG,CAAC;AAEnB,UAAU,cAAc;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;CAChB;AAcD,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,GAAG,UAAU,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,cAAc,CAK9G;AAED,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,GAAG,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAE1I;AAKD,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,GAAG,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAG5I;AAED,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM,WAAmE,CAAC;AAKhH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,OAmBhD;AAED,wBAAgB,wBAAwB,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,GAAG,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAKrI;AAED,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,GAAG,UAAU,EACpE,YAAY,EAAE,OAAO,OAAO,CAAC,CAAC,CAAC,EAC/B,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,OAAO,+BAAiE,EACjF,SAAS,GAAE,OAAO,wBAAmD;;;8BAIjC,GAAG;gCAID,GAAG;;EAW1C"}
|
|
@@ -7,6 +7,7 @@ exports.convertProtoValueToDefaultAmino = convertProtoValueToDefaultAmino;
|
|
|
7
7
|
exports.convertSnakeKeysToCamel = convertSnakeKeysToCamel;
|
|
8
8
|
exports.convertAminoToProtoValue = convertAminoToProtoValue;
|
|
9
9
|
exports.createAminoConverter = createAminoConverter;
|
|
10
|
+
const tx_pb_js_1 = require("../../proto/sendmanager/v1/tx_pb.js");
|
|
10
11
|
const index_js_1 = require("../../proto/cosmos/authz/v1beta1/index.js");
|
|
11
12
|
const index_js_2 = require("../../proto/cosmos/bank/v1beta1/index.js");
|
|
12
13
|
const index_js_3 = require("../../proto/cosmos/distribution/v1beta1/index.js");
|
|
@@ -15,14 +16,14 @@ const index_js_5 = require("../../proto/cosmos/staking/v1beta1/index.js");
|
|
|
15
16
|
const index_js_6 = require("../../proto/cosmos/vesting/v1beta1/index.js");
|
|
16
17
|
const index_js_7 = require("../../proto/cosmos/group/v1/index.js");
|
|
17
18
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
18
|
-
const
|
|
19
|
+
const tx_pb_js_2 = require("../../proto/tokenization/tx_pb.js");
|
|
19
20
|
const index_js_8 = require("../../proto/cosmwasm/wasm/v1/index.js");
|
|
20
21
|
const index_js_9 = require("../../proto/maps/index.js");
|
|
21
|
-
const
|
|
22
|
+
const tx_pb_js_3 = require("../../proto/managersplitter/tx_pb.js");
|
|
22
23
|
const index_js_10 = require("../../proto/ibc/index.js");
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
exports.ProtoTypeRegistry = (0, protobuf_1.createRegistry)(index_js_2.MsgSend, index_js_2.MsgMultiSend, index_js_3.MsgFundCommunityPool, index_js_3.MsgSetWithdrawAddress, index_js_3.MsgWithdrawDelegatorReward, index_js_3.MsgWithdrawValidatorCommission, index_js_4.MsgDeposit, index_js_4.MsgVote, index_js_4.MsgVoteWeighted, index_js_4.MsgSubmitProposal, index_js_5.MsgBeginRedelegate, index_js_5.MsgCreateValidator, index_js_5.MsgDelegate, index_js_5.MsgEditValidator, index_js_5.MsgUndelegate, index_js_6.MsgCreateVestingAccount, index_js_1.MsgExec,
|
|
24
|
+
const tx_pb_js_4 = require("../../proto/gamm/v1beta1/tx_pb.js");
|
|
25
|
+
const tx_pb_js_5 = require("../../proto/gamm/poolmodels/balancer/tx_pb.js");
|
|
26
|
+
exports.ProtoTypeRegistry = (0, protobuf_1.createRegistry)(tx_pb_js_1.MsgSendWithAliasRouting, tx_pb_js_1.MsgUpdateParams, index_js_2.MsgSend, index_js_2.MsgMultiSend, index_js_3.MsgFundCommunityPool, index_js_3.MsgSetWithdrawAddress, index_js_3.MsgWithdrawDelegatorReward, index_js_3.MsgWithdrawValidatorCommission, index_js_4.MsgDeposit, index_js_4.MsgVote, index_js_4.MsgVoteWeighted, index_js_4.MsgSubmitProposal, index_js_5.MsgBeginRedelegate, index_js_5.MsgCreateValidator, index_js_5.MsgDelegate, index_js_5.MsgEditValidator, index_js_5.MsgUndelegate, index_js_6.MsgCreateVestingAccount, index_js_1.MsgExec, tx_pb_js_2.MsgDeleteCollection, tx_pb_js_2.MsgTransferTokens, tx_pb_js_2.MsgUpdateCollection, tx_pb_js_2.MsgUpdateUserApprovals, tx_pb_js_2.MsgCastVote, tx_pb_js_2.MsgCreateAddressLists, tx_pb_js_2.MsgCreateCollection, tx_pb_js_2.MsgCreateDynamicStore, tx_pb_js_2.MsgDeleteDynamicStore, tx_pb_js_2.MsgDeleteIncomingApproval, tx_pb_js_2.MsgDeleteOutgoingApproval, tx_pb_js_2.MsgPurgeApprovals, tx_pb_js_2.MsgSetTokenMetadata, tx_pb_js_2.MsgSetCollectionApprovals, tx_pb_js_2.MsgSetCollectionMetadata, tx_pb_js_2.MsgSetCustomData, tx_pb_js_2.MsgSetDynamicStoreValue, tx_pb_js_2.MsgSetIncomingApproval, tx_pb_js_2.MsgSetIsArchived, tx_pb_js_2.MsgSetManager, tx_pb_js_2.MsgSetOutgoingApproval, tx_pb_js_2.MsgSetStandards, tx_pb_js_2.MsgSetValidTokenIds, tx_pb_js_2.MsgUniversalUpdateCollection, tx_pb_js_2.MsgUpdateDynamicStore, index_js_8.MsgExecuteContract, index_js_8.MsgStoreCode, index_js_8.MsgInstantiateContract, index_js_9.MsgCreateMap, index_js_9.MsgDeleteMap, index_js_9.MsgSetValue, index_js_9.MsgUpdateMap, tx_pb_js_3.MsgCreateManagerSplitter, tx_pb_js_3.MsgUpdateManagerSplitter, tx_pb_js_3.MsgDeleteManagerSplitter, tx_pb_js_3.MsgExecuteUniversalUpdateCollection, index_js_1.MsgGrant, index_js_1.MsgRevoke, index_js_1.GenericAuthorization, index_js_2.SendAuthorization, index_js_5.StakeAuthorization, index_js_10.MsgTransfer, tx_pb_js_4.MsgJoinPool, tx_pb_js_4.MsgJoinPoolResponse, tx_pb_js_4.MsgExitPool, tx_pb_js_4.MsgExitPoolResponse, tx_pb_js_4.MsgSwapExactAmountIn, tx_pb_js_4.MsgSwapExactAmountInResponse, tx_pb_js_4.MsgSwapExactAmountInWithIBCTransfer, tx_pb_js_4.MsgSwapExactAmountInWithIBCTransferResponse, tx_pb_js_4.MsgSwapExactAmountOut, tx_pb_js_4.MsgSwapExactAmountOutResponse, tx_pb_js_4.MsgJoinSwapExternAmountIn, tx_pb_js_4.MsgJoinSwapExternAmountInResponse, tx_pb_js_4.MsgJoinSwapShareAmountOut, tx_pb_js_4.MsgJoinSwapShareAmountOutResponse, tx_pb_js_4.MsgExitSwapShareAmountIn, tx_pb_js_4.MsgExitSwapShareAmountInResponse, tx_pb_js_4.MsgExitSwapExternAmountOut, tx_pb_js_4.MsgExitSwapExternAmountOutResponse, tx_pb_js_5.MsgCreateBalancerPool, tx_pb_js_5.MsgCreateBalancerPoolResponse, index_js_7.MsgCreateGroup, index_js_7.MsgCreateGroupResponse, index_js_7.MsgUpdateGroupMembers, index_js_7.MsgUpdateGroupMembersResponse, index_js_7.MsgUpdateGroupAdmin, index_js_7.MsgUpdateGroupAdminResponse, index_js_7.MsgUpdateGroupMetadata, index_js_7.MsgUpdateGroupMetadataResponse, index_js_7.MsgCreateGroupPolicy, index_js_7.MsgCreateGroupPolicyResponse, index_js_7.MsgUpdateGroupPolicyAdmin, index_js_7.MsgUpdateGroupPolicyAdminResponse, index_js_7.MsgCreateGroupWithPolicy, index_js_7.MsgCreateGroupWithPolicyResponse, index_js_7.MsgUpdateGroupPolicyDecisionPolicy, index_js_7.MsgUpdateGroupPolicyDecisionPolicyResponse, index_js_7.MsgUpdateGroupPolicyMetadata, index_js_7.MsgUpdateGroupPolicyMetadataResponse, index_js_7.MsgSubmitProposal, index_js_7.MsgSubmitProposalResponse, index_js_7.MsgWithdrawProposal, index_js_7.MsgWithdrawProposalResponse, index_js_7.MsgVote, index_js_7.MsgVoteResponse, index_js_7.MsgExec, index_js_7.MsgExecResponse, index_js_7.MsgLeaveGroup, index_js_7.MsgLeaveGroupResponse, index_js_7.ThresholdDecisionPolicy, index_js_7.PercentageDecisionPolicy);
|
|
26
27
|
const ProtoJSONOption = {
|
|
27
28
|
emitDefaultValues: true,
|
|
28
29
|
enumAsInteger: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectConverter.js","sourceRoot":"","sources":["../../../../src/transactions/amino/objectConverter.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"objectConverter.js","sourceRoot":"","sources":["../../../../src/transactions/amino/objectConverter.ts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B,CAAoC,UAAe,EAAE,YAA+B;IAC1H,MAAM,UAAU,GAAG,uBAAuB,CAAC,UAAU,CAAC,CAAC;IAEvD,MAAM,YAAY,GAAG,0BAA0B,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IAC1E,OAAO,YAAY,CAAC,MAAM,EAAE,CAAC;AAC/B,CAAC;AAED,SAAgB,oBAAoB,CAClC,YAA+B,EAC/B,SAAiB,EACjB,UAAkD,+BAA+B,EACjF,YAA6C,wBAAwB;IAErE,MAAM,YAAY,GAAG,IAAI,IAAI,YAAY,EAAE,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC;IAEjE,SAAS,cAAc,CAAC,UAAe;QACrC,OAAO,OAAO,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IAC3C,CAAC;IAED,SAAS,gBAAgB,CAAC,UAAe;QACvC,OAAO,SAAS,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IAC7C,CAAC;IAED,OAAO;QACL,CAAC,YAAY,CAAC,EAAE;YACd,SAAS;YACT,OAAO,EAAE,cAAc;YACvB,SAAS,EAAE,gBAAgB;SAC5B;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -24,7 +24,15 @@ export declare function createMapsAminoConverters(): AminoConverters;
|
|
|
24
24
|
export declare function createIBCAminoConverters(): AminoConverters;
|
|
25
25
|
export declare function createGAMMAminoConverters(): AminoConverters;
|
|
26
26
|
export declare function createDefaultAminoConverters(): {
|
|
27
|
-
[x: string]: AminoConverter
|
|
27
|
+
[x: string]: AminoConverter | {
|
|
28
|
+
aminoType: string;
|
|
29
|
+
toAmino: (protoValue: any) => any;
|
|
30
|
+
fromAmino: (aminoValue: any) => any;
|
|
31
|
+
} | {
|
|
32
|
+
aminoType: string;
|
|
33
|
+
toAmino: (protoValue: any) => any;
|
|
34
|
+
fromAmino: (aminoValue: any) => any;
|
|
35
|
+
};
|
|
28
36
|
};
|
|
29
37
|
export declare const AminoTypes: AminoTypesClass;
|
|
30
38
|
//# sourceMappingURL=registry.d.ts.map
|