@mictonode/widget 0.3.16 → 0.3.18
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/.github/FUNDING.yml +3 -3
- package/.github/workflows/npm-publish.yml +34 -34
- package/.prettierrc.json +9 -9
- package/.vscode/extensions.json +3 -3
- package/LICENSE +674 -674
- package/README.md +41 -41
- package/dist/{main-d0e5d1e4.js → main-bbea3e54.js} +155 -153
- package/dist/ping-widget.js +2 -2
- package/dist/ping-widget.umd.cjs +18 -18
- package/dist/{query.lcd-3d4d3495.js → query.lcd-88036522.js} +1 -1
- package/dist/{query.rpc.Query-b7807c29.js → query.rpc.Query-3a2b14f8.js} +1 -1
- package/dist/{tx.rpc.msg-59c3408a.js → tx.rpc.msg-39f0b824.js} +1 -1
- package/example/.vscode/extensions.json +3 -3
- package/example/README.md +7 -7
- package/example/index.html +12 -12
- package/example/package.json +19 -19
- package/example/pnpm-lock.yaml +465 -465
- package/example/public/cdn.html +19 -19
- package/example/src/App.vue +73 -73
- package/example/src/main.js +4 -4
- package/example/vite.config.js +7 -7
- package/index.html +12 -12
- package/lib/components/ConnectWallet/index.vue +262 -262
- package/lib/components/TokenConvert/index.vue +1033 -1033
- package/lib/components/TokenConvert/tokens.ts +36 -36
- package/lib/components/TxDialog/index.vue +422 -422
- package/lib/components/TxDialog/messages/Delegate.vue +174 -174
- package/lib/components/TxDialog/messages/Deposit.vue +96 -96
- package/lib/components/TxDialog/messages/Redelegate.vue +160 -160
- package/lib/components/TxDialog/messages/Send.vue +142 -142
- package/lib/components/TxDialog/messages/Transfer.vue +248 -248
- package/lib/components/TxDialog/messages/Unbond.vue +103 -103
- package/lib/components/TxDialog/messages/Vote.vue +62 -62
- package/lib/components/TxDialog/messages/Withdraw.vue +55 -55
- package/lib/components/TxDialog/messages/WithdrawCommission.vue +74 -74
- package/lib/components/TxDialog/wasm/ClearAdmin.vue +55 -55
- package/lib/components/TxDialog/wasm/ExecuteContract.vue +98 -98
- package/lib/components/TxDialog/wasm/InstantiateContract.vue +108 -108
- package/lib/components/TxDialog/wasm/MigrateContract.vue +76 -76
- package/lib/components/TxDialog/wasm/MigrateContract2.vue +76 -76
- package/lib/components/TxDialog/wasm/StoreCode.vue +100 -100
- package/lib/components/TxDialog/wasm/UpdateAdmin.vue +74 -74
- package/lib/main.css +591 -7
- package/lib/main.ts +24 -23
- package/lib/utils/TokenUnitConverter.ts +44 -44
- package/lib/utils/format.ts +16 -16
- package/lib/utils/http.ts +154 -154
- package/lib/utils/type.ts +56 -56
- package/lib/wallet/EthermintMessageAdapter.ts +135 -135
- package/lib/wallet/UniClient.ts +144 -144
- package/lib/wallet/Wallet.ts +142 -142
- package/lib/wallet/wallets/KeplerWallet.ts +141 -141
- package/lib/wallet/wallets/LeapWallet.ts +141 -141
- package/lib/wallet/wallets/LedgerWallet.ts +202 -202
- package/lib/wallet/wallets/MetamaskSnapWallet.ts +105 -105
- package/lib/wallet/wallets/MetamaskWallet.ts +173 -173
- package/lib/wallet/wallets/OKXWallet.ts +202 -202
- package/lib/wallet/wallets/UnisatWallet.ts +198 -198
- package/package.json +5 -6
- package/postcss.config.js +6 -6
- package/src/App.vue +225 -225
- package/src/main.ts +7 -4
- package/src/styles/design-system.css +184 -0
- package/src/vite-env.d.ts +1 -1
- package/tailwind.config.js +158 -34
- package/tsconfig.json +25 -25
- package/tsconfig.node.json +10 -10
- package/vite.config.ts +62 -62
- package/vue-shim.d.ts +6 -6
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export interface TokenConfig {
|
|
2
|
-
denom: string;
|
|
3
|
-
symbol: string;
|
|
4
|
-
ibcDenom: string;
|
|
5
|
-
decimals: number;
|
|
6
|
-
coinImageUrl: string;
|
|
7
|
-
sourceChannelId?: string;
|
|
8
|
-
destChannelId?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const tokens : TokenConfig[]= [
|
|
12
|
-
{
|
|
13
|
-
denom: "uosmo",
|
|
14
|
-
symbol: "OSMO",
|
|
15
|
-
ibcDenom: "uosmo", // use base denom for native token
|
|
16
|
-
decimals: 6,
|
|
17
|
-
coinImageUrl: "https://app.osmosis.zone/tokens/osmo.svg",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
denom: "uatom",
|
|
21
|
-
symbol: "ATOM",
|
|
22
|
-
ibcDenom: "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",
|
|
23
|
-
sourceChannelId: "channel-0",
|
|
24
|
-
destChannelId: "channel-141",
|
|
25
|
-
decimals: 6,
|
|
26
|
-
coinImageUrl: "https://app.osmosis.zone/tokens/atom.svg",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
denom: "uusdc",
|
|
30
|
-
symbol: "USDC",
|
|
31
|
-
ibcDenom: "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
|
|
32
|
-
sourceChannelId: "channel-208",
|
|
33
|
-
destChannelId: "",
|
|
34
|
-
decimals: 6,
|
|
35
|
-
coinImageUrl: "https://app.osmosis.zone/tokens/usdc.svg",
|
|
36
|
-
},
|
|
1
|
+
export interface TokenConfig {
|
|
2
|
+
denom: string;
|
|
3
|
+
symbol: string;
|
|
4
|
+
ibcDenom: string;
|
|
5
|
+
decimals: number;
|
|
6
|
+
coinImageUrl: string;
|
|
7
|
+
sourceChannelId?: string;
|
|
8
|
+
destChannelId?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const tokens : TokenConfig[]= [
|
|
12
|
+
{
|
|
13
|
+
denom: "uosmo",
|
|
14
|
+
symbol: "OSMO",
|
|
15
|
+
ibcDenom: "uosmo", // use base denom for native token
|
|
16
|
+
decimals: 6,
|
|
17
|
+
coinImageUrl: "https://app.osmosis.zone/tokens/osmo.svg",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
denom: "uatom",
|
|
21
|
+
symbol: "ATOM",
|
|
22
|
+
ibcDenom: "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",
|
|
23
|
+
sourceChannelId: "channel-0",
|
|
24
|
+
destChannelId: "channel-141",
|
|
25
|
+
decimals: 6,
|
|
26
|
+
coinImageUrl: "https://app.osmosis.zone/tokens/atom.svg",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
denom: "uusdc",
|
|
30
|
+
symbol: "USDC",
|
|
31
|
+
ibcDenom: "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
|
|
32
|
+
sourceChannelId: "channel-208",
|
|
33
|
+
destChannelId: "",
|
|
34
|
+
decimals: 6,
|
|
35
|
+
coinImageUrl: "https://app.osmosis.zone/tokens/usdc.svg",
|
|
36
|
+
},
|
|
37
37
|
]
|