Compare commits

..

1056 Commits
v3 ... master

Author SHA1 Message Date
fe96cd224c Merge pull request 'Change page title' (#3) from dboreham/change-page-title into master
Reviewed-on: cerc-io/cosmos-explorer#3
2024-08-21 01:49:01 +00:00
d4a07b8c83 Change page title 2024-08-20 19:47:08 -06:00
46da12df36 Merge pull request 'Basic re-skin' (#2) from dboreham/basic-re-skin into master
Reviewed-on: cerc-io/cosmos-explorer#2
2024-08-20 23:51:59 +00:00
c3f93d42ca Add missing file 2024-08-20 17:51:13 -06:00
bbc30e04af Some simple re-skinning changes 2024-08-20 17:39:10 -06:00
bc8d91c183 Merge pull request 'Reduce block polling interval' (#1) from dboreham/fix-missing-blocks into master
Reviewed-on: cerc-io/cosmos-explorer#1
2024-08-20 17:29:16 +00:00
91e4b32b9e Reduce block polling interval 2024-08-20 11:26:08 -06:00
liangping
00cb9e5f42 update ad lib 2024-07-27 20:38:53 +08:00
liangping
1ab0834920 fix typo 2024-07-16 11:18:19 +08:00
liangping
5b7cee4df8 Merge branch 'master' of https://github.com/ping-pub/explorer 2024-07-16 11:12:38 +08:00
liangping
d02eecc963 update sponsers 2024-07-16 11:12:33 +08:00
ping
1f5e3ca06d
Merge pull request #579 from dboreham/add-hostname-doc
Add note on hostname behavior
2024-07-16 10:07:40 +08:00
d8c0e9786f
Add note on hostname behavior 2024-07-15 14:56:14 -06:00
ping
b798635cba
Merge pull request #575 from jasonsopko/master
Update index.vue
2024-07-03 07:37:12 +08:00
Jason Sopko
507b999b77 Update index.vue
Fixed typo
2024-07-02 08:03:31 -04:00
ping
57ad32e37a
Merge pull request #574 from amimart/fix/staking-apr-formula
fix(staking): correct APR computation formula
2024-06-20 07:52:17 +08:00
Arnaud Mimart
738fc55182
fix(staking): correct APR computation formula 2024-06-19 12:31:42 +02:00
ping
a2ecc7ceae
Merge pull request #573 from omahs/patch-2
Fix typos
2024-06-16 15:11:47 +08:00
omahs
a850809952
fix typo 2024-06-16 07:00:22 +02:00
omahs
d45fb91328
fix typos 2024-06-16 06:59:55 +02:00
liangping
01958fb73b fix wallet 2024-06-16 08:56:29 +08:00
liangping
9d882785f4 update wallet connect 2024-06-16 08:48:48 +08:00
ping
76953ca789
Merge pull request #572 from showzyl/feat/wallet
feat: add side
2024-06-16 08:09:13 +08:00
ping
4b6930b040
Delete chains/mainnet/side.json 2024-06-16 08:08:29 +08:00
showlizi
51aaf66068 fix: route unisat 2024-06-14 18:03:36 +08:00
showlizi
d0c4278f84 feat: add side 2024-06-14 17:26:14 +08:00
liangping
6756c41676 apply update 2024-06-11 17:14:35 +08:00
liangping
8ce2cfaa9f update UI 2024-06-06 08:58:15 +08:00
liangping
2ee1d398d1 update config checker 2024-06-05 12:17:23 +08:00
liangping
09d4291499 remove endpoint check 2024-06-05 08:43:46 +08:00
liangping
c6016ea047 show one faucet in menu 2024-06-01 17:23:30 +08:00
liangping
0ae8de3846 improve ad update 2024-06-01 17:09:01 +08:00
liangping
c935c6eb69 Show blockchain logo 2024-06-01 14:45:23 +08:00
liangping
036df51d6e add faucet feature 2024-06-01 11:23:12 +08:00
ping
a6691efb01
Merge pull request #567 from shidiqmuh0/master
Fix Missing @cosmjs/amino
2024-05-27 15:01:07 +08:00
shidiq
7603d77137
Update axelar.json 2024-05-27 12:22:40 +07:00
shidiq
ba6407fbb4
Create axelar.json 2024-05-26 20:35:08 +07:00
shidiq
b053a460e0
Update package.json 2024-05-26 20:34:22 +07:00
liangping
ce64016085 upgrade cosmjs version 2024-05-12 12:47:21 +08:00
ping
b416755f02
Merge pull request #565 from freak12techno/format-validator-events-tokens
Format validator events tokens
2024-05-03 07:33:04 +08:00
Sergey
0ac6ef2c66 Format validator events tokens 2024-05-01 15:39:15 +03:00
liangping
19e2e5875a removed error config 2024-04-28 09:26:41 +08:00
liangping
7f8503edd2 improve tolerance of config 2024-04-28 09:25:03 +08:00
liangping
ca29dbba7d fixed issues 2024-04-28 09:17:48 +08:00
liangping
683c569f31 Merge branch 'master' of https://github.com/ping-pub/explorer 2024-04-28 09:00:53 +08:00
liangping
0a552e78de re-enable ad 2024-04-28 09:00:18 +08:00
ping
e2c526e12f
Merge pull request #563 from eCoxvague/master
crossfi testnet forpeaky
2024-04-22 14:26:59 +08:00
eCox
56d4072022
Add files via upload 2024-04-21 20:49:10 +03:00
eCox
4b1f6c7082
Add files via upload 2024-04-21 20:48:45 +03:00
liangping
21feb03ece remove ad 2024-04-20 17:18:58 +08:00
liangping
603d7ce227 Merge branch 'master' of https://github.com/ping-pub/explorer 2024-04-16 09:54:29 +08:00
liangping
7b964b67f2 fix api changed 2024-04-16 09:54:21 +08:00
ping
8ab5d41de0
Merge pull request #559 from ToTheMars2/patch-2
Correct upgrade time for proposals
2024-04-11 03:58:17 +08:00
ToTheMars2
838c74dbce
correct upgrade time for proposals
I think it will be a more dynamic option)
2024-04-02 14:59:12 +03:00
liangping
5fed99b1ab add background 2024-03-31 19:39:50 +08:00
liangping
5ffa213b14 add block chart 2024-03-31 19:39:40 +08:00
liangping
87197797a9 add bg color for table header 2024-03-29 10:48:50 +08:00
liangping
903e3cbae9 show empty instead of 0 2024-03-27 19:53:59 +08:00
liangping
4a375f58d0 optimized block loading 2024-03-27 15:42:53 +08:00
liangping
727a53177e improve fetch 2024-03-27 12:26:51 +08:00
liangping
a491f162d7 improve block fetch 2024-03-27 10:38:31 +08:00
liangping
43563056a2 fixed issue 2024-03-26 12:43:17 +08:00
liangping
0b8d4dc987 improve update performance 2024-03-26 11:53:33 +08:00
liangping
86a5e9c0da add google analytics setting 2024-03-24 12:11:43 +08:00
liangping
cf30712e0e remove margin 2024-03-24 11:56:14 +08:00
liangping
3e8423eed9 update 2024-03-24 11:49:07 +08:00
liangping
443132458d adjust position 2024-03-24 11:41:37 +08:00
liangping
be8da6d86c improve layout 2024-03-24 11:21:08 +08:00
liangping
a56271f370 improve wasm contract 2024-03-24 10:13:12 +08:00
liangping
7958877354 improve tx hash 2024-03-23 17:26:02 +08:00
liangping
b0ca5ead26 add tx 2024-03-23 16:55:14 +08:00
liangping
790a0147e4 improve uptime and ad 2024-03-23 13:37:05 +08:00
liangping
b74ab21bc8 improve mobile ad 2024-03-23 12:12:23 +08:00
liangping
fc20f3e460 Merge branch 'master' of https://github.com/ping-pub/explorer 2024-03-23 11:29:15 +08:00
liangping
562dfb4046 add ad 2024-03-23 11:29:07 +08:00
ping
86241fa4ea
Merge pull request #556 from 0xhsy/update-verification
btn disable bug fix
2024-03-21 15:52:07 +08:00
0xhsy
8039de1763 btn disable bug fix 2024-03-21 10:16:34 +09:00
BitcoinVM
5a385a8e9e improve uptime 2024-03-04 14:41:46 +08:00
BitcoinVM
5c341e9306 update active validator set 2024-02-26 09:37:47 +08:00
BitcoinVM
d0b42899a4 improve loading 2024-02-24 15:04:37 +08:00
BitcoinVM
4b326f0259 Merge branch 'master' of https://github.com/ping-pub/explorer 2024-02-23 20:21:42 +08:00
BitcoinVM
c937b54202 only show int value for changes 2024-02-23 20:21:35 +08:00
BitcoinVM
47607e7416 support UpdateParamsMsg 2024-02-23 20:21:12 +08:00
ping
a8274de598
Merge pull request #544 from zenodeapp/master
Fixes 24h changes formatting
2024-02-22 10:37:09 +08:00
ZENODE
def7de5a63 Reverted useDashboard.ts 2024-02-20 20:16:08 +01:00
ZENODE
4835781d29 Reviewed #544, made the logic in useFormatter instead 2024-02-20 20:14:44 +01:00
ZENODE
dc1c4a5ca1 Fixes adding exponent for chains without coingecko_ids 2024-02-19 07:33:54 +01:00
ping
23d43543cb
Merge pull request #542 from freak12techno/fix-ibc-fetch-from-registry
Fix IBC fetch from registry
2024-02-09 11:23:44 +08:00
Techno Freak
2567aea4be Fix IBC fetch from registry 2024-02-07 02:13:29 +03:00
BitcoinVM
6d0b250bf1 fixed 2024-02-04 12:35:22 +08:00
BitcoinVM
6ea43afb41 fixed type error 2024-02-04 12:32:55 +08:00
BitcoinVM
f7f4a0fb5a return 0 if no change 2024-02-04 12:28:55 +08:00
ping
3aec1c5a6e
Merge pull request #528 from freak12techno/add-consensus-prefix-to-config
feat: add consensus prefix to config
2024-02-04 12:21:47 +08:00
ping
7cb56fac0b
Merge pull request #541 from freak12techno/add-tendermint-voting-power-coefficient
Add tendermint voting power coefficient
2024-02-04 12:19:55 +08:00
Techno Freak
a792c379a5 Calculate 24h changes diff correctly 2024-02-03 18:31:44 +03:00
BitcoinVM
a14c04059c change status of verify 2024-02-03 10:52:02 +08:00
ping
a728dea229
Merge pull request #540 from ivivanov/master
update nolus gov endpoints
2024-02-03 09:24:29 +08:00
ivivanov
729c36cc6f
update nolus gov endpoints 2024-02-02 15:48:57 +02:00
BitcoinVM
036801fe90 update trigger condition 2024-02-02 13:20:12 +08:00
BitcoinVM
4ebf7f75b6 remove console.log 2024-02-02 13:15:16 +08:00
BitcoinVM
92219fad55 Merge branch 'master' of https://github.com/ping-pub/explorer 2024-02-02 13:07:28 +08:00
BitcoinVM
e19b309980 improvment 2024-02-02 13:06:00 +08:00
BitcoinVM
bd080281a7 calculate 24h time window on block time 2024-02-02 12:57:17 +08:00
ping
15c86909d0
Merge pull request #538 from sxlmnwb/master
feat: libs: add Promise.resolve in `getGovProposalTally`
2024-01-31 20:45:01 +08:00
Salman Wahib
4e0606b8ab feat: libs: add Promise.resolve in getGovProposalTally
In the getGovProposalTally method, added `Promise.resolve` to the adapter function to ensure it returns a Promise.
This resolves the TypeScript error related to the return type mismatch.

Signed-off-by: Salman Wahib <sxlmnwb@nodex.one>
2024-01-31 12:03:48 +00:00
ping
4c53591e85
Merge pull request #534 from ivivanov/master
add chain specific getMintInflation func
2024-01-31 12:33:38 +08:00
BitcoinVM
7b4379c902 add packet detail types 2024-01-31 10:27:18 +08:00
BitcoinVM
aad4c8ea72 Merge branch 'master' of https://github.com/ping-pub/explorer 2024-01-31 10:26:30 +08:00
BitcoinVM
f1fb43b935 decode ibc packet 2024-01-31 10:26:21 +08:00
ivivanov
9a496f89e9
refator custom clients to use async adaptor 2024-01-30 12:11:11 +02:00
ivivanov
9c660d8da2
add chain specific inflation calc 2024-01-30 12:00:17 +02:00
ping
f35fb44856
Merge pull request #537 from freak12techno/fix-commission-rate-rounding
Fix commission rate formatting
2024-01-30 14:37:37 +08:00
ping
db2d963d06
Merge branch 'master' into fix-commission-rate-rounding 2024-01-30 14:37:22 +08:00
BitcoinVM
0ca5a14eb8 tofix 2024-01-30 03:14:14 +01:00
Techno Freak
9e34c476c4 Fix commission rate formatting 2024-01-29 17:30:00 +03:00
BitcoinVM
38d741ffee add wasm schema and code viewer 2024-01-29 17:36:41 +08:00
liangping
026c2d2840 update widget version update 2024-01-26 10:25:02 +08:00
liangping
fc57e87f2d improve 24hours loading 2024-01-21 12:08:48 +08:00
Techno Freak
836b21d7d2 feat: add consensus prefix to config 2024-01-19 16:16:24 +03:00
liangping
30826a0ed6 remove pagination 2024-01-11 16:09:43 +08:00
liangping
d620c7e43a remove pagination since the api does not support 2024-01-11 16:04:59 +08:00
liangping
895e611c39 custom adaptar 2024-01-11 14:36:20 +08:00
liangping
ef39c448cb add optional adaptar 2024-01-11 13:55:25 +08:00
liangping
73f36c64b4 add client 2024-01-11 13:43:18 +08:00
liangping
1354abdb5d update policy 2024-01-07 14:43:15 +08:00
liangping
fb32ff8597 add referer policy 2024-01-07 14:39:24 +08:00
liangping
baf1813d1c update osmosis client 2024-01-01 10:22:02 +08:00
liangping
7662350921 change condition 2023-12-28 14:23:00 +08:00
liangping
ad1055d191 adjust frequency 2023-12-28 12:58:05 +08:00
liangping
1b10c1cb3f remove unused import 2023-12-28 12:35:25 +08:00
liangping
f4dda3c1f3 trigger update signing info 2023-12-28 12:32:46 +08:00
liangping
5ecba3b283 support metadata 2023-12-26 21:04:32 +08:00
liangping
2094c2c48d fix issue 2023-12-26 15:54:14 +08:00
liangping
3a3ffd5e36 overhidden address 2023-12-26 15:44:48 +08:00
liangping
13f80bf0d6 Improve UI 2023-12-26 15:44:27 +08:00
liangping
2a60e6fef9 using dynamic sdk version 2023-12-26 13:51:17 +08:00
liangping
84e26e26ad improve incompatible events display 2023-12-26 09:18:04 +08:00
liangping
6a4d1952ed Rename title 2023-12-25 17:46:52 +08:00
liangping
4518d7d108 improve compatibility 2023-12-25 17:13:04 +08:00
liangping
5d1b0fba9b add type check 2023-12-25 15:02:40 +08:00
liangping
0e57913204 add power event 2023-12-25 14:55:47 +08:00
liangping
6cccb25964 fix error 2023-12-25 09:27:52 +08:00
liangping
6faf69c6f9 update evmos gov api 2023-12-25 09:22:04 +08:00
liangping
5d1b1672c7 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-12-25 09:08:20 +08:00
liangping
fe659f8f61 dynmic update sdk version 2023-12-25 09:08:15 +08:00
liangping
b22b13ae3f update featured 2023-12-24 07:39:00 +08:00
liangping
a5eb20d979 fix undefined error 2023-12-24 07:37:18 +08:00
liangping
4fa1391e01 update featured blockchains 2023-12-20 18:52:10 +08:00
liangping
ff027ff9d0 fix filter issue 2023-12-20 18:47:31 +08:00
liangping
6d4ae71b87 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-12-20 17:18:33 +08:00
liangping
ef6a2aa9c7 fix filter issue 2023-12-20 17:18:15 +08:00
ping
586fb2ecf1
Merge pull request #522 from 0xhsy/update-verification
Update verification
2023-12-18 16:08:32 +08:00
현수영
0e61813efd add btn disable & update description to verification page 2023-12-18 16:32:26 +09:00
현수영
0a0b78c14e update welldone studio logo 2023-12-18 15:15:08 +09:00
liangping
1c9c0a6656 add custom apr 2023-12-16 19:52:27 +08:00
liangping
1870f7b4cb add osmosis extension 2023-12-16 19:30:08 +08:00
liangping
9233a4e8ef support external for api 2023-12-16 19:13:31 +08:00
liangping
bfedae38f1 apply chain id in url 2023-12-15 17:41:22 +08:00
liangping
b5a889a205 add logo 2023-12-15 16:59:31 +08:00
liangping
10d95e9d0b add verification 2023-12-15 16:13:56 +08:00
liangping
64460a686c update import 2023-12-14 08:43:11 +08:00
liangping
53641d8101 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-12-14 08:39:55 +08:00
liangping
2f8321dba8 add verificaion 2023-12-14 08:39:46 +08:00
liangping
ce9f5c076c fix error 2023-12-13 08:54:37 +08:00
liangping
f7e88d0825 change cdn 2023-12-13 08:51:04 +08:00
ping
489971021e
Merge pull request #519 from zenodeapp/master
Search bar case sensitivity fix and lowercased chainName
2023-12-05 14:57:37 +08:00
zenodeapp
a1a5ca6ca4 Leftover cleanup 2023-12-04 12:13:02 +01:00
zenodeapp
2982f8e727 Made search include chainName and simplified the url fix 2023-12-04 12:10:45 +01:00
zenodeapp
b01588c94d chainName is now considered lowercased, fixing address bar capitalization 2023-12-03 20:43:31 +01:00
zenodeapp
fe79a2ab11 Fixed searching in all chains (case insensitive + pretty name) 2023-12-03 20:40:50 +01:00
liangping
4555bb9424 hide if featured list is empty 2023-12-03 09:50:37 +08:00
liangping
5e36425f00 sort featured blockchain 2023-12-03 09:46:22 +08:00
liangping
9784de5516 add injective to featured 2023-12-02 08:29:02 +08:00
ping
1aee5ac969
Merge pull request #517 from zenodeapp/master
Optimized avatars and added avatar auto-fixer when cache is old.
2023-12-02 08:19:05 +08:00
liangping
55eee21b51 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-12-02 08:13:33 +08:00
liangping
eb169a8deb add featured blockchains 2023-12-02 08:13:01 +08:00
zenodeapp
ccf63cd413 Made everything a bit more consistent. 2023-12-01 16:43:06 +01:00
zenodeapp
5737bc6a33 Fixed no avatar bug and styling of question mark fixed. 2023-12-01 15:03:53 +01:00
zenodeapp
727979bf20 Optimized avatars and added avatar auto-fixer when cache is old. 2023-12-01 14:26:49 +01:00
ping
aa17be0839
Update FUNDING.yml 2023-11-28 18:26:45 +08:00
liangping
8ae5f18e4c Merge branch 'master' of https://github.com/ping-pub/explorer 2023-11-28 10:14:32 +08:00
liangping
7b8c2463d1 dynamic load state sync block 2023-11-28 10:14:26 +08:00
liangping
61203d348b only support base64 2023-11-15 15:30:51 +08:00
liangping
8a45680a8e improve received 2023-11-15 15:11:02 +08:00
liangping
ca59e3d586 filter spam 2023-11-15 14:46:37 +08:00
liangping
cb756ea204 improve amount display 2023-11-13 20:48:27 +08:00
liangping
df31f53b46 remove console 2023-11-13 14:44:18 +08:00
liangping
68cfb5e553 add type definition 2023-11-13 13:43:05 +08:00
liangping
7b82ec2b59 add received asset list 2023-11-13 13:38:22 +08:00
liangping
d811714165 add error message 2023-11-11 14:25:30 +08:00
liangping
ce7abefa84 random pick endpoints 2023-11-10 15:34:06 +08:00
liangping
586f819d41 update status color 2023-11-10 15:33:48 +08:00
liangping
180e4b9f2b move wasm client out of wasm store 2023-11-10 14:23:43 +08:00
liangping
f91b26abba use json view instead of grid view 2023-11-10 13:57:06 +08:00
liangping
e8f788de06 improve json view style 2023-11-10 13:30:53 +08:00
liangping
40e5d34389 improve compatible 2023-11-02 09:33:48 +08:00
liangping
1318670d6d only use address for account track 2023-11-01 09:00:54 +08:00
liangping
7618ea9ffd re-order formating flow 2023-10-30 09:21:27 +08:00
liangping
3ffcc90dd2 fix: small number of commission & rewards 2023-10-30 09:19:34 +08:00
liangping
36c73ec5ee add unbonding staking 2023-10-28 09:51:09 +08:00
liangping
75f2c5b40c add unbonding validators 2023-10-28 09:30:33 +08:00
liangping
f4732ec594 change the field name 2023-10-28 09:04:47 +08:00
liangping
21ff37aac1 load origin value for param change proposal 2023-10-28 08:21:02 +08:00
ping
7e03e3b32d
Merge pull request #506 from sxlmnwb/master
endpoint: improvement connectivity on dropdown
2023-09-22 08:51:17 +08:00
Salman Wahib
487472c05a endpoint: improvement connectivity on dropdown
Signed-off-by: Salman Wahib <hello@sxlmnwb.xyz>
2023-09-21 22:10:17 +00:00
liangping
42009219a7 endpoint switch improvement 2023-09-20 10:12:57 +08:00
liangping
bae700f822 add osmosis in config 2023-09-20 10:12:26 +08:00
liangping
a2979a75ef Disable Delegations 2023-09-18 13:23:25 +08:00
liangping
74024f825c Disable performance 2023-09-18 13:20:28 +08:00
liangping
14119034c4 add delegations 2023-09-14 20:07:04 +08:00
liangping
fbbeb21803 replace json viewer 2023-09-14 11:49:56 +08:00
liangping
7643ebce55 get chain-id 2023-09-13 17:19:59 +08:00
liangping
b0ebf40312 add suggest chain 2023-09-13 17:09:31 +08:00
liangping
74834783fa fix build error 2023-09-11 13:06:20 +08:00
liangping
ecfd56ec0b improve ibc denom 2023-09-11 13:00:17 +08:00
liangping
a208831cf9 add ibc denom cache 2023-09-11 12:27:17 +08:00
liangping
e1ab30afab remove logos 2023-09-09 09:50:23 +08:00
ping
4a2e1b8a42
Merge pull request #503 from sxlmnwb/master
regex: enable consensus dumpurl on old code
2023-09-09 09:48:26 +08:00
Salman Wahib
4945f697ce regex: enable consensus dumpurl on old code
Bug: #diff-ee4466aa0d1c641d7ae40ff1d8569a2bb414a9301ba3a2ac16e8c7cb879ea03d
Effects of rpc.value
500: Cannot read properties of undefined (reading 'validators')

- update packages to latest versions

Change-Id: 1e3eb6c56e

Signed-off-by: Salman Wahib <hello@sxlmnwb.xyz>
2023-09-09 01:36:23 +00:00
ping
d9a07b2782
Update README.md 2023-09-09 09:29:31 +08:00
liangping
6453f463a3 update 2023-09-09 09:28:23 +08:00
liangping
d0208d2403 remove config 2023-09-09 09:24:15 +08:00
liangping
965e9f7a67 disable deploy CI/CD on this repo 2023-09-09 09:04:11 +08:00
liangping
a4502edf99 add nft draft 2023-09-09 07:50:41 +08:00
liangping
5e9feabb41 update chihuahua config 2023-09-07 20:32:30 +08:00
liangping
6b145e13d3 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-09-07 09:06:47 +08:00
liangping
a9b9ff0aa4 add leap & metamask logo 2023-09-07 09:06:27 +08:00
ping
07f4e4b281
Merge pull request #501 from Xiphiar/trivium-endpoints
Add Trivium API and RPC endpoints
2023-09-05 06:47:53 +08:00
Xiphiar
242a5b08ed add dyson endpoints 2023-09-04 15:21:55 -04:00
Xiphiar
0718bf8dd4 add archway endpoints 2023-09-04 15:20:48 -04:00
Xiphiar
6c114d00cc Update secret testnet trivium endpoints 2023-09-04 15:01:45 -04:00
ping
0cad05edf6
Merge pull request #500 from george-aj/master
Fix typo
2023-09-02 08:35:11 +08:00
george-aj
6e8ca7fc12 Fix typo 2023-09-01 16:57:10 -05:00
liangping
c91a611364 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-09-01 11:40:58 +08:00
liangping
1e3eb6c56e Loaded Rotated Keys for consumer chain 2023-09-01 11:40:51 +08:00
ping
b28f216e3c
Merge pull request #499 from george-aj/master
Add Temporal Testnet
2023-09-01 07:59:59 +08:00
george-aj
f1679256f2 Add Temporal Testnet 2023-08-31 11:43:59 -05:00
liangping
62a2d8f927 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-08-31 15:19:01 +08:00
liangping
2b955281e3 feat: migrate, update admin, clear admin 2023-08-31 15:18:13 +08:00
ping
f7191afb03
Update README.md 2023-08-30 11:50:08 +08:00
ping
51846df957
Update README.md
update metadata tutoris
2023-08-30 11:47:04 +08:00
ping
103db90f24
Merge pull request #498 from dckc/patch-3
fix(agoric): RUN->IST
2023-08-30 11:31:03 +08:00
Dan Connolly
1a03a241ee
fix(agoric): RUN->IST
The Agoric RUN token was renamed to IST.
2023-08-29 18:22:10 -05:00
ping
1eb1606cde
Merge pull request #497 from nodexcapital/master
Add Dymension Testnet Explorer
2023-08-26 09:58:47 +08:00
ping
7ec753469d
Delete .gitpod.yml 2023-08-26 09:58:20 +08:00
NodeX Emperor
f4b72b9d06 Add Dymension Testnet Explorer 2023-08-25 02:18:30 +00:00
ping
642cb3bdf5
Merge pull request #496 from mingi3442/typing_error_issue
typing error in readme regitstry -> registry
2023-08-25 09:03:35 +08:00
Lee MinGi
a7716f6533 typing error in readme regitstry -> registry 2023-08-24 18:15:50 +09:00
liangping
268509d87e remove hidden of top validators 2023-08-24 16:14:27 +08:00
liangping
48adbf4395 add query by creator 2023-08-24 15:33:06 +08:00
liangping
909fed3aa6 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-08-24 14:39:31 +08:00
liangping
d7fd252afa fix pagination issue 2023-08-24 14:39:19 +08:00
liangping
b64ada1c95 update side testnet 2023-08-24 14:39:04 +08:00
ping
45b1c2d1c3
Merge pull request #495 from ithfay/master
change sdk version
2023-08-24 09:05:22 +08:00
ithfay
6f2fda712f
Merge branch 'ping-pub:master' into master 2023-08-23 21:27:59 +08:00
mengjay710@gmail.com
f863c782be change sdk version 2023-08-23 21:26:07 +08:00
mengjay710@gmail.com
b0b27f235d change sdk version 2023-08-23 21:22:46 +08:00
ping
cb6e4c636d
Merge pull request #494 from Reecepbcups/reece/update-juno
juno: Update SDK version
2023-08-21 14:10:59 +08:00
Reece Williams
34128fcf42 Update SDK ver + add Reece RPC/REST 2023-08-19 10:41:42 -05:00
liangping
5158263f04 add testnet 2023-08-17 09:33:35 +08:00
liangping
01a524bf9f update side testnet 2023-08-17 08:11:31 +08:00
liangping
b5104bde4d Merge branch 'master' of https://github.com/ping-pub/explorer 2023-08-16 09:08:15 +08:00
liangping
3e406d3643 add pagination for my sent txs 2023-08-16 09:08:09 +08:00
ping
41e85d0e39
Merge pull request #492 from hexskrt/master
mun blockchain update to ping.pub
2023-08-15 09:34:27 +08:00
hexskrt
235f3f62a9
Update mun.json 2023-08-15 08:09:43 +07:00
hexskrt
241eaa1ca8
add mun blockchain mainnet 2023-08-15 08:07:49 +07:00
hexskrt
f1d824d76c
add mun blockchain mainnet 2023-08-15 08:07:17 +07:00
ping
8673091f7f
Merge pull request #491 from kioqq/master-1
Update HAQQ Endpoints
2023-08-14 18:41:38 +08:00
Evgeniy Abramov
661a513f8b
Update HAQQ endpoints 2023-08-14 14:32:20 +04:00
ping
f5bc952cd0
Merge pull request #490 from Kamikaza731/master
PICA token added on coingecko
2023-08-12 19:49:18 +08:00
NM
008c0d6480
PICA token on coingecko 2023-08-12 12:33:23 +02:00
liangping
3c88e474f2 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-08-10 15:54:02 +08:00
liangping
ba3d7a26a7 show more columns 2023-08-10 15:53:02 +08:00
ping
05d65da35e
Merge pull request #489 from xlightwaverx/master
Add installation instructions back
2023-08-10 09:14:24 +08:00
Budd Grant
388941d7c8
Update installation.md 2023-08-09 19:10:25 -04:00
xlightwaverx
adcd896ec3 Added working prereqs for Node using NVM 2023-08-09 23:01:56 +00:00
xlightwaverx
9a9da5657e Added installation instructions back 2023-08-09 22:23:18 +00:00
liangping
4f9b2803ac improve uptime bar 2023-08-09 09:52:39 +08:00
liangping
e42c39106d fixed query issue 2023-08-08 19:28:02 +08:00
liangping
e1684b2d77 imp: block gap is too small on small screen. 2023-08-08 17:34:31 +08:00
liangping
2e71900f76 feat: add txs view for wasm contracts 2023-08-07 11:20:18 +08:00
liangping
86457a9a63 use int instead of enum 2023-08-07 09:46:51 +08:00
ping
ea57af0dc1
Merge pull request #485 from ithfay/master
add conscious
2023-07-26 14:30:18 +08:00
mengjay710@gmail.com
d9c828ba12 update 2023-07-25 22:41:38 +08:00
ping
a8e99f1ba2
Merge pull request #484 from dpdanpittman/master
update qwoyn logo filename
2023-07-25 05:27:35 +08:00
Daniel Pittman
6b64664d2a
update qwoyn logo filename 2023-07-24 12:11:07 -06:00
liangping
76371d4d5d Merge branch 'master' of https://github.com/ping-pub/explorer 2023-07-23 13:31:15 +08:00
liangping
76b1636e79 update stride to consummer chain 2023-07-23 13:31:10 +08:00
mengjay710@gmail.com
9caf789a85 add conscious 2023-07-21 16:43:32 +08:00
ping
ce0a27b477
Merge pull request #472 from lufa23/add_archway
Add archway
2023-07-19 18:57:55 +08:00
ping
17f2c24607
Merge pull request #478 from encrypt3dw4lrus/qom-testnet
added qom testnet json and png logo
2023-07-19 18:57:08 +08:00
ping
51125efd85
Merge pull request #482 from ech-world/patch-3
Update echelon.json
2023-07-19 09:15:57 +08:00
ech-world
2aa636393a
Update echelon.json
echelon joker => added
ech.world nodes will be shutdown => removed
2023-07-17 22:04:24 +03:00
ping
6ee9d72032
Merge pull request #481 from sxlmnwb/master
set up default endpoint fix blank on add chains to keplr
2023-07-17 08:53:13 +08:00
Salman Wahib
9c108bc88c chains: fix terp blank add to keplr
add default rpc/api terp use itrocket

Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: Marutyan Samvel <48280694+itrocket-team@users.noreply.github.com>
2023-07-17 04:10:38 +07:00
Salman Wahib
0cc4f06c8f chains: fix kujira blank add to keplr
default rpc/api kujira use polkachu

Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: Polkachu Intern <hello@polkachu.com>
2023-07-17 03:44:18 +07:00
ping
74043aee82
Merge pull request #480 from behumble/typofix
fix: typo (infalation -> inflation)
2023-07-16 09:13:48 +08:00
Alan Goo
a5f29feb0d fix: typo (infalation -> inflation) 2023-07-15 23:03:16 +09:00
encrypt3dW4lrus
75ae9a2045 added qom testnet json and png logo 2023-07-11 22:36:41 +01:00
liangping
bcdab16c38 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-07-11 10:23:16 +08:00
liangping
65c9f8c69a improve votes 2023-07-11 10:23:09 +08:00
ping
51c15a352d
Merge pull request #476 from sxlmnwb/master
add i18n id and cn for proposal status on proposal page
2023-07-11 09:40:37 +08:00
Salman Wahib
60fbce2a4d feat: add i18n id and cn equate commit 73a0786
Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: Techno Freak <freak12techno@gmail.com>
2023-07-10 02:46:23 +07:00
ping
ae38647480
Merge pull request #475 from freak12techno/add-i18n-for-proposal-status
feat: add i18n for proposal status on proposal page
2023-07-09 08:16:32 +08:00
Techno Freak
73a0786ce3 feat: add i18n for proposal status on proposal page 2023-07-08 13:48:31 +03:00
ping
bc6a81e3b5
Merge pull request #474 from webbushka/master
update provenance blockchain brand
2023-07-08 09:46:19 +08:00
AJ Webb
6620319113
update provenance blockchain brand 2023-07-07 08:37:44 -10:00
lufa23
af9a26ccf6 added logo and rpc port 2023-07-06 11:51:57 +02:00
lufa23
949efe2d01 added logo 2023-07-06 11:51:42 +02:00
ping
e99a41b821
Merge pull request #471 from nodestake/ping-PR
Add qwoyn rpc/api by NodeStake
2023-07-06 15:51:29 +08:00
NodeStake
03bc5969ad
Update qwoyn.json
Add rpc/api by NodeStake
2023-07-06 15:27:25 +08:00
ping
d82695f576
Merge pull request #470 from lufa23/add_archway
Add archway
2023-07-06 08:19:47 +08:00
lufa23
473d7d1954 added archway testnet 2023-07-05 19:23:46 +02:00
lufa23
e7ddbc2bfd added archway mainnet 2023-07-05 19:23:32 +02:00
ping
7fc7bca906
Merge pull request #466 from fadeev/zetachain-update
fix: update endpoints for ZetaChain
2023-07-01 07:08:52 +08:00
ping
78fe37bf68
Merge pull request #468 from josietyleung/patch-2
Update centauri.json
2023-07-01 07:07:48 +08:00
Josie Leung
87d7358900
Update centauri.json 2023-06-30 21:04:45 +08:00
Denis Fadeev
8727573714
fix: remove NodeJumper 2023-06-30 14:50:40 +04:00
ping
fddf3e4614
Merge pull request #464 from hexskrt/patch-1
add: empower chain mainnet
2023-06-30 18:46:40 +08:00
ping
96bd17bdec
Merge pull request #465 from fadeev/zetachain
Added ZetaChain Athens 3 testnet
2023-06-30 18:45:46 +08:00
Denis Fadeev
e6e3886498
Added ZetaChain Athens 3 testnet 2023-06-30 11:13:09 +04:00
hexskrt
7434f66466
add: empower chain mainnet 2023-06-30 13:38:16 +07:00
ping
edbd29c115
Merge pull request #463 from MasterPi-2124/patch-4
Add Notional API
2023-06-30 07:33:29 +08:00
Master Pi
602e2e9c91
Add Notional API 2023-06-29 20:09:15 +07:00
ping
6b7b0d0969
Merge pull request #461 from gjermundgaraba/fix-text-proposal-0-46-47
Fix new text proposal (no messages) for 0.46+
2023-06-28 08:18:29 +08:00
ping
fa39ea60d0
Merge pull request #462 from dpdanpittman/master
add qwoyn network
2023-06-28 08:15:55 +08:00
Daniel Pittman
8a73ba8efd
add qwoyn network 2023-06-27 15:59:44 -06:00
Gjermund Garaba
ab416e4215
Fix new text proposal (no messages) for 0.46+ 2023-06-27 20:41:13 +02:00
ping
8f77758fe9
Merge pull request #460 from SecretSaturn/master
Update Secret API and RPC endpoints
2023-06-27 05:28:24 +08:00
h3rt
3d749aed39
Update Secret API and RPC endpoints 2023-06-26 23:21:02 +02:00
liangping
108d4ce9a1 hidden 2023-06-26 17:02:30 +08:00
liangping
70fcf8e0d4 remove console 2023-06-26 16:55:00 +08:00
liangping
2e413133c2 improve gov v1 2023-06-26 16:54:23 +08:00
ping
7b4d2b04e8
Merge pull request #458 from persistenceOne/persistence-testnet2
persistence test-core-2 details
2023-06-23 22:40:22 +08:00
mkRuby009
1edf75bb65 persistence test-core-2 details 2023-06-23 12:50:21 +04:00
ping
c2a668f198
Merge pull request #457 from KosmosKahn/patch-1
Update lumenx.json
2023-06-23 13:11:36 +08:00
ping
c8e5f7c3cb
Merge pull request #456 from sxlmnwb/master
routerlink route account delegation to validator
2023-06-23 13:10:39 +08:00
Kahn
6ef6eb75bb
Update lumenx.json 2023-06-22 13:31:20 -03:00
Salman Wahib
5708b0d169 security_contact: href: v-if delete useless ?
Author: Salman Wahib <hello@sxlmnwb.xyz>
2023-06-22 23:16:23 +07:00
Salman Wahib
10b06cb474 routerlink: route account delegation to validator
- add href in security_contact

Author: Salman Wahib <hello@sxlmnwb.xyz>
2023-06-22 23:07:06 +07:00
ping
0034f16ade
Merge pull request #455 from sxlmnwb/master
il8n add indonesian translation
2023-06-22 07:22:03 +08:00
Salman Wahib
a572ab5100 il8n: add indonesian translation
Author: Salman Wahib <hello@sxlmnwb.xyz>
2023-06-22 02:13:59 +07:00
ping
9c3895ac1b
Merge pull request #454 from josietyleung/patch-1
Update naming
2023-06-21 22:49:16 +08:00
Josie Leung
d0bfdde30e
Update centauri.json 2023-06-21 11:47:15 +01:00
liangping
bdcd1675b1 add chinese translation 2023-06-21 18:40:09 +08:00
Josie Leung
1e908557bd
Update centauri.json 2023-06-21 11:39:45 +01:00
Josie Leung
3ad9bff475
Update and rename composable.json to centauri.json 2023-06-21 11:38:51 +01:00
Josie Leung
4a07f3c72b
Update and rename banksy.json to centauri.json 2023-06-21 11:37:22 +01:00
ping
bc525a3dd9
Merge pull request #453 from sxlmnwb/master
i18n update add en in ping-pub/explorer #2
2023-06-21 16:41:58 +08:00
Salman Wahib
f224a3f4e8 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-06-21 15:29:39 +07:00
Salman Wahib
38b73d0a1d i18n: update add en src/modules/[chain]/
placeholder="" not changes

Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-21 15:27:42 +07:00
Salman Wahib
45af5623b9 i18n: update add en src/modules/[chain]/widget/
Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-21 14:43:42 +07:00
Salman Wahib
3acd2381b3 i18n: update add en src/modules/[chain]/uptime/
placeholder="" not changes

Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-21 14:30:26 +07:00
Salman Wahib
a4fa86fc63 i18n: update add en src/modules/[chain]/tx/
Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-21 12:30:41 +07:00
Salman Wahib
687faf0e3b i18n: update add en src/modules/[chain]/statesync/
Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-21 12:14:58 +07:00
liangping
66f603266c fix page number 2023-06-21 12:54:42 +08:00
liangping
c6e53ac6df add txs 2023-06-21 12:35:13 +08:00
liangping
0384c9aba4 add ibc transactions 2023-06-21 12:23:07 +08:00
Salman Wahib
3b12487dc3 i18n: update add en src/modules/[chain]/staking/
Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-21 11:18:34 +07:00
liangping
c3cc70bd1f add to fix 2023-06-21 09:52:28 +08:00
liangping
50f76ec414 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-06-21 09:47:45 +08:00
liangping
a8c1bb7939 add reverse 2023-06-21 09:47:38 +08:00
ping
79dbdf7b6d
Merge pull request #451 from sxlmnwb/master
i18n update add en in ping-pub/explorer #1
2023-06-21 09:46:07 +08:00
Salman Wahib
7ad04e2c68 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-06-21 02:07:45 +07:00
Salman Wahib
0f4b487f7b i18n: update add en src/modules/[chain]/ibc/
Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-21 02:03:29 +07:00
Salman Wahib
cf3c2b7a85 i18n: update add en src/modules/[chain]/gov/
const processList = computed(() => ); > not changes

Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-21 01:30:39 +07:00
Salman Wahib
665ea0c17b i18n: update add en src/modules/[chain]/cosmwasm/
const radioContent = [}; > not changes

Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-21 01:08:00 +07:00
Salman Wahib
488a9c2d37 i18n: update add en src/modules/[chain]/consensus/
Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-21 00:35:27 +07:00
Salman Wahib
5b4d4718c2 i18n: update add en src/modules/[chain]/block/
Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-21 00:04:29 +07:00
liangping
965bb883f5 format decimals 2023-06-20 19:45:49 +08:00
liangping
1ee46ad93b clean code 2023-06-20 07:56:10 +08:00
liangping
31011738d4 add readme for config 2023-06-20 07:53:51 +08:00
liangping
b3b080b22c replace \r 2023-06-20 07:19:51 +08:00
Salman Wahib
4257406286 i18n: update add en src/modules/[chain]/account/
Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-20 01:53:00 +07:00
liangping
5b7b4ec10b limit moniker 2023-06-19 23:08:36 +08:00
liangping
650c809016 improve UI 2023-06-19 22:38:49 +08:00
sxlmnwb
aa13bc88cb i18n: update add en src/pages/
- modified src/layouts/components/DefaultLayout.vue

    - ecosystem > not enable
        - favorite
        - all_blockchains

Author: Salman Wahib <hello@sxlmnwb.xyz>
Co-authored-by: liangping <18786721@qq.com>
2023-06-19 21:34:44 +07:00
ping
abdb5d819c
Merge pull request #449 from FunctionX/master
Add fxcore network
2023-06-19 21:37:20 +08:00
ping
e72168acff
Merge pull request #448 from nodestake/ping-PR
Add some chains RPC/API by NodeStake
2023-06-19 21:36:32 +08:00
liangping
32b37f16c7 add version compatible implementation 2023-06-19 21:33:50 +08:00
zakir
06a570f0cb Add fxcore network 2023-06-19 14:25:09 +08:00
NodeStake
7005ed93fc
Update uptick.json 2023-06-19 13:37:04 +08:00
NodeStake
e82aacd9a7
Update whitewhale.json 2023-06-19 13:36:48 +08:00
NodeStake
d0a2039401
Update terp.json 2023-06-19 13:35:37 +08:00
NodeStake
0120be7b0e
Update tenet.json 2023-06-19 13:34:54 +08:00
NodeStake
8061cd831e
Update quasar.json 2023-06-19 13:34:22 +08:00
NodeStake
0b3853aa60
Update nois.json 2023-06-19 13:32:53 +08:00
NodeStake
f2a99112bd
Update neutron.json 2023-06-19 13:32:21 +08:00
NodeStake
cba3c8babf
Update migaloo.json 2023-06-19 13:31:56 +08:00
NodeStake
d58e799aab
Update kyve.json 2023-06-19 13:31:16 +08:00
NodeStake
83fbcaa22b
Update humans.json 2023-06-19 13:30:47 +08:00
NodeStake
6b2c4a0436
Update haqq.json 2023-06-19 13:30:19 +08:00
NodeStake
83158644a8
Update gitopia.json 2023-06-19 13:29:16 +08:00
NodeStake
8e814e6451
Update composable.json 2023-06-19 13:28:17 +08:00
NodeStake
6b728033cc
Update chain4energy.json 2023-06-19 13:27:31 +08:00
NodeStake
e3f882272e
Update aura.json 2023-06-19 13:26:10 +08:00
NodeStake
f416d27bc6
Update 8ball.json 2023-06-19 13:24:57 +08:00
liangping
f69546d44f improve logo 2023-06-19 08:18:15 +08:00
liangping
30ffac1b93 small improvement 2023-06-19 07:43:47 +08:00
liangping
f563264600 imp: add parameters on staking page 2023-06-18 17:56:22 +08:00
ping
adc2ff55b0
Merge pull request #444 from Golden-Ratio-Staking/master
Add GRS Chihuahua and Comdex Endpoints
2023-06-18 12:12:09 +08:00
ping
d45e57330c
Merge pull request #445 from zreohup/patch-1
Update hermit.json
2023-06-18 12:11:23 +08:00
liangping
f73b0d37a4 fix colors 2023-06-18 10:04:45 +08:00
liangping
25790a449c save user's currency 2023-06-18 08:55:29 +08:00
liangping
ef30700313 adding currency. 2023-06-18 08:38:26 +08:00
Go_map
194a2484b7
Update hermit.json
Update the information on hermit.json. The error in filling in the original API link resulted in the hermit network not being able to read the information correctly on the Ping.Pub Dashboard. Please correct it now. For example: https://rpc.hermit.network:1317/cosmos/base/tendermint/v1beta1/node_info Can correctly obtain chain information instead of being blank.
2023-06-17 22:41:50 +08:00
Golden Ratio Staking
ee5dc77fd2
Update comdex.json 2023-06-17 09:55:24 -04:00
Golden Ratio Staking
3c7a20fadf
Update chihuahua.json 2023-06-17 09:54:25 -04:00
liangping
751e2f662c add hover 2023-06-17 20:24:51 +08:00
liangping
3b2c658340 sort txs 2023-06-17 20:18:57 +08:00
liangping
2f7d2c4ff5 add small improvement 2023-06-17 20:00:52 +08:00
liangping
258aa89130 improve importing address 2023-06-17 19:49:08 +08:00
liangping
add9109789 fix type check 2023-06-17 14:02:44 +08:00
liangping
a1635675d3 add padding to wallet bar 2023-06-17 13:27:12 +08:00
liangping
b9d3585f5a adjust left 2023-06-17 13:14:43 +08:00
liangping
90a596514a improve position 2023-06-17 12:54:37 +08:00
liangping
fcae66aed9 improve IBC 2023-06-17 12:07:30 +08:00
liangping
e525065ea4 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-06-17 10:35:16 +08:00
liangping
6ad65bec5f improve IBC features 2023-06-17 10:35:06 +08:00
ping
75437e0270
Merge pull request #442 from Golden-Ratio-Staking/master
Add Golden Ratio RPC/REST Endpoints
2023-06-17 09:24:28 +08:00
ping
34ec312361
Merge pull request #443 from zreohup/master
Add Hermit Network info
2023-06-17 09:23:39 +08:00
Go_map
5444565d83
Add files via upload
Add Hermit Network logo
2023-06-17 02:39:18 +08:00
Go_map
fbc03651df
Add files via upload
Add Hermit Network information
2023-06-17 02:38:35 +08:00
Golden Ratio Staking
211e3a48e0
Update kujira.json 2023-06-16 13:33:23 -04:00
Golden Ratio Staking
62d94003e4
Update juno.json 2023-06-16 13:32:49 -04:00
Golden Ratio Staking
5d6f2f180f
Update injective.json 2023-06-16 13:32:14 -04:00
Golden Ratio Staking
c82b823e92
Update evmos.json 2023-06-16 13:31:20 -04:00
Golden Ratio Staking
e96461f7f1
add golden ratio endpoints to cosmos 2023-06-16 13:29:57 -04:00
liangping
a648f8de5a add funds 2023-06-16 21:50:30 +08:00
liangping
6dc3af51e6 adjust width 2023-06-16 17:42:54 +08:00
liangping
ef2f40be94 add string[] and space wrap 2023-06-16 17:07:37 +08:00
liangping
1b575fd921 remove unused code 2023-06-16 13:15:45 +08:00
liangping
4f5c3b648b update keys reading 2023-06-16 13:12:34 +08:00
liangping
12dbaee973 fix: wrong ids 2023-06-16 11:51:25 +08:00
liangping
b06d3aadc3 move decimals 2023-06-16 11:40:21 +08:00
liangping
4d910b1875 improve display 2023-06-16 11:32:03 +08:00
liangping
b4ab097c18 add portfolio 2023-06-16 11:15:37 +08:00
liangping
0d8485b54c Merge branch 'master' of https://github.com/ping-pub/explorer 2023-06-16 08:21:36 +08:00
liangping
ed92ffe837 improve portfolio 2023-06-16 08:21:29 +08:00
ping
47c8236239
Merge pull request #441 from qubelabsio/patch-1
fix wrong endpoints
2023-06-16 06:09:02 +08:00
liangping
4b831a590b adjust modal size 2023-06-15 19:59:04 +08:00
liangping
adcf8a5e56 use smaller logo 2023-06-15 19:47:08 +08:00
liangping
3843652459 adjust popup position 2023-06-15 19:27:08 +08:00
liangping
1e85c04852 improve layout 2023-06-15 19:06:44 +08:00
liangping
2e0d075587 imp: count down 2023-06-15 18:56:57 +08:00
liangping
f12c16bb9b imp: improve UI for dynamic components 2023-06-15 18:47:44 +08:00
liangping
4a98482eeb add price calculator and fix color of buy 2023-06-15 15:59:31 +08:00
liangping
78d2d8b36e resolve the duplicaated the loading class 2023-06-15 14:28:03 +08:00
Rok
8f0790cfce
fix wrong endpoints 2023-06-15 08:26:35 +02:00
liangping
e9b4afd7fa improve background color 2023-06-15 12:05:35 +08:00
liangping
4fdafa3131 update redesign layout 2023-06-15 11:06:30 +08:00
liangping
18ce47b823 fix imcompatible 2023-06-15 09:23:14 +08:00
liangping
e770103c75 upgrade UI component 2023-06-15 09:09:47 +08:00
liangping
dbbe245cbc fix: null addresses 2023-06-15 06:23:11 +08:00
liangping
b8b53d2fe9 remove console 2023-06-15 06:22:54 +08:00
liangping
be758e92b9 add 2023-06-14 20:17:51 +08:00
liangping
f4d1665861 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-06-14 19:45:36 +08:00
liangping
22244f4e0a improved mobile UI 2023-06-14 19:45:24 +08:00
ping
5e2e35c168
Merge pull request #438 from ech-world/patch-2
Remove non-working servers from echelon.json, add Mind Heart Soul servers
2023-06-14 18:17:33 +08:00
ping
5fa1b5c909
Merge pull request #440 from fl-y/master
add banksy testnet to ping.pub
2023-06-14 18:16:56 +08:00
ping
fb29e42200
Merge pull request #437 from haqq-network/haqq_mainnet
add Haqq mainnet + update icons
2023-06-14 18:16:15 +08:00
ping
da11fb7813
Merge pull request #439 from qubelabsio/master
Add Axelar Testnet
2023-06-14 18:15:25 +08:00
liangping
6a72567342 improve account and client 2023-06-14 18:00:48 +08:00
liangping
4a494738f9 implement custom api for evmos 2023-06-14 12:25:57 +08:00
liangping
98e4c3d1c2 add animation 2023-06-14 09:32:55 +08:00
liangping
3d20aee8eb add format converter 2023-06-14 06:37:33 +08:00
Rok
f20005802e
remove id's 2023-06-13 19:23:17 +02:00
Joon
697f19351c
fix links 2023-06-13 12:57:53 -03:00
Joon
bc23f73f59
add banksy testnet 2023-06-13 12:55:23 -03:00
liangping
6437369d84 hidden 2023-06-13 20:20:07 +08:00
liangping
63f86a5b6a feat: add future blocks 2023-06-13 20:18:24 +08:00
liangping
e92630e943 add blocks 2023-06-13 19:12:39 +08:00
Rok
3ffcdbe9c5
fix assets 2023-06-13 10:09:13 +02:00
Rok
5afcd064d5
Update axelar.json 2023-06-13 09:47:54 +02:00
Rok
afaa5a0c94
Add Axelar Testnet 2023-06-13 09:45:54 +02:00
liangping
ff621bd67c imp: show duration text 2023-06-13 15:41:34 +08:00
liangping
436a5cc3a1 add empty content for tx list 2023-06-13 13:30:26 +08:00
liangping
7ab2c8121c imp: improve UI 2023-06-13 10:35:25 +08:00
liangping
b5bdf6ec12 imp: disable delegate for top 1/3 validators 2023-06-13 09:03:30 +08:00
liangping
c5b88d73c2 Fix: trust color 2023-06-13 08:18:37 +08:00
ech-world
221ebcaa62
Update echelon.json 2023-06-12 21:45:27 +03:00
Evgeniy Abramov
d85fa6153a
feat: add haqq mainnet + update icons 2023-06-12 19:15:49 +04:00
liangping
a42eb4fae7 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-06-12 18:31:12 +08:00
liangping
5c00c67f74 imp: dark color 2023-06-12 18:22:23 +08:00
ping
32c5d6cbff
Merge pull request #436 from alisaweb3/v3-single
Chart show
2023-06-12 17:17:21 +08:00
Alisa | Side.one
b7224b5387 fix: merge conflicts 2023-06-12 17:11:10 +08:00
Alisa | Side.one
517a5413b0 feat: ping-widget change citation 2023-06-12 17:04:14 +08:00
liangping
b03bbfd860 feat: add name resovle 2023-06-12 15:50:09 +08:00
Alisa | Side.one
d960db4840 feat: chart show 2023-06-12 15:15:48 +08:00
liangping
724ba72a71 imp: improve dynamic components 2023-06-12 14:59:24 +08:00
Alisa
eff43c87b1
Merge pull request #21 from ping-pub/master
merge
2023-06-12 11:04:12 +08:00
liangping
8ec5a9822a format total value 2023-06-12 10:33:47 +08:00
liangping
8f9e490124 imp: adjust the layout. 2023-06-12 10:33:26 +08:00
liangping
910f65c6d7 edit endpoint 2023-06-11 20:07:55 +08:00
liangping
2eb15af856 remove badge border 2023-06-11 17:36:37 +08:00
liangping
aa919fbbed roll back 2023-06-11 08:42:04 +08:00
liangping
a92e726cfb add neutron endpoint 2023-06-10 21:03:27 +08:00
liangping
78425e33a2 remove unused code 2023-06-10 20:56:01 +08:00
liangping
06e9f51ae9 update widget version to v0.0.40 2023-06-10 20:27:35 +08:00
liangping
082da1276f add endpoints 2023-06-10 12:39:07 +08:00
liangping
e6067b9488 test black theme color 2023-06-10 10:51:25 +08:00
liangping
c07be3d8fb optimize default chain 2023-06-10 09:29:38 +08:00
liangping
2cc8ae4de3 Merge branch 'master' of https://github.com/ping-pub/explorer 2023-06-10 08:09:10 +08:00
liangping
2131e7f9f4 add supply and widget module 2023-06-10 08:08:09 +08:00
ping
e7211c7732
Merge pull request #435 from alisaweb3/v3-single
The timer is cleared uniformly, Interface error interrupt request
2023-06-09 20:32:35 +08:00
ping
c539ddab64
Merge pull request #430 from okp4/fix/bech32-detection
Improve bech32 regex
2023-06-09 20:31:42 +08:00
Alisa | Side.one
116be4db63 feat: Interface error interrupt request 2023-06-09 20:26:39 +08:00
Alisa | Side.one
5e03afec0a feat: The timer is cleared uniformly 2023-06-09 20:19:57 +08:00
liangping
a2b53a6f0c hidden accounts 2023-06-09 18:38:44 +08:00
liangping
551816e0ed add accounts and supply 2023-06-09 18:32:25 +08:00
ccamel
9c643dc409
fix: improve bech32 regex (to support all prefixes) 2023-06-09 09:39:05 +02:00
ping
32e8c26d04
Merge pull request #434 from alisaweb3/v3-single
Light-theme navbar text color
2023-06-09 14:31:48 +08:00
Alisa | Side.one
b1f5684638 feat: light-theme navbar text color 2023-06-09 14:24:04 +08:00
Alisa
6cf09daf0f
Merge pull request #20 from ping-pub/master
merge
2023-06-09 14:05:40 +08:00
liangping
013cc64702 improve svg and background 2023-06-09 13:47:25 +08:00
liangping
2cbf6a3ac9 add theme_colors 2023-06-09 12:09:13 +08:00
liangping
eaf28a6fd5 set theme colors 2023-06-09 12:01:51 +08:00
ping
92b08fa35f
Merge pull request #432 from nodexcapital/nodexcapital-patch-1
Add Router Logo
2023-06-09 11:18:16 +08:00
ping
1b8bc7597f
Merge pull request #433 from nodexcapital/nodexcapital-patch-2
Add Router Testnet
2023-06-09 11:18:01 +08:00
ping
bd85eb16be
Merge pull request #431 from alisaweb3/v3-single
Set theme-color ,Consensus color, Voting show in h5
2023-06-09 11:14:37 +08:00
Alisa
8dc462c15e
Merge pull request #19 from ping-pub/master
merge
2023-06-09 11:07:40 +08:00
Alisa | Side.one
631dbc5a99 fix: remove wallet change 2023-06-09 11:06:58 +08:00
liangping
2b467a663e fix: no wallet connected issue 2023-06-09 10:38:30 +08:00
liangping
6c78fc688e fix: params are not sync 2023-06-09 08:38:16 +08:00
NodeX Emperor
ceb1b5a9aa
Create router.json 2023-06-09 03:03:53 +07:00
NodeX Emperor
67bb1a4711
Add files via upload 2023-06-09 03:01:31 +07:00
Alisa | Side.one
659b17c388 fix: wallet connected update 2023-06-09 00:48:27 +08:00
Alisa | Side.one
2d47ac734b feat: remove test code 2023-06-09 00:07:21 +08:00
Alisa | Side.one
3a118a5393 feat: fix consensus color 2023-06-09 00:00:14 +08:00
Alisa | Side.one
a8f7278b9a feat: process status 2023-06-08 21:43:34 +08:00
Alisa | Side.one
a56003ec65 feat: color convert 2023-06-08 21:16:43 +08:00
liangping
e9500382fa show blockchain numbers 2023-06-08 20:51:14 +08:00
liangping
45a2912c7f fix tailwind css 2023-06-08 20:47:17 +08:00
Alisa
bbdb0bc845
Merge pull request #18 from ping-pub/master
merge
2023-06-08 17:22:19 +08:00
Alisa | Side.one
d822430d6a feat: toggle chain set theme-color 2023-06-08 17:20:34 +08:00
liangping
9039952fea imp: improve layout on small screen 2023-06-08 14:16:50 +08:00
liangping
760596e02f link on logo 2023-06-08 12:38:33 +08:00
liangping
b8d10fa373 fix nav issue 2023-06-08 11:39:38 +08:00
liangping
a336be1833 replace build only with build 2023-06-08 10:03:24 +08:00
liangping
a25dde89f5 fix all build checks 2023-06-08 10:02:47 +08:00
ping
e2782c1e00
Merge pull request #428 from alisaweb3/v3-single
Btn style, Add route
2023-06-08 07:25:27 +08:00
liangping
4186a1a65b integrate metamask 2023-06-07 22:05:58 +08:00
Alisa | Side.one
7fe56465b5 feat: add route 2023-06-07 22:00:29 +08:00
Alisa | Side.one
d0914aca8c feat: btn style 2023-06-07 16:28:07 +08:00
Alisa | Side.one
c6eba9d325 feat:block btn style 2023-06-06 22:04:33 +08:00
ping
a743f9cc9e
Merge pull request #426 from alisaweb3/v3-single
Add Consensus Page(hidden), Voting Btn, Account Fetch Data, Search Modal
2023-06-06 21:45:47 +08:00
Alisa | Side.one
51142eddd7 fix: Fix style packaging weight problem 2023-06-06 21:42:59 +08:00
Alisa | Side.one
e0d95bf8a1 feat: hidden consensus route 2023-06-06 21:20:39 +08:00
Alisa | Side.one
f0e4f34206 feat: onMounted get data 2023-06-06 21:20:00 +08:00
Alisa | Side.one
08d252954e feat: reset value 2023-06-06 20:57:24 +08:00
Alisa | Side.one
99a24fbc8a feat: null value judgment 2023-06-06 20:54:03 +08:00
Alisa | Side.one
03d502ccd4 feat: close modal 2023-06-06 20:06:26 +08:00
Alisa | Side.one
24501beea4 feat: add search modal 2023-06-06 20:02:35 +08:00
Alisa | Side.one
63a1ea8555 feat: consensus no data 2023-06-06 20:02:21 +08:00
Alisa | Side.one
8d8a1503ed feat: error toast 2023-06-06 16:18:03 +08:00
Alisa | Side.one
be7394665b feat: remove console.log 2023-06-06 16:13:48 +08:00
ping
7628cdb91e
Merge pull request #425 from hexskrt/master
Update composable.json
2023-06-06 15:26:43 +08:00
Alisa | Side.one
490e8995b9 feat: badge add background color 2023-06-06 15:11:27 +08:00
hexskrt
c0c93da0c5
Update composable.json 2023-06-06 14:07:38 +07:00
ping
af715e7ef7
Merge pull request #424 from hexskrt/master
add: composable to ping.pub
2023-06-06 14:32:49 +08:00
Alisa | Side.one
f510f88977 feat: badge add style 2023-06-06 14:18:09 +08:00
Alisa | Side.one
46494d890f feat: show correct name 2023-06-06 14:15:25 +08:00
Alisa | Side.one
004d4a81c0 feat: add showName function 2023-06-06 13:58:56 +08:00
Alisa | Side.one
adde93859b feat: consensus data handle 2023-06-06 13:39:33 +08:00
hexskrt
709fcaf637
Update composable.json 2023-06-06 12:35:46 +07:00
hexskrt
d2631dc67b
add: composable.json 2023-06-06 12:34:36 +07:00
hexskrt
338c6a0604
add: composable finance 2023-06-06 12:33:03 +07:00
ping
27de9a3bbb
Merge pull request #423 from StakeTake/master
Update version for Noria
2023-06-06 08:46:26 +08:00
Stake-Take
dc9bfa0b4a
Update version for Noria 2023-06-05 19:32:25 +03:00
Alisa | Side.one
b648b47cdd feat: add function and styles 2023-06-06 00:22:55 +08:00
Alisa | Side.one
31434f96f3 feat: add function 2023-06-05 19:10:03 +08:00
Alisa | Side.one
98f1696a5d feat: add tips 2023-06-05 16:56:47 +08:00
Alisa | Side.one
0bf0ebb059 feat: add sign btn 2023-06-05 16:37:06 +08:00
Alisa | Side.one
1fb696e6c6 feat: add i18n 2023-06-05 16:30:29 +08:00
Alisa | Side.one
9adf179b7b feat: add consensus page 2023-06-05 16:30:08 +08:00
ping
634b6d5206
Merge pull request #420 from ngovietanh21/update-pagination-contract-list-of-code
Fix not pagination at page Contract List of Code
2023-06-05 16:24:24 +08:00
ngovietanh21
8daa0f802f Fix not pagination at page Contract List of Code 2023-06-05 13:27:51 +07:00
Alisa | Side.one
a4b2fd2e23 feat: gov vote 2023-06-05 11:19:52 +08:00
ping
b9b9c27841
Merge pull request #418 from StakeTake/master
add Noria testnet
2023-06-05 09:21:05 +08:00
Alisa
57657fe627
Merge pull request #17 from ping-pub/master
merge
2023-06-05 09:20:08 +08:00
liangping
f52475f4dd add metamask logo 2023-06-05 09:06:21 +08:00
Stake-Take
b5cd90c05b
Add files via upload 2023-06-05 02:14:51 +03:00
Stake-Take
77b05ec1ad
add Noria testnet 2023-06-05 02:14:24 +03:00
liangping
dc03ea938c limit size 2023-06-03 08:31:07 +08:00
liangping
583c6988bd improve validator 2023-06-03 08:30:27 +08:00
ping
a38eb1bc49
Merge pull request #416 from moonstash/patch-1
Update secret.json
2023-06-03 07:24:16 +08:00
ping
352992ccb5
Merge pull request #417 from alisaweb3/v3-single
Staking: url copy, add font weigh, overflow,btn position style change
2023-06-03 07:23:34 +08:00
Alisa
53f2c0d134
Merge pull request #16 from ping-pub/master
merge
2023-06-02 13:54:27 +08:00
Alisa | Side.one
5955f061a7 feat: style add padding 2023-06-02 13:53:06 +08:00
Alisa | Side.one
e66ebe4a2e feat: h5 style 2023-06-02 13:45:09 +08:00
Alisa | Side.one
5c1e308634 feat: add copy,font weight 2023-06-02 12:41:47 +08:00
moonstash
65e5e3f13c
Update secret.json
change from spartanapi.dev to secret.express
2023-06-01 12:38:34 -05:00
liangping
4806f49139 debug wasm 2023-06-01 22:02:26 +08:00
liangping
f37ad96a6b update widget 2023-06-01 21:39:13 +08:00
liangping
3156dd5de6 add event callback 2023-06-01 17:02:27 +08:00
ping
1fa6ca43bc
Merge pull request #414 from alisaweb3/v3-single
Footer remove fixed, Wallet all show, html and body add style
2023-05-31 15:59:58 +08:00
Alisa | Side.one
d801255101 feat: footer add height 2023-05-31 15:58:39 +08:00
Alisa | Side.one
9c282d4c64 feat: remove unused style 2023-05-31 15:51:27 +08:00
Alisa | Side.one
36bdfd09eb feat: footer style,wallet show 2023-05-31 15:48:14 +08:00
liangping
157fbdf88e Merge remote-tracking branch 'origin/master' 2023-05-31 14:32:28 +08:00
liangping
0d10aa8db4 impove UI 2023-05-31 14:31:47 +08:00
liangping
53e81448c5 update osmosis endpoint 2023-05-31 14:31:34 +08:00
ping
2fc8fef5f6
Merge pull request #413 from alisaweb3/v3-single
Footer: Packaging style conflicts
2023-05-31 14:23:46 +08:00
ping
4cb5aa6df6
Merge pull request #411 from uptSmart/master
add the uptick chain mainnet config
2023-05-31 14:22:57 +08:00
uptSmart
ccc99b740f update the logo link in config file 2023-05-31 03:46:30 +00:00
Alisa | Side.one
ec3d9603c4 feat: footer hidden 2023-05-31 10:53:39 +08:00
Alisa | Side.one
1464b83256 fix: footer hidden 2023-05-31 10:43:55 +08:00
ping
8f3dc7d264
Merge pull request #412 from alisaweb3/v3-single
Wallet show, Page min-height
2023-05-31 06:31:08 +08:00
ping
b2a9829f99
Merge pull request #410 from StakeTake/master
add rpc, api for quicksilver testnet, mainnet
2023-05-30 18:44:57 +08:00
uptSmart
c135556ccf add the uptick chain mainnet config 2023-05-30 09:23:55 +00:00
liangping
7fe8a96050 improve IBC 2023-05-30 16:51:40 +08:00
Stake-Take
beadad65a7
add Stake-Take rpc, api for quicksilver testnet 2023-05-30 09:55:41 +03:00
Stake-Take
2f8329cd23
add Stake-Take rpc,api for quicksilver mainnet 2023-05-30 09:53:09 +03:00
liangping
8bce70c582 Merge remote-tracking branch 'origin/master' 2023-05-30 13:43:01 +08:00
liangping
bb26e3a22a Fix: Query contract 2023-05-30 13:42:11 +08:00
Alisa | Side.one
da259fd683 feat: page add min-height 2023-05-30 11:14:32 +08:00
Alisa | Side.one
48780f31ef feat: h5 hidden disconnect 2023-05-30 10:46:41 +08:00
ping
e2e990c3ea
Merge pull request #409 from StakeTake/master
add Humans mainnet
2023-05-30 09:00:46 +08:00
ping
60744cf7e9
Merge pull request #408 from alisaweb3/v3-single
H5 styles: Footer fixed, Uptime flex, overflow, Wallet show, account
2023-05-30 08:59:11 +08:00
Stake-Take
41153d3d29
add testnet Humans 2023-05-29 21:43:43 +03:00
Stake-Take
421ffbd552
add coingecko 2023-05-29 21:42:32 +03:00
Stake-Take
f009a387a4
Add files via upload 2023-05-29 18:55:11 +03:00
Stake-Take
8ba2d505e9
Create humans.json 2023-05-29 18:54:25 +03:00
Alisa | Side.one
42e4664744 feat: footer fixed 2023-05-29 21:34:05 +08:00
Alisa | Side.one
29809b5dee feat: style reback 2023-05-29 21:17:48 +08:00
Alisa | Side.one
a57e8e62f6 feat: h5 style 2023-05-29 18:04:07 +08:00
Alisa | Side.one
ee27d61e1e feat: account overflow 2023-05-29 18:03:55 +08:00
Alisa | Side.one
16335bd081 feat: show H5 wallet 2023-05-29 18:03:09 +08:00
Alisa | Side.one
deba817806 feat: account value 2023-05-29 16:31:10 +08:00
Alisa | Side.one
ebe53472be feat: footer sticky 2023-05-29 14:58:25 +08:00
Alisa | Side.one
354fdd962c feat: h5 style 2023-05-29 14:25:45 +08:00
Alisa | Side.one
fdf5e07db6
Merge pull request #15 from ping-pub/master
merge
2023-05-29 13:54:46 +08:00
ping
cfb4707c0a
Merge pull request #407 from PantheaEU/master
Update shentu, lum & desmos
2023-05-29 07:15:49 +08:00
liangping
cb1f375bbf update widget 2023-05-28 22:50:06 +08:00
liangping
a4b7216096 add suggest chain 2023-05-28 20:57:03 +08:00
Jarnek
d296561872
Update desmos.json 2023-05-28 14:33:48 +02:00
Jarnek
c74bdf5205
Update lum.json 2023-05-28 14:30:07 +02:00
Jarnek
ea005ab944
Update shentu.json 2023-05-28 14:25:54 +02:00
liangping
8e6d1430de Merge remote-tracking branch 'origin/master' 2023-05-28 16:58:06 +08:00
ping
6b1941db08
Merge pull request #406 from alisaweb3/v3-single
feat: sidebar style, input search, table hight
2023-05-28 16:52:09 +08:00
ping
51ecaecb8b
Merge pull request #405 from hexskrt/master
fix base
2023-05-28 16:51:06 +08:00
liangping
a91339bbeb improve UX 2023-05-28 16:49:21 +08:00
Alisa | Side.one
5026f5e6be feat: sidebar style, input search, table hight 2023-05-28 16:37:37 +08:00
hexskrt
33aa2e5f04
fix base 2023-05-28 14:19:12 +07:00
ping
317ca32a1f
Merge pull request #403 from hexskrt/master
add: terpnetwork to explorer
2023-05-28 15:12:26 +08:00
ping
171e1ad415
Merge pull request #404 from alisaweb3/v3-single
Remove vuetify, process style value, wiget loading fixed
2023-05-28 15:11:18 +08:00
Alisa | Side.one
5876ca7343 Merge remote-tracking branch 'upstream/master' into v3-single 2023-05-28 14:51:12 +08:00
liangping
3d41046b1c improve wallet accounts 2023-05-28 13:24:59 +08:00
liangping
568dc508ad account page 2023-05-28 11:15:49 +08:00
liangping
d08e6bb237 improve account page 2023-05-28 11:15:29 +08:00
Alisa | Side.one
f10e4983b4 feat: input border 2023-05-28 09:35:08 +08:00
Alisa | Side.one
2f93b4c10c feat: chart theme switch 2023-05-28 09:19:39 +08:00
Alisa | Side.one
b10578e680 feat: use btn-primary 2023-05-28 08:59:23 +08:00
Alisa | Side.one
3d0171d96b fix: loading relative start-0 2023-05-28 08:51:07 +08:00
liangping
f3ffc3a3a8 imp: UI improve 2023-05-28 06:45:37 +08:00
hexskrt
e81a458fb9
Merge branch 'ping-pub:master' into master 2023-05-28 04:27:12 +07:00
Alisa
a32fc5d3bf feat: !bg-primary 2023-05-28 03:05:55 +08:00
Alisa
a7f207c220 feat: uptime 2023-05-28 02:53:58 +08:00
Alisa | side.one
68c4956d2c feat: border radius 2023-05-28 02:40:06 +08:00
Alisa | Side.one
455be157d3 feat: process item 2023-05-28 02:38:29 +08:00
Alisa | side.one
ee75361cef feat: theme default 2023-05-28 02:34:40 +08:00
Alisa | side.one
3404262af7 feat: theme default dark 2023-05-28 02:33:24 +08:00
Alisa | side.one
a323bce8c9 feat: clear dependencies 2023-05-28 02:15:10 +08:00
Alisa | side.one
5e687f0aa0 Delete NavBarNotifications.vue 2023-05-28 01:40:08 +08:00
Alisa | side.one
3c9749e207 feat: clear vuetify 2023-05-28 01:38:02 +08:00
Alisa | side.one
36fe08ec9f feat: remove vuetify 2023-05-28 01:36:42 +08:00
Alisa | side.one
bfbe241ff4 feat: charts 2023-05-28 01:27:34 +08:00
Alisa | side.one
06574f2f2c feat: style 2023-05-28 00:45:38 +08:00
Alisa | side.one
393b2da55b feat: style uptime 2023-05-28 00:30:53 +08:00
Alisa | Side.one
26e2563c99 feat: table style 2023-05-27 23:53:19 +08:00
Alisa | side.one
9567e08c9a Update DefaultLayout.vue 2023-05-27 23:52:28 +08:00
Alisa | side.one
f7f9ea8082 feat: sidebar 2023-05-27 23:47:10 +08:00
Alisa | Side.one
2da0b9ef14 feat: d-flex => flex 2023-05-27 23:37:59 +08:00
Alisa | side.one
8bcfafbeb6 Merge remote-tracking branch 'upstream/master' into v3-rmvuetify 2023-05-27 22:43:44 +08:00
Alisa
1a2d0cdffb feat: rm vuetify 2023-05-27 22:39:43 +08:00
liangping
e557ad0401 add ledger logo 2023-05-27 22:09:22 +08:00
liangping
b17b5cedeb update widget 2023-05-27 21:27:38 +08:00
liangping
270cd1bdba improve 2023-05-27 17:31:40 +08:00
liangping
bd841633b1 improve UI 2023-05-27 14:08:28 +08:00
liangping
f23cb8b440 load pagination votes 2023-05-27 14:08:01 +08:00
liangping
880999ff9b imp: use uppercases 2023-05-27 13:38:59 +08:00
liangping
e109a0454f imp: widget upgrade 2023-05-27 13:38:10 +08:00
hexskrt
47ad4b184c
add: terp-network 2023-05-26 22:57:29 +07:00
hexskrt
cfd36ad82b
Add files via upload 2023-05-26 22:56:48 +07:00
ping
76d914c733
Merge pull request #402 from ertemann/master
fix nolus image extension
2023-05-26 23:45:40 +08:00
ping
e48f1f2157
Merge pull request #401 from LavenderFive/master
Add more detail Tenet and additional LCD
2023-05-26 23:44:40 +08:00
Ertemann
638839b1be
fix nolus image extension 2023-05-26 14:16:28 +02:00
Ertemann
6720197391
Merge branch 'ping-pub:master' into master 2023-05-26 14:09:11 +02:00
Ertemann
186fea5840
add coingecko id and LCD Tenet 2023-05-26 14:08:28 +02:00
ping
d5691153b1
Merge pull request #399 from LavenderFive/master
[WIP] Add Tenet chain
2023-05-26 18:40:33 +08:00
ping
213ae6a3ea
Merge pull request #400 from ertemann/master
Add nolus to Ping.pub explorer
2023-05-26 18:39:14 +08:00
Ertemann
a83c3d2d00
Update tenet.json 2023-05-26 11:42:59 +02:00
Ertemann
703d1df068
Update tenet.json 2023-05-26 11:16:44 +02:00
Ertemann
d16791c3de
fix API urls 2023-05-26 11:13:09 +02:00
Ertemann
0f44ccd451
Create nolus.json 2023-05-26 11:10:57 +02:00
Ertemann
f5432b5d06
re-upload tenet logo 2023-05-26 10:51:33 +02:00
Ertemann
e9c72405dd
Delete tenet_original.webp 2023-05-26 10:50:55 +02:00
Ertemann
dfe6eaad5f
add nolus logo image 2023-05-26 10:48:53 +02:00
Ertemann
de532ce68f
Create tenet.json 2023-05-26 10:17:19 +02:00
Ertemann
672f495a32
Add Tenet logo 2023-05-26 10:00:03 +02:00
ping
4d05e8ebf2
Merge pull request #398 from alisaweb3/v3-single
Fix: switch chain network, NavBarWallet Warning
2023-05-26 15:19:06 +08:00
Alisa
9e738d3277 fix: NavBarWallet Warning 2023-05-26 15:16:29 +08:00
Alisa | Side.one
6a9823893c fix: chain network switch 2023-05-26 15:05:20 +08:00
liangping
f693684222 修改浏览器接口 2023-05-26 14:24:05 +08:00
liangping
b4c60a5860 update widget 2023-05-26 12:07:02 +08:00
liangping
4b246c9ebe update readme 2023-05-26 10:31:46 +08:00
liangping
f3b5435630 Merge remote-tracking branch 'origin/master' 2023-05-26 10:12:55 +08:00
ping
a42aeb73f6
Merge pull request #397 from quasar-finance/add_quasar_testnet
Add new quasar testnet
2023-05-26 08:08:50 +08:00
liangping
8b514d85c6 add wasm inter operation 2023-05-26 08:05:29 +08:00
liangping
48d81f16c7 change default view 2023-05-26 08:04:40 +08:00
Pablo
9b15fd7287
Add new quasar testnet 2023-05-25 15:08:51 +02:00
liangping
afb05e08c0 add suggest chain to keplr 2023-05-25 10:00:38 +08:00
ping
02202fd426
Merge pull request #395 from AutoStake-com/patch-1
Update and rename omniflix.json to omniflixhub.json
2023-05-24 16:45:12 +08:00
AutoStake
d2b057a2da
Update and rename omniflix.json to omniflixhub.json
omniflixhub is the canonical name in the chain-registry
2023-05-24 06:06:12 +01:00
liangping
9cd9ce3baf change config for cosmos and irisnet 2023-05-23 21:39:47 +08:00
liangping
7bf1f61ad3 update dependency 2023-05-23 21:05:08 +08:00
liangping
68be97006f adjust fetch frequency 2023-05-23 21:04:33 +08:00
liangping
3e88113a3a update widget 2023-05-23 21:02:54 +08:00
liangping
59ca049900 Merge remote-tracking branch 'origin/master' 2023-05-23 07:29:16 +08:00
liangping
3d2dee9303 fix add accounts 2023-05-22 18:53:15 +08:00
liangping
8878f28e67 update change coin type 2023-05-22 18:52:21 +08:00
liangping
262dad4769 improve UI 2023-05-22 18:01:39 +08:00
ping
ce44baebae
Merge pull request #394 from sybilsingleton/master
Add Dyson Protocol mainnet
2023-05-22 17:24:30 +08:00
sybilsingleton
4c3b034182
Add dyson-protocol.json 2023-05-22 12:10:36 +04:00
liangping
b13e470ea2 remove debug info 2023-05-22 15:33:02 +08:00
liangping
9d2961085a show validator names 2023-05-22 15:21:42 +08:00
liangping
1cfc49e9a9 improve UI for mobile 2023-05-22 14:52:47 +08:00
liangping
e6eb61021d ignore .idea 2023-05-22 14:52:24 +08:00
liangping
22713c0d06 add hd-path param 2023-05-22 11:30:27 +08:00
liangping
27dc94a383 reduce block fetch fequency 2023-05-22 11:10:19 +08:00
liangping
c8727d62af Merge remote-tracking branch 'origin/master' 2023-05-22 10:47:49 +08:00
liangping
dacb170492 update widget version 2023-05-22 10:46:13 +08:00
ping
dce0733a4f
Merge pull request #393 from sxlmnwb/patch-1
add chain4energy testnet
2023-05-22 10:44:34 +08:00
Salman Wahib
b312bf12a6
chains: add chain4energy testnet
Signed-off-by: Salman Wahib <sxlmnwb.dev@gmail.com>
2023-05-22 03:54:19 +07:00
liangping
93663c8708 clean testnets 2023-05-21 20:23:38 +08:00
liangping
94ba4b1668 fix connect wallet issue 2023-05-21 19:07:30 +08:00
liangping
03abd9c75a rename tx.ts 2023-05-21 18:20:49 +08:00
liangping
a07fd54cb3 update 2023-05-21 17:52:38 +08:00
liangping
473e5b4db7 add hover 2023-05-21 17:40:53 +08:00
liangping
8945c1d703 add paginations 2023-05-21 17:38:02 +08:00
liangping
4b70b90cc1 show vote button 2023-05-21 13:47:24 +08:00
liangping
0a4d8bad06 add pagination 2023-05-21 13:41:57 +08:00
liangping
5b897002a5 hidden connect wallet in small screen 2023-05-21 07:08:51 +08:00
liangping
b2824eddcb improve UI 2023-05-21 07:02:49 +08:00
liangping
022e0d3437 fix loading issue 2023-05-20 21:36:32 +08:00
liangping
adb34f2992 improve uptime 2023-05-20 21:09:27 +08:00
liangping
655f0f43c1 update colors and grid 2023-05-20 20:11:06 +08:00
ping
55886d5f00
Merge pull request #390 from sxlmnwb/master
add primary color in TxsElement
2023-05-20 19:23:33 +08:00
liangping
7b77cc2c18 rename 2023-05-20 18:15:33 +08:00
liangping
349813929b fix endpoint switch error 2023-05-20 18:06:22 +08:00
Salman Wahib
b68d415873 update: add primary color in TxsElement
Signed-off-by: Salman Wahib <sxlmnwb@sxlzptprjkt.xyz>
2023-05-20 08:37:35 +00:00
liangping
ef3599e9ca fix events 2023-05-20 16:04:54 +08:00
ping
85f8ef1db5
Merge pull request #389 from alisaweb3/v3-single
fix: button color
2023-05-20 15:06:57 +08:00
Alisa | Side.one
c3af73c028 feat: update ping-widget@0.0.16 2023-05-20 15:06:10 +08:00
Alisa | Side.one
33e1503eac fix: button color 2023-05-20 14:19:59 +08:00
ping
8173e68452
Merge pull request #388 from alisaweb3/v3-single
style force and wallet hidden
2023-05-20 14:16:34 +08:00
Alisa | Side.one
0ce8d81c9f feat: wallet 2023-05-20 13:49:39 +08:00
Alisa | Side.one
579acc64b1 feat: wallet hidden 2023-05-20 13:42:48 +08:00
Alisa | Side.one
9be8a49097 feat: add important style 2023-05-20 13:36:05 +08:00
ping
e8f82e6d23
Merge pull request #387 from alisaweb3/v3-single
fix: force block
2023-05-20 13:12:58 +08:00
Alisa | Side.one
53292e1308 Merge remote-tracking branch 'upstream/master' into v3-single 2023-05-20 13:10:34 +08:00
Alisa | Side.one
3ac4bd977b fix: force block 2023-05-20 13:07:21 +08:00
liangping
56e488f6a4 fix build error 2023-05-20 12:23:53 +08:00
liangping
5aecf49daf update config 2023-05-20 12:23:27 +08:00
liangping
fa9e8295bd update deploy action 2023-05-20 11:58:36 +08:00
ping
e4210a5aca
Create LICENSE 2023-05-20 11:48:15 +08:00
liangping
4232cdfff0 fix wrap 2023-05-20 11:40:08 +08:00
liangping
536d9d0ec0 sync mainnet config 2023-05-20 11:35:09 +08:00
liangping
0c33923dec Update Readme 2023-05-20 11:23:15 +08:00
liangping
437359deff add github action 2023-05-20 11:20:07 +08:00
liangping
25497e97ad improve index and connect wallet 2023-05-20 10:57:56 +08:00
liangping
93d7f0b229 improve uptime and blocks 2023-05-20 09:53:01 +08:00
liangping
32014f4a24 improve UX & adding links 2023-05-20 08:07:36 +08:00
liangping
1577e0a8ed add widget 2023-05-19 10:02:39 +08:00
liangping
be6cd1af7c improve ui 2023-05-18 21:20:19 +08:00
liangping
0122fe89f6 update neutron logo 2023-05-18 21:19:56 +08:00
liangping
0c1ad4463b update neutron config 2023-05-18 21:19:38 +08:00
liangping
1e414d5c68 improve tx dialog 2023-05-18 12:38:17 +08:00
ping
99f9c60b34
Merge pull request #383 from sxlmnwb/v3-single
add routerlink to transaction
2023-05-18 06:46:41 +08:00
ping
9baa8d4705
Merge pull request #382 from alisaweb3/v3-single
Update ProposalListItem
2023-05-18 06:45:48 +08:00
Alisa | Side.one
b36786c1ee feat: ping-widget update version 2023-05-17 23:16:20 +08:00
Alisa | Side.one
6daf0d8085 feat: remove await 2023-05-17 23:14:43 +08:00
Alisa | Side.one
9f18b65a9d feat: remove debug params 2023-05-17 20:11:32 +08:00
liangping
1632db87e2 rename costomise 2023-05-17 08:34:03 +08:00
liangping
fc707e0475 fix: logo loading 2023-05-17 08:33:44 +08:00
Salman Wahib
8cfad17080 update: rollback tx_response.code to span
Signed-off-by: Salman Wahib <sxlmnwb@sxlzptprjkt.xyz>
2023-05-16 23:25:52 +00:00
Alisa | Side.one
6b05b1ae7f feat: dashboard add link 2023-05-17 00:24:17 +08:00
Alisa | Side.one
45a7d04748 feat: add teleport 2023-05-17 00:02:59 +08:00
Alisa | Side.one
ea4fed9b4f feat: progress voter status add 2023-05-16 23:42:02 +08:00
Alisa | Side.one
bbd408393a feat: delegrations rewards 2023-05-16 23:33:33 +08:00
Alisa | Side.one
abfb0d8c44 feat: Contract 2023-05-16 23:15:23 +08:00
liangping
1c44a04cd4 fix error 2023-05-16 22:42:05 +08:00
Alisa | Side.one
add8a3466b
Merge pull request #14 from ping-pub/v3-single
V3 single
2023-05-16 20:52:22 +08:00
liangping
db7b1a65fc hidden badge 2023-05-16 20:19:31 +08:00
liangping
1114b8e0f4 add title 2023-05-16 20:13:21 +08:00
liangping
6653ce791c add overall 2023-05-16 20:07:26 +08:00
liangping
9f1d093128 hidden vote by states 2023-05-16 18:20:31 +08:00
Alisa | Side.one
0f615df024 Update index.vue 2023-05-16 18:19:07 +08:00
Alisa | Side.one
fa1758b5ba feat: send 2023-05-16 18:18:46 +08:00
liangping
8f793d295a load less proposals 2023-05-16 18:18:09 +08:00
liangping
88303be9cd add parameter to enable vote button 2023-05-16 18:17:47 +08:00
Salman Wahib
fb028faeb1 update: add routerlink to transaction
Signed-off-by: Salman Wahib <sxlmnwb@sxlzptprjkt.xyz>
2023-05-16 09:48:41 +00:00
liangping
8f1561dd74 add uptime overview 2023-05-16 16:19:22 +08:00
Alisa | Side.one
aa10275ee0 feat: contracts modal 2023-05-16 12:31:53 +08:00
Alisa | Side.one
5ae158db84 Update ProposalListItem.vue 2023-05-16 09:11:56 +08:00
Alisa | Side.one
b5574d6179 Update ProposalListItem.vue 2023-05-16 09:11:27 +08:00
ping
c35b07ee49
Merge pull request #381 from alisaweb3/v3-single
wallet state, process,ibc,dashboard
2023-05-16 06:59:18 +08:00
Alisa | Side.one
1f27a4cc30 feat: process add simple Description 2023-05-16 01:26:31 +08:00
Alisa | Side.one
2dbdca5161 feat: page receive 2023-05-16 00:53:29 +08:00
Alisa | Side.one
e8f2e03925 feat: wallet connect state 2023-05-16 00:29:53 +08:00
Alisa | Side.one
d148bbe3b1 feat: Dashboard Delegations List 2023-05-16 00:19:50 +08:00
Alisa | Side.one
4c5ba81494 feat: proposal item 2023-05-15 23:44:24 +08:00
Alisa | Side.one
8be8ee5746 feat: proposal item 2023-05-15 23:42:45 +08:00
Alisa | Side.one
a478949bdd feat: proposal item 2023-05-15 22:53:38 +08:00
Alisa | Side.one
a22da6878d feat: proposal process 2023-05-15 20:52:24 +08:00
Alisa | Side.one
c476da8eef feat: ibc code style 2023-05-15 19:10:29 +08:00
Alisa | Side.one
ff335d4f0b feat: ibc style 2023-05-15 18:50:11 +08:00
liangping
aef6e5f0e3 update endpoint stratigy 2023-05-15 18:43:26 +08:00
Alisa | Side.one
f5ac321b8b feat: wallet dropdown 2023-05-15 18:28:55 +08:00
Alisa | Side.one
f50e1c12bf feat: ibc 2023-05-15 18:09:17 +08:00
Alisa | Side.one
dade4c49b8 feat: sidebar icon 2023-05-15 17:47:34 +08:00
liangping
77cb720bc7 improve UI 2023-05-15 16:05:39 +08:00
ping
b7dfc04f5e
Merge pull request #380 from alisaweb3/v3-single
Timeline, Wallet Drapdown,Validator Detail,Governance Progress
2023-05-15 14:07:19 +08:00
liangping
e38001e5fe add basic portfolio 2023-05-15 14:06:46 +08:00
Alisa | Side.one
b3531c8207 feat: contract detail 2023-05-15 12:56:58 +08:00
Alisa | Side.one
c4bf34598f feat: merge 2023-05-15 12:37:30 +08:00
liangping
d956fdd9c7 finish accounts 2023-05-15 12:29:10 +08:00
Alisa | Side.one
8e8a3614c1 feat: validator 2023-05-15 09:56:33 +08:00
Alisa | Side.one
ccf0d755df feat: address 2023-05-15 09:36:48 +08:00
Alisa | Side.one
8ae0e88925 feat: table th relative 2023-05-15 09:17:20 +08:00
Alisa | Side.one
19d05319cb feat: governance item progress 2023-05-15 00:40:12 +08:00
Alisa | Side.one
ba4ec2abf2 feat: timeline 2023-05-15 00:08:59 +08:00
Alisa | Side.one
1e1472e0d5 feat: nav bar wallet address 2023-05-14 23:24:20 +08:00
Alisa | Side.one
e5ad564826 feat: page load on no network 2023-05-14 16:26:18 +08:00
liangping
ef747b2e22 fix gov proposal loading issue 2023-05-14 14:24:07 +08:00
liangping
f48c9b8a79 update client 2023-05-14 14:23:49 +08:00
Alisa | Side.one
d18639204c feat: merge 2023-05-14 14:22:32 +08:00
Alisa | Side.one
0e0a593303 feat: sidebar open default 2023-05-14 13:48:43 +08:00
Alisa | Side.one
d073629eee feat: sticky 2023-05-14 13:22:32 +08:00
Alisa | Side.one
1bc8b488ad feat: foooter hidden 2023-05-14 13:21:41 +08:00
Alisa | Side.one
da1c6e38ab feat: hidden footer 2023-05-14 13:19:28 +08:00
Alisa | Side.one
58b086b744
Merge pull request #13 from ping-pub/v3-single
atomatically load latest
2023-05-14 13:15:50 +08:00
liangping
b195e72554 add wallet 2023-05-14 13:15:43 +08:00
Alisa | Side.one
d0919e919a feat: uptime layout 2023-05-14 10:17:38 +08:00
Alisa | Side.one
e34e01e664 feat: ping-widget@0.0.7 2023-05-14 10:10:31 +08:00
liangping
eb79884c07 atomatically load latest 2023-05-14 09:23:18 +08:00
Alisa | Side.one
b63bfcf645 feat: address style refactor 2023-05-13 21:41:58 +08:00
Alisa | Side.one
7ca6782e99
Merge pull request #12 from ping-pub/v3-single
V3 single
2023-05-13 21:02:00 +08:00
ping
e7a21a9db9
Merge pull request #379 from alisaweb3/v3-single
UI refactor: Uptime, Staking,Dashboard,Validator Detail,Tx
2023-05-13 07:40:57 +08:00
Alisa | Side.one
6f32a8db16 feat: address 2023-05-13 07:03:42 +08:00
Alisa | Side.one
869d716323 feat: account ui refactor 2023-05-13 00:31:02 +08:00
Alisa | Side.one
ad4ad7bdee feat: uptime tooltip refactor 2023-05-12 22:03:06 +08:00
Alisa | Side.one
2d4720bc9b feat: chain profile 2023-05-12 21:49:14 +08:00
Alisa | Side.one
d5b71cf5f2 feat: Card 2023-05-12 21:47:43 +08:00
Alisa | Side.one
19fbeb8ffd feat: CardStatics 2023-05-12 21:42:22 +08:00
Alisa | Side.one
53481bad37 feat: account vchip ui refactor 2023-05-12 21:26:36 +08:00
Alisa | Side.one
d984bac2d4 feat: layout 2023-05-12 21:18:42 +08:00
Alisa | Side.one
efee84d0ea feat: NavFooter 2023-05-12 21:14:09 +08:00
Alisa | Side.one
42329764dd feat: navbar lang 2023-05-12 21:06:29 +08:00
Alisa | Side.one
08c2b60454 Merge branch 'v3-single' of https://github.com/alisaweb3/explorer into v3-single 2023-05-12 21:00:44 +08:00
Alisa | Side.one
c02c39cd0f feat: tx page ui refactor 2023-05-12 20:58:22 +08:00
Alisa | Side.one
4db126c076 feat: contracts 2023-05-12 20:37:01 +08:00
Alisa | Side.one
e7fd304aa9 feat: statesync 2023-05-12 20:33:51 +08:00
Alisa | Side.one
f6d07b7515 feat: staking validatore commission rate 2023-05-12 18:29:34 +08:00
Alisa | Side.one
1c038b465f feat: validator commission 2023-05-12 17:31:28 +08:00
Alisa | Side.one
78543b0fe1 feat: staking rewards 2023-05-12 13:48:23 +08:00
Alisa | Side.one
ae2a16a42b feat: staking table 2023-05-12 13:32:56 +08:00
Alisa | Side.one
4ebc325b88 feat: staking 2023-05-12 13:07:23 +08:00
Alisa | Side.one
24f2969e6e feat: Uptime 2023-05-12 10:28:09 +08:00
ping
69ef2b1da7
Merge pull request #378 from alisaweb3/v3-single
UI refactor: Default Layout, Sidebar,Chain Profile
2023-05-12 08:22:54 +08:00
Alisa | Side.one
5f2f06068c Merge 2023-05-12 02:01:14 +08:00
Alisa | Side.one
ef741848bf feat: logo 2023-05-12 01:58:17 +08:00
Alisa | Side.one
a5affa079a feat: sidebar style 2023-05-12 01:39:33 +08:00
Alisa | Side.one
bfa3936dbb feat: side bar style 2023-05-12 01:05:40 +08:00
Alisa | Side.one
358a2c4848 feat: side bar 2023-05-11 18:48:57 +08:00
Alisa | Side.one
7d26cd3f4a feat: DefaultLayout && Chain Profile 2023-05-11 18:33:01 +08:00
Alisa | Side.one
7139b76606 feat: clear bg-base-content 2023-05-11 17:22:15 +08:00
Alisa | Side.one
1d045b3cd4 feat: wallet 2023-05-11 12:26:41 +08:00
liangping
e5857b4a1a integrate tx dialog 2023-05-11 11:03:50 +08:00
ping
009ae1c5e6
Merge pull request #377 from alisaweb3/v3-single
UI refactor: Editor,Staking,Statesync, Connect wallet, Image lazy load
2023-05-11 07:37:31 +08:00
Alisa | Side.one
e386988bdc feat: add vue image lazyload 2023-05-11 01:53:59 +08:00
Alisa | Side.one
8e1e243111 fix: dashboard.loadingPrices() cause endless loop 2023-05-11 01:48:27 +08:00
Alisa | Side.one
39f5cf5337 merge 2023-05-11 01:45:05 +08:00
Alisa | Side.one
65c5620348 feat: ping-widget install git 2023-05-11 01:32:59 +08:00
Alisa | Side.one
a08f467857 fix: ping-connect-wallet display hierarchy problem 2023-05-11 01:18:30 +08:00
Alisa | Side.one
ec32cd3105 feat: statesync page ui refactor 2023-05-11 01:02:43 +08:00
Alisa | Side.one
3db8b87cb2 Merge branch 'v3-single' of https://github.com/alisaweb3/explorer into v3-single 2023-05-11 00:55:59 +08:00
Alisa | Side.one
6b36d29048 feat: build new version dist 2023-05-11 00:55:56 +08:00
Alisa | Side.one
52bcb61299 feat: staking ui retactor 2023-05-11 00:52:52 +08:00
liangping
ee89e438c0 add 24h changes 2023-05-10 20:04:23 +08:00
liangping
d2c82499c0 add order on menu 2023-05-10 18:39:39 +08:00
liangping
df359ca684 add price load 2023-05-10 16:19:22 +08:00
liangping
2885415630 fix rewards amount 2023-05-10 13:33:59 +08:00
Alisa | Side.one
e419bd1e34 fix: this.connectedWallet.cosmosAddress undefined 2023-05-10 13:23:00 +08:00
Alisa | Side.one
3b3cd95e69 feat: ping-widget use github url 2023-05-10 13:20:10 +08:00
Alisa | Side.one
7a494e7b59 feat: staking page UI refactor 2023-05-10 13:15:12 +08:00
Alisa | Side.one
270c8f5093
Merge pull request #11 from ping-pub/v3-single
merge
2023-05-10 13:13:34 +08:00
liangping
c37c4cbc8d add asset panel 2023-05-10 13:04:57 +08:00
Alisa | Side.one
7dbabf3e12 fix: editor text style 2023-05-10 12:20:42 +08:00
liangping
e011ec0691 add basic framework 2023-05-10 11:12:06 +08:00
ping
88e36d554d
Merge pull request #376 from alisaweb3/v3-single
UI refactor: Dashboard, Block, IBC Improve
2023-05-10 08:31:46 +08:00
Alisa | Side.one
52b3cfa5fb feat: add ping-widget@0.0.4 2023-05-10 00:35:51 +08:00
Alisa | Side.one
af457a3a95 fix: block error 2023-05-10 00:30:33 +08:00
Alisa | Side.one
22987636a8 feat: dashboard exchange list 2023-05-10 00:26:47 +08:00
Alisa | Side.one
b57db735ed feat: button style refactor 2023-05-09 22:01:12 +08:00
Alisa | Side.one
f0189342ec fix: recover show market name 2023-05-09 20:37:09 +08:00
Alisa | Side.one
ae62528803
Merge pull request #10 from ping-pub/v3-single
V3 single
2023-05-09 10:34:51 +08:00
ping
5c35cecc58
Merge pull request #374 from alisaweb3/v3-single
UI refactor: DynamicComponent,ObjectHorizontalElement,Cosmwasm,Dashboard
2023-05-09 08:00:39 +08:00
Alisa | Side.one
96501e15f9 feat: Dashboard Coin Info 2023-05-08 23:50:20 +08:00
Alisa | Side.one
d196c35dc8 feat: contracts UI refactor 2023-05-08 23:33:32 +08:00
Alisa | Side.one
4ea1402840 feat: Dashboard Active Proposals 2023-05-08 22:17:02 +08:00
Alisa | Side.one
78678bf064 feat: cosmwasm UI refactor 2023-05-08 21:44:49 +08:00
Alisa | Side.one
fd221916cf feat: dashboard tab UI refactor 2023-05-07 10:08:28 +08:00
Alisa | Side.one
8774bcdf72 feat: ObjectHorizontalElement tab UI refactor 2023-05-07 09:32:23 +08:00
Alisa | Side.one
a64c28c6ee feat: dashboard 2023-05-07 09:31:07 +08:00
Alisa | Side.one
a632220b67 Merge branch 'v3-single' of https://github.com/alisaweb3/explorer into v3-single 2023-05-07 09:08:00 +08:00
Alisa | Side.one
b1f3afba3e feat: DynamicComponent UI refactot 2023-05-07 09:07:33 +08:00
ping
c88ff8806e
Merge pull request #373 from alisaweb3/v3-single
UI refactor: blocks,IBC,Governance
2023-05-07 08:57:02 +08:00
Alisa | Side.one
2589253952 feat: navbar menu 2023-05-07 08:54:30 +08:00
alisa
60767b499b feat: vite@4.3.5 2023-05-07 08:37:24 +08:00
Alisa | Side.one
da13d37284 feat: alert UI refactor 2023-05-07 08:07:19 +08:00
Alisa | Side.one
dd78fe1218 Update [proposal_id].vue 2023-05-06 23:16:31 +08:00
Alisa | Side.one
a410be210a Update newFooter.vue 2023-05-06 23:09:23 +08:00
Alisa | Side.one
0a4cac85f3 feat: info color 2023-05-06 23:05:10 +08:00
Alisa | Side.one
5c3118116f feat: format code 2023-05-06 22:56:04 +08:00
Alisa | Side.one
b17d6fd6bf feat: table overflow 2023-05-06 17:35:54 +08:00
Alisa | Side.one
ed43d109f0 feat: Ibc UI refactor 2023-05-06 17:22:10 +08:00
Alisa | Side.one
ebf2b61528 feat: block page table and card UI refactor 2023-05-06 17:11:08 +08:00
ping
8da4118f31
Merge pull request #372 from alisaweb3/v3-single
UI Refactor: language switch, theme toggle,governance,block,staking
2023-05-06 15:58:55 +08:00
Alisa | Side.one
95ff1caed1 feat: governance card refactor 2023-05-06 15:48:50 +08:00
Alisa | Side.one
4328b9e86e feat: governance detail 2023-05-06 15:34:46 +08:00
Alisa | Side.one
6b0a1d042e feat: progress refactor 2023-05-06 15:00:22 +08:00
Alisa | Side.one
53e6f7dde5 feat: governance card 2023-05-06 12:23:37 +08:00
Alisa | Side.one
852a8e6c1b
Merge pull request #9 from ping-pub/v3-single
V3 single
2023-05-06 10:49:12 +08:00
Alisa | Side.one
52c6b20aca feat: governance detail card rewrite 2023-05-05 16:50:57 +08:00
Alisa | Side.one
af4eafc3b1 feat: theme toggle component removal 2023-05-05 15:13:42 +08:00
Alisa | Side.one
02cc6ee176 fix: language switch 2023-05-05 15:13:14 +08:00
Alisa | Side.one
0540ae3b96 feat: change language revert 2023-05-05 13:03:04 +08:00
Alisa | Side.one
b385ab7307 fix: layout one div 2023-05-05 09:09:04 +08:00
Alisa | Side.one
728d8bf02d feat: staking tabs 2023-05-05 09:06:18 +08:00
Alisa | Side.one
3f42e542f5 feat: block ui 2023-05-05 09:01:31 +08:00
Alisa | Side.one
45eb49175c feat: governance tabs 2023-05-05 08:49:33 +08:00
Alisa | Side.one
51c173e82d feat: bg-base-100 bg-base-cotent 2023-05-05 08:37:12 +08:00
liangping
7a5368cd69 Merge remote-tracking branch 'origin/v3-single' into v3-single
# Conflicts:
#	yarn.lock
2023-05-05 07:39:39 +08:00
liangping
58b79c9b03 add ibc feature 2023-05-05 07:37:45 +08:00
ping
6c2676fe9f
Merge pull request #371 from alisaweb3/v3-single
Dashboard UI Refactor
2023-05-05 07:35:43 +08:00
Alisa | Side.one
d39b4caf16 feat: i18n ui 2023-05-05 00:58:45 +08:00
alisa
1f6cee1d2d feat: favorite localstorage 2023-05-05 00:28:27 +08:00
alisa
7bda8be6f5 feat: dashboard chain summary 2023-05-05 00:20:38 +08:00
alisa
aac687cd0d feat: dashboard layout 2023-05-04 23:46:20 +08:00
Alisa | Side.one
dbddd6beb6 feat: daisyui theme toggle 2023-05-04 23:38:36 +08:00
alisa
b6a4b9e362 feat: dashboard title 2023-05-04 23:25:35 +08:00
Alisa | Side.one
cb0f841152 feat: add plugin theme change 2023-05-04 23:24:07 +08:00
alisa
a2c0ed0f24 feat: foot ui change 2023-05-04 22:45:43 +08:00
alisa
2ee5efbb89 feat: add daisyui 2023-05-04 15:36:42 +08:00
Alisa | Side.one
02a7bc5f56
Merge pull request #8 from ping-pub/v3-single
V3 single
2023-05-04 10:41:30 +08:00
liangping
8876a12aef filter community pool 2023-05-04 07:30:12 +08:00
liangping
2f240f34bf UX improvement 2023-05-04 07:19:19 +08:00
liangping
411d1a829e add any of addresses 2023-05-03 20:30:03 +08:00
liangping
413458a1f7 add pin 2023-05-03 20:29:50 +08:00
liangping
777ba4d5d0 wellformat permission 2023-05-03 18:00:18 +08:00
liangping
8fb6a952de decode contract states 2023-05-03 17:54:31 +08:00
liangping
43d4faa396 remove injective wallet 2023-05-03 15:24:13 +08:00
liangping
011f40e871 add contract detail and query 2023-05-03 15:22:57 +08:00
liangping
8a3e297099 Remove Wallet Component 2023-05-03 14:03:29 +08:00
liangping
19f5f21ab6 Merge remote-tracking branch 'origin/v3-single' into v3-single 2023-05-03 13:57:50 +08:00
liangping
b65c684fc5 add state-sync and cosmwasm 2023-05-03 13:54:27 +08:00
Alisa | Side.one
1506f0a2be
Merge pull request #7 from ping-pub/v3-single
V3 single
2023-05-03 05:17:57 +08:00
ping
f7e63f2703
Merge pull request #369 from sxlmnwb/v3-single
add router link uptime consensus to validator
2023-05-02 10:31:28 +08:00
Alisa | Side.one
0a73ee0365
Merge pull request #6 from ping-pub/v3-single
V3 single
2023-05-01 21:50:04 +08:00
liangping
bb3103e749 update: add router link uptime consensus to validator
Author: liangping <18786721@qq.com>
Co-authored-by: Salman Wahib <sxlmnwb@sxlzptprjkt.xyz>
2023-04-30 17:13:36 +00:00
liangping
2935cb00f5 add Wallet Dialog 2023-04-30 11:47:39 +08:00
liangping
fbc5d0f298 Merge branch 'v3-single' of https://github.com/ping-pub/explorer into v3-single 2023-04-30 10:11:52 +08:00
liangping
6cf2b85c02 Merge branch 'v3-single' of https://github.com/ping-pub/explorer into v3-single 2023-04-30 10:11:35 +08:00
liangping
8775298123 add live check 2023-04-30 10:11:23 +08:00
ping
5fdb5eb2bc
Merge pull request #368 from alisaweb3/v3-single
uptime style change
2023-04-30 10:10:28 +08:00
alisa
ce597f91e6 fix: style change 2023-04-29 23:53:46 +08:00
Alisa | Side.one
b6e0e6c3a3
Merge pull request #5 from ping-pub/v3-single
V3 single
2023-04-29 19:11:16 +08:00
liangping
3188e500f0 reduce line height 2023-04-29 18:26:26 +08:00
liangping
be8ca28c56 Finish uptime 2023-04-29 18:21:42 +08:00
liangping
58d8cd034a Merge branch 'v3-single' of https://github.com/ping-pub/explorer into v3-single 2023-04-29 08:48:17 +08:00
ping
cc0dfe9b2d
Merge pull request #366 from alisaweb3/v3-single
percent conversion and uptimes page
2023-04-29 08:46:54 +08:00
Alisa | Side.one
0ab0bbf8c7
Merge pull request #4 from ping-pub/v3-single
Merge pull request #365 from alisaweb3/v3-single
2023-04-28 22:54:27 +08:00
alisa
a71ef3a17b feat: add uptime tabs 2023-04-28 22:51:33 +08:00
alisa
4c2f3f0f8d fix: number to percent 2023-04-28 22:00:15 +08:00
liangping
f73f2a8840 Merge branch 'v3-single' of https://github.com/ping-pub/explorer into v3-single 2023-04-28 08:42:04 +08:00
ping
016f022e27
Merge pull request #365 from alisaweb3/v3-single
Parameters Page: data docking, perfect page content, mobile adaptation
2023-04-28 08:40:08 +08:00
liangping
21ea873fe1 fix: null error of formating 2023-04-28 08:39:26 +08:00
alisa
e6cf8e3bf0 feat: new uptime page 2023-04-28 00:10:25 +08:00
Alisa | Side.one
8b13edcb17
Merge pull request #3 from ping-pub/v3-single
V3 single Merge
2023-04-27 23:55:53 +08:00
alisa
ce9787b2f9 feat: Parameters Application Version and Node Information 2023-04-27 23:54:24 +08:00
alisa
68e2b4a29e feat: remove files 2023-04-27 22:44:35 +08:00
alisa
b4eca8f597 feat: Parameters Page style change 2023-04-27 22:43:30 +08:00
alisa
be885dde89 feat: tab pill 2023-04-27 19:41:06 +08:00
alisa
bc66c57eba Space mt-5 2023-04-27 19:02:37 +08:00
alisa
a0104d5fee Parameters Mobile 2023-04-27 19:00:44 +08:00
alisa
881e64b3ff rounded 2023-04-27 18:52:48 +08:00
ping
44e968a932
Merge pull request #363 from alisaweb3/v3-single
Parameters page
2023-04-27 17:54:07 +08:00
ping
26d846a78c
Merge pull request #364 from sxlmnwb/v3-single
bump new icon validator and make simple string value
2023-04-27 17:53:29 +08:00
alisa
987f76b7d4 feat: add node Info and application version 2023-04-27 15:34:39 +08:00
alisa
248f4411e3 feat: add governance params 2023-04-27 14:24:31 +08:00
alisa
921536983d feat: add Slashing andDistribution Param 2023-04-27 14:05:45 +08:00
Salman Wahib
bbb28de0d4 update: make a same result txs check to validator page
- router link height in account

Signed-off-by: Salman Wahib <sxlmnwb@sxlzptprjkt.xyz>
2023-04-26 18:00:46 +00:00
Salman Wahib
75f3665aa0 update: make simple status bonded and jailed like old style
Signed-off-by: Salman Wahib <sxlmnwb@sxlzptprjkt.xyz>
2023-04-26 17:54:14 +00:00
Salman Wahib
5e43bd5cf5 update: bump new icon validator page
Signed-off-by: Salman Wahib <sxlmnwb@sxlzptprjkt.xyz>
2023-04-26 17:48:27 +00:00
alisa
881ab4260c fix: remove packages 2023-04-27 00:43:14 +08:00
alisa
bb15783fdb fix: system theme 2023-04-27 00:42:45 +08:00
alisa
062d8b81b5 feat: Interface data processing 2023-04-27 00:18:50 +08:00
alisa
e1c62c086f feat: component extraction 2023-04-27 00:18:13 +08:00
alisa
51f95e187f feat: add interface request and html dom 2023-04-26 21:05:20 +08:00
alisa
b0b7066e10 feat: add parameters page store 2023-04-26 20:30:21 +08:00
alisa
b2a2523210 fix: data compatible processing 2023-04-26 20:29:24 +08:00
alisa
a94e3be787 feat: add param menu 2023-04-26 14:24:48 +08:00
Alisa | Side.one
7be0c4c8a1
Merge pull request #2 from ping-pub/v3-single
Merge pull request #362 from alisaweb3/v3-single
2023-04-26 10:54:48 +08:00
ping
85f6e48c50
Merge pull request #362 from alisaweb3/v3-single
Governance Data Improve
2023-04-25 22:40:30 +08:00
alisa
9fa425df53 feat: format code 2023-04-25 21:57:52 +08:00
alisa
b8b5602194 feat: add Parameters Page 2023-04-25 21:45:44 +08:00
alisa
a3a869d9c1 feat: tailwindcss dark mode color 2023-04-25 21:45:33 +08:00
alisa
e88fff9e3d feat: code prettierrc 2023-04-25 21:08:32 +08:00
alisa
674810d513 feat: dashboard Dashboard Community Pool Content exceeds 2023-04-25 21:02:58 +08:00
alisa
6bbe2b2c61 feat: float alignment 2023-04-25 18:27:46 +08:00
Alisa | Side.one
beef1e1c26
Merge pull request #1 from ping-pub/v3-single
V3 single
2023-04-25 16:30:24 +08:00
alisa
a65754e5b8 fix: add onMounted 2023-04-25 16:08:42 +08:00
alisa
b8eea61013 fix: type declaration supplement 2023-04-25 15:30:16 +08:00
alisa
aa7c910f4b fix: Governance Tally no data 2023-04-25 15:25:02 +08:00
ping
f73bfc9d8c
Merge pull request #361 from sxlmnwb/v3-single
bumped into primary colors and created router link
2023-04-25 14:53:14 +08:00
alisa
2ab68a62e3 feat: Governance status color 2023-04-25 14:52:55 +08:00
alisa
df5e8afb14 fix: Governance Voting onmounted no data 2023-04-25 13:01:04 +08:00
Salman Wahib
4c3b2cdc77 update: add router link accounts to validator and height
Signed-off-by: Salman Wahib <sxlmnwb@sxlzptprjkt.xyz>
2023-04-25 03:49:22 +00:00
Salman Wahib
d73002a973 update: bumped into primary colors ping-pub
Author: Salman Wahib <sxlmnwb@sxlzptprjkt.xyz>
Co-authored-by: alisa <alisa@side.one>
2023-04-25 02:10:59 +00:00
ping
8d14f342d6
Merge pull request #360 from alisaweb3/v3-single
Improved Governance List Style
2023-04-25 08:54:49 +08:00
alisa
d50f8ded10 fix: overflow auto 2023-04-25 01:14:30 +08:00
alisa
f3fd01828a feat: light mode 2023-04-25 01:12:32 +08:00
alisa
0618897761 feat: add npm run dev 2023-04-25 01:05:00 +08:00
alisa
ab0fb2252e feat: add darkMode 2023-04-25 01:02:59 +08:00
alisa
9ff69c68cd feature: proposal item dark theme 2023-04-25 00:44:57 +08:00
alisa
581a3b0e33 feature: governance list 2023-04-25 00:37:16 +08:00
alisa
dec4b82f75 feature: add tailwindcss 2023-04-24 23:12:08 +08:00
alisa
c45c94f36b fix: clear yarn-error.log 2023-04-24 23:02:06 +08:00
alisa
a540958e11 feat: update vite@4.3.1 2023-04-24 14:38:07 +08:00
alisa
845a746c99 fix: update package.json and add missing dependencies 2023-04-24 12:35:19 +08:00
liangping
5f7339c04b add accounts 2023-04-21 16:08:31 +08:00
liangping
fc8aab6ce0 add account details 2023-04-20 18:44:25 +08:00
liangping
d6d56ba7c0 improve validator and proposal 2023-04-19 12:05:19 +08:00
liangping
d3a7c6f176 add gov 2023-04-07 10:11:48 +08:00
liangping
8c31935432 add modules name 2023-04-06 09:48:59 +08:00
liangping
70351f3833 finish tx detail 2023-04-06 08:17:40 +08:00
liangping
8e3c9eea0c return types 2023-04-05 10:45:49 +08:00
liangping
727f8ea026 finish all return type 2023-04-05 10:39:21 +08:00
liangping
20099d88d8 implemented client 2023-04-04 17:16:58 +08:00
liangping
c30a652465 clean code 2023-04-04 12:48:39 +08:00
liangping
c89bdd06b4 implement request registry 2023-04-03 19:47:56 +08:00
liangping
7f477bcd9f add factory for request 2023-04-03 17:08:36 +08:00
liangping
671050f5f2 use simple repo 2023-04-03 17:08:02 +08:00
liangping
52de377644 rpc endpoint version 2023-03-27 09:59:27 +08:00
liangping
d02c0c646e change to rpc endpoint 2023-03-10 14:58:53 +08:00
1292 changed files with 19542 additions and 181395 deletions

5
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,5 @@
# These are supported funding model platforms
github: ping-pub
issuehunt: ping-pub # Replace with a single IssueHunt username

21
.github/workflows/config-check.yaml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Config Checker
on:
# push:
# branches: [ master ]
pull_request:
# branches: [ master ]
paths:
- 'chains/mainnet/**'
- 'chains/testnet/**'
jobs:
deploy:
name: Check Blockchain Config
runs-on: ubuntu-latest
steps:
- name: Git Checkout Latest
uses: actions/checkout@v3
- name: Check Chain Configs
uses: ping-pub/ping-dashboard-config-checker@v1.0

51
.github/workflows/docker.yaml vendored Normal file
View File

@ -0,0 +1,51 @@
name: docker
on:
push:
branches:
- 'master-backup'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# -
# name: Set up QEMU
# uses: docker/setup-qemu-action@v1
# -
# name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
- name: Install
run: yarn install
- name: Build
run: yarn run vue-cli-service build
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
# list of Docker images to use as base name for tags
images: |
yaoling/wallet
# generate Docker tags based on the following events/attributes
tags: |
type=sha
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

View File

@ -0,0 +1,28 @@
name: Deploy to ping.pub
on:
push:
branches: [ master2 ]
# pull_request:
# branches: [ master ]
jobs:
deploy:
name: Ping deploy
runs-on: mainnet
steps:
- name: Environment
run: export NODE_OPTIONS="--max_old_space_size=4096"
- name: Git Checkout Latest
uses: actions/checkout@v3
- name: Install
run: yarn install --ignore-engines
- name: Build
run: yarn build
- name: Deploy
run: cp -rf ./dist/* /var/www/html/

27
.github/workflows/testnet-deploy.yaml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Testnet Deploy
on:
push:
branches: [ testnet ]
pull_request:
branches: [ testnet ]
jobs:
deploy:
name: Ping deploy
runs-on: testnet
steps:
- name: print
run: echo ${GITHUB_REF#refs/heads/}
- name: Git Checkout Latest
uses: actions/checkout@v2
- name: Install
run: yarn install
- name: Build
run: yarn run vue-cli-service build
- name: Deploy
run: cp -rf ./dist/* /var/www/html/

5
.gitignore vendored
View File

@ -1,2 +1,5 @@
node_modules/
**/.vscode
**/.vscode
yarn-error.log
dist
.idea

9
.prettierrc.json Normal file
View File

@ -0,0 +1,9 @@
{
"tabWidth": 2,
"singleQuote": true,
"semi": true,
"endOfLine": "auto",
"bracketSpacing": true,
"TrailingCooma": true,
"arrowParens": "always"
}

339
LICENSE Normal file
View File

@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

56
README.md Normal file
View File

@ -0,0 +1,56 @@
<div align="center">
![Ping Wallet](./public/logo.svg)
<h1>Ping Dashboard</h1>
**Ping Dashboard is not only an explorer but also a wallet and more ... 🛠**
[![version](https://img.shields.io/github/tag/ping-pub/explorer.svg)](https://github.com/ping-pub/explorer/releases/latest)
[![GitHub](https://img.shields.io/github/license/ping-pub/explorer.svg)](https://github.com/ping-pub/explorer/blob/master/LICENSE)
[![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/bukotsunikki.svg?style=social&label=Follow%20%40ping_pub)](https://twitter.com/ping_pub)
[![https://discord.gg/CmjYVSr6GW](https://img.shields.io/badge/discord-join-7289DA.svg?logo=discord&longCache=true&style=flat)](https://discord.gg/CmjYVSr6GW)
</div>
`Ping Dashboard` is a light explorer for Cosmos-based Blockchains. https://ping.pub .
## What sets Ping Dashboard apart from other explorers?
**Ping Dashboard** stands out by providing a real-time exploration of blockchain data without relying on caching or pre-processing. It exclusively fetches data from the Cosmos full node via LCD/RPC endpoints, ensuring a truly authentic experience. This approach is referred to as the "Light Explorer."
## Are you interested in listing your blockchain on https://ping.pub?
To make this repository clean, please submit your request to https://github.com/ping-pub/ping.pub.git
## Why does Ping Dashboard rely on official/trusted third-party public LCD/RPC servers?
There are two primary reasons for this choice:
- Trust: In a decentralized system, it is crucial to avoid relying solely on a single entity. By utilizing official/trusted third-party public LCD/RPC servers, Ping Dashboard ensures that the data is sourced from a network of trusted participants.
- Limited Resources: As Ping Dashboard plans to list hundreds of Cosmos-based blockchains in the future, it is impractical for the Ping team to operate validators or full nodes for all of them. Leveraging trusted third-party servers allows for more efficient resource allocation.
## Donation
Your donation will help us make better products. Thanks in advance.
- Address for ERC20: USDC, USDT, ETH
```
0x88BFec573Dd3E4b7d2E6BfD4D0D6B11F843F8aa1
```
#### Donations from project
- Point Network: 1000USDC and $1000 worth of POINT
- Bitsong: 50k BTSG
- IRISnet: 100k IRIS
## Hire us
You can hire us by submitting an issue and fund the issue on [IssueHunter](https://issuehunt.io/r/ping-pub/explorer)
## Contributors
Developers: @liangping @dingyiming

View File

@ -121,6 +121,7 @@ declare global {
const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter']
const useArrayFind: typeof import('@vueuse/core')['useArrayFind']
const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex']
const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast']
const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin']
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
@ -423,6 +424,7 @@ declare module 'vue' {
readonly useArrayFilter: UnwrapRef<typeof import('@vueuse/core')['useArrayFilter']>
readonly useArrayFind: UnwrapRef<typeof import('@vueuse/core')['useArrayFind']>
readonly useArrayFindIndex: UnwrapRef<typeof import('@vueuse/core')['useArrayFindIndex']>
readonly useArrayFindLast: UnwrapRef<typeof import('@vueuse/core')['useArrayFindLast']>
readonly useArrayJoin: UnwrapRef<typeof import('@vueuse/core')['useArrayJoin']>
readonly useArrayMap: UnwrapRef<typeof import('@vueuse/core')['useArrayMap']>
readonly useArrayReduce: UnwrapRef<typeof import('@vueuse/core')['useArrayReduce']>

108
chains/README.md Normal file
View File

@ -0,0 +1,108 @@
# Directory Layout
Note: the host name used in the user's browser (displayed in the address bar) to load the explorer app determines which of the chain configuration directories is used.
If the host name contains the substring "testnet" (for example: "https://mytestnetwork.example.com") then chain configuration files in the `testnet` directory (only) are loaded. Conversely if the host name does not contain that substring then chain configuration files in the `mainnet` directory (only) are loaded.
Remember to bear this behavior in mind when selecting a DNS host name for self hosting the explorer.
** if you want to list your blockchain on ping.pub, please submit your configuration on https://github.com/ping-pub/ping.pub.git **
- Submit configs for mainnet, go to https://github.com/ping-pub/explorer/tree/master/chains/mainnet
- Submit configs for testnet, go to https://github.com/ping-pub/explorer/tree/master/chains/testnet, these configs will be enabled when you visit the domain that starts with `testnet.*`, for example `https://testnet.ping.pub`
# Sample of Config
```json
{
"chain_name": "cosmos",
"api": [
{
"address": "https://cosmos.api.ping.pub",
"provider": "Ping"
}
],
"rpc": [
{
"address": "https://cosmos.api.ping.pub",
"provider": "Ping"
}
],
"sdk_version": "0.42.6",
"coin_type": "118",
"min_tx_fee": "800",
"assets": [{
"base": "uatom",
"symbol": "ATOM",
"exponent": "6",
"coingecko_id": "cosmos",
"logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg"
}],
"addr_prefix": "cosmos",
"theme_color": "#ce4747",
"logo": "https://dl.airtable.com/.attachments/e54f814bba8c0f9af8a3056020210de0/2d1155fb/cosmos-hub.svg"
}
```
- **chain_name** the name to identify the chain on ping.pub, would be better to use the same one as registry
- **api** the rest api endpoint.(make sure that CORS is enabled: `Allow-Control-Allow-Origin: *`)
- **rpc** the rpc endpoint, make sure that the port is added. rpc endpoint is only used for state sync. it's optional.
- **assets** Native Assets on blockchain.
Endpoint providers will be listed in the "Popular" tab of the staking.
# Token Unit conversion
We have two methods to load token metadata for token unit conversion:
## Loading from a REST endpoint (recommended).
you can define the metadata in the `bank` -> `metadata` section of the blockchain's genesis file. if you don't define, the `[]` will return.
```json
{
"name": "atom",
"description": "The native staking token of the Cosmos Hub.",
"denom_units": [
{
"denom": "uatom",
"exponent": 0,
"aliases": [
"microatom"
],
},
{
"denom": "matom",
"exponent": 3,
"aliases": [
"milliatom"
]
},
{
"denom": "atom",
"exponent": 6,
}
],
"base": "uatom",
"display": "atom",
}
```
you can see more details here:
https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-024-coin-metadata.md
## Loading from Cosmos Registry:
https://github.com/cosmos/chain-registry
# Test
please add these check points in comments with your PR, and adding your test result by clicking the checkbox of each line
```
Test Result:
- [ ] Connect wallet, check if address is correct?
- [ ] Transfer
- [ ] Delegate
- [ ] Redelegate
- [ ] Unbond
- [ ] withdraw Validator's Commission
- [ ] withdraw Rewards
```
Test is very important for us and our users.

View File

@ -0,0 +1,74 @@
{
"chain_name": "axelar",
"api": [
"https://rest.axelar.lava.build/lava-referer-97409c72-1a82-4861-8651-119c15151cbe"
],
"rpc": [
"https://tm.axelar.lava.build/lava-referer-97409c72-1a82-4861-8651-119c15151cbe"
],
"snapshot_provider": "",
"sdk_version": "0.45.6",
"coin_type": "118",
"min_tx_fee": "800",
"addr_prefix": "axelar",
"logo": "/logos/axelar.svg",
"theme_color": "#161723",
"assets": [
{
"base": "uaxl",
"symbol": "AXL",
"exponent": "6",
"coingecko_id": "axelar",
"logo": "/logos/axelar.svg"
},
{
"base": "uusdc",
"symbol": "axlUSDC",
"exponent": "6",
"coingecko_id": "usd-coin",
"logo": "/logos/usdc.svg"
},
{
"base": "uusdt",
"symbol": "axlUSDT",
"exponent": "6",
"coingecko_id": "tether",
"logo": "/logos/usdt.svg"
},
{
"base": "dai-wei",
"symbol": "axlDAI",
"exponent": "18",
"coingecko_id": "dai",
"logo": "/logos/dai.svg"
},
{
"base": "weth-wei",
"symbol": "axlWETH",
"exponent": "18",
"coingecko_id": "ethereum",
"logo": "/logos/weth.svg"
},
{
"base": "wmatic-wei",
"symbol": "axlWMATIC",
"exponent": "18",
"coingecko_id": "matic-network",
"logo": "/logos/wmatic.svg"
},
{
"base": "wavax-wei",
"symbol": "axlWAVAX",
"exponent": "18",
"coingecko_id": "avalanche-2",
"logo": "/logos/wavax.svg"
},
{
"base": "dot-planck",
"symbol": "axlDOT",
"exponent": "10",
"coingecko_id": "polkadot",
"logo": "/logos/dot.svg"
}
]
}

View File

@ -0,0 +1,31 @@
{
"chain_name": "cosmos",
"registry_name": "cosmoshub",
"api": [
{"provider": "notional", "address": "https://api-cosmoshub-ia.cosmosia.notional.ventures"},
{"provider": "blockapsis", "address": "https://lcd-cosmoshub.blockapsis.com:443"},
{"provider": "WhisperNode🤐", "address": "https://lcd-cosmoshub.whispernode.com:443"},
{"provider": "pupmos", "address": "https://api-cosmoshub.pupmos.network"},
{"provider": "publicnode", "address": "https://cosmos-rest.publicnode.com"},
{"provider": "staketab", "address": "https://cosmos-rest.staketab.org"},
{"provider": "nodestake", "address": "https://api.cosmos.nodestake.top"},
{"provider": "Golden Ratio Staking", "address": "https://rest-cosmoshub.goldenratiostaking.net"}
],
"rpc": [
{"provider": "icycro", "address": "https://cosmos-rpc.icycro.org"},
{"provider": "dragonstake", "address": "https://rpc.cosmos.dragonstake.io"},
{"provider": "Golden Ratio Staking", "address": "https://rpc-cosmoshub.goldenratiostaking.net"}
],
"sdk_version": "0.45.1",
"coin_type": "118",
"min_tx_fee": "800",
"addr_prefix": "cosmos",
"logo": "/logos/cosmos.svg",
"assets": [{
"base": "uatom",
"symbol": "ATOM",
"exponent": "6",
"coingecko_id": "cosmos",
"logo": "/logos/cosmos.svg"
}]
}

View File

@ -0,0 +1,30 @@
{
"chain_name": "neutron",
"api": [
{"provider": "Polkachu", "address": "https://neutron-api.polkachu.com"},
{"provider": "NodeStake", "address": "https://api.neutron.nodestake.top"},
{"provider": "Allnodes", "address": "https://neutron-rest.publicnode.com"}
],
"rpc": [
{"provider": "Polkachu", "address": "https://neutron-rpc.polkachu.com"},
{"provider": "NodeStake", "address": "https://rpc.neutron.nodestake.top"},
{"provider": "Allnodes", "address": "https://neutron-rpc.publicnode.com:443"}
],
"provider_chain": {
"api": ["https://api-cosmoshub-ia.cosmosia.notional.ventures"]
},
"features": ["dashboard", "blocks", "ibc", "cosmwasm", "uptime", "parameters", "state-sync", "consensus", "supply", "widget"],
"sdk_version": "0.45.1",
"coin_type": "118",
"min_tx_fee": "8000",
"assets": [{
"base": "untrn",
"symbol": "NTRN",
"exponent": "6",
"coingecko_id": "neutron",
"logo": "/logos/neutron.svg"
}],
"addr_prefix": "neutron",
"theme_color": "#161723",
"logo": "/logos/neutron.svg"
}

27
chains/mainnet/nolus.json Normal file
View File

@ -0,0 +1,27 @@
{
"chain_name": "nolus",
"coingecko": "nolus",
"api": [
{"provider": "Nolus", "address": "https://pirin-cl.nolus.network:1317"},
{"provider": "LavenderFive", "address": "https://nolus-api.lavenderfive.com:443"},
{"provider": "Allnodes", "address": "https://nolus-rest.publicnode.com"}
],
"rpc": [
{"provider": "Nolus", "address": "https://pirin-cl.nolus.network:26657"},
{"provider": "LavenderFive", "address": "https://nolus-rpc.lavenderfive.com:443"},
{"provider": "Allnodes", "address": "https://nolus-rpc.publicnode.com:443"}
],
"snapshot_provider": "",
"sdk_version": "v0.47.6",
"coin_type": "118",
"min_tx_fee": "0",
"addr_prefix": "nolus",
"logo": "/logos/nolus.svg",
"assets": [{
"base": "unls",
"symbol": "NLS",
"exponent": "6",
"coingecko_id": "nolus",
"logo": "/logos/nolus.svg"
}]
}

View File

@ -1,14 +1,15 @@
{
"chain_name": "osmosis",
"coingecko": "osmosis",
"api": ["https://api-osmosis-ia.cosmosia.notional.ventures", "https://osmosis-api.polkachu.com", "https://osmo.api.ping.pub", "https://lcd-osmosis.blockapsis.com"],
"rpc": ["https://rpc-osmosis-ia.cosmosia.notional.ventures:443", "https://osmosis-rpc.polkachu.com:443", "https://osmosis.validator.network:443", "https://rpc-osmosis.blockapsis.com:443"],
"api": ["https://lcd.osmosis.zone","https://api-osmosis-ia.cosmosia.notional.ventures", "https://osmosis-api.polkachu.com", "https://lcd-osmosis.blockapsis.com"],
"rpc": ["https://rpc.osmosis.zone", "https://rpc-osmosis-ia.cosmosia.notional.ventures:443", "https://osmosis-rpc.polkachu.com:443", "https://osmosis.validator.network:443", "https://rpc-osmosis.blockapsis.com:443"],
"snapshot_provider": "",
"sdk_version": "0.46.1",
"coin_type": "118",
"min_tx_fee": "800",
"addr_prefix": "osmo",
"logo": "/logos/osmosis.jpg",
"theme_color": "#812cd6",
"assets": [{
"base": "uosmo",
"symbol": "OSMO",

View File

@ -0,0 +1,11 @@
{
"chain_name": "crossfi-testnet-1",
"api": ["https://crossfi-testnet-api.forpeaky.xyz"],
"rpc": ["https://crossfi-testnet-rpc.forpeaky.xyz"],
"coingecko": "",
"snapshot_provider": "",
"sdk_version": "0.47.1",
"coin_type": "118",
"min_tx_fee": "500",
"addr_prefix": "crossfi"
}

13
components.d.ts vendored Normal file
View File

@ -0,0 +1,13 @@
// generated by unplugin-vue-components
// We suggest you to commit this file into source control
// Read more: https://github.com/vuejs/core/pull/3399
import '@vue/runtime-core';
export {};
declare module '@vue/runtime-core' {
export interface GlobalComponents {
RouterLink: typeof import('vue-router')['RouterLink'];
RouterView: typeof import('vue-router')['RouterView'];
}
}

View File

@ -1 +1,3 @@
/// <reference types="vite/client" />
declare module '@personaxyz/ad-sdk';

44
index.html Normal file
View File

@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Laconic Blockchain Explorer And Web Wallet</title>
<meta name="description" content="Laconic Explorer is a block explorer/web wallet for blockchains built on Cosmos SDK, Cosmoshub, Osmosis, Juno, Evmos, Injective, Canto and 70+ blockchains listed on ping.pub" />
<link rel="stylesheet" type="text/css" href="/loader.css" />
</head>
<body>
<div id="app">
<div id="loading-bg">
<div class="loading-logo">
<img src="/logo.svg" alt="Logo" />
</div>
<div class="pre-loading">
<div class="effect-1 effects"></div>
<div class="effect-2 effects"></div>
<div class="effect-3 effects"></div>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SSBKVF3GMX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
// Set default consent to 'denied' as a placeholder
// Determine actual values based on your own requirements
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'analytics_storage': 'denied'
});
gtag('config', 'G-SSBKVF3GMX');
</script>
<script type="module" src="https://cdn.jsdelivr.net/npm/ping-widget@v0.3.8/dist/ping-widget.min.js"></script>
</body>
</html>

82
installation.md Normal file
View File

@ -0,0 +1,82 @@
# Prerequisites
1. Node and Yarn - Acquired using Node Version Manager (https://github.com/nvm-sh/nvm)
# Quick Install for Prerequisites
1. Install Node Version Manager
```sh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash
```
2. Install the latest version of NodeJS
```sh
nvm install node # "node" is an alias for the latest version
```
3. Install the latest version of NPM for Node
```sh
nvm install-latest-npm # get the latest supported npm version on the current node version
```
4. Install Yarn
```sh
npm install --global yarn
```
# Installation:
1. Running with yarn
```sh
yarn --ignore-engines && yarn serve
```
2. Building for web servers, like nginx, apache
```sh
yarn --ignore-engines && yarn build
cp -r ./dist/* <ROOT_OF_WEB_SERVER>
```
3. Running with docker
```sh
./docker.sh
docker run -d -p 8088:80 ping.pub/dashboard
```
# Enable LCD for Ping.pub (do this on the config for your chain)
1. Set `enable = true` in `./config/app.toml`
```
###############################################################################
### API Configuration ###
###############################################################################
[api]
# Enable defines if the API server should be enabled.
enable = true
# Swagger defines if swagger documentation should automatically be registered.
swagger = false
# Address defines the API server to listen on.
address = "tcp://0.0.0.0:1317"
# MaxOpenConnections defines the number of maximum open connections.
max-open-connections = 1000
```
2. add proxy server and enable CORS. NOTE: You must enable https as well.
```
server {
server_name juno.api.ping.pub;
listen 443;
location / {
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Max-Age 3600;
add_header Access-Control-Expose-Headers Content-Length;
proxy_pass http://<HOST>:1317;
}
}
```
3. config your blockchain in [./src/chains]()

View File

@ -1,5 +0,0 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "0.0.0"
}

10471
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,79 @@
{
"name": "dashboard",
"name": "ping.pub",
"version": "3.0.0",
"private": true,
"workspaces": [
"packages/*"
],
"target": "",
"scripts": {
"dev": "vite",
"serve": "vite",
"build": "run-p type-check build-only",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --noEmit"
},
"dependencies": {
"@chenfengyuan/vue-countdown": "2",
"@cosmjs/crypto": "^0.32.3",
"@cosmjs/amino": "^0.32.3",
"@cosmjs/encoding": "^0.32.3",
"@cosmjs/stargate": "^0.32.3",
"@iconify/vue": "^4.1.0",
"@intlify/unplugin-vue-i18n": "^0.8.2",
"@leapwallet/cosmos-snap-provider": "^0.1.20",
"@leapwallet/name-matcha": "^1.1.0",
"@osmonauts/lcd": "^0.8.0",
"@personaxyz/ad-sdk": "0.0.25",
"@ping-pub/chain-registry-client": "^0.0.25",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vueuse/core": "^9.12.0",
"@vueuse/integrations": "^10.1.2",
"@vueuse/math": "^9.12.0",
"apexcharts": "^3.37.1",
"autoprefixer": "^10.4.14",
"axios": "^1.3.2",
"buffer": "^6.0.3",
"build": "^0.1.4",
"cross-fetch": "^3.1.5",
"daisyui": "^3.1.0",
"dayjs": "^1.11.7",
"lazy-load-vue3": "^1.3.0",
"long": "^5.2.1",
"md-editor-v3": "^2.8.1",
"numeral": "^2.0.6",
"osmojs": "^14.0.0-rc.0",
"pinia": "^2.0.28",
"postcss": "^8.4.23",
"qrcode": "^1.5.3",
"tailwindcss": "^3.3.1",
"theme-change": "^2.5.0",
"vite-plugin-vue-layouts": "^0.7.0",
"vue": "^3.2.45",
"vue-i18n": "^9.2.2",
"vue-prism-component": "^2.0.0",
"vue-router": "^4.1.6",
"vue3-apexcharts": "^1.4.1",
"vue3-json-viewer": "^2.2.2",
"vue3-perfect-scrollbar": "^1.6.1"
},
"devDependencies": {
"@osmonauts/telescope": "^0.88.2",
"@types/marked": "^4.0.8",
"@types/node": "^18.11.12",
"@types/numeral": "^2.0.2",
"@types/semver": "7.5.0",
"@vitejs/plugin-vue": "^4.0.0",
"lerna": "^6.4.1"
"@vue/tsconfig": "^0.1.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"sass": "^1.58.0",
"shiki": "^1.0.0-beta.0",
"typescript": "~4.9.5",
"unplugin-auto-import": "^0.13.0",
"unplugin-vue-components": "^0.23.0",
"unplugin-vue-define-options": "1.1.4",
"vite": "^4.4.9",
"vite-plugin-pages": "^0.28.0",
"vue-json-viewer": "3",
"vue-tsc": "^1.0.12"
}
}

View File

@ -1,17 +0,0 @@
{
"protoDirs": [
"./proto"
],
"outPath": "./src",
"options": {
"aminoEncoding": {
"enabled": false
},
"lcdClients": {
"enabled": true
},
"rpcClients": {
"enabled": true
}
}
}

View File

@ -1 +0,0 @@
export {};

View File

@ -1 +0,0 @@
export declare const amino: {};

View File

@ -1,439 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../helpers";
export declare enum HashOp {
/** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */
NO_HASH = 0,
SHA256 = 1,
SHA512 = 2,
KECCAK = 3,
RIPEMD160 = 4,
/** BITCOIN - ripemd160(sha256(x)) */
BITCOIN = 5,
UNRECOGNIZED = -1
}
export declare const HashOpSDKType: typeof HashOp;
export declare function hashOpFromJSON(object: any): HashOp;
export declare function hashOpToJSON(object: HashOp): string;
/**
* LengthOp defines how to process the key and value of the LeafOp
* to include length information. After encoding the length with the given
* algorithm, the length will be prepended to the key and value bytes.
* (Each one with it's own encoded length)
*/
export declare enum LengthOp {
/** NO_PREFIX - NO_PREFIX don't include any length info */
NO_PREFIX = 0,
/** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */
VAR_PROTO = 1,
/** VAR_RLP - VAR_RLP uses rlp int encoding of the length */
VAR_RLP = 2,
/** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */
FIXED32_BIG = 3,
/** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */
FIXED32_LITTLE = 4,
/** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */
FIXED64_BIG = 5,
/** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */
FIXED64_LITTLE = 6,
/** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */
REQUIRE_32_BYTES = 7,
/** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */
REQUIRE_64_BYTES = 8,
UNRECOGNIZED = -1
}
export declare const LengthOpSDKType: typeof LengthOp;
export declare function lengthOpFromJSON(object: any): LengthOp;
export declare function lengthOpToJSON(object: LengthOp): string;
/**
* ExistenceProof takes a key and a value and a set of steps to perform on it.
* The result of peforming all these steps will provide a "root hash", which can
* be compared to the value in a header.
*
* Since it is computationally infeasible to produce a hash collission for any of the used
* cryptographic hash functions, if someone can provide a series of operations to transform
* a given key and value into a root hash that matches some trusted root, these key and values
* must be in the referenced merkle tree.
*
* The only possible issue is maliablity in LeafOp, such as providing extra prefix data,
* which should be controlled by a spec. Eg. with lengthOp as NONE,
* prefix = FOO, key = BAR, value = CHOICE
* and
* prefix = F, key = OOBAR, value = CHOICE
* would produce the same value.
*
* With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field
* in the ProofSpec is valuable to prevent this mutability. And why all trees should
* length-prefix the data before hashing it.
*/
export interface ExistenceProof {
key: Uint8Array;
value: Uint8Array;
leaf?: LeafOp;
path: InnerOp[];
}
/**
* ExistenceProof takes a key and a value and a set of steps to perform on it.
* The result of peforming all these steps will provide a "root hash", which can
* be compared to the value in a header.
*
* Since it is computationally infeasible to produce a hash collission for any of the used
* cryptographic hash functions, if someone can provide a series of operations to transform
* a given key and value into a root hash that matches some trusted root, these key and values
* must be in the referenced merkle tree.
*
* The only possible issue is maliablity in LeafOp, such as providing extra prefix data,
* which should be controlled by a spec. Eg. with lengthOp as NONE,
* prefix = FOO, key = BAR, value = CHOICE
* and
* prefix = F, key = OOBAR, value = CHOICE
* would produce the same value.
*
* With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field
* in the ProofSpec is valuable to prevent this mutability. And why all trees should
* length-prefix the data before hashing it.
*/
export interface ExistenceProofSDKType {
key: Uint8Array;
value: Uint8Array;
leaf?: LeafOpSDKType;
path: InnerOpSDKType[];
}
/**
* NonExistenceProof takes a proof of two neighbors, one left of the desired key,
* one right of the desired key. If both proofs are valid AND they are neighbors,
* then there is no valid proof for the given key.
*/
export interface NonExistenceProof {
/** TODO: remove this as unnecessary??? we prove a range */
key: Uint8Array;
left?: ExistenceProof;
right?: ExistenceProof;
}
/**
* NonExistenceProof takes a proof of two neighbors, one left of the desired key,
* one right of the desired key. If both proofs are valid AND they are neighbors,
* then there is no valid proof for the given key.
*/
export interface NonExistenceProofSDKType {
key: Uint8Array;
left?: ExistenceProofSDKType;
right?: ExistenceProofSDKType;
}
/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */
export interface CommitmentProof {
exist?: ExistenceProof;
nonexist?: NonExistenceProof;
batch?: BatchProof;
compressed?: CompressedBatchProof;
}
/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */
export interface CommitmentProofSDKType {
exist?: ExistenceProofSDKType;
nonexist?: NonExistenceProofSDKType;
batch?: BatchProofSDKType;
compressed?: CompressedBatchProofSDKType;
}
/**
* LeafOp represents the raw key-value data we wish to prove, and
* must be flexible to represent the internal transformation from
* the original key-value pairs into the basis hash, for many existing
* merkle trees.
*
* key and value are passed in. So that the signature of this operation is:
* leafOp(key, value) -> output
*
* To process this, first prehash the keys and values if needed (ANY means no hash in this case):
* hkey = prehashKey(key)
* hvalue = prehashValue(value)
*
* Then combine the bytes, and hash it
* output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue)
*/
export interface LeafOp {
hash: HashOp;
prehashKey: HashOp;
prehashValue: HashOp;
length: LengthOp;
/**
* prefix is a fixed bytes that may optionally be included at the beginning to differentiate
* a leaf node from an inner node.
*/
prefix: Uint8Array;
}
/**
* LeafOp represents the raw key-value data we wish to prove, and
* must be flexible to represent the internal transformation from
* the original key-value pairs into the basis hash, for many existing
* merkle trees.
*
* key and value are passed in. So that the signature of this operation is:
* leafOp(key, value) -> output
*
* To process this, first prehash the keys and values if needed (ANY means no hash in this case):
* hkey = prehashKey(key)
* hvalue = prehashValue(value)
*
* Then combine the bytes, and hash it
* output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue)
*/
export interface LeafOpSDKType {
hash: HashOp;
prehash_key: HashOp;
prehash_value: HashOp;
length: LengthOp;
prefix: Uint8Array;
}
/**
* InnerOp represents a merkle-proof step that is not a leaf.
* It represents concatenating two children and hashing them to provide the next result.
*
* The result of the previous step is passed in, so the signature of this op is:
* innerOp(child) -> output
*
* The result of applying InnerOp should be:
* output = op.hash(op.prefix || child || op.suffix)
*
* where the || operator is concatenation of binary data,
* and child is the result of hashing all the tree below this step.
*
* Any special data, like prepending child with the length, or prepending the entire operation with
* some value to differentiate from leaf nodes, should be included in prefix and suffix.
* If either of prefix or suffix is empty, we just treat it as an empty string
*/
export interface InnerOp {
hash: HashOp;
prefix: Uint8Array;
suffix: Uint8Array;
}
/**
* InnerOp represents a merkle-proof step that is not a leaf.
* It represents concatenating two children and hashing them to provide the next result.
*
* The result of the previous step is passed in, so the signature of this op is:
* innerOp(child) -> output
*
* The result of applying InnerOp should be:
* output = op.hash(op.prefix || child || op.suffix)
*
* where the || operator is concatenation of binary data,
* and child is the result of hashing all the tree below this step.
*
* Any special data, like prepending child with the length, or prepending the entire operation with
* some value to differentiate from leaf nodes, should be included in prefix and suffix.
* If either of prefix or suffix is empty, we just treat it as an empty string
*/
export interface InnerOpSDKType {
hash: HashOp;
prefix: Uint8Array;
suffix: Uint8Array;
}
/**
* ProofSpec defines what the expected parameters are for a given proof type.
* This can be stored in the client and used to validate any incoming proofs.
*
* verify(ProofSpec, Proof) -> Proof | Error
*
* As demonstrated in tests, if we don't fix the algorithm used to calculate the
* LeafHash for a given tree, there are many possible key-value pairs that can
* generate a given hash (by interpretting the preimage differently).
* We need this for proper security, requires client knows a priori what
* tree format server uses. But not in code, rather a configuration object.
*/
export interface ProofSpec {
/**
* any field in the ExistenceProof must be the same as in this spec.
* except Prefix, which is just the first bytes of prefix (spec can be longer)
*/
leafSpec?: LeafOp;
innerSpec?: InnerSpec;
/** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */
maxDepth: number;
/** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */
minDepth: number;
}
/**
* ProofSpec defines what the expected parameters are for a given proof type.
* This can be stored in the client and used to validate any incoming proofs.
*
* verify(ProofSpec, Proof) -> Proof | Error
*
* As demonstrated in tests, if we don't fix the algorithm used to calculate the
* LeafHash for a given tree, there are many possible key-value pairs that can
* generate a given hash (by interpretting the preimage differently).
* We need this for proper security, requires client knows a priori what
* tree format server uses. But not in code, rather a configuration object.
*/
export interface ProofSpecSDKType {
leaf_spec?: LeafOpSDKType;
inner_spec?: InnerSpecSDKType;
max_depth: number;
min_depth: number;
}
/**
* InnerSpec contains all store-specific structure info to determine if two proofs from a
* given store are neighbors.
*
* This enables:
*
* isLeftMost(spec: InnerSpec, op: InnerOp)
* isRightMost(spec: InnerSpec, op: InnerOp)
* isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp)
*/
export interface InnerSpec {
/**
* Child order is the ordering of the children node, must count from 0
* iavl tree is [0, 1] (left then right)
* merk is [0, 2, 1] (left, right, here)
*/
childOrder: number[];
childSize: number;
minPrefixLength: number;
maxPrefixLength: number;
/** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */
emptyChild: Uint8Array;
/** hash is the algorithm that must be used for each InnerOp */
hash: HashOp;
}
/**
* InnerSpec contains all store-specific structure info to determine if two proofs from a
* given store are neighbors.
*
* This enables:
*
* isLeftMost(spec: InnerSpec, op: InnerOp)
* isRightMost(spec: InnerSpec, op: InnerOp)
* isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp)
*/
export interface InnerSpecSDKType {
child_order: number[];
child_size: number;
min_prefix_length: number;
max_prefix_length: number;
empty_child: Uint8Array;
hash: HashOp;
}
/** BatchProof is a group of multiple proof types than can be compressed */
export interface BatchProof {
entries: BatchEntry[];
}
/** BatchProof is a group of multiple proof types than can be compressed */
export interface BatchProofSDKType {
entries: BatchEntrySDKType[];
}
/** Use BatchEntry not CommitmentProof, to avoid recursion */
export interface BatchEntry {
exist?: ExistenceProof;
nonexist?: NonExistenceProof;
}
/** Use BatchEntry not CommitmentProof, to avoid recursion */
export interface BatchEntrySDKType {
exist?: ExistenceProofSDKType;
nonexist?: NonExistenceProofSDKType;
}
export interface CompressedBatchProof {
entries: CompressedBatchEntry[];
lookupInners: InnerOp[];
}
export interface CompressedBatchProofSDKType {
entries: CompressedBatchEntrySDKType[];
lookup_inners: InnerOpSDKType[];
}
/** Use BatchEntry not CommitmentProof, to avoid recursion */
export interface CompressedBatchEntry {
exist?: CompressedExistenceProof;
nonexist?: CompressedNonExistenceProof;
}
/** Use BatchEntry not CommitmentProof, to avoid recursion */
export interface CompressedBatchEntrySDKType {
exist?: CompressedExistenceProofSDKType;
nonexist?: CompressedNonExistenceProofSDKType;
}
export interface CompressedExistenceProof {
key: Uint8Array;
value: Uint8Array;
leaf?: LeafOp;
/** these are indexes into the lookup_inners table in CompressedBatchProof */
path: number[];
}
export interface CompressedExistenceProofSDKType {
key: Uint8Array;
value: Uint8Array;
leaf?: LeafOpSDKType;
path: number[];
}
export interface CompressedNonExistenceProof {
/** TODO: remove this as unnecessary??? we prove a range */
key: Uint8Array;
left?: CompressedExistenceProof;
right?: CompressedExistenceProof;
}
export interface CompressedNonExistenceProofSDKType {
key: Uint8Array;
left?: CompressedExistenceProofSDKType;
right?: CompressedExistenceProofSDKType;
}
export declare const ExistenceProof: {
encode(message: ExistenceProof, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ExistenceProof;
fromPartial(object: DeepPartial<ExistenceProof>): ExistenceProof;
};
export declare const NonExistenceProof: {
encode(message: NonExistenceProof, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): NonExistenceProof;
fromPartial(object: DeepPartial<NonExistenceProof>): NonExistenceProof;
};
export declare const CommitmentProof: {
encode(message: CommitmentProof, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CommitmentProof;
fromPartial(object: DeepPartial<CommitmentProof>): CommitmentProof;
};
export declare const LeafOp: {
encode(message: LeafOp, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): LeafOp;
fromPartial(object: DeepPartial<LeafOp>): LeafOp;
};
export declare const InnerOp: {
encode(message: InnerOp, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): InnerOp;
fromPartial(object: DeepPartial<InnerOp>): InnerOp;
};
export declare const ProofSpec: {
encode(message: ProofSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ProofSpec;
fromPartial(object: DeepPartial<ProofSpec>): ProofSpec;
};
export declare const InnerSpec: {
encode(message: InnerSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): InnerSpec;
fromPartial(object: DeepPartial<InnerSpec>): InnerSpec;
};
export declare const BatchProof: {
encode(message: BatchProof, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): BatchProof;
fromPartial(object: DeepPartial<BatchProof>): BatchProof;
};
export declare const BatchEntry: {
encode(message: BatchEntry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): BatchEntry;
fromPartial(object: DeepPartial<BatchEntry>): BatchEntry;
};
export declare const CompressedBatchProof: {
encode(message: CompressedBatchProof, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchProof;
fromPartial(object: DeepPartial<CompressedBatchProof>): CompressedBatchProof;
};
export declare const CompressedBatchEntry: {
encode(message: CompressedBatchEntry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchEntry;
fromPartial(object: DeepPartial<CompressedBatchEntry>): CompressedBatchEntry;
};
export declare const CompressedExistenceProof: {
encode(message: CompressedExistenceProof, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CompressedExistenceProof;
fromPartial(object: DeepPartial<CompressedExistenceProof>): CompressedExistenceProof;
};
export declare const CompressedNonExistenceProof: {
encode(message: CompressedNonExistenceProof, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CompressedNonExistenceProof;
fromPartial(object: DeepPartial<CompressedNonExistenceProof>): CompressedNonExistenceProof;
};

View File

@ -1,64 +0,0 @@
import { Any, AnySDKType } from "../../../google/protobuf/any";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* Config represents the configuration for a Cosmos SDK ABCI app.
* It is intended that all state machine logic including the version of
* baseapp and tx handlers (and possibly even Tendermint) that an app needs
* can be described in a config object. For compatibility, the framework should
* allow a mixture of declarative and imperative app wiring, however, apps
* that strive for the maximum ease of maintainability should be able to describe
* their state machine with a config object alone.
*/
export interface Config {
/** modules are the module configurations for the app. */
modules: ModuleConfig[];
}
/**
* Config represents the configuration for a Cosmos SDK ABCI app.
* It is intended that all state machine logic including the version of
* baseapp and tx handlers (and possibly even Tendermint) that an app needs
* can be described in a config object. For compatibility, the framework should
* allow a mixture of declarative and imperative app wiring, however, apps
* that strive for the maximum ease of maintainability should be able to describe
* their state machine with a config object alone.
*/
export interface ConfigSDKType {
modules: ModuleConfigSDKType[];
}
/** ModuleConfig is a module configuration for an app. */
export interface ModuleConfig {
/**
* name is the unique name of the module within the app. It should be a name
* that persists between different versions of a module so that modules
* can be smoothly upgraded to new versions.
*
* For example, for the module cosmos.bank.module.v1.Module, we may chose
* to simply name the module "bank" in the app. When we upgrade to
* cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same
* and the framework knows that the v2 module should receive all the same state
* that the v1 module had. Note: modules should provide info on which versions
* they can migrate from in the ModuleDescriptor.can_migration_from field.
*/
name: string;
/**
* config is the config object for the module. Module config messages should
* define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension.
*/
config?: Any;
}
/** ModuleConfig is a module configuration for an app. */
export interface ModuleConfigSDKType {
name: string;
config?: AnySDKType;
}
export declare const Config: {
encode(message: Config, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Config;
fromPartial(object: DeepPartial<Config>): Config;
};
export declare const ModuleConfig: {
encode(message: ModuleConfig, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ModuleConfig;
fromPartial(object: DeepPartial<ModuleConfig>): ModuleConfig;
};

View File

@ -1,117 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** ModuleDescriptor describes an app module. */
export interface ModuleDescriptor {
/**
* go_import names the package that should be imported by an app to load the
* module in the runtime module registry. Either go_import must be defined here
* or the go_package option must be defined at the file level to indicate
* to users where to location the module implementation. go_import takes
* precedence over go_package when both are defined.
*/
goImport: string;
/**
* use_package refers to a protobuf package that this module
* uses and exposes to the world. In an app, only one module should "use"
* or own a single protobuf package. It is assumed that the module uses
* all of the .proto files in a single package.
*/
usePackage: PackageReference[];
/**
* can_migrate_from defines which module versions this module can migrate
* state from. The framework will check that one module version is able to
* migrate from a previous module version before attempting to update its
* config. It is assumed that modules can transitively migrate from earlier
* versions. For instance if v3 declares it can migrate from v2, and v2
* declares it can migrate from v1, the framework knows how to migrate
* from v1 to v3, assuming all 3 module versions are registered at runtime.
*/
canMigrateFrom: MigrateFromInfo[];
}
/** ModuleDescriptor describes an app module. */
export interface ModuleDescriptorSDKType {
go_import: string;
use_package: PackageReferenceSDKType[];
can_migrate_from: MigrateFromInfoSDKType[];
}
/** PackageReference is a reference to a protobuf package used by a module. */
export interface PackageReference {
/** name is the fully-qualified name of the package. */
name: string;
/**
* revision is the optional revision of the package that is being used.
* Protobuf packages used in Cosmos should generally have a major version
* as the last part of the package name, ex. foo.bar.baz.v1.
* The revision of a package can be thought of as the minor version of a
* package which has additional backwards compatible definitions that weren't
* present in a previous version.
*
* A package should indicate its revision with a source code comment
* above the package declaration in one of its fields containing the
* test "Revision N" where N is an integer revision. All packages start
* at revision 0 the first time they are released in a module.
*
* When a new version of a module is released and items are added to existing
* .proto files, these definitions should contain comments of the form
* "Since Revision N" where N is an integer revision.
*
* When the module runtime starts up, it will check the pinned proto
* image and panic if there are runtime protobuf definitions that are not
* in the pinned descriptor which do not have
* a "Since Revision N" comment or have a "Since Revision N" comment where
* N is <= to the revision specified here. This indicates that the protobuf
* files have been updated, but the pinned file descriptor hasn't.
*
* If there are items in the pinned file descriptor with a revision
* greater than the value indicated here, this will also cause a panic
* as it may mean that the pinned descriptor for a legacy module has been
* improperly updated or that there is some other versioning discrepancy.
* Runtime protobuf definitions will also be checked for compatibility
* with pinned file descriptors to make sure there are no incompatible changes.
*
* This behavior ensures that:
* * pinned proto images are up-to-date
* * protobuf files are carefully annotated with revision comments which
* are important good client UX
* * protobuf files are changed in backwards and forwards compatible ways
*/
revision: number;
}
/** PackageReference is a reference to a protobuf package used by a module. */
export interface PackageReferenceSDKType {
name: string;
revision: number;
}
/**
* MigrateFromInfo is information on a module version that a newer module
* can migrate from.
*/
export interface MigrateFromInfo {
/**
* module is the fully-qualified protobuf name of the module config object
* for the previous module version, ex: "cosmos.group.module.v1.Module".
*/
module: string;
}
/**
* MigrateFromInfo is information on a module version that a newer module
* can migrate from.
*/
export interface MigrateFromInfoSDKType {
module: string;
}
export declare const ModuleDescriptor: {
encode(message: ModuleDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ModuleDescriptor;
fromPartial(object: DeepPartial<ModuleDescriptor>): ModuleDescriptor;
};
export declare const PackageReference: {
encode(message: PackageReference, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PackageReference;
fromPartial(object: DeepPartial<PackageReference>): PackageReference;
};
export declare const MigrateFromInfo: {
encode(message: MigrateFromInfo, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MigrateFromInfo;
fromPartial(object: DeepPartial<MigrateFromInfo>): MigrateFromInfo;
};

View File

@ -1,28 +0,0 @@
import { Config, ConfigSDKType } from "./config";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** QueryConfigRequest is the Query/Config request type. */
export interface QueryConfigRequest {
}
/** QueryConfigRequest is the Query/Config request type. */
export interface QueryConfigRequestSDKType {
}
/** QueryConfigRequest is the Query/Config response type. */
export interface QueryConfigResponse {
/** config is the current app config. */
config?: Config;
}
/** QueryConfigRequest is the Query/Config response type. */
export interface QueryConfigResponseSDKType {
config?: ConfigSDKType;
}
export declare const QueryConfigRequest: {
encode(_: QueryConfigRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigRequest;
fromPartial(_: DeepPartial<QueryConfigRequest>): QueryConfigRequest;
};
export declare const QueryConfigResponse: {
encode(message: QueryConfigResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse;
fromPartial(object: DeepPartial<QueryConfigResponse>): QueryConfigResponse;
};

View File

@ -1,16 +0,0 @@
import { Rpc } from "../../../helpers";
import { QueryClient } from "@cosmjs/stargate";
import { QueryConfigRequest, QueryConfigResponse } from "./query";
/** Query is the app module query service. */
export interface Query {
/** Config returns the current app config. */
config(request?: QueryConfigRequest): Promise<QueryConfigResponse>;
}
export declare class QueryClientImpl implements Query {
private readonly rpc;
constructor(rpc: Rpc);
config(request?: QueryConfigRequest): Promise<QueryConfigResponse>;
}
export declare const createRpcQueryExtension: (base: QueryClient) => {
config(request?: QueryConfigRequest): Promise<QueryConfigResponse>;
};

View File

@ -1,69 +0,0 @@
/// <reference types="long" />
import { Any, AnySDKType } from "../../../google/protobuf/any";
import { Long, DeepPartial } from "../../../helpers";
import * as _m0 from "protobufjs/minimal";
/**
* BaseAccount defines a base account type. It contains all the necessary fields
* for basic account functionality. Any custom account type should extend this
* type for additional functionality (e.g. vesting).
*/
export interface BaseAccount {
address: string;
pubKey?: Any;
accountNumber: Long;
sequence: Long;
}
/**
* BaseAccount defines a base account type. It contains all the necessary fields
* for basic account functionality. Any custom account type should extend this
* type for additional functionality (e.g. vesting).
*/
export interface BaseAccountSDKType {
address: string;
pub_key?: AnySDKType;
account_number: Long;
sequence: Long;
}
/** ModuleAccount defines an account for modules that holds coins on a pool. */
export interface ModuleAccount {
baseAccount?: BaseAccount;
name: string;
permissions: string[];
}
/** ModuleAccount defines an account for modules that holds coins on a pool. */
export interface ModuleAccountSDKType {
base_account?: BaseAccountSDKType;
name: string;
permissions: string[];
}
/** Params defines the parameters for the auth module. */
export interface Params {
maxMemoCharacters: Long;
txSigLimit: Long;
txSizeCostPerByte: Long;
sigVerifyCostEd25519: Long;
sigVerifyCostSecp256k1: Long;
}
/** Params defines the parameters for the auth module. */
export interface ParamsSDKType {
max_memo_characters: Long;
tx_sig_limit: Long;
tx_size_cost_per_byte: Long;
sig_verify_cost_ed25519: Long;
sig_verify_cost_secp256k1: Long;
}
export declare const BaseAccount: {
encode(message: BaseAccount, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): BaseAccount;
fromPartial(object: DeepPartial<BaseAccount>): BaseAccount;
};
export declare const ModuleAccount: {
encode(message: ModuleAccount, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ModuleAccount;
fromPartial(object: DeepPartial<ModuleAccount>): ModuleAccount;
};
export declare const Params: {
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
fromPartial(object: DeepPartial<Params>): Params;
};

View File

@ -1,21 +0,0 @@
import { Params, ParamsSDKType } from "./auth";
import { Any, AnySDKType } from "../../../google/protobuf/any";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** GenesisState defines the auth module's genesis state. */
export interface GenesisState {
/** params defines all the paramaters of the module. */
params?: Params;
/** accounts are the accounts present at genesis. */
accounts: Any[];
}
/** GenesisState defines the auth module's genesis state. */
export interface GenesisStateSDKType {
params?: ParamsSDKType;
accounts: AnySDKType[];
}
export declare const GenesisState: {
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
};

View File

@ -1,205 +0,0 @@
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
import { Any, AnySDKType } from "../../../google/protobuf/any";
import { Params, ParamsSDKType } from "./auth";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* QueryAccountsRequest is the request type for the Query/Accounts RPC method.
*
* Since: cosmos-sdk 0.43
*/
export interface QueryAccountsRequest {
/** pagination defines an optional pagination for the request. */
pagination?: PageRequest;
}
/**
* QueryAccountsRequest is the request type for the Query/Accounts RPC method.
*
* Since: cosmos-sdk 0.43
*/
export interface QueryAccountsRequestSDKType {
pagination?: PageRequestSDKType;
}
/**
* QueryAccountsResponse is the response type for the Query/Accounts RPC method.
*
* Since: cosmos-sdk 0.43
*/
export interface QueryAccountsResponse {
/** accounts are the existing accounts */
accounts: Any[];
/** pagination defines the pagination in the response. */
pagination?: PageResponse;
}
/**
* QueryAccountsResponse is the response type for the Query/Accounts RPC method.
*
* Since: cosmos-sdk 0.43
*/
export interface QueryAccountsResponseSDKType {
accounts: AnySDKType[];
pagination?: PageResponseSDKType;
}
/** QueryAccountRequest is the request type for the Query/Account RPC method. */
export interface QueryAccountRequest {
/** address defines the address to query for. */
address: string;
}
/** QueryAccountRequest is the request type for the Query/Account RPC method. */
export interface QueryAccountRequestSDKType {
address: string;
}
/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */
export interface QueryModuleAccountsRequest {
}
/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */
export interface QueryModuleAccountsRequestSDKType {
}
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
export interface QueryParamsResponse {
/** params defines the parameters of the module. */
params?: Params;
}
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
export interface QueryParamsResponseSDKType {
params?: ParamsSDKType;
}
/** QueryAccountResponse is the response type for the Query/Account RPC method. */
export interface QueryAccountResponse {
/** account defines the account of the corresponding address. */
account?: Any;
}
/** QueryAccountResponse is the response type for the Query/Account RPC method. */
export interface QueryAccountResponseSDKType {
account?: AnySDKType;
}
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
export interface QueryParamsRequest {
}
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
export interface QueryParamsRequestSDKType {
}
/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */
export interface QueryModuleAccountsResponse {
accounts: Any[];
}
/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */
export interface QueryModuleAccountsResponseSDKType {
accounts: AnySDKType[];
}
/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */
export interface Bech32PrefixRequest {
}
/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */
export interface Bech32PrefixRequestSDKType {
}
/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */
export interface Bech32PrefixResponse {
bech32Prefix: string;
}
/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */
export interface Bech32PrefixResponseSDKType {
bech32_prefix: string;
}
/** AddressBytesToStringRequest is the request type for AddressString rpc method */
export interface AddressBytesToStringRequest {
addressBytes: Uint8Array;
}
/** AddressBytesToStringRequest is the request type for AddressString rpc method */
export interface AddressBytesToStringRequestSDKType {
address_bytes: Uint8Array;
}
/** AddressBytesToStringResponse is the response type for AddressString rpc method */
export interface AddressBytesToStringResponse {
addressString: string;
}
/** AddressBytesToStringResponse is the response type for AddressString rpc method */
export interface AddressBytesToStringResponseSDKType {
address_string: string;
}
/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */
export interface AddressStringToBytesRequest {
addressString: string;
}
/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */
export interface AddressStringToBytesRequestSDKType {
address_string: string;
}
/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */
export interface AddressStringToBytesResponse {
addressBytes: Uint8Array;
}
/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */
export interface AddressStringToBytesResponseSDKType {
address_bytes: Uint8Array;
}
export declare const QueryAccountsRequest: {
encode(message: QueryAccountsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsRequest;
fromPartial(object: DeepPartial<QueryAccountsRequest>): QueryAccountsRequest;
};
export declare const QueryAccountsResponse: {
encode(message: QueryAccountsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse;
fromPartial(object: DeepPartial<QueryAccountsResponse>): QueryAccountsResponse;
};
export declare const QueryAccountRequest: {
encode(message: QueryAccountRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountRequest;
fromPartial(object: DeepPartial<QueryAccountRequest>): QueryAccountRequest;
};
export declare const QueryModuleAccountsRequest: {
encode(_: QueryModuleAccountsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsRequest;
fromPartial(_: DeepPartial<QueryModuleAccountsRequest>): QueryModuleAccountsRequest;
};
export declare const QueryParamsResponse: {
encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse;
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse;
};
export declare const QueryAccountResponse: {
encode(message: QueryAccountResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse;
fromPartial(object: DeepPartial<QueryAccountResponse>): QueryAccountResponse;
};
export declare const QueryParamsRequest: {
encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
};
export declare const QueryModuleAccountsResponse: {
encode(message: QueryModuleAccountsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse;
fromPartial(object: DeepPartial<QueryModuleAccountsResponse>): QueryModuleAccountsResponse;
};
export declare const Bech32PrefixRequest: {
encode(_: Bech32PrefixRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixRequest;
fromPartial(_: DeepPartial<Bech32PrefixRequest>): Bech32PrefixRequest;
};
export declare const Bech32PrefixResponse: {
encode(message: Bech32PrefixResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse;
fromPartial(object: DeepPartial<Bech32PrefixResponse>): Bech32PrefixResponse;
};
export declare const AddressBytesToStringRequest: {
encode(message: AddressBytesToStringRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringRequest;
fromPartial(object: DeepPartial<AddressBytesToStringRequest>): AddressBytesToStringRequest;
};
export declare const AddressBytesToStringResponse: {
encode(message: AddressBytesToStringResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse;
fromPartial(object: DeepPartial<AddressBytesToStringResponse>): AddressBytesToStringResponse;
};
export declare const AddressStringToBytesRequest: {
encode(message: AddressStringToBytesRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesRequest;
fromPartial(object: DeepPartial<AddressStringToBytesRequest>): AddressStringToBytesRequest;
};
export declare const AddressStringToBytesResponse: {
encode(message: AddressStringToBytesResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse;
fromPartial(object: DeepPartial<AddressStringToBytesResponse>): AddressStringToBytesResponse;
};

View File

@ -1,15 +0,0 @@
import { LCDClient } from "@osmonauts/lcd";
import { QueryAccountsRequest, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponseSDKType } from "./query";
export declare class LCDQueryClient {
req: LCDClient;
constructor({ requestClient }: {
requestClient: LCDClient;
});
accounts(params?: QueryAccountsRequest): Promise<QueryAccountsResponseSDKType>;
account(params: QueryAccountRequest): Promise<QueryAccountResponseSDKType>;
params(_params?: QueryParamsRequest): Promise<QueryParamsResponseSDKType>;
moduleAccounts(_params?: QueryModuleAccountsRequest): Promise<QueryModuleAccountsResponseSDKType>;
bech32Prefix(_params?: Bech32PrefixRequest): Promise<Bech32PrefixResponseSDKType>;
addressBytesToString(params: AddressBytesToStringRequest): Promise<AddressBytesToStringResponseSDKType>;
addressStringToBytes(params: AddressStringToBytesRequest): Promise<AddressStringToBytesResponseSDKType>;
}

View File

@ -1,44 +0,0 @@
import { Rpc } from "../../../helpers";
import { QueryClient } from "@cosmjs/stargate";
import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query";
/** Query defines the gRPC querier service. */
export interface Query {
/**
* Accounts returns all the existing accounts
*
* Since: cosmos-sdk 0.43
*/
accounts(request?: QueryAccountsRequest): Promise<QueryAccountsResponse>;
/** Account returns account details based on address. */
account(request: QueryAccountRequest): Promise<QueryAccountResponse>;
/** Params queries all parameters. */
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
/** ModuleAccounts returns all the existing module accounts. */
moduleAccounts(request?: QueryModuleAccountsRequest): Promise<QueryModuleAccountsResponse>;
/** Bech32 queries bech32Prefix */
bech32Prefix(request?: Bech32PrefixRequest): Promise<Bech32PrefixResponse>;
/** AddressBytesToString converts Account Address bytes to string */
addressBytesToString(request: AddressBytesToStringRequest): Promise<AddressBytesToStringResponse>;
/** AddressStringToBytes converts Address string to bytes */
addressStringToBytes(request: AddressStringToBytesRequest): Promise<AddressStringToBytesResponse>;
}
export declare class QueryClientImpl implements Query {
private readonly rpc;
constructor(rpc: Rpc);
accounts(request?: QueryAccountsRequest): Promise<QueryAccountsResponse>;
account(request: QueryAccountRequest): Promise<QueryAccountResponse>;
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
moduleAccounts(request?: QueryModuleAccountsRequest): Promise<QueryModuleAccountsResponse>;
bech32Prefix(request?: Bech32PrefixRequest): Promise<Bech32PrefixResponse>;
addressBytesToString(request: AddressBytesToStringRequest): Promise<AddressBytesToStringResponse>;
addressStringToBytes(request: AddressStringToBytesRequest): Promise<AddressStringToBytesResponse>;
}
export declare const createRpcQueryExtension: (base: QueryClient) => {
accounts(request?: QueryAccountsRequest): Promise<QueryAccountsResponse>;
account(request: QueryAccountRequest): Promise<QueryAccountResponse>;
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
moduleAccounts(request?: QueryModuleAccountsRequest): Promise<QueryModuleAccountsResponse>;
bech32Prefix(request?: Bech32PrefixRequest): Promise<Bech32PrefixResponse>;
addressBytesToString(request: AddressBytesToStringRequest): Promise<AddressBytesToStringResponse>;
addressStringToBytes(request: AddressStringToBytesRequest): Promise<AddressStringToBytesResponse>;
};

View File

@ -1,88 +0,0 @@
import { Any, AnySDKType } from "../../../google/protobuf/any";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* GenericAuthorization gives the grantee unrestricted permissions to execute
* the provided method on behalf of the granter's account.
*/
export interface GenericAuthorization {
/** Msg, identified by it's type URL, to grant unrestricted permissions to execute */
msg: string;
}
/**
* GenericAuthorization gives the grantee unrestricted permissions to execute
* the provided method on behalf of the granter's account.
*/
export interface GenericAuthorizationSDKType {
msg: string;
}
/**
* Grant gives permissions to execute
* the provide method with expiration time.
*/
export interface Grant {
authorization?: Any;
/**
* time when the grant will expire and will be pruned. If null, then the grant
* doesn't have a time expiration (other conditions in `authorization`
* may apply to invalidate the grant)
*/
expiration?: Date;
}
/**
* Grant gives permissions to execute
* the provide method with expiration time.
*/
export interface GrantSDKType {
authorization?: AnySDKType;
expiration?: Date;
}
/**
* GrantAuthorization extends a grant with both the addresses of the grantee and granter.
* It is used in genesis.proto and query.proto
*/
export interface GrantAuthorization {
granter: string;
grantee: string;
authorization?: Any;
expiration?: Date;
}
/**
* GrantAuthorization extends a grant with both the addresses of the grantee and granter.
* It is used in genesis.proto and query.proto
*/
export interface GrantAuthorizationSDKType {
granter: string;
grantee: string;
authorization?: AnySDKType;
expiration?: Date;
}
/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
export interface GrantQueueItem {
/** msg_type_urls contains the list of TypeURL of a sdk.Msg. */
msgTypeUrls: string[];
}
/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
export interface GrantQueueItemSDKType {
msg_type_urls: string[];
}
export declare const GenericAuthorization: {
encode(message: GenericAuthorization, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenericAuthorization;
fromPartial(object: DeepPartial<GenericAuthorization>): GenericAuthorization;
};
export declare const Grant: {
encode(message: Grant, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Grant;
fromPartial(object: DeepPartial<Grant>): Grant;
};
export declare const GrantAuthorization: {
encode(message: GrantAuthorization, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GrantAuthorization;
fromPartial(object: DeepPartial<GrantAuthorization>): GrantAuthorization;
};
export declare const GrantQueueItem: {
encode(message: GrantQueueItem, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GrantQueueItem;
fromPartial(object: DeepPartial<GrantQueueItem>): GrantQueueItem;
};

View File

@ -1,42 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** EventGrant is emitted on Msg/Grant */
export interface EventGrant {
/** Msg type URL for which an autorization is granted */
msgTypeUrl: string;
/** Granter account address */
granter: string;
/** Grantee account address */
grantee: string;
}
/** EventGrant is emitted on Msg/Grant */
export interface EventGrantSDKType {
msg_type_url: string;
granter: string;
grantee: string;
}
/** EventRevoke is emitted on Msg/Revoke */
export interface EventRevoke {
/** Msg type URL for which an autorization is revoked */
msgTypeUrl: string;
/** Granter account address */
granter: string;
/** Grantee account address */
grantee: string;
}
/** EventRevoke is emitted on Msg/Revoke */
export interface EventRevokeSDKType {
msg_type_url: string;
granter: string;
grantee: string;
}
export declare const EventGrant: {
encode(message: EventGrant, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): EventGrant;
fromPartial(object: DeepPartial<EventGrant>): EventGrant;
};
export declare const EventRevoke: {
encode(message: EventRevoke, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): EventRevoke;
fromPartial(object: DeepPartial<EventRevoke>): EventRevoke;
};

View File

@ -1,16 +0,0 @@
import { GrantAuthorization, GrantAuthorizationSDKType } from "./authz";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** GenesisState defines the authz module's genesis state. */
export interface GenesisState {
authorization: GrantAuthorization[];
}
/** GenesisState defines the authz module's genesis state. */
export interface GenesisStateSDKType {
authorization: GrantAuthorizationSDKType[];
}
export declare const GenesisState: {
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
};

View File

@ -1,108 +0,0 @@
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
import { Grant, GrantSDKType, GrantAuthorization, GrantAuthorizationSDKType } from "./authz";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */
export interface QueryGrantsRequest {
granter: string;
grantee: string;
/** Optional, msg_type_url, when set, will query only grants matching given msg type. */
msgTypeUrl: string;
/** pagination defines an pagination for the request. */
pagination?: PageRequest;
}
/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */
export interface QueryGrantsRequestSDKType {
granter: string;
grantee: string;
msg_type_url: string;
pagination?: PageRequestSDKType;
}
/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */
export interface QueryGrantsResponse {
/** authorizations is a list of grants granted for grantee by granter. */
grants: Grant[];
/** pagination defines an pagination for the response. */
pagination?: PageResponse;
}
/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */
export interface QueryGrantsResponseSDKType {
grants: GrantSDKType[];
pagination?: PageResponseSDKType;
}
/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */
export interface QueryGranterGrantsRequest {
granter: string;
/** pagination defines an pagination for the request. */
pagination?: PageRequest;
}
/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */
export interface QueryGranterGrantsRequestSDKType {
granter: string;
pagination?: PageRequestSDKType;
}
/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */
export interface QueryGranterGrantsResponse {
/** grants is a list of grants granted by the granter. */
grants: GrantAuthorization[];
/** pagination defines an pagination for the response. */
pagination?: PageResponse;
}
/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */
export interface QueryGranterGrantsResponseSDKType {
grants: GrantAuthorizationSDKType[];
pagination?: PageResponseSDKType;
}
/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */
export interface QueryGranteeGrantsRequest {
grantee: string;
/** pagination defines an pagination for the request. */
pagination?: PageRequest;
}
/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */
export interface QueryGranteeGrantsRequestSDKType {
grantee: string;
pagination?: PageRequestSDKType;
}
/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */
export interface QueryGranteeGrantsResponse {
/** grants is a list of grants granted to the grantee. */
grants: GrantAuthorization[];
/** pagination defines an pagination for the response. */
pagination?: PageResponse;
}
/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */
export interface QueryGranteeGrantsResponseSDKType {
grants: GrantAuthorizationSDKType[];
pagination?: PageResponseSDKType;
}
export declare const QueryGrantsRequest: {
encode(message: QueryGrantsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsRequest;
fromPartial(object: DeepPartial<QueryGrantsRequest>): QueryGrantsRequest;
};
export declare const QueryGrantsResponse: {
encode(message: QueryGrantsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse;
fromPartial(object: DeepPartial<QueryGrantsResponse>): QueryGrantsResponse;
};
export declare const QueryGranterGrantsRequest: {
encode(message: QueryGranterGrantsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsRequest;
fromPartial(object: DeepPartial<QueryGranterGrantsRequest>): QueryGranterGrantsRequest;
};
export declare const QueryGranterGrantsResponse: {
encode(message: QueryGranterGrantsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse;
fromPartial(object: DeepPartial<QueryGranterGrantsResponse>): QueryGranterGrantsResponse;
};
export declare const QueryGranteeGrantsRequest: {
encode(message: QueryGranteeGrantsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsRequest;
fromPartial(object: DeepPartial<QueryGranteeGrantsRequest>): QueryGranteeGrantsRequest;
};
export declare const QueryGranteeGrantsResponse: {
encode(message: QueryGranteeGrantsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse;
fromPartial(object: DeepPartial<QueryGranteeGrantsResponse>): QueryGranteeGrantsResponse;
};

View File

@ -1,11 +0,0 @@
import { LCDClient } from "@osmonauts/lcd";
import { QueryGrantsRequest, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponseSDKType } from "./query";
export declare class LCDQueryClient {
req: LCDClient;
constructor({ requestClient }: {
requestClient: LCDClient;
});
grants(params: QueryGrantsRequest): Promise<QueryGrantsResponseSDKType>;
granterGrants(params: QueryGranterGrantsRequest): Promise<QueryGranterGrantsResponseSDKType>;
granteeGrants(params: QueryGranteeGrantsRequest): Promise<QueryGranteeGrantsResponseSDKType>;
}

View File

@ -1,32 +0,0 @@
import { Rpc } from "../../../helpers";
import { QueryClient } from "@cosmjs/stargate";
import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query";
/** Query defines the gRPC querier service. */
export interface Query {
/** Returns list of `Authorization`, granted to the grantee by the granter. */
grants(request: QueryGrantsRequest): Promise<QueryGrantsResponse>;
/**
* GranterGrants returns list of `GrantAuthorization`, granted by granter.
*
* Since: cosmos-sdk 0.46
*/
granterGrants(request: QueryGranterGrantsRequest): Promise<QueryGranterGrantsResponse>;
/**
* GranteeGrants returns a list of `GrantAuthorization` by grantee.
*
* Since: cosmos-sdk 0.46
*/
granteeGrants(request: QueryGranteeGrantsRequest): Promise<QueryGranteeGrantsResponse>;
}
export declare class QueryClientImpl implements Query {
private readonly rpc;
constructor(rpc: Rpc);
grants(request: QueryGrantsRequest): Promise<QueryGrantsResponse>;
granterGrants(request: QueryGranterGrantsRequest): Promise<QueryGranterGrantsResponse>;
granteeGrants(request: QueryGranteeGrantsRequest): Promise<QueryGranteeGrantsResponse>;
}
export declare const createRpcQueryExtension: (base: QueryClient) => {
grants(request: QueryGrantsRequest): Promise<QueryGrantsResponse>;
granterGrants(request: QueryGranterGrantsRequest): Promise<QueryGranterGrantsResponse>;
granteeGrants(request: QueryGranteeGrantsRequest): Promise<QueryGranteeGrantsResponse>;
};

View File

@ -1,113 +0,0 @@
import { Grant, GrantSDKType } from "./authz";
import { Any, AnySDKType } from "../../../google/protobuf/any";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* MsgGrant is a request type for Grant method. It declares authorization to the grantee
* on behalf of the granter with the provided expiration time.
*/
export interface MsgGrant {
granter: string;
grantee: string;
grant?: Grant;
}
/**
* MsgGrant is a request type for Grant method. It declares authorization to the grantee
* on behalf of the granter with the provided expiration time.
*/
export interface MsgGrantSDKType {
granter: string;
grantee: string;
grant?: GrantSDKType;
}
/** MsgExecResponse defines the Msg/MsgExecResponse response type. */
export interface MsgExecResponse {
results: Uint8Array[];
}
/** MsgExecResponse defines the Msg/MsgExecResponse response type. */
export interface MsgExecResponseSDKType {
results: Uint8Array[];
}
/**
* MsgExec attempts to execute the provided messages using
* authorizations granted to the grantee. Each message should have only
* one signer corresponding to the granter of the authorization.
*/
export interface MsgExec {
grantee: string;
/**
* Authorization Msg requests to execute. Each msg must implement Authorization interface
* The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg))
* triple and validate it.
*/
msgs: Any[];
}
/**
* MsgExec attempts to execute the provided messages using
* authorizations granted to the grantee. Each message should have only
* one signer corresponding to the granter of the authorization.
*/
export interface MsgExecSDKType {
grantee: string;
msgs: AnySDKType[];
}
/** MsgGrantResponse defines the Msg/MsgGrant response type. */
export interface MsgGrantResponse {
}
/** MsgGrantResponse defines the Msg/MsgGrant response type. */
export interface MsgGrantResponseSDKType {
}
/**
* MsgRevoke revokes any authorization with the provided sdk.Msg type on the
* granter's account with that has been granted to the grantee.
*/
export interface MsgRevoke {
granter: string;
grantee: string;
msgTypeUrl: string;
}
/**
* MsgRevoke revokes any authorization with the provided sdk.Msg type on the
* granter's account with that has been granted to the grantee.
*/
export interface MsgRevokeSDKType {
granter: string;
grantee: string;
msg_type_url: string;
}
/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */
export interface MsgRevokeResponse {
}
/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */
export interface MsgRevokeResponseSDKType {
}
export declare const MsgGrant: {
encode(message: MsgGrant, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrant;
fromPartial(object: DeepPartial<MsgGrant>): MsgGrant;
};
export declare const MsgExecResponse: {
encode(message: MsgExecResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse;
fromPartial(object: DeepPartial<MsgExecResponse>): MsgExecResponse;
};
export declare const MsgExec: {
encode(message: MsgExec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec;
fromPartial(object: DeepPartial<MsgExec>): MsgExec;
};
export declare const MsgGrantResponse: {
encode(_: MsgGrantResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse;
fromPartial(_: DeepPartial<MsgGrantResponse>): MsgGrantResponse;
};
export declare const MsgRevoke: {
encode(message: MsgRevoke, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevoke;
fromPartial(object: DeepPartial<MsgRevoke>): MsgRevoke;
};
export declare const MsgRevokeResponse: {
encode(_: MsgRevokeResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse;
fromPartial(_: DeepPartial<MsgRevokeResponse>): MsgRevokeResponse;
};

View File

@ -1,30 +0,0 @@
import { Rpc } from "../../../helpers";
import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx";
/** Msg defines the authz Msg service. */
export interface Msg {
/**
* Grant grants the provided authorization to the grantee on the granter's
* account with the provided expiration time. If there is already a grant
* for the given (granter, grantee, Authorization) triple, then the grant
* will be overwritten.
*/
grant(request: MsgGrant): Promise<MsgGrantResponse>;
/**
* Exec attempts to execute the provided messages using
* authorizations granted to the grantee. Each message should have only
* one signer corresponding to the granter of the authorization.
*/
exec(request: MsgExec): Promise<MsgExecResponse>;
/**
* Revoke revokes any authorization corresponding to the provided method name on the
* granter's account that has been granted to the grantee.
*/
revoke(request: MsgRevoke): Promise<MsgRevokeResponse>;
}
export declare class MsgClientImpl implements Msg {
private readonly rpc;
constructor(rpc: Rpc);
grant(request: MsgGrant): Promise<MsgGrantResponse>;
exec(request: MsgExec): Promise<MsgExecResponse>;
revoke(request: MsgRevoke): Promise<MsgRevokeResponse>;
}

View File

@ -1,26 +0,0 @@
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* SendAuthorization allows the grantee to spend up to spend_limit coins from
* the granter's account.
*
* Since: cosmos-sdk 0.43
*/
export interface SendAuthorization {
spendLimit: Coin[];
}
/**
* SendAuthorization allows the grantee to spend up to spend_limit coins from
* the granter's account.
*
* Since: cosmos-sdk 0.43
*/
export interface SendAuthorizationSDKType {
spend_limit: CoinSDKType[];
}
export declare const SendAuthorization: {
encode(message: SendAuthorization, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SendAuthorization;
fromPartial(object: DeepPartial<SendAuthorization>): SendAuthorization;
};

View File

@ -1,185 +0,0 @@
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** Params defines the parameters for the bank module. */
export interface Params {
sendEnabled: SendEnabled[];
defaultSendEnabled: boolean;
}
/** Params defines the parameters for the bank module. */
export interface ParamsSDKType {
send_enabled: SendEnabledSDKType[];
default_send_enabled: boolean;
}
/**
* SendEnabled maps coin denom to a send_enabled status (whether a denom is
* sendable).
*/
export interface SendEnabled {
denom: string;
enabled: boolean;
}
/**
* SendEnabled maps coin denom to a send_enabled status (whether a denom is
* sendable).
*/
export interface SendEnabledSDKType {
denom: string;
enabled: boolean;
}
/** Input models transaction input. */
export interface Input {
address: string;
coins: Coin[];
}
/** Input models transaction input. */
export interface InputSDKType {
address: string;
coins: CoinSDKType[];
}
/** Output models transaction outputs. */
export interface Output {
address: string;
coins: Coin[];
}
/** Output models transaction outputs. */
export interface OutputSDKType {
address: string;
coins: CoinSDKType[];
}
/**
* Supply represents a struct that passively keeps track of the total supply
* amounts in the network.
* This message is deprecated now that supply is indexed by denom.
*/
/** @deprecated */
export interface Supply {
total: Coin[];
}
/**
* Supply represents a struct that passively keeps track of the total supply
* amounts in the network.
* This message is deprecated now that supply is indexed by denom.
*/
/** @deprecated */
export interface SupplySDKType {
total: CoinSDKType[];
}
/**
* DenomUnit represents a struct that describes a given
* denomination unit of the basic token.
*/
export interface DenomUnit {
/** denom represents the string name of the given denom unit (e.g uatom). */
denom: string;
/**
* exponent represents power of 10 exponent that one must
* raise the base_denom to in order to equal the given DenomUnit's denom
* 1 denom = 10^exponent base_denom
* (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with
* exponent = 6, thus: 1 atom = 10^6 uatom).
*/
exponent: number;
/** aliases is a list of string aliases for the given denom */
aliases: string[];
}
/**
* DenomUnit represents a struct that describes a given
* denomination unit of the basic token.
*/
export interface DenomUnitSDKType {
denom: string;
exponent: number;
aliases: string[];
}
/**
* Metadata represents a struct that describes
* a basic token.
*/
export interface Metadata {
description: string;
/** denom_units represents the list of DenomUnit's for a given coin */
denomUnits: DenomUnit[];
/** base represents the base denom (should be the DenomUnit with exponent = 0). */
base: string;
/**
* display indicates the suggested denom that should be
* displayed in clients.
*/
display: string;
/**
* name defines the name of the token (eg: Cosmos Atom)
*
* Since: cosmos-sdk 0.43
*/
name: string;
/**
* symbol is the token symbol usually shown on exchanges (eg: ATOM). This can
* be the same as the display.
*
* Since: cosmos-sdk 0.43
*/
symbol: string;
/**
* URI to a document (on or off-chain) that contains additional information. Optional.
*
* Since: cosmos-sdk 0.46
*/
uri: string;
/**
* URIHash is a sha256 hash of a document pointed by URI. It's used to verify that
* the document didn't change. Optional.
*
* Since: cosmos-sdk 0.46
*/
uriHash: string;
}
/**
* Metadata represents a struct that describes
* a basic token.
*/
export interface MetadataSDKType {
description: string;
denom_units: DenomUnitSDKType[];
base: string;
display: string;
name: string;
symbol: string;
uri: string;
uri_hash: string;
}
export declare const Params: {
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
fromPartial(object: DeepPartial<Params>): Params;
};
export declare const SendEnabled: {
encode(message: SendEnabled, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SendEnabled;
fromPartial(object: DeepPartial<SendEnabled>): SendEnabled;
};
export declare const Input: {
encode(message: Input, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Input;
fromPartial(object: DeepPartial<Input>): Input;
};
export declare const Output: {
encode(message: Output, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Output;
fromPartial(object: DeepPartial<Output>): Output;
};
export declare const Supply: {
encode(message: Supply, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Supply;
fromPartial(object: DeepPartial<Supply>): Supply;
};
export declare const DenomUnit: {
encode(message: DenomUnit, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DenomUnit;
fromPartial(object: DeepPartial<DenomUnit>): DenomUnit;
};
export declare const Metadata: {
encode(message: Metadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Metadata;
fromPartial(object: DeepPartial<Metadata>): Metadata;
};

View File

@ -1,53 +0,0 @@
import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank";
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** GenesisState defines the bank module's genesis state. */
export interface GenesisState {
/** params defines all the paramaters of the module. */
params?: Params;
/** balances is an array containing the balances of all the accounts. */
balances: Balance[];
/**
* supply represents the total supply. If it is left empty, then supply will be calculated based on the provided
* balances. Otherwise, it will be used to validate that the sum of the balances equals this amount.
*/
supply: Coin[];
/** denom_metadata defines the metadata of the differents coins. */
denomMetadata: Metadata[];
}
/** GenesisState defines the bank module's genesis state. */
export interface GenesisStateSDKType {
params?: ParamsSDKType;
balances: BalanceSDKType[];
supply: CoinSDKType[];
denom_metadata: MetadataSDKType[];
}
/**
* Balance defines an account address and balance pair used in the bank module's
* genesis state.
*/
export interface Balance {
/** address is the address of the balance holder. */
address: string;
/** coins defines the different coins this balance holds. */
coins: Coin[];
}
/**
* Balance defines an account address and balance pair used in the bank module's
* genesis state.
*/
export interface BalanceSDKType {
address: string;
coins: CoinSDKType[];
}
export declare const GenesisState: {
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
};
export declare const Balance: {
encode(message: Balance, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Balance;
fromPartial(object: DeepPartial<Balance>): Balance;
};

View File

@ -1,362 +0,0 @@
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */
export interface QueryBalanceRequest {
/** address is the address to query balances for. */
address: string;
/** denom is the coin denom to query balances for. */
denom: string;
}
/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */
export interface QueryBalanceRequestSDKType {
address: string;
denom: string;
}
/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */
export interface QueryBalanceResponse {
/** balance is the balance of the coin. */
balance?: Coin;
}
/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */
export interface QueryBalanceResponseSDKType {
balance?: CoinSDKType;
}
/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */
export interface QueryAllBalancesRequest {
/** address is the address to query balances for. */
address: string;
/** pagination defines an optional pagination for the request. */
pagination?: PageRequest;
}
/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */
export interface QueryAllBalancesRequestSDKType {
address: string;
pagination?: PageRequestSDKType;
}
/**
* QueryAllBalancesResponse is the response type for the Query/AllBalances RPC
* method.
*/
export interface QueryAllBalancesResponse {
/** balances is the balances of all the coins. */
balances: Coin[];
/** pagination defines the pagination in the response. */
pagination?: PageResponse;
}
/**
* QueryAllBalancesResponse is the response type for the Query/AllBalances RPC
* method.
*/
export interface QueryAllBalancesResponseSDKType {
balances: CoinSDKType[];
pagination?: PageResponseSDKType;
}
/**
* QuerySpendableBalancesRequest defines the gRPC request structure for querying
* an account's spendable balances.
*/
export interface QuerySpendableBalancesRequest {
/** address is the address to query spendable balances for. */
address: string;
/** pagination defines an optional pagination for the request. */
pagination?: PageRequest;
}
/**
* QuerySpendableBalancesRequest defines the gRPC request structure for querying
* an account's spendable balances.
*/
export interface QuerySpendableBalancesRequestSDKType {
address: string;
pagination?: PageRequestSDKType;
}
/**
* QuerySpendableBalancesResponse defines the gRPC response structure for querying
* an account's spendable balances.
*/
export interface QuerySpendableBalancesResponse {
/** balances is the spendable balances of all the coins. */
balances: Coin[];
/** pagination defines the pagination in the response. */
pagination?: PageResponse;
}
/**
* QuerySpendableBalancesResponse defines the gRPC response structure for querying
* an account's spendable balances.
*/
export interface QuerySpendableBalancesResponseSDKType {
balances: CoinSDKType[];
pagination?: PageResponseSDKType;
}
/**
* QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC
* method.
*/
export interface QueryTotalSupplyRequest {
/**
* pagination defines an optional pagination for the request.
*
* Since: cosmos-sdk 0.43
*/
pagination?: PageRequest;
}
/**
* QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC
* method.
*/
export interface QueryTotalSupplyRequestSDKType {
pagination?: PageRequestSDKType;
}
/**
* QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC
* method
*/
export interface QueryTotalSupplyResponse {
/** supply is the supply of the coins */
supply: Coin[];
/**
* pagination defines the pagination in the response.
*
* Since: cosmos-sdk 0.43
*/
pagination?: PageResponse;
}
/**
* QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC
* method
*/
export interface QueryTotalSupplyResponseSDKType {
supply: CoinSDKType[];
pagination?: PageResponseSDKType;
}
/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */
export interface QuerySupplyOfRequest {
/** denom is the coin denom to query balances for. */
denom: string;
}
/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */
export interface QuerySupplyOfRequestSDKType {
denom: string;
}
/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */
export interface QuerySupplyOfResponse {
/** amount is the supply of the coin. */
amount?: Coin;
}
/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */
export interface QuerySupplyOfResponseSDKType {
amount?: CoinSDKType;
}
/** QueryParamsRequest defines the request type for querying x/bank parameters. */
export interface QueryParamsRequest {
}
/** QueryParamsRequest defines the request type for querying x/bank parameters. */
export interface QueryParamsRequestSDKType {
}
/** QueryParamsResponse defines the response type for querying x/bank parameters. */
export interface QueryParamsResponse {
params?: Params;
}
/** QueryParamsResponse defines the response type for querying x/bank parameters. */
export interface QueryParamsResponseSDKType {
params?: ParamsSDKType;
}
/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */
export interface QueryDenomsMetadataRequest {
/** pagination defines an optional pagination for the request. */
pagination?: PageRequest;
}
/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */
export interface QueryDenomsMetadataRequestSDKType {
pagination?: PageRequestSDKType;
}
/**
* QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC
* method.
*/
export interface QueryDenomsMetadataResponse {
/** metadata provides the client information for all the registered tokens. */
metadatas: Metadata[];
/** pagination defines the pagination in the response. */
pagination?: PageResponse;
}
/**
* QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC
* method.
*/
export interface QueryDenomsMetadataResponseSDKType {
metadatas: MetadataSDKType[];
pagination?: PageResponseSDKType;
}
/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */
export interface QueryDenomMetadataRequest {
/** denom is the coin denom to query the metadata for. */
denom: string;
}
/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */
export interface QueryDenomMetadataRequestSDKType {
denom: string;
}
/**
* QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC
* method.
*/
export interface QueryDenomMetadataResponse {
/** metadata describes and provides all the client information for the requested token. */
metadata?: Metadata;
}
/**
* QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC
* method.
*/
export interface QueryDenomMetadataResponseSDKType {
metadata?: MetadataSDKType;
}
/**
* QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query,
* which queries for a paginated set of all account holders of a particular
* denomination.
*/
export interface QueryDenomOwnersRequest {
/** denom defines the coin denomination to query all account holders for. */
denom: string;
/** pagination defines an optional pagination for the request. */
pagination?: PageRequest;
}
/**
* QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query,
* which queries for a paginated set of all account holders of a particular
* denomination.
*/
export interface QueryDenomOwnersRequestSDKType {
denom: string;
pagination?: PageRequestSDKType;
}
/**
* DenomOwner defines structure representing an account that owns or holds a
* particular denominated token. It contains the account address and account
* balance of the denominated token.
*/
export interface DenomOwner {
/** address defines the address that owns a particular denomination. */
address: string;
/** balance is the balance of the denominated coin for an account. */
balance?: Coin;
}
/**
* DenomOwner defines structure representing an account that owns or holds a
* particular denominated token. It contains the account address and account
* balance of the denominated token.
*/
export interface DenomOwnerSDKType {
address: string;
balance?: CoinSDKType;
}
/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */
export interface QueryDenomOwnersResponse {
denomOwners: DenomOwner[];
/** pagination defines the pagination in the response. */
pagination?: PageResponse;
}
/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */
export interface QueryDenomOwnersResponseSDKType {
denom_owners: DenomOwnerSDKType[];
pagination?: PageResponseSDKType;
}
export declare const QueryBalanceRequest: {
encode(message: QueryBalanceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest;
fromPartial(object: DeepPartial<QueryBalanceRequest>): QueryBalanceRequest;
};
export declare const QueryBalanceResponse: {
encode(message: QueryBalanceResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse;
fromPartial(object: DeepPartial<QueryBalanceResponse>): QueryBalanceResponse;
};
export declare const QueryAllBalancesRequest: {
encode(message: QueryAllBalancesRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesRequest;
fromPartial(object: DeepPartial<QueryAllBalancesRequest>): QueryAllBalancesRequest;
};
export declare const QueryAllBalancesResponse: {
encode(message: QueryAllBalancesResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse;
fromPartial(object: DeepPartial<QueryAllBalancesResponse>): QueryAllBalancesResponse;
};
export declare const QuerySpendableBalancesRequest: {
encode(message: QuerySpendableBalancesRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesRequest;
fromPartial(object: DeepPartial<QuerySpendableBalancesRequest>): QuerySpendableBalancesRequest;
};
export declare const QuerySpendableBalancesResponse: {
encode(message: QuerySpendableBalancesResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse;
fromPartial(object: DeepPartial<QuerySpendableBalancesResponse>): QuerySpendableBalancesResponse;
};
export declare const QueryTotalSupplyRequest: {
encode(message: QueryTotalSupplyRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyRequest;
fromPartial(object: DeepPartial<QueryTotalSupplyRequest>): QueryTotalSupplyRequest;
};
export declare const QueryTotalSupplyResponse: {
encode(message: QueryTotalSupplyResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse;
fromPartial(object: DeepPartial<QueryTotalSupplyResponse>): QueryTotalSupplyResponse;
};
export declare const QuerySupplyOfRequest: {
encode(message: QuerySupplyOfRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfRequest;
fromPartial(object: DeepPartial<QuerySupplyOfRequest>): QuerySupplyOfRequest;
};
export declare const QuerySupplyOfResponse: {
encode(message: QuerySupplyOfResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse;
fromPartial(object: DeepPartial<QuerySupplyOfResponse>): QuerySupplyOfResponse;
};
export declare const QueryParamsRequest: {
encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
};
export declare const QueryParamsResponse: {
encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse;
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse;
};
export declare const QueryDenomsMetadataRequest: {
encode(message: QueryDenomsMetadataRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataRequest;
fromPartial(object: DeepPartial<QueryDenomsMetadataRequest>): QueryDenomsMetadataRequest;
};
export declare const QueryDenomsMetadataResponse: {
encode(message: QueryDenomsMetadataResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse;
fromPartial(object: DeepPartial<QueryDenomsMetadataResponse>): QueryDenomsMetadataResponse;
};
export declare const QueryDenomMetadataRequest: {
encode(message: QueryDenomMetadataRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataRequest;
fromPartial(object: DeepPartial<QueryDenomMetadataRequest>): QueryDenomMetadataRequest;
};
export declare const QueryDenomMetadataResponse: {
encode(message: QueryDenomMetadataResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse;
fromPartial(object: DeepPartial<QueryDenomMetadataResponse>): QueryDenomMetadataResponse;
};
export declare const QueryDenomOwnersRequest: {
encode(message: QueryDenomOwnersRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersRequest;
fromPartial(object: DeepPartial<QueryDenomOwnersRequest>): QueryDenomOwnersRequest;
};
export declare const DenomOwner: {
encode(message: DenomOwner, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DenomOwner;
fromPartial(object: DeepPartial<DenomOwner>): DenomOwner;
};
export declare const QueryDenomOwnersResponse: {
encode(message: QueryDenomOwnersResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse;
fromPartial(object: DeepPartial<QueryDenomOwnersResponse>): QueryDenomOwnersResponse;
};

View File

@ -1,17 +0,0 @@
import { LCDClient } from "@osmonauts/lcd";
import { QueryBalanceRequest, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersResponseSDKType } from "./query";
export declare class LCDQueryClient {
req: LCDClient;
constructor({ requestClient }: {
requestClient: LCDClient;
});
balance(params: QueryBalanceRequest): Promise<QueryBalanceResponseSDKType>;
allBalances(params: QueryAllBalancesRequest): Promise<QueryAllBalancesResponseSDKType>;
spendableBalances(params: QuerySpendableBalancesRequest): Promise<QuerySpendableBalancesResponseSDKType>;
totalSupply(params?: QueryTotalSupplyRequest): Promise<QueryTotalSupplyResponseSDKType>;
supplyOf(params: QuerySupplyOfRequest): Promise<QuerySupplyOfResponseSDKType>;
params(_params?: QueryParamsRequest): Promise<QueryParamsResponseSDKType>;
denomMetadata(params: QueryDenomMetadataRequest): Promise<QueryDenomMetadataResponseSDKType>;
denomsMetadata(params?: QueryDenomsMetadataRequest): Promise<QueryDenomsMetadataResponseSDKType>;
denomOwners(params: QueryDenomOwnersRequest): Promise<QueryDenomOwnersResponseSDKType>;
}

View File

@ -1,57 +0,0 @@
import { Rpc } from "../../../helpers";
import { QueryClient } from "@cosmjs/stargate";
import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query";
/** Query defines the gRPC querier service. */
export interface Query {
/** Balance queries the balance of a single coin for a single account. */
balance(request: QueryBalanceRequest): Promise<QueryBalanceResponse>;
/** AllBalances queries the balance of all coins for a single account. */
allBalances(request: QueryAllBalancesRequest): Promise<QueryAllBalancesResponse>;
/**
* SpendableBalances queries the spenable balance of all coins for a single
* account.
*/
spendableBalances(request: QuerySpendableBalancesRequest): Promise<QuerySpendableBalancesResponse>;
/** TotalSupply queries the total supply of all coins. */
totalSupply(request?: QueryTotalSupplyRequest): Promise<QueryTotalSupplyResponse>;
/** SupplyOf queries the supply of a single coin. */
supplyOf(request: QuerySupplyOfRequest): Promise<QuerySupplyOfResponse>;
/** Params queries the parameters of x/bank module. */
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
/** DenomsMetadata queries the client metadata of a given coin denomination. */
denomMetadata(request: QueryDenomMetadataRequest): Promise<QueryDenomMetadataResponse>;
/**
* DenomsMetadata queries the client metadata for all registered coin
* denominations.
*/
denomsMetadata(request?: QueryDenomsMetadataRequest): Promise<QueryDenomsMetadataResponse>;
/**
* DenomOwners queries for all account addresses that own a particular token
* denomination.
*/
denomOwners(request: QueryDenomOwnersRequest): Promise<QueryDenomOwnersResponse>;
}
export declare class QueryClientImpl implements Query {
private readonly rpc;
constructor(rpc: Rpc);
balance(request: QueryBalanceRequest): Promise<QueryBalanceResponse>;
allBalances(request: QueryAllBalancesRequest): Promise<QueryAllBalancesResponse>;
spendableBalances(request: QuerySpendableBalancesRequest): Promise<QuerySpendableBalancesResponse>;
totalSupply(request?: QueryTotalSupplyRequest): Promise<QueryTotalSupplyResponse>;
supplyOf(request: QuerySupplyOfRequest): Promise<QuerySupplyOfResponse>;
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
denomMetadata(request: QueryDenomMetadataRequest): Promise<QueryDenomMetadataResponse>;
denomsMetadata(request?: QueryDenomsMetadataRequest): Promise<QueryDenomsMetadataResponse>;
denomOwners(request: QueryDenomOwnersRequest): Promise<QueryDenomOwnersResponse>;
}
export declare const createRpcQueryExtension: (base: QueryClient) => {
balance(request: QueryBalanceRequest): Promise<QueryBalanceResponse>;
allBalances(request: QueryAllBalancesRequest): Promise<QueryAllBalancesResponse>;
spendableBalances(request: QuerySpendableBalancesRequest): Promise<QuerySpendableBalancesResponse>;
totalSupply(request?: QueryTotalSupplyRequest): Promise<QueryTotalSupplyResponse>;
supplyOf(request: QuerySupplyOfRequest): Promise<QuerySupplyOfResponse>;
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
denomMetadata(request: QueryDenomMetadataRequest): Promise<QueryDenomMetadataResponse>;
denomsMetadata(request?: QueryDenomsMetadataRequest): Promise<QueryDenomsMetadataResponse>;
denomOwners(request: QueryDenomOwnersRequest): Promise<QueryDenomOwnersResponse>;
};

View File

@ -1,58 +0,0 @@
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
import { Input, InputSDKType, Output, OutputSDKType } from "./bank";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** MsgSend represents a message to send coins from one account to another. */
export interface MsgSend {
fromAddress: string;
toAddress: string;
amount: Coin[];
}
/** MsgSend represents a message to send coins from one account to another. */
export interface MsgSendSDKType {
from_address: string;
to_address: string;
amount: CoinSDKType[];
}
/** MsgSendResponse defines the Msg/Send response type. */
export interface MsgSendResponse {
}
/** MsgSendResponse defines the Msg/Send response type. */
export interface MsgSendResponseSDKType {
}
/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */
export interface MsgMultiSend {
inputs: Input[];
outputs: Output[];
}
/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */
export interface MsgMultiSendSDKType {
inputs: InputSDKType[];
outputs: OutputSDKType[];
}
/** MsgMultiSendResponse defines the Msg/MultiSend response type. */
export interface MsgMultiSendResponse {
}
/** MsgMultiSendResponse defines the Msg/MultiSend response type. */
export interface MsgMultiSendResponseSDKType {
}
export declare const MsgSend: {
encode(message: MsgSend, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend;
fromPartial(object: DeepPartial<MsgSend>): MsgSend;
};
export declare const MsgSendResponse: {
encode(_: MsgSendResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse;
fromPartial(_: DeepPartial<MsgSendResponse>): MsgSendResponse;
};
export declare const MsgMultiSend: {
encode(message: MsgMultiSend, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSend;
fromPartial(object: DeepPartial<MsgMultiSend>): MsgMultiSend;
};
export declare const MsgMultiSendResponse: {
encode(_: MsgMultiSendResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse;
fromPartial(_: DeepPartial<MsgMultiSendResponse>): MsgMultiSendResponse;
};

View File

@ -1,15 +0,0 @@
import { Rpc } from "../../../helpers";
import { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse } from "./tx";
/** Msg defines the bank Msg service. */
export interface Msg {
/** Send defines a method for sending coins from one account to another account. */
send(request: MsgSend): Promise<MsgSendResponse>;
/** MultiSend defines a method for sending coins from some accounts to other accounts. */
multiSend(request: MsgMultiSend): Promise<MsgMultiSendResponse>;
}
export declare class MsgClientImpl implements Msg {
private readonly rpc;
constructor(rpc: Rpc);
send(request: MsgSend): Promise<MsgSendResponse>;
multiSend(request: MsgMultiSend): Promise<MsgMultiSendResponse>;
}

View File

@ -1,294 +0,0 @@
/// <reference types="long" />
import { Any, AnySDKType } from "../../../../google/protobuf/any";
import { Event, EventSDKType } from "../../../../tendermint/abci/types";
import { Long, DeepPartial } from "../../../../helpers";
import * as _m0 from "protobufjs/minimal";
/**
* TxResponse defines a structure containing relevant tx data and metadata. The
* tags are stringified and the log is JSON decoded.
*/
export interface TxResponse {
/** The block height */
height: Long;
/** The transaction hash. */
txhash: string;
/** Namespace for the Code */
codespace: string;
/** Response code. */
code: number;
/** Result bytes, if any. */
data: string;
/**
* The output of the application's logger (raw string). May be
* non-deterministic.
*/
rawLog: string;
/** The output of the application's logger (typed). May be non-deterministic. */
logs: ABCIMessageLog[];
/** Additional information. May be non-deterministic. */
info: string;
/** Amount of gas requested for transaction. */
gasWanted: Long;
/** Amount of gas consumed by transaction. */
gasUsed: Long;
/** The request transaction bytes. */
tx?: Any;
/**
* Time of the previous block. For heights > 1, it's the weighted median of
* the timestamps of the valid votes in the block.LastCommit. For height == 1,
* it's genesis time.
*/
timestamp: string;
/**
* Events defines all the events emitted by processing a transaction. Note,
* these events include those emitted by processing all the messages and those
* emitted from the ante handler. Whereas Logs contains the events, with
* additional metadata, emitted only by processing the messages.
*
* Since: cosmos-sdk 0.42.11, 0.44.5, 0.45
*/
events: Event[];
}
/**
* TxResponse defines a structure containing relevant tx data and metadata. The
* tags are stringified and the log is JSON decoded.
*/
export interface TxResponseSDKType {
height: Long;
txhash: string;
codespace: string;
code: number;
data: string;
raw_log: string;
logs: ABCIMessageLogSDKType[];
info: string;
gas_wanted: Long;
gas_used: Long;
tx?: AnySDKType;
timestamp: string;
events: EventSDKType[];
}
/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */
export interface ABCIMessageLog {
msgIndex: number;
log: string;
/**
* Events contains a slice of Event objects that were emitted during some
* execution.
*/
events: StringEvent[];
}
/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */
export interface ABCIMessageLogSDKType {
msg_index: number;
log: string;
events: StringEventSDKType[];
}
/**
* StringEvent defines en Event object wrapper where all the attributes
* contain key/value pairs that are strings instead of raw bytes.
*/
export interface StringEvent {
type: string;
attributes: Attribute[];
}
/**
* StringEvent defines en Event object wrapper where all the attributes
* contain key/value pairs that are strings instead of raw bytes.
*/
export interface StringEventSDKType {
type: string;
attributes: AttributeSDKType[];
}
/**
* Attribute defines an attribute wrapper where the key and value are
* strings instead of raw bytes.
*/
export interface Attribute {
key: string;
value: string;
}
/**
* Attribute defines an attribute wrapper where the key and value are
* strings instead of raw bytes.
*/
export interface AttributeSDKType {
key: string;
value: string;
}
/** GasInfo defines tx execution gas context. */
export interface GasInfo {
/** GasWanted is the maximum units of work we allow this tx to perform. */
gasWanted: Long;
/** GasUsed is the amount of gas actually consumed. */
gasUsed: Long;
}
/** GasInfo defines tx execution gas context. */
export interface GasInfoSDKType {
gas_wanted: Long;
gas_used: Long;
}
/** Result is the union of ResponseFormat and ResponseCheckTx. */
export interface Result {
/**
* Data is any data returned from message or handler execution. It MUST be
* length prefixed in order to separate data from multiple message executions.
* Deprecated. This field is still populated, but prefer msg_response instead
* because it also contains the Msg response typeURL.
*/
/** @deprecated */
data: Uint8Array;
/** Log contains the log information from message or handler execution. */
log: string;
/**
* Events contains a slice of Event objects that were emitted during message
* or handler execution.
*/
events: Event[];
/**
* msg_responses contains the Msg handler responses type packed in Anys.
*
* Since: cosmos-sdk 0.46
*/
msgResponses: Any[];
}
/** Result is the union of ResponseFormat and ResponseCheckTx. */
export interface ResultSDKType {
/** @deprecated */
data: Uint8Array;
log: string;
events: EventSDKType[];
msg_responses: AnySDKType[];
}
/**
* SimulationResponse defines the response generated when a transaction is
* successfully simulated.
*/
export interface SimulationResponse {
gasInfo?: GasInfo;
result?: Result;
}
/**
* SimulationResponse defines the response generated when a transaction is
* successfully simulated.
*/
export interface SimulationResponseSDKType {
gas_info?: GasInfoSDKType;
result?: ResultSDKType;
}
/**
* MsgData defines the data returned in a Result object during message
* execution.
*/
/** @deprecated */
export interface MsgData {
msgType: string;
data: Uint8Array;
}
/**
* MsgData defines the data returned in a Result object during message
* execution.
*/
/** @deprecated */
export interface MsgDataSDKType {
msg_type: string;
data: Uint8Array;
}
/**
* TxMsgData defines a list of MsgData. A transaction will have a MsgData object
* for each message.
*/
export interface TxMsgData {
/** data field is deprecated and not populated. */
/** @deprecated */
data: MsgData[];
/**
* msg_responses contains the Msg handler responses packed into Anys.
*
* Since: cosmos-sdk 0.46
*/
msgResponses: Any[];
}
/**
* TxMsgData defines a list of MsgData. A transaction will have a MsgData object
* for each message.
*/
export interface TxMsgDataSDKType {
/** @deprecated */
data: MsgDataSDKType[];
msg_responses: AnySDKType[];
}
/** SearchTxsResult defines a structure for querying txs pageable */
export interface SearchTxsResult {
/** Count of all txs */
totalCount: Long;
/** Count of txs in current page */
count: Long;
/** Index of current page, start from 1 */
pageNumber: Long;
/** Count of total pages */
pageTotal: Long;
/** Max count txs per page */
limit: Long;
/** List of txs in current page */
txs: TxResponse[];
}
/** SearchTxsResult defines a structure for querying txs pageable */
export interface SearchTxsResultSDKType {
total_count: Long;
count: Long;
page_number: Long;
page_total: Long;
limit: Long;
txs: TxResponseSDKType[];
}
export declare const TxResponse: {
encode(message: TxResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): TxResponse;
fromPartial(object: DeepPartial<TxResponse>): TxResponse;
};
export declare const ABCIMessageLog: {
encode(message: ABCIMessageLog, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ABCIMessageLog;
fromPartial(object: DeepPartial<ABCIMessageLog>): ABCIMessageLog;
};
export declare const StringEvent: {
encode(message: StringEvent, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StringEvent;
fromPartial(object: DeepPartial<StringEvent>): StringEvent;
};
export declare const Attribute: {
encode(message: Attribute, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Attribute;
fromPartial(object: DeepPartial<Attribute>): Attribute;
};
export declare const GasInfo: {
encode(message: GasInfo, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GasInfo;
fromPartial(object: DeepPartial<GasInfo>): GasInfo;
};
export declare const Result: {
encode(message: Result, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Result;
fromPartial(object: DeepPartial<Result>): Result;
};
export declare const SimulationResponse: {
encode(message: SimulationResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SimulationResponse;
fromPartial(object: DeepPartial<SimulationResponse>): SimulationResponse;
};
export declare const MsgData: {
encode(message: MsgData, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgData;
fromPartial(object: DeepPartial<MsgData>): MsgData;
};
export declare const TxMsgData: {
encode(message: TxMsgData, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): TxMsgData;
fromPartial(object: DeepPartial<TxMsgData>): TxMsgData;
};
export declare const SearchTxsResult: {
encode(message: SearchTxsResult, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SearchTxsResult;
fromPartial(object: DeepPartial<SearchTxsResult>): SearchTxsResult;
};

View File

@ -1,30 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../../helpers";
/** Pairs defines a repeated slice of Pair objects. */
export interface Pairs {
pairs: Pair[];
}
/** Pairs defines a repeated slice of Pair objects. */
export interface PairsSDKType {
pairs: PairSDKType[];
}
/** Pair defines a key/value bytes tuple. */
export interface Pair {
key: Uint8Array;
value: Uint8Array;
}
/** Pair defines a key/value bytes tuple. */
export interface PairSDKType {
key: Uint8Array;
value: Uint8Array;
}
export declare const Pairs: {
encode(message: Pairs, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Pairs;
fromPartial(object: DeepPartial<Pairs>): Pairs;
};
export declare const Pair: {
encode(message: Pair, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Pair;
fromPartial(object: DeepPartial<Pair>): Pair;
};

View File

@ -1,105 +0,0 @@
/// <reference types="long" />
import { Long, DeepPartial } from "../../../../helpers";
import * as _m0 from "protobufjs/minimal";
/**
* PageRequest is to be embedded in gRPC request messages for efficient
* pagination. Ex:
*
* message SomeRequest {
* Foo some_parameter = 1;
* PageRequest pagination = 2;
* }
*/
export interface PageRequest {
/**
* key is a value returned in PageResponse.next_key to begin
* querying the next page most efficiently. Only one of offset or key
* should be set.
*/
key: Uint8Array;
/**
* offset is a numeric offset that can be used when key is unavailable.
* It is less efficient than using key. Only one of offset or key should
* be set.
*/
offset: Long;
/**
* limit is the total number of results to be returned in the result page.
* If left empty it will default to a value to be set by each app.
*/
limit: Long;
/**
* count_total is set to true to indicate that the result set should include
* a count of the total number of items available for pagination in UIs.
* count_total is only respected when offset is used. It is ignored when key
* is set.
*/
countTotal: boolean;
/**
* reverse is set to true if results are to be returned in the descending order.
*
* Since: cosmos-sdk 0.43
*/
reverse: boolean;
}
/**
* PageRequest is to be embedded in gRPC request messages for efficient
* pagination. Ex:
*
* message SomeRequest {
* Foo some_parameter = 1;
* PageRequest pagination = 2;
* }
*/
export interface PageRequestSDKType {
key: Uint8Array;
offset: Long;
limit: Long;
count_total: boolean;
reverse: boolean;
}
/**
* PageResponse is to be embedded in gRPC response messages where the
* corresponding request message has used PageRequest.
*
* message SomeResponse {
* repeated Bar results = 1;
* PageResponse page = 2;
* }
*/
export interface PageResponse {
/**
* next_key is the key to be passed to PageRequest.key to
* query the next page most efficiently. It will be empty if
* there are no more results.
*/
nextKey: Uint8Array;
/**
* total is total number of results available if PageRequest.count_total
* was set, its value is undefined otherwise
*/
total: Long;
}
/**
* PageResponse is to be embedded in gRPC response messages where the
* corresponding request message has used PageRequest.
*
* message SomeResponse {
* repeated Bar results = 1;
* PageResponse page = 2;
* }
*/
export interface PageResponseSDKType {
next_key: Uint8Array;
total: Long;
}
export declare const PageRequest: {
encode(message: PageRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PageRequest;
fromPartial(object: DeepPartial<PageRequest>): PageRequest;
};
export declare const PageResponse: {
encode(message: PageResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PageResponse;
fromPartial(object: DeepPartial<PageResponse>): PageResponse;
};

View File

@ -1,66 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../../helpers";
/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */
export interface ListAllInterfacesRequest {
}
/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */
export interface ListAllInterfacesRequestSDKType {
}
/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */
export interface ListAllInterfacesResponse {
/** interface_names is an array of all the registered interfaces. */
interfaceNames: string[];
}
/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */
export interface ListAllInterfacesResponseSDKType {
interface_names: string[];
}
/**
* ListImplementationsRequest is the request type of the ListImplementations
* RPC.
*/
export interface ListImplementationsRequest {
/** interface_name defines the interface to query the implementations for. */
interfaceName: string;
}
/**
* ListImplementationsRequest is the request type of the ListImplementations
* RPC.
*/
export interface ListImplementationsRequestSDKType {
interface_name: string;
}
/**
* ListImplementationsResponse is the response type of the ListImplementations
* RPC.
*/
export interface ListImplementationsResponse {
implementationMessageNames: string[];
}
/**
* ListImplementationsResponse is the response type of the ListImplementations
* RPC.
*/
export interface ListImplementationsResponseSDKType {
implementation_message_names: string[];
}
export declare const ListAllInterfacesRequest: {
encode(_: ListAllInterfacesRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesRequest;
fromPartial(_: DeepPartial<ListAllInterfacesRequest>): ListAllInterfacesRequest;
};
export declare const ListAllInterfacesResponse: {
encode(message: ListAllInterfacesResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse;
fromPartial(object: DeepPartial<ListAllInterfacesResponse>): ListAllInterfacesResponse;
};
export declare const ListImplementationsRequest: {
encode(message: ListImplementationsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsRequest;
fromPartial(object: DeepPartial<ListImplementationsRequest>): ListImplementationsRequest;
};
export declare const ListImplementationsResponse: {
encode(message: ListImplementationsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse;
fromPartial(object: DeepPartial<ListImplementationsResponse>): ListImplementationsResponse;
};

View File

@ -1,451 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../../helpers";
/** AppDescriptor describes a cosmos-sdk based application */
export interface AppDescriptor {
/**
* AuthnDescriptor provides information on how to authenticate transactions on the application
* NOTE: experimental and subject to change in future releases.
*/
authn?: AuthnDescriptor;
/** chain provides the chain descriptor */
chain?: ChainDescriptor;
/** codec provides metadata information regarding codec related types */
codec?: CodecDescriptor;
/** configuration provides metadata information regarding the sdk.Config type */
configuration?: ConfigurationDescriptor;
/** query_services provides metadata information regarding the available queriable endpoints */
queryServices?: QueryServicesDescriptor;
/** tx provides metadata information regarding how to send transactions to the given application */
tx?: TxDescriptor;
}
/** AppDescriptor describes a cosmos-sdk based application */
export interface AppDescriptorSDKType {
authn?: AuthnDescriptorSDKType;
chain?: ChainDescriptorSDKType;
codec?: CodecDescriptorSDKType;
configuration?: ConfigurationDescriptorSDKType;
query_services?: QueryServicesDescriptorSDKType;
tx?: TxDescriptorSDKType;
}
/** TxDescriptor describes the accepted transaction type */
export interface TxDescriptor {
/**
* fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)
* it is not meant to support polymorphism of transaction types, it is supposed to be used by
* reflection clients to understand if they can handle a specific transaction type in an application.
*/
fullname: string;
/** msgs lists the accepted application messages (sdk.Msg) */
msgs: MsgDescriptor[];
}
/** TxDescriptor describes the accepted transaction type */
export interface TxDescriptorSDKType {
fullname: string;
msgs: MsgDescriptorSDKType[];
}
/**
* AuthnDescriptor provides information on how to sign transactions without relying
* on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures
*/
export interface AuthnDescriptor {
/** sign_modes defines the supported signature algorithm */
signModes: SigningModeDescriptor[];
}
/**
* AuthnDescriptor provides information on how to sign transactions without relying
* on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures
*/
export interface AuthnDescriptorSDKType {
sign_modes: SigningModeDescriptorSDKType[];
}
/**
* SigningModeDescriptor provides information on a signing flow of the application
* NOTE(fdymylja): here we could go as far as providing an entire flow on how
* to sign a message given a SigningModeDescriptor, but it's better to think about
* this another time
*/
export interface SigningModeDescriptor {
/** name defines the unique name of the signing mode */
name: string;
/** number is the unique int32 identifier for the sign_mode enum */
number: number;
/**
* authn_info_provider_method_fullname defines the fullname of the method to call to get
* the metadata required to authenticate using the provided sign_modes
*/
authnInfoProviderMethodFullname: string;
}
/**
* SigningModeDescriptor provides information on a signing flow of the application
* NOTE(fdymylja): here we could go as far as providing an entire flow on how
* to sign a message given a SigningModeDescriptor, but it's better to think about
* this another time
*/
export interface SigningModeDescriptorSDKType {
name: string;
number: number;
authn_info_provider_method_fullname: string;
}
/** ChainDescriptor describes chain information of the application */
export interface ChainDescriptor {
/** id is the chain id */
id: string;
}
/** ChainDescriptor describes chain information of the application */
export interface ChainDescriptorSDKType {
id: string;
}
/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */
export interface CodecDescriptor {
/** interfaces is a list of the registerted interfaces descriptors */
interfaces: InterfaceDescriptor[];
}
/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */
export interface CodecDescriptorSDKType {
interfaces: InterfaceDescriptorSDKType[];
}
/** InterfaceDescriptor describes the implementation of an interface */
export interface InterfaceDescriptor {
/** fullname is the name of the interface */
fullname: string;
/**
* interface_accepting_messages contains information regarding the proto messages which contain the interface as
* google.protobuf.Any field
*/
interfaceAcceptingMessages: InterfaceAcceptingMessageDescriptor[];
/** interface_implementers is a list of the descriptors of the interface implementers */
interfaceImplementers: InterfaceImplementerDescriptor[];
}
/** InterfaceDescriptor describes the implementation of an interface */
export interface InterfaceDescriptorSDKType {
fullname: string;
interface_accepting_messages: InterfaceAcceptingMessageDescriptorSDKType[];
interface_implementers: InterfaceImplementerDescriptorSDKType[];
}
/** InterfaceImplementerDescriptor describes an interface implementer */
export interface InterfaceImplementerDescriptor {
/** fullname is the protobuf queryable name of the interface implementer */
fullname: string;
/**
* type_url defines the type URL used when marshalling the type as any
* this is required so we can provide type safe google.protobuf.Any marshalling and
* unmarshalling, making sure that we don't accept just 'any' type
* in our interface fields
*/
typeUrl: string;
}
/** InterfaceImplementerDescriptor describes an interface implementer */
export interface InterfaceImplementerDescriptorSDKType {
fullname: string;
type_url: string;
}
/**
* InterfaceAcceptingMessageDescriptor describes a protobuf message which contains
* an interface represented as a google.protobuf.Any
*/
export interface InterfaceAcceptingMessageDescriptor {
/** fullname is the protobuf fullname of the type containing the interface */
fullname: string;
/**
* field_descriptor_names is a list of the protobuf name (not fullname) of the field
* which contains the interface as google.protobuf.Any (the interface is the same, but
* it can be in multiple fields of the same proto message)
*/
fieldDescriptorNames: string[];
}
/**
* InterfaceAcceptingMessageDescriptor describes a protobuf message which contains
* an interface represented as a google.protobuf.Any
*/
export interface InterfaceAcceptingMessageDescriptorSDKType {
fullname: string;
field_descriptor_names: string[];
}
/** ConfigurationDescriptor contains metadata information on the sdk.Config */
export interface ConfigurationDescriptor {
/** bech32_account_address_prefix is the account address prefix */
bech32AccountAddressPrefix: string;
}
/** ConfigurationDescriptor contains metadata information on the sdk.Config */
export interface ConfigurationDescriptorSDKType {
bech32_account_address_prefix: string;
}
/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */
export interface MsgDescriptor {
/** msg_type_url contains the TypeURL of a sdk.Msg. */
msgTypeUrl: string;
}
/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */
export interface MsgDescriptorSDKType {
msg_type_url: string;
}
/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */
export interface GetAuthnDescriptorRequest {
}
/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */
export interface GetAuthnDescriptorRequestSDKType {
}
/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */
export interface GetAuthnDescriptorResponse {
/** authn describes how to authenticate to the application when sending transactions */
authn?: AuthnDescriptor;
}
/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */
export interface GetAuthnDescriptorResponseSDKType {
authn?: AuthnDescriptorSDKType;
}
/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */
export interface GetChainDescriptorRequest {
}
/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */
export interface GetChainDescriptorRequestSDKType {
}
/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */
export interface GetChainDescriptorResponse {
/** chain describes application chain information */
chain?: ChainDescriptor;
}
/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */
export interface GetChainDescriptorResponseSDKType {
chain?: ChainDescriptorSDKType;
}
/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */
export interface GetCodecDescriptorRequest {
}
/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */
export interface GetCodecDescriptorRequestSDKType {
}
/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */
export interface GetCodecDescriptorResponse {
/** codec describes the application codec such as registered interfaces and implementations */
codec?: CodecDescriptor;
}
/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */
export interface GetCodecDescriptorResponseSDKType {
codec?: CodecDescriptorSDKType;
}
/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */
export interface GetConfigurationDescriptorRequest {
}
/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */
export interface GetConfigurationDescriptorRequestSDKType {
}
/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */
export interface GetConfigurationDescriptorResponse {
/** config describes the application's sdk.Config */
config?: ConfigurationDescriptor;
}
/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */
export interface GetConfigurationDescriptorResponseSDKType {
config?: ConfigurationDescriptorSDKType;
}
/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */
export interface GetQueryServicesDescriptorRequest {
}
/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */
export interface GetQueryServicesDescriptorRequestSDKType {
}
/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */
export interface GetQueryServicesDescriptorResponse {
/** queries provides information on the available queryable services */
queries?: QueryServicesDescriptor;
}
/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */
export interface GetQueryServicesDescriptorResponseSDKType {
queries?: QueryServicesDescriptorSDKType;
}
/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */
export interface GetTxDescriptorRequest {
}
/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */
export interface GetTxDescriptorRequestSDKType {
}
/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */
export interface GetTxDescriptorResponse {
/**
* tx provides information on msgs that can be forwarded to the application
* alongside the accepted transaction protobuf type
*/
tx?: TxDescriptor;
}
/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */
export interface GetTxDescriptorResponseSDKType {
tx?: TxDescriptorSDKType;
}
/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */
export interface QueryServicesDescriptor {
/** query_services is a list of cosmos-sdk QueryServiceDescriptor */
queryServices: QueryServiceDescriptor[];
}
/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */
export interface QueryServicesDescriptorSDKType {
query_services: QueryServiceDescriptorSDKType[];
}
/** QueryServiceDescriptor describes a cosmos-sdk queryable service */
export interface QueryServiceDescriptor {
/** fullname is the protobuf fullname of the service descriptor */
fullname: string;
/** is_module describes if this service is actually exposed by an application's module */
isModule: boolean;
/** methods provides a list of query service methods */
methods: QueryMethodDescriptor[];
}
/** QueryServiceDescriptor describes a cosmos-sdk queryable service */
export interface QueryServiceDescriptorSDKType {
fullname: string;
is_module: boolean;
methods: QueryMethodDescriptorSDKType[];
}
/**
* QueryMethodDescriptor describes a queryable method of a query service
* no other info is provided beside method name and tendermint queryable path
* because it would be redundant with the grpc reflection service
*/
export interface QueryMethodDescriptor {
/** name is the protobuf name (not fullname) of the method */
name: string;
/**
* full_query_path is the path that can be used to query
* this method via tendermint abci.Query
*/
fullQueryPath: string;
}
/**
* QueryMethodDescriptor describes a queryable method of a query service
* no other info is provided beside method name and tendermint queryable path
* because it would be redundant with the grpc reflection service
*/
export interface QueryMethodDescriptorSDKType {
name: string;
full_query_path: string;
}
export declare const AppDescriptor: {
encode(message: AppDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AppDescriptor;
fromPartial(object: DeepPartial<AppDescriptor>): AppDescriptor;
};
export declare const TxDescriptor: {
encode(message: TxDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): TxDescriptor;
fromPartial(object: DeepPartial<TxDescriptor>): TxDescriptor;
};
export declare const AuthnDescriptor: {
encode(message: AuthnDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AuthnDescriptor;
fromPartial(object: DeepPartial<AuthnDescriptor>): AuthnDescriptor;
};
export declare const SigningModeDescriptor: {
encode(message: SigningModeDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SigningModeDescriptor;
fromPartial(object: DeepPartial<SigningModeDescriptor>): SigningModeDescriptor;
};
export declare const ChainDescriptor: {
encode(message: ChainDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainDescriptor;
fromPartial(object: DeepPartial<ChainDescriptor>): ChainDescriptor;
};
export declare const CodecDescriptor: {
encode(message: CodecDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CodecDescriptor;
fromPartial(object: DeepPartial<CodecDescriptor>): CodecDescriptor;
};
export declare const InterfaceDescriptor: {
encode(message: InterfaceDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor;
fromPartial(object: DeepPartial<InterfaceDescriptor>): InterfaceDescriptor;
};
export declare const InterfaceImplementerDescriptor: {
encode(message: InterfaceImplementerDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceImplementerDescriptor;
fromPartial(object: DeepPartial<InterfaceImplementerDescriptor>): InterfaceImplementerDescriptor;
};
export declare const InterfaceAcceptingMessageDescriptor: {
encode(message: InterfaceAcceptingMessageDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceAcceptingMessageDescriptor;
fromPartial(object: DeepPartial<InterfaceAcceptingMessageDescriptor>): InterfaceAcceptingMessageDescriptor;
};
export declare const ConfigurationDescriptor: {
encode(message: ConfigurationDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ConfigurationDescriptor;
fromPartial(object: DeepPartial<ConfigurationDescriptor>): ConfigurationDescriptor;
};
export declare const MsgDescriptor: {
encode(message: MsgDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgDescriptor;
fromPartial(object: DeepPartial<MsgDescriptor>): MsgDescriptor;
};
export declare const GetAuthnDescriptorRequest: {
encode(_: GetAuthnDescriptorRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorRequest;
fromPartial(_: DeepPartial<GetAuthnDescriptorRequest>): GetAuthnDescriptorRequest;
};
export declare const GetAuthnDescriptorResponse: {
encode(message: GetAuthnDescriptorResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse;
fromPartial(object: DeepPartial<GetAuthnDescriptorResponse>): GetAuthnDescriptorResponse;
};
export declare const GetChainDescriptorRequest: {
encode(_: GetChainDescriptorRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorRequest;
fromPartial(_: DeepPartial<GetChainDescriptorRequest>): GetChainDescriptorRequest;
};
export declare const GetChainDescriptorResponse: {
encode(message: GetChainDescriptorResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse;
fromPartial(object: DeepPartial<GetChainDescriptorResponse>): GetChainDescriptorResponse;
};
export declare const GetCodecDescriptorRequest: {
encode(_: GetCodecDescriptorRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorRequest;
fromPartial(_: DeepPartial<GetCodecDescriptorRequest>): GetCodecDescriptorRequest;
};
export declare const GetCodecDescriptorResponse: {
encode(message: GetCodecDescriptorResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse;
fromPartial(object: DeepPartial<GetCodecDescriptorResponse>): GetCodecDescriptorResponse;
};
export declare const GetConfigurationDescriptorRequest: {
encode(_: GetConfigurationDescriptorRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorRequest;
fromPartial(_: DeepPartial<GetConfigurationDescriptorRequest>): GetConfigurationDescriptorRequest;
};
export declare const GetConfigurationDescriptorResponse: {
encode(message: GetConfigurationDescriptorResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse;
fromPartial(object: DeepPartial<GetConfigurationDescriptorResponse>): GetConfigurationDescriptorResponse;
};
export declare const GetQueryServicesDescriptorRequest: {
encode(_: GetQueryServicesDescriptorRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorRequest;
fromPartial(_: DeepPartial<GetQueryServicesDescriptorRequest>): GetQueryServicesDescriptorRequest;
};
export declare const GetQueryServicesDescriptorResponse: {
encode(message: GetQueryServicesDescriptorResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse;
fromPartial(object: DeepPartial<GetQueryServicesDescriptorResponse>): GetQueryServicesDescriptorResponse;
};
export declare const GetTxDescriptorRequest: {
encode(_: GetTxDescriptorRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorRequest;
fromPartial(_: DeepPartial<GetTxDescriptorRequest>): GetTxDescriptorRequest;
};
export declare const GetTxDescriptorResponse: {
encode(message: GetTxDescriptorResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse;
fromPartial(object: DeepPartial<GetTxDescriptorResponse>): GetTxDescriptorResponse;
};
export declare const QueryServicesDescriptor: {
encode(message: QueryServicesDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryServicesDescriptor;
fromPartial(object: DeepPartial<QueryServicesDescriptor>): QueryServicesDescriptor;
};
export declare const QueryServiceDescriptor: {
encode(message: QueryServiceDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryServiceDescriptor;
fromPartial(object: DeepPartial<QueryServiceDescriptor>): QueryServiceDescriptor;
};
export declare const QueryMethodDescriptor: {
encode(message: QueryMethodDescriptor, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryMethodDescriptor;
fromPartial(object: DeepPartial<QueryMethodDescriptor>): QueryMethodDescriptor;
};

View File

@ -1,151 +0,0 @@
/// <reference types="long" />
import { Long, DeepPartial } from "../../../../helpers";
import * as _m0 from "protobufjs/minimal";
/** Snapshot contains Tendermint state sync snapshot info. */
export interface Snapshot {
height: Long;
format: number;
chunks: number;
hash: Uint8Array;
metadata?: Metadata;
}
/** Snapshot contains Tendermint state sync snapshot info. */
export interface SnapshotSDKType {
height: Long;
format: number;
chunks: number;
hash: Uint8Array;
metadata?: MetadataSDKType;
}
/** Metadata contains SDK-specific snapshot metadata. */
export interface Metadata {
/** SHA-256 chunk hashes */
chunkHashes: Uint8Array[];
}
/** Metadata contains SDK-specific snapshot metadata. */
export interface MetadataSDKType {
chunk_hashes: Uint8Array[];
}
/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */
export interface SnapshotItem {
store?: SnapshotStoreItem;
iavl?: SnapshotIAVLItem;
extension?: SnapshotExtensionMeta;
extensionPayload?: SnapshotExtensionPayload;
kv?: SnapshotKVItem;
schema?: SnapshotSchema;
}
/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */
export interface SnapshotItemSDKType {
store?: SnapshotStoreItemSDKType;
iavl?: SnapshotIAVLItemSDKType;
extension?: SnapshotExtensionMetaSDKType;
extension_payload?: SnapshotExtensionPayloadSDKType;
kv?: SnapshotKVItemSDKType;
schema?: SnapshotSchemaSDKType;
}
/** SnapshotStoreItem contains metadata about a snapshotted store. */
export interface SnapshotStoreItem {
name: string;
}
/** SnapshotStoreItem contains metadata about a snapshotted store. */
export interface SnapshotStoreItemSDKType {
name: string;
}
/** SnapshotIAVLItem is an exported IAVL node. */
export interface SnapshotIAVLItem {
key: Uint8Array;
value: Uint8Array;
/** version is block height */
version: Long;
/** height is depth of the tree. */
height: number;
}
/** SnapshotIAVLItem is an exported IAVL node. */
export interface SnapshotIAVLItemSDKType {
key: Uint8Array;
value: Uint8Array;
version: Long;
height: number;
}
/** SnapshotExtensionMeta contains metadata about an external snapshotter. */
export interface SnapshotExtensionMeta {
name: string;
format: number;
}
/** SnapshotExtensionMeta contains metadata about an external snapshotter. */
export interface SnapshotExtensionMetaSDKType {
name: string;
format: number;
}
/** SnapshotExtensionPayload contains payloads of an external snapshotter. */
export interface SnapshotExtensionPayload {
payload: Uint8Array;
}
/** SnapshotExtensionPayload contains payloads of an external snapshotter. */
export interface SnapshotExtensionPayloadSDKType {
payload: Uint8Array;
}
/** SnapshotKVItem is an exported Key/Value Pair */
export interface SnapshotKVItem {
key: Uint8Array;
value: Uint8Array;
}
/** SnapshotKVItem is an exported Key/Value Pair */
export interface SnapshotKVItemSDKType {
key: Uint8Array;
value: Uint8Array;
}
/** SnapshotSchema is an exported schema of smt store */
export interface SnapshotSchema {
keys: Uint8Array[];
}
/** SnapshotSchema is an exported schema of smt store */
export interface SnapshotSchemaSDKType {
keys: Uint8Array[];
}
export declare const Snapshot: {
encode(message: Snapshot, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Snapshot;
fromPartial(object: DeepPartial<Snapshot>): Snapshot;
};
export declare const Metadata: {
encode(message: Metadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Metadata;
fromPartial(object: DeepPartial<Metadata>): Metadata;
};
export declare const SnapshotItem: {
encode(message: SnapshotItem, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotItem;
fromPartial(object: DeepPartial<SnapshotItem>): SnapshotItem;
};
export declare const SnapshotStoreItem: {
encode(message: SnapshotStoreItem, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotStoreItem;
fromPartial(object: DeepPartial<SnapshotStoreItem>): SnapshotStoreItem;
};
export declare const SnapshotIAVLItem: {
encode(message: SnapshotIAVLItem, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotIAVLItem;
fromPartial(object: DeepPartial<SnapshotIAVLItem>): SnapshotIAVLItem;
};
export declare const SnapshotExtensionMeta: {
encode(message: SnapshotExtensionMeta, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionMeta;
fromPartial(object: DeepPartial<SnapshotExtensionMeta>): SnapshotExtensionMeta;
};
export declare const SnapshotExtensionPayload: {
encode(message: SnapshotExtensionPayload, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionPayload;
fromPartial(object: DeepPartial<SnapshotExtensionPayload>): SnapshotExtensionPayload;
};
export declare const SnapshotKVItem: {
encode(message: SnapshotKVItem, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotKVItem;
fromPartial(object: DeepPartial<SnapshotKVItem>): SnapshotKVItem;
};
export declare const SnapshotSchema: {
encode(message: SnapshotSchema, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotSchema;
fromPartial(object: DeepPartial<SnapshotSchema>): SnapshotSchema;
};

View File

@ -1,66 +0,0 @@
/// <reference types="long" />
import { Long, DeepPartial } from "../../../../helpers";
import * as _m0 from "protobufjs/minimal";
/**
* CommitInfo defines commit information used by the multi-store when committing
* a version/height.
*/
export interface CommitInfo {
version: Long;
storeInfos: StoreInfo[];
}
/**
* CommitInfo defines commit information used by the multi-store when committing
* a version/height.
*/
export interface CommitInfoSDKType {
version: Long;
store_infos: StoreInfoSDKType[];
}
/**
* StoreInfo defines store-specific commit information. It contains a reference
* between a store name and the commit ID.
*/
export interface StoreInfo {
name: string;
commitId?: CommitID;
}
/**
* StoreInfo defines store-specific commit information. It contains a reference
* between a store name and the commit ID.
*/
export interface StoreInfoSDKType {
name: string;
commit_id?: CommitIDSDKType;
}
/**
* CommitID defines the committment information when a specific store is
* committed.
*/
export interface CommitID {
version: Long;
hash: Uint8Array;
}
/**
* CommitID defines the committment information when a specific store is
* committed.
*/
export interface CommitIDSDKType {
version: Long;
hash: Uint8Array;
}
export declare const CommitInfo: {
encode(message: CommitInfo, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CommitInfo;
fromPartial(object: DeepPartial<CommitInfo>): CommitInfo;
};
export declare const StoreInfo: {
encode(message: StoreInfo, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StoreInfo;
fromPartial(object: DeepPartial<StoreInfo>): StoreInfo;
};
export declare const CommitID: {
encode(message: CommitID, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CommitID;
fromPartial(object: DeepPartial<CommitID>): CommitID;
};

View File

@ -1,35 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../../helpers";
/**
* StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes)
* It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and
* Deletes
*
* Since: cosmos-sdk 0.43
*/
export interface StoreKVPair {
/** the store key for the KVStore this pair originates from */
storeKey: string;
/** true indicates a delete operation, false indicates a set operation */
delete: boolean;
key: Uint8Array;
value: Uint8Array;
}
/**
* StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes)
* It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and
* Deletes
*
* Since: cosmos-sdk 0.43
*/
export interface StoreKVPairSDKType {
store_key: string;
delete: boolean;
key: Uint8Array;
value: Uint8Array;
}
export declare const StoreKVPair: {
encode(message: StoreKVPair, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StoreKVPair;
fromPartial(object: DeepPartial<StoreKVPair>): StoreKVPair;
};

View File

@ -1,245 +0,0 @@
/// <reference types="long" />
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../query/v1beta1/pagination";
import { Any, AnySDKType } from "../../../../google/protobuf/any";
import { BlockID, BlockIDSDKType } from "../../../../tendermint/types/types";
import { Block, BlockSDKType } from "../../../../tendermint/types/block";
import { NodeInfo, NodeInfoSDKType } from "../../../../tendermint/p2p/types";
import { Long, DeepPartial } from "../../../../helpers";
import * as _m0 from "protobufjs/minimal";
/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
export interface GetValidatorSetByHeightRequest {
height: Long;
/** pagination defines an pagination for the request. */
pagination?: PageRequest;
}
/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
export interface GetValidatorSetByHeightRequestSDKType {
height: Long;
pagination?: PageRequestSDKType;
}
/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
export interface GetValidatorSetByHeightResponse {
blockHeight: Long;
validators: Validator[];
/** pagination defines an pagination for the response. */
pagination?: PageResponse;
}
/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
export interface GetValidatorSetByHeightResponseSDKType {
block_height: Long;
validators: ValidatorSDKType[];
pagination?: PageResponseSDKType;
}
/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
export interface GetLatestValidatorSetRequest {
/** pagination defines an pagination for the request. */
pagination?: PageRequest;
}
/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */
export interface GetLatestValidatorSetRequestSDKType {
pagination?: PageRequestSDKType;
}
/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
export interface GetLatestValidatorSetResponse {
blockHeight: Long;
validators: Validator[];
/** pagination defines an pagination for the response. */
pagination?: PageResponse;
}
/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */
export interface GetLatestValidatorSetResponseSDKType {
block_height: Long;
validators: ValidatorSDKType[];
pagination?: PageResponseSDKType;
}
/** Validator is the type for the validator-set. */
export interface Validator {
address: string;
pubKey?: Any;
votingPower: Long;
proposerPriority: Long;
}
/** Validator is the type for the validator-set. */
export interface ValidatorSDKType {
address: string;
pub_key?: AnySDKType;
voting_power: Long;
proposer_priority: Long;
}
/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */
export interface GetBlockByHeightRequest {
height: Long;
}
/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */
export interface GetBlockByHeightRequestSDKType {
height: Long;
}
/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */
export interface GetBlockByHeightResponse {
blockId?: BlockID;
block?: Block;
}
/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */
export interface GetBlockByHeightResponseSDKType {
block_id?: BlockIDSDKType;
block?: BlockSDKType;
}
/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */
export interface GetLatestBlockRequest {
}
/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */
export interface GetLatestBlockRequestSDKType {
}
/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */
export interface GetLatestBlockResponse {
blockId?: BlockID;
block?: Block;
}
/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */
export interface GetLatestBlockResponseSDKType {
block_id?: BlockIDSDKType;
block?: BlockSDKType;
}
/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */
export interface GetSyncingRequest {
}
/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */
export interface GetSyncingRequestSDKType {
}
/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */
export interface GetSyncingResponse {
syncing: boolean;
}
/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */
export interface GetSyncingResponseSDKType {
syncing: boolean;
}
/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */
export interface GetNodeInfoRequest {
}
/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */
export interface GetNodeInfoRequestSDKType {
}
/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */
export interface GetNodeInfoResponse {
nodeInfo?: NodeInfo;
applicationVersion?: VersionInfo;
}
/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */
export interface GetNodeInfoResponseSDKType {
node_info?: NodeInfoSDKType;
application_version?: VersionInfoSDKType;
}
/** VersionInfo is the type for the GetNodeInfoResponse message. */
export interface VersionInfo {
name: string;
appName: string;
version: string;
gitCommit: string;
buildTags: string;
goVersion: string;
buildDeps: Module[];
/** Since: cosmos-sdk 0.43 */
cosmosSdkVersion: string;
}
/** VersionInfo is the type for the GetNodeInfoResponse message. */
export interface VersionInfoSDKType {
name: string;
app_name: string;
version: string;
git_commit: string;
build_tags: string;
go_version: string;
build_deps: ModuleSDKType[];
cosmos_sdk_version: string;
}
/** Module is the type for VersionInfo */
export interface Module {
/** module path */
path: string;
/** module version */
version: string;
/** checksum */
sum: string;
}
/** Module is the type for VersionInfo */
export interface ModuleSDKType {
path: string;
version: string;
sum: string;
}
export declare const GetValidatorSetByHeightRequest: {
encode(message: GetValidatorSetByHeightRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightRequest;
fromPartial(object: DeepPartial<GetValidatorSetByHeightRequest>): GetValidatorSetByHeightRequest;
};
export declare const GetValidatorSetByHeightResponse: {
encode(message: GetValidatorSetByHeightResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse;
fromPartial(object: DeepPartial<GetValidatorSetByHeightResponse>): GetValidatorSetByHeightResponse;
};
export declare const GetLatestValidatorSetRequest: {
encode(message: GetLatestValidatorSetRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetRequest;
fromPartial(object: DeepPartial<GetLatestValidatorSetRequest>): GetLatestValidatorSetRequest;
};
export declare const GetLatestValidatorSetResponse: {
encode(message: GetLatestValidatorSetResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse;
fromPartial(object: DeepPartial<GetLatestValidatorSetResponse>): GetLatestValidatorSetResponse;
};
export declare const Validator: {
encode(message: Validator, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Validator;
fromPartial(object: DeepPartial<Validator>): Validator;
};
export declare const GetBlockByHeightRequest: {
encode(message: GetBlockByHeightRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightRequest;
fromPartial(object: DeepPartial<GetBlockByHeightRequest>): GetBlockByHeightRequest;
};
export declare const GetBlockByHeightResponse: {
encode(message: GetBlockByHeightResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse;
fromPartial(object: DeepPartial<GetBlockByHeightResponse>): GetBlockByHeightResponse;
};
export declare const GetLatestBlockRequest: {
encode(_: GetLatestBlockRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockRequest;
fromPartial(_: DeepPartial<GetLatestBlockRequest>): GetLatestBlockRequest;
};
export declare const GetLatestBlockResponse: {
encode(message: GetLatestBlockResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse;
fromPartial(object: DeepPartial<GetLatestBlockResponse>): GetLatestBlockResponse;
};
export declare const GetSyncingRequest: {
encode(_: GetSyncingRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingRequest;
fromPartial(_: DeepPartial<GetSyncingRequest>): GetSyncingRequest;
};
export declare const GetSyncingResponse: {
encode(message: GetSyncingResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse;
fromPartial(object: DeepPartial<GetSyncingResponse>): GetSyncingResponse;
};
export declare const GetNodeInfoRequest: {
encode(_: GetNodeInfoRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoRequest;
fromPartial(_: DeepPartial<GetNodeInfoRequest>): GetNodeInfoRequest;
};
export declare const GetNodeInfoResponse: {
encode(message: GetNodeInfoResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse;
fromPartial(object: DeepPartial<GetNodeInfoResponse>): GetNodeInfoResponse;
};
export declare const VersionInfo: {
encode(message: VersionInfo, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): VersionInfo;
fromPartial(object: DeepPartial<VersionInfo>): VersionInfo;
};
export declare const Module: {
encode(message: Module, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Module;
fromPartial(object: DeepPartial<Module>): Module;
};

View File

@ -1,14 +0,0 @@
import { LCDClient } from "@osmonauts/lcd";
import { GetNodeInfoRequest, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponseSDKType } from "./query";
export declare class LCDQueryClient {
req: LCDClient;
constructor({ requestClient }: {
requestClient: LCDClient;
});
getNodeInfo(_params?: GetNodeInfoRequest): Promise<GetNodeInfoResponseSDKType>;
getSyncing(_params?: GetSyncingRequest): Promise<GetSyncingResponseSDKType>;
getLatestBlock(_params?: GetLatestBlockRequest): Promise<GetLatestBlockResponseSDKType>;
getBlockByHeight(params: GetBlockByHeightRequest): Promise<GetBlockByHeightResponseSDKType>;
getLatestValidatorSet(params?: GetLatestValidatorSetRequest): Promise<GetLatestValidatorSetResponseSDKType>;
getValidatorSetByHeight(params: GetValidatorSetByHeightRequest): Promise<GetValidatorSetByHeightResponseSDKType>;
}

View File

@ -1,36 +0,0 @@
import { Rpc } from "../../../../helpers";
import { QueryClient } from "@cosmjs/stargate";
import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query";
/** Service defines the gRPC querier service for tendermint queries. */
export interface Service {
/** GetNodeInfo queries the current node info. */
getNodeInfo(request?: GetNodeInfoRequest): Promise<GetNodeInfoResponse>;
/** GetSyncing queries node syncing. */
getSyncing(request?: GetSyncingRequest): Promise<GetSyncingResponse>;
/** GetLatestBlock returns the latest block. */
getLatestBlock(request?: GetLatestBlockRequest): Promise<GetLatestBlockResponse>;
/** GetBlockByHeight queries block for given height. */
getBlockByHeight(request: GetBlockByHeightRequest): Promise<GetBlockByHeightResponse>;
/** GetLatestValidatorSet queries latest validator-set. */
getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise<GetLatestValidatorSetResponse>;
/** GetValidatorSetByHeight queries validator-set at a given height. */
getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise<GetValidatorSetByHeightResponse>;
}
export declare class ServiceClientImpl implements Service {
private readonly rpc;
constructor(rpc: Rpc);
getNodeInfo(request?: GetNodeInfoRequest): Promise<GetNodeInfoResponse>;
getSyncing(request?: GetSyncingRequest): Promise<GetSyncingResponse>;
getLatestBlock(request?: GetLatestBlockRequest): Promise<GetLatestBlockResponse>;
getBlockByHeight(request: GetBlockByHeightRequest): Promise<GetBlockByHeightResponse>;
getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise<GetLatestValidatorSetResponse>;
getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise<GetValidatorSetByHeightResponse>;
}
export declare const createRpcQueryExtension: (base: QueryClient) => {
getNodeInfo(request?: GetNodeInfoRequest): Promise<GetNodeInfoResponse>;
getSyncing(request?: GetSyncingRequest): Promise<GetSyncingResponse>;
getLatestBlock(request?: GetLatestBlockRequest): Promise<GetLatestBlockResponse>;
getBlockByHeight(request: GetBlockByHeightRequest): Promise<GetBlockByHeightResponse>;
getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise<GetLatestValidatorSetResponse>;
getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise<GetValidatorSetByHeightResponse>;
};

View File

@ -1,78 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* Coin defines a token with a denomination and an amount.
*
* NOTE: The amount field is an Int which implements the custom method
* signatures required by gogoproto.
*/
export interface Coin {
denom: string;
amount: string;
}
/**
* Coin defines a token with a denomination and an amount.
*
* NOTE: The amount field is an Int which implements the custom method
* signatures required by gogoproto.
*/
export interface CoinSDKType {
denom: string;
amount: string;
}
/**
* DecCoin defines a token with a denomination and a decimal amount.
*
* NOTE: The amount field is an Dec which implements the custom method
* signatures required by gogoproto.
*/
export interface DecCoin {
denom: string;
amount: string;
}
/**
* DecCoin defines a token with a denomination and a decimal amount.
*
* NOTE: The amount field is an Dec which implements the custom method
* signatures required by gogoproto.
*/
export interface DecCoinSDKType {
denom: string;
amount: string;
}
/** IntProto defines a Protobuf wrapper around an Int object. */
export interface IntProto {
int: string;
}
/** IntProto defines a Protobuf wrapper around an Int object. */
export interface IntProtoSDKType {
int: string;
}
/** DecProto defines a Protobuf wrapper around a Dec object. */
export interface DecProto {
dec: string;
}
/** DecProto defines a Protobuf wrapper around a Dec object. */
export interface DecProtoSDKType {
dec: string;
}
export declare const Coin: {
encode(message: Coin, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Coin;
fromPartial(object: DeepPartial<Coin>): Coin;
};
export declare const DecCoin: {
encode(message: DecCoin, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DecCoin;
fromPartial(object: DeepPartial<DecCoin>): DecCoin;
};
export declare const IntProto: {
encode(message: IntProto, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): IntProto;
fromPartial(object: DeepPartial<IntProto>): IntProto;
};
export declare const DecProto: {
encode(message: DecProto, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DecProto;
fromPartial(object: DeepPartial<DecProto>): DecProto;
};

File diff suppressed because it is too large Load Diff

View File

@ -1,62 +0,0 @@
/// <reference types="long" />
import { Long, DeepPartial } from "../../../helpers";
import * as _m0 from "protobufjs/minimal";
/**
* Capability defines an implementation of an object capability. The index
* provided to a Capability must be globally unique.
*/
export interface Capability {
index: Long;
}
/**
* Capability defines an implementation of an object capability. The index
* provided to a Capability must be globally unique.
*/
export interface CapabilitySDKType {
index: Long;
}
/**
* Owner defines a single capability owner. An owner is defined by the name of
* capability and the module name.
*/
export interface Owner {
module: string;
name: string;
}
/**
* Owner defines a single capability owner. An owner is defined by the name of
* capability and the module name.
*/
export interface OwnerSDKType {
module: string;
name: string;
}
/**
* CapabilityOwners defines a set of owners of a single Capability. The set of
* owners must be unique.
*/
export interface CapabilityOwners {
owners: Owner[];
}
/**
* CapabilityOwners defines a set of owners of a single Capability. The set of
* owners must be unique.
*/
export interface CapabilityOwnersSDKType {
owners: OwnerSDKType[];
}
export declare const Capability: {
encode(message: Capability, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Capability;
fromPartial(object: DeepPartial<Capability>): Capability;
};
export declare const Owner: {
encode(message: Owner, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Owner;
fromPartial(object: DeepPartial<Owner>): Owner;
};
export declare const CapabilityOwners: {
encode(message: CapabilityOwners, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CapabilityOwners;
fromPartial(object: DeepPartial<CapabilityOwners>): CapabilityOwners;
};

View File

@ -1,41 +0,0 @@
/// <reference types="long" />
import { CapabilityOwners, CapabilityOwnersSDKType } from "./capability";
import { Long, DeepPartial } from "../../../helpers";
import * as _m0 from "protobufjs/minimal";
/** GenesisOwners defines the capability owners with their corresponding index. */
export interface GenesisOwners {
/** index is the index of the capability owner. */
index: Long;
/** index_owners are the owners at the given index. */
indexOwners?: CapabilityOwners;
}
/** GenesisOwners defines the capability owners with their corresponding index. */
export interface GenesisOwnersSDKType {
index: Long;
index_owners?: CapabilityOwnersSDKType;
}
/** GenesisState defines the capability module's genesis state. */
export interface GenesisState {
/** index is the capability global index. */
index: Long;
/**
* owners represents a map from index to owners of the capability index
* index key is string to allow amino marshalling.
*/
owners: GenesisOwners[];
}
/** GenesisState defines the capability module's genesis state. */
export interface GenesisStateSDKType {
index: Long;
owners: GenesisOwnersSDKType[];
}
export declare const GenesisOwners: {
encode(message: GenesisOwners, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisOwners;
fromPartial(object: DeepPartial<GenesisOwners>): GenesisOwners;
};
export declare const GenesisState: {
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
};

View File

@ -1,20 +0,0 @@
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** GenesisState defines the crisis module's genesis state. */
export interface GenesisState {
/**
* constant_fee is the fee used to verify the invariant in the crisis
* module.
*/
constantFee?: Coin;
}
/** GenesisState defines the crisis module's genesis state. */
export interface GenesisStateSDKType {
constant_fee?: CoinSDKType;
}
export declare const GenesisState: {
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
};

View File

@ -1,30 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** MsgVerifyInvariant represents a message to verify a particular invariance. */
export interface MsgVerifyInvariant {
sender: string;
invariantModuleName: string;
invariantRoute: string;
}
/** MsgVerifyInvariant represents a message to verify a particular invariance. */
export interface MsgVerifyInvariantSDKType {
sender: string;
invariant_module_name: string;
invariant_route: string;
}
/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */
export interface MsgVerifyInvariantResponse {
}
/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */
export interface MsgVerifyInvariantResponseSDKType {
}
export declare const MsgVerifyInvariant: {
encode(message: MsgVerifyInvariant, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariant;
fromPartial(object: DeepPartial<MsgVerifyInvariant>): MsgVerifyInvariant;
};
export declare const MsgVerifyInvariantResponse: {
encode(_: MsgVerifyInvariantResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse;
fromPartial(_: DeepPartial<MsgVerifyInvariantResponse>): MsgVerifyInvariantResponse;
};

View File

@ -1,12 +0,0 @@
import { Rpc } from "../../../helpers";
import { MsgVerifyInvariant, MsgVerifyInvariantResponse } from "./tx";
/** Msg defines the bank Msg service. */
export interface Msg {
/** VerifyInvariant defines a method to verify a particular invariance. */
verifyInvariant(request: MsgVerifyInvariant): Promise<MsgVerifyInvariantResponse>;
}
export declare class MsgClientImpl implements Msg {
private readonly rpc;
constructor(rpc: Rpc);
verifyInvariant(request: MsgVerifyInvariant): Promise<MsgVerifyInvariantResponse>;
}

View File

@ -1,46 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* PubKey is an ed25519 public key for handling Tendermint keys in SDK.
* It's needed for Any serialization and SDK compatibility.
* It must not be used in a non Tendermint key context because it doesn't implement
* ADR-28. Nevertheless, you will like to use ed25519 in app user level
* then you must create a new proto message and follow ADR-28 for Address construction.
*/
export interface PubKey {
key: Uint8Array;
}
/**
* PubKey is an ed25519 public key for handling Tendermint keys in SDK.
* It's needed for Any serialization and SDK compatibility.
* It must not be used in a non Tendermint key context because it doesn't implement
* ADR-28. Nevertheless, you will like to use ed25519 in app user level
* then you must create a new proto message and follow ADR-28 for Address construction.
*/
export interface PubKeySDKType {
key: Uint8Array;
}
/**
* Deprecated: PrivKey defines a ed25519 private key.
* NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context.
*/
export interface PrivKey {
key: Uint8Array;
}
/**
* Deprecated: PrivKey defines a ed25519 private key.
* NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context.
*/
export interface PrivKeySDKType {
key: Uint8Array;
}
export declare const PubKey: {
encode(message: PubKey, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PubKey;
fromPartial(object: DeepPartial<PubKey>): PubKey;
};
export declare const PrivKey: {
encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey;
fromPartial(object: DeepPartial<PrivKey>): PrivKey;
};

View File

@ -1,31 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../../helpers";
/** BIP44Params is used as path field in ledger item in Record. */
export interface BIP44Params {
/** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */
purpose: number;
/** coin_type is a constant that improves privacy */
coinType: number;
/** account splits the key space into independent user identities */
account: number;
/**
* change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal
* chain.
*/
change: boolean;
/** address_index is used as child index in BIP32 derivation */
addressIndex: number;
}
/** BIP44Params is used as path field in ledger item in Record. */
export interface BIP44ParamsSDKType {
purpose: number;
coin_type: number;
account: number;
change: boolean;
address_index: number;
}
export declare const BIP44Params: {
encode(message: BIP44Params, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): BIP44Params;
fromPartial(object: DeepPartial<BIP44Params>): BIP44Params;
};

View File

@ -1,89 +0,0 @@
import { Any, AnySDKType } from "../../../../google/protobuf/any";
import { BIP44Params, BIP44ParamsSDKType } from "../../hd/v1/hd";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../../helpers";
/** Record is used for representing a key in the keyring. */
export interface Record {
/** name represents a name of Record */
name: string;
/** pub_key represents a public key in any format */
pubKey?: Any;
/** local stores the public information about a locally stored key */
local?: Record_Local;
/** ledger stores the public information about a Ledger key */
ledger?: Record_Ledger;
/** Multi does not store any information. */
multi?: Record_Multi;
/** Offline does not store any information. */
offline?: Record_Offline;
}
/** Record is used for representing a key in the keyring. */
export interface RecordSDKType {
name: string;
pub_key?: AnySDKType;
local?: Record_LocalSDKType;
ledger?: Record_LedgerSDKType;
multi?: Record_MultiSDKType;
offline?: Record_OfflineSDKType;
}
/**
* Item is a keyring item stored in a keyring backend.
* Local item
*/
export interface Record_Local {
privKey?: Any;
privKeyType: string;
}
/**
* Item is a keyring item stored in a keyring backend.
* Local item
*/
export interface Record_LocalSDKType {
priv_key?: AnySDKType;
priv_key_type: string;
}
/** Ledger item */
export interface Record_Ledger {
path?: BIP44Params;
}
/** Ledger item */
export interface Record_LedgerSDKType {
path?: BIP44ParamsSDKType;
}
/** Multi item */
export interface Record_Multi {
}
/** Multi item */
export interface Record_MultiSDKType {
}
/** Offline item */
export interface Record_Offline {
}
/** Offline item */
export interface Record_OfflineSDKType {
}
export declare const Record: {
encode(message: Record, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Record;
fromPartial(object: DeepPartial<Record>): Record;
};
export declare const Record_Local: {
encode(message: Record_Local, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Local;
fromPartial(object: DeepPartial<Record_Local>): Record_Local;
};
export declare const Record_Ledger: {
encode(message: Record_Ledger, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Ledger;
fromPartial(object: DeepPartial<Record_Ledger>): Record_Ledger;
};
export declare const Record_Multi: {
encode(_: Record_Multi, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Multi;
fromPartial(_: DeepPartial<Record_Multi>): Record_Multi;
};
export declare const Record_Offline: {
encode(_: Record_Offline, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Record_Offline;
fromPartial(_: DeepPartial<Record_Offline>): Record_Offline;
};

View File

@ -1,26 +0,0 @@
import { Any, AnySDKType } from "../../../google/protobuf/any";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* LegacyAminoPubKey specifies a public key type
* which nests multiple public keys and a threshold,
* it uses legacy amino address rules.
*/
export interface LegacyAminoPubKey {
threshold: number;
publicKeys: Any[];
}
/**
* LegacyAminoPubKey specifies a public key type
* which nests multiple public keys and a threshold,
* it uses legacy amino address rules.
*/
export interface LegacyAminoPubKeySDKType {
threshold: number;
public_keys: AnySDKType[];
}
export declare const LegacyAminoPubKey: {
encode(message: LegacyAminoPubKey, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): LegacyAminoPubKey;
fromPartial(object: DeepPartial<LegacyAminoPubKey>): LegacyAminoPubKey;
};

View File

@ -1,48 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../../helpers";
/**
* MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey.
* See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers
* signed and with which modes.
*/
export interface MultiSignature {
signatures: Uint8Array[];
}
/**
* MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey.
* See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers
* signed and with which modes.
*/
export interface MultiSignatureSDKType {
signatures: Uint8Array[];
}
/**
* CompactBitArray is an implementation of a space efficient bit array.
* This is used to ensure that the encoded data takes up a minimal amount of
* space after proto encoding.
* This is not thread safe, and is not intended for concurrent usage.
*/
export interface CompactBitArray {
extraBitsStored: number;
elems: Uint8Array;
}
/**
* CompactBitArray is an implementation of a space efficient bit array.
* This is used to ensure that the encoded data takes up a minimal amount of
* space after proto encoding.
* This is not thread safe, and is not intended for concurrent usage.
*/
export interface CompactBitArraySDKType {
extra_bits_stored: number;
elems: Uint8Array;
}
export declare const MultiSignature: {
encode(message: MultiSignature, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MultiSignature;
fromPartial(object: DeepPartial<MultiSignature>): MultiSignature;
};
export declare const CompactBitArray: {
encode(message: CompactBitArray, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CompactBitArray;
fromPartial(object: DeepPartial<CompactBitArray>): CompactBitArray;
};

View File

@ -1,40 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* PubKey defines a secp256k1 public key
* Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte
* if the y-coordinate is the lexicographically largest of the two associated with
* the x-coordinate. Otherwise the first byte is a 0x03.
* This prefix is followed with the x-coordinate.
*/
export interface PubKey {
key: Uint8Array;
}
/**
* PubKey defines a secp256k1 public key
* Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte
* if the y-coordinate is the lexicographically largest of the two associated with
* the x-coordinate. Otherwise the first byte is a 0x03.
* This prefix is followed with the x-coordinate.
*/
export interface PubKeySDKType {
key: Uint8Array;
}
/** PrivKey defines a secp256k1 private key. */
export interface PrivKey {
key: Uint8Array;
}
/** PrivKey defines a secp256k1 private key. */
export interface PrivKeySDKType {
key: Uint8Array;
}
export declare const PubKey: {
encode(message: PubKey, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PubKey;
fromPartial(object: DeepPartial<PubKey>): PubKey;
};
export declare const PrivKey: {
encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey;
fromPartial(object: DeepPartial<PrivKey>): PrivKey;
};

View File

@ -1,33 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** PubKey defines a secp256r1 ECDSA public key. */
export interface PubKey {
/**
* Point on secp256r1 curve in a compressed representation as specified in section
* 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998
*/
key: Uint8Array;
}
/** PubKey defines a secp256r1 ECDSA public key. */
export interface PubKeySDKType {
key: Uint8Array;
}
/** PrivKey defines a secp256r1 ECDSA private key. */
export interface PrivKey {
/** secret number serialized using big-endian encoding */
secret: Uint8Array;
}
/** PrivKey defines a secp256r1 ECDSA private key. */
export interface PrivKeySDKType {
secret: Uint8Array;
}
export declare const PubKey: {
encode(message: PubKey, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PubKey;
fromPartial(object: DeepPartial<PubKey>): PubKey;
};
export declare const PrivKey: {
encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey;
fromPartial(object: DeepPartial<PrivKey>): PrivKey;
};

View File

@ -1,282 +0,0 @@
/// <reference types="long" />
import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial, Long } from "../../../helpers";
/** Params defines the set of params for the distribution module. */
export interface Params {
communityTax: string;
baseProposerReward: string;
bonusProposerReward: string;
withdrawAddrEnabled: boolean;
}
/** Params defines the set of params for the distribution module. */
export interface ParamsSDKType {
community_tax: string;
base_proposer_reward: string;
bonus_proposer_reward: string;
withdraw_addr_enabled: boolean;
}
/**
* ValidatorHistoricalRewards represents historical rewards for a validator.
* Height is implicit within the store key.
* Cumulative reward ratio is the sum from the zeroeth period
* until this period of rewards / tokens, per the spec.
* The reference count indicates the number of objects
* which might need to reference this historical entry at any point.
* ReferenceCount =
* number of outstanding delegations which ended the associated period (and
* might need to read that record)
* + number of slashes which ended the associated period (and might need to
* read that record)
* + one per validator for the zeroeth period, set on initialization
*/
export interface ValidatorHistoricalRewards {
cumulativeRewardRatio: DecCoin[];
referenceCount: number;
}
/**
* ValidatorHistoricalRewards represents historical rewards for a validator.
* Height is implicit within the store key.
* Cumulative reward ratio is the sum from the zeroeth period
* until this period of rewards / tokens, per the spec.
* The reference count indicates the number of objects
* which might need to reference this historical entry at any point.
* ReferenceCount =
* number of outstanding delegations which ended the associated period (and
* might need to read that record)
* + number of slashes which ended the associated period (and might need to
* read that record)
* + one per validator for the zeroeth period, set on initialization
*/
export interface ValidatorHistoricalRewardsSDKType {
cumulative_reward_ratio: DecCoinSDKType[];
reference_count: number;
}
/**
* ValidatorCurrentRewards represents current rewards and current
* period for a validator kept as a running counter and incremented
* each block as long as the validator's tokens remain constant.
*/
export interface ValidatorCurrentRewards {
rewards: DecCoin[];
period: Long;
}
/**
* ValidatorCurrentRewards represents current rewards and current
* period for a validator kept as a running counter and incremented
* each block as long as the validator's tokens remain constant.
*/
export interface ValidatorCurrentRewardsSDKType {
rewards: DecCoinSDKType[];
period: Long;
}
/**
* ValidatorAccumulatedCommission represents accumulated commission
* for a validator kept as a running counter, can be withdrawn at any time.
*/
export interface ValidatorAccumulatedCommission {
commission: DecCoin[];
}
/**
* ValidatorAccumulatedCommission represents accumulated commission
* for a validator kept as a running counter, can be withdrawn at any time.
*/
export interface ValidatorAccumulatedCommissionSDKType {
commission: DecCoinSDKType[];
}
/**
* ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
* for a validator inexpensive to track, allows simple sanity checks.
*/
export interface ValidatorOutstandingRewards {
rewards: DecCoin[];
}
/**
* ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
* for a validator inexpensive to track, allows simple sanity checks.
*/
export interface ValidatorOutstandingRewardsSDKType {
rewards: DecCoinSDKType[];
}
/**
* ValidatorSlashEvent represents a validator slash event.
* Height is implicit within the store key.
* This is needed to calculate appropriate amount of staking tokens
* for delegations which are withdrawn after a slash has occurred.
*/
export interface ValidatorSlashEvent {
validatorPeriod: Long;
fraction: string;
}
/**
* ValidatorSlashEvent represents a validator slash event.
* Height is implicit within the store key.
* This is needed to calculate appropriate amount of staking tokens
* for delegations which are withdrawn after a slash has occurred.
*/
export interface ValidatorSlashEventSDKType {
validator_period: Long;
fraction: string;
}
/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
export interface ValidatorSlashEvents {
validatorSlashEvents: ValidatorSlashEvent[];
}
/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
export interface ValidatorSlashEventsSDKType {
validator_slash_events: ValidatorSlashEventSDKType[];
}
/** FeePool is the global fee pool for distribution. */
export interface FeePool {
communityPool: DecCoin[];
}
/** FeePool is the global fee pool for distribution. */
export interface FeePoolSDKType {
community_pool: DecCoinSDKType[];
}
/**
* CommunityPoolSpendProposal details a proposal for use of community funds,
* together with how many coins are proposed to be spent, and to which
* recipient account.
*/
export interface CommunityPoolSpendProposal {
title: string;
description: string;
recipient: string;
amount: Coin[];
}
/**
* CommunityPoolSpendProposal details a proposal for use of community funds,
* together with how many coins are proposed to be spent, and to which
* recipient account.
*/
export interface CommunityPoolSpendProposalSDKType {
title: string;
description: string;
recipient: string;
amount: CoinSDKType[];
}
/**
* DelegatorStartingInfo represents the starting info for a delegator reward
* period. It tracks the previous validator period, the delegation's amount of
* staking token, and the creation height (to check later on if any slashes have
* occurred). NOTE: Even though validators are slashed to whole staking tokens,
* the delegators within the validator may be left with less than a full token,
* thus sdk.Dec is used.
*/
export interface DelegatorStartingInfo {
previousPeriod: Long;
stake: string;
height: Long;
}
/**
* DelegatorStartingInfo represents the starting info for a delegator reward
* period. It tracks the previous validator period, the delegation's amount of
* staking token, and the creation height (to check later on if any slashes have
* occurred). NOTE: Even though validators are slashed to whole staking tokens,
* the delegators within the validator may be left with less than a full token,
* thus sdk.Dec is used.
*/
export interface DelegatorStartingInfoSDKType {
previous_period: Long;
stake: string;
height: Long;
}
/**
* DelegationDelegatorReward represents the properties
* of a delegator's delegation reward.
*/
export interface DelegationDelegatorReward {
validatorAddress: string;
reward: DecCoin[];
}
/**
* DelegationDelegatorReward represents the properties
* of a delegator's delegation reward.
*/
export interface DelegationDelegatorRewardSDKType {
validator_address: string;
reward: DecCoinSDKType[];
}
/**
* CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
* with a deposit
*/
export interface CommunityPoolSpendProposalWithDeposit {
title: string;
description: string;
recipient: string;
amount: string;
deposit: string;
}
/**
* CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
* with a deposit
*/
export interface CommunityPoolSpendProposalWithDepositSDKType {
title: string;
description: string;
recipient: string;
amount: string;
deposit: string;
}
export declare const Params: {
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
fromPartial(object: DeepPartial<Params>): Params;
};
export declare const ValidatorHistoricalRewards: {
encode(message: ValidatorHistoricalRewards, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards;
fromPartial(object: DeepPartial<ValidatorHistoricalRewards>): ValidatorHistoricalRewards;
};
export declare const ValidatorCurrentRewards: {
encode(message: ValidatorCurrentRewards, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards;
fromPartial(object: DeepPartial<ValidatorCurrentRewards>): ValidatorCurrentRewards;
};
export declare const ValidatorAccumulatedCommission: {
encode(message: ValidatorAccumulatedCommission, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission;
fromPartial(object: DeepPartial<ValidatorAccumulatedCommission>): ValidatorAccumulatedCommission;
};
export declare const ValidatorOutstandingRewards: {
encode(message: ValidatorOutstandingRewards, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards;
fromPartial(object: DeepPartial<ValidatorOutstandingRewards>): ValidatorOutstandingRewards;
};
export declare const ValidatorSlashEvent: {
encode(message: ValidatorSlashEvent, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent;
fromPartial(object: DeepPartial<ValidatorSlashEvent>): ValidatorSlashEvent;
};
export declare const ValidatorSlashEvents: {
encode(message: ValidatorSlashEvents, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents;
fromPartial(object: DeepPartial<ValidatorSlashEvents>): ValidatorSlashEvents;
};
export declare const FeePool: {
encode(message: FeePool, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): FeePool;
fromPartial(object: DeepPartial<FeePool>): FeePool;
};
export declare const CommunityPoolSpendProposal: {
encode(message: CommunityPoolSpendProposal, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal;
fromPartial(object: DeepPartial<CommunityPoolSpendProposal>): CommunityPoolSpendProposal;
};
export declare const DelegatorStartingInfo: {
encode(message: DelegatorStartingInfo, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo;
fromPartial(object: DeepPartial<DelegatorStartingInfo>): DelegatorStartingInfo;
};
export declare const DelegationDelegatorReward: {
encode(message: DelegationDelegatorReward, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward;
fromPartial(object: DeepPartial<DelegationDelegatorReward>): DelegationDelegatorReward;
};
export declare const CommunityPoolSpendProposalWithDeposit: {
encode(message: CommunityPoolSpendProposalWithDeposit, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit;
fromPartial(object: DeepPartial<CommunityPoolSpendProposalWithDeposit>): CommunityPoolSpendProposalWithDeposit;
};

View File

@ -1,197 +0,0 @@
/// <reference types="long" />
import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin";
import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, Params, ParamsSDKType, FeePool, FeePoolSDKType } from "./distribution";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial, Long } from "../../../helpers";
/**
* DelegatorWithdrawInfo is the address for where distributions rewards are
* withdrawn to by default this struct is only used at genesis to feed in
* default withdraw addresses.
*/
export interface DelegatorWithdrawInfo {
/** delegator_address is the address of the delegator. */
delegatorAddress: string;
/** withdraw_address is the address to withdraw the delegation rewards to. */
withdrawAddress: string;
}
/**
* DelegatorWithdrawInfo is the address for where distributions rewards are
* withdrawn to by default this struct is only used at genesis to feed in
* default withdraw addresses.
*/
export interface DelegatorWithdrawInfoSDKType {
delegator_address: string;
withdraw_address: string;
}
/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */
export interface ValidatorOutstandingRewardsRecord {
/** validator_address is the address of the validator. */
validatorAddress: string;
/** outstanding_rewards represents the oustanding rewards of a validator. */
outstandingRewards: DecCoin[];
}
/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */
export interface ValidatorOutstandingRewardsRecordSDKType {
validator_address: string;
outstanding_rewards: DecCoinSDKType[];
}
/**
* ValidatorAccumulatedCommissionRecord is used for import / export via genesis
* json.
*/
export interface ValidatorAccumulatedCommissionRecord {
/** validator_address is the address of the validator. */
validatorAddress: string;
/** accumulated is the accumulated commission of a validator. */
accumulated?: ValidatorAccumulatedCommission;
}
/**
* ValidatorAccumulatedCommissionRecord is used for import / export via genesis
* json.
*/
export interface ValidatorAccumulatedCommissionRecordSDKType {
validator_address: string;
accumulated?: ValidatorAccumulatedCommissionSDKType;
}
/**
* ValidatorHistoricalRewardsRecord is used for import / export via genesis
* json.
*/
export interface ValidatorHistoricalRewardsRecord {
/** validator_address is the address of the validator. */
validatorAddress: string;
/** period defines the period the historical rewards apply to. */
period: Long;
/** rewards defines the historical rewards of a validator. */
rewards?: ValidatorHistoricalRewards;
}
/**
* ValidatorHistoricalRewardsRecord is used for import / export via genesis
* json.
*/
export interface ValidatorHistoricalRewardsRecordSDKType {
validator_address: string;
period: Long;
rewards?: ValidatorHistoricalRewardsSDKType;
}
/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */
export interface ValidatorCurrentRewardsRecord {
/** validator_address is the address of the validator. */
validatorAddress: string;
/** rewards defines the current rewards of a validator. */
rewards?: ValidatorCurrentRewards;
}
/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */
export interface ValidatorCurrentRewardsRecordSDKType {
validator_address: string;
rewards?: ValidatorCurrentRewardsSDKType;
}
/** DelegatorStartingInfoRecord used for import / export via genesis json. */
export interface DelegatorStartingInfoRecord {
/** delegator_address is the address of the delegator. */
delegatorAddress: string;
/** validator_address is the address of the validator. */
validatorAddress: string;
/** starting_info defines the starting info of a delegator. */
startingInfo?: DelegatorStartingInfo;
}
/** DelegatorStartingInfoRecord used for import / export via genesis json. */
export interface DelegatorStartingInfoRecordSDKType {
delegator_address: string;
validator_address: string;
starting_info?: DelegatorStartingInfoSDKType;
}
/** ValidatorSlashEventRecord is used for import / export via genesis json. */
export interface ValidatorSlashEventRecord {
/** validator_address is the address of the validator. */
validatorAddress: string;
/** height defines the block height at which the slash event occured. */
height: Long;
/** period is the period of the slash event. */
period: Long;
/** validator_slash_event describes the slash event. */
validatorSlashEvent?: ValidatorSlashEvent;
}
/** ValidatorSlashEventRecord is used for import / export via genesis json. */
export interface ValidatorSlashEventRecordSDKType {
validator_address: string;
height: Long;
period: Long;
validator_slash_event?: ValidatorSlashEventSDKType;
}
/** GenesisState defines the distribution module's genesis state. */
export interface GenesisState {
/** params defines all the paramaters of the module. */
params?: Params;
/** fee_pool defines the fee pool at genesis. */
feePool?: FeePool;
/** fee_pool defines the delegator withdraw infos at genesis. */
delegatorWithdrawInfos: DelegatorWithdrawInfo[];
/** fee_pool defines the previous proposer at genesis. */
previousProposer: string;
/** fee_pool defines the outstanding rewards of all validators at genesis. */
outstandingRewards: ValidatorOutstandingRewardsRecord[];
/** fee_pool defines the accumulated commisions of all validators at genesis. */
validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[];
/** fee_pool defines the historical rewards of all validators at genesis. */
validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[];
/** fee_pool defines the current rewards of all validators at genesis. */
validatorCurrentRewards: ValidatorCurrentRewardsRecord[];
/** fee_pool defines the delegator starting infos at genesis. */
delegatorStartingInfos: DelegatorStartingInfoRecord[];
/** fee_pool defines the validator slash events at genesis. */
validatorSlashEvents: ValidatorSlashEventRecord[];
}
/** GenesisState defines the distribution module's genesis state. */
export interface GenesisStateSDKType {
params?: ParamsSDKType;
fee_pool?: FeePoolSDKType;
delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[];
previous_proposer: string;
outstanding_rewards: ValidatorOutstandingRewardsRecordSDKType[];
validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordSDKType[];
validator_historical_rewards: ValidatorHistoricalRewardsRecordSDKType[];
validator_current_rewards: ValidatorCurrentRewardsRecordSDKType[];
delegator_starting_infos: DelegatorStartingInfoRecordSDKType[];
validator_slash_events: ValidatorSlashEventRecordSDKType[];
}
export declare const DelegatorWithdrawInfo: {
encode(message: DelegatorWithdrawInfo, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorWithdrawInfo;
fromPartial(object: DeepPartial<DelegatorWithdrawInfo>): DelegatorWithdrawInfo;
};
export declare const ValidatorOutstandingRewardsRecord: {
encode(message: ValidatorOutstandingRewardsRecord, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewardsRecord;
fromPartial(object: DeepPartial<ValidatorOutstandingRewardsRecord>): ValidatorOutstandingRewardsRecord;
};
export declare const ValidatorAccumulatedCommissionRecord: {
encode(message: ValidatorAccumulatedCommissionRecord, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommissionRecord;
fromPartial(object: DeepPartial<ValidatorAccumulatedCommissionRecord>): ValidatorAccumulatedCommissionRecord;
};
export declare const ValidatorHistoricalRewardsRecord: {
encode(message: ValidatorHistoricalRewardsRecord, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewardsRecord;
fromPartial(object: DeepPartial<ValidatorHistoricalRewardsRecord>): ValidatorHistoricalRewardsRecord;
};
export declare const ValidatorCurrentRewardsRecord: {
encode(message: ValidatorCurrentRewardsRecord, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewardsRecord;
fromPartial(object: DeepPartial<ValidatorCurrentRewardsRecord>): ValidatorCurrentRewardsRecord;
};
export declare const DelegatorStartingInfoRecord: {
encode(message: DelegatorStartingInfoRecord, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfoRecord;
fromPartial(object: DeepPartial<DelegatorStartingInfoRecord>): DelegatorStartingInfoRecord;
};
export declare const ValidatorSlashEventRecord: {
encode(message: ValidatorSlashEventRecord, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEventRecord;
fromPartial(object: DeepPartial<ValidatorSlashEventRecord>): ValidatorSlashEventRecord;
};
export declare const GenesisState: {
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
};

View File

@ -1,365 +0,0 @@
/// <reference types="long" />
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
import { Params, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardSDKType } from "./distribution";
import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial, Long } from "../../../helpers";
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
export interface QueryParamsRequest {
}
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
export interface QueryParamsRequestSDKType {
}
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
export interface QueryParamsResponse {
/** params defines the parameters of the module. */
params?: Params;
}
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
export interface QueryParamsResponseSDKType {
params?: ParamsSDKType;
}
/**
* QueryValidatorOutstandingRewardsRequest is the request type for the
* Query/ValidatorOutstandingRewards RPC method.
*/
export interface QueryValidatorOutstandingRewardsRequest {
/** validator_address defines the validator address to query for. */
validatorAddress: string;
}
/**
* QueryValidatorOutstandingRewardsRequest is the request type for the
* Query/ValidatorOutstandingRewards RPC method.
*/
export interface QueryValidatorOutstandingRewardsRequestSDKType {
validator_address: string;
}
/**
* QueryValidatorOutstandingRewardsResponse is the response type for the
* Query/ValidatorOutstandingRewards RPC method.
*/
export interface QueryValidatorOutstandingRewardsResponse {
rewards?: ValidatorOutstandingRewards;
}
/**
* QueryValidatorOutstandingRewardsResponse is the response type for the
* Query/ValidatorOutstandingRewards RPC method.
*/
export interface QueryValidatorOutstandingRewardsResponseSDKType {
rewards?: ValidatorOutstandingRewardsSDKType;
}
/**
* QueryValidatorCommissionRequest is the request type for the
* Query/ValidatorCommission RPC method
*/
export interface QueryValidatorCommissionRequest {
/** validator_address defines the validator address to query for. */
validatorAddress: string;
}
/**
* QueryValidatorCommissionRequest is the request type for the
* Query/ValidatorCommission RPC method
*/
export interface QueryValidatorCommissionRequestSDKType {
validator_address: string;
}
/**
* QueryValidatorCommissionResponse is the response type for the
* Query/ValidatorCommission RPC method
*/
export interface QueryValidatorCommissionResponse {
/** commission defines the commision the validator received. */
commission?: ValidatorAccumulatedCommission;
}
/**
* QueryValidatorCommissionResponse is the response type for the
* Query/ValidatorCommission RPC method
*/
export interface QueryValidatorCommissionResponseSDKType {
commission?: ValidatorAccumulatedCommissionSDKType;
}
/**
* QueryValidatorSlashesRequest is the request type for the
* Query/ValidatorSlashes RPC method
*/
export interface QueryValidatorSlashesRequest {
/** validator_address defines the validator address to query for. */
validatorAddress: string;
/** starting_height defines the optional starting height to query the slashes. */
startingHeight: Long;
/** starting_height defines the optional ending height to query the slashes. */
endingHeight: Long;
/** pagination defines an optional pagination for the request. */
pagination?: PageRequest;
}
/**
* QueryValidatorSlashesRequest is the request type for the
* Query/ValidatorSlashes RPC method
*/
export interface QueryValidatorSlashesRequestSDKType {
validator_address: string;
starting_height: Long;
ending_height: Long;
pagination?: PageRequestSDKType;
}
/**
* QueryValidatorSlashesResponse is the response type for the
* Query/ValidatorSlashes RPC method.
*/
export interface QueryValidatorSlashesResponse {
/** slashes defines the slashes the validator received. */
slashes: ValidatorSlashEvent[];
/** pagination defines the pagination in the response. */
pagination?: PageResponse;
}
/**
* QueryValidatorSlashesResponse is the response type for the
* Query/ValidatorSlashes RPC method.
*/
export interface QueryValidatorSlashesResponseSDKType {
slashes: ValidatorSlashEventSDKType[];
pagination?: PageResponseSDKType;
}
/**
* QueryDelegationRewardsRequest is the request type for the
* Query/DelegationRewards RPC method.
*/
export interface QueryDelegationRewardsRequest {
/** delegator_address defines the delegator address to query for. */
delegatorAddress: string;
/** validator_address defines the validator address to query for. */
validatorAddress: string;
}
/**
* QueryDelegationRewardsRequest is the request type for the
* Query/DelegationRewards RPC method.
*/
export interface QueryDelegationRewardsRequestSDKType {
delegator_address: string;
validator_address: string;
}
/**
* QueryDelegationRewardsResponse is the response type for the
* Query/DelegationRewards RPC method.
*/
export interface QueryDelegationRewardsResponse {
/** rewards defines the rewards accrued by a delegation. */
rewards: DecCoin[];
}
/**
* QueryDelegationRewardsResponse is the response type for the
* Query/DelegationRewards RPC method.
*/
export interface QueryDelegationRewardsResponseSDKType {
rewards: DecCoinSDKType[];
}
/**
* QueryDelegationTotalRewardsRequest is the request type for the
* Query/DelegationTotalRewards RPC method.
*/
export interface QueryDelegationTotalRewardsRequest {
/** delegator_address defines the delegator address to query for. */
delegatorAddress: string;
}
/**
* QueryDelegationTotalRewardsRequest is the request type for the
* Query/DelegationTotalRewards RPC method.
*/
export interface QueryDelegationTotalRewardsRequestSDKType {
delegator_address: string;
}
/**
* QueryDelegationTotalRewardsResponse is the response type for the
* Query/DelegationTotalRewards RPC method.
*/
export interface QueryDelegationTotalRewardsResponse {
/** rewards defines all the rewards accrued by a delegator. */
rewards: DelegationDelegatorReward[];
/** total defines the sum of all the rewards. */
total: DecCoin[];
}
/**
* QueryDelegationTotalRewardsResponse is the response type for the
* Query/DelegationTotalRewards RPC method.
*/
export interface QueryDelegationTotalRewardsResponseSDKType {
rewards: DelegationDelegatorRewardSDKType[];
total: DecCoinSDKType[];
}
/**
* QueryDelegatorValidatorsRequest is the request type for the
* Query/DelegatorValidators RPC method.
*/
export interface QueryDelegatorValidatorsRequest {
/** delegator_address defines the delegator address to query for. */
delegatorAddress: string;
}
/**
* QueryDelegatorValidatorsRequest is the request type for the
* Query/DelegatorValidators RPC method.
*/
export interface QueryDelegatorValidatorsRequestSDKType {
delegator_address: string;
}
/**
* QueryDelegatorValidatorsResponse is the response type for the
* Query/DelegatorValidators RPC method.
*/
export interface QueryDelegatorValidatorsResponse {
/** validators defines the validators a delegator is delegating for. */
validators: string[];
}
/**
* QueryDelegatorValidatorsResponse is the response type for the
* Query/DelegatorValidators RPC method.
*/
export interface QueryDelegatorValidatorsResponseSDKType {
validators: string[];
}
/**
* QueryDelegatorWithdrawAddressRequest is the request type for the
* Query/DelegatorWithdrawAddress RPC method.
*/
export interface QueryDelegatorWithdrawAddressRequest {
/** delegator_address defines the delegator address to query for. */
delegatorAddress: string;
}
/**
* QueryDelegatorWithdrawAddressRequest is the request type for the
* Query/DelegatorWithdrawAddress RPC method.
*/
export interface QueryDelegatorWithdrawAddressRequestSDKType {
delegator_address: string;
}
/**
* QueryDelegatorWithdrawAddressResponse is the response type for the
* Query/DelegatorWithdrawAddress RPC method.
*/
export interface QueryDelegatorWithdrawAddressResponse {
/** withdraw_address defines the delegator address to query for. */
withdrawAddress: string;
}
/**
* QueryDelegatorWithdrawAddressResponse is the response type for the
* Query/DelegatorWithdrawAddress RPC method.
*/
export interface QueryDelegatorWithdrawAddressResponseSDKType {
withdraw_address: string;
}
/**
* QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC
* method.
*/
export interface QueryCommunityPoolRequest {
}
/**
* QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC
* method.
*/
export interface QueryCommunityPoolRequestSDKType {
}
/**
* QueryCommunityPoolResponse is the response type for the Query/CommunityPool
* RPC method.
*/
export interface QueryCommunityPoolResponse {
/** pool defines community pool's coins. */
pool: DecCoin[];
}
/**
* QueryCommunityPoolResponse is the response type for the Query/CommunityPool
* RPC method.
*/
export interface QueryCommunityPoolResponseSDKType {
pool: DecCoinSDKType[];
}
export declare const QueryParamsRequest: {
encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
};
export declare const QueryParamsResponse: {
encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse;
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse;
};
export declare const QueryValidatorOutstandingRewardsRequest: {
encode(message: QueryValidatorOutstandingRewardsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest;
fromPartial(object: DeepPartial<QueryValidatorOutstandingRewardsRequest>): QueryValidatorOutstandingRewardsRequest;
};
export declare const QueryValidatorOutstandingRewardsResponse: {
encode(message: QueryValidatorOutstandingRewardsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse;
fromPartial(object: DeepPartial<QueryValidatorOutstandingRewardsResponse>): QueryValidatorOutstandingRewardsResponse;
};
export declare const QueryValidatorCommissionRequest: {
encode(message: QueryValidatorCommissionRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionRequest;
fromPartial(object: DeepPartial<QueryValidatorCommissionRequest>): QueryValidatorCommissionRequest;
};
export declare const QueryValidatorCommissionResponse: {
encode(message: QueryValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse;
fromPartial(object: DeepPartial<QueryValidatorCommissionResponse>): QueryValidatorCommissionResponse;
};
export declare const QueryValidatorSlashesRequest: {
encode(message: QueryValidatorSlashesRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesRequest;
fromPartial(object: DeepPartial<QueryValidatorSlashesRequest>): QueryValidatorSlashesRequest;
};
export declare const QueryValidatorSlashesResponse: {
encode(message: QueryValidatorSlashesResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse;
fromPartial(object: DeepPartial<QueryValidatorSlashesResponse>): QueryValidatorSlashesResponse;
};
export declare const QueryDelegationRewardsRequest: {
encode(message: QueryDelegationRewardsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsRequest;
fromPartial(object: DeepPartial<QueryDelegationRewardsRequest>): QueryDelegationRewardsRequest;
};
export declare const QueryDelegationRewardsResponse: {
encode(message: QueryDelegationRewardsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse;
fromPartial(object: DeepPartial<QueryDelegationRewardsResponse>): QueryDelegationRewardsResponse;
};
export declare const QueryDelegationTotalRewardsRequest: {
encode(message: QueryDelegationTotalRewardsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest;
fromPartial(object: DeepPartial<QueryDelegationTotalRewardsRequest>): QueryDelegationTotalRewardsRequest;
};
export declare const QueryDelegationTotalRewardsResponse: {
encode(message: QueryDelegationTotalRewardsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse;
fromPartial(object: DeepPartial<QueryDelegationTotalRewardsResponse>): QueryDelegationTotalRewardsResponse;
};
export declare const QueryDelegatorValidatorsRequest: {
encode(message: QueryDelegatorValidatorsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest;
fromPartial(object: DeepPartial<QueryDelegatorValidatorsRequest>): QueryDelegatorValidatorsRequest;
};
export declare const QueryDelegatorValidatorsResponse: {
encode(message: QueryDelegatorValidatorsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse;
fromPartial(object: DeepPartial<QueryDelegatorValidatorsResponse>): QueryDelegatorValidatorsResponse;
};
export declare const QueryDelegatorWithdrawAddressRequest: {
encode(message: QueryDelegatorWithdrawAddressRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest;
fromPartial(object: DeepPartial<QueryDelegatorWithdrawAddressRequest>): QueryDelegatorWithdrawAddressRequest;
};
export declare const QueryDelegatorWithdrawAddressResponse: {
encode(message: QueryDelegatorWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse;
fromPartial(object: DeepPartial<QueryDelegatorWithdrawAddressResponse>): QueryDelegatorWithdrawAddressResponse;
};
export declare const QueryCommunityPoolRequest: {
encode(_: QueryCommunityPoolRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolRequest;
fromPartial(_: DeepPartial<QueryCommunityPoolRequest>): QueryCommunityPoolRequest;
};
export declare const QueryCommunityPoolResponse: {
encode(message: QueryCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse;
fromPartial(object: DeepPartial<QueryCommunityPoolResponse>): QueryCommunityPoolResponse;
};

View File

@ -1,17 +0,0 @@
import { LCDClient } from "@osmonauts/lcd";
import { QueryParamsRequest, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolResponseSDKType } from "./query";
export declare class LCDQueryClient {
req: LCDClient;
constructor({ requestClient }: {
requestClient: LCDClient;
});
params(_params?: QueryParamsRequest): Promise<QueryParamsResponseSDKType>;
validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise<QueryValidatorOutstandingRewardsResponseSDKType>;
validatorCommission(params: QueryValidatorCommissionRequest): Promise<QueryValidatorCommissionResponseSDKType>;
validatorSlashes(params: QueryValidatorSlashesRequest): Promise<QueryValidatorSlashesResponseSDKType>;
delegationRewards(params: QueryDelegationRewardsRequest): Promise<QueryDelegationRewardsResponseSDKType>;
delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise<QueryDelegationTotalRewardsResponseSDKType>;
delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponseSDKType>;
delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise<QueryDelegatorWithdrawAddressResponseSDKType>;
communityPool(_params?: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponseSDKType>;
}

View File

@ -1,51 +0,0 @@
import { Rpc } from "../../../helpers";
import { QueryClient } from "@cosmjs/stargate";
import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query";
/** Query defines the gRPC querier service for distribution module. */
export interface Query {
/** Params queries params of the distribution module. */
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
/** ValidatorOutstandingRewards queries rewards of a validator address. */
validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise<QueryValidatorOutstandingRewardsResponse>;
/** ValidatorCommission queries accumulated commission for a validator. */
validatorCommission(request: QueryValidatorCommissionRequest): Promise<QueryValidatorCommissionResponse>;
/** ValidatorSlashes queries slash events of a validator. */
validatorSlashes(request: QueryValidatorSlashesRequest): Promise<QueryValidatorSlashesResponse>;
/** DelegationRewards queries the total rewards accrued by a delegation. */
delegationRewards(request: QueryDelegationRewardsRequest): Promise<QueryDelegationRewardsResponse>;
/**
* DelegationTotalRewards queries the total rewards accrued by a each
* validator.
*/
delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise<QueryDelegationTotalRewardsResponse>;
/** DelegatorValidators queries the validators of a delegator. */
delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
/** DelegatorWithdrawAddress queries withdraw address of a delegator. */
delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise<QueryDelegatorWithdrawAddressResponse>;
/** CommunityPool queries the community pool coins. */
communityPool(request?: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponse>;
}
export declare class QueryClientImpl implements Query {
private readonly rpc;
constructor(rpc: Rpc);
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise<QueryValidatorOutstandingRewardsResponse>;
validatorCommission(request: QueryValidatorCommissionRequest): Promise<QueryValidatorCommissionResponse>;
validatorSlashes(request: QueryValidatorSlashesRequest): Promise<QueryValidatorSlashesResponse>;
delegationRewards(request: QueryDelegationRewardsRequest): Promise<QueryDelegationRewardsResponse>;
delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise<QueryDelegationTotalRewardsResponse>;
delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise<QueryDelegatorWithdrawAddressResponse>;
communityPool(request?: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponse>;
}
export declare const createRpcQueryExtension: (base: QueryClient) => {
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise<QueryValidatorOutstandingRewardsResponse>;
validatorCommission(request: QueryValidatorCommissionRequest): Promise<QueryValidatorCommissionResponse>;
validatorSlashes(request: QueryValidatorSlashesRequest): Promise<QueryValidatorSlashesResponse>;
delegationRewards(request: QueryDelegationRewardsRequest): Promise<QueryDelegationRewardsResponse>;
delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise<QueryDelegationTotalRewardsResponse>;
delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise<QueryDelegatorWithdrawAddressResponse>;
communityPool(request?: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponse>;
};

View File

@ -1,133 +0,0 @@
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* MsgSetWithdrawAddress sets the withdraw address for
* a delegator (or validator self-delegation).
*/
export interface MsgSetWithdrawAddress {
delegatorAddress: string;
withdrawAddress: string;
}
/**
* MsgSetWithdrawAddress sets the withdraw address for
* a delegator (or validator self-delegation).
*/
export interface MsgSetWithdrawAddressSDKType {
delegator_address: string;
withdraw_address: string;
}
/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */
export interface MsgSetWithdrawAddressResponse {
}
/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */
export interface MsgSetWithdrawAddressResponseSDKType {
}
/**
* MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator
* from a single validator.
*/
export interface MsgWithdrawDelegatorReward {
delegatorAddress: string;
validatorAddress: string;
}
/**
* MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator
* from a single validator.
*/
export interface MsgWithdrawDelegatorRewardSDKType {
delegator_address: string;
validator_address: string;
}
/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */
export interface MsgWithdrawDelegatorRewardResponse {
amount: Coin[];
}
/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */
export interface MsgWithdrawDelegatorRewardResponseSDKType {
amount: CoinSDKType[];
}
/**
* MsgWithdrawValidatorCommission withdraws the full commission to the validator
* address.
*/
export interface MsgWithdrawValidatorCommission {
validatorAddress: string;
}
/**
* MsgWithdrawValidatorCommission withdraws the full commission to the validator
* address.
*/
export interface MsgWithdrawValidatorCommissionSDKType {
validator_address: string;
}
/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */
export interface MsgWithdrawValidatorCommissionResponse {
amount: Coin[];
}
/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */
export interface MsgWithdrawValidatorCommissionResponseSDKType {
amount: CoinSDKType[];
}
/**
* MsgFundCommunityPool allows an account to directly
* fund the community pool.
*/
export interface MsgFundCommunityPool {
amount: Coin[];
depositor: string;
}
/**
* MsgFundCommunityPool allows an account to directly
* fund the community pool.
*/
export interface MsgFundCommunityPoolSDKType {
amount: CoinSDKType[];
depositor: string;
}
/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */
export interface MsgFundCommunityPoolResponse {
}
/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */
export interface MsgFundCommunityPoolResponseSDKType {
}
export declare const MsgSetWithdrawAddress: {
encode(message: MsgSetWithdrawAddress, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress;
fromPartial(object: DeepPartial<MsgSetWithdrawAddress>): MsgSetWithdrawAddress;
};
export declare const MsgSetWithdrawAddressResponse: {
encode(_: MsgSetWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse;
fromPartial(_: DeepPartial<MsgSetWithdrawAddressResponse>): MsgSetWithdrawAddressResponse;
};
export declare const MsgWithdrawDelegatorReward: {
encode(message: MsgWithdrawDelegatorReward, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward;
fromPartial(object: DeepPartial<MsgWithdrawDelegatorReward>): MsgWithdrawDelegatorReward;
};
export declare const MsgWithdrawDelegatorRewardResponse: {
encode(message: MsgWithdrawDelegatorRewardResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse;
fromPartial(object: DeepPartial<MsgWithdrawDelegatorRewardResponse>): MsgWithdrawDelegatorRewardResponse;
};
export declare const MsgWithdrawValidatorCommission: {
encode(message: MsgWithdrawValidatorCommission, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission;
fromPartial(object: DeepPartial<MsgWithdrawValidatorCommission>): MsgWithdrawValidatorCommission;
};
export declare const MsgWithdrawValidatorCommissionResponse: {
encode(message: MsgWithdrawValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse;
fromPartial(object: DeepPartial<MsgWithdrawValidatorCommissionResponse>): MsgWithdrawValidatorCommissionResponse;
};
export declare const MsgFundCommunityPool: {
encode(message: MsgFundCommunityPool, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool;
fromPartial(object: DeepPartial<MsgFundCommunityPool>): MsgFundCommunityPool;
};
export declare const MsgFundCommunityPoolResponse: {
encode(_: MsgFundCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse;
fromPartial(_: DeepPartial<MsgFundCommunityPoolResponse>): MsgFundCommunityPoolResponse;
};

View File

@ -1,33 +0,0 @@
import { Rpc } from "../../../helpers";
import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse } from "./tx";
/** Msg defines the distribution Msg service. */
export interface Msg {
/**
* SetWithdrawAddress defines a method to change the withdraw address
* for a delegator (or validator self-delegation).
*/
setWithdrawAddress(request: MsgSetWithdrawAddress): Promise<MsgSetWithdrawAddressResponse>;
/**
* WithdrawDelegatorReward defines a method to withdraw rewards of delegator
* from a single validator.
*/
withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise<MsgWithdrawDelegatorRewardResponse>;
/**
* WithdrawValidatorCommission defines a method to withdraw the
* full commission to the validator address.
*/
withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise<MsgWithdrawValidatorCommissionResponse>;
/**
* FundCommunityPool defines a method to allow an account to directly
* fund the community pool.
*/
fundCommunityPool(request: MsgFundCommunityPool): Promise<MsgFundCommunityPoolResponse>;
}
export declare class MsgClientImpl implements Msg {
private readonly rpc;
constructor(rpc: Rpc);
setWithdrawAddress(request: MsgSetWithdrawAddress): Promise<MsgSetWithdrawAddressResponse>;
withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise<MsgWithdrawDelegatorRewardResponse>;
withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise<MsgWithdrawValidatorCommissionResponse>;
fundCommunityPool(request: MsgFundCommunityPool): Promise<MsgFundCommunityPoolResponse>;
}

View File

@ -1,28 +0,0 @@
/// <reference types="long" />
import { Long, DeepPartial } from "../../../helpers";
import * as _m0 from "protobufjs/minimal";
/**
* Equivocation implements the Evidence interface and defines evidence of double
* signing misbehavior.
*/
export interface Equivocation {
height: Long;
time?: Date;
power: Long;
consensusAddress: string;
}
/**
* Equivocation implements the Evidence interface and defines evidence of double
* signing misbehavior.
*/
export interface EquivocationSDKType {
height: Long;
time?: Date;
power: Long;
consensus_address: string;
}
export declare const Equivocation: {
encode(message: Equivocation, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Equivocation;
fromPartial(object: DeepPartial<Equivocation>): Equivocation;
};

View File

@ -1,17 +0,0 @@
import { Any, AnySDKType } from "../../../google/protobuf/any";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** GenesisState defines the evidence module's genesis state. */
export interface GenesisState {
/** evidence defines all the evidence at genesis. */
evidence: Any[];
}
/** GenesisState defines the evidence module's genesis state. */
export interface GenesisStateSDKType {
evidence: AnySDKType[];
}
export declare const GenesisState: {
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
};

View File

@ -1,75 +0,0 @@
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
import { Any, AnySDKType } from "../../../google/protobuf/any";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */
export interface QueryEvidenceRequest {
/** evidence_hash defines the hash of the requested evidence. */
evidenceHash: Uint8Array;
}
/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */
export interface QueryEvidenceRequestSDKType {
evidence_hash: Uint8Array;
}
/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */
export interface QueryEvidenceResponse {
/** evidence returns the requested evidence. */
evidence?: Any;
}
/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */
export interface QueryEvidenceResponseSDKType {
evidence?: AnySDKType;
}
/**
* QueryEvidenceRequest is the request type for the Query/AllEvidence RPC
* method.
*/
export interface QueryAllEvidenceRequest {
/** pagination defines an optional pagination for the request. */
pagination?: PageRequest;
}
/**
* QueryEvidenceRequest is the request type for the Query/AllEvidence RPC
* method.
*/
export interface QueryAllEvidenceRequestSDKType {
pagination?: PageRequestSDKType;
}
/**
* QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC
* method.
*/
export interface QueryAllEvidenceResponse {
/** evidence returns all evidences. */
evidence: Any[];
/** pagination defines the pagination in the response. */
pagination?: PageResponse;
}
/**
* QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC
* method.
*/
export interface QueryAllEvidenceResponseSDKType {
evidence: AnySDKType[];
pagination?: PageResponseSDKType;
}
export declare const QueryEvidenceRequest: {
encode(message: QueryEvidenceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceRequest;
fromPartial(object: DeepPartial<QueryEvidenceRequest>): QueryEvidenceRequest;
};
export declare const QueryEvidenceResponse: {
encode(message: QueryEvidenceResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse;
fromPartial(object: DeepPartial<QueryEvidenceResponse>): QueryEvidenceResponse;
};
export declare const QueryAllEvidenceRequest: {
encode(message: QueryAllEvidenceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceRequest;
fromPartial(object: DeepPartial<QueryAllEvidenceRequest>): QueryAllEvidenceRequest;
};
export declare const QueryAllEvidenceResponse: {
encode(message: QueryAllEvidenceResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse;
fromPartial(object: DeepPartial<QueryAllEvidenceResponse>): QueryAllEvidenceResponse;
};

View File

@ -1,10 +0,0 @@
import { LCDClient } from "@osmonauts/lcd";
import { QueryEvidenceRequest, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceResponseSDKType } from "./query";
export declare class LCDQueryClient {
req: LCDClient;
constructor({ requestClient }: {
requestClient: LCDClient;
});
evidence(params: QueryEvidenceRequest): Promise<QueryEvidenceResponseSDKType>;
allEvidence(params?: QueryAllEvidenceRequest): Promise<QueryAllEvidenceResponseSDKType>;
}

View File

@ -1,20 +0,0 @@
import { Rpc } from "../../../helpers";
import { QueryClient } from "@cosmjs/stargate";
import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query";
/** Query defines the gRPC querier service. */
export interface Query {
/** Evidence queries evidence based on evidence hash. */
evidence(request: QueryEvidenceRequest): Promise<QueryEvidenceResponse>;
/** AllEvidence queries all evidence. */
allEvidence(request?: QueryAllEvidenceRequest): Promise<QueryAllEvidenceResponse>;
}
export declare class QueryClientImpl implements Query {
private readonly rpc;
constructor(rpc: Rpc);
evidence(request: QueryEvidenceRequest): Promise<QueryEvidenceResponse>;
allEvidence(request?: QueryAllEvidenceRequest): Promise<QueryAllEvidenceResponse>;
}
export declare const createRpcQueryExtension: (base: QueryClient) => {
evidence(request: QueryEvidenceRequest): Promise<QueryEvidenceResponse>;
allEvidence(request?: QueryAllEvidenceRequest): Promise<QueryAllEvidenceResponse>;
};

View File

@ -1,38 +0,0 @@
import { Any, AnySDKType } from "../../../google/protobuf/any";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* MsgSubmitEvidence represents a message that supports submitting arbitrary
* Evidence of misbehavior such as equivocation or counterfactual signing.
*/
export interface MsgSubmitEvidence {
submitter: string;
evidence?: Any;
}
/**
* MsgSubmitEvidence represents a message that supports submitting arbitrary
* Evidence of misbehavior such as equivocation or counterfactual signing.
*/
export interface MsgSubmitEvidenceSDKType {
submitter: string;
evidence?: AnySDKType;
}
/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */
export interface MsgSubmitEvidenceResponse {
/** hash defines the hash of the evidence. */
hash: Uint8Array;
}
/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */
export interface MsgSubmitEvidenceResponseSDKType {
hash: Uint8Array;
}
export declare const MsgSubmitEvidence: {
encode(message: MsgSubmitEvidence, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidence;
fromPartial(object: DeepPartial<MsgSubmitEvidence>): MsgSubmitEvidence;
};
export declare const MsgSubmitEvidenceResponse: {
encode(message: MsgSubmitEvidenceResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse;
fromPartial(object: DeepPartial<MsgSubmitEvidenceResponse>): MsgSubmitEvidenceResponse;
};

View File

@ -1,15 +0,0 @@
import { Rpc } from "../../../helpers";
import { MsgSubmitEvidence, MsgSubmitEvidenceResponse } from "./tx";
/** Msg defines the evidence Msg service. */
export interface Msg {
/**
* SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or
* counterfactual signing.
*/
submitEvidence(request: MsgSubmitEvidence): Promise<MsgSubmitEvidenceResponse>;
}
export declare class MsgClientImpl implements Msg {
private readonly rpc;
constructor(rpc: Rpc);
submitEvidence(request: MsgSubmitEvidence): Promise<MsgSubmitEvidenceResponse>;
}

View File

@ -1,111 +0,0 @@
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
import { Duration, DurationSDKType } from "../../../google/protobuf/duration";
import { Any, AnySDKType } from "../../../google/protobuf/any";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* BasicAllowance implements Allowance with a one-time grant of tokens
* that optionally expires. The grantee can use up to SpendLimit to cover fees.
*/
export interface BasicAllowance {
/**
* spend_limit specifies the maximum amount of tokens that can be spent
* by this allowance and will be updated as tokens are spent. If it is
* empty, there is no spend limit and any amount of coins can be spent.
*/
spendLimit: Coin[];
/** expiration specifies an optional time when this allowance expires */
expiration?: Date;
}
/**
* BasicAllowance implements Allowance with a one-time grant of tokens
* that optionally expires. The grantee can use up to SpendLimit to cover fees.
*/
export interface BasicAllowanceSDKType {
spend_limit: CoinSDKType[];
expiration?: Date;
}
/**
* PeriodicAllowance extends Allowance to allow for both a maximum cap,
* as well as a limit per time period.
*/
export interface PeriodicAllowance {
/** basic specifies a struct of `BasicAllowance` */
basic?: BasicAllowance;
/**
* period specifies the time duration in which period_spend_limit coins can
* be spent before that allowance is reset
*/
period?: Duration;
/**
* period_spend_limit specifies the maximum number of coins that can be spent
* in the period
*/
periodSpendLimit: Coin[];
/** period_can_spend is the number of coins left to be spent before the period_reset time */
periodCanSpend: Coin[];
/**
* period_reset is the time at which this period resets and a new one begins,
* it is calculated from the start time of the first transaction after the
* last period ended
*/
periodReset?: Date;
}
/**
* PeriodicAllowance extends Allowance to allow for both a maximum cap,
* as well as a limit per time period.
*/
export interface PeriodicAllowanceSDKType {
basic?: BasicAllowanceSDKType;
period?: DurationSDKType;
period_spend_limit: CoinSDKType[];
period_can_spend: CoinSDKType[];
period_reset?: Date;
}
/** AllowedMsgAllowance creates allowance only for specified message types. */
export interface AllowedMsgAllowance {
/** allowance can be any of basic and periodic fee allowance. */
allowance?: Any;
/** allowed_messages are the messages for which the grantee has the access. */
allowedMessages: string[];
}
/** AllowedMsgAllowance creates allowance only for specified message types. */
export interface AllowedMsgAllowanceSDKType {
allowance?: AnySDKType;
allowed_messages: string[];
}
/** Grant is stored in the KVStore to record a grant with full context */
export interface Grant {
/** granter is the address of the user granting an allowance of their funds. */
granter: string;
/** grantee is the address of the user being granted an allowance of another user's funds. */
grantee: string;
/** allowance can be any of basic, periodic, allowed fee allowance. */
allowance?: Any;
}
/** Grant is stored in the KVStore to record a grant with full context */
export interface GrantSDKType {
granter: string;
grantee: string;
allowance?: AnySDKType;
}
export declare const BasicAllowance: {
encode(message: BasicAllowance, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): BasicAllowance;
fromPartial(object: DeepPartial<BasicAllowance>): BasicAllowance;
};
export declare const PeriodicAllowance: {
encode(message: PeriodicAllowance, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicAllowance;
fromPartial(object: DeepPartial<PeriodicAllowance>): PeriodicAllowance;
};
export declare const AllowedMsgAllowance: {
encode(message: AllowedMsgAllowance, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AllowedMsgAllowance;
fromPartial(object: DeepPartial<AllowedMsgAllowance>): AllowedMsgAllowance;
};
export declare const Grant: {
encode(message: Grant, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Grant;
fromPartial(object: DeepPartial<Grant>): Grant;
};

View File

@ -1,16 +0,0 @@
import { Grant, GrantSDKType } from "./feegrant";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** GenesisState contains a set of fee allowances, persisted from the store */
export interface GenesisState {
allowances: Grant[];
}
/** GenesisState contains a set of fee allowances, persisted from the store */
export interface GenesisStateSDKType {
allowances: GrantSDKType[];
}
export declare const GenesisState: {
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
};

View File

@ -1,101 +0,0 @@
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
import { Grant, GrantSDKType } from "./feegrant";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */
export interface QueryAllowanceRequest {
/** granter is the address of the user granting an allowance of their funds. */
granter: string;
/** grantee is the address of the user being granted an allowance of another user's funds. */
grantee: string;
}
/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */
export interface QueryAllowanceRequestSDKType {
granter: string;
grantee: string;
}
/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */
export interface QueryAllowanceResponse {
/** allowance is a allowance granted for grantee by granter. */
allowance?: Grant;
}
/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */
export interface QueryAllowanceResponseSDKType {
allowance?: GrantSDKType;
}
/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */
export interface QueryAllowancesRequest {
grantee: string;
/** pagination defines an pagination for the request. */
pagination?: PageRequest;
}
/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */
export interface QueryAllowancesRequestSDKType {
grantee: string;
pagination?: PageRequestSDKType;
}
/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */
export interface QueryAllowancesResponse {
/** allowances are allowance's granted for grantee by granter. */
allowances: Grant[];
/** pagination defines an pagination for the response. */
pagination?: PageResponse;
}
/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */
export interface QueryAllowancesResponseSDKType {
allowances: GrantSDKType[];
pagination?: PageResponseSDKType;
}
/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */
export interface QueryAllowancesByGranterRequest {
granter: string;
/** pagination defines an pagination for the request. */
pagination?: PageRequest;
}
/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */
export interface QueryAllowancesByGranterRequestSDKType {
granter: string;
pagination?: PageRequestSDKType;
}
/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */
export interface QueryAllowancesByGranterResponse {
/** allowances that have been issued by the granter. */
allowances: Grant[];
/** pagination defines an pagination for the response. */
pagination?: PageResponse;
}
/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */
export interface QueryAllowancesByGranterResponseSDKType {
allowances: GrantSDKType[];
pagination?: PageResponseSDKType;
}
export declare const QueryAllowanceRequest: {
encode(message: QueryAllowanceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceRequest;
fromPartial(object: DeepPartial<QueryAllowanceRequest>): QueryAllowanceRequest;
};
export declare const QueryAllowanceResponse: {
encode(message: QueryAllowanceResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse;
fromPartial(object: DeepPartial<QueryAllowanceResponse>): QueryAllowanceResponse;
};
export declare const QueryAllowancesRequest: {
encode(message: QueryAllowancesRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesRequest;
fromPartial(object: DeepPartial<QueryAllowancesRequest>): QueryAllowancesRequest;
};
export declare const QueryAllowancesResponse: {
encode(message: QueryAllowancesResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse;
fromPartial(object: DeepPartial<QueryAllowancesResponse>): QueryAllowancesResponse;
};
export declare const QueryAllowancesByGranterRequest: {
encode(message: QueryAllowancesByGranterRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterRequest;
fromPartial(object: DeepPartial<QueryAllowancesByGranterRequest>): QueryAllowancesByGranterRequest;
};
export declare const QueryAllowancesByGranterResponse: {
encode(message: QueryAllowancesByGranterResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse;
fromPartial(object: DeepPartial<QueryAllowancesByGranterResponse>): QueryAllowancesByGranterResponse;
};

View File

@ -1,11 +0,0 @@
import { LCDClient } from "@osmonauts/lcd";
import { QueryAllowanceRequest, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponseSDKType } from "./query";
export declare class LCDQueryClient {
req: LCDClient;
constructor({ requestClient }: {
requestClient: LCDClient;
});
allowance(params: QueryAllowanceRequest): Promise<QueryAllowanceResponseSDKType>;
allowances(params: QueryAllowancesRequest): Promise<QueryAllowancesResponseSDKType>;
allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponseSDKType>;
}

View File

@ -1,27 +0,0 @@
import { Rpc } from "../../../helpers";
import { QueryClient } from "@cosmjs/stargate";
import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query";
/** Query defines the gRPC querier service. */
export interface Query {
/** Allowance returns fee granted to the grantee by the granter. */
allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
/** Allowances returns all the grants for address. */
allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
/**
* AllowancesByGranter returns all the grants given by an address
* Since v0.46
*/
allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
}
export declare class QueryClientImpl implements Query {
private readonly rpc;
constructor(rpc: Rpc);
allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
}
export declare const createRpcQueryExtension: (base: QueryClient) => {
allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
};

View File

@ -1,68 +0,0 @@
import { Any, AnySDKType } from "../../../google/protobuf/any";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/**
* MsgGrantAllowance adds permission for Grantee to spend up to Allowance
* of fees from the account of Granter.
*/
export interface MsgGrantAllowance {
/** granter is the address of the user granting an allowance of their funds. */
granter: string;
/** grantee is the address of the user being granted an allowance of another user's funds. */
grantee: string;
/** allowance can be any of basic, periodic, allowed fee allowance. */
allowance?: Any;
}
/**
* MsgGrantAllowance adds permission for Grantee to spend up to Allowance
* of fees from the account of Granter.
*/
export interface MsgGrantAllowanceSDKType {
granter: string;
grantee: string;
allowance?: AnySDKType;
}
/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */
export interface MsgGrantAllowanceResponse {
}
/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */
export interface MsgGrantAllowanceResponseSDKType {
}
/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */
export interface MsgRevokeAllowance {
/** granter is the address of the user granting an allowance of their funds. */
granter: string;
/** grantee is the address of the user being granted an allowance of another user's funds. */
grantee: string;
}
/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */
export interface MsgRevokeAllowanceSDKType {
granter: string;
grantee: string;
}
/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */
export interface MsgRevokeAllowanceResponse {
}
/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */
export interface MsgRevokeAllowanceResponseSDKType {
}
export declare const MsgGrantAllowance: {
encode(message: MsgGrantAllowance, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowance;
fromPartial(object: DeepPartial<MsgGrantAllowance>): MsgGrantAllowance;
};
export declare const MsgGrantAllowanceResponse: {
encode(_: MsgGrantAllowanceResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse;
fromPartial(_: DeepPartial<MsgGrantAllowanceResponse>): MsgGrantAllowanceResponse;
};
export declare const MsgRevokeAllowance: {
encode(message: MsgRevokeAllowance, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowance;
fromPartial(object: DeepPartial<MsgRevokeAllowance>): MsgRevokeAllowance;
};
export declare const MsgRevokeAllowanceResponse: {
encode(_: MsgRevokeAllowanceResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse;
fromPartial(_: DeepPartial<MsgRevokeAllowanceResponse>): MsgRevokeAllowanceResponse;
};

View File

@ -1,21 +0,0 @@
import { Rpc } from "../../../helpers";
import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx";
/** Msg defines the feegrant msg service. */
export interface Msg {
/**
* GrantAllowance grants fee allowance to the grantee on the granter's
* account with the provided expiration time.
*/
grantAllowance(request: MsgGrantAllowance): Promise<MsgGrantAllowanceResponse>;
/**
* RevokeAllowance revokes any fee allowance of granter's account that
* has been granted to the grantee.
*/
revokeAllowance(request: MsgRevokeAllowance): Promise<MsgRevokeAllowanceResponse>;
}
export declare class MsgClientImpl implements Msg {
private readonly rpc;
constructor(rpc: Rpc);
grantAllowance(request: MsgGrantAllowance): Promise<MsgGrantAllowanceResponse>;
revokeAllowance(request: MsgRevokeAllowance): Promise<MsgRevokeAllowanceResponse>;
}

View File

@ -1,16 +0,0 @@
import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../../helpers";
/** GenesisState defines the raw genesis transaction in JSON. */
export interface GenesisState {
/** gen_txs defines the genesis transactions. */
genTxs: Uint8Array[];
}
/** GenesisState defines the raw genesis transaction in JSON. */
export interface GenesisStateSDKType {
gen_txs: Uint8Array[];
}
export declare const GenesisState: {
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
};

Some files were not shown because too many files have changed in this diff Show More