@mictonode/widget 0.3.9
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 -0
- package/.github/workflows/npm-publish.yml +34 -0
- package/.prettierrc.json +9 -0
- package/.vscode/extensions.json +3 -0
- package/README.md +41 -0
- package/dist/main-172a6585.js +404361 -0
- package/dist/ping-widget.js +13 -0
- package/dist/ping-widget.umd.cjs +96 -0
- package/dist/query.lcd-2adf1c0c.js +129 -0
- package/dist/query.rpc.Query-b53908e7.js +2316 -0
- package/dist/tx.rpc.msg-d234ff40.js +37 -0
- package/dist/tx.rpc.msg-f7a80a78.js +21 -0
- package/example/.vscode/extensions.json +3 -0
- package/example/README.md +7 -0
- package/example/index.html +12 -0
- package/example/package.json +19 -0
- package/example/pnpm-lock.yaml +465 -0
- package/example/public/cdn.html +19 -0
- package/example/src/App.vue +73 -0
- package/example/src/main.js +4 -0
- package/example/vite.config.js +7 -0
- package/index.html +12 -0
- package/lib/components/ConnectWallet/index.vue +267 -0
- package/lib/components/TokenConvert/index.vue +1033 -0
- package/lib/components/TokenConvert/tokens.ts +37 -0
- package/lib/components/TxDialog/index.vue +432 -0
- package/lib/components/TxDialog/messages/Delegate.vue +194 -0
- package/lib/components/TxDialog/messages/Deposit.vue +97 -0
- package/lib/components/TxDialog/messages/MsgDelegate.ts +0 -0
- package/lib/components/TxDialog/messages/Redelegate.vue +189 -0
- package/lib/components/TxDialog/messages/Send.vue +142 -0
- package/lib/components/TxDialog/messages/Transfer.vue +248 -0
- package/lib/components/TxDialog/messages/Unbond.vue +137 -0
- package/lib/components/TxDialog/messages/Vote.vue +63 -0
- package/lib/components/TxDialog/messages/Withdraw.vue +56 -0
- package/lib/components/TxDialog/messages/WithdrawCommission.vue +75 -0
- package/lib/components/TxDialog/wasm/ClearAdmin.vue +56 -0
- package/lib/components/TxDialog/wasm/ExecuteContract.vue +99 -0
- package/lib/components/TxDialog/wasm/InstantiateContract.vue +109 -0
- package/lib/components/TxDialog/wasm/MigrateContract.vue +77 -0
- package/lib/components/TxDialog/wasm/MigrateContract2.vue +77 -0
- package/lib/components/TxDialog/wasm/StoreCode.vue +101 -0
- package/lib/components/TxDialog/wasm/UpdateAdmin.vue +75 -0
- package/lib/main.css +7 -0
- package/lib/main.ts +23 -0
- package/lib/utils/TokenUnitConverter.ts +45 -0
- package/lib/utils/format.ts +16 -0
- package/lib/utils/http.ts +223 -0
- package/lib/utils/type.ts +77 -0
- package/lib/wallet/EthermintMessageAdapter.ts +136 -0
- package/lib/wallet/UniClient.ts +152 -0
- package/lib/wallet/Wallet.ts +138 -0
- package/lib/wallet/wallets/InitiaWallet.ts +189 -0
- package/lib/wallet/wallets/KeplerWallet.ts +158 -0
- package/lib/wallet/wallets/LeapWallet.ts +142 -0
- package/lib/wallet/wallets/LedgerWallet.ts +203 -0
- package/lib/wallet/wallets/MetamaskSnapWallet.ts +105 -0
- package/lib/wallet/wallets/MetamaskWallet.ts +173 -0
- package/lib/wallet/wallets/OKXWallet.ts +202 -0
- package/lib/wallet/wallets/UnisatWallet.ts +198 -0
- package/package.json +102 -0
- package/postcss.config.js +6 -0
- package/src/App.vue +241 -0
- package/src/main.ts +4 -0
- package/src/vite-env.d.ts +1 -0
- package/tailwind.config.js +34 -0
- package/tsconfig.json +25 -0
- package/tsconfig.node.json +10 -0
- package/vite.config.ts +62 -0
- package/vue-shim.d.ts +6 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { _ as n, k as r, l as d, m as i, n as c, o as a, p, q as h, r as l, u as m, v as w, w as P } from "./main-172a6585.js";
|
|
2
|
+
import "@initia/initia.proto/ibc/applications/fetchprice/v1/tx";
|
|
3
|
+
import "@initia/initia.proto/ibc/applications/fetchprice/v1/types";
|
|
4
|
+
import "@initia/initia.proto/slinky/marketmap/v1/tx";
|
|
5
|
+
import "@initia/initia.proto/slinky/oracle/v1/tx";
|
|
6
|
+
import "@initia/initia.proto/slinky/types/v1/currency_pair";
|
|
7
|
+
import "@initia/initia.proto/slinky/oracle/v1/genesis";
|
|
8
|
+
import "@initia/initia.proto/slinky/marketmap/v1/market";
|
|
9
|
+
import "@initia/initia.proto/slinky/marketmap/v1/params";
|
|
10
|
+
class y {
|
|
11
|
+
constructor(e) {
|
|
12
|
+
n(this, "rpc", void 0), this.rpc = e, this.createPosition = this.createPosition.bind(this), this.withdrawPosition = this.withdrawPosition.bind(this), this.addToPosition = this.addToPosition.bind(this), this.collectSpreadRewards = this.collectSpreadRewards.bind(this), this.collectIncentives = this.collectIncentives.bind(this);
|
|
13
|
+
}
|
|
14
|
+
createPosition(e) {
|
|
15
|
+
const s = r.encode(e).finish();
|
|
16
|
+
return this.rpc.request("osmosis.concentratedliquidity.v1beta1.Msg", "CreatePosition", s).then((t) => d.decode(new i.Reader(t)));
|
|
17
|
+
}
|
|
18
|
+
withdrawPosition(e) {
|
|
19
|
+
const s = c.encode(e).finish();
|
|
20
|
+
return this.rpc.request("osmosis.concentratedliquidity.v1beta1.Msg", "WithdrawPosition", s).then((t) => a.decode(new i.Reader(t)));
|
|
21
|
+
}
|
|
22
|
+
addToPosition(e) {
|
|
23
|
+
const s = p.encode(e).finish();
|
|
24
|
+
return this.rpc.request("osmosis.concentratedliquidity.v1beta1.Msg", "AddToPosition", s).then((t) => h.decode(new i.Reader(t)));
|
|
25
|
+
}
|
|
26
|
+
collectSpreadRewards(e) {
|
|
27
|
+
const s = l.encode(e).finish();
|
|
28
|
+
return this.rpc.request("osmosis.concentratedliquidity.v1beta1.Msg", "CollectSpreadRewards", s).then((t) => m.decode(new i.Reader(t)));
|
|
29
|
+
}
|
|
30
|
+
collectIncentives(e) {
|
|
31
|
+
const s = w.encode(e).finish();
|
|
32
|
+
return this.rpc.request("osmosis.concentratedliquidity.v1beta1.Msg", "CollectIncentives", s).then((t) => P.decode(new i.Reader(t)));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
y as MsgClientImpl
|
|
37
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { _ as r, M as i, j as n, m as s } from "./main-172a6585.js";
|
|
2
|
+
import "@initia/initia.proto/ibc/applications/fetchprice/v1/tx";
|
|
3
|
+
import "@initia/initia.proto/ibc/applications/fetchprice/v1/types";
|
|
4
|
+
import "@initia/initia.proto/slinky/marketmap/v1/tx";
|
|
5
|
+
import "@initia/initia.proto/slinky/oracle/v1/tx";
|
|
6
|
+
import "@initia/initia.proto/slinky/types/v1/currency_pair";
|
|
7
|
+
import "@initia/initia.proto/slinky/oracle/v1/genesis";
|
|
8
|
+
import "@initia/initia.proto/slinky/marketmap/v1/market";
|
|
9
|
+
import "@initia/initia.proto/slinky/marketmap/v1/params";
|
|
10
|
+
class u {
|
|
11
|
+
constructor(e) {
|
|
12
|
+
r(this, "rpc", void 0), this.rpc = e, this.createConcentratedPool = this.createConcentratedPool.bind(this);
|
|
13
|
+
}
|
|
14
|
+
createConcentratedPool(e) {
|
|
15
|
+
const t = i.encode(e).finish();
|
|
16
|
+
return this.rpc.request("osmosis.concentratedliquidity.poolmodel.concentrated.v1beta1.Msg", "CreateConcentratedPool", t).then((o) => n.decode(new s.Reader(o)));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
u as MsgClientImpl
|
|
21
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Vue 3 + Vite
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
+
|
|
5
|
+
## Recommended IDE Setup
|
|
6
|
+
|
|
7
|
+
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>Vite + Vue</title>
|
|
7
|
+
</head>
|
|
8
|
+
<body>
|
|
9
|
+
<div id="app"></div>
|
|
10
|
+
<script type="module" src="/src/main.js"></script>
|
|
11
|
+
</body>
|
|
12
|
+
</html>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "example",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "vite",
|
|
8
|
+
"build": "vite build",
|
|
9
|
+
"preview": "vite preview"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"ping-widget": "^0.0.7",
|
|
13
|
+
"vue": "^3.2.47"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@vitejs/plugin-vue": "^4.1.0",
|
|
17
|
+
"vite": "^4.3.2"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,465 @@
|
|
|
1
|
+
lockfileVersion: '6.0'
|
|
2
|
+
|
|
3
|
+
dependencies:
|
|
4
|
+
ping-widget:
|
|
5
|
+
specifier: ^0.0.1
|
|
6
|
+
version: 0.0.1
|
|
7
|
+
vue:
|
|
8
|
+
specifier: ^3.2.47
|
|
9
|
+
version: 3.2.47
|
|
10
|
+
|
|
11
|
+
devDependencies:
|
|
12
|
+
'@vitejs/plugin-vue':
|
|
13
|
+
specifier: ^4.1.0
|
|
14
|
+
version: 4.1.0(vite@4.3.2)(vue@3.2.47)
|
|
15
|
+
vite:
|
|
16
|
+
specifier: ^4.3.2
|
|
17
|
+
version: 4.3.2
|
|
18
|
+
|
|
19
|
+
packages:
|
|
20
|
+
|
|
21
|
+
/@babel/helper-string-parser@7.21.5:
|
|
22
|
+
resolution: {integrity: sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w==}
|
|
23
|
+
engines: {node: '>=6.9.0'}
|
|
24
|
+
|
|
25
|
+
/@babel/helper-validator-identifier@7.19.1:
|
|
26
|
+
resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==}
|
|
27
|
+
engines: {node: '>=6.9.0'}
|
|
28
|
+
|
|
29
|
+
/@babel/parser@7.21.8:
|
|
30
|
+
resolution: {integrity: sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA==}
|
|
31
|
+
engines: {node: '>=6.0.0'}
|
|
32
|
+
hasBin: true
|
|
33
|
+
dependencies:
|
|
34
|
+
'@babel/types': 7.21.5
|
|
35
|
+
|
|
36
|
+
/@babel/types@7.21.5:
|
|
37
|
+
resolution: {integrity: sha512-m4AfNvVF2mVC/F7fDEdH2El3HzUg9It/XsCxZiOTTA3m3qYfcSVSbTfM6Q9xG+hYDniZssYhlXKKUMD5m8tF4Q==}
|
|
38
|
+
engines: {node: '>=6.9.0'}
|
|
39
|
+
dependencies:
|
|
40
|
+
'@babel/helper-string-parser': 7.21.5
|
|
41
|
+
'@babel/helper-validator-identifier': 7.19.1
|
|
42
|
+
to-fast-properties: 2.0.0
|
|
43
|
+
|
|
44
|
+
/@esbuild/android-arm64@0.17.18:
|
|
45
|
+
resolution: {integrity: sha512-/iq0aK0eeHgSC3z55ucMAHO05OIqmQehiGay8eP5l/5l+iEr4EIbh4/MI8xD9qRFjqzgkc0JkX0LculNC9mXBw==}
|
|
46
|
+
engines: {node: '>=12'}
|
|
47
|
+
cpu: [arm64]
|
|
48
|
+
os: [android]
|
|
49
|
+
requiresBuild: true
|
|
50
|
+
dev: true
|
|
51
|
+
optional: true
|
|
52
|
+
|
|
53
|
+
/@esbuild/android-arm@0.17.18:
|
|
54
|
+
resolution: {integrity: sha512-EmwL+vUBZJ7mhFCs5lA4ZimpUH3WMAoqvOIYhVQwdIgSpHC8ImHdsRyhHAVxpDYUSm0lWvd63z0XH1IlImS2Qw==}
|
|
55
|
+
engines: {node: '>=12'}
|
|
56
|
+
cpu: [arm]
|
|
57
|
+
os: [android]
|
|
58
|
+
requiresBuild: true
|
|
59
|
+
dev: true
|
|
60
|
+
optional: true
|
|
61
|
+
|
|
62
|
+
/@esbuild/android-x64@0.17.18:
|
|
63
|
+
resolution: {integrity: sha512-x+0efYNBF3NPW2Xc5bFOSFW7tTXdAcpfEg2nXmxegm4mJuVeS+i109m/7HMiOQ6M12aVGGFlqJX3RhNdYM2lWg==}
|
|
64
|
+
engines: {node: '>=12'}
|
|
65
|
+
cpu: [x64]
|
|
66
|
+
os: [android]
|
|
67
|
+
requiresBuild: true
|
|
68
|
+
dev: true
|
|
69
|
+
optional: true
|
|
70
|
+
|
|
71
|
+
/@esbuild/darwin-arm64@0.17.18:
|
|
72
|
+
resolution: {integrity: sha512-6tY+djEAdF48M1ONWnQb1C+6LiXrKjmqjzPNPWXhu/GzOHTHX2nh8Mo2ZAmBFg0kIodHhciEgUBtcYCAIjGbjQ==}
|
|
73
|
+
engines: {node: '>=12'}
|
|
74
|
+
cpu: [arm64]
|
|
75
|
+
os: [darwin]
|
|
76
|
+
requiresBuild: true
|
|
77
|
+
dev: true
|
|
78
|
+
optional: true
|
|
79
|
+
|
|
80
|
+
/@esbuild/darwin-x64@0.17.18:
|
|
81
|
+
resolution: {integrity: sha512-Qq84ykvLvya3dO49wVC9FFCNUfSrQJLbxhoQk/TE1r6MjHo3sFF2tlJCwMjhkBVq3/ahUisj7+EpRSz0/+8+9A==}
|
|
82
|
+
engines: {node: '>=12'}
|
|
83
|
+
cpu: [x64]
|
|
84
|
+
os: [darwin]
|
|
85
|
+
requiresBuild: true
|
|
86
|
+
dev: true
|
|
87
|
+
optional: true
|
|
88
|
+
|
|
89
|
+
/@esbuild/freebsd-arm64@0.17.18:
|
|
90
|
+
resolution: {integrity: sha512-fw/ZfxfAzuHfaQeMDhbzxp9mc+mHn1Y94VDHFHjGvt2Uxl10mT4CDavHm+/L9KG441t1QdABqkVYwakMUeyLRA==}
|
|
91
|
+
engines: {node: '>=12'}
|
|
92
|
+
cpu: [arm64]
|
|
93
|
+
os: [freebsd]
|
|
94
|
+
requiresBuild: true
|
|
95
|
+
dev: true
|
|
96
|
+
optional: true
|
|
97
|
+
|
|
98
|
+
/@esbuild/freebsd-x64@0.17.18:
|
|
99
|
+
resolution: {integrity: sha512-FQFbRtTaEi8ZBi/A6kxOC0V0E9B/97vPdYjY9NdawyLd4Qk5VD5g2pbWN2VR1c0xhzcJm74HWpObPszWC+qTew==}
|
|
100
|
+
engines: {node: '>=12'}
|
|
101
|
+
cpu: [x64]
|
|
102
|
+
os: [freebsd]
|
|
103
|
+
requiresBuild: true
|
|
104
|
+
dev: true
|
|
105
|
+
optional: true
|
|
106
|
+
|
|
107
|
+
/@esbuild/linux-arm64@0.17.18:
|
|
108
|
+
resolution: {integrity: sha512-R7pZvQZFOY2sxUG8P6A21eq6q+eBv7JPQYIybHVf1XkQYC+lT7nDBdC7wWKTrbvMXKRaGudp/dzZCwL/863mZQ==}
|
|
109
|
+
engines: {node: '>=12'}
|
|
110
|
+
cpu: [arm64]
|
|
111
|
+
os: [linux]
|
|
112
|
+
requiresBuild: true
|
|
113
|
+
dev: true
|
|
114
|
+
optional: true
|
|
115
|
+
|
|
116
|
+
/@esbuild/linux-arm@0.17.18:
|
|
117
|
+
resolution: {integrity: sha512-jW+UCM40LzHcouIaqv3e/oRs0JM76JfhHjCavPxMUti7VAPh8CaGSlS7cmyrdpzSk7A+8f0hiedHqr/LMnfijg==}
|
|
118
|
+
engines: {node: '>=12'}
|
|
119
|
+
cpu: [arm]
|
|
120
|
+
os: [linux]
|
|
121
|
+
requiresBuild: true
|
|
122
|
+
dev: true
|
|
123
|
+
optional: true
|
|
124
|
+
|
|
125
|
+
/@esbuild/linux-ia32@0.17.18:
|
|
126
|
+
resolution: {integrity: sha512-ygIMc3I7wxgXIxk6j3V00VlABIjq260i967Cp9BNAk5pOOpIXmd1RFQJQX9Io7KRsthDrQYrtcx7QCof4o3ZoQ==}
|
|
127
|
+
engines: {node: '>=12'}
|
|
128
|
+
cpu: [ia32]
|
|
129
|
+
os: [linux]
|
|
130
|
+
requiresBuild: true
|
|
131
|
+
dev: true
|
|
132
|
+
optional: true
|
|
133
|
+
|
|
134
|
+
/@esbuild/linux-loong64@0.17.18:
|
|
135
|
+
resolution: {integrity: sha512-bvPG+MyFs5ZlwYclCG1D744oHk1Pv7j8psF5TfYx7otCVmcJsEXgFEhQkbhNW8otDHL1a2KDINW20cfCgnzgMQ==}
|
|
136
|
+
engines: {node: '>=12'}
|
|
137
|
+
cpu: [loong64]
|
|
138
|
+
os: [linux]
|
|
139
|
+
requiresBuild: true
|
|
140
|
+
dev: true
|
|
141
|
+
optional: true
|
|
142
|
+
|
|
143
|
+
/@esbuild/linux-mips64el@0.17.18:
|
|
144
|
+
resolution: {integrity: sha512-oVqckATOAGuiUOa6wr8TXaVPSa+6IwVJrGidmNZS1cZVx0HqkTMkqFGD2HIx9H1RvOwFeWYdaYbdY6B89KUMxA==}
|
|
145
|
+
engines: {node: '>=12'}
|
|
146
|
+
cpu: [mips64el]
|
|
147
|
+
os: [linux]
|
|
148
|
+
requiresBuild: true
|
|
149
|
+
dev: true
|
|
150
|
+
optional: true
|
|
151
|
+
|
|
152
|
+
/@esbuild/linux-ppc64@0.17.18:
|
|
153
|
+
resolution: {integrity: sha512-3dLlQO+b/LnQNxgH4l9rqa2/IwRJVN9u/bK63FhOPB4xqiRqlQAU0qDU3JJuf0BmaH0yytTBdoSBHrb2jqc5qQ==}
|
|
154
|
+
engines: {node: '>=12'}
|
|
155
|
+
cpu: [ppc64]
|
|
156
|
+
os: [linux]
|
|
157
|
+
requiresBuild: true
|
|
158
|
+
dev: true
|
|
159
|
+
optional: true
|
|
160
|
+
|
|
161
|
+
/@esbuild/linux-riscv64@0.17.18:
|
|
162
|
+
resolution: {integrity: sha512-/x7leOyDPjZV3TcsdfrSI107zItVnsX1q2nho7hbbQoKnmoeUWjs+08rKKt4AUXju7+3aRZSsKrJtaRmsdL1xA==}
|
|
163
|
+
engines: {node: '>=12'}
|
|
164
|
+
cpu: [riscv64]
|
|
165
|
+
os: [linux]
|
|
166
|
+
requiresBuild: true
|
|
167
|
+
dev: true
|
|
168
|
+
optional: true
|
|
169
|
+
|
|
170
|
+
/@esbuild/linux-s390x@0.17.18:
|
|
171
|
+
resolution: {integrity: sha512-cX0I8Q9xQkL/6F5zWdYmVf5JSQt+ZfZD2bJudZrWD+4mnUvoZ3TDDXtDX2mUaq6upMFv9FlfIh4Gfun0tbGzuw==}
|
|
172
|
+
engines: {node: '>=12'}
|
|
173
|
+
cpu: [s390x]
|
|
174
|
+
os: [linux]
|
|
175
|
+
requiresBuild: true
|
|
176
|
+
dev: true
|
|
177
|
+
optional: true
|
|
178
|
+
|
|
179
|
+
/@esbuild/linux-x64@0.17.18:
|
|
180
|
+
resolution: {integrity: sha512-66RmRsPlYy4jFl0vG80GcNRdirx4nVWAzJmXkevgphP1qf4dsLQCpSKGM3DUQCojwU1hnepI63gNZdrr02wHUA==}
|
|
181
|
+
engines: {node: '>=12'}
|
|
182
|
+
cpu: [x64]
|
|
183
|
+
os: [linux]
|
|
184
|
+
requiresBuild: true
|
|
185
|
+
dev: true
|
|
186
|
+
optional: true
|
|
187
|
+
|
|
188
|
+
/@esbuild/netbsd-x64@0.17.18:
|
|
189
|
+
resolution: {integrity: sha512-95IRY7mI2yrkLlTLb1gpDxdC5WLC5mZDi+kA9dmM5XAGxCME0F8i4bYH4jZreaJ6lIZ0B8hTrweqG1fUyW7jbg==}
|
|
190
|
+
engines: {node: '>=12'}
|
|
191
|
+
cpu: [x64]
|
|
192
|
+
os: [netbsd]
|
|
193
|
+
requiresBuild: true
|
|
194
|
+
dev: true
|
|
195
|
+
optional: true
|
|
196
|
+
|
|
197
|
+
/@esbuild/openbsd-x64@0.17.18:
|
|
198
|
+
resolution: {integrity: sha512-WevVOgcng+8hSZ4Q3BKL3n1xTv5H6Nb53cBrtzzEjDbbnOmucEVcZeGCsCOi9bAOcDYEeBZbD2SJNBxlfP3qiA==}
|
|
199
|
+
engines: {node: '>=12'}
|
|
200
|
+
cpu: [x64]
|
|
201
|
+
os: [openbsd]
|
|
202
|
+
requiresBuild: true
|
|
203
|
+
dev: true
|
|
204
|
+
optional: true
|
|
205
|
+
|
|
206
|
+
/@esbuild/sunos-x64@0.17.18:
|
|
207
|
+
resolution: {integrity: sha512-Rzf4QfQagnwhQXVBS3BYUlxmEbcV7MY+BH5vfDZekU5eYpcffHSyjU8T0xucKVuOcdCsMo+Ur5wmgQJH2GfNrg==}
|
|
208
|
+
engines: {node: '>=12'}
|
|
209
|
+
cpu: [x64]
|
|
210
|
+
os: [sunos]
|
|
211
|
+
requiresBuild: true
|
|
212
|
+
dev: true
|
|
213
|
+
optional: true
|
|
214
|
+
|
|
215
|
+
/@esbuild/win32-arm64@0.17.18:
|
|
216
|
+
resolution: {integrity: sha512-Kb3Ko/KKaWhjeAm2YoT/cNZaHaD1Yk/pa3FTsmqo9uFh1D1Rfco7BBLIPdDOozrObj2sahslFuAQGvWbgWldAg==}
|
|
217
|
+
engines: {node: '>=12'}
|
|
218
|
+
cpu: [arm64]
|
|
219
|
+
os: [win32]
|
|
220
|
+
requiresBuild: true
|
|
221
|
+
dev: true
|
|
222
|
+
optional: true
|
|
223
|
+
|
|
224
|
+
/@esbuild/win32-ia32@0.17.18:
|
|
225
|
+
resolution: {integrity: sha512-0/xUMIdkVHwkvxfbd5+lfG7mHOf2FRrxNbPiKWg9C4fFrB8H0guClmaM3BFiRUYrznVoyxTIyC/Ou2B7QQSwmw==}
|
|
226
|
+
engines: {node: '>=12'}
|
|
227
|
+
cpu: [ia32]
|
|
228
|
+
os: [win32]
|
|
229
|
+
requiresBuild: true
|
|
230
|
+
dev: true
|
|
231
|
+
optional: true
|
|
232
|
+
|
|
233
|
+
/@esbuild/win32-x64@0.17.18:
|
|
234
|
+
resolution: {integrity: sha512-qU25Ma1I3NqTSHJUOKi9sAH1/Mzuvlke0ioMJRthLXKm7JiSKVwFghlGbDLOO2sARECGhja4xYfRAZNPAkooYg==}
|
|
235
|
+
engines: {node: '>=12'}
|
|
236
|
+
cpu: [x64]
|
|
237
|
+
os: [win32]
|
|
238
|
+
requiresBuild: true
|
|
239
|
+
dev: true
|
|
240
|
+
optional: true
|
|
241
|
+
|
|
242
|
+
/@vitejs/plugin-vue@4.1.0(vite@4.3.2)(vue@3.2.47):
|
|
243
|
+
resolution: {integrity: sha512-++9JOAFdcXI3lyer9UKUV4rfoQ3T1RN8yDqoCLar86s0xQct5yblxAE+yWgRnU5/0FOlVCpTZpYSBV/bGWrSrQ==}
|
|
244
|
+
engines: {node: ^14.18.0 || >=16.0.0}
|
|
245
|
+
peerDependencies:
|
|
246
|
+
vite: ^4.0.0
|
|
247
|
+
vue: ^3.2.25
|
|
248
|
+
dependencies:
|
|
249
|
+
vite: 4.3.2
|
|
250
|
+
vue: 3.2.47
|
|
251
|
+
dev: true
|
|
252
|
+
|
|
253
|
+
/@vue/compiler-core@3.2.47:
|
|
254
|
+
resolution: {integrity: sha512-p4D7FDnQb7+YJmO2iPEv0SQNeNzcbHdGByJDsT4lynf63AFkOTFN07HsiRSvjGo0QrxR/o3d0hUyNCUnBU2Tig==}
|
|
255
|
+
dependencies:
|
|
256
|
+
'@babel/parser': 7.21.8
|
|
257
|
+
'@vue/shared': 3.2.47
|
|
258
|
+
estree-walker: 2.0.2
|
|
259
|
+
source-map: 0.6.1
|
|
260
|
+
|
|
261
|
+
/@vue/compiler-dom@3.2.47:
|
|
262
|
+
resolution: {integrity: sha512-dBBnEHEPoftUiS03a4ggEig74J2YBZ2UIeyfpcRM2tavgMWo4bsEfgCGsu+uJIL/vax9S+JztH8NmQerUo7shQ==}
|
|
263
|
+
dependencies:
|
|
264
|
+
'@vue/compiler-core': 3.2.47
|
|
265
|
+
'@vue/shared': 3.2.47
|
|
266
|
+
|
|
267
|
+
/@vue/compiler-sfc@3.2.47:
|
|
268
|
+
resolution: {integrity: sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ==}
|
|
269
|
+
dependencies:
|
|
270
|
+
'@babel/parser': 7.21.8
|
|
271
|
+
'@vue/compiler-core': 3.2.47
|
|
272
|
+
'@vue/compiler-dom': 3.2.47
|
|
273
|
+
'@vue/compiler-ssr': 3.2.47
|
|
274
|
+
'@vue/reactivity-transform': 3.2.47
|
|
275
|
+
'@vue/shared': 3.2.47
|
|
276
|
+
estree-walker: 2.0.2
|
|
277
|
+
magic-string: 0.25.9
|
|
278
|
+
postcss: 8.4.23
|
|
279
|
+
source-map: 0.6.1
|
|
280
|
+
|
|
281
|
+
/@vue/compiler-ssr@3.2.47:
|
|
282
|
+
resolution: {integrity: sha512-wVXC+gszhulcMD8wpxMsqSOpvDZ6xKXSVWkf50Guf/S+28hTAXPDYRTbLQ3EDkOP5Xz/+SY37YiwDquKbJOgZw==}
|
|
283
|
+
dependencies:
|
|
284
|
+
'@vue/compiler-dom': 3.2.47
|
|
285
|
+
'@vue/shared': 3.2.47
|
|
286
|
+
|
|
287
|
+
/@vue/reactivity-transform@3.2.47:
|
|
288
|
+
resolution: {integrity: sha512-m8lGXw8rdnPVVIdIFhf0LeQ/ixyHkH5plYuS83yop5n7ggVJU+z5v0zecwEnX7fa7HNLBhh2qngJJkxpwEEmYA==}
|
|
289
|
+
dependencies:
|
|
290
|
+
'@babel/parser': 7.21.8
|
|
291
|
+
'@vue/compiler-core': 3.2.47
|
|
292
|
+
'@vue/shared': 3.2.47
|
|
293
|
+
estree-walker: 2.0.2
|
|
294
|
+
magic-string: 0.25.9
|
|
295
|
+
|
|
296
|
+
/@vue/reactivity@3.2.47:
|
|
297
|
+
resolution: {integrity: sha512-7khqQ/75oyyg+N/e+iwV6lpy1f5wq759NdlS1fpAhFXa8VeAIKGgk2E/C4VF59lx5b+Ezs5fpp/5WsRYXQiKxQ==}
|
|
298
|
+
dependencies:
|
|
299
|
+
'@vue/shared': 3.2.47
|
|
300
|
+
|
|
301
|
+
/@vue/runtime-core@3.2.47:
|
|
302
|
+
resolution: {integrity: sha512-RZxbLQIRB/K0ev0K9FXhNbBzT32H9iRtYbaXb0ZIz2usLms/D55dJR2t6cIEUn6vyhS3ALNvNthI+Q95C+NOpA==}
|
|
303
|
+
dependencies:
|
|
304
|
+
'@vue/reactivity': 3.2.47
|
|
305
|
+
'@vue/shared': 3.2.47
|
|
306
|
+
|
|
307
|
+
/@vue/runtime-dom@3.2.47:
|
|
308
|
+
resolution: {integrity: sha512-ArXrFTjS6TsDei4qwNvgrdmHtD930KgSKGhS5M+j8QxXrDJYLqYw4RRcDy1bz1m1wMmb6j+zGLifdVHtkXA7gA==}
|
|
309
|
+
dependencies:
|
|
310
|
+
'@vue/runtime-core': 3.2.47
|
|
311
|
+
'@vue/shared': 3.2.47
|
|
312
|
+
csstype: 2.6.21
|
|
313
|
+
|
|
314
|
+
/@vue/server-renderer@3.2.47(vue@3.2.47):
|
|
315
|
+
resolution: {integrity: sha512-dN9gc1i8EvmP9RCzvneONXsKfBRgqFeFZLurmHOveL7oH6HiFXJw5OGu294n1nHc/HMgTy6LulU/tv5/A7f/LA==}
|
|
316
|
+
peerDependencies:
|
|
317
|
+
vue: 3.2.47
|
|
318
|
+
dependencies:
|
|
319
|
+
'@vue/compiler-ssr': 3.2.47
|
|
320
|
+
'@vue/shared': 3.2.47
|
|
321
|
+
vue: 3.2.47
|
|
322
|
+
|
|
323
|
+
/@vue/shared@3.2.47:
|
|
324
|
+
resolution: {integrity: sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==}
|
|
325
|
+
|
|
326
|
+
/csstype@2.6.21:
|
|
327
|
+
resolution: {integrity: sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==}
|
|
328
|
+
|
|
329
|
+
/esbuild@0.17.18:
|
|
330
|
+
resolution: {integrity: sha512-z1lix43jBs6UKjcZVKOw2xx69ffE2aG0PygLL5qJ9OS/gy0Ewd1gW/PUQIOIQGXBHWNywSc0floSKoMFF8aK2w==}
|
|
331
|
+
engines: {node: '>=12'}
|
|
332
|
+
hasBin: true
|
|
333
|
+
requiresBuild: true
|
|
334
|
+
optionalDependencies:
|
|
335
|
+
'@esbuild/android-arm': 0.17.18
|
|
336
|
+
'@esbuild/android-arm64': 0.17.18
|
|
337
|
+
'@esbuild/android-x64': 0.17.18
|
|
338
|
+
'@esbuild/darwin-arm64': 0.17.18
|
|
339
|
+
'@esbuild/darwin-x64': 0.17.18
|
|
340
|
+
'@esbuild/freebsd-arm64': 0.17.18
|
|
341
|
+
'@esbuild/freebsd-x64': 0.17.18
|
|
342
|
+
'@esbuild/linux-arm': 0.17.18
|
|
343
|
+
'@esbuild/linux-arm64': 0.17.18
|
|
344
|
+
'@esbuild/linux-ia32': 0.17.18
|
|
345
|
+
'@esbuild/linux-loong64': 0.17.18
|
|
346
|
+
'@esbuild/linux-mips64el': 0.17.18
|
|
347
|
+
'@esbuild/linux-ppc64': 0.17.18
|
|
348
|
+
'@esbuild/linux-riscv64': 0.17.18
|
|
349
|
+
'@esbuild/linux-s390x': 0.17.18
|
|
350
|
+
'@esbuild/linux-x64': 0.17.18
|
|
351
|
+
'@esbuild/netbsd-x64': 0.17.18
|
|
352
|
+
'@esbuild/openbsd-x64': 0.17.18
|
|
353
|
+
'@esbuild/sunos-x64': 0.17.18
|
|
354
|
+
'@esbuild/win32-arm64': 0.17.18
|
|
355
|
+
'@esbuild/win32-ia32': 0.17.18
|
|
356
|
+
'@esbuild/win32-x64': 0.17.18
|
|
357
|
+
dev: true
|
|
358
|
+
|
|
359
|
+
/estree-walker@2.0.2:
|
|
360
|
+
resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
|
|
361
|
+
|
|
362
|
+
/fsevents@2.3.2:
|
|
363
|
+
resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
|
|
364
|
+
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
|
|
365
|
+
os: [darwin]
|
|
366
|
+
requiresBuild: true
|
|
367
|
+
dev: true
|
|
368
|
+
optional: true
|
|
369
|
+
|
|
370
|
+
/magic-string@0.25.9:
|
|
371
|
+
resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==}
|
|
372
|
+
dependencies:
|
|
373
|
+
sourcemap-codec: 1.4.8
|
|
374
|
+
|
|
375
|
+
/nanoid@3.3.6:
|
|
376
|
+
resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==}
|
|
377
|
+
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
|
378
|
+
hasBin: true
|
|
379
|
+
|
|
380
|
+
/picocolors@1.0.0:
|
|
381
|
+
resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
|
|
382
|
+
|
|
383
|
+
/ping-widget@0.0.1:
|
|
384
|
+
resolution: {integrity: sha512-I44zhgCOnEwZzgawC+ANyubhealiopX+oSmNVecjarSCIYfjMT8OI4ICCtJB/HD3XjcxgZAJlA0K1Yej2aa3Dw==}
|
|
385
|
+
dependencies:
|
|
386
|
+
vue: 3.2.47
|
|
387
|
+
vue3-webcomponent-wrapper: 0.2.0
|
|
388
|
+
dev: false
|
|
389
|
+
|
|
390
|
+
/postcss@8.4.23:
|
|
391
|
+
resolution: {integrity: sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==}
|
|
392
|
+
engines: {node: ^10 || ^12 || >=14}
|
|
393
|
+
dependencies:
|
|
394
|
+
nanoid: 3.3.6
|
|
395
|
+
picocolors: 1.0.0
|
|
396
|
+
source-map-js: 1.0.2
|
|
397
|
+
|
|
398
|
+
/rollup@3.21.3:
|
|
399
|
+
resolution: {integrity: sha512-VnPfEG51nIv2xPLnZaekkuN06q9ZbnyDcLkaBdJa/W7UddyhOfMP2yOPziYQfeY7k++fZM8FdQIummFN5y14kA==}
|
|
400
|
+
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
|
|
401
|
+
hasBin: true
|
|
402
|
+
optionalDependencies:
|
|
403
|
+
fsevents: 2.3.2
|
|
404
|
+
dev: true
|
|
405
|
+
|
|
406
|
+
/source-map-js@1.0.2:
|
|
407
|
+
resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}
|
|
408
|
+
engines: {node: '>=0.10.0'}
|
|
409
|
+
|
|
410
|
+
/source-map@0.6.1:
|
|
411
|
+
resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
|
|
412
|
+
engines: {node: '>=0.10.0'}
|
|
413
|
+
|
|
414
|
+
/sourcemap-codec@1.4.8:
|
|
415
|
+
resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==}
|
|
416
|
+
deprecated: Please use @jridgewell/sourcemap-codec instead
|
|
417
|
+
|
|
418
|
+
/to-fast-properties@2.0.0:
|
|
419
|
+
resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
|
|
420
|
+
engines: {node: '>=4'}
|
|
421
|
+
|
|
422
|
+
/vite@4.3.2:
|
|
423
|
+
resolution: {integrity: sha512-9R53Mf+TBoXCYejcL+qFbZde+eZveQLDYd9XgULILLC1a5ZwPaqgmdVpL8/uvw2BM/1TzetWjglwm+3RO+xTyw==}
|
|
424
|
+
engines: {node: ^14.18.0 || >=16.0.0}
|
|
425
|
+
hasBin: true
|
|
426
|
+
peerDependencies:
|
|
427
|
+
'@types/node': '>= 14'
|
|
428
|
+
less: '*'
|
|
429
|
+
sass: '*'
|
|
430
|
+
stylus: '*'
|
|
431
|
+
sugarss: '*'
|
|
432
|
+
terser: ^5.4.0
|
|
433
|
+
peerDependenciesMeta:
|
|
434
|
+
'@types/node':
|
|
435
|
+
optional: true
|
|
436
|
+
less:
|
|
437
|
+
optional: true
|
|
438
|
+
sass:
|
|
439
|
+
optional: true
|
|
440
|
+
stylus:
|
|
441
|
+
optional: true
|
|
442
|
+
sugarss:
|
|
443
|
+
optional: true
|
|
444
|
+
terser:
|
|
445
|
+
optional: true
|
|
446
|
+
dependencies:
|
|
447
|
+
esbuild: 0.17.18
|
|
448
|
+
postcss: 8.4.23
|
|
449
|
+
rollup: 3.21.3
|
|
450
|
+
optionalDependencies:
|
|
451
|
+
fsevents: 2.3.2
|
|
452
|
+
dev: true
|
|
453
|
+
|
|
454
|
+
/vue3-webcomponent-wrapper@0.2.0:
|
|
455
|
+
resolution: {integrity: sha512-X/8VcwCh8Owx1E6ufjtmOcu07pqH+jh2yyakQuGhRTUnWLrCoclsFSsW1uARxC/l6RFl8lxWExf84ApCUMeWtg==}
|
|
456
|
+
dev: false
|
|
457
|
+
|
|
458
|
+
/vue@3.2.47:
|
|
459
|
+
resolution: {integrity: sha512-60188y/9Dc9WVrAZeUVSDxRQOZ+z+y5nO2ts9jWXSTkMvayiWxCWOWtBQoYjLeccfXkiiPZWAHcV+WTPhkqJHQ==}
|
|
460
|
+
dependencies:
|
|
461
|
+
'@vue/compiler-dom': 3.2.47
|
|
462
|
+
'@vue/compiler-sfc': 3.2.47
|
|
463
|
+
'@vue/runtime-dom': 3.2.47
|
|
464
|
+
'@vue/server-renderer': 3.2.47(vue@3.2.47)
|
|
465
|
+
'@vue/shared': 3.2.47
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>Ping Widget</title>
|
|
7
|
+
</head>
|
|
8
|
+
<body>
|
|
9
|
+
<script>
|
|
10
|
+
window.process = { browser: true, env: { ENVIRONMENT: 'BROWSER' } };
|
|
11
|
+
</script>
|
|
12
|
+
<script
|
|
13
|
+
type="module"
|
|
14
|
+
src="https://unpkg.com/ping-widget@0.0.7/dist/ping-widget.js"
|
|
15
|
+
></script>
|
|
16
|
+
|
|
17
|
+
<ping-connect-wallet chain-id="juno-1" hd-path="m/44'/118/0'/0/0" />
|
|
18
|
+
</body>
|
|
19
|
+
</html>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import pingWidget from 'ping-widget';
|
|
4
|
+
// import pingWidget from '../../lib/components/TxDialog';
|
|
5
|
+
|
|
6
|
+
const sender = 'bc1qjdyxk9t90jxmeqpdwkn8cd7nj6cu7x3m688xlj';
|
|
7
|
+
const endpoint = 'https://devnet-2-rpc.side.one';
|
|
8
|
+
// const chainId = 'juno-1';
|
|
9
|
+
const chainId = 'taproot-1';
|
|
10
|
+
const hdPath = "m/44'/118/0'/0/0";
|
|
11
|
+
|
|
12
|
+
const params = JSON.stringify({
|
|
13
|
+
proposal_id: '1',
|
|
14
|
+
validator_address: 'bc1qjdyxk9t90jxmeqpdwkn8cd7nj6cu7x3m688xlj',
|
|
15
|
+
});
|
|
16
|
+
console.log(`pingWidget: `, pingWidget);
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
const types = [
|
|
20
|
+
'send',
|
|
21
|
+
'delegate',
|
|
22
|
+
'vote',
|
|
23
|
+
'redelegate',
|
|
24
|
+
'unbond',
|
|
25
|
+
'transfer',
|
|
26
|
+
'deposit',
|
|
27
|
+
'withdraw',
|
|
28
|
+
'withdraw_commission',
|
|
29
|
+
];
|
|
30
|
+
const toOpen = ref('send');
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<template>
|
|
34
|
+
<div>
|
|
35
|
+
Ping Widget Version: {{ pingWidget?.version }}
|
|
36
|
+
|
|
37
|
+
<ping-connect-wallet :chain-id="chainId" :hd-path="hdPath" />
|
|
38
|
+
|
|
39
|
+
<select v-model="toOpen">
|
|
40
|
+
<option v-for="i in types">{{ i }}</option>
|
|
41
|
+
</select>
|
|
42
|
+
|
|
43
|
+
<br />
|
|
44
|
+
|
|
45
|
+
<label :for="toOpen" class="btn">{{ toOpen }}</label>
|
|
46
|
+
<ping-tx-dialog
|
|
47
|
+
:type="toOpen"
|
|
48
|
+
:sender="sender"
|
|
49
|
+
:endpoint="endpoint"
|
|
50
|
+
:params="params"
|
|
51
|
+
></ping-tx-dialog>
|
|
52
|
+
|
|
53
|
+
<br />
|
|
54
|
+
// example:<br />
|
|
55
|
+
<label for="withdraw" class="btn">Withdraw</label>
|
|
56
|
+
<ping-tx-dialog
|
|
57
|
+
type="withdraw"
|
|
58
|
+
:sender="sender"
|
|
59
|
+
:endpoint="endpoint"
|
|
60
|
+
:params="params"
|
|
61
|
+
></ping-tx-dialog>
|
|
62
|
+
|
|
63
|
+
<label for="vote" class="btn">Vote</label>
|
|
64
|
+
<ping-tx-dialog
|
|
65
|
+
type="vote"
|
|
66
|
+
:sender="sender"
|
|
67
|
+
:endpoint="endpoint"
|
|
68
|
+
:params="params"
|
|
69
|
+
></ping-tx-dialog>
|
|
70
|
+
</div>
|
|
71
|
+
</template>
|
|
72
|
+
|
|
73
|
+
<style scoped></style>
|