Compare commits

..
1072 Commits
Author SHA1 Message Date
liangping ba743e2085 reorder links 2022-10-29 09:52:32 +08:00
liangping a695db9320 remove social links 2022-10-29 09:25:00 +08:00
ping 9c900bcd54 Merge pull request #246 from effofxprime/master
Adding Rebus Chain
2022-10-29 08:40:48 +08:00
Erialos 4b13fb7291 Update rebus.json 2022-10-28 08:47:25 -06:00
Erialos f27bbec54c Merge branch 'master' of https://github.com/effofxprime/pingpub_explorer 2022-10-28 08:44:11 -06:00
Erialos 1f9645dc35 Update rebus.json 2022-10-28 08:43:57 -06:00
Erialos ca2d2314d8 Merge branch 'ping-pub:master' into master 2022-10-28 08:43:15 -06:00
ping a6419a0a11 Merge pull request #245 from nodestake/ping-PR
Add jackal rpc/api by NodeStake
2022-10-28 17:33:39 +08:00
NodeStake 43681f3251 Add jackal rpc/api by NodeStake 2022-10-28 15:40:07 +08:00
liangping f11c119f43 add autoclean storage 2022-10-28 14:10:03 +08:00
liangping f03ee64cfa remove validator cache 2022-10-28 13:39:18 +08:00
liangping cb7a3321d6 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-10-28 13:31:39 +08:00
liangping 427d6bb241 remove quotos 2022-10-28 13:10:47 +08:00
ping fb9959b7b5 Merge pull request #244 from polkachu/master
fix jackal endpoints
2022-10-28 13:02:53 +08:00
Polkachu 0bdfb30705 fix bad code 2022-10-27 21:59:28 -07:00
liangping f309b899fc remove console 2022-10-28 12:21:37 +08:00
liangping 676e19ed1d remove price cache 2022-10-28 12:11:46 +08:00
liangping b684059eb0 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-10-28 11:18:41 +08:00
liangping c4cf50b4ca add frequency 2022-10-28 11:18:30 +08:00
liangping af061b553d fix typo 2022-10-28 11:18:20 +08:00
Polkachu 057f842544 fix jackal endpoints 2022-10-27 18:11:30 -07:00
Erialos e8006eb966 Update rebus.json 2022-10-27 17:40:46 -06:00
ping d469b394b4 Merge pull request #243 from polkachu/master
add polkachu endpoint for jackal
2022-10-28 07:21:30 +08:00
Erialos 6988f2e1db rebus network 2022-10-27 17:03:31 -06:00
Polkachu 70a29ce9f7 update 2022-10-27 10:45:02 -07:00
Polkachu 644f0fd946 update 2022-10-27 09:15:44 -07:00
Polkachu 10e58ea7d4 add polkachu endpoint for jackal 2022-10-26 11:05:12 -07:00
liangping 44be3478fa upgrade github action 2022-10-26 18:49:52 +08:00
ping 937ef1c880 Merge pull request #242 from ping-pub/check
add config workflow
2022-10-26 18:28:26 +08:00
liangping c5eba544c8 update 2022-10-26 18:27:19 +08:00
liangping 629a29c235 update endpoint 2022-10-26 18:23:20 +08:00
liangping 1e106152e6 remove unavailable endpoint 2022-10-26 18:18:44 +08:00
liangping b42621023e remove unavailable 2022-10-26 18:14:51 +08:00
liangping d5a5f8cdea upgrade checkout action 2022-10-26 18:12:53 +08:00
liangping b1c8cf1396 add more provider 2022-10-26 18:09:06 +08:00
liangping d6871295d0 debug check 2022-10-26 17:56:09 +08:00
liangping 06782b31e2 remove snapshot 2022-10-26 17:37:54 +08:00
liangping 8dabf724f2 remove field 2022-10-26 17:34:24 +08:00
liangping eadf0ae2a2 update cosmos rpc 2022-10-26 17:25:54 +08:00
liangping b10e2a6ffc add config workflow 2022-10-26 17:22:10 +08:00
ping a6d3762cc0 Merge pull request #240 from manolius148/master
Rename lumenx.json.disabled to lumenx.json
2022-10-26 09:29:31 +08:00
ping 9779585eeb Merge pull request #241 from JackalLabs/jackal-main
Jackal goes Mainnet
2022-10-26 09:27:03 +08:00
Marston Connell 0618336741 jackal mainnet 2022-10-25 21:17:05 -04:00
manolius148 92f7fd9275 Rename lumenx.json.disabled to lumenx.json
It's of the community interest to get the highest visibility for this Blockchain. Please do not comply with malintentioned or interested petitions to shut down networks. Fair play.
2022-10-25 10:31:17 +02:00
liangping 7e5d2b64f0 reduce frequency 2022-10-25 10:05:09 +08:00
ping 7c5aa6b727 Merge pull request #238 from JackalLabs/jackal
Adding Jackal to Testnet
2022-10-24 09:19:39 +08:00
Marston Connell 7f48c4a40f fixing version 2022-10-21 10:13:24 -04:00
Marston Connell c7c2394d10 fixed rpc 2022-10-21 10:13:24 -04:00
Marston Connell 9e250d747f Merge branch 'ping-pub:master' into jackal 2022-10-21 10:10:00 -04:00
Marston Connell 119c7a8a32 jackal in testnet 2022-10-21 10:09:43 -04:00
Marston Connell 6aa24beff1 moving jackal to mainnet 2022-10-20 18:35:19 -04:00
ping e166acc803 Merge pull request #233 from okp4/okp4-testnet
Add OKP4 testnet
2022-10-20 18:52:36 +08:00
ping bf07689f6c Merge pull request #235 from effofxprime/master
Vidulum Version change
2022-10-20 18:51:51 +08:00
ping 4788510f6c Merge pull request #234 from ech-world/patch-1
Add ech.world API and RPC URLs
2022-10-20 18:51:14 +08:00
Erialos 3f09205957 Update vidulum.json 2022-10-20 02:54:44 -06:00
ech-world f81291dbc5 Add ech.world API and RPC URLs 2022-10-20 10:45:49 +03:00
liangping bc82cc9577 add withdraw on dashboard 2022-10-20 09:16:57 +08:00
Marston Connell 2557a50cc4 fixed 2022-10-19 21:09:29 -04:00
ping 55e6b00d9a Merge pull request #232 from commercionetwork/master
Add mainnet commercio.network
2022-10-20 08:54:40 +08:00
Marston Connell 7a7b4a0ffe jackal test 2022-10-19 20:49:04 -04:00
ccamel 6ac8646d06 add okp4 logo 2022-10-19 11:49:02 +02:00
ccamel 1a2eb87fb7 add okp4 testnet 2022-10-19 11:48:57 +02:00
Marco Ruaro fc38fd0f0a Add commercio.network mainnet conf 2022-10-19 09:22:21 +02:00
ping 27add6de3c Merge pull request #230 from commercionetwork/master
Add testnet commercio.network
2022-10-19 09:25:43 +08:00
ping 5daf2e0ec5 Merge pull request #231 from Clarxxon/master
Rename lumenx.json to lumenx.json.disabled
2022-10-19 07:06:33 +08:00
Clarxxon | Stakewolle 25c2e8eb3d Rename lumenx.json to lumenx.json.disabled 2022-10-18 20:25:38 +03:00
Marco Ruaro 047c7b1500 Add testnet commercio.network 2022-10-18 10:49:14 +02:00
liangping 6d0d2f1ee9 fix: proposal status 2022-10-17 15:35:43 +08:00
liangping e0a008b466 add support for v0.46.1 2022-10-16 17:06:25 +08:00
liangping 5ce328c6b2 Merge branches 'master' and 'master' of https://github.com/ping-pub/explorer 2022-10-16 11:12:03 +08:00
liangping 43e403c061 add group 2022-10-16 11:11:44 +08:00
liangping efbf2731e0 patch for uptime issue 2022-10-16 10:37:54 +08:00
ping 81e039d05d Merge pull request #228 from PrasoonPratham/master
Spelling mistake
2022-10-15 12:41:37 +08:00
Pratham Prasoon 825545b6bf Spelling mistake
Moniter -> Monitor
2022-10-15 01:01:10 +05:30
ping 82f5248861 Merge pull request #227 from Neschadin/master
update haqq to testedge-2 & logos .svg
2022-10-14 23:23:14 +08:00
Neschadin Aleksandr 171f25f372 Update haqq.json 2022-10-14 14:47:36 +03:00
Neschadin Aleksandr 68d6420256 Create islm.svg 2022-10-14 14:46:40 +03:00
Neschadin Aleksandr 8298226c16 Create haqq.svg 2022-10-14 14:44:16 +03:00
ping 1461d77bb8 Merge pull request #225 from PantheaEU/master
Update shentu.json
2022-10-13 10:38:50 +08:00
Panthea EU 82a9e53393 Update shentu.json 2022-10-12 15:21:07 +02:00
liangping b37c74aeb4 update default fee 2022-10-12 17:53:33 +08:00
ping 289d4df50b Merge pull request #223 from adamewozniak/master
Update umee.json
2022-10-12 10:27:12 +08:00
Adam Wozniak 1d0e30c846 fix umee endpoints 2022-10-11 09:00:25 -06:00
ping 20ecc14ab8 Merge pull request #221 from effofxprime/master
Juno and Teritori Icon - fetch.js fix
2022-10-11 20:19:26 +08:00
Erialos 7f26e31422 Possible fix for fetch.js
When I was looking at the code this morning, I incorrectly interpreted it's purpose.

I see my issue that I had reading it this morning.  Reverted back to the original.
2022-10-10 16:05:56 -06:00
liangping 3982286c2b update version 2022-10-11 00:10:21 +08:00
liangping 0e5466d898 fix 2022-10-10 23:59:45 +08:00
Erialos f0cefc17db Aura network
CORS has been fixed and is ready to go for when mainnet goes live.

After speaking with the team, they wanted to wait until next month for the listing on Pingpub.  They are on a 'testnet' right now in prep for Mainnet.  Current testnet is being treated as mainnet.

Sorry for the bouncing around.
2022-10-10 09:08:46 -06:00
Erialos d0ab40da1b fetch.js fix
This morning the Vidulum chain was showing all validators as red and missed blocks.

There might be a more inline way to do the logic but it wasn't comparing both to be greater than 1.  After making sure both were compared against, the update for Vidulum was resolved.

I also spot checked a few other chains to ensure their uptimes were showing properly and they were.
2022-10-10 06:58:45 -06:00
Erialos e15789e095 Update vidulum.json 2022-10-10 06:42:45 -06:00
Erialos 26330fec28 Merge branch 'ping-pub:master' into master 2022-10-10 06:28:58 -06:00
Erialos 83c799e5ce Create teritori.svg 2022-10-10 06:28:32 -06:00
Erialos bd94dd60ad Juno old icon
fixed the usage of the old juno icon
2022-10-10 06:27:33 -06:00
liangping 830a03b02b Fix issue on lum 2022-10-10 18:09:25 +08:00
ping 657ba8aa85 Merge pull request #216 from effofxprime/master
Updated gitignore and chain files
2022-10-10 17:34:43 +08:00
Erialos 63c94982fc Chain File corrections and update
Some of the chain files I updated were done on an older chain file, and so some of the new information was lost.

I went through all chains that I found a github link for, verified the cosmos sdk version and change it respectively.

Some of the chains do not have a link to github.  Others have an improper link to their repo, some links go to another project within their repo and some were just wrong.

Probably worth figuring out how to auto fetch the current SDK version instead of it being a manual configuration.
2022-10-09 06:41:19 -06:00
Erialos b88cce7b5a Merge remote-tracking branch 'upstream/master' 2022-10-08 11:39:11 -06:00
liangping 6225c1b66f improve proposal display 2022-10-08 09:31:15 +08:00
liangping 99cb79e0cd fix proposal content is nill 2022-10-08 08:35:22 +08:00
Erialos 0d36329a0d fixed vidulums api order
My API shouldn't be first.  switched the order so the Main official RPC server is used.
2022-10-07 08:56:12 -06:00
Erialos 2d2733a15d Feature update - Add Discord option to dashboard
This feature add's the discord chat link if one exists inside the `chat_url`.  I filter and search for a link containing `discord`.  Then if matching, displays the link.
2022-10-07 08:25:38 -06:00
Erialos 5eef53e294 Updated gitignore and chain files
There were a few odd issues with some of the RPC's blocking certain calls for some chains.  I don't know all affected, as I only use a few that the true ping.pub repository uses.
Stargaze was one.

I have added Polkachu and Notional API and RPC endpoints.

I have updated the git ignore file to exclude some of the yarn files created when running that command.
2022-10-06 08:42:58 -06:00
liangping fa83df53de add block number switch 2022-10-06 15:58:55 +08:00
liangping 5f42df584a add slashes 2022-10-06 09:56:14 +08:00
liangping 2fca7644bf improvement 2022-10-06 09:30:54 +08:00
liangping 9fc2328ab6 fixed issue: display moniker on blocks 2022-10-06 08:40:33 +08:00
liangping 12fde18e75 change back 2022-10-05 20:41:09 +08:00
liangping 0869c7a93b change menu style 2022-10-05 17:19:54 +08:00
ping feaa92ab58 Update README.md 2022-10-04 16:01:50 +08:00
ping 29e9c15f08 Create FUNDING.yml 2022-10-04 15:57:20 +08:00
ping 40fc12ad23 Merge pull request #214 from polkachu/master
Add empower testnet
2022-10-04 10:10:25 +08:00
Polkachu 74488f51bc fix typo 2022-10-03 09:20:06 -07:00
Polkachu 63f3d7f23c add empower testnet 2022-10-03 09:18:20 -07:00
Polkachu 7e30c32d03 add empower testnet 2022-10-03 09:17:19 -07:00
ping 8deec2a5b5 Merge pull request #211 from polkachu/master
Add androma testnet
2022-09-30 09:15:43 +08:00
Polkachu d65a7eee16 minor upgrade 2022-09-29 09:00:23 -07:00
Polkachu 1d644aef2f add androma testnet 2022-09-29 08:58:41 -07:00
Polkachu 224499957a add androma testnet 2022-09-29 08:57:56 -07:00
ping 870798bba0 Merge pull request #209 from polkachu/master
Add quicksilver testnet
2022-09-27 09:23:41 +08:00
ping 36c05dd03c Merge pull request #208 from nodestake/ping-PR
Update stargaze.json
2022-09-27 09:23:08 +08:00
Polkachu a129da309b Add quicksilver testnet 2022-09-26 14:51:17 -07:00
NodeStake f35b21978f Update stargaze.json
Add stargaze rpc/api by NodeStake
2022-09-27 00:07:39 +08:00
liangping b86e5bd884 Fix issue 2022-09-25 13:57:10 +08:00
liangping cca8af5ffd add empty ticker handler 2022-09-25 13:25:58 +08:00
ping 5107b2a5cd Merge pull request #207 from milapsheth/axelar-assets
feat: add more axelar assets
2022-09-25 13:10:34 +08:00
Milap Sheth b24452d3fb add more axelar assets 2022-09-25 00:52:25 -04:00
ping 5cc6a05d89 Merge pull request #206 from Errorist79/axelar
Add Axelar network -mainnet-
2022-09-25 12:48:22 +08:00
liangping 350bdb6cbd fix issue 2022-09-25 09:19:20 +08:00
Errorist 2b16e2d9e6 additional endpoints 2022-09-25 00:04:43 +03:00
Errorist b174772e5b add axelar network 2022-09-24 23:46:15 +03:00
liangping 02e307c6d0 improvement 2022-09-24 09:06:16 +08:00
liangping 7aab7bc353 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-09-24 07:57:25 +08:00
liangping 21484177b6 add export valdiator list to excel 2022-09-24 07:57:13 +08:00
ping 172e42fcc2 Update README.md 2022-09-23 22:37:55 +08:00
liangping 1ff6568d74 improve concensus and uptime 2022-09-23 22:14:26 +08:00
liangping 3dc24113e8 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-09-23 18:19:34 +08:00
liangping 3212b37ab2 add installation and update readme 2022-09-23 16:26:13 +08:00
ping e140b9f03c Merge pull request #204 from polkachu/master
update nois testnet config
2022-09-23 12:20:04 +08:00
Polkachu 218212982d update nois testnet config 2022-09-22 21:17:52 -07:00
ping a3ca07ecab Merge pull request #202 from kaisbaccour/master
add-nois-testnet-chain
2022-09-23 08:34:49 +08:00
liangping f255e6a255 add point coingecko id 2022-09-22 21:13:57 +08:00
Kais 5f72242cc0 add-nois-testnet-chain 2022-09-21 18:29:53 +01:00
liangping f4ce6d75f1 update rizon api 2022-09-21 14:18:52 +08:00
liangping 9b040cc50c add description for outstanding rewards 2022-09-19 08:07:09 +08:00
liangping f299d8229e using amimo for keplr signing 2022-09-19 07:49:59 +08:00
ping 4e31f055d3 Merge pull request #201 from Thor-BadgerBite/patch-2
Update Odin Protocol
2022-09-16 07:31:20 +08:00
Thor Validator edfa6b2657 Update Odin Protocol 2022-09-15 14:08:47 +03:00
liangping 37786b1925 reimplement coffee 2022-09-15 09:48:09 +08:00
liangping 274781b66b Merge branch 'master' of https://github.com/ping-pub/explorer 2022-09-14 19:03:00 +08:00
liangping f764ff4e7c change column 2022-09-14 19:02:51 +08:00
liangping b7aa7593d9 update endpoint 2022-09-14 19:02:35 +08:00
ping 317f901090 Merge pull request #200 from Nodeist/master
Update stride.json
2022-09-13 07:09:22 +08:00
Nodeist 4217882a94 Update kujira.json 2022-09-12 21:02:57 +03:00
Nodeist 856be255ff Update stride.json 2022-09-12 21:01:19 +03:00
liangping 3f12c7d631 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-09-12 20:50:33 +08:00
liangping 230fdc1391 add hidden params checks 2022-09-12 20:50:24 +08:00
ping 81b1d77e14 Merge pull request #199 from nodestake/patch-1
Add rpc/api of agoric/canto/cheqd/decentr/evmos/gravitybridge/kichain/omniflix/passage/point/stafihub/stride by NodeStake
2022-09-12 14:57:05 +08:00
NodeStake 1eb60d0998 Update stride.json
Add stirde rpc/api by NodeStake
2022-09-12 12:05:24 +08:00
NodeStake 9a1ed8b6c9 Update stafihub.json
Add stafihub rpc/api by NodeStake
2022-09-12 12:04:47 +08:00
NodeStake d6583af71f Update point.json
Add point rpc/api by NodeStake
2022-09-12 12:03:32 +08:00
NodeStake c920edcdb5 Update passage.json
Add passage rpc/api by NodeStake
2022-09-12 12:02:49 +08:00
NodeStake 00dd3bd0f4 Update omniflix.json
Add omniflix rpc/api by NodeStake
2022-09-12 12:01:54 +08:00
NodeStake 2ec98dfe62 Update kichain.json
Add kichain rpc/api by NodeStake
2022-09-12 12:00:44 +08:00
NodeStake c216d58b18 Update gravitybridge.json
Add gravity-bridge rpc/api by NodeStake
2022-09-12 11:59:57 +08:00
NodeStake e1f16fabfd Update evmos.json
Add evmos rpc/api by NodeStake
2022-09-12 11:58:52 +08:00
NodeStake ef4a42d6ef Update decentr.json
Add decentr rpc/api by NodeStake
2022-09-12 11:58:09 +08:00
NodeStake 66eebfb0ab Update cheqd.json
Add cheqd rpc/api by NodeStake
2022-09-12 11:56:54 +08:00
NodeStake 5af333a5e2 Update agoric.json
Add agoric rpc/api by NodeStake
2022-09-12 11:53:21 +08:00
NodeStake 7debb9f6a6 Update canto.json
Add Canto rpc/api by NodeStake
2022-09-12 11:47:19 +08:00
ping d0a9e94733 Merge pull request #197 from jayjay-crypto/master
Add Fetch.ai and Provenance CoinGecko ID
2022-09-11 20:53:18 +08:00
Jay | Inter Blockchain Services e3af367e57 Update provenance.json 2022-09-11 11:52:43 +02:00
Jay | Inter Blockchain Services 3b96830a7e Update fetchai.json 2022-09-11 11:51:21 +02:00
liangping 4ee34fa18f add endpoint 2022-09-11 14:56:24 +08:00
liangping 0df6b095d6 fix issue 2022-09-11 14:56:18 +08:00
liangping 5d6c0ace74 Repositive 2022-09-11 14:11:25 +08:00
liangping 46f1b29715 fix issue 2022-09-11 10:15:34 +08:00
liangping 5264705e4e add connecting wallet 2022-09-11 10:10:52 +08:00
liangping c00fd6fe8c add payme 2022-09-11 10:03:34 +08:00
liangping c6933d7722 adjust position 2022-09-10 09:26:25 +08:00
liangping db84482590 add point 2022-09-10 09:24:51 +08:00
liangping d30772237f fixed unbonded validator loading issue 2022-09-10 09:24:27 +08:00
liangping 8a602765b5 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-09-06 08:25:30 +08:00
liangping a7c75b947a Fixed the transaction model issue 2022-09-06 08:25:23 +08:00
ping e6bcaa953b Merge pull request #195 from polkachu/master
Add stride mainnet
2022-09-05 09:31:38 +08:00
Polkachu 037ddc771f Add stride mainnet 2022-09-04 13:05:25 -07:00
liangping 8e35f5b81e improve UI. 2022-09-03 16:35:27 +08:00
liangping a7cf84ca44 update dependency version 2022-09-03 13:37:31 +08:00
ping b433670dce Merge pull request #194 from arirubinstein/master
Add Agoric information, and fix typo
2022-09-03 13:16:38 +08:00
liangping db4b27c98e add keplr support for evmos 2022-09-03 12:48:02 +08:00
liangping 5aac799522 formated by eslint 2022-09-03 09:27:31 +08:00
liangping c32c82fdcc add eslint for typescript 2022-09-03 09:26:47 +08:00
Ari Rubinstein fbeb3ae7ba fix: fix webwite typo 2022-09-01 15:52:25 -07:00
Ari Rubinstein 666643f845 fix: update pingpub agoric attributes 2022-09-01 15:48:35 -07:00
liangping cb11ecaccf reduce gov size 2022-08-31 20:03:42 +08:00
liangping 1676247d67 trim spaces 2022-08-31 19:57:58 +08:00
liangping 25947adb43 trim space 2022-08-31 19:51:28 +08:00
liangping cddc6d1c31 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-08-31 19:48:15 +08:00
ping 3db98be00a Merge pull request #192 from humarkx/master
feat: when opening a direct link tx whithout previously loading the d…
2022-08-31 19:15:56 +08:00
humarkx 485591aea2 feat: when opening a direct link tx whithout previously loading the dashboard would break ui 2022-08-31 11:32:50 +01:00
liangping 8cf5942065 Fix issues 2022-08-30 08:33:15 +08:00
liangping 081421d76e fix balances 2022-08-29 08:13:26 +08:00
liangping d62cbf14fb Fix signing issue 2022-08-28 23:06:25 +08:00
liangping 9875281a7d Fix issue in upgrade proposal 2022-08-28 21:22:38 +08:00
liangping 8d64e5c2e0 update supply api 2022-08-28 18:47:46 +08:00
liangping ecfe1f3ec4 fix hash issue and 24H changes 2022-08-28 17:35:01 +08:00
liangping b955949c66 fix issue 2022-08-28 13:43:44 +08:00
liangping 37eff20a6d fix error 2022-08-28 13:15:40 +08:00
liangping 7f0b58435f Merge branch 'master' of https://github.com/ping-pub/explorer 2022-08-28 13:08:54 +08:00
liangping 7588f7a020 add coingecko id 2022-08-28 12:23:00 +08:00
liangping b0492e7260 add v0.46.0 compatible 2022-08-28 12:22:46 +08:00
ping f35a30b66d Merge pull request #191 from polkachu/master
upgrade craft.json for testnet
2022-08-28 07:32:01 +08:00
Polkachu 6257d37b90 upgrade craft.json for testnet 2022-08-27 08:35:58 -07:00
liangping bc25fce1cc add alias support 2022-08-27 21:14:16 +08:00
liangping ebad319fcd Merge branch 'master' of https://github.com/ping-pub/explorer 2022-08-27 16:37:28 +08:00
liangping 391ed633e6 remove console 2022-08-27 16:37:18 +08:00
ping 51c27dab8b Merge pull request #190 from polkachu/master
add craft testnet
2022-08-27 16:32:38 +08:00
liangping ab83fa3d46 disable okexchain 2022-08-26 19:59:32 +08:00
liangping 7a92e44da9 fix typo 2022-08-26 19:59:18 +08:00
liangping 3bbef08e06 add commands 2022-08-26 19:59:06 +08:00
liangping e2f041a19f add consensus view 2022-08-26 14:56:49 +08:00
liangping b6dd542cb3 update time format 2022-08-26 08:25:09 +08:00
liangping 08ed484f54 add total pairs 2022-08-26 07:18:46 +08:00
liangping 92bda3e52f update labels 2022-08-26 07:04:53 +08:00
Polkachu ef1e5756c0 add craft testnet 2022-08-25 10:32:21 -07:00
liangping 7e3b4805b7 change colors 2022-08-25 17:03:38 +08:00
liangping c40164aae0 fix telegram link 2022-08-25 16:33:25 +08:00
liangping c0062be2de fix typo 2022-08-25 16:21:17 +08:00
liangping 3f6c476cec set larger number for txs 2022-08-25 15:05:53 +08:00
liangping 07bd6ee4b1 add recent transactions 2022-08-25 14:57:51 +08:00
liangping 19d44be755 add app version 2022-08-25 12:36:20 +08:00
liangping 566fae5916 improve breadcrumb 2022-08-25 11:28:46 +08:00
liangping f286fb1230 improve yaxis label 2022-08-25 11:14:01 +08:00
liangping 2c40847f24 add link to account detail 2022-08-25 11:09:02 +08:00
liangping 390d123681 improve axis label 2022-08-25 11:08:44 +08:00
liangping 1ccba957a0 Use smaller font size. 2022-08-25 10:33:36 +08:00
liangping 1082d56251 improve wallet change 2022-08-25 09:38:39 +08:00
liangping e83e38355f fixe signing issue 2022-08-25 09:14:29 +08:00
liangping 84d0c33cae update coingecko id 2022-08-25 08:59:32 +08:00
liangping 95ed60189d only show native tokens 2022-08-25 08:50:25 +08:00
liangping 53b513fae1 update parameters 2022-08-24 22:59:36 +08:00
liangping 9d3398bcbb update logos 2022-08-24 22:48:03 +08:00
liangping eea6e4361f fixed unbonding issue 2022-08-24 22:01:23 +08:00
liangping aec1bd0d9b Merge branch 'master' of https://github.com/ping-pub/explorer 2022-08-24 21:52:00 +08:00
liangping da77476827 add new Dashboard 2022-08-24 21:51:45 +08:00
ping 07fb8f4178 Merge pull request #186 from PantheaEU/master
Updated endpoints
2022-08-23 12:16:39 +08:00
ping 32475ec827 Merge pull request #187 from polkachu/master
add chihuahua and cerberus testnets
2022-08-23 12:15:22 +08:00
liangping 0fb20ce4f3 add tags and single chain mode 2022-08-23 10:31:32 +08:00
liangping f7491858e0 update left menu 2022-08-23 10:08:25 +08:00
Polkachu afb6a5ecd7 add chihuahua and ceerberus testnets 2022-08-22 12:00:21 -07:00
liangping d0043ca53f filter empty parameters 2022-08-22 12:15:01 +08:00
liangping d95be0340b fixed issue of deplicated token names (LUNA and LUNAC) 2022-08-22 12:14:40 +08:00
liangping 97c30a4853 fix issue 2022-08-22 11:01:12 +08:00
liangping 0380598f4f add single chain mode 2022-08-22 10:45:23 +08:00
liangping fc15673acf rename config files to disabled 2022-08-22 08:32:09 +08:00
liangping 5bd018f9c2 rebranding 2022-08-22 08:27:45 +08:00
liangping cfcedbccfc update api 2022-08-22 08:27:22 +08:00
Panthea EU 1ecc7ebc63 Update shentu.json 2022-08-21 14:08:05 +02:00
Panthea EU feeb0f49b4 Update shentu.json 2022-08-21 14:07:22 +02:00
Panthea EU 1b8dc1deea Update shentu.json 2022-08-21 14:06:54 +02:00
Panthea EU 231b628a2a Update desmos.json 2022-08-21 13:42:00 +02:00
Panthea EU a7501192f9 Update shentu.json 2022-08-21 13:41:03 +02:00
Panthea EU 091462b561 Update cerberus.json 2022-08-21 13:39:46 +02:00
Panthea EU bdf28edb4d Update bitcanna.json 2022-08-21 13:39:20 +02:00
Panthea EU db64473685 Update passage.json 2022-08-21 13:38:36 +02:00
ping d8991fa4f7 Merge pull request #185 from PantheaEU/master
Update passage.json
2022-08-19 14:41:56 +08:00
Panthea EU 5082944fbb Update passage.json 2022-08-19 08:14:06 +02:00
ping 1f7706bfa0 Merge pull request #184 from Tore19/master
Add StaFiHub
2022-08-18 13:14:35 +08:00
Tore19 dce9abad34 Add more assets 2022-08-18 11:50:33 +08:00
Tore19 4071c6468b Add StaFiHub 2022-08-18 11:39:08 +08:00
ping 2f513de7f0 Merge pull request #183 from polkachu/master
add canto
2022-08-18 09:19:55 +08:00
Polkachu 8f22a6c824 add canto 2022-08-17 17:54:53 -07:00
ping 1d03397548 Merge pull request #182 from polkachu/master
add passage
2022-08-18 07:49:36 +08:00
liangping e329847f88 add official endpoint 2022-08-18 07:43:20 +08:00
liangping 10a2520428 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-08-18 07:41:07 +08:00
Polkachu 9c3a03f4fe add passage 2022-08-17 16:39:53 -07:00
ping 39db4ec8bb Merge pull request #180 from metaprotocol-ai/master
Add lumenx
2022-08-17 20:12:42 +08:00
METAPROTOCOL 7a35e6bd4d Add lumenx 2022-08-17 19:44:11 +09:00
ping 9403b74226 Merge pull request #178 from haqq-network/haqq-network
Add haqq-network
2022-08-15 19:21:48 +08:00
Andrey Devops d80c38d1fc feat: remove haqq mainnet confing 2022-08-10 07:58:19 +00:00
Andrey Devops 88529e1ed9 feat: add haqq-network 2022-08-09 12:53:16 +00:00
liangping 797e8f8663 throw a readable Error 2022-08-08 06:48:37 +08:00
liangping cb42dbc42a increase default fee 2022-08-07 08:54:14 +08:00
liangping ef0ef81b4d Fixed Transfer issue 2022-08-05 22:58:24 +08:00
liangping 5cb34379ce update logos, fix issues on evmos based chains 2022-08-05 13:42:06 +08:00
liangping 3248146ebf lower case chain name 2022-08-05 09:30:20 +08:00
liangping cda7253b21 add paramenter to a specific chain 2022-08-05 06:25:16 +08:00
liangping 2d73a3c72e add case insensitive on chain name 2022-08-05 06:24:36 +08:00
ping 5c46da6bfe Merge pull request #175 from puneet2019/patch-2
Update persistence.json
2022-08-03 08:34:49 +08:00
Puneet 0e492ac58e Update persistence.json 2022-08-02 22:40:01 +04:00
ping 93f73a577d Merge pull request #174 from etienne-napoleone/patch-1
Add kujira public lcd/rpc and coingecko id
2022-07-31 14:41:57 +08:00
Etienne Napoleone cc7aaf9f00 feat(chains): add kujira lcd/rpc and coingecko id 2022-07-29 00:21:02 +09:00
ping f8b9f65c86 Merge pull request #173 from arirubinstein/master
fix: add API endpoints, and fix run -> ist
2022-07-27 15:14:19 +08:00
Ari Rubinstein be552ed5c1 fix: add API endpoints, and fix run -> ist 2022-07-26 22:28:12 -07:00
ping 950bf9dcf9 Merge pull request #170 from Nodeist/patch-1
Create sei.json
2022-07-26 08:48:35 +08:00
ping e0e75644ce Merge pull request #172 from williamchong/patch-1
Update likecoin sdk version
2022-07-26 08:48:06 +08:00
liangping ba2c369afa add keplr features 2022-07-26 08:38:07 +08:00
William Chong 8df05231b8 Update likecoin sdk version
We just updated to v3 which is based on 0.45.6 sdk
https://blog.like.co/en/likecoin-chain-upgrade-starferry-overview/
2022-07-26 01:44:45 +08:00
Nodeist be1c182653 Create sei.json 2022-07-23 11:06:36 +03:00
liangping 32364a8cfb add random default validator 2022-07-21 09:13:59 +08:00
liangping 8c043d006f remove api 2022-07-21 09:13:30 +08:00
ping 283decded2 Merge pull request #167 from CosmosElon/patch-1
add rpc Genesis L1
2022-07-19 08:41:52 +08:00
Elon_Nodes 5e5044fb7d add rpc
add rpc https://26657.genesisl1.org:443
2022-07-14 15:45:57 -03:00
ping 7996385835 Merge pull request #166 from jarnek73/master
Update cerberus.json
2022-07-14 09:46:55 +08:00
Jarnek cce9b9cd3f Update cerberus.json 2022-07-11 16:46:51 +02:00
Jarnek ed76c5c3f8 Update cerberus.json 2022-07-11 15:15:04 +02:00
ping b2bec501b4 Merge pull request #165 from echelonfoundation/master
Add Nodestake and Polkachu endpoints for Echelon
2022-07-11 16:14:52 +08:00
Echelon Foundation 2f84524a6f Merge branch 'ping-pub:master' into master 2022-07-10 23:55:52 -06:00
Echelon Foundation dff9bac18d Add Nodestake and Polkachu endpoints for Echelon 2022-07-10 23:55:39 -06:00
ping f551d5b2e2 Merge pull request #162 from jarnek73/master
Update desmos.json
2022-07-11 12:00:23 +08:00
Jarnek d53b844406 Update bitcanna.json 2022-07-10 09:44:48 +02:00
Jarnek 34c6a9ee25 Update bitcanna.json 2022-07-10 09:43:57 +02:00
Jarnek 487a2be4df Update shentu.json 2022-07-10 07:59:40 +02:00
Jarnek 32a342809c Update desmos.json 2022-07-10 07:57:08 +02:00
Jarnek 31149b24d8 Update desmos.json 2022-07-07 17:19:45 +02:00
ping 688af77ed7 Merge pull request #161 from jarnek73/master
Updated desmos.json & shentu.json
2022-07-06 22:55:49 +08:00
Jarnek 29cc79f492 Updated shentu.json 2022-07-06 09:54:18 +02:00
Jarnek 756e63f77f Update desmos.json 2022-07-06 09:50:14 +02:00
Jarnek 967d52722a Update desmos.json
Added api and rpc endpoints
2022-07-06 09:43:31 +02:00
liangping 62f086c74d update endpoint services 2022-07-05 10:18:33 +08:00
liangping 78bdc5f0f3 removed cht 2022-07-05 09:29:54 +08:00
liangping 2606a60d40 remove celestia for now 2022-07-05 08:56:21 +08:00
liangping b9b8ce69ac add carbon 2022-07-05 08:34:39 +08:00
liangping d7aeb4c83a Merge branch 'master' of https://github.com/ping-pub/explorer 2022-07-05 08:25:05 +08:00
ping bc8a474695 Merge pull request #160 from polkachu/master
update Kujira json and add polkachu endpoints to Evmos
2022-07-05 08:06:02 +08:00
Polkachu 7e3c6cbe0c Add polkachu endpoints for Evmos 2022-07-04 16:55:14 -07:00
Polkachu 1691ba201c update Kujira json 2022-07-04 16:53:02 -07:00
ping 5a16a1ae93 Merge pull request #158 from jarnek73/master
Updated shentu.json
2022-07-05 07:14:37 +08:00
ping 4cb6388b9e Merge pull request #159 from polkachu/master
Add Kujira json and logo
2022-07-05 07:14:15 +08:00
Polkachu 223bd519d5 Add Kujira json and logo 2022-07-04 16:12:23 -07:00
Jarnek 2e842c5c0f Updated SDK version 2022-07-04 16:02:59 +02:00
Jarnek c42f156fab Updated shentu api and rpc endpoints 2022-07-04 15:17:56 +02:00
ping 91e510b049 Merge pull request #155 from levackt/fix/secret_endpoints
update Secret Network mainnet config
2022-07-02 09:35:36 +08:00
ping 5de713ed0c Merge pull request #154 from levackt/feature/secret_testnet
Secret Testnet config
2022-07-02 09:35:21 +08:00
Taariq Levack dca240d98d update Secret Network mainnet config 2022-07-01 10:59:00 +02:00
Taariq Levack cd6e8099fd Secret Testnet config 2022-07-01 08:21:56 +02:00
liangping b988859d37 update api/rpc 2022-06-14 15:42:56 +08:00
liangping 2bb2ba5a70 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-06-14 15:32:47 +08:00
liangping 1a9aafbd60 support signning evmos transactions with ledger 2022-06-14 15:30:39 +08:00
ping c58f9d8b6f Merge pull request #150 from njmurarka/patch-1
Updated docs to be more explicit
2022-06-07 18:44:28 +08:00
Neeraj Murarka c036d4a146 Updated docs to be more explicit 2022-06-07 03:35:57 -07:00
ping 46a12be954 Merge pull request #147 from Thor-BadgerBite/patch-1
Update ODIN`S RPC Servers
2022-06-05 17:56:56 +08:00
Thor Validator 04261fff4e Update ODIN`S RPC Servers
Updateing ODIN PROTOCOL RPC servers with the correct one for statesync
2022-06-05 12:06:37 +03:00
liangping 899cb0d20d Fixed signning issue 2022-06-04 09:04:00 +08:00
liangping d8c0f02bc6 add ethereum app 2022-06-03 11:24:05 +08:00
liangping 4ca5dbce33 Fixed address import issue 2022-06-03 11:18:52 +08:00
liangping 41fec13a6e update asset config 2022-05-30 09:54:55 +08:00
liangping acf7875661 add backup endpoint 2022-05-30 09:54:32 +08:00
liangping da734121aa update api endpoint 2022-05-29 08:13:25 +08:00
liangping 968ea7d97b Merge branch 'master' of https://github.com/ping-pub/explorer 2022-05-29 08:09:49 +08:00
liangping 2df962bd24 add terra 2 2022-05-29 08:09:39 +08:00
ping 3b50a8ed0a Merge pull request #143 from memecosmos/MEME
Update Meme
2022-05-26 10:52:59 +08:00
MEME Chain eff7122919 Create meme.json 2022-05-25 22:18:59 +08:00
MEME Chain ace27b8ded Update meme.json 2022-05-25 22:17:28 +08:00
liangping 239fa0b94b remove for now 2022-05-24 16:05:40 +08:00
liangping 94002ae470 remove console 2022-05-24 15:20:20 +08:00
liangping 4b0fc1ea0f Merge branch 'master' of https://github.com/ping-pub/explorer 2022-05-24 15:17:38 +08:00
liangping 37d4ff511c add importing evmos address from ledger 2022-05-24 15:17:25 +08:00
ping 72117d3088 Merge pull request #141 from likecoin/master
fix: update likecoin prefix and sdk_version
2022-05-24 08:39:54 +08:00
William Chong e6b81fa491 fix: update likecoin prefix and sdk_version 2022-05-22 18:00:32 +08:00
liangping 858ca2920c Merge branch 'master' of https://github.com/ping-pub/explorer 2022-05-21 08:19:02 +08:00
liangping 84130b81aa add backup enpoints 2022-05-21 08:18:31 +08:00
ping f614ccffbd Merge pull request #138 from ODIN-PROTOCOL/master
Add odin chain
2022-05-20 16:48:18 +08:00
ping 9abc090678 Merge pull request #140 from loin3/fix/issue-139
fix: not matching between denom and amount in Summary asset view.
2022-05-20 16:47:42 +08:00
jinseong.cho 29d698b97c fix: not matching between denim and amount in Summary asset view. 2022-05-20 17:42:42 +09:00
slandymani f4fa93cf92 change chain name 2022-05-20 11:16:34 +03:00
slandymani 9e6c7aafce add odin chain 2022-05-19 20:48:30 +03:00
Dmytro Kudriavtsev b8038dffb7 Merge pull request #1 from ping-pub/master
update explorer to latest version
2022-05-19 20:41:20 +03:00
liangping 8192b9e1a4 update dependency for ethereum ledger 2022-05-19 21:14:02 +08:00
liangping 7d266ddaf0 debug 2022-05-17 08:53:13 +08:00
liangping ebd8299b55 remove test code 2022-05-17 08:46:51 +08:00
liangping 4e7587a619 improve tolorent for missing field in price 2022-05-17 08:43:31 +08:00
liangping fc39b57115 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-05-17 08:11:47 +08:00
liangping 88ad420008 fixed null issue in pirce changes 2022-05-17 08:11:11 +08:00
liangping 859c7dbc20 change color of proccessbar 2022-05-15 13:33:11 +08:00
liangping f97ba6dbfc Fixed display issue on array 2022-05-15 10:13:52 +08:00
ping d72f63211f Merge pull request #135 from echelonfoundation/patch-2
Update Inflation and Minting for Echelon
2022-05-15 07:49:39 +08:00
ping 9851a58cfb Merge pull request #134 from echelonfoundation/patch-1
Update echelon.json to include Coingecko
2022-05-15 07:05:11 +08:00
Echelon Foundation 8c94488a2a Update Inflation and Minting for Echelon
Updated Inflation and Minting Parameters for Echelon
2022-05-14 16:43:34 -06:00
Echelon Foundation 73dedbeb9c Update echelon.json
Add CoinGecko for Echelon
2022-05-14 16:25:30 -06:00
liangping 1c04357c93 add ts config 2022-05-14 11:58:29 +08:00
liangping 87622ee633 Remove unused dependency 2022-05-14 11:03:14 +08:00
liangping 2f485cebcf Fixed overflow issue 2022-05-13 22:34:34 +08:00
liangping ee1f2b6f05 update default fee 2022-05-13 22:34:10 +08:00
liangping 540264a080 add link to right menu 2022-05-13 18:41:28 +08:00
liangping b3d780f4ed add not found 2022-05-13 15:32:36 +08:00
liangping 9ebbd12714 improve UI 2022-05-12 13:37:24 +08:00
liangping ad0d66572d update config 2022-05-12 10:46:10 +08:00
liangping 139b42416a add consensus state monitor tool 2022-05-12 10:03:10 +08:00
liangping 8a2de4fd8a reduce block size 2022-05-12 10:02:44 +08:00
liangping d80919bc97 update api 2022-05-12 10:02:26 +08:00
liangping 2404242d95 enable gravity bridge 2022-05-10 08:34:31 +08:00
liangping afa822529a disable coin_type 60 for now 2022-05-09 16:34:54 +08:00
liangping a892fc305f remove code 2022-05-09 16:34:28 +08:00
liangping 69325703ff Update rpc hosts 2022-05-07 17:20:41 +08:00
liangping ccf519154e show eth address on evm chains 2022-05-06 15:27:33 +08:00
liangping 13c8ccf40f small updates 2022-05-06 14:29:00 +08:00
liangping eec873c966 update api version 2022-05-06 08:59:20 +08:00
liangping 7a3c64981c fixed tally issue 2022-05-06 07:16:18 +08:00
liangping 91cda46e9a update governance 2022-05-05 22:24:45 +08:00
liangping 3b497b0f20 remove files 2022-05-05 12:19:42 +08:00
liangping 640bf71bc5 remove files 2022-05-05 12:10:51 +08:00
liangping e033e8f75b remove unused files 2022-05-05 12:01:00 +08:00
liangping b7f269cb35 remove spaces 2022-05-05 11:44:42 +08:00
ping 6773ef91b2 Merge pull request #123 from Xiti922/patch-3
Update cht.json
2022-05-05 08:42:03 +08:00
ping 38dbaef1e7 Merge pull request #125 from SecretSaturn/master
Fix whitespace
2022-05-04 16:21:49 +08:00
h3rt c7c0c7f9d0 Fix whitespace 2022-05-04 10:18:02 +02:00
ping fea2f1d231 Merge pull request #124 from SecretSaturn/master
Fix Cointype for Secret
2022-05-04 15:19:49 +08:00
liangping 33e4773a89 show validator name before fully loaded 2022-05-04 09:21:31 +08:00
liangping 16395ee0df UI Improvement 2022-05-04 08:53:47 +08:00
h3rt 6d5a0bfc33 Fix Cointype for Secret
The cointype for Secret Network is 529 instead of 523.
2022-05-03 23:50:18 +02:00
Xiti922 986fef28aa Update cht.json 2022-05-03 19:06:47 +02:00
liangping 38ab001a55 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-05-03 23:01:16 +08:00
liangping 054c6ce50e use smaller countdown 2022-05-03 23:01:00 +08:00
ping ca5c6b4690 Merge pull request #122 from Xiti922/patch-2
Update cht.json
2022-05-03 21:29:34 +08:00
liangping bd698ee6c1 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-05-03 21:24:47 +08:00
liangping 7ec132a2f9 show details on my votes 2022-05-03 21:24:37 +08:00
Xiti922 4246df8eb4 Update cht.json
Wrong asset
2022-05-03 14:57:57 +02:00
ping f69310f5b4 Merge pull request #121 from Xiti922/patch-1
Create cht.json
2022-05-03 20:55:12 +08:00
Xiti922 c6b6c3a568 Create cht.json 2022-05-03 14:44:46 +02:00
liangping 87817d13f2 improve ux on mobile view 2022-05-03 19:14:53 +08:00
liangping 9b0e0b77e5 update dependency 2022-05-03 11:20:05 +08:00
liangping 9c52ddb1b5 add custom app support for otherchains 2022-05-03 11:11:43 +08:00
ping 455f69bbc9 Merge pull request #120 from SecretSaturn/master
Add option for Secret Ledger App
2022-05-03 09:58:01 +08:00
h3rt e381f81171 Add option for Secret Ledger App
When the BIP44 cointype is 529 the compatible Secret Ledger app will be used instead of the Cosmos Ledger app which only supports the BIP44 118 cointype
2022-05-01 20:34:12 +02:00
liangping 4cd4103cbe add c29r3 endpoint 2022-04-29 22:15:08 +08:00
liangping 7e3d661e69 fix dark mode 2022-04-27 19:18:25 +08:00
liangping 4060a908aa add short cut for module 2022-04-26 20:09:01 +08:00
liangping c78bbd01c8 Change left bar 2022-04-26 19:32:23 +08:00
liangping d9b1aef629 add spliter 2022-04-26 17:03:14 +08:00
liangping 6eea2fd20d remove ping signer 2022-04-26 13:39:37 +08:00
liangping 4b5a798400 remove console 2022-04-25 18:04:43 +08:00
liangping 2005c6a173 add coingecko_id 2022-04-25 17:47:15 +08:00
liangping 30bbb3d582 add enable keplr for chains 2022-04-25 17:46:51 +08:00
liangping 2fd8085422 change min fee 2022-04-24 22:44:26 +08:00
liangping 3ffd28bc08 add queue for votes loading 2022-04-24 21:30:12 +08:00
liangping e62e642d65 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-24 20:25:52 +08:00
ping 8e66a14ea8 Merge pull request #118 from memecosmos/MEME
Update MEME logo
2022-04-24 20:24:24 +08:00
liangping c9b8cf8066 Fix inflation for evmos 2022-04-24 10:19:44 +08:00
MeMeCosmos ba7a6dce27 Update MEME logo 2022-04-23 16:45:00 +00:00
liangping 4d80a0589d Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-23 22:20:09 +08:00
liangping 4fbaec7fbb replace to replaceAll 2022-04-23 22:19:47 +08:00
ping 8b4942f5dc Merge pull request #117 from memecosmos/MEME
Add MEME
2022-04-23 19:20:47 +08:00
liangping 7cf7ae9a1e change tx api 2022-04-23 13:41:23 +08:00
liangping a10fa99674 change markdown denpedency 2022-04-23 10:06:27 +08:00
liangping 7c8014e072 update token denoms 2022-04-23 09:30:51 +08:00
liangping e8f275246e update configs of evmos 2022-04-23 09:05:03 +08:00
liangping 4795a690a0 improve layout 2022-04-23 09:04:47 +08:00
MeMeCosmos c3e57b9e2c Add MEME 2022-04-22 15:25:36 +00:00
liangping ba3a9d56d4 add upgrade events 2022-04-22 13:56:34 +08:00
liangping e002729931 update markdown dependency 2022-04-22 08:33:46 +08:00
liangping cfbb98c9f6 add markdown. myvotes. 2022-04-21 22:13:35 +08:00
liangping 6b31a47969 improve loading strategy 2022-04-21 11:01:19 +08:00
liangping 332c0416a9 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-20 22:00:30 +08:00
liangping bbc80bd242 change height 2022-04-20 22:00:17 +08:00
liangping f85684d4db update api 2022-04-20 21:59:43 +08:00
ping 9d04c73889 Merge pull request #116 from dckc/patch-1
min_tx_fee 0
2022-04-20 07:09:43 +08:00
Dan Connolly 9c4663d261 min_tx_fee 0 2022-04-19 12:49:28 -05:00
ping d89aa2920f Merge pull request #115 from dckc/patch-2
agoric devnet: prune trailing comma
2022-04-19 07:58:14 +08:00
Dan Connolly f3d72846ba agoric devnet: prune trailing comma 2022-04-18 18:57:12 -05:00
ping 6ead11ae08 Merge pull request #114 from dckc/patch-1
add agoric devnet
2022-04-19 07:39:07 +08:00
Dan Connolly f7a0c57e2c add agoric devnet 2022-04-18 18:18:38 -05:00
liangping 6dfd66b2ce lazyload chain status 2022-04-18 19:55:32 +08:00
liangping 28c6c406a0 add bcre token config 2022-04-18 19:07:23 +08:00
liangping c3852cd8eb Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-18 17:54:34 +08:00
liangping f13545d61b update min fees 2022-04-18 17:54:26 +08:00
ping 34a39be936 Update nym.json 2022-04-18 08:59:16 +08:00
ping 6787563c92 Update nym.json
rename nyx to nym
2022-04-18 08:53:53 +08:00
ping 7a0d4ce9bb Merge pull request #112 from tommyv1987/master
Adding nym mainnet configuration
2022-04-18 08:01:08 +08:00
Tommy 5661776952 Adding nym mainnet configuration
- added json file
- added nym logo
2022-04-17 15:31:35 +01:00
liangping 67cc8bf91b Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-17 20:39:13 +08:00
liangping de32cd3cd4 update default fees 2022-04-17 20:37:43 +08:00
liangping 37e6d3d065 improve UI 2022-04-17 20:37:29 +08:00
ping 3baed15f4c Merge pull request #111 from alpha-omega-labs/patch-2
Update genesisl1.json
2022-04-16 08:17:03 +08:00
alpha-omega-labs 13276c5543 Update genesisl1.json 2022-04-15 11:57:51 -04:00
ping d002ed0c10 Merge pull request #110 from echelonfoundation/master
Add Echelon
2022-04-14 19:11:10 +08:00
Echelon Foundation f6542709dd Update to use local logo 2022-04-14 05:00:04 -06:00
Echelon Foundation fafec0789c Add echelon.gif 2022-04-14 04:59:03 -06:00
Echelon Foundation 766eac071d Add Echelon 2022-04-13 17:24:55 -06:00
liangping ce1611a006 improve Nest Display compnent 2022-04-13 20:46:18 +08:00
liangping e6fec8ab7b optimize wallet 2022-04-13 16:57:19 +08:00
liangping e534b51187 add crescent 2022-04-13 13:40:50 +08:00
liangping 489fbd1df1 remove console 2022-04-12 18:15:21 +08:00
liangping ed69da1586 update config 2022-04-12 17:57:25 +08:00
liangping a081f92992 Move to testnet explorer 2022-04-12 17:57:10 +08:00
liangping 6fceb30b73 show current version for state-sync 2022-04-12 17:52:14 +08:00
liangping 1ef6c55403 update config 2022-04-12 17:31:14 +08:00
liangping a2fbefd86a reload api 2022-04-12 17:30:53 +08:00
liangping 2f99363452 update version and endpoints 2022-04-12 17:01:46 +08:00
liangping c9b890f2da add skeleton 2022-04-12 17:01:23 +08:00
liangping 9ff56778ca add testnet, bitcanna, stargaze, osmosis, bitsong 2022-04-12 11:59:47 +08:00
liangping 286d1760dc Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-12 11:05:07 +08:00
liangping 0a3ba11dca add crescent testnet 2022-04-12 11:04:57 +08:00
ping 6675066cf7 Merge pull request #108 from ping-pub/dependabot/npm_and_yarn/moment-2.29.2
Bump moment from 2.29.1 to 2.29.2
2022-04-12 10:37:17 +08:00
liangping a9fb8c31ef Fixed issue: adding duplicated blocks to chart 2022-04-12 09:27:11 +08:00
liangping 9a930ee1aa remove console.log 2022-04-11 08:36:15 +08:00
liangping d08f86aa49 improve delegations 2022-04-11 08:29:05 +08:00
liangping 516ca8f768 improve delegation 2022-04-10 22:23:07 +08:00
liangping cddc6906c5 Fixed issue on search 2022-04-10 18:30:00 +08:00
liangping 62643e9e07 abbr for long denom 2022-04-10 18:29:43 +08:00
liangping ee92f5eb68 update configs 2022-04-10 13:22:21 +08:00
liangping 2a11df7134 add color to error msg 2022-04-09 22:42:54 +08:00
liangping e18a144720 refresh rewards after withdraw 2022-04-09 22:04:44 +08:00
liangping 3a53717dce improve staking, withdraw 2022-04-09 21:56:40 +08:00
dependabot[bot] 171b9be297 Bump moment from 2.29.1 to 2.29.2
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 11:23:33 +00:00
liangping 87aac3d912 Fix nav bug 2022-04-09 12:38:39 +08:00
liangping 09eb5bcc9f update configs 2022-04-08 19:12:35 +08:00
ping bcb10125ba Merge pull request #107 from donne1226/save-IBCDenoms-to-Store
fix denoms
2022-04-07 12:53:58 +08:00
donne1226 95a099445d fix 2022-04-06 22:04:57 +08:00
donne1226 edb48bc4c4 fix denoms 2022-04-06 22:03:40 +08:00
liangping a8a3a202eb fix decimals for gravity assets 2022-04-06 19:43:11 +08:00
liangping 7469cd1178 add valuation 2022-04-06 19:03:25 +08:00
liangping dd4869353a update index 2022-04-06 13:03:12 +08:00
liangping 46057d913a fix error message 2022-04-06 12:43:19 +08:00
liangping 0a283f92ac improve overlay 2022-04-06 12:40:51 +08:00
liangping 5a5389b6e2 improve layout 2022-04-06 12:34:23 +08:00
liangping 673c73855d add simulate method 2022-04-06 11:39:48 +08:00
liangping 582df535f7 update configs 2022-04-06 08:28:16 +08:00
ping 87dedbd6f0 Merge pull request #106 from donne1226/save-IBCDenoms-to-Store
Save ibc denoms to store
2022-04-06 08:25:00 +08:00
donne1226 59252e0118 fix 2022-04-05 23:33:55 +08:00
donne1226 01408d2607 done save IBCDenoms to store 2022-04-05 23:31:06 +08:00
donne ccc4811fa5 fix 2022-04-05 21:51:55 +08:00
donne 6dfeb9aa38 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-05 16:24:30 +08:00
liangping 5f883b8732 remove console 2022-04-05 14:25:23 +08:00
liangping 25add4bb2c Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-05 14:19:41 +08:00
ping 197d4a3fef Merge pull request #105 from donne1226/master
fix selectedChain
2022-04-05 14:18:28 +08:00
liangping d7a5f51784 use 18 decimals for denoms starts with gravity 2022-04-05 14:09:05 +08:00
donne c91b1f72d7 fix 2022-04-05 11:27:21 +08:00
donne 893e6ed853 fix 2022-04-05 11:21:38 +08:00
donne 52c1d7f5e9 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-05 11:18:07 +08:00
liangping 147dda76e3 improve UX of account management 2022-04-05 11:08:35 +08:00
donne 08419f3f27 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-05 11:07:33 +08:00
donne a1c9f6e7ca fix selectedChain 2022-04-05 11:07:09 +08:00
ping 74f604bebf Merge pull request #104 from donne1226/master
remove old operation components
2022-04-05 08:10:41 +08:00
donne c8f3dcdaaf Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-04 23:21:52 +08:00
ping 0469cbc70b Merge pull request #103 from donne1226/master
remove console
2022-04-04 23:20:26 +08:00
donne 16f64d4fe1 remove old operation components 2022-04-04 23:17:32 +08:00
donne 161a6d6c67 remove console 2022-04-04 23:13:33 +08:00
ping f5126c553a Merge pull request #102 from donne1226/master
reimplement operation modal
2022-04-04 23:06:07 +08:00
donne 285e269f44 Merge branch 're-implement-operation-modal' 2022-04-04 22:56:24 +08:00
donne c2ed88a3eb Merge branch 're-implement-operation-modal' of https://github.com/ping-pub/explorer into re-implement-operation-modal 2022-04-04 22:55:17 +08:00
liangping 27d46e0b13 add wallet swith on menu 2022-04-04 22:51:32 +08:00
liangping 5217cb658d Merge branch 're-implement-operation-modal' of https://github.com/ping-pub/explorer into re-implement-operation-modal 2022-04-04 22:51:03 +08:00
donne bce7188ef3 Merge branch 're-implement-operation-modal' 2022-04-04 20:29:44 +08:00
donne a86b674031 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-04 20:28:21 +08:00
donne 0e062df351 replace all operation modal 2022-04-04 20:22:59 +08:00
donne f61783e686 Merge branch 're-implement-operation-modal' of https://github.com/ping-pub/explorer into re-implement-operation-modal 2022-04-04 17:30:58 +08:00
liangping d37cf6fef0 add error counter 2022-04-04 17:30:06 +08:00
liangping 4864ccf37f update tx boxes 2022-04-04 16:59:23 +08:00
liangping 0993394e1c add timestamp 2022-04-04 16:59:02 +08:00
donne 20f787e1b8 add transaction result 2022-04-03 23:54:53 +08:00
donne c8435f964b Merge branch 're-implement-operation-modal' of https://github.com/donne1226/explorer into re-implement-operation-modal 2022-04-03 20:10:13 +08:00
liangping cd6397937a Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-02 09:39:52 +08:00
ping 99ab836f39 Merge pull request #99 from auditOne/update-persistence
Update persistence
2022-04-02 09:07:32 +08:00
liangping 0f1faf187e change branch for testnet 2022-04-02 08:22:00 +08:00
liangping 484e86fba2 update rpc configs 2022-04-02 08:21:32 +08:00
donne1226 7c93f6f7c7 fix all 2022-04-01 23:28:42 +08:00
liangping c00d5d61a9 add instructions 2022-04-01 08:25:23 +08:00
liangping ba0b6d9a93 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-04-01 08:03:49 +08:00
liangping ee807c2c84 cache avatars for validators 2022-04-01 08:02:52 +08:00
liangping ae9bf25abf select the default address 2022-03-31 23:39:47 +08:00
donne1226 d5c0f26666 fix 2022-03-31 23:01:58 +08:00
Sanjeev b0b6d4ab8b add persistence testnet 2022-03-31 18:08:22 +05:30
Sanjeev db76126d40 Update persistence.json 2022-03-31 18:04:02 +05:30
donne1226 3d44d1d9f9 fix 2022-03-30 23:11:24 +08:00
donne1226 f99f0093b9 fix redelegate 2022-03-30 21:50:49 +08:00
ping 79216d604d Merge pull request #98 from puneet2019/patch-1
Update sentinel.json
2022-03-30 06:45:29 +08:00
donne1226 a592e0ed16 fix 2022-03-29 23:25:32 +08:00
Puneet 8b7d6ff1ca Update sentinel.json
Slip044 registers sentinel as 811 coin-type, but in the binary, it's 118 itself.
2022-03-29 18:51:36 +05:30
liangping b662c2b837 add rizon snapshot 2022-03-29 12:11:29 +08:00
liangping 847b01027e display unbonding details 2022-03-29 10:04:30 +08:00
liangping ff179779db Change text 2022-03-28 21:33:52 +08:00
liangping ba34c683d6 add DISCLAIMER 2022-03-28 20:25:08 +08:00
donne 34fccd91ba Merge branch 're-implement-operation-modal' of https://github.com/ping-pub/explorer into re-implement-operation-modal 2022-03-28 14:31:44 +08:00
liangping 3e6dccff77 Done delegate 2022-03-28 14:29:32 +08:00
liangping f4181c0123 Merge branches 'master' and 'master' of https://github.com/ping-pub/explorer 2022-03-28 07:25:48 +08:00
liangping f5af276b41 add snaphsot for chihuahua 2022-03-28 07:23:49 +08:00
liangping 5474952856 add snapshot for chihuahua 2022-03-28 07:23:26 +08:00
ping 8747ce81a8 Merge pull request #97 from donne1226/master
fix staking changes bug
2022-03-26 12:36:15 +08:00
donne 0ba8f06c0e fix staking changes bug 2022-03-26 10:30:48 +08:00
donne e24558b80d Merge branch 'master' of https://github.com/ping-pub/explorer 2022-03-26 09:07:00 +08:00
donne fb12beeb15 Merge branch 'master' of https://github.com/donne1226/explorer 2022-03-26 09:06:46 +08:00
liangping ad1f32b84e finish state sync 2022-03-25 21:41:54 +08:00
ping 630470cc68 Merge pull request #96 from donne1226/master
add rpc address & save chain's logo to project
2022-03-24 22:23:23 +08:00
donne1226 7212595482 save chain's logo to project 2022-03-24 22:17:50 +08:00
donne1226 481c2c6afc add rpc address 2022-03-24 21:29:17 +08:00
liangping 7c8e115a95 add state sync config 2022-03-24 20:30:13 +08:00
donne be0224eb67 Merge branch 'master' of https://github.com/donne1226/explorer 2022-03-24 14:55:38 +08:00
liangping 17fba7d61e update block fetching strategy 2022-03-24 11:56:47 +08:00
donne1226 9628a37aa7 fix 2022-03-22 22:56:32 +08:00
liangping 566ae0a95b add state sync 2022-03-22 20:32:32 +08:00
donne1226 15e6b92ece redelegate 2022-03-21 23:10:30 +08:00
donne1226 b8678a9baa test 2022-03-20 22:57:04 +08:00
liangping 23baabc026 reorder api 2022-03-20 20:34:15 +08:00
ping eaa77918ac Merge pull request #93 from shmutalov/master
Fixed validators voting power value calculation
2022-03-20 18:10:23 +08:00
Sherzod Mutalov 2fc3031f84 Fixed validators voting power value calculation 2022-03-20 13:38:23 +05:00
ping 405cb90667 Merge pull request #92 from donne1226/master
fix staking changes
2022-03-20 15:57:08 +08:00
donne1226 fd132b9e14 fix staking changes 2022-03-20 15:44:58 +08:00
ping 02b5baf304 Merge pull request #91 from donne1226/master
change validator api
2022-03-20 14:35:53 +08:00
donne1226 38c728b7f5 change validator api 2022-03-20 14:28:57 +08:00
ping 6c59bb6f60 Merge pull request #90 from donne1226/master
fix staking table changes
2022-03-20 11:19:15 +08:00
donne1226 9b70a55220 fix staking table changes 2022-03-20 11:12:52 +08:00
liangping 3327f3a27d Merge branch 'master' of https://github.com/ping-pub/explorer 2022-03-19 11:46:14 +08:00
liangping 732c6ee922 add filter 2022-03-19 11:39:17 +08:00
ping 8bbb3379c2 Merge pull request #88 from lightiv/skynet-vaildators-network-updates
SkyNet | Explorers' Network Updates
2022-03-19 07:58:17 +08:00
Paul Lovette 2c5b50549d SkyNet | Explorers' Network Updates
Here the networks I have added to my fork.  Mainnet and Testnet networks reside in the same location
2022-03-18 11:13:00 -07:00
liangping a8acd8e21f Improve UI of uptime 2022-03-18 15:35:28 +08:00
liangping c2afbe584e Merge branch 'testnet' 2022-03-18 15:11:10 +08:00
liangping 82eeaff601 add missing blocks and filter by parameters 2022-03-18 14:58:56 +08:00
ping 9cdda905b4 Merge pull request #86 from donne1226/master
fix staking page style
2022-03-17 11:51:48 +08:00
donne1226 3981667455 fix staking style 2022-03-16 20:09:17 +08:00
liangping 299fcc703b add summelier 2022-03-16 17:49:22 +08:00
liangping 74abaa8860 rename certik to shentu 2022-03-16 16:11:16 +08:00
liangping 69accd8267 add sifchain api 2022-03-16 16:07:01 +08:00
liangping 89ca3d6a42 add fetchchain 2022-03-16 16:01:55 +08:00
liangping 83663b9c18 add agoric 2022-03-16 15:04:40 +08:00
liangping e15918151e change layout from 3 to 4 2022-03-16 11:41:49 +08:00
ping 67d3ab7871 Merge pull request #85 from donne1226/add-staking-table-filter
add staking table filter
2022-03-15 22:16:27 +08:00
donne1226 4630ce63b1 fix 2022-03-15 22:10:04 +08:00
ping d9ef5e1d98 Merge pull request #84 from donne1226/clean
clean project & add gzip
2022-03-15 17:18:20 +08:00
ping ed54846804 Merge pull request #83 from donne1226/#77
fix home page layout bug
2022-03-15 17:15:11 +08:00
donne 62dafec960 fix 2022-03-15 16:52:29 +08:00
donne 95e26f6072 fix 2022-03-15 16:18:57 +08:00
donne1226 d4e7e98be3 fix 2022-03-14 22:43:44 +08:00
donne1226 48b350fd87 fix home layout bug 2022-03-14 20:59:02 +08:00
liangping ca35ec4d23 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-03-14 20:35:45 +08:00
liangping fa68f6c0df add ixo 2022-03-14 20:34:30 +08:00
ping ef2354a9e8 Merge pull request #82 from cerberus-zone/cerberus
Added Cerberus Zone chain
2022-03-14 08:04:59 +08:00
Hades Hounds 4f528bf31c added Cerberus Zone chain 2022-03-13 16:38:10 -05:00
liangping 3aa8c63fe4 fix overlap of legend. 2022-03-12 20:12:42 +08:00
liangping e5e296fe99 fix api issue on osmosis 2022-03-12 13:59:58 +08:00
liangping a26765ad4b change colors 2022-03-11 20:24:16 +08:00
liangping 1300ec3c3f color asset bubble 2022-03-11 19:42:34 +08:00
liangping 65039e46bf change name to lum-network 2022-03-11 18:09:53 +08:00
liangping 80bd18d8ed Merge branch 'master' into testnet 2022-03-11 10:05:11 +08:00
liangping d0ca90efca change name to chain_id 2022-03-10 19:57:01 +08:00
liangping 2253023459 fix typo 2022-03-06 15:55:18 +08:00
liangping 1e07bf6d4b improve ux 2022-03-06 09:20:25 +08:00
liangping 944b02dce1 change axis 2022-03-06 07:41:15 +08:00
liangping 976ebef410 use scatter chart 2022-03-05 23:48:39 +08:00
liangping 24d1f92bae improve ux 2022-03-05 13:34:50 +08:00
liangping e77a890798 improve navigation and rewards 2022-03-05 10:58:09 +08:00
liangping 9340191314 update dig price 2022-03-05 09:18:15 +08:00
liangping 149b42fa39 add new provider 2022-03-04 18:16:33 +08:00
liangping e6459023e1 fix format number issue 2022-03-04 18:16:23 +08:00
liangping 0df70f5701 fix issues 2022-03-04 17:56:41 +08:00
liangping 86b4ee0eaa add providers 2022-03-04 17:56:28 +08:00
liangping 4bb76ada1d add official endpoint 2022-03-04 11:53:01 +08:00
liangping 3264300a2b add evmos 2022-03-03 11:29:16 +08:00
liangping 88a6215a94 fixed display issue of supply 2022-02-17 11:16:24 +08:00
liangping b4d82c225b Change logo of RIZON 2022-02-17 11:04:06 +08:00
liangping c0b15ccc14 add umee 2022-02-17 10:14:56 +08:00
liangping f004b4af4a change url of logo 2022-02-17 10:14:48 +08:00
liangping cb1159ddf3 improve display of currency 2022-02-16 19:06:20 +08:00
liangping 6bd333a41c improve display of accounts 2022-02-16 13:57:03 +08:00
liangping b2d7640240 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-02-16 11:07:46 +08:00
liangping 24f39e3bce imporove disploy of token amount 2022-02-16 11:07:32 +08:00
ping 3832b5bf1a Merge pull request #71 from alpha-omega-labs/patch-1
Update genesisl1.json
2022-02-14 21:08:52 +08:00
alpha-omega-labs 0b6e1ebd1d Update genesisl1.json 2022-02-14 08:06:52 -05:00
liangping 3f0dcdf276 Fixed issue: unable to delegate to unbond validators 2022-02-11 17:58:53 +08:00
liangping 10ad6fef38 integrate Ping Key Manager 2022-02-11 17:21:00 +08:00
liangping 1a348f6d3e Fix endpoint issues 2022-02-06 10:17:18 +08:00
liangping 85ca2e3989 add backup endpoint for chihuahua 2022-02-06 08:39:50 +08:00
liangping 32b9b9aa64 fixed issues on trading page 2022-02-05 18:45:24 +08:00
liangping 883ca9b699 use official endpoint 2022-02-04 19:20:54 +08:00
liangping ed76d659ff add gravity bridge 2022-01-31 17:14:21 +08:00
liangping 837e2e1f44 add rizon 2022-01-31 12:36:12 +08:00
liangping 529bf57274 fix issue 2022-01-29 12:41:38 +08:00
liangping b4b2833298 fix typo 2022-01-29 12:27:40 +08:00
liangping b07b11e0eb fix shentu issue 2022-01-29 12:26:04 +08:00
liangping 42814c6377 update isntallation 2022-01-29 11:37:39 +08:00
liangping 5d0ee95d7b add guild of installation 2022-01-29 11:27:14 +08:00
liangping 7661d705b6 Remove tauri 2022-01-29 10:55:47 +08:00
liangping 6468e42d44 Update version of dependency 2022-01-29 09:20:50 +08:00
liangping f8e4d342d6 update version of dependency 2022-01-29 09:20:07 +08:00
liangping 5c37b7b709 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-01-29 09:05:29 +08:00
liangping eec49e8391 fixed gov issue of osmos 2022-01-29 09:05:09 +08:00
ping b67d6ad7dd Merge pull request #66 from ping-pub/dependabot/npm_and_yarn/node-fetch-3.1.1
Bump node-fetch from 2.6.1 to 3.1.1
2022-01-25 09:31:25 +08:00
dependabot[bot] 5a4af7c659 Bump node-fetch from 2.6.1 to 3.1.1
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 19:00:19 +00:00
liangping 13b1dbe9fd add stargaze LCD 2022-01-20 09:39:28 +08:00
liangping 661dd1ff5e update kava version 2022-01-20 08:39:40 +08:00
liangping f97acc8e03 Merge branch 'master' of https://github.com/ping-pub/explorer 2022-01-19 12:52:26 +08:00
liangping 4e24af68bc change api for osmosis 2022-01-19 12:52:18 +08:00
ping ac375f40c8 Merge pull request #64 from MasterPi-2124/patch-3
Change Dig Logo
2022-01-18 08:47:26 +08:00
liangping 2a73ec8f8a update coin_type of persistence 2022-01-17 19:57:26 +08:00
Master Pi ea6d5b25fc Change Dig Logo
We now use the new logo of Dig!
2022-01-17 18:37:31 +07:00
liangping e21a06a0a7 update decimals for CHEQ 2022-01-17 08:16:09 +08:00
liangping aa1d0161c3 fix typo 2022-01-17 08:15:04 +08:00
liangping 6dea16c207 fix decimals 2022-01-14 10:35:15 +08:00
liangping f928b8fa73 fix typo 2022-01-14 10:02:23 +08:00
liangping 18e4cc609c Update coin type 2022-01-14 09:51:04 +08:00
liangping 96931d905b add NOTE 2022-01-14 09:37:10 +08:00
liangping 984dd8ae3a Use chainid, instead of 'cosmoshub', 2022-01-14 08:55:24 +08:00
liangping 3cf3caab79 update decimals for provenance 2022-01-14 08:53:56 +08:00
liangping 7aa7339639 add eeur 2022-01-13 21:00:08 +08:00
liangping ace266a25b improve IBC transfer 2022-01-13 19:52:23 +08:00
liangping 81531e36e2 update readme 2022-01-13 15:32:06 +08:00
liangping 1574ec063f Improve IBC transfer 2022-01-13 09:55:55 +08:00
liangping bca324367e update version 2022-01-13 09:14:54 +08:00
liangping da125a2b67 update version of sdk 2022-01-13 09:02:25 +08:00
liangping f7b72e57fd Fix big number issue 2022-01-13 08:45:38 +08:00
liangping a95dcff4bc add custom coin type 2022-01-12 21:08:30 +08:00
liangping 41a9eb20a3 add colors on coin type 2022-01-12 20:40:51 +08:00
liangping a974b9929b Use latest IBC url 2022-01-12 20:40:07 +08:00
liangping 871db0d371 Update min tx fees 2022-01-12 19:19:22 +08:00
liangping 4f398739fe read tx fee from config 2022-01-12 18:58:32 +08:00
liangping feea9009cb add multi api supports 2022-01-11 21:08:25 +08:00
liangping 044064dcc6 add multi-chain supports 2022-01-11 18:27:53 +08:00
liangping b129a3a6a5 edit charts 2022-01-11 18:27:29 +08:00
liangping 76aabaf3d6 update price chart 2022-01-11 13:17:07 +08:00
liangping 62af7ccc27 Update IBC denom 2022-01-11 12:12:07 +08:00
liangping 15ce00fda5 Fix ibc denom trace issue 2022-01-10 20:46:53 +08:00
liangping 221574c923 Update IBC denom. 2022-01-10 20:14:00 +08:00
liangping e70a05fa74 change config 2022-01-10 19:08:11 +08:00
liangping 7cf0259eba update Nav 2022-01-10 10:50:35 +08:00
liangping f9f4de071f clean code 2022-01-10 09:40:10 +08:00
liangping b7de3bcb34 fixed display issue of governance 2022-01-10 09:35:55 +08:00
liangping 9917b2c534 add donation address 2022-01-07 09:39:57 +08:00
liangping bab7192206 remove unused config 2022-01-07 09:39:32 +08:00
liangping 037b4e18a2 add coin type 2022-01-06 11:12:26 +08:00
liangping 445ce5c805 add coin_type 2022-01-06 11:10:46 +08:00
ping 9c51ad6be3 Merge pull request #63 from iramiller/provenance-info
Adding Provenance Blockchain registrations
2022-01-06 10:18:26 +08:00
liangping 8a22b0bd3e Merge branch 'master' of https://github.com/ping-pub/explorer 2022-01-06 10:11:53 +08:00
liangping eb0c5cc9c4 Add Notice 2022-01-06 10:11:44 +08:00
liangping f5fde99f63 using uppercase for chain name 2022-01-06 08:58:55 +08:00
Ira Miller 5c259870b9 Adding Provenance Blockchain registrations 2022-01-05 09:52:35 -07:00
ping f805dfdea6 Merge pull request #61 from kingnodes/master
Update chihuahua.json
2021-12-31 10:08:16 +08:00
nullmames 29af1c8cce Update chihuahua.json
Update logo location
2021-12-30 21:14:58 +11:00
ping ec6db195ff Merge pull request #59 from joeabbey/adding-cheqd
Adding cheqd
2021-12-26 09:46:53 +08:00
Joe Abbey ac5b4521bb Adding cheqd 2021-12-25 16:34:52 -05:00
ping 611a9a3913 Merge pull request #31 from ping-pub/dependabot/npm_and_yarn/axios-0.21.2
Bump axios from 0.21.1 to 0.21.2
2021-12-24 10:15:11 +08:00
ping e29bf5a678 Merge pull request #32 from ping-pub/dependabot/npm_and_yarn/prismjs-1.25.0
Bump prismjs from 1.24.0 to 1.25.0
2021-12-24 10:14:58 +08:00
ping 70130dbfe3 Merge pull request #58 from dualsystems/master
[comdex] fix logo size
2021-12-24 10:14:32 +08:00
SlavA 30eb43ce74 [comdex] fix logo size 2021-12-23 14:20:56 +02:00
ping c20be0acb2 Merge pull request #57 from notional-labs/master
Change dig API
2021-12-23 17:28:55 +08:00
Master Pi 74ae5975f5 Change dig API 2021-12-23 14:06:48 +07:00
ping 678417898c Merge pull request #56 from kingnodes/master
delete odin chain
2021-12-23 10:50:19 +08:00
nullmames 4206de4541 delete odin chain
Odin has halted. Need to resolve issues and re-submit at a later date.
2021-12-23 13:46:57 +11:00
liangping 13c78855a7 update 2021-12-23 10:40:53 +08:00
ping 7aa3992eb0 Merge pull request #55 from dualsystems/master
[comdex] add chain
2021-12-23 09:42:43 +08:00
ping 4b2602a768 Merge pull request #53 from RaulBernal/patch-2
Adding BitCanna chain
2021-12-23 09:41:51 +08:00
ping 610da743bd Merge pull request #51 from joeabbey/update-chihuahua-and-lum-sdks
Updating Chihuahua and LUM SDK versions
2021-12-23 09:39:40 +08:00
ping 09aedf5011 Merge pull request #54 from joeabbey/fast-tpying
Minor typos
2021-12-23 09:38:41 +08:00
SlavA eb749dc7df Create comdex.json 2021-12-22 21:11:42 +02:00
Joe Abbey 1b7426f627 Minor typos 2021-12-22 10:21:58 -05:00
Raul Bernal 31c7289d01 Adding BitCanna chain 2021-12-22 12:51:16 +01:00
Joe Abbey 739970114e Updating Chihuahua and LUM SDK versions 2021-12-22 06:25:32 -05:00
liangping 7d9618653c Update gov module 2021-12-22 16:55:58 +08:00
ping 4ea72891e5 Merge pull request #49 from joeabbey/patch-1
Update Uptime.vue
2021-12-22 16:20:32 +08:00
liangping cdeafd9f0a Merge branch 'master' of https://github.com/ping-pub/explorer 2021-12-22 16:17:16 +08:00
liangping 8916cc094d add helping 2021-12-22 16:17:08 +08:00
liangping 8d5cdbf0f4 add tx history and delegations 2021-12-22 15:43:07 +08:00
liangping af9f1cac45 refactor 2021-12-22 14:21:23 +08:00
Joe Abbey c06364ebb3 Update Uptime.vue
English is dumb.
2021-12-21 21:57:41 -05:00
ping 193ba1987c Update README.md 2021-12-22 09:38:48 +08:00
ping cb74f9ab26 Merge pull request #48 from joeabbey/add-bostrom
Adding bostrom
2021-12-22 08:56:09 +08:00
ping 1687d6606a Update bostrom.json 2021-12-22 08:55:45 +08:00
Joe Abbey e96bba810b 0.44.3 is the actual SDK version, promise 2021-12-21 07:20:38 -05:00
Joe Abbey bb804b9939 Updating SDK 2021-12-21 07:17:30 -05:00
Joe Abbey 9bae5ec302 Adding bostrom 2021-12-21 07:15:02 -05:00
ping f8167e546a Merge pull request #47 from joeabbey/add-lum-network
Adding LUM network
2021-12-21 09:39:04 +08:00
liangping 53bc4dbdf9 change deploy policy 2021-12-21 09:36:31 +08:00
liangping 08499947de Merge branch 'master' of https://github.com/ping-pub/explorer 2021-12-21 09:24:44 +08:00
liangping b7f7bed42e update version for microtick 2021-12-21 09:24:36 +08:00
Joe Abbey 84e59d0349 Adding LUM network 2021-12-20 12:49:19 -05:00
ping 594db214b2 Merge pull request #46 from kingnodes/master
Update dig.json
2021-12-20 09:57:27 +08:00
nullmames e8d55984eb Update dig.json 2021-12-20 12:52:38 +11:00
ping ba3e53e971 Merge pull request #45 from kingnodes/master
Add dig chain (#1)
2021-12-20 09:37:16 +08:00
nullmames 04619780c4 Add dig chain (#1)
* upload dig logo

* Create dig.json
2021-12-20 12:32:54 +11:00
liangping b4f93790fa Fixed issues 2021-12-16 10:40:44 +08:00
liangping 173a4d8bd2 Merge branch 'master' of https://github.com/ping-pub/explorer 2021-12-15 16:51:06 +08:00
liangping df914d1f25 change api 2021-12-15 16:50:49 +08:00
ping 6f5f0a0064 Merge pull request #43 from joeabbey/add-chihuahua
Adding chihuahua
2021-12-15 16:48:34 +08:00
Joe Abbey cf64147d05 Setting API to project controlled domain 2021-12-14 11:25:26 -05:00
Joe Abbey e2f7f38d47 Using my API endpoint 2021-12-14 10:45:07 -05:00
Joe Abbey b1e02b81b9 Adding chihuahua 2021-12-14 09:33:49 -05:00
liangping 38bbe7be5f improve UX for proposal details 2021-12-14 20:23:10 +08:00
liangping 04e152c1fb add upgrade count down 2021-12-14 15:18:41 +08:00
dependabot[bot] efc7ed5429 Bump prismjs from 1.24.0 to 1.25.0
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.0...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 05:49:08 +00:00
liangping 06fff024d7 Fixed uptime issue for band, odin 2021-12-14 13:47:30 +08:00
liangping 878e92ec92 clean code 2021-12-14 12:30:55 +08:00
liangping 9c26bcd220 update my delegations 2021-12-14 12:01:37 +08:00
liangping 42d5a75ed6 update odin 2021-12-14 09:34:12 +08:00
ping 513fba1115 Merge pull request #40 from kingnodes/master
Create odin.json
2021-12-14 09:15:47 +08:00
liangping 0093928c16 optimize wallet menu 2021-12-13 17:15:36 +08:00
liangping 4c8694a43e add microtick 2021-12-13 17:15:09 +08:00
liangping 255601932c add Readme 2021-12-13 14:25:24 +08:00
nullmames d2d3ecaf27 Create odin.json 2021-12-12 14:32:57 +11:00
liangping e9db729843 remove debugs 2021-12-11 11:32:55 +08:00
liangping 1176a727e9 debug swap message 2021-12-11 11:31:24 +08:00
liangping 87a24f8d21 Fixed timeout stamp 2021-12-06 11:47:36 +08:00
liangping c651b7971c enable deposit 2021-12-06 10:01:07 +08:00
liangping 97083b40df improve UX 2021-12-05 19:57:12 +08:00
liangping 8cf7375ce1 Fix keplr wallet issue 2021-12-05 18:57:20 +08:00
liangping dcd26824f9 improve UX 2021-12-05 12:20:29 +08:00
liangping 543118ba92 Update for IBC transfer. 2021-12-05 10:30:00 +08:00
liangping 838971bbbe add genesis L1 2021-12-05 10:07:39 +08:00
liangping 00c0d1147c format 2021-12-05 10:07:23 +08:00
liangping 872e997889 fix typo 2021-12-05 09:40:22 +08:00
liangping 4b7c72cac0 update readme 2021-12-04 16:56:22 +08:00
dependabot[bot] a43a842637 Bump axios from 0.21.1 to 0.21.2
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-04 08:53:39 +00:00
liangping 1780c2a360 update readme 2021-12-04 16:52:04 +08:00
liangping 3c78a1e01b Merge branch 'trade' 2021-12-04 15:53:59 +08:00
liangping ab4d7b6a38 add trade for osmosis 2021-12-04 15:47:48 +08:00
liangping f0ef39e96a fetch timeout and channel/port from encounterpart 2021-11-30 11:59:17 +08:00
liangping 82bdb42a61 update logo url 2021-11-30 09:39:54 +08:00
liangping d62b2368c0 add arkh chain 2021-11-30 09:31:49 +08:00
liangping bcf4a16996 fixed issue on unbonding 2021-11-29 22:48:49 +08:00
liangping f9052e2fe0 add deposit 2021-11-29 22:38:03 +08:00
liangping 6a1158a47d add loading 2021-11-28 21:24:29 +08:00
liangping 273d382b87 Finish trade UI 2021-11-28 20:47:08 +08:00
liangping a4ce55f36d finish price chart & trading panel 2021-11-26 18:51:26 +08:00
liangping 6bcdd61e56 add juno & evmos testnet 2021-11-26 08:43:42 +08:00
liangping 823a4e75c5 add fee 2021-11-26 08:33:25 +08:00
ding d6a0b2cbc6 Merge pull request #37 from ibiding/trade
Trade
2021-11-25 23:06:23 +08:00
ding 86beaa6b37 feat: base tvjs kline 2021-11-25 23:04:43 +08:00
ding d94a933325 Merge branch 'trade' of github.com:ping-pub/explorer into trade
# Conflicts:
#	src/views/OsmosisTrade.vue
2021-11-25 22:16:28 +08:00
liangping ee50dd70c0 load price for key pairs 2021-11-25 20:41:47 +08:00
liangping 8e37979b88 重新梳理流程,更好集成交易所接口 2021-11-25 19:20:58 +08:00
ding 4367b3b8cd feat: tvjs 2021-11-25 01:00:28 +08:00
dingyiming ce4ee08ee0 feat: tvjs 2021-11-24 21:08:45 +08:00
dingyiming 61752baad6 feat: add dependency 2021-11-24 20:30:16 +08:00
liangping 4044df4cf6 add deposit window 2021-11-24 16:33:25 +08:00
liangping bd752f3284 Merge branch 'master' into trade 2021-11-24 11:50:09 +08:00
liangping 4910319be7 add re-import address, default wallet 2021-11-24 11:40:03 +08:00
liangping d88cd046ce Merge branch 'trade' of https://github.com/ping-pub/look into trade 2021-11-23 14:30:34 +08:00
liangping 00bb9d1003 add symbol on button 2021-11-23 14:30:21 +08:00
ding acdf1e00f1 Merge pull request #36 from ibiding/trade
Kline data
2021-11-23 11:27:57 +08:00
ding c4b4f86741 feat: kline data 2021-11-23 11:25:44 +08:00
ding e2aef3912c feat: kline data 2021-11-23 11:21:07 +08:00
ding c299a19c41 feat: kline data 2021-11-23 10:26:28 +08:00
liangping a198e3c281 add alert for sale 2021-11-23 09:55:40 +08:00
ding 6c2a276a0f feat: kline style 2021-11-22 22:56:54 +08:00
liangping 1e3bc9cf22 update colors for price changes 2021-11-22 18:09:23 +08:00
liangping 751810ee20 remove tcker component 2021-11-22 18:09:03 +08:00
liangping 850474c232 add colors 2021-11-22 18:03:13 +08:00
liangping 66af13f684 add price, pairs select 2021-11-22 17:41:55 +08:00
liangping 88df26263d refrector, swith pairs, place order panel 2021-11-22 16:17:59 +08:00
ding b8e880753d Merge pull request #35 from ibiding/trade
Trade
2021-11-21 17:43:30 +08:00
ding 662e129cdf feat: place form 2021-11-21 17:42:04 +08:00
ding d26424c2df feat: tabs 2021-11-21 16:33:10 +08:00
ding ecf7fd1913 feat: merge 2021-11-21 15:10:25 +08:00
ding 34b43b632d feat: trade place layout 2021-11-21 11:34:22 +08:00
liangping 7bbf220906 remove re-delegations from total 2021-11-21 11:30:33 +08:00
ding 10eb6276ac feat: place style 2021-11-21 11:30:03 +08:00
liangping 36b424cff2 add fetch ohlc 2021-11-21 09:55:55 +08:00
ding 1db7d8f03d feat: add tradingview base 2021-11-21 09:42:01 +08:00
ding 5e8af7f3e5 Merge branch 'master' of github.com:ibiding/explorer into trade
# Conflicts:
#	src/store/chains/index.js
2021-11-20 15:33:49 +08:00
liangping 7e29fd9c14 Merge branch 'master' into trade
# Conflicts:
#	src/store/chains/index.js
2021-11-19 09:28:23 +08:00
liangping d7160ee500 add links to menu 2021-11-18 22:01:19 +08:00
liangping e4dab58683 improve UX 2021-11-18 17:49:26 +08:00
liangping bb87305e84 update price chart/configs 2021-11-18 16:45:28 +08:00
liangping 2b0d691a10 move omniflix to testnet 2021-11-18 15:35:50 +08:00
liangping 5b18d947df Update deploy 2021-11-18 14:34:58 +08:00
liangping b5b606bd08 debug 2021-11-18 14:24:47 +08:00
liangping 5b116a4c90 debug 2021-11-18 14:20:11 +08:00
liangping 83d6ad28c1 debug 2021-11-18 14:16:28 +08:00
liangping 284f255838 update 2021-11-18 13:49:30 +08:00
liangping 5c82c2c562 update CI deploy 2021-11-18 13:42:50 +08:00
liangping a0b7744649 add ki chain 2021-11-17 20:53:05 +08:00
liangping 250c1b994b fix issue 2021-11-17 16:08:54 +08:00
liangping 088e0948c6 clean code 2021-11-17 15:51:30 +08:00
liangping 74dcb0541a add trade module 2021-11-17 15:46:30 +08:00
liangping 13d47714a0 trade 2021-11-17 15:44:50 +08:00
liangping 0ccfd3b79f refactor 2021-11-17 15:28:09 +08:00
liangping 9752ff1d04 add vidulum 2021-11-17 13:26:17 +08:00
liangping 903ddce788 remove console 2021-11-16 11:27:31 +08:00
liangping 6d37cf4df5 add injective 2021-11-16 11:26:27 +08:00
liangping a3ad4a56bc optimize abbr messages 2021-11-14 11:22:40 +08:00
liangping 9c2bd64458 add height 2021-11-13 20:33:19 +08:00
liangping d618eae534 add pinned mode 2021-11-13 17:03:49 +08:00
liangping cfa55105a1 add vega testnet 2021-11-11 11:11:13 +08:00
liangping b9ac2dff17 fix typo 2021-11-03 08:18:19 +08:00
liangping c243bfad7b add stargaze 2021-10-30 10:53:12 +08:00
liangping 673e1cd07b add game testnet 2021-10-20 19:52:41 +08:00
liangping cb325829c2 Remove code 2021-10-18 10:49:00 +08:00
liangping da47966021 Update 2021-10-18 10:29:17 +08:00
liangping 201826913b clean code 2021-10-16 20:26:59 +08:00
liangping e4738927a5 Merge branch 'master' of https://github.com/ping-pub/look 2021-10-16 20:19:11 +08:00
liangping 7ab15206a5 optimize operations 2021-10-16 20:19:01 +08:00
ping 83af1dc6c3 Update LICENSE 2021-10-16 08:51:59 +08:00
ping 6af634db87 Merge pull request #33 from ping-pub/add-license-1
Create LICENSE
2021-10-16 08:46:20 +08:00
ping fb3dc41cb0 Create LICENSE 2021-10-16 08:46:03 +08:00
liangping 87ab3d9815 change google trace code 2021-10-15 18:52:30 +08:00
liangping 9f44ccfbf0 Fix redirect issue 2021-10-15 16:15:59 +08:00
liangping 145c9158c7 add update router 2021-10-15 15:43:56 +08:00
liangping aa2ceae79c optimize token format 2021-10-14 21:21:58 +08:00
liangping 22123af7c8 Fix issues 2021-10-14 11:10:39 +08:00
liangping b54eec0d4b Fix delegations fetch error 2021-10-14 02:50:39 +08:00
liangping fb1b6edc01 Fixed PeriodicVestingAccount issue 2021-10-13 21:35:49 +08:00
liangping 367523db78 Fixed issues 2021-10-13 20:24:49 +08:00
liangping 793ddf1a18 add likecoin 2021-10-13 20:24:30 +08:00
liangping e15f391638 fix decimals for some chains 2021-10-13 12:37:35 +08:00
liangping dbb4f6183c add ominflix 2021-10-13 12:36:15 +08:00
liangping 8c7e2f6620 optimize UI 2021-10-12 20:25:53 +08:00
liangping 4b1da2b63d add market cap change 2021-10-12 17:01:06 +08:00
liangping 1b80dd43dc Disable docker 2021-10-12 17:00:40 +08:00
liangping f42b74c01b Fix bugs 2021-10-12 08:45:45 +08:00
liangping 2ba6f8b39d sort validators 2021-10-11 21:13:59 +08:00
liangping 443e469a0d update startname api 2021-10-11 18:33:47 +08:00
liangping 170a53f5e4 add e-money, bigsong tauri.conf 2021-10-11 15:10:29 +08:00
liangping be26d29cad fix google analyst 2021-10-10 22:31:16 +08:00
liangping c183d4a368 optimize parameters of charts 2021-10-10 17:36:16 +08:00
liangping 5b0d2eebc0 add price in home page. 2021-10-10 16:29:12 +08:00
liangping 6e0c1c47c2 add qty to chart 2021-10-10 09:33:02 +08:00
liangping 9778a83916 add google tracer 2021-10-10 09:32:46 +08:00
liangping 50623614ab add sifchain starname 2021-10-09 22:51:35 +08:00
liangping 78c33d2d8f update ticks 2021-10-09 16:52:24 +08:00
liangping 60337b9db7 Update Wallet UI 2021-10-09 16:35:08 +08:00
liangping 822196f90c hide charts on initial state. use custom colors 2021-10-08 09:33:03 +08:00
liangping deda622125 improve UX 2021-10-07 21:33:28 +08:00
liangping e34a82402f Optimize quotes loading 2021-10-07 21:25:33 +08:00
liangping ffa366ee25 Upgrapde to 0.44.0 2021-09-23 21:36:50 +08:00
liangping 4cb9265b66 load from cache if exists 2021-09-23 07:46:13 +08:00
liangping b35fca9b05 add status alert in uptime 2021-09-21 18:01:23 +08:00
liangping 91101648fc Fix syncing status and change api for scrt.network 2021-09-21 17:26:22 +08:00
liangping 2d111e9d8a align bottom 2021-09-21 13:15:44 +08:00
liangping b06e2623b7 Change color for unloaded status 2021-09-21 08:18:53 +08:00
liangping 432f5e8340 Add sentinel and change cosmos api 2021-09-21 06:59:42 +08:00
liangping 9c32eac1f6 Remove loading before page destroyed 2021-09-20 21:34:00 +08:00
liangping b237eed349 Remove debug 2021-09-20 20:44:53 +08:00
liangping 995fc3d7bb Disable gravity for now 2021-09-20 20:35:40 +08:00
liangping 2855eb880d update mode 2021-09-20 20:34:53 +08:00
liangping dfda5c56ad add draft of gravity 2021-09-20 10:29:23 +08:00
liangping 6dff9d318a optimize 2021-09-20 10:28:56 +08:00
liangping 1e1d9f6252 import address for desmos 2021-09-20 10:28:33 +08:00
liangping 0f9cde7062 process edge cases 2021-09-20 07:14:50 +08:00
liangping 0ca267d9a9 improve loading 2021-09-19 20:26:51 +08:00
liangping d7472e30eb add uptime, transaction 2021-09-19 16:09:20 +08:00
liangping 6c053ac065 update version 2021-09-19 10:15:13 +08:00
liangping 722a40e7b2 Done IBC transfer 2021-09-18 22:27:45 +08:00
liangping ef76cc6752 show all error message 2021-09-18 17:05:07 +08:00
liangping 9fd2aa33ed add ibc transfer 2021-09-17 22:09:39 +08:00
liangping e85701f58c add certik and update securite 2021-09-17 18:22:18 +08:00
liangping ef730e4eaa Fix kelpr & delegation issue 2021-09-16 22:43:58 +08:00
liangping 310e022b26 Fix issue 2021-09-16 18:59:43 +08:00
liangping a526060137 Remove debug code 2021-09-16 16:58:20 +08:00
liangping 63cc25aab5 add wallet to home 2021-09-16 16:54:21 +08:00
liangping 1d13e26672 remove crypto from the exeception. 2021-09-16 16:48:16 +08:00
liangping 70334789d3 Remove desmos debug 2021-09-16 09:54:57 +08:00
liangping 5f7c5e309a Refactor Wallet 2021-09-16 09:53:52 +08:00
liangping d137f6dec9 Fix validator selected issue 2021-09-15 20:16:10 +08:00
liangping caf23b4e93 Clean code 2021-09-15 19:56:08 +08:00
liangping acca0f1a0f Improve wallet operations 2021-09-15 19:49:57 +08:00
liangping fd825fd171 Improve wallet operation 2021-09-14 22:06:14 +08:00
liangping fb6c5d80e2 improve ui 2021-09-14 10:55:22 +08:00
liangping 74c7d29875 Add Fix Vote issue and improve UI 2021-09-14 10:54:43 +08:00
liangping 5dfd2da376 Change title 2021-09-14 09:24:25 +08:00
liangping af4b0e8caa Fix status issue 2021-09-14 09:24:02 +08:00
liangping 393d69b60f Improve Ui/Ux 2021-09-13 11:40:13 +08:00
liangping 87aed10821 Fix Votes loading issue 2021-09-11 21:05:23 +08:00
liangping 08ecad1c27 improve UI/UX 2021-09-11 17:13:26 +08:00
liangping 70ddca4693 Show chain status 2021-09-11 11:24:21 +08:00
liangping 431629736b Fix issue 2021-09-11 10:33:21 +08:00
liangping e2cc7a5b21 add juno 2021-09-11 10:32:58 +08:00
liangping c67cb7dbb4 Fix IBC display issue 2021-09-10 23:46:34 +08:00
liangping 281b414cab clean code 2021-09-10 20:16:42 +08:00
liangping fe36d08f35 finish ledger signature 2021-09-10 20:13:31 +08:00
liangping 3445a13cdf improve votes list 2021-09-06 17:53:00 +08:00
liangping 6b048a1b1c add new line 2021-09-06 16:08:52 +08:00
liangping 6373336d6e improve UX 2021-09-06 15:30:17 +08:00
liangping de149a7f26 disable for now 2021-09-06 15:28:44 +08:00
liangping e3d881fab8 Update Push parameter 2021-09-04 11:50:38 +08:00
liangping 2f807cb2b9 Update Push parameter 2021-09-04 11:40:09 +08:00
liangping 601d356eaf Update Push parameter 2021-09-04 11:38:51 +08:00
liangping 4adc7a824e clean code 2021-09-04 11:26:04 +08:00
liangping f70ed27916 change version 2021-09-04 11:17:56 +08:00
liangping 5b47ae030c Clean code 2021-09-04 11:17:09 +08:00
liangping ee7bcef06d adjust order of data loading 2021-09-04 11:02:12 +08:00
liangping 92d01889f0 change api 2021-09-04 11:01:01 +08:00
liangping 1c37288d6b add desmos 2021-09-04 11:00:38 +08:00
liangping 2c4558ae7f make identity smaller 2021-08-30 15:33:07 +08:00
liangping 75687a3c15 modify nginx conf 2021-08-27 13:57:38 +08:00
liangping 638c9072e7 modify nginx conf 2021-08-27 13:41:50 +08:00
liangping 236260ba74 modify nginx conf 2021-08-27 13:36:49 +08:00
liangping 314f3ae142 clean code 2021-08-27 13:13:41 +08:00
liangping f0938dfcb1 Remove debug console.log 2021-08-27 12:57:52 +08:00
liangping 6d63a46901 add docker integration 2021-08-27 12:40:17 +08:00
liangping 5de2c39d41 add operations 2021-08-26 21:50:56 +08:00
liangping 81666c4132 update version 2021-08-26 21:50:17 +08:00
liangping 55505d626d Add Secret netwrok 2021-08-26 11:13:26 +08:00
liangping 927ffcbfe5 finish withdraw and transfer 2021-08-25 15:45:40 +08:00
liangping 0a449889b5 Remove console 2021-08-18 13:39:51 +08:00
liangping b680699a0c optimize loading status 2021-08-18 13:32:45 +08:00
liangping 8d0de6eea8 make small nav for tabs 2021-08-17 16:03:49 +08:00
liangping 1bddb844a5 Improve UI 2021-08-17 10:54:43 +08:00
liangping 1bc87207b4 Improve UI 2021-08-16 23:03:32 +08:00
liangping 1ae8395fc6 add regen 2021-08-16 19:40:19 +08:00
liangping 5132f7a8ae Remove unimplement links 2021-08-16 18:31:45 +08:00
liangping 2883f1bfe7 fix price fetch issue 2021-08-16 17:38:11 +08:00
liangping 1c3d090765 staked table 2021-08-16 17:37:56 +08:00
liangping e9f52e3001 add account page 2021-08-16 17:02:28 +08:00
liangping b0dc410959 Merge branch 'v2' of https://github.com/ping-pub/look into v2 2021-08-14 21:43:17 +08:00
liangping d72faee981 Remove console.log 2021-08-14 21:42:30 +08:00
liangping 6f5e243e7c add lang 2021-08-14 21:39:34 +08:00
liangping 69d84b7a34 add ibc denom mapping 2021-08-14 21:27:19 +08:00
liangping 3e16fa9de8 add ledger 2021-08-14 20:04:11 +08:00
liangping 977d59553a add remove 2021-08-14 10:32:45 +08:00
liangping 3298a10397 add default for selected 2021-08-14 10:32:34 +08:00
liangping fea3980009 finish account 2021-08-13 23:08:04 +08:00
ping 9401ca7205 Merge pull request #26 from ping-pub/dependabot/npm_and_yarn/prismjs-1.24.0
Bump prismjs from 1.19.0 to 1.24.0
2021-08-11 23:31:25 +08:00
dependabot[bot] f509de4f4b Bump prismjs from 1.19.0 to 1.24.0
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.19.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.19.0...v1.24.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 15:30:29 +00:00
ping 35c83f30ed Merge pull request #27 from ping-pub/dependabot/npm_and_yarn/apexcharts-3.24.0
Bump apexcharts from 3.23.0 to 3.24.0
2021-08-11 23:28:03 +08:00
ping 19330da7e5 Merge pull request #28 from ping-pub/dependabot/npm_and_yarn/swiper-6.5.1
Bump swiper from 5.4.5 to 6.5.1
2021-08-11 23:27:20 +08:00
liangping 20a1ea7ca0 modify configs & add persistence chain 2021-08-11 23:25:20 +08:00
liangping 0ce6f1d806 Update name 2021-08-10 19:30:48 +08:00
liangping 1ffa71b8e4 Add Terra 2021-08-10 14:30:06 +08:00
liangping 184088ae83 Fix small issue 2021-08-10 11:30:39 +08:00
liangping 8b1465da86 use chain logo on menu bar 2021-08-10 10:05:47 +08:00
liangping a58a0d1f01 add footer back 2021-08-10 09:30:27 +08:00
liangping be82fd5a1b hardcode sdk_version in config 2021-08-10 08:59:45 +08:00
liangping b5d52f1d90 add onchain asset and band protocal 2021-08-09 22:18:27 +08:00
liangping bf5a0f7bf3 Add footer in home 2021-08-09 10:42:22 +08:00
dependabot[bot] a4b2b10595 Bump swiper from 5.4.5 to 6.5.1
Bumps [swiper](https://github.com/nolimits4web/Swiper) from 5.4.5 to 6.5.1.
- [Release notes](https://github.com/nolimits4web/Swiper/releases)
- [Changelog](https://github.com/nolimits4web/swiper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nolimits4web/Swiper/compare/v5.4.5...v6.5.1)

---
updated-dependencies:
- dependency-name: swiper
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 02:16:21 +00:00
dependabot[bot] 2afc28fa4f Bump apexcharts from 3.23.0 to 3.24.0
Bumps [apexcharts](https://github.com/apexcharts/apexcharts.js) from 3.23.0 to 3.24.0.
- [Release notes](https://github.com/apexcharts/apexcharts.js/releases)
- [Commits](https://github.com/apexcharts/apexcharts.js/commits)

---
updated-dependencies:
- dependency-name: apexcharts
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 02:16:17 +00:00
liangping 44d82fcb1e add dark/language bar 2021-08-08 23:04:54 +08:00
liangping 97d4f8a12a fix typo 2021-08-08 21:47:40 +08:00
liangping aac4ea2608 Fix issue 2021-08-08 20:55:55 +08:00
liangping 0ed59fa282 Improve UI 2021-08-08 19:51:26 +08:00
liangping de77ea57c1 Make address human readable 2021-08-08 18:08:09 +08:00
liangping eaac3b295a Fixed some issues 2021-08-08 13:34:00 +08:00
liangping b7cf79e1cc 关闭源码 2021-08-08 12:42:50 +08:00
liangping fbe74e05b0 调整位置 2021-08-08 12:42:27 +08:00
liangping d0166bfd90 Fix align issue 2021-08-08 12:07:31 +08:00
liangping eba9651402 Fix NaN issue 2021-08-08 11:56:25 +08:00
liangping 9dd7f22cda Update UI 2021-08-08 11:42:12 +08:00
liangping 3286700201 remove unused variable 2021-08-08 09:31:01 +08:00
liangping a9ba1b4a6c remove debug 2021-08-07 23:23:59 +08:00
liangping d92ba1538c Fix router bug 2021-08-07 23:22:41 +08:00
liangping aaee720df8 add okexchain 2021-08-07 22:06:57 +08:00
liangping c033bcf16a Remove debug print 2021-08-07 22:00:59 +08:00
liangping b7b4f3a167 add Okchain 2021-08-07 21:58:40 +08:00
liangping d6f9f68eee improve ui 2021-08-07 15:17:08 +08:00
liangping 6f7fcece61 Finish search bar 2021-08-07 15:01:01 +08:00
liangping 9d483c5a65 Hide brand on sm 2021-08-07 08:26:06 +08:00
liangping 5620337d3a change Layout of first panel 2021-08-07 07:35:49 +08:00
liangping 794d3733a0 add wrap 2021-08-07 07:35:07 +08:00
liangping 48454df781 Fix small UI issue 2021-08-06 23:44:43 +08:00
liangping 505bc90830 Inprove chain home ui 2021-08-06 21:21:08 +08:00
liangping 036273b6a5 add osmosis 2021-08-06 17:21:13 +08:00
liangping 032a922d7f Update layout 2021-08-06 17:20:55 +08:00
liangping 46e57ac978 update api url 2021-08-06 16:06:35 +08:00
liangping 38bbb07614 change logo url 2021-08-06 16:06:16 +08:00
liangping 615166ff1d Remove console.log 2021-08-06 15:43:11 +08:00
liangping 651417f83a Update logos and configs 2021-08-06 15:18:28 +08:00
liangping 4646e335c3 Improvme ui 2021-08-06 11:58:54 +08:00
liangping 523b952957 Update configs/update UI 2021-08-06 09:03:13 +08:00
liangping cc52b02c0f Debug CI 2021-08-05 22:47:18 +08:00
liangping f259199101 Debug CI 2021-08-05 21:12:59 +08:00
liangping eb7d943691 Debug CI 2021-08-05 21:11:11 +08:00
liangping 79b4bc671b clean code 2021-08-05 20:53:01 +08:00
liangping 2293446c93 Edit name 2021-08-05 19:14:33 +08:00
liangping d94b117976 add ci 2021-08-05 19:10:25 +08:00
liangping d7fbe18858 finish blocks 2021-08-05 18:27:12 +08:00
liangping c8822a2869 add home page 2021-08-05 16:51:24 +08:00
liangping 1483115de0 Update chain home 2021-08-05 14:54:44 +08:00
liangping e3c0bf34b6 Remove Unused Button 2021-08-05 14:53:56 +08:00
liangping 9e9f26af40 finish block and transaction 2021-08-05 12:38:58 +08:00
liangping f1e3e04e1f clean search bar 2021-08-04 10:04:55 +08:00
liangping 64711bd99a 提升UI 2021-08-04 09:28:30 +08:00
liangping c5bdbb123f finish parameters 2021-08-03 20:07:55 +08:00
liangping 364b268b02 Cancel fetch up on destroy 2021-08-03 11:08:55 +08:00
liangping ec23ca0ebd Improve performance of loading 2021-08-03 09:41:46 +08:00
liangping e4fca8f41b Finish validator detail 2021-08-03 00:13:53 +08:00
liangping 18e0d933b0 finished staking list 2021-08-01 07:13:47 +08:00
liangping df6a20ee67 finish staking list 2021-07-30 23:24:46 +08:00
liangping e02cac6154 完成重构 2021-07-28 19:20:30 +08:00
liangping 1f064e33ad finish refraction 2021-07-28 19:20:02 +08:00
liangping 1812230623 调试跨域的问题 2021-07-22 21:06:08 +08:00
liangping db623812aa Debug axios 2021-07-22 16:18:47 +08:00
liangping 3fb71b2dda finish localization 2021-07-22 10:39:17 +08:00
liangping cd27cc4e04 finished localization 2021-07-22 10:38:16 +08:00
liangping ae30de057d Initial project 2021-07-21 22:07:38 +08:00
1569 changed files with 166432 additions and 179903 deletions
+4
View File
@@ -0,0 +1,4 @@
dist
dev/assets/vendor
node_modules
src/node_modules
+2
View File
@@ -0,0 +1,2 @@
> 1%
last 2 versions
+1
View File
@@ -0,0 +1 @@
charting_library
+48
View File
@@ -0,0 +1,48 @@
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'@vue/airbnb',
'plugin:vue/recommended',
'plugin:import/typescript',
// 'prettier/@typescript-eslint',
'plugin:@typescript-eslint/recommended',
// "plugin:prettier/recommended",
],
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 6,
sourceType: 'module',
ecmaFeatures: {
jsx: false,
modules: true,
experimentalObjectRestSpread: true,
},
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
semi: ['error', 'never'],
'max-len': 'off',
'linebreak-style': 'off',
// camelcase: ['error', { properties: 'never', ignoreDestructuring: true, ignoreImports: true }],
'arrow-parens': ['error', 'as-needed'],
'vue/new-line-between-multi-line-property': 0,
'vue/multiline-html-element-content-newline': 0,
'vue/multi-word-component-names': 0,
'vue/no-mutating-props': 0,
'vue/v-slot-style': 0,
'@typescript-eslint/no-empty-function': 1,
camelcase: 0,
'vuejs-accessibility/click-events-have-key-events': 'off',
'vuejs-accessibility/mouse-events-have-key-events': 'off',
'vuejs-accessibility/anchor-has-content': 'off',
'no-unsafe-optional-chaining': 1,
'vuejs-accessibility/label-has-for': 1,
'import/extensions': 'off',
},
}
+5
View File
@@ -0,0 +1,5 @@
# These are supported funding model platforms
# github: liangping
issuehunt: ping-pub # Replace with a single IssueHunt username
+18
View File
@@ -0,0 +1,18 @@
name: Deploy to ping.pub
on:
# push:
# branches: [ master ]
pull_request:
branches: [ master ]
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
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 }}
+27
View File
@@ -0,0 +1,27 @@
name: Deploy to ping.pub
on:
push:
branches: [ master ]
# pull_request:
# branches: [ master ]
jobs:
deploy:
name: Ping deploy
runs-on: mainnet
steps:
- name: print
run: echo ${GITHUB_REF#refs/heads/}
- name: Git Checkout Latest
uses: actions/checkout@v3
- name: Install
run: yarn install
- name: Build
run: yarn run vue-cli-service build
- name: Deploy
run: cp -rf ./dist/* /var/www/html/
+27
View File
@@ -0,0 +1,27 @@
name: Ping 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/
+34 -2
View File
@@ -1,2 +1,34 @@
node_modules/
**/.vscode
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode/*
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
!.vscode/*.code-snippets
# script
/vuexy-scripts
# Docs
/docs/.temp
# Yarn
.yarn/
.yarnrc.yml
package-lock.json
+45
View File
@@ -0,0 +1,45 @@
# test directories
__tests__
test
tests
powered-test
# asset directories
docs
doc
website
images
assets
# examples
example
examples
# code coverage directories
coverage
.nyc_output
# build scripts
Makefile
Gulpfile.js
Gruntfile.js
# configs
appveyor.yml
circle.yml
codeship-services.yml
codeship-steps.yml
wercker.yml
.tern-project
.gitattributes
.editorconfig
.*ignore
.eslintrc
.jshintrc
.flowconfig
.documentup.json
.yarn-metadata.json
.travis.yml
# misc
*.md
+3
View File
@@ -0,0 +1,3 @@
FROM nginx:alpine
COPY ping.conf /etc/nginx/conf.d/default.conf
COPY dist /usr/share/nginx/html
+339
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.
+63
View File
@@ -0,0 +1,63 @@
<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)
[![Ping Deploy](https://github.com/ping-pub/explorer/actions/workflows/mainnet-deploy.yaml/badge.svg)](https://github.com/ping-pub/explorer/actions/workflows/mainnet-deploy.yaml)
[![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 Explorer is a light explorer for Cosmos-based Blockchains. https://ping.pub .
## What is the difference between Ping explorer and other explorers?
Ping Explorer is designed to explore blockchain data as real as possible, therefore there is no cache, no pre-processing. Ping Explorer does not cache/save blockchain data on its server. Ping Explorer only fetch data from Cosmos full node via LCD/RPC endpoints. We call it "Light Explorer".
## Do you want to list your blockchain on ping.pub?
Pull your request [here](./src/chains), We will add your chains as soon as possible. It is **FREE** (You must have 10+ independent validators on your chain).
## Why Ping explorer use official/trusted third party public LCD/rpc server?
We have two considerations:
- Trust, In decentralize system, everything controlled by one single team/organization could be risks. So we decided to co-build with the community.
- Limited Resources: ` Ping Dashboard ` will list hundreds cosmos-based blockchains in the future, it's impossible for our team to run validators or fullnodes for all of those chains.
## Donation
Your donation will help us make better products. Thanks in advance.
- Address for ERC20: USDC, USDT, ETH
```
0x88BFec573Dd3E4b7d2E6BfD4D0D6B11F843F8aa1
```
- You can donate any token in the Cosmos ecosystem: [here](https://ping.pub/coffee)
> If you are an individual please do not donate more than $10, a cup of coffee means a lot to us.
#### Donations from project
- Point Network: 1000USDC and $1000 worth of POINT
- Bitsong: 50k BTSG
- IRISnet: 100k IRIS
## Hire us
You can hire us by submiting an issue and fund the issue on [IssueHunter](https://issuehunt.io/r/ping-pub/explorer)
## Contributors
Developers: @liangping @dingyiming
+5
View File
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset',
],
}
+53
View File
@@ -0,0 +1,53 @@
# Installation:
1. Running with yarn
```
yarn && yarn serve
```
2. Building for web servers, like nginx, apache
```
yarn && yarn build
cp -r ./dist/* <ROOT_OF_WEB_SERVER>
```
# 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]()
+9
View File
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@core/*": ["src/@core/*"],
}
}
}
-5
View File
@@ -1,5 +0,0 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "0.0.0"
}
-10471
View File
File diff suppressed because it is too large Load Diff
+122 -7
View File
@@ -1,11 +1,126 @@
{
"name": "dashboard",
"private": true,
"workspaces": [
"packages/*"
],
"name": "ping-wallet",
"license": "GPL-2.0",
"version": "0.1.0",
"author": {
"name": "ping.pub"
},
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"analyz": "vue-cli-service build --report"
},
"dependencies": {
"@casl/ability": "4.1.6",
"@casl/vue": "1.1.1",
"@cosmjs/amino": "^0.28.4",
"@cosmjs/crypto": "^0.28.4",
"@cosmjs/encoding": "^0.28.4",
"@cosmjs/launchpad": "^0.27.1",
"@cosmjs/ledger-amino": "^0.28.4",
"@cosmjs/math": "^0.28.4",
"@cosmjs/proto-signing": "^0.28.4",
"@cosmjs/stargate": "0.28.4",
"@hanchon/signature-to-pubkey": "^1.0.0",
"@intlify/vue-i18n-loader": "^2.1.2",
"@ledgerhq/hw-app-eth": "^6.28.2",
"@ledgerhq/hw-transport": "6.27.2",
"@ledgerhq/hw-transport-web-ble": "^6.27.1",
"@ledgerhq/hw-transport-webusb": "^6.27.1",
"@metamask/eth-sig-util": "^4.0.1",
"@tharsis/address-converter": "^0.1.8",
"@tharsis/eip712": "0.2.4",
"@tharsis/proto": "0.1.19",
"@tharsis/transactions": "^0.2.5",
"@vue/composition-api": "^1.4.9",
"@vueuse/core": "4.0.0",
"animate.css": "4.1.1",
"apexcharts": "3.2.0",
"babel-runtime": "^6.26.0",
"bootstrap": "4.6.0",
"bootstrap-vue": "2.21.1",
"chart.js": "2.9.4",
"compare-versions": "^3.6.0",
"core-js": "^3.22.5",
"cosmjs-types": "^0.2.0",
"dayjs": "^1.10.6",
"echarts": "5.3.0",
"eth-crypto": "^2.3.0",
"ethers": "^5.6.8",
"leaflet": "1.6.0",
"ledger-cosmos-js": "2.1.8",
"long": "^5.2.0",
"node-fetch": "^2.6.5",
"node-polyfill-webpack-plugin": "^1.1.4",
"pako": "^1.0.11",
"portal-vue": "2.1.7",
"prismjs": "1.25.0",
"protobufjs-cli-dbx": "^7.0.7",
"protobufjs-dbx": "^7.0.0",
"ripemd160": "^2.0.2",
"swiper": "6.5.1",
"trading-vue-js": "^1.0.2",
"uuid": "8.3.2",
"vee-validate": "3.4.5",
"vue": "2.x",
"vue-apexcharts": "1.6.0",
"vue-autosuggest": "2.2.0",
"vue-awesome-swiper": "4.1.1",
"vue-chartjs": "3.5.0",
"vue-cleave-component": "2.1.3",
"vue-clipboard2": "0.3.1",
"vue-context": "6.0.0",
"vue-echarts": "^6.0.2",
"vue-feather-icons": "5.1.0",
"vue-flatpickr-component": "8.1.6",
"vue-flex-waterfall": "^1.0.7",
"vue-form-wizard": "0.8.4",
"vue-i18n": "8.22.2",
"vue-json-excel": "^0.3.0",
"vue-loader": "^15.9.6",
"vue-markdown": "^2.2.4",
"vue-observe-visibility": "^1.0.0",
"vue-perfect-scrollbar": "0.2.1",
"vue-prism-component": "1.1.1",
"vue-qr": "^2.5.0",
"vue-ripple-directive": "2.0.1",
"vue-router": "3.4.9",
"vue-select": "3.11.2",
"vue-slider-component": "3.2.11",
"vue-sweetalert2": "4.1.1",
"vue-toastification": "1.7.8",
"vue-tour": "1.5.0",
"vue-tree-halower": "1.8.3",
"vue2-flip-countdown": "^0.12.1",
"vue2-leaflet": "2.5.2",
"vuedraggable": "2.24.3",
"vuex": "3.6.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.0.0",
"lerna": "^6.4.1"
"@babel/eslint-parser": "^7.5.4",
"@protobufs/osmosis": "^0.0.8",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"@vue/cli-plugin-babel": "~5.0.4",
"@vue/cli-plugin-eslint": "~5.0.4",
"@vue/cli-plugin-router": "~5.0.4",
"@vue/cli-plugin-vuex": "~5.0.4",
"@vue/cli-service": "~5.0.4",
"@vue/eslint-config-airbnb": "^6.0.0",
"@vue/eslint-config-standard": "6.1.0",
"@vue/eslint-config-typescript": "11.0.0",
"@vuepress/plugin-medium-zoom": "^1.7.1",
"compression-webpack-plugin": "6.1.1",
"eslint": "^8.15.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-vue": "9.0.1",
"eslint-plugin-vuejs-accessibility": "^1.1.1",
"sass": "1.32.*",
"sass-loader": "^10.1.0",
"ts-loader": "8.2.0",
"typescript": "^4.6.4",
"vue-template-compiler": "2.x",
"webpack-bundle-analyzer": "^4.5.0"
}
}
-17
View File
@@ -1,17 +0,0 @@
{
"protoDirs": [
"./proto"
],
"outPath": "./src",
"options": {
"aminoEncoding": {
"enabled": false
},
"lcdClients": {
"enabled": true
},
"rpcClients": {
"enabled": true
}
}
}
-1
View File
@@ -1 +0,0 @@
export {};
-1
View File
@@ -1 +0,0 @@
export declare const amino: {};
-439
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;
};
-64
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;
};
-117
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;
};
-28
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;
};
@@ -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>;
};
-69
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;
};
-21
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;
};
-205
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;
};
@@ -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>;
}
@@ -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>;
};
-88
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;
};
-42
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;
};
-16
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;
};
-108
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;
};
@@ -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>;
}
@@ -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>;
};
-113
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;
};
@@ -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>;
}
-26
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;
};
-185
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;
};
-53
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;
};
-362
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;
};
@@ -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>;
}
@@ -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>;
};
-58
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;
};
@@ -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>;
}
-294
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;
};
-30
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;
};
@@ -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;
};
@@ -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;
};
@@ -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;
};
@@ -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;
};
@@ -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;
};
@@ -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;
};
@@ -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;
};
@@ -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>;
}
@@ -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>;
};
-78
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
@@ -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;
};
@@ -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;
};
@@ -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;
};
-30
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;
};
@@ -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>;
}
-46
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;
};
-31
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;
};
@@ -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;
};
-26
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;
};
@@ -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;
};
-40
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;
};
-33
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;
};
@@ -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;
};
@@ -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;
};
@@ -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;
};
@@ -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>;
}
@@ -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>;
};
@@ -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;
};
@@ -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>;
}
@@ -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;
};
@@ -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;
};
@@ -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;
};
@@ -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>;
}
@@ -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>;
};
-38
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;
};
@@ -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>;
}
@@ -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;
};
@@ -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;
};
-101
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;
};
@@ -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>;
}
@@ -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>;
};
-68
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;
};
@@ -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>;
}
@@ -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;
};
-36
View File
@@ -1,36 +0,0 @@
/// <reference types="long" />
import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov";
import { Long, DeepPartial } from "../../../helpers";
import * as _m0 from "protobufjs/minimal";
/** GenesisState defines the gov module's genesis state. */
export interface GenesisState {
/** starting_proposal_id is the ID of the starting proposal. */
startingProposalId: Long;
/** deposits defines all the deposits present at genesis. */
deposits: Deposit[];
/** votes defines all the votes present at genesis. */
votes: Vote[];
/** proposals defines all the proposals present at genesis. */
proposals: Proposal[];
/** params defines all the paramaters of related to deposit. */
depositParams?: DepositParams;
/** params defines all the paramaters of related to voting. */
votingParams?: VotingParams;
/** params defines all the paramaters of related to tally. */
tallyParams?: TallyParams;
}
/** GenesisState defines the gov module's genesis state. */
export interface GenesisStateSDKType {
starting_proposal_id: Long;
deposits: DepositSDKType[];
votes: VoteSDKType[];
proposals: ProposalSDKType[];
deposit_params?: DepositParamsSDKType;
voting_params?: VotingParamsSDKType;
tally_params?: TallyParamsSDKType;
}
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;
};
-237
View File
@@ -1,237 +0,0 @@
/// <reference types="long" />
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
import { Any, AnySDKType } from "../../../google/protobuf/any";
import { Duration, DurationSDKType } from "../../../google/protobuf/duration";
import * as _m0 from "protobufjs/minimal";
import { DeepPartial, Long } from "../../../helpers";
/** VoteOption enumerates the valid vote options for a given governance proposal. */
export declare enum VoteOption {
/** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */
VOTE_OPTION_UNSPECIFIED = 0,
/** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
VOTE_OPTION_YES = 1,
/** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
VOTE_OPTION_ABSTAIN = 2,
/** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
VOTE_OPTION_NO = 3,
/** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
VOTE_OPTION_NO_WITH_VETO = 4,
UNRECOGNIZED = -1
}
export declare const VoteOptionSDKType: typeof VoteOption;
export declare function voteOptionFromJSON(object: any): VoteOption;
export declare function voteOptionToJSON(object: VoteOption): string;
/** ProposalStatus enumerates the valid statuses of a proposal. */
export declare enum ProposalStatus {
/** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */
PROPOSAL_STATUS_UNSPECIFIED = 0,
/**
* PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
* period.
*/
PROPOSAL_STATUS_DEPOSIT_PERIOD = 1,
/**
* PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
* period.
*/
PROPOSAL_STATUS_VOTING_PERIOD = 2,
/**
* PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
* passed.
*/
PROPOSAL_STATUS_PASSED = 3,
/**
* PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
* been rejected.
*/
PROPOSAL_STATUS_REJECTED = 4,
/**
* PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
* failed.
*/
PROPOSAL_STATUS_FAILED = 5,
UNRECOGNIZED = -1
}
export declare const ProposalStatusSDKType: typeof ProposalStatus;
export declare function proposalStatusFromJSON(object: any): ProposalStatus;
export declare function proposalStatusToJSON(object: ProposalStatus): string;
/** WeightedVoteOption defines a unit of vote for vote split. */
export interface WeightedVoteOption {
option: VoteOption;
weight: string;
}
/** WeightedVoteOption defines a unit of vote for vote split. */
export interface WeightedVoteOptionSDKType {
option: VoteOption;
weight: string;
}
/**
* Deposit defines an amount deposited by an account address to an active
* proposal.
*/
export interface Deposit {
proposalId: Long;
depositor: string;
amount: Coin[];
}
/**
* Deposit defines an amount deposited by an account address to an active
* proposal.
*/
export interface DepositSDKType {
proposal_id: Long;
depositor: string;
amount: CoinSDKType[];
}
/** Proposal defines the core field members of a governance proposal. */
export interface Proposal {
id: Long;
messages: Any[];
status: ProposalStatus;
/**
* final_tally_result is the final tally result of the proposal. When
* querying a proposal via gRPC, this field is not populated until the
* proposal's voting period has ended.
*/
finalTallyResult?: TallyResult;
submitTime?: Date;
depositEndTime?: Date;
totalDeposit: Coin[];
votingStartTime?: Date;
votingEndTime?: Date;
/** metadata is any arbitrary metadata attached to the proposal. */
metadata: string;
}
/** Proposal defines the core field members of a governance proposal. */
export interface ProposalSDKType {
id: Long;
messages: AnySDKType[];
status: ProposalStatus;
final_tally_result?: TallyResultSDKType;
submit_time?: Date;
deposit_end_time?: Date;
total_deposit: CoinSDKType[];
voting_start_time?: Date;
voting_end_time?: Date;
metadata: string;
}
/** TallyResult defines a standard tally for a governance proposal. */
export interface TallyResult {
yesCount: string;
abstainCount: string;
noCount: string;
noWithVetoCount: string;
}
/** TallyResult defines a standard tally for a governance proposal. */
export interface TallyResultSDKType {
yes_count: string;
abstain_count: string;
no_count: string;
no_with_veto_count: string;
}
/**
* Vote defines a vote on a governance proposal.
* A Vote consists of a proposal ID, the voter, and the vote option.
*/
export interface Vote {
proposalId: Long;
voter: string;
options: WeightedVoteOption[];
/** metadata is any arbitrary metadata to attached to the vote. */
metadata: string;
}
/**
* Vote defines a vote on a governance proposal.
* A Vote consists of a proposal ID, the voter, and the vote option.
*/
export interface VoteSDKType {
proposal_id: Long;
voter: string;
options: WeightedVoteOptionSDKType[];
metadata: string;
}
/** DepositParams defines the params for deposits on governance proposals. */
export interface DepositParams {
/** Minimum deposit for a proposal to enter voting period. */
minDeposit: Coin[];
/**
* Maximum period for Atom holders to deposit on a proposal. Initial value: 2
* months.
*/
maxDepositPeriod?: Duration;
}
/** DepositParams defines the params for deposits on governance proposals. */
export interface DepositParamsSDKType {
min_deposit: CoinSDKType[];
max_deposit_period?: DurationSDKType;
}
/** VotingParams defines the params for voting on governance proposals. */
export interface VotingParams {
/** Length of the voting period. */
votingPeriod?: Duration;
}
/** VotingParams defines the params for voting on governance proposals. */
export interface VotingParamsSDKType {
voting_period?: DurationSDKType;
}
/** TallyParams defines the params for tallying votes on governance proposals. */
export interface TallyParams {
/**
* Minimum percentage of total stake needed to vote for a result to be
* considered valid.
*/
quorum: string;
/** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */
threshold: string;
/**
* Minimum value of Veto votes to Total votes ratio for proposal to be
* vetoed. Default value: 1/3.
*/
vetoThreshold: string;
}
/** TallyParams defines the params for tallying votes on governance proposals. */
export interface TallyParamsSDKType {
quorum: string;
threshold: string;
veto_threshold: string;
}
export declare const WeightedVoteOption: {
encode(message: WeightedVoteOption, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption;
fromPartial(object: DeepPartial<WeightedVoteOption>): WeightedVoteOption;
};
export declare const Deposit: {
encode(message: Deposit, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Deposit;
fromPartial(object: DeepPartial<Deposit>): Deposit;
};
export declare const Proposal: {
encode(message: Proposal, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Proposal;
fromPartial(object: DeepPartial<Proposal>): Proposal;
};
export declare const TallyResult: {
encode(message: TallyResult, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult;
fromPartial(object: DeepPartial<TallyResult>): TallyResult;
};
export declare const Vote: {
encode(message: Vote, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Vote;
fromPartial(object: DeepPartial<Vote>): Vote;
};
export declare const DepositParams: {
encode(message: DepositParams, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams;
fromPartial(object: DeepPartial<DepositParams>): DepositParams;
};
export declare const VotingParams: {
encode(message: VotingParams, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams;
fromPartial(object: DeepPartial<VotingParams>): VotingParams;
};
export declare const TallyParams: {
encode(message: TallyParams, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams;
fromPartial(object: DeepPartial<TallyParams>): TallyParams;
};
-271
View File
@@ -1,271 +0,0 @@
/// <reference types="long" />
import { ProposalStatus, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov";
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
import { Long, DeepPartial } from "../../../helpers";
import * as _m0 from "protobufjs/minimal";
/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
export interface QueryProposalRequest {
/** proposal_id defines the unique id of the proposal. */
proposalId: Long;
}
/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
export interface QueryProposalRequestSDKType {
proposal_id: Long;
}
/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */
export interface QueryProposalResponse {
proposal?: Proposal;
}
/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */
export interface QueryProposalResponseSDKType {
proposal?: ProposalSDKType;
}
/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */
export interface QueryProposalsRequest {
/** proposal_status defines the status of the proposals. */
proposalStatus: ProposalStatus;
/** voter defines the voter address for the proposals. */
voter: string;
/** depositor defines the deposit addresses from the proposals. */
depositor: string;
/** pagination defines an optional pagination for the request. */
pagination?: PageRequest;
}
/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */
export interface QueryProposalsRequestSDKType {
proposal_status: ProposalStatus;
voter: string;
depositor: string;
pagination?: PageRequestSDKType;
}
/**
* QueryProposalsResponse is the response type for the Query/Proposals RPC
* method.
*/
export interface QueryProposalsResponse {
proposals: Proposal[];
/** pagination defines the pagination in the response. */
pagination?: PageResponse;
}
/**
* QueryProposalsResponse is the response type for the Query/Proposals RPC
* method.
*/
export interface QueryProposalsResponseSDKType {
proposals: ProposalSDKType[];
pagination?: PageResponseSDKType;
}
/** QueryVoteRequest is the request type for the Query/Vote RPC method. */
export interface QueryVoteRequest {
/** proposal_id defines the unique id of the proposal. */
proposalId: Long;
/** voter defines the oter address for the proposals. */
voter: string;
}
/** QueryVoteRequest is the request type for the Query/Vote RPC method. */
export interface QueryVoteRequestSDKType {
proposal_id: Long;
voter: string;
}
/** QueryVoteResponse is the response type for the Query/Vote RPC method. */
export interface QueryVoteResponse {
/** vote defined the queried vote. */
vote?: Vote;
}
/** QueryVoteResponse is the response type for the Query/Vote RPC method. */
export interface QueryVoteResponseSDKType {
vote?: VoteSDKType;
}
/** QueryVotesRequest is the request type for the Query/Votes RPC method. */
export interface QueryVotesRequest {
/** proposal_id defines the unique id of the proposal. */
proposalId: Long;
/** pagination defines an optional pagination for the request. */
pagination?: PageRequest;
}
/** QueryVotesRequest is the request type for the Query/Votes RPC method. */
export interface QueryVotesRequestSDKType {
proposal_id: Long;
pagination?: PageRequestSDKType;
}
/** QueryVotesResponse is the response type for the Query/Votes RPC method. */
export interface QueryVotesResponse {
/** votes defined the queried votes. */
votes: Vote[];
/** pagination defines the pagination in the response. */
pagination?: PageResponse;
}
/** QueryVotesResponse is the response type for the Query/Votes RPC method. */
export interface QueryVotesResponseSDKType {
votes: VoteSDKType[];
pagination?: PageResponseSDKType;
}
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
export interface QueryParamsRequest {
/**
* params_type defines which parameters to query for, can be one of "voting",
* "tallying" or "deposit".
*/
paramsType: string;
}
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
export interface QueryParamsRequestSDKType {
params_type: string;
}
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
export interface QueryParamsResponse {
/** voting_params defines the parameters related to voting. */
votingParams?: VotingParams;
/** deposit_params defines the parameters related to deposit. */
depositParams?: DepositParams;
/** tally_params defines the parameters related to tally. */
tallyParams?: TallyParams;
}
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
export interface QueryParamsResponseSDKType {
voting_params?: VotingParamsSDKType;
deposit_params?: DepositParamsSDKType;
tally_params?: TallyParamsSDKType;
}
/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */
export interface QueryDepositRequest {
/** proposal_id defines the unique id of the proposal. */
proposalId: Long;
/** depositor defines the deposit addresses from the proposals. */
depositor: string;
}
/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */
export interface QueryDepositRequestSDKType {
proposal_id: Long;
depositor: string;
}
/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */
export interface QueryDepositResponse {
/** deposit defines the requested deposit. */
deposit?: Deposit;
}
/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */
export interface QueryDepositResponseSDKType {
deposit?: DepositSDKType;
}
/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */
export interface QueryDepositsRequest {
/** proposal_id defines the unique id of the proposal. */
proposalId: Long;
/** pagination defines an optional pagination for the request. */
pagination?: PageRequest;
}
/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */
export interface QueryDepositsRequestSDKType {
proposal_id: Long;
pagination?: PageRequestSDKType;
}
/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */
export interface QueryDepositsResponse {
deposits: Deposit[];
/** pagination defines the pagination in the response. */
pagination?: PageResponse;
}
/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */
export interface QueryDepositsResponseSDKType {
deposits: DepositSDKType[];
pagination?: PageResponseSDKType;
}
/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */
export interface QueryTallyResultRequest {
/** proposal_id defines the unique id of the proposal. */
proposalId: Long;
}
/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */
export interface QueryTallyResultRequestSDKType {
proposal_id: Long;
}
/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */
export interface QueryTallyResultResponse {
/** tally defines the requested tally. */
tally?: TallyResult;
}
/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */
export interface QueryTallyResultResponseSDKType {
tally?: TallyResultSDKType;
}
export declare const QueryProposalRequest: {
encode(message: QueryProposalRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest;
fromPartial(object: DeepPartial<QueryProposalRequest>): QueryProposalRequest;
};
export declare const QueryProposalResponse: {
encode(message: QueryProposalResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse;
fromPartial(object: DeepPartial<QueryProposalResponse>): QueryProposalResponse;
};
export declare const QueryProposalsRequest: {
encode(message: QueryProposalsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest;
fromPartial(object: DeepPartial<QueryProposalsRequest>): QueryProposalsRequest;
};
export declare const QueryProposalsResponse: {
encode(message: QueryProposalsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse;
fromPartial(object: DeepPartial<QueryProposalsResponse>): QueryProposalsResponse;
};
export declare const QueryVoteRequest: {
encode(message: QueryVoteRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest;
fromPartial(object: DeepPartial<QueryVoteRequest>): QueryVoteRequest;
};
export declare const QueryVoteResponse: {
encode(message: QueryVoteResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse;
fromPartial(object: DeepPartial<QueryVoteResponse>): QueryVoteResponse;
};
export declare const QueryVotesRequest: {
encode(message: QueryVotesRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest;
fromPartial(object: DeepPartial<QueryVotesRequest>): QueryVotesRequest;
};
export declare const QueryVotesResponse: {
encode(message: QueryVotesResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse;
fromPartial(object: DeepPartial<QueryVotesResponse>): QueryVotesResponse;
};
export declare const QueryParamsRequest: {
encode(message: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
fromPartial(object: 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 QueryDepositRequest: {
encode(message: QueryDepositRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest;
fromPartial(object: DeepPartial<QueryDepositRequest>): QueryDepositRequest;
};
export declare const QueryDepositResponse: {
encode(message: QueryDepositResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse;
fromPartial(object: DeepPartial<QueryDepositResponse>): QueryDepositResponse;
};
export declare const QueryDepositsRequest: {
encode(message: QueryDepositsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest;
fromPartial(object: DeepPartial<QueryDepositsRequest>): QueryDepositsRequest;
};
export declare const QueryDepositsResponse: {
encode(message: QueryDepositsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse;
fromPartial(object: DeepPartial<QueryDepositsResponse>): QueryDepositsResponse;
};
export declare const QueryTallyResultRequest: {
encode(message: QueryTallyResultRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest;
fromPartial(object: DeepPartial<QueryTallyResultRequest>): QueryTallyResultRequest;
};
export declare const QueryTallyResultResponse: {
encode(message: QueryTallyResultResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse;
fromPartial(object: DeepPartial<QueryTallyResultResponse>): QueryTallyResultResponse;
};
-16
View File
@@ -1,16 +0,0 @@
import { LCDClient } from "@osmonauts/lcd";
import { QueryProposalRequest, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponseSDKType } from "./query";
export declare class LCDQueryClient {
req: LCDClient;
constructor({ requestClient }: {
requestClient: LCDClient;
});
proposal(params: QueryProposalRequest): Promise<QueryProposalResponseSDKType>;
proposals(params: QueryProposalsRequest): Promise<QueryProposalsResponseSDKType>;
vote(params: QueryVoteRequest): Promise<QueryVoteResponseSDKType>;
votes(params: QueryVotesRequest): Promise<QueryVotesResponseSDKType>;
params(params: QueryParamsRequest): Promise<QueryParamsResponseSDKType>;
deposit(params: QueryDepositRequest): Promise<QueryDepositResponseSDKType>;
deposits(params: QueryDepositsRequest): Promise<QueryDepositsResponseSDKType>;
tallyResult(params: QueryTallyResultRequest): Promise<QueryTallyResultResponseSDKType>;
}

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