add trade for osmosis

This commit is contained in:
liangping 2021-12-04 15:47:48 +08:00
parent f0ef39e96a
commit ab4d7b6a38
16 changed files with 244079 additions and 609 deletions

1189
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,14 +12,14 @@
"dependencies": {
"@casl/ability": "4.1.6",
"@casl/vue": "1.1.1",
"@cosmjs/amino": "^0.26.0",
"@cosmjs/crypto": "^0.26.0",
"@cosmjs/encoding": "^0.26.0",
"@cosmjs/launchpad": "^0.26.0",
"@cosmjs/ledger-amino": "^0.26.0",
"@cosmjs/math": "^0.26.0",
"@cosmjs/proto-signing": "^0.26.0",
"@cosmjs/stargate": "0.26.0",
"@cosmjs/amino": "^0.26.5",
"@cosmjs/crypto": "^0.26.5",
"@cosmjs/encoding": "^0.26.5",
"@cosmjs/launchpad": "^0.26.5",
"@cosmjs/ledger-amino": "^0.26.5",
"@cosmjs/math": "^0.26.5",
"@cosmjs/proto-signing": "^0.26.5",
"@cosmjs/stargate": "0.26.5",
"@cosmostation/cosmosjs": "^0.10.6",
"@intlify/vue-i18n-loader": "^2.1.2",
"@ledgerhq/hw-app-cosmos": "^6.3.0",
@ -46,6 +46,8 @@
"portal-vue": "2.1.7",
"postcss-rtl": "1.7.3",
"prismjs": "1.24.0",
"protobufjs-cli-dbx": "^7.0.7",
"protobufjs-dbx": "^7.0.0",
"swiper": "6.5.1",
"trading-vue-js": "^1.0.2",
"uuid": "8.3.2",

View File

@ -35,6 +35,7 @@
"blocks": "Blocks",
"blockchains": "Blockchains",
"uptime": "Uptime",
"trade": "Trade",
"gravity": "Gravity(WIP)",
"pools": "Pools(WIP)",

53878
src/libs/all.js Normal file

File diff suppressed because it is too large Load Diff

46223
src/libs/bundle.js Normal file

File diff suppressed because it is too large Load Diff

414
src/libs/data/aminotypes.js Normal file
View File

@ -0,0 +1,414 @@
/* eslint-disable */
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AminoTypes = void 0;
const amino_1 = require("@cosmjs/amino");
const encoding_1 = require("@cosmjs/encoding");
const utils_1 = require("@cosmjs/utils");
const gov_1 = require("cosmjs-types/cosmos/gov/v1beta1/gov");
const any_1 = require("cosmjs-types/google/protobuf/any");
const long_1 = __importDefault(require("long"));
function omitDefault(input) {
if (typeof input === "string") {
return input === "" ? undefined : input;
}
if (typeof input === "number") {
return input === 0 ? undefined : input;
}
if (long_1.default.isLong(input)) {
return input.isZero() ? undefined : input;
}
throw new Error(`Got unsupported type '${typeof input}'`);
}
function createDefaultTypes(prefix) {
return {
// bank
"/cosmos.bank.v1beta1.MsgSend": {
aminoType: "cosmos-sdk/MsgSend",
toAmino: ({ fromAddress, toAddress, amount }) => ({
from_address: fromAddress,
to_address: toAddress,
amount: [...amount],
}),
fromAmino: ({ from_address, to_address, amount }) => ({
fromAddress: from_address,
toAddress: to_address,
amount: [...amount],
}),
},
"/cosmos.bank.v1beta1.MsgMultiSend": {
aminoType: "cosmos-sdk/MsgMultiSend",
toAmino: ({ inputs, outputs }) => ({
inputs: inputs.map((input) => ({
address: input.address,
coins: [...input.coins],
})),
outputs: outputs.map((output) => ({
address: output.address,
coins: [...output.coins],
})),
}),
fromAmino: ({ inputs, outputs }) => ({
inputs: inputs.map((input) => ({
address: input.address,
coins: [...input.coins],
})),
outputs: outputs.map((output) => ({
address: output.address,
coins: [...output.coins],
})),
}),
},
// distribution
"/cosmos.distribution.v1beta1.MsgFundCommunityPool": {
aminoType: "cosmos-sdk/MsgFundCommunityPool",
toAmino: ({ amount, depositor }) => ({
amount: [...amount],
depositor: depositor,
}),
fromAmino: ({ amount, depositor }) => ({
amount: [...amount],
depositor: depositor,
}),
},
"/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": {
aminoType: "cosmos-sdk/MsgModifyWithdrawAddress",
toAmino: ({ delegatorAddress, withdrawAddress, }) => ({
delegator_address: delegatorAddress,
withdraw_address: withdrawAddress,
}),
fromAmino: ({ delegator_address, withdraw_address, }) => ({
delegatorAddress: delegator_address,
withdrawAddress: withdraw_address,
}),
},
"/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": {
aminoType: "cosmos-sdk/MsgWithdrawDelegationReward",
toAmino: ({ delegatorAddress, validatorAddress, }) => ({
delegator_address: delegatorAddress,
validator_address: validatorAddress,
}),
fromAmino: ({ delegator_address, validator_address, }) => ({
delegatorAddress: delegator_address,
validatorAddress: validator_address,
}),
},
"/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": {
aminoType: "cosmos-sdk/MsgWithdrawValidatorCommission",
toAmino: ({ validatorAddress, }) => ({
validator_address: validatorAddress,
}),
fromAmino: ({ validator_address, }) => ({
validatorAddress: validator_address,
}),
},
// gov
"/cosmos.gov.v1beta1.MsgDeposit": {
aminoType: "cosmos-sdk/MsgDeposit",
toAmino: ({ amount, depositor, proposalId }) => {
return {
amount,
depositor,
proposal_id: proposalId.toString(),
};
},
fromAmino: ({ amount, depositor, proposal_id }) => {
return {
amount: Array.from(amount),
depositor,
proposalId: long_1.default.fromString(proposal_id),
};
},
},
"/cosmos.gov.v1beta1.MsgVote": {
aminoType: "cosmos-sdk/MsgVote",
toAmino: ({ option, proposalId, voter }) => {
return {
option: option,
proposal_id: proposalId.toString(),
voter: voter,
};
},
fromAmino: ({ option, proposal_id, voter }) => {
return {
option: gov_1.voteOptionFromJSON(option),
proposalId: long_1.default.fromString(proposal_id),
voter: voter,
};
},
},
"/cosmos.gov.v1beta1.MsgSubmitProposal": {
aminoType: "cosmos-sdk/MsgSubmitProposal",
toAmino: ({ initialDeposit, proposer, content, }) => {
utils_1.assertDefinedAndNotNull(content);
let proposal;
switch (content.typeUrl) {
case "/cosmos.gov.v1beta1.TextProposal": {
const textProposal = gov_1.TextProposal.decode(content.value);
proposal = {
type: "cosmos-sdk/TextProposal",
value: {
description: textProposal.description,
title: textProposal.title,
},
};
break;
}
default:
throw new Error(`Unsupported proposal type: '${content.typeUrl}'`);
}
return {
initial_deposit: initialDeposit,
proposer: proposer,
content: proposal,
};
},
fromAmino: ({ initial_deposit, proposer, content, }) => {
let any_content;
switch (content.type) {
case "cosmos-sdk/TextProposal": {
const { value } = content;
utils_1.assert(utils_1.isNonNullObject(value));
const { title, description } = value;
utils_1.assert(typeof title === "string");
utils_1.assert(typeof description === "string");
any_content = any_1.Any.fromPartial({
typeUrl: "/cosmos.gov.v1beta1.TextProposal",
value: gov_1.TextProposal.encode(gov_1.TextProposal.fromPartial({
title: title,
description: description,
})).finish(),
});
break;
}
default:
throw new Error(`Unsupported proposal type: '${content.type}'`);
}
return {
initialDeposit: Array.from(initial_deposit),
proposer: proposer,
content: any_content,
};
},
},
// staking
"/cosmos.staking.v1beta1.MsgBeginRedelegate": {
aminoType: "cosmos-sdk/MsgBeginRedelegate",
toAmino: ({ delegatorAddress, validatorSrcAddress, validatorDstAddress, amount, }) => {
utils_1.assertDefinedAndNotNull(amount, "missing amount");
return {
delegator_address: delegatorAddress,
validator_src_address: validatorSrcAddress,
validator_dst_address: validatorDstAddress,
amount: amount,
};
},
fromAmino: ({ delegator_address, validator_src_address, validator_dst_address, amount, }) => ({
delegatorAddress: delegator_address,
validatorSrcAddress: validator_src_address,
validatorDstAddress: validator_dst_address,
amount: amount,
}),
},
"/cosmos.staking.v1beta1.MsgCreateValidator": {
aminoType: "cosmos-sdk/MsgCreateValidator",
toAmino: ({ description, commission, minSelfDelegation, delegatorAddress, validatorAddress, pubkey, value, }) => {
utils_1.assertDefinedAndNotNull(description, "missing description");
utils_1.assertDefinedAndNotNull(commission, "missing commission");
utils_1.assertDefinedAndNotNull(pubkey, "missing pubkey");
utils_1.assertDefinedAndNotNull(value, "missing value");
return {
description: {
moniker: description.moniker,
identity: description.identity,
website: description.website,
security_contact: description.securityContact,
details: description.details,
},
commission: {
rate: commission.rate,
max_rate: commission.maxRate,
max_change_rate: commission.maxChangeRate,
},
min_self_delegation: minSelfDelegation,
delegator_address: delegatorAddress,
validator_address: validatorAddress,
pubkey: amino_1.encodeBech32Pubkey({
type: "tendermint/PubKeySecp256k1",
value: encoding_1.toBase64(pubkey.value),
}, prefix),
value: value,
};
},
fromAmino: ({ description, commission, min_self_delegation, delegator_address, validator_address, pubkey, value, }) => {
const decodedPubkey = amino_1.decodeBech32Pubkey(pubkey);
if (decodedPubkey.type !== "tendermint/PubKeySecp256k1") {
throw new Error("Only Secp256k1 public keys are supported");
}
return {
description: {
moniker: description.moniker,
identity: description.identity,
website: description.website,
securityContact: description.security_contact,
details: description.details,
},
commission: {
rate: commission.rate,
maxRate: commission.max_rate,
maxChangeRate: commission.max_change_rate,
},
minSelfDelegation: min_self_delegation,
delegatorAddress: delegator_address,
validatorAddress: validator_address,
pubkey: {
typeUrl: "/cosmos.crypto.secp256k1.PubKey",
value: encoding_1.fromBase64(decodedPubkey.value),
},
value: value,
};
},
},
"/cosmos.staking.v1beta1.MsgDelegate": {
aminoType: "cosmos-sdk/MsgDelegate",
toAmino: ({ delegatorAddress, validatorAddress, amount }) => {
utils_1.assertDefinedAndNotNull(amount, "missing amount");
return {
delegator_address: delegatorAddress,
validator_address: validatorAddress,
amount: amount,
};
},
fromAmino: ({ delegator_address, validator_address, amount, }) => ({
delegatorAddress: delegator_address,
validatorAddress: validator_address,
amount: amount,
}),
},
"/cosmos.staking.v1beta1.MsgEditValidator": {
aminoType: "cosmos-sdk/MsgEditValidator",
toAmino: ({ description, commissionRate, minSelfDelegation, validatorAddress, }) => {
utils_1.assertDefinedAndNotNull(description, "missing description");
return {
description: {
moniker: description.moniker,
identity: description.identity,
website: description.website,
security_contact: description.securityContact,
details: description.details,
},
commission_rate: commissionRate,
min_self_delegation: minSelfDelegation,
validator_address: validatorAddress,
};
},
fromAmino: ({ description, commission_rate, min_self_delegation, validator_address, }) => ({
description: {
moniker: description.moniker,
identity: description.identity,
website: description.website,
securityContact: description.security_contact,
details: description.details,
},
commissionRate: commission_rate,
minSelfDelegation: min_self_delegation,
validatorAddress: validator_address,
}),
},
"/cosmos.staking.v1beta1.MsgUndelegate": {
aminoType: "cosmos-sdk/MsgUndelegate",
toAmino: ({ delegatorAddress, validatorAddress, amount, }) => {
utils_1.assertDefinedAndNotNull(amount, "missing amount");
return {
delegator_address: delegatorAddress,
validator_address: validatorAddress,
amount: amount,
};
},
fromAmino: ({ delegator_address, validator_address, amount, }) => ({
delegatorAddress: delegator_address,
validatorAddress: validator_address,
amount: amount,
}),
},
// ibc
"/ibc.applications.transfer.v1.MsgTransfer": {
aminoType: "cosmos-sdk/MsgTransfer",
toAmino: ({ sourcePort, sourceChannel, token, sender, receiver, timeoutHeight, timeoutTimestamp, }) => {
console.log('toAmino', sourceChannel, sourcePort)
var _a, _b, _c;
return ({
source_port: sourcePort,
source_channel: sourceChannel,
token: token,
sender: sender,
receiver: receiver,
timeout_height: timeoutHeight
? {
revision_height: (_a = omitDefault(timeoutHeight.revisionHeight)) === null || _a === void 0 ? void 0 : _a.toString(),
revision_number: (_b = omitDefault(timeoutHeight.revisionNumber)) === null || _b === void 0 ? void 0 : _b.toString(),
}
: {},
timeout_timestamp: (_c = omitDefault(timeoutTimestamp)) === null || _c === void 0 ? void 0 : _c.toString(),
});
},
fromAmino: ({ source_port, source_channel, token, sender, receiver, timeout_height, timeout_timestamp, }) => ({
sourcePort: source_port,
sourceChannel: source_channel,
token: token,
sender: sender,
receiver: receiver,
timeoutHeight: timeout_height
? {
revisionHeight: timeout_height.revision_height,
revisionNumber: timeout_height.revision_number,
}
: undefined,
timeoutTimestamp: long_1.default.fromString(timeout_timestamp || "0", true),
}),
},
};
}
/**
* A map from Stargate message types as used in the messages's `Any` type
* to Amino types.
*/
class AminoTypes {
constructor({ additions = {}, prefix = "cosmos" } = {}) {
const additionalAminoTypes = Object.values(additions);
const filteredDefaultTypes = Object.entries(createDefaultTypes(prefix)).reduce((acc, [key, value]) => additionalAminoTypes.find(({ aminoType }) => value.aminoType === aminoType)
? acc
: Object.assign(Object.assign({}, acc), { [key]: value }), {});
this.register = Object.assign(Object.assign({}, filteredDefaultTypes), additions);
}
toAmino({ typeUrl, value }) {
const converter = this.register[typeUrl];
if (!converter) {
throw new Error("Type URL does not exist in the Amino message type register. " +
"If you need support for this message type, you can pass in additional entries to the AminoTypes constructor. " +
"If you think this message type should be included by default, please open an issue at https://github.com/cosmos/cosmjs/issues.");
}
return {
type: converter.aminoType,
value: converter.toAmino(value),
};
}
fromAmino({ type, value }) {
const result = Object.entries(this.register).find(([_typeUrl, { aminoType }]) => aminoType === type);
if (!result) {
throw new Error("Type does not exist in the Amino message type register. " +
"If you need support for this message type, you can pass in additional entries to the AminoTypes constructor. " +
"If you think this message type should be included by default, please open an issue at https://github.com/cosmos/cosmjs/issues.");
}
const [typeUrl, converter] = result;
return {
typeUrl: typeUrl,
value: converter.fromAmino(value),
};
}
}
exports.AminoTypes = AminoTypes;
//# sourceMappingURL=aminotypes.js.map

View File

@ -5,19 +5,21 @@ import { sha256, stringToPath } from '@cosmjs/crypto'
// ledger
import TransportWebBLE from '@ledgerhq/hw-transport-web-ble'
import TransportWebUSB from '@ledgerhq/hw-transport-webusb'
import { SigningStargateClient } from '@cosmjs/stargate'
import CosmosApp from 'ledger-cosmos-js'
import { LedgerSigner } from '@cosmjs/ledger-amino'
import dayjs from 'dayjs'
import duration from 'dayjs/plugin/duration'
import relativeTime from 'dayjs/plugin/relativeTime'
import utc from 'dayjs/plugin/utc'
import localeData from 'dayjs/plugin/localeData'
import { $themeColors } from '@themeConfig'
import PingWalletClient from './signing'
dayjs.extend(localeData)
dayjs.extend(duration)
dayjs.extend(relativeTime)
dayjs.extend(utc)
export function getLocalObject(name) {
const text = localStorage.getItem(name)
@ -142,7 +144,6 @@ function getHdPath(address) {
}
export async function sign(device, chainId, signerAddress, messages, fee, memo, signerData) {
console.log(device, signerData)
let transport
let signer
switch (device) {
@ -164,9 +165,11 @@ export async function sign(device, chainId, signerAddress, messages, fee, memo,
// signer = window.getOfflineSignerOnlyAmino(chainId)
}
// if (signer) return signAmino(signer, signerAddress, messages, fee, memo, signerData)
// Ensure the address has some tokens to spend
const client = await SigningStargateClient.offline(signer)
return client.sign(device === 'keplr' ? signerAddress : toSignAddress(signerAddress), messages, fee, memo, signerData)
const client = await PingWalletClient.offline(signer)
return client.signAmino(device === 'keplr' ? signerAddress : toSignAddress(signerAddress), messages, fee, memo, signerData)
// return signDirect(signer, signerAddress, messages, fee, memo, signerData)
}

View File

@ -0,0 +1,166 @@
// eslint-disable-next-line import/no-extraneous-dependencies
const long1 = require('long')
const minimal1 = require('protobufjs-dbx/minimal')
const coin1 = require('cosmjs-types/cosmos/base/v1beta1/coin')
const client1 = require('cosmjs-types/ibc/core/client/v1/client')
const baseMsgTransfer = {
sourcePort: '',
sourceChannel: '',
sender: '',
receiver: '',
timeoutTimestamp: '0',
}
exports.MsgTransfer = {
encode(message, writer = minimal1.default.Writer.create()) {
if (message.sourcePort !== '') {
writer.uint32(10).string(message.sourcePort)
}
if (message.sourceChannel !== '') {
writer.uint32(18).string(message.sourceChannel)
}
if (message.token !== undefined) {
coin1.Coin.encode(message.token, writer.uint32(26).fork()).ldelim()
}
if (message.sender !== '') {
writer.uint32(34).string(message.sender)
}
if (message.receiver !== '') {
writer.uint32(42).string(message.receiver)
}
if (message.timeoutHeight !== undefined) {
client1.Height.encode(message.timeoutHeight, writer.uint32(50).fork()).ldelim()
}
if (!message.timeoutTimestamp.isZero()) {
writer.uint32(56).uint64(message.timeoutTimestamp)
}
return writer
},
decode(input, length) {
const reader = input instanceof minimal1.default.Reader ? input : new minimal1.default.Reader(input)
const end = length === undefined ? reader.len : reader.pos + length
const message = { ...baseMsgTransfer }
while (reader.pos < end) {
const tag = reader.uint32()
// eslint-disable-next-line no-bitwise
switch (tag >>> 3) {
case 1:
message.sourcePort = reader.string()
break
case 2:
message.sourceChannel = reader.string()
break
case 3:
message.token = coin1.Coin.decode(reader, reader.uint32())
break
case 4:
message.sender = reader.string()
break
case 5:
message.receiver = reader.string()
break
case 6:
message.timeoutHeight = client1.Height.decode(reader, reader.uint32())
break
case 7:
message.timeoutTimestamp = reader.uint64()
break
default:
// eslint-disable-next-line no-bitwise
reader.skipType(tag & 7)
break
}
}
return message
},
fromJSON(object) {
const message = { ...baseMsgTransfer }
if (object.sourcePort !== undefined && object.sourcePort !== null) {
message.sourcePort = String(object.sourcePort)
} else {
message.sourcePort = ''
}
if (object.sourceChannel !== undefined && object.sourceChannel !== null) {
message.sourceChannel = String(object.sourceChannel)
} else {
message.sourceChannel = ''
}
if (object.token !== undefined && object.token !== null) {
message.token = coin1.Coin.fromJSON(object.token)
} else {
message.token = undefined
}
if (object.sender !== undefined && object.sender !== null) {
message.sender = String(object.sender)
} else {
message.sender = ''
}
if (object.receiver !== undefined && object.receiver !== null) {
message.receiver = String(object.receiver)
} else {
message.receiver = ''
}
if (object.timeoutHeight !== undefined && object.timeoutHeight !== null) {
message.timeoutHeight = client1.Height.fromJSON(object.timeoutHeight)
} else {
message.timeoutHeight = undefined
}
if (object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null) {
message.timeoutTimestamp = long1.default.fromString(object.timeoutTimestamp)
} else {
message.timeoutTimestamp = long1.default.UZERO
}
return message
},
toJSON(message) {
const obj = {}
if (message.sourcePort !== undefined) obj.sourcePort = message.sourcePort
if (message.sourceChannel !== undefined) obj.sourceChannel = message.sourceChannel
if (message.token !== undefined) obj.token = message.token ? coin1.Coin.toJSON(message.token) : undefined
if (message.sender !== undefined) obj.sender = message.sender
if (message.receiver !== undefined) obj.receiver = message.receiver
if (message.timeoutHeight !== undefined) obj.timeoutHeight = message.timeoutHeight ? client1.Height.toJSON(message.timeoutHeight) : undefined
if (message.timeoutTimestamp !== undefined) obj.timeoutTimestamp = (message.timeoutTimestamp || '0').toString()
return obj
},
fromPartial(object) {
const message = { ...baseMsgTransfer }
if (object.sourcePort !== undefined && object.sourcePort !== null) {
message.sourcePort = object.sourcePort
} else {
message.sourcePort = ''
}
if (object.sourceChannel !== undefined && object.sourceChannel !== null) {
message.sourceChannel = object.sourceChannel
} else {
message.sourceChannel = ''
}
if (object.token !== undefined && object.token !== null) {
message.token = coin1.Coin.fromPartial(object.token)
} else {
message.token = undefined
}
if (object.sender !== undefined && object.sender !== null) {
message.sender = object.sender
} else {
message.sender = ''
}
if (object.receiver !== undefined && object.receiver !== null) {
message.receiver = object.receiver
} else {
message.receiver = ''
}
if (object.timeoutHeight !== undefined && object.timeoutHeight !== null) {
message.timeoutHeight = client1.Height.fromPartial(object.timeoutHeight)
} else {
message.timeoutHeight = undefined
}
if (object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null) {
message.timeoutTimestamp = object.timeoutTimestamp
} else {
message.timeoutTimestamp = long1.default.UZERO
}
return message
},
}

56
src/libs/data/signing.js Normal file
View File

@ -0,0 +1,56 @@
/* eslint-disable camelcase */
import { SigningStargateClient } from '@cosmjs/stargate'
import { MsgTransfer } from './msg-transfer'
// import { AminoTypes } from './aminotypes'
const amino_1 = require('@cosmjs/amino')
const encoding_1 = require('@cosmjs/encoding')
const math_1 = require('@cosmjs/math')
const proto_signing_1 = require('@cosmjs/proto-signing')
const tx_5 = require('cosmjs-types/cosmos/tx/v1beta1/tx')
const signing_1 = require('cosmjs-types/cosmos/tx/signing/v1beta1/signing')
export default class PingWalletClient extends SigningStargateClient {
static async offline(signer, options = {}) {
const instance = new PingWalletClient(undefined, signer, options)
instance.registry.register('/ibc.applications.transfer.v1.MsgTransfer', MsgTransfer)
// console.log('registory:', instance.registry, AminoTypes)
// const { aminoTypes = new AminoTypes({ prefix: options.prefix }) } = options
// instance.aminoTypes = aminoTypes
// console.log('aminoType:', instance.aminoTypes)
return instance
}
async signAmino2(signerAddress, messages, fee, memo, { accountNumber, sequence, chainId }) {
// utils_1.assert(!proto_signing_1.isOfflineDirectSigner(this.signer))
const accountFromSigner = (await this.signer.getAccounts()).find(account => account.address === signerAddress)
if (!accountFromSigner) {
throw new Error('Failed to retrieve account from signer')
}
const pubkey = proto_signing_1.encodePubkey(amino_1.encodeSecp256k1Pubkey(accountFromSigner.pubkey))
const signMode = signing_1.SignMode.SIGN_MODE_LEGACY_AMINO_JSON
const msgs = messages.map(msg => this.aminoTypes.toAmino(msg))
const signDoc = amino_1.makeSignDoc(msgs, fee, chainId, memo, accountNumber, sequence)
const { signature, signed } = await this.signer.signAmino(signerAddress, signDoc)
const signedTxBody = {
messages: signed.msgs.map(msg => this.aminoTypes.fromAmino(msg)),
memo: signed.memo,
}
const signedTxBodyEncodeObject = {
typeUrl: '/cosmos.tx.v1beta1.TxBody',
value: signedTxBody,
}
const signedTxBodyBytes = this.registry.encode(signedTxBodyEncodeObject)
const signedGasLimit = math_1.Int53.fromString(signed.fee.gas).toNumber()
const signedSequence = math_1.Int53.fromString(signed.sequence).toNumber()
const signedAuthInfoBytes = proto_signing_1.makeAuthInfoBytes([{ pubkey, sequence: signedSequence }], signed.fee.amount, signedGasLimit, signMode)
return tx_5.TxRaw.fromPartial({
bodyBytes: signedTxBodyBytes,
authInfoBytes: signedAuthInfoBytes,
signatures: [encoding_1.fromBase64(signature.signature)],
})
}
}

133168
src/libs/es6.js Normal file

File diff suppressed because it is too large Load Diff

8731
src/libs/ibc.js Normal file

File diff suppressed because it is too large Load Diff

270
src/libs/msg.js Normal file
View File

@ -0,0 +1,270 @@
/* eslint-disable */
import Long from "long";
import _m0 from "protobufjs/minimal";
export const protobufPackage = "osmosis.gamm.v1beta1";
const baseSwapAmountInRoute = { poolId: Long.UZERO, tokenOutDenom: "" };
export const SwapAmountInRoute = {
encode(message, writer = _m0.Writer.create()) {
if (!message.poolId.isZero()) {
writer.uint32(8).uint64(message.poolId);
}
if (message.tokenOutDenom !== "") {
writer.uint32(18).string(message.tokenOutDenom);
}
return writer;
},
decode(input, length) {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = Object.assign({}, baseSwapAmountInRoute);
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.poolId = reader.uint64();
break;
case 2:
message.tokenOutDenom = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object) {
const message = Object.assign({}, baseSwapAmountInRoute);
if (object.poolId !== undefined && object.poolId !== null) {
message.poolId = Long.fromString(object.poolId);
}
else {
message.poolId = Long.UZERO;
}
if (object.tokenOutDenom !== undefined && object.tokenOutDenom !== null) {
message.tokenOutDenom = String(object.tokenOutDenom);
}
else {
message.tokenOutDenom = "";
}
return message;
},
toJSON(message) {
const obj = {};
message.poolId !== undefined &&
(obj.poolId = (message.poolId || Long.UZERO).toString());
message.tokenOutDenom !== undefined &&
(obj.tokenOutDenom = message.tokenOutDenom);
return obj;
},
fromPartial(object) {
const message = Object.assign({}, baseSwapAmountInRoute);
if (object.poolId !== undefined && object.poolId !== null) {
message.poolId = object.poolId;
}
else {
message.poolId = Long.UZERO;
}
if (object.tokenOutDenom !== undefined && object.tokenOutDenom !== null) {
message.tokenOutDenom = object.tokenOutDenom;
}
else {
message.tokenOutDenom = "";
}
return message;
},
};
const baseCoin = { denom: "", amount: "" };
export const Coin = {
encode(message, writer = _m0.Writer.create()) {
if (message.denom !== "") {
writer.uint32(10).string(message.denom);
}
if (message.amount !== "") {
writer.uint32(18).string(message.amount);
}
return writer;
},
decode(input, length) {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = Object.assign({}, baseCoin);
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.denom = reader.string();
break;
case 2:
message.amount = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object) {
const message = Object.assign({}, baseCoin);
if (object.denom !== undefined && object.denom !== null) {
message.denom = String(object.denom);
}
else {
message.denom = "";
}
if (object.amount !== undefined && object.amount !== null) {
message.amount = String(object.amount);
}
else {
message.amount = "";
}
return message;
},
toJSON(message) {
const obj = {};
message.denom !== undefined && (obj.denom = message.denom);
message.amount !== undefined && (obj.amount = message.amount);
return obj;
},
fromPartial(object) {
const message = Object.assign({}, baseCoin);
if (object.denom !== undefined && object.denom !== null) {
message.denom = object.denom;
}
else {
message.denom = "";
}
if (object.amount !== undefined && object.amount !== null) {
message.amount = object.amount;
}
else {
message.amount = "";
}
return message;
},
};
const baseMsgSwapExactAmountIn = { sender: "", tokenOutMinAmount: "" };
export const MsgSwapExactAmountIn = {
encode(message, writer = _m0.Writer.create()) {
if (message.sender !== "") {
writer.uint32(10).string(message.sender);
}
for (const v of message.routes) {
SwapAmountInRoute.encode(v, writer.uint32(18).fork()).ldelim();
}
if (message.tokenIn !== undefined) {
Coin.encode(message.tokenIn, writer.uint32(26).fork()).ldelim();
}
if (message.tokenOutMinAmount !== "") {
writer.uint32(34).string(message.tokenOutMinAmount);
}
return writer;
},
decode(input, length) {
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
let end = length === undefined ? reader.len : reader.pos + length;
const message = Object.assign({}, baseMsgSwapExactAmountIn);
message.routes = [];
while (reader.pos < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
message.sender = reader.string();
break;
case 2:
message.routes.push(SwapAmountInRoute.decode(reader, reader.uint32()));
break;
case 3:
message.tokenIn = Coin.decode(reader, reader.uint32());
break;
case 4:
message.tokenOutMinAmount = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
}
}
return message;
},
fromJSON(object) {
const message = Object.assign({}, baseMsgSwapExactAmountIn);
message.routes = [];
if (object.sender !== undefined && object.sender !== null) {
message.sender = String(object.sender);
}
else {
message.sender = "";
}
if (object.routes !== undefined && object.routes !== null) {
for (const e of object.routes) {
message.routes.push(SwapAmountInRoute.fromJSON(e));
}
}
if (object.tokenIn !== undefined && object.tokenIn !== null) {
message.tokenIn = Coin.fromJSON(object.tokenIn);
}
else {
message.tokenIn = undefined;
}
if (object.tokenOutMinAmount !== undefined &&
object.tokenOutMinAmount !== null) {
message.tokenOutMinAmount = String(object.tokenOutMinAmount);
}
else {
message.tokenOutMinAmount = "";
}
return message;
},
toJSON(message) {
const obj = {};
message.sender !== undefined && (obj.sender = message.sender);
if (message.routes) {
obj.routes = message.routes.map((e) => e ? SwapAmountInRoute.toJSON(e) : undefined);
}
else {
obj.routes = [];
}
message.tokenIn !== undefined &&
(obj.tokenIn = message.tokenIn
? Coin.toJSON(message.tokenIn)
: undefined);
message.tokenOutMinAmount !== undefined &&
(obj.tokenOutMinAmount = message.tokenOutMinAmount);
return obj;
},
fromPartial(object) {
const message = Object.assign({}, baseMsgSwapExactAmountIn);
message.routes = [];
if (object.sender !== undefined && object.sender !== null) {
message.sender = object.sender;
}
else {
message.sender = "";
}
if (object.routes !== undefined && object.routes !== null) {
for (const e of object.routes) {
message.routes.push(SwapAmountInRoute.fromPartial(e));
}
}
if (object.tokenIn !== undefined && object.tokenIn !== null) {
message.tokenIn = Coin.fromPartial(object.tokenIn);
}
else {
message.tokenIn = undefined;
}
if (object.tokenOutMinAmount !== undefined &&
object.tokenOutMinAmount !== null) {
message.tokenOutMinAmount = object.tokenOutMinAmount;
}
else {
message.tokenOutMinAmount = "";
}
return message;
},
};
if (_m0.util.Long !== Long) {
_m0.util.Long = Long;
_m0.configure();
}

View File

@ -246,7 +246,7 @@ export default {
}
})
}).catch(e => {
this.error = `This feature is not avalable in your country. 这个功能尚未对你的国家开放。${e}`
this.error = `This feature is not avalable in your country. \n这个功能尚未对你的国家开放。${e}`
})
},
},

View File

@ -244,6 +244,7 @@ import {
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'
import { coin } from '@cosmjs/amino'
import { getChainConfigForSymbol } from '@/libs/osmos'
import dayjs from 'dayjs'
export default {
name: 'TransforDialogue',
@ -412,6 +413,7 @@ export default {
this.error = 'You have to select a destination'
return
}
const timeout = dayjs().add(4, 'hour')
const txMsgs = [
{
typeUrl: '/ibc.applications.transfer.v1.MsgTransfer',
@ -421,10 +423,28 @@ export default {
token: coin(Number(getUnitAmount(this.amount, this.denomTrace.base_denom)), this.denomTrace.base_denom),
sender: this.address,
receiver: this.recipient,
timeoutHeight: this.timeoutHeight,
// timeoutTimestamp: '0',
// timeoutHeight: {
// revisionNumber: '0',
// revisionHeight: '0',
// },
timeoutTimestamp: String(timeout.utc().valueOf() * 1000000),
},
},
// {
// type: 'cosmos-sdk/MsgTransfer',
// value: {
// source_port: this.destination.port_id,
// source_channel: this.destination.channel_id,
// token: coin(Number(getUnitAmount(this.amount, this.denomTrace.base_denom)), this.denomTrace.base_denom),
// sender: this.address,
// receiver: this.recipient,
// timeout_height: {
// revision_number: String(this.timeoutHeight.revision_number),
// revision_height: String(200 + parseInt(this.timeoutHeight.revision_height, 10)),
// },
// timeout_timestamp: '0',
// },
// },
]
const txFee = {
@ -443,8 +463,6 @@ export default {
chainId: this.chainId,
}
console.log(txMsgs, signerData, txFee)
sign(
this.wallet,
this.chainId,

View File

@ -10,7 +10,7 @@
<feather-icon
v-b-modal.trading-deposte-window
icon="PlusSquareIcon"
class="text-primary"
class="text-primary d-none"
/>
<small> {{ available }} {{ type === 0 ? target: base }} </small>
</span>
@ -192,14 +192,18 @@
</b-alert>
<b-alert
class="mt-2"
variant="secondary"
variant="danger"
show
>
<div class="alert-heading">
Note
</div>
<div class="alert-body">
Trading is not available. will open soon.
<div class="d-none">
If the execution price exceeds the {{ slippage * 100 }}% slippage protection, your order will be automatically cancelled
</div>
</div>
</b-alert>
<deposite-window
@ -214,9 +218,9 @@
import {
BFormInput, BButton, BAlert, BFormGroup, BInputGroup, BInputGroupAppend, BFormRadio, BFormRadioGroup, BCard, BPopover,
} from 'bootstrap-vue'
import FeatherIcon from '@/@core/components/feather-icon/FeatherIcon.vue'
import FeatherIcon from '@core/components/feather-icon/FeatherIcon.vue'
import {
formatTokenAmount, getLocalAccounts, percent, sign,
formatTokenAmount, getLocalAccounts, percent, setLocalTxHistory, sign,
} from '@/libs/data'
import { getPairName } from '@/libs/osmos'
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'
@ -355,7 +359,7 @@ export default {
const { denom } = this.pool.poolAssets[this.type === 0 ? 1 : 0].token
const txMsgs = [
{
type: 'osmosis/gamm/swap-exact-amount-in',
type: '/osmosis.gamm.v1beta1.MsgSwapExactAmountIn',
value: {
sender: this.address,
routes: [
@ -400,8 +404,6 @@ export default {
chainId: this.chainId,
}
console.log('trade: ', this.wallet, this.chainId, this.address, txMsgs, txFee, signerData)
sign(
this.wallet,
this.chainId,
@ -411,20 +413,19 @@ export default {
'Sent Via https://ping.pub',
signerData,
).then(bodyBytes => {
console.log('signed:', bodyBytes)
// this.$http.broadcastTx(bodyBytes).then(res => {
// setLocalTxHistory({ op: 'swap', hash: res.tx_response.txhash, time: new Date() })
// this.$toast({
// component: ToastificationContent,
// props: {
// title: 'Transaction sent!',
// icon: 'EditIcon',
// variant: 'success',
// },
// })
// }).catch(e => {
// this.error = e
// })
this.$http.broadcastTx(bodyBytes).then(res => {
setLocalTxHistory({ op: 'swap', hash: res.tx_response.txhash, time: new Date() })
this.$toast({
component: ToastificationContent,
props: {
title: 'Transaction sent!',
icon: 'EditIcon',
variant: 'success',
},
})
}).catch(e => {
this.error = e
})
}).catch(e => {
this.error = e
this.dismissCountDown = this.dismissSecs

490
yarn.lock
View File

@ -251,7 +251,7 @@
chalk "^2.0.0"
js-tokens "^4.0.0"
"@babel/parser@^7.14.5", "@babel/parser@^7.14.6", "@babel/parser@^7.14.7", "@babel/parser@^7.7.0":
"@babel/parser@^7.14.5", "@babel/parser@^7.14.6", "@babel/parser@^7.14.7", "@babel/parser@^7.7.0", "@babel/parser@^7.9.4":
version "7.14.7"
resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz"
integrity sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==
@ -864,20 +864,13 @@
"@babel/types" "^7.4.4"
esutils "^2.0.2"
"@babel/runtime@^7.11.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.8.4":
"@babel/runtime@^7.11.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.13.10", "@babel/runtime@^7.8.4":
version "7.14.6"
resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.6.tgz"
integrity sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==
dependencies:
regenerator-runtime "^0.13.4"
"@babel/runtime@^7.13.10":
version "7.16.3"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.3.tgz#b86f0db02a04187a3c17caa77de69840165d42d5"
integrity sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ==
dependencies:
regenerator-runtime "^0.13.4"
"@babel/template@^7.0.0", "@babel/template@^7.14.5":
version "7.14.5"
resolved "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz"
@ -932,34 +925,24 @@
ripemd160 "^2.0.2"
sha.js "^2.4.11"
"@cosmjs/amino@0.26.0":
version "0.26.0"
resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.26.0.tgz"
integrity sha512-CDGCdGYsxrJxhiI57e7no25LPuzKQOe4DdsJQyLrOzAnFnGHYJvPh0NAX4eEh3dOfwJCwMNnA1w79JNm0lzhOA==
"@cosmjs/amino@0.26.5", "@cosmjs/amino@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.26.5.tgz"
integrity sha512-RFf9P1eb7O60JEWaZ5jbQA0wVbwU4SiBJINEjZkhkB1vUrAxCkfSHBZdJrVg8+IIRSWxPUUVr8PMuIyWlORV3A==
dependencies:
"@cosmjs/crypto" "0.26.0"
"@cosmjs/encoding" "0.26.0"
"@cosmjs/math" "0.26.0"
"@cosmjs/utils" "0.26.0"
"@cosmjs/crypto" "0.26.5"
"@cosmjs/encoding" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/utils" "0.26.5"
"@cosmjs/amino@0.26.1", "@cosmjs/amino@^0.26.0":
version "0.26.1"
resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.26.1.tgz"
integrity sha512-8jcEwsLrLW2ltJdNQzdbx+g6Ii9lgG3j7hqaSatnqJE+8OyUjjLH1beigrpz9PhRF3qzQS8WFweTNkkTgNEcSA==
"@cosmjs/crypto@0.26.5", "@cosmjs/crypto@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.26.5.tgz"
integrity sha512-ab7+qR/gdRi/DIdOLrjyimRdyD/2K/JdpRaFY1bl6Drr3ktVjDQrGsv53THvHONy33yCwD+YS+328ayQRv/pQA==
dependencies:
"@cosmjs/crypto" "0.26.1"
"@cosmjs/encoding" "0.26.1"
"@cosmjs/math" "0.26.1"
"@cosmjs/utils" "0.26.1"
"@cosmjs/crypto@0.26.0":
version "0.26.0"
resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.26.0.tgz"
integrity sha512-/36R7BzBNag1QRA2tpOrnr7x02B/YuaCgXKmKGLNd1+62Ud6aKkORyZMDvEt65SKoLhbDUzvNpSHAUjMsUbDfg==
dependencies:
"@cosmjs/encoding" "0.26.0"
"@cosmjs/math" "0.26.0"
"@cosmjs/utils" "0.26.0"
"@cosmjs/encoding" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/utils" "0.26.5"
bip39 "^3.0.2"
bn.js "^4.11.8"
elliptic "^6.5.3"
@ -968,171 +951,122 @@
ripemd160 "^2.0.2"
sha.js "^2.4.11"
"@cosmjs/crypto@0.26.1", "@cosmjs/crypto@^0.26.0":
version "0.26.1"
resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.26.1.tgz"
integrity sha512-KzX++HMvCYjekdYr6vRRfJmAzJvdB10nRSyudzirn4/055yKh9oKk/wgjq9QGOIrMzEZNoQJNE0RndbS3nRccA==
dependencies:
"@cosmjs/encoding" "0.26.1"
"@cosmjs/math" "0.26.1"
"@cosmjs/utils" "0.26.1"
bip39 "^3.0.2"
bn.js "^4.11.8"
elliptic "^6.5.3"
js-sha3 "^0.8.0"
libsodium-wrappers "^0.7.6"
ripemd160 "^2.0.2"
sha.js "^2.4.11"
"@cosmjs/encoding@0.26.0":
version "0.26.0"
resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.26.0.tgz"
integrity sha512-ctw6cBDsQSd0OJFWEwU6fJYrAXf63JNhOS3mjawo/hRyEFpVSBSEKEHvfICPc+4dT40v9L3eYEr8LXDYxat4AA==
"@cosmjs/encoding@0.26.5", "@cosmjs/encoding@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.26.5.tgz"
integrity sha512-lkw2mLvDZJqVCOZCBqdMzoGUtC4CN7c4+WMCGKDej3TpC0khsv7KZ1eFcsnN6EuZwHyGH67uyyjrs5x0ah9rYg==
dependencies:
base64-js "^1.3.0"
bech32 "^1.1.4"
readonly-date "^1.0.0"
"@cosmjs/encoding@0.26.1", "@cosmjs/encoding@^0.26.0":
version "0.26.1"
resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.26.1.tgz"
integrity sha512-wDFRvSQrTVIX7k4dPPSS/NmaytTU8ludDXi06TsaqVrgL/OR1hcGEkHhoKjodhZ2NS4gLvncI8XagV3SFySGhA==
"@cosmjs/json-rpc@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.26.5.tgz"
integrity sha512-SFGm5MlY54v3I26hXThwVteh91U+/DKS+KGqFL5lPLHZ2EHxggASqhKMiTJBMJVUDWvnmv1ikjFndkWNhpTPNw==
dependencies:
base64-js "^1.3.0"
bech32 "^1.1.4"
readonly-date "^1.0.0"
"@cosmjs/json-rpc@0.26.0":
version "0.26.0"
resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.26.0.tgz"
integrity sha512-Jc+O0fDZjb8bxKSwH8SG9lJxV/y6lN4bYhiUqHNU6AUDUD9wzVr1mPgMudCJQ1DkQrgz8dQg2cDwgFp6eN428g==
dependencies:
"@cosmjs/stream" "0.26.0"
"@cosmjs/stream" "0.26.5"
xstream "^11.14.0"
"@cosmjs/launchpad@^0.26.0":
version "0.26.1"
resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.26.1.tgz"
integrity sha512-RCwBRbIBAJa3AsjLTjGHHUWmq1eIoAIinQLz0BJ1FF9FI1WuAjlwr/m9KRGhoNZvMeEzAtQvxNFxFzL+BOotEQ==
"@cosmjs/launchpad@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.26.5.tgz"
integrity sha512-V+9bLlvlybm9TeqXAoD10KxFHK5exoUYHIoKdj03g78E2oOn82bLRMNs9ti5UtWWOzIe9suyv5/OvunTSlvA7Q==
dependencies:
"@cosmjs/amino" "0.26.1"
"@cosmjs/crypto" "0.26.1"
"@cosmjs/encoding" "0.26.1"
"@cosmjs/math" "0.26.1"
"@cosmjs/utils" "0.26.1"
"@cosmjs/amino" "0.26.5"
"@cosmjs/crypto" "0.26.5"
"@cosmjs/encoding" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/utils" "0.26.5"
axios "^0.21.2"
fast-deep-equal "^3.1.3"
"@cosmjs/ledger-amino@^0.26.0":
version "0.26.1"
resolved "https://registry.npmjs.org/@cosmjs/ledger-amino/-/ledger-amino-0.26.1.tgz"
integrity sha512-A0hnujAhezAkIAc+NCQurN8si16Ub211AVTZvO6xQXCk8/3XRkub7YAvctxyQfM9fOb/a2mGGPGk6dne51tpBA==
"@cosmjs/ledger-amino@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/ledger-amino/-/ledger-amino-0.26.5.tgz"
integrity sha512-UY3OsohGamLXp1P3M7hIW/Wk7Jj04xfFipyw+n4JQ0KSFrniju5idM89kqLELTimXptdI15TaivfHb4MJqfh7g==
dependencies:
"@cosmjs/amino" "0.26.1"
"@cosmjs/crypto" "0.26.1"
"@cosmjs/encoding" "0.26.1"
"@cosmjs/math" "0.26.1"
"@cosmjs/utils" "0.26.1"
"@cosmjs/amino" "0.26.5"
"@cosmjs/crypto" "0.26.5"
"@cosmjs/encoding" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/utils" "0.26.5"
ledger-cosmos-js "^2.1.8"
semver "^7.3.2"
"@cosmjs/math@0.26.0":
version "0.26.0"
resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.26.0.tgz"
integrity sha512-wfzdK/PnEnIA+CXM6VCyUr2daiEMvaF/iBaK3YCpkbXLfHUXQB+7bNh1HAHgJmp+PaYn3MhgBTnQbsmMsE3cKw==
"@cosmjs/math@0.26.5", "@cosmjs/math@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.26.5.tgz"
integrity sha512-1G7NgLJ35g4jUupvyu7Igtgu/fj2NmgpOofpNk1JqIwMXrm3Tx7lOWbxJq8Wrjj2EoH7FNytSO1dXNGeK15UJw==
dependencies:
bn.js "^4.11.8"
"@cosmjs/math@0.26.1", "@cosmjs/math@^0.26.0":
version "0.26.1"
resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.26.1.tgz"
integrity sha512-FvCpguKswL2PYsONXHDzbcaq1gFQteFUz2w7DasVXvVlnzStDS8ePz8k36psNQ1efyX6oF62ZqMizxOZgCW33A==
"@cosmjs/proto-signing@0.26.5", "@cosmjs/proto-signing@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.26.5.tgz"
integrity sha512-F94Uh+PX9nF5zGzUHMdEGgys+YCOudaWQehiHBfOjbHUIv0khufcRXs3l9/5dKzizz9ouQ5DHQAiWq/nYKZKqA==
dependencies:
bn.js "^4.11.8"
"@cosmjs/proto-signing@0.26.0":
version "0.26.0"
resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.26.0.tgz"
integrity sha512-hNiebrGiDCf3tq6SMHtrf4Qhd8Fn4Z868mWJrbIxamR3EsGuAPb5fKFWYEmpS8IXDfD6qRkO845oMAfnmh5Oxg==
dependencies:
"@cosmjs/amino" "0.26.0"
"@cosmjs/crypto" "0.26.0"
"@cosmjs/math" "0.26.0"
"@cosmjs/amino" "0.26.5"
"@cosmjs/crypto" "0.26.5"
"@cosmjs/math" "0.26.5"
cosmjs-types "^0.2.0"
long "^4.0.0"
protobufjs "~6.10.2"
"@cosmjs/proto-signing@^0.26.0":
version "0.26.1"
resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.26.1.tgz"
integrity sha512-R6vHulxH5njTru9Ezr8k5+u6fBzenNRE3EbQtbVreL++TLV/jKu0Vl2CFz89X8su7BqWZImqzE9+BAesLUKVfw==
"@cosmjs/socket@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.26.5.tgz"
integrity sha512-kBpXw9wuNHkO1AGuKgDA4/DOA+jZ6Lt0GVJVJIJ6bfjGbsewsNVocktAiH+1dGb47xXg2oH7OwGJL+B/PB3qPQ==
dependencies:
"@cosmjs/amino" "0.26.1"
"@cosmjs/crypto" "0.26.1"
"@cosmjs/math" "0.26.1"
cosmjs-types "^0.2.0"
long "^4.0.0"
protobufjs "~6.10.2"
"@cosmjs/socket@0.26.0":
version "0.26.0"
resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.26.0.tgz"
integrity sha512-eLGRWDpu7ywHEAvO5B5+75pP8xT5yta4OP/nvMYa4zMtwQgLxZQsGlzQhfeIclB/G57zrupgHECtQFGIttbZPg==
dependencies:
"@cosmjs/stream" "0.26.0"
"@cosmjs/stream" "0.26.5"
isomorphic-ws "^4.0.1"
ws "^7"
xstream "^11.14.0"
"@cosmjs/stargate@0.26.0":
version "0.26.0"
resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.26.0.tgz"
integrity sha512-+60Mbu5Y3x+vDRGfs9DgyQYx7QqKXQ7t4dH8Y0JIs+4Gn38WbrcAHaqcT58K/sQHSZPueRsBGkZTZdQkJII2zw==
"@cosmjs/stargate@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.26.5.tgz"
integrity sha512-rnRptbn01zXAa29272XZgxvH6zemPAvlE9/qGouRXpUm3ilHU+PscAq2k1pD17qtOKWRBLY2+x4feXYHwJg9VA==
dependencies:
"@confio/ics23" "^0.6.3"
"@cosmjs/amino" "0.26.0"
"@cosmjs/encoding" "0.26.0"
"@cosmjs/math" "0.26.0"
"@cosmjs/proto-signing" "0.26.0"
"@cosmjs/stream" "0.26.0"
"@cosmjs/tendermint-rpc" "0.26.0"
"@cosmjs/utils" "0.26.0"
"@cosmjs/amino" "0.26.5"
"@cosmjs/encoding" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/proto-signing" "0.26.5"
"@cosmjs/stream" "0.26.5"
"@cosmjs/tendermint-rpc" "0.26.5"
"@cosmjs/utils" "0.26.5"
cosmjs-types "^0.2.0"
long "^4.0.0"
protobufjs "~6.10.2"
xstream "^11.14.0"
"@cosmjs/stream@0.26.0":
version "0.26.0"
resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.26.0.tgz"
integrity sha512-TaB8aXj5vskllj39fFTlsJviqm+bZjrV6JzBneJMjV0ltuXEaocKo4x+EOe68ZLjF6+lK4XUu1g2rP1iAPdmAQ==
"@cosmjs/stream@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.26.5.tgz"
integrity sha512-CIr/8bkRlLl36LAtbapsKxA7cMVhmPPWTihAcXgBXik1FM/0XCVNETPTQ64HX47eNQuP5AhWwaMoO553Sf9T2w==
dependencies:
xstream "^11.14.0"
"@cosmjs/tendermint-rpc@0.26.0":
version "0.26.0"
resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.26.0.tgz"
integrity sha512-PQbDLerUGAm8GwRiobVfdy7SM5nI9PzFQVDYOAnwwDME0kDsLGy83e7QNTG2DE1G+8861z9CXne5qz+54NbKwQ==
"@cosmjs/tendermint-rpc@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.26.5.tgz"
integrity sha512-bBcFgpTHEP15m8n/bG3cx/LO110sScpEvYvurZDewfy7MW8WETF6sYZaPCGfVDGWde1EPjFLwKKxQ1Da/XoK0A==
dependencies:
"@cosmjs/crypto" "0.26.0"
"@cosmjs/encoding" "0.26.0"
"@cosmjs/json-rpc" "0.26.0"
"@cosmjs/math" "0.26.0"
"@cosmjs/socket" "0.26.0"
"@cosmjs/stream" "0.26.0"
axios "^0.21.1"
"@cosmjs/crypto" "0.26.5"
"@cosmjs/encoding" "0.26.5"
"@cosmjs/json-rpc" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/socket" "0.26.5"
"@cosmjs/stream" "0.26.5"
axios "^0.21.2"
readonly-date "^1.0.0"
xstream "^11.14.0"
"@cosmjs/utils@0.26.0":
version "0.26.0"
resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.26.0.tgz"
integrity sha512-InTQ3P1noUR0U5zJs8ssqnToIGH2NKbFb+hS5wmYGLB0XRdlNk0UGcb9pjbAzaWRQPWxTd08YQvXg6IK/WE4fA==
"@cosmjs/utils@0.26.1":
version "0.26.1"
resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.26.1.tgz"
integrity sha512-E7sYhHfcq2V4oB504FNSt8nx6QInTea1KZT5FrtyqONmgQwccfTv5+E2PuRbQs91i56YzHORHuP57rhV7NPn3g==
"@cosmjs/utils@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.26.5.tgz"
integrity sha512-VB4Z7lEIXA36q0RON15KexzEosToUtdDyMv7UXSBHSl4mLG/fIZgBIpBEYsaPZ1kh43xyINeKQJiGCp2z5rI+g==
"@cosmostation/cosmosjs@^0.10.6":
version "0.10.8"
@ -1627,7 +1561,7 @@
dependencies:
"@types/node" "*"
"@types/long@^4.0.1":
"@types/long@^4.0.0", "@types/long@^4.0.1":
version "4.0.1"
resolved "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz"
integrity sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==
@ -1662,6 +1596,11 @@
resolved "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz"
integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ==
"@types/node@^10.1.0":
version "10.17.60"
resolved "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz"
integrity sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==
"@types/node@^13.7.0":
version "13.13.52"
resolved "https://registry.npmjs.org/@types/node/-/node-13.13.52.tgz"
@ -2013,9 +1952,9 @@
prettier "^1.18.2"
"@vue/composition-api@^1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@vue/composition-api/-/composition-api-1.4.0.tgz#784450d0da1ecfd82f4094053ca593849cbd2e37"
integrity sha512-fanqJw1cqhkfS1dcpFY52CeR0aWDBr7ub/0ObPWqMnNPdRsMi1gX04Q3aLeRtJEuVeCFewNbqvkPskkSPTVaXQ==
version "1.4.1"
resolved "https://registry.npmjs.org/@vue/composition-api/-/composition-api-1.4.1.tgz"
integrity sha512-ZTat9ru/rwecveRnFzlO2mduOBpGfnBdXn+WtBcFLV9UsL/D+6nX47RWuLiVdNxNDX0qphGZRC+JDjwt+YTnRA==
dependencies:
tslib "^2.3.1"
@ -2224,6 +2163,13 @@ accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7:
mime-types "~2.1.24"
negotiator "0.6.2"
acorn-jsx@^3.0.0:
version "3.0.1"
resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz"
integrity sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=
dependencies:
acorn "^3.0.4"
acorn-jsx@^5.2.0, acorn-jsx@^5.3.1:
version "5.3.2"
resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz"
@ -2234,6 +2180,16 @@ acorn-walk@^7.1.1:
resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz"
integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==
acorn@^3.0.4:
version "3.3.0"
resolved "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz"
integrity sha1-ReN/s56No/JbruP/U2niu18iAXo=
acorn@^5.5.0:
version "5.7.4"
resolved "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz"
integrity sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==
acorn@^6.4.1:
version "6.4.2"
resolved "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz"
@ -2491,7 +2447,7 @@ array.prototype.flat@^1.2.4:
arrayslicer@^1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/arrayslicer/-/arrayslicer-1.2.3.tgz#21a4903102a9aba7d8a73c44bf57f3e28c560136"
resolved "https://registry.npmjs.org/arrayslicer/-/arrayslicer-1.2.3.tgz"
integrity sha1-IaSQMQKpq6fYpzxEv1fz4oxWATY=
asn1.js@^5.2.0:
@ -2592,7 +2548,7 @@ axios-mock-adapter@1.19.0:
fast-deep-equal "^3.1.3"
is-buffer "^2.0.3"
axios@0.21.1, axios@^0.21.1:
axios@0.21.1:
version "0.21.1"
resolved "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz"
integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==
@ -2897,7 +2853,7 @@ bl@^4.0.3, bl@^4.1.0:
inherits "^2.0.4"
readable-stream "^3.4.0"
bluebird@^3.1.1, bluebird@^3.5.5:
bluebird@^3.1.1, bluebird@^3.5.5, bluebird@^3.7.2:
version "3.7.2"
resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz"
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
@ -3364,6 +3320,13 @@ caseless@~0.12.0:
resolved "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz"
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
catharsis@^0.9.0:
version "0.9.0"
resolved "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz"
integrity sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==
dependencies:
lodash "^4.17.15"
caw@^2.0.0, caw@^2.0.1:
version "2.0.1"
resolved "https://registry.npmjs.org/caw/-/caw-2.0.1.tgz"
@ -4775,6 +4738,11 @@ entities@^2.0.0:
resolved "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz"
integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==
entities@~2.0.0:
version "2.0.3"
resolved "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz"
integrity sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==
errno@^0.1.3, errno@~0.1.7:
version "0.1.8"
resolved "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz"
@ -4847,6 +4815,23 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz"
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
escape-string-regexp@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz"
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
escodegen@^1.9.1:
version "1.14.3"
resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz"
integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==
dependencies:
esprima "^4.0.1"
estraverse "^4.2.0"
esutils "^2.0.2"
optionator "^0.8.1"
optionalDependencies:
source-map "~0.6.1"
eslint-config-airbnb-base@^14.0.0:
version "14.2.1"
resolved "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.2.1.tgz"
@ -5018,6 +5003,14 @@ eslint@6.8.0:
text-table "^0.2.0"
v8-compile-cache "^2.0.3"
espree@^3.5.4:
version "3.5.4"
resolved "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz"
integrity sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==
dependencies:
acorn "^5.5.0"
acorn-jsx "^3.0.0"
"espree@^6.0.0 || ^7.2.0":
version "7.3.1"
resolved "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz"
@ -5036,7 +5029,7 @@ espree@^6.1.2, espree@^6.2.1:
acorn-jsx "^5.2.0"
eslint-visitor-keys "^1.1.0"
esprima@^4.0.0:
esprima@^4.0.0, esprima@^4.0.1:
version "4.0.1"
resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz"
integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==
@ -5055,7 +5048,7 @@ esrecurse@^4.1.0, esrecurse@^4.3.0:
dependencies:
estraverse "^5.2.0"
estraverse@^4.1.1:
estraverse@^4.1.1, estraverse@^4.2.0:
version "4.3.0"
resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz"
integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==
@ -5982,7 +5975,7 @@ got@^9.6.0:
to-readable-stream "^1.0.0"
url-parse-lax "^3.0.0"
graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.6:
graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@^4.2.6:
version "4.2.6"
resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz"
integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==
@ -5997,12 +5990,12 @@ gzip-size@^5.0.0:
hammerjs@^2.0.8:
version "2.0.8"
resolved "https://registry.yarnpkg.com/hammerjs/-/hammerjs-2.0.8.tgz#04ef77862cff2bb79d30f7692095930222bf60f1"
resolved "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz"
integrity sha1-BO93hiz/K7edMPdpIJWTAiK/YPE=
hamsterjs@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/hamsterjs/-/hamsterjs-1.1.3.tgz#4adc6b9100a3fcc7c65fc391debb249901a50df6"
resolved "https://registry.npmjs.org/hamsterjs/-/hamsterjs-1.1.3.tgz"
integrity sha512-q4XBr7hnxx1WyZA8mpVDuZVa1YXaR0WZaFSBxnj8hUXltuqXJOt5yuWYkAbMXsj+q0REDUO990+/TuxEadXFyg==
handle-thing@^2.0.0:
@ -7076,11 +7069,38 @@ js-yaml@^3.13.1:
argparse "^1.0.7"
esprima "^4.0.0"
js2xmlparser@^4.0.1:
version "4.0.2"
resolved "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz"
integrity sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==
dependencies:
xmlcreate "^2.0.4"
jsbn@~0.1.0:
version "0.1.1"
resolved "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz"
integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM=
jsdoc@^3.4.2:
version "3.6.7"
resolved "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.7.tgz"
integrity sha512-sxKt7h0vzCd+3Y81Ey2qinupL6DpRSZJclS04ugHDNmRUXGzqicMJ6iwayhSA0S0DwwX30c5ozyUthr1QKF6uw==
dependencies:
"@babel/parser" "^7.9.4"
bluebird "^3.7.2"
catharsis "^0.9.0"
escape-string-regexp "^2.0.0"
js2xmlparser "^4.0.1"
klaw "^3.0.0"
markdown-it "^10.0.0"
markdown-it-anchor "^5.2.7"
marked "^2.0.3"
mkdirp "^1.0.4"
requizzle "^0.2.3"
strip-json-comments "^3.1.0"
taffydb "2.6.2"
underscore "~1.13.1"
jsesc@^2.5.1:
version "2.5.2"
resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz"
@ -7251,6 +7271,13 @@ kind-of@^6.0.0, kind-of@^6.0.2:
resolved "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz"
integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==
klaw@^3.0.0:
version "3.0.0"
resolved "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz"
integrity sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==
dependencies:
graceful-fs "^4.1.9"
klona@^2.0.4:
version "2.0.4"
resolved "https://registry.npmjs.org/klona/-/klona-2.0.4.tgz"
@ -7318,6 +7345,13 @@ lines-and-columns@^1.1.6:
resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz"
integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=
linkify-it@^2.0.0:
version "2.2.0"
resolved "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz"
integrity sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==
dependencies:
uc.micro "^1.0.1"
load-json-file@^1.0.0:
version "1.1.0"
resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz"
@ -7550,7 +7584,7 @@ lru-cache@^6.0.0:
lz-string@^1.4.4:
version "1.4.4"
resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.4.4.tgz#c0d8eaf36059f705796e1e344811cf4c498d3a26"
resolved "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz"
integrity sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY=
make-dir@^1.0.0, make-dir@^1.2.0:
@ -7592,6 +7626,27 @@ map-visit@^1.0.0:
dependencies:
object-visit "^1.0.0"
markdown-it-anchor@^5.2.7:
version "5.3.0"
resolved "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-5.3.0.tgz"
integrity sha512-/V1MnLL/rgJ3jkMWo84UR+K+jF1cxNG1a+KwqeXqTIJ+jtA8aWSHuigx8lTzauiIjBDbwF3NcWQMotd0Dm39jA==
markdown-it@^10.0.0:
version "10.0.0"
resolved "https://registry.npmjs.org/markdown-it/-/markdown-it-10.0.0.tgz"
integrity sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg==
dependencies:
argparse "^1.0.7"
entities "~2.0.0"
linkify-it "^2.0.0"
mdurl "^1.0.1"
uc.micro "^1.0.5"
marked@^2.0.3:
version "2.1.3"
resolved "https://registry.npmjs.org/marked/-/marked-2.1.3.tgz"
integrity sha512-/Q+7MGzaETqifOMWYEA7HVMaZb4XbcRfaOzcSsHZEith83KGlvaSG33u0SKu89Mj5h+T8V2hM+8O45Qc5XTgwA==
md5.js@^1.3.4:
version "1.3.5"
resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz"
@ -7611,6 +7666,11 @@ mdn-data@2.0.4:
resolved "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz"
integrity sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==
mdurl@^1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz"
integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=
media-typer@0.3.0:
version "0.3.0"
resolved "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz"
@ -7847,6 +7907,11 @@ mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.5, mkdirp@~0.5.1:
dependencies:
minimist "^1.2.5"
mkdirp@^1.0.4:
version "1.0.4"
resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz"
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
moment@^2.10.2, moment@^2.29.1:
version "2.29.1"
resolved "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz"
@ -8302,7 +8367,7 @@ opn@^5.5.0:
dependencies:
is-wsl "^1.1.0"
optionator@^0.8.3:
optionator@^0.8.1, optionator@^0.8.3:
version "0.8.3"
resolved "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz"
integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==
@ -8368,7 +8433,7 @@ os-filter-obj@^2.0.0:
dependencies:
arch "^2.1.0"
os-tmpdir@~1.0.2:
os-tmpdir@~1.0.1, os-tmpdir@~1.0.2:
version "1.0.2"
resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz"
integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=
@ -9244,6 +9309,41 @@ proto-list@~1.2.1:
resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz"
integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=
protobufjs-cli-dbx@^7.0.7:
version "7.0.7"
resolved "https://registry.npmjs.org/protobufjs-cli-dbx/-/protobufjs-cli-dbx-7.0.7.tgz"
integrity sha512-lP9nIEfV1fw1SjRBS5qpLEbBkImHHgtrYXzqX6s6Hn7hcuTDFwCXEy6Tzz4sAh4IgCKcjDT8ZK7AluerVHaGHQ==
dependencies:
chalk "^2.4.1"
escodegen "^1.9.1"
espree "^3.5.4"
estraverse "^4.2.0"
glob "^7.1.2"
jsdoc "^3.4.2"
minimist "^1.2.0"
semver "^5.5.0"
tmp "0.0.31"
uglify-js "^3.3.25"
protobufjs-dbx@^7.0.0:
version "7.0.0"
resolved "https://registry.npmjs.org/protobufjs-dbx/-/protobufjs-dbx-7.0.0.tgz"
integrity sha512-y4ECgn5J39e4RqlbyQhwJF72nLuyY9JhkhnfTRr03/bx0aonZ/VfDSxrXls8RxLup7Hk2rx/fandTmtYO6XGZQ==
dependencies:
"@protobufjs/aspromise" "^1.1.2"
"@protobufjs/base64" "^1.1.2"
"@protobufjs/codegen" "^2.0.4"
"@protobufjs/eventemitter" "^1.1.0"
"@protobufjs/fetch" "^1.1.0"
"@protobufjs/float" "^1.0.2"
"@protobufjs/inquire" "^1.1.0"
"@protobufjs/path" "^1.1.2"
"@protobufjs/pool" "^1.1.0"
"@protobufjs/utf8" "^1.1.0"
"@types/long" "^4.0.0"
"@types/node" "^10.1.0"
long "^4.0.0"
protobufjs@^6.10.2, protobufjs@^6.8.8, protobufjs@~6.10.2:
version "6.10.2"
resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.2.tgz"
@ -9743,6 +9843,13 @@ requires-port@^1.0.0:
resolved "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz"
integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=
requizzle@^0.2.3:
version "0.2.3"
resolved "https://registry.npmjs.org/requizzle/-/requizzle-0.2.3.tgz"
integrity sha512-YanoyJjykPxGHii0fZP0uUPEXpvqfBDxWV7s6GKAiiOsiqhX6vHNyW3Qzdmqp/iq/ExbhaGbVrjB4ruEVSM4GQ==
dependencies:
lodash "^4.17.14"
resize-detector@^0.1.10:
version "0.1.10"
resolved "https://registry.npmjs.org/resize-detector/-/resize-detector-0.1.10.tgz"
@ -10657,7 +10764,7 @@ strip-json-comments@^2.0.0, strip-json-comments@~2.0.1:
resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz"
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
strip-json-comments@^3.0.1:
strip-json-comments@^3.0.1, strip-json-comments@^3.1.0:
version "3.1.1"
resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz"
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
@ -10819,6 +10926,11 @@ table@^5.2.3:
slice-ansi "^2.1.0"
string-width "^3.0.0"
taffydb@2.6.2:
version "2.6.2"
resolved "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz"
integrity sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=
tapable@^0.1.8:
version "0.1.10"
resolved "https://registry.npmjs.org/tapable/-/tapable-0.1.10.tgz"
@ -10979,6 +11091,13 @@ tiny-secp256k1@^1.0.0, tiny-secp256k1@^1.1.3:
elliptic "^6.4.0"
nan "^2.13.2"
tmp@0.0.31:
version "0.0.31"
resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.31.tgz"
integrity sha1-jzirlDjhcxXl29izZX6L+yd65Kc=
dependencies:
os-tmpdir "~1.0.1"
tmp@^0.0.33:
version "0.0.33"
resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz"
@ -11066,7 +11185,7 @@ tough-cookie@~2.5.0:
trading-vue-js@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/trading-vue-js/-/trading-vue-js-1.0.2.tgz#cdc29dda457a72db13123c0b21514ee8eae51c24"
resolved "https://registry.npmjs.org/trading-vue-js/-/trading-vue-js-1.0.2.tgz"
integrity sha512-RObZR4OF5rtdgh/CyyRv0soPxlVlwHudlpAziOeQeOeId4j/2RcGUSp4/lKwzYo8b51tnAiRnMtDS+ZSmg208g==
dependencies:
"@babel/runtime" "^7.13.10"
@ -11115,7 +11234,7 @@ tslib@^1.9.0:
tslib@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
resolved "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz"
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
tty-browserify@0.0.0:
@ -11187,7 +11306,12 @@ typeforce@^1.11.3, typeforce@^1.11.5:
resolved "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz"
integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g==
uglify-js@3.4.x:
uc.micro@^1.0.1, uc.micro@^1.0.5:
version "1.0.6"
resolved "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz"
integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==
uglify-js@3.4.x, uglify-js@^3.3.25:
version "3.4.10"
resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz"
integrity sha512-Y2VsbPVs0FIshJztycsO2SfPk7/KAF/T72qzv9u5EpQ4kB2hQoHlhNQTsNyy6ul7lQtqJN/AoWeS23OzEiEFxw==
@ -11213,6 +11337,11 @@ unbzip2-stream@^1.0.9:
buffer "^5.2.1"
through "^2.3.8"
underscore@~1.13.1:
version "1.13.1"
resolved "https://registry.npmjs.org/underscore/-/underscore-1.13.1.tgz"
integrity sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g==
unicode-canonical-property-names-ecmascript@^1.0.4:
version "1.0.4"
resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz"
@ -12088,15 +12217,20 @@ ws@^6.0.0, ws@^6.2.1:
async-limiter "~1.0.0"
ws@^7:
version "7.5.5"
resolved "https://registry.npmjs.org/ws/-/ws-7.5.5.tgz"
integrity sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w==
version "7.5.6"
resolved "https://registry.npmjs.org/ws/-/ws-7.5.6.tgz"
integrity sha512-6GLgCqo2cy2A2rjCNFlxQS6ZljG/coZfZXclldI8FB/1G3CCI36Zd8xy2HrFVACi8tfk5XrgLQEk+P0Tnz9UcA==
xdg-basedir@^4.0.0:
version "4.0.0"
resolved "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz"
integrity sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==
xmlcreate@^2.0.4:
version "2.0.4"
resolved "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz"
integrity sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==
xstream@^11.14.0:
version "11.14.0"
resolved "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz"