carbon-js-sdk 0.7.6 → 0.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/CarbonSDK.d.ts +4 -0
- package/lib/CarbonSDK.js +50 -12
- package/lib/clients/BatchQueryClient.js +4 -4
- package/lib/clients/CarbonQueryClient.js +1 -1
- package/lib/clients/ETHClient.js +15 -15
- package/lib/clients/GasFee.d.ts +12 -0
- package/lib/clients/GasFee.js +38 -0
- package/lib/clients/HydrogenClient.js +1 -1
- package/lib/clients/InsightsQueryClient.js +3 -3
- package/lib/clients/NEOClient.js +12 -8
- package/lib/clients/TokenClient.js +2 -2
- package/lib/clients/ZILClient.js +17 -17
- package/lib/codec/Switcheo/carbon/adl/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/admin/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/admin/query.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/admin/tx.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/bank/event.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/bank/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/bank/query.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/book/book.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/book/event.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/book/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/book/legacy.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/book/query.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/broker/amm.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/broker/candlestick.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/broker/event.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/broker/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/broker/incoming_liquidations.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/broker/pagination.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/broker/query.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/broker/tx.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/btcx/denom_cross_chain_info.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/btcx/denom_info.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/btcx/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/btcx/query.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/btcx/tx.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/ccm/ccm.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/ccm/genesis.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/ccm/query.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/ccm/tx.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/cdp/asset_params.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/cdp/cdp_liquidations.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/cdp/debt_info.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/cdp/e_mode_category.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/cdp/event.d.ts +36 -36
- package/lib/codec/Switcheo/carbon/cdp/genesis.d.ts +10 -10
- package/lib/codec/Switcheo/carbon/cdp/params.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/cdp/query.d.ts +53 -53
- package/lib/codec/Switcheo/carbon/cdp/rate_strategy_params.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/cdp/reward_scheme.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/cdp/stablecoin_debt_info.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/cdp/stablecoin_interest_info.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/cdp/tx.d.ts +87 -87
- package/lib/codec/Switcheo/carbon/coin/bridge.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/coin/event.d.ts +14 -14
- package/lib/codec/Switcheo/carbon/coin/genesis.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/coin/group.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/coin/proposal.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/coin/query.d.ts +26 -26
- package/lib/codec/Switcheo/carbon/coin/token.d.ts +9 -9
- package/lib/codec/Switcheo/carbon/coin/tx.d.ts +48 -48
- package/lib/codec/Switcheo/carbon/erc20/erc20.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/erc20/events.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/erc20/genesis.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/erc20/query.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/erc20/tx.d.ts +16 -16
- package/lib/codec/Switcheo/carbon/evmbank/genesis.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/evmbank/query.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/evmmerge/address.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/evmmerge/event.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/evmmerge/genesis.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/evmmerge/offchain.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/evmmerge/query.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/evmmerge/tx.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/fee/event.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/fee/fee.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/fee/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/fee/proposal.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/fee/query.d.ts +10 -10
- package/lib/codec/Switcheo/carbon/fee/tx.d.ts +10 -10
- package/lib/codec/Switcheo/carbon/headersync/consensus_peers.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/headersync/genesis.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/headersync/query.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/headersync/tx.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/inflation/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/inflation/inflation.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/inflation/query.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/insurance/event.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/insurance/fund.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/insurance/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/insurance/query.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/insurance/tx.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/leverage/event.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/leverage/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/leverage/leverage.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/leverage/query.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/leverage/tx.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/liquidation/genesis.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/liquidation/liquidation.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/liquidation/outstanding_position.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/liquidation/query.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/liquidation/quote_changes.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/liquiditypool/event.d.ts +15 -15
- package/lib/codec/Switcheo/carbon/liquiditypool/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/liquiditypool/proposal.d.ts +11 -11
- package/lib/codec/Switcheo/carbon/liquiditypool/query.d.ts +31 -31
- package/lib/codec/Switcheo/carbon/liquiditypool/reward.d.ts +18 -18
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.d.ts +39 -39
- package/lib/codec/Switcheo/carbon/lockproxy/event.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/lockproxy/genesis.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/lockproxy/lockproxy.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/lockproxy/query.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/lockproxy/tx.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/market/event.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/market/fee.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/market/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/market/market.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/market/proposal.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/market/query.d.ts +20 -20
- package/lib/codec/Switcheo/carbon/market/tx.d.ts +21 -21
- package/lib/codec/Switcheo/carbon/marketstats/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/marketstats/marketstats.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/marketstats/params.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/marketstats/query.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/misc/block.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/misc/message.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/misc/message_type.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/misc/query.d.ts +16 -16
- package/lib/codec/Switcheo/carbon/misc/trade.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/misc/transaction.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/oracle/event.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/oracle/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/oracle/oracle.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/oracle/proposal.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/oracle/query.d.ts +28 -28
- package/lib/codec/Switcheo/carbon/oracle/slashing.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/oracle/tx.d.ts +14 -14
- package/lib/codec/Switcheo/carbon/order/event.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/order/genesis.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/order/order.d.ts +9 -9
- package/lib/codec/Switcheo/carbon/order/query.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/order/tx.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/perpspool/event.d.ts +9 -9
- package/lib/codec/Switcheo/carbon/perpspool/genesis.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/perpspool/market.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/perpspool/params.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/perpspool/pool.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/perpspool/query.d.ts +20 -20
- package/lib/codec/Switcheo/carbon/perpspool/tx.d.ts +18 -18
- package/lib/codec/Switcheo/carbon/position/event.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/position/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/position/position.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/position/query.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/position/tx.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/pricing/event.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/pricing/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/pricing/legacy.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/pricing/pricing.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/pricing/proposal.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/pricing/query.d.ts +16 -16
- package/lib/codec/Switcheo/carbon/pricing/tx.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/profile/event.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/profile/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/profile/profile.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/profile/query.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/profile/tx.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/sequence/genesis.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/sequence/query.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/sequence/tx.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/subaccount/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/subaccount/legacy.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/subaccount/query.d.ts +19 -19
- package/lib/codec/Switcheo/carbon/subaccount/subaccount.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/subaccount/tx.d.ts +8 -8
- package/lib/codec/alliance/alliance.d.ts +5 -5
- package/lib/codec/alliance/delegations.d.ts +8 -8
- package/lib/codec/alliance/events.d.ts +6 -6
- package/lib/codec/alliance/genesis.d.ts +7 -7
- package/lib/codec/alliance/gov.d.ts +5 -5
- package/lib/codec/alliance/params.d.ts +4 -4
- package/lib/codec/alliance/query.d.ts +24 -24
- package/lib/codec/alliance/tx.d.ts +10 -10
- package/lib/codec/carbon-models.js +5 -1
- package/lib/codec/cosmos/app/module/v1alpha1/module.d.ts +3 -3
- package/lib/codec/cosmos/app/v1alpha1/config.d.ts +4 -4
- package/lib/codec/cosmos/app/v1alpha1/module.d.ts +5 -5
- package/lib/codec/cosmos/app/v1alpha1/query.d.ts +4 -4
- package/lib/codec/cosmos/auth/v1beta1/auth.d.ts +5 -5
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +20 -20
- package/lib/codec/cosmos/authz/v1beta1/authz.d.ts +6 -6
- package/lib/codec/cosmos/authz/v1beta1/event.d.ts +4 -4
- package/lib/codec/cosmos/authz/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/authz/v1beta1/query.d.ts +8 -8
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +8 -8
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +3 -3
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +9 -9
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +4 -4
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +21 -21
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +6 -6
- package/lib/codec/cosmos/base/abci/v1beta1/abci.d.ts +12 -12
- package/lib/codec/cosmos/base/kv/v1beta1/kv.d.ts +4 -4
- package/lib/codec/cosmos/base/node/v1beta1/query.d.ts +4 -4
- package/lib/codec/cosmos/base/query/v1beta1/pagination.d.ts +4 -4
- package/lib/codec/cosmos/base/reflection/v1beta1/reflection.d.ts +6 -6
- package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.d.ts +28 -28
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +11 -11
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts +5 -5
- package/lib/codec/cosmos/base/store/v1beta1/listening.d.ts +5 -5
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +21 -21
- package/lib/codec/cosmos/base/tendermint/v1beta1/types.d.ts +4 -4
- package/lib/codec/cosmos/base/v1beta1/coin.d.ts +6 -6
- package/lib/codec/cosmos/capability/v1beta1/capability.d.ts +5 -5
- package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts +4 -4
- package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts +4 -4
- package/lib/codec/cosmos/crypto/ed25519/keys.d.ts +4 -4
- package/lib/codec/cosmos/crypto/hd/v1/hd.d.ts +3 -3
- package/lib/codec/cosmos/crypto/keyring/v1/record.d.ts +7 -7
- package/lib/codec/cosmos/crypto/multisig/keys.d.ts +3 -3
- package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.d.ts +4 -4
- package/lib/codec/cosmos/crypto/secp256k1/keys.d.ts +4 -4
- package/lib/codec/cosmos/crypto/secp256r1/keys.d.ts +4 -4
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +14 -14
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +10 -10
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +22 -22
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +10 -10
- package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts +3 -3
- package/lib/codec/cosmos/evidence/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +6 -6
- package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts +4 -4
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.d.ts +6 -6
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/feegrant/v1beta1/query.d.ts +8 -8
- package/lib/codec/cosmos/feegrant/v1beta1/tx.d.ts +6 -6
- package/lib/codec/cosmos/genutil/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/gov/v1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/gov/v1/gov.d.ts +10 -10
- package/lib/codec/cosmos/gov/v1/query.d.ts +18 -18
- package/lib/codec/cosmos/gov/v1/query.js +2 -2
- package/lib/codec/cosmos/gov/v1/tx.d.ts +12 -12
- package/lib/codec/cosmos/gov/v1/tx.js +2 -2
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +11 -11
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts +18 -18
- package/lib/codec/cosmos/gov/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +10 -10
- package/lib/codec/cosmos/gov/v1beta1/tx.js +2 -2
- package/lib/codec/cosmos/group/v1/events.d.ts +11 -11
- package/lib/codec/cosmos/group/v1/events.js +2 -2
- package/lib/codec/cosmos/group/v1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/group/v1/query.d.ts +30 -30
- package/lib/codec/cosmos/group/v1/tx.d.ts +30 -30
- package/lib/codec/cosmos/group/v1/tx.js +4 -4
- package/lib/codec/cosmos/group/v1/types.d.ts +13 -13
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/mint/v1beta1/mint.d.ts +4 -4
- package/lib/codec/cosmos/mint/v1beta1/query.d.ts +8 -8
- package/lib/codec/cosmos/nft/v1beta1/event.d.ts +5 -5
- package/lib/codec/cosmos/nft/v1beta1/genesis.d.ts +4 -4
- package/lib/codec/cosmos/nft/v1beta1/nft.d.ts +4 -4
- package/lib/codec/cosmos/nft/v1beta1/query.d.ts +16 -16
- package/lib/codec/cosmos/nft/v1beta1/tx.d.ts +4 -4
- package/lib/codec/cosmos/orm/module/v1alpha1/module.d.ts +3 -3
- package/lib/codec/cosmos/orm/v1/orm.d.ts +6 -6
- package/lib/codec/cosmos/orm/v1alpha1/schema.d.ts +4 -4
- package/lib/codec/cosmos/params/v1beta1/params.d.ts +4 -4
- package/lib/codec/cosmos/params/v1beta1/query.d.ts +7 -7
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +6 -6
- package/lib/codec/cosmos/slashing/v1beta1/query.d.ts +8 -8
- package/lib/codec/cosmos/slashing/v1beta1/slashing.d.ts +4 -4
- package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts +4 -4
- package/lib/codec/cosmos/staking/v1beta1/authz.d.ts +4 -4
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +4 -4
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts +30 -30
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +22 -22
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +14 -14
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts +7 -7
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +12 -12
- package/lib/codec/cosmos/tx/v1beta1/tx.d.ts +15 -15
- package/lib/codec/cosmos/tx/v1beta1/tx.js +4 -4
- package/lib/codec/cosmos/upgrade/v1beta1/query.d.ts +12 -12
- package/lib/codec/cosmos/upgrade/v1beta1/tx.d.ts +6 -6
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts +6 -6
- package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts +8 -8
- package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts +8 -8
- package/lib/codec/cosmos-models.js +5 -1
- package/lib/codec/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +4 -4
- package/lib/codec/ethermint/evm/v1/evm.d.ts +10 -10
- package/lib/codec/ethermint/evm/v1/genesis.d.ts +4 -4
- package/lib/codec/ethermint/evm/v1/query.d.ts +26 -26
- package/lib/codec/ethermint/evm/v1/tx.d.ts +8 -8
- package/lib/codec/ethermint/feemarket/v1/feemarket.d.ts +3 -3
- package/lib/codec/ethermint/feemarket/v1/genesis.d.ts +3 -3
- package/lib/codec/ethermint/feemarket/v1/query.d.ts +8 -8
- package/lib/codec/ethermint/types/v1/account.d.ts +3 -3
- package/lib/codec/ethermint/types/v1/dynamic_fee.d.ts +3 -3
- package/lib/codec/ethermint/types/v1/indexer.d.ts +3 -3
- package/lib/codec/ethermint/types/v1/web3.d.ts +3 -3
- package/lib/codec/ethermint-models.js +5 -1
- package/lib/codec/google/protobuf/any.d.ts +3 -3
- package/lib/codec/google/protobuf/duration.d.ts +3 -3
- package/lib/codec/google/protobuf/timestamp.d.ts +3 -3
- package/lib/codec/google/protobuf/wrappers.d.ts +11 -11
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +3 -3
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.d.ts +4 -4
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/host.d.ts +3 -3
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/query.d.ts +4 -4
- package/lib/codec/ibc/applications/interchain_accounts/v1/account.d.ts +3 -3
- package/lib/codec/ibc/applications/interchain_accounts/v1/genesis.d.ts +7 -7
- package/lib/codec/ibc/applications/interchain_accounts/v1/metadata.d.ts +3 -3
- package/lib/codec/ibc/applications/interchain_accounts/v1/packet.d.ts +4 -4
- package/lib/codec/ibc/applications/transfer/v1/genesis.d.ts +3 -3
- package/lib/codec/ibc/applications/transfer/v1/query.d.ts +10 -10
- package/lib/codec/ibc/applications/transfer/v1/transfer.d.ts +4 -4
- package/lib/codec/ibc/applications/transfer/v1/tx.d.ts +4 -4
- package/lib/codec/ibc/applications/transfer/v2/packet.d.ts +3 -3
- package/lib/codec/ibc/core/channel/v1/channel.d.ts +8 -8
- package/lib/codec/ibc/core/channel/v1/genesis.d.ts +4 -4
- package/lib/codec/ibc/core/channel/v1/query.d.ts +28 -28
- package/lib/codec/ibc/core/channel/v1/tx.d.ts +22 -22
- package/lib/codec/ibc/core/client/v1/client.d.ts +9 -9
- package/lib/codec/ibc/core/client/v1/genesis.d.ts +5 -5
- package/lib/codec/ibc/core/client/v1/query.d.ts +18 -18
- package/lib/codec/ibc/core/client/v1/tx.d.ts +10 -10
- package/lib/codec/ibc/core/commitment/v1/commitment.d.ts +6 -6
- package/lib/codec/ibc/core/connection/v1/connection.d.ts +9 -9
- package/lib/codec/ibc/core/connection/v1/genesis.d.ts +3 -3
- package/lib/codec/ibc/core/connection/v1/query.d.ts +12 -12
- package/lib/codec/ibc/core/connection/v1/tx.d.ts +10 -10
- package/lib/codec/ibc/core/types/v1/genesis.d.ts +3 -3
- package/lib/codec/ibc/lightclients/localhost/v1/localhost.d.ts +3 -3
- package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.d.ts +18 -18
- package/lib/codec/ibc/lightclients/solomachine/v2/solomachine.d.ts +18 -18
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts +7 -7
- package/lib/codec/ibc-models.js +5 -1
- package/lib/codec/index.js +5 -1
- package/lib/codec/polynetwork-models.js +5 -1
- package/lib/codec/proofs.d.ts +15 -15
- package/lib/codec/tendermint/abci/types.d.ts +46 -46
- package/lib/codec/tendermint/crypto/keys.d.ts +3 -3
- package/lib/codec/tendermint/crypto/proof.d.ts +7 -7
- package/lib/codec/tendermint/libs/bits/types.d.ts +3 -3
- package/lib/codec/tendermint/p2p/types.d.ts +6 -6
- package/lib/codec/tendermint/types/block.d.ts +3 -3
- package/lib/codec/tendermint/types/evidence.d.ts +6 -6
- package/lib/codec/tendermint/types/params.d.ts +8 -8
- package/lib/codec/tendermint/types/types.d.ts +15 -15
- package/lib/codec/tendermint/types/validator.d.ts +5 -5
- package/lib/codec/tendermint/version/types.d.ts +4 -4
- package/lib/constant/address.d.ts +1 -1
- package/lib/constant/generic.js +1 -1
- package/lib/constant/ibc.d.ts +3 -3
- package/lib/constant/ibc.js +5 -1
- package/lib/constant/index.js +5 -1
- package/lib/constant/node.d.ts +1 -1
- package/lib/eth/index.js +5 -1
- package/lib/hydrogen/index.js +5 -1
- package/lib/hydrogen/transfer.d.ts +2 -2
- package/lib/index.js +5 -1
- package/lib/insights/common.d.ts +1 -1
- package/lib/insights/index.js +5 -1
- package/lib/insights/position.d.ts +1 -1
- package/lib/modules/cdp.js +45 -45
- package/lib/modules/cosmwasm.js +2 -2
- package/lib/modules/evm.d.ts +1 -1
- package/lib/modules/evm.js +6 -6
- package/lib/modules/gov.js +12 -12
- package/lib/modules/index.js +5 -1
- package/lib/modules/liquiditypool.js +1 -1
- package/lib/modules/order.js +2 -2
- package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.js +1 -1
- package/lib/provider/account/EthLedgerAccount/index.js +5 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.js +1 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/index.js +5 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.js +8 -8
- package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.d.ts +1 -1
- package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.js +8 -4
- package/lib/provider/account/NeoLedgerAccount/NeonLedger.js +1 -1
- package/lib/provider/account/NeoLedgerAccount/index.js +5 -1
- package/lib/provider/account/index.js +5 -1
- package/lib/provider/amino/types/admin.js +32 -28
- package/lib/provider/amino/types/bank.js +6 -2
- package/lib/provider/amino/types/broker.js +6 -2
- package/lib/provider/amino/types/cdp.js +31 -27
- package/lib/provider/amino/types/coin.js +9 -5
- package/lib/provider/amino/types/erc20.js +7 -3
- package/lib/provider/amino/types/evm.js +6 -2
- package/lib/provider/amino/types/evmmerge.js +6 -2
- package/lib/provider/amino/types/feemarket.js +6 -2
- package/lib/provider/amino/types/gov.js +10 -6
- package/lib/provider/amino/types/ibc.js +6 -2
- package/lib/provider/amino/types/leverage.js +6 -2
- package/lib/provider/amino/types/liquidityPool.js +12 -8
- package/lib/provider/amino/types/market.js +11 -7
- package/lib/provider/amino/types/oracle.js +7 -3
- package/lib/provider/amino/types/order.js +9 -5
- package/lib/provider/amino/types/perpspool.js +11 -7
- package/lib/provider/amino/types/position.js +6 -2
- package/lib/provider/amino/types/profile.js +6 -2
- package/lib/provider/amino/types/staking.js +9 -5
- package/lib/provider/amino/types/subaccount.js +8 -4
- package/lib/provider/amino/utils.d.ts +2 -2
- package/lib/provider/amino/utils.js +11 -11
- package/lib/provider/keplr/KeplrAccount.js +6 -6
- package/lib/provider/leap/LeapAccount.js +2 -2
- package/lib/provider/ledger/ledger.js +9 -6
- package/lib/provider/metamask/MetaMask.d.ts +1 -1
- package/lib/provider/metamask/MetaMask.js +28 -24
- package/lib/provider/metamask/error.d.ts +1 -1
- package/lib/provider/o3/O3Types.d.ts +1 -1
- package/lib/provider/o3/O3Wallet.js +15 -11
- package/lib/provider/o3/index.js +5 -1
- package/lib/provider/zilpay/Zilpay.js +4 -4
- package/lib/provider/zilpay/index.js +5 -1
- package/lib/util/address.d.ts +5 -5
- package/lib/util/address.js +19 -15
- package/lib/util/api.d.ts +3 -3
- package/lib/util/api.js +4 -4
- package/lib/util/blockchain.d.ts +7 -7
- package/lib/util/blockchain.js +4 -4
- package/lib/util/eip712.js +3 -3
- package/lib/util/fetch.js +1 -1
- package/lib/util/generic.d.ts +3 -2
- package/lib/util/generic.js +3 -3
- package/lib/util/gov.d.ts +1 -1
- package/lib/util/index.js +5 -1
- package/lib/util/legacyEIP712.d.ts +2 -2
- package/lib/util/legacyEIP712.js +2 -2
- package/lib/util/network.js +3 -3
- package/lib/util/number.d.ts +4 -4
- package/lib/util/number.js +5 -5
- package/lib/util/tx.d.ts +3 -3
- package/lib/util/tx.js +5 -1
- package/lib/util/type.d.ts +1 -1
- package/lib/wallet/CarbonSigner.d.ts +5 -5
- package/lib/wallet/CarbonSigner.js +6 -6
- package/lib/wallet/CarbonSigningClient.js +15 -15
- package/lib/wallet/CarbonWallet.d.ts +4 -14
- package/lib/wallet/CarbonWallet.js +23 -51
- package/lib/wallet/index.js +5 -1
- package/lib/websocket/connector.js +8 -4
- package/lib/websocket/index.js +5 -1
- package/lib/websocket/types.d.ts +1 -1
- package/package.json +1 -1
- package/lib/codec/adl/genesis.d.ts +0 -18
- package/lib/codec/adl/genesis.js +0 -46
- package/lib/codec/adl/query.d.ts +0 -12
- package/lib/codec/adl/query.js +0 -20
- package/lib/codec/adl/tx.d.ts +0 -12
- package/lib/codec/adl/tx.js +0 -20
- package/lib/codec/admin/export.d.ts +0 -2
- package/lib/codec/admin/export.js +0 -13
- package/lib/codec/admin/genesis.d.ts +0 -18
- package/lib/codec/admin/genesis.js +0 -46
- package/lib/codec/admin/query.d.ts +0 -62
- package/lib/codec/admin/query.js +0 -186
- package/lib/codec/admin/tx.d.ts +0 -62
- package/lib/codec/admin/tx.js +0 -198
- package/lib/codec/bank/event.d.ts +0 -65
- package/lib/codec/bank/event.js +0 -332
- package/lib/codec/bank/export.d.ts +0 -2
- package/lib/codec/bank/export.js +0 -14
- package/lib/codec/bank/genesis.d.ts +0 -18
- package/lib/codec/bank/genesis.js +0 -46
- package/lib/codec/bank/query.d.ts +0 -77
- package/lib/codec/bank/query.js +0 -459
- package/lib/codec/book/book.d.ts +0 -57
- package/lib/codec/book/book.js +0 -319
- package/lib/codec/book/event.d.ts +0 -22
- package/lib/codec/book/event.js +0 -113
- package/lib/codec/book/export.d.ts +0 -4
- package/lib/codec/book/export.js +0 -23
- package/lib/codec/book/genesis.d.ts +0 -25
- package/lib/codec/book/genesis.js +0 -79
- package/lib/codec/book/legacy.d.ts +0 -22
- package/lib/codec/book/legacy.js +0 -120
- package/lib/codec/book/query.d.ts +0 -141
- package/lib/codec/book/query.js +0 -606
- package/lib/codec/book/tx.d.ts +0 -12
- package/lib/codec/book/tx.js +0 -20
- package/lib/codec/broker/amm.d.ts +0 -50
- package/lib/codec/broker/amm.js +0 -326
- package/lib/codec/broker/candlestick.d.ts +0 -27
- package/lib/codec/broker/candlestick.js +0 -211
- package/lib/codec/broker/event.d.ts +0 -53
- package/lib/codec/broker/event.js +0 -485
- package/lib/codec/broker/export.d.ts +0 -7
- package/lib/codec/broker/export.js +0 -27
- package/lib/codec/broker/genesis.d.ts +0 -25
- package/lib/codec/broker/genesis.js +0 -79
- package/lib/codec/broker/incoming_liquidations.d.ts +0 -18
- package/lib/codec/broker/incoming_liquidations.js +0 -93
- package/lib/codec/broker/incoming_pool_swap.d.ts +0 -23
- package/lib/codec/broker/incoming_pool_swap.js +0 -136
- package/lib/codec/broker/pagination.d.ts +0 -19
- package/lib/codec/broker/pagination.js +0 -78
- package/lib/codec/broker/query.d.ts +0 -107
- package/lib/codec/broker/query.js +0 -597
- package/lib/codec/broker/tx.d.ts +0 -53
- package/lib/codec/broker/tx.js +0 -176
- package/lib/codec/btcx/denom_cross_chain_info.d.ts +0 -21
- package/lib/codec/btcx/denom_cross_chain_info.js +0 -98
- package/lib/codec/btcx/denom_info.d.ts +0 -24
- package/lib/codec/btcx/denom_info.js +0 -140
- package/lib/codec/btcx/export.d.ts +0 -4
- package/lib/codec/btcx/export.js +0 -19
- package/lib/codec/btcx/genesis.d.ts +0 -18
- package/lib/codec/btcx/genesis.js +0 -46
- package/lib/codec/btcx/query.d.ts +0 -68
- package/lib/codec/btcx/query.js +0 -275
- package/lib/codec/btcx/tx.d.ts +0 -92
- package/lib/codec/btcx/tx.js +0 -436
- package/lib/codec/ccm/ccm.d.ts +0 -19
- package/lib/codec/ccm/ccm.js +0 -60
- package/lib/codec/ccm/export.d.ts +0 -4
- package/lib/codec/ccm/export.js +0 -20
- package/lib/codec/ccm/genesis.d.ts +0 -83
- package/lib/codec/ccm/genesis.js +0 -438
- package/lib/codec/ccm/query.d.ts +0 -45
- package/lib/codec/ccm/query.js +0 -197
- package/lib/codec/ccm/tx.d.ts +0 -97
- package/lib/codec/ccm/tx.js +0 -462
- package/lib/codec/cdp/asset_params.d.ts +0 -57
- package/lib/codec/cdp/asset_params.js +0 -411
- package/lib/codec/cdp/cdp_liquidations.d.ts +0 -32
- package/lib/codec/cdp/cdp_liquidations.js +0 -288
- package/lib/codec/cdp/debt_info.d.ts +0 -23
- package/lib/codec/cdp/debt_info.js +0 -158
- package/lib/codec/cdp/e_mode_category.d.ts +0 -23
- package/lib/codec/cdp/e_mode_category.js +0 -135
- package/lib/codec/cdp/event.d.ts +0 -446
- package/lib/codec/cdp/event.js +0 -2913
- package/lib/codec/cdp/export.d.ts +0 -13
- package/lib/codec/cdp/export.js +0 -210
- package/lib/codec/cdp/genesis.d.ts +0 -134
- package/lib/codec/cdp/genesis.js +0 -825
- package/lib/codec/cdp/params.d.ts +0 -68
- package/lib/codec/cdp/params.js +0 -210
- package/lib/codec/cdp/query.d.ts +0 -644
- package/lib/codec/cdp/query.js +0 -3099
- package/lib/codec/cdp/rate_strategy_params.d.ts +0 -26
- package/lib/codec/cdp/rate_strategy_params.js +0 -180
- package/lib/codec/cdp/reward_scheme.d.ts +0 -71
- package/lib/codec/cdp/reward_scheme.js +0 -550
- package/lib/codec/cdp/stablecoin_debt_info.d.ts +0 -22
- package/lib/codec/cdp/stablecoin_debt_info.js +0 -144
- package/lib/codec/cdp/stablecoin_interest_info.d.ts +0 -19
- package/lib/codec/cdp/stablecoin_interest_info.js +0 -99
- package/lib/codec/cdp/tx.d.ts +0 -1026
- package/lib/codec/cdp/tx.js +0 -5191
- package/lib/codec/coin/bridge.d.ts +0 -24
- package/lib/codec/coin/bridge.js +0 -151
- package/lib/codec/coin/event.d.ts +0 -143
- package/lib/codec/coin/event.js +0 -775
- package/lib/codec/coin/export.d.ts +0 -8
- package/lib/codec/coin/export.js +0 -107
- package/lib/codec/coin/genesis.d.ts +0 -42
- package/lib/codec/coin/genesis.js +0 -207
- package/lib/codec/coin/group.d.ts +0 -50
- package/lib/codec/coin/group.js +0 -230
- package/lib/codec/coin/proposal.d.ts +0 -21
- package/lib/codec/coin/proposal.js +0 -91
- package/lib/codec/coin/query.d.ts +0 -310
- package/lib/codec/coin/query.js +0 -1439
- package/lib/codec/coin/token.d.ts +0 -104
- package/lib/codec/coin/token.js +0 -700
- package/lib/codec/coin/tx.d.ts +0 -586
- package/lib/codec/coin/tx.js +0 -3131
- package/lib/codec/crisis/genesis.d.ts +0 -18
- package/lib/codec/crisis/genesis.js +0 -46
- package/lib/codec/crisis/query.d.ts +0 -43
- package/lib/codec/crisis/query.js +0 -103
- package/lib/codec/crisis/tx.d.ts +0 -12
- package/lib/codec/crisis/tx.js +0 -20
- package/lib/codec/erc20/erc20.d.ts +0 -41
- package/lib/codec/erc20/erc20.js +0 -144
- package/lib/codec/erc20/events.d.ts +0 -76
- package/lib/codec/erc20/events.js +0 -330
- package/lib/codec/erc20/export.d.ts +0 -5
- package/lib/codec/erc20/export.js +0 -37
- package/lib/codec/erc20/genesis.d.ts +0 -40
- package/lib/codec/erc20/genesis.js +0 -139
- package/lib/codec/erc20/query.d.ts +0 -117
- package/lib/codec/erc20/query.js +0 -333
- package/lib/codec/erc20/tx.d.ts +0 -232
- package/lib/codec/erc20/tx.js +0 -765
- package/lib/codec/ethermint/evm/v1/events.d.ts +0 -72
- package/lib/codec/ethermint/evm/v1/events.js +0 -303
- package/lib/codec/ethermint/feemarket/v1/events.d.ts +0 -34
- package/lib/codec/ethermint/feemarket/v1/events.js +0 -116
- package/lib/codec/ethermint/feemarket/v1/tx.d.ts +0 -55
- package/lib/codec/ethermint/feemarket/v1/tx.js +0 -120
- package/lib/codec/evmbank/export.d.ts +0 -2
- package/lib/codec/evmbank/export.js +0 -8
- package/lib/codec/evmbank/genesis.d.ts +0 -32
- package/lib/codec/evmbank/genesis.js +0 -152
- package/lib/codec/evmbank/query.d.ts +0 -40
- package/lib/codec/evmbank/query.js +0 -116
- package/lib/codec/evmcontract/genesis.d.ts +0 -18
- package/lib/codec/evmcontract/genesis.js +0 -46
- package/lib/codec/evmcontract/query.d.ts +0 -12
- package/lib/codec/evmcontract/query.js +0 -20
- package/lib/codec/evmcontract/tx.d.ts +0 -12
- package/lib/codec/evmcontract/tx.js +0 -20
- package/lib/codec/evmmerge/address.d.ts +0 -19
- package/lib/codec/evmmerge/address.js +0 -75
- package/lib/codec/evmmerge/event.d.ts +0 -20
- package/lib/codec/evmmerge/event.js +0 -90
- package/lib/codec/evmmerge/export.d.ts +0 -6
- package/lib/codec/evmmerge/export.js +0 -20
- package/lib/codec/evmmerge/genesis.d.ts +0 -48
- package/lib/codec/evmmerge/genesis.js +0 -216
- package/lib/codec/evmmerge/offchain.d.ts +0 -22
- package/lib/codec/evmmerge/offchain.js +0 -105
- package/lib/codec/evmmerge/query.d.ts +0 -75
- package/lib/codec/evmmerge/query.js +0 -254
- package/lib/codec/evmmerge/tx.d.ts +0 -45
- package/lib/codec/evmmerge/tx.js +0 -128
- package/lib/codec/fee/event.d.ts +0 -20
- package/lib/codec/fee/event.js +0 -83
- package/lib/codec/fee/export.d.ts +0 -5
- package/lib/codec/fee/export.js +0 -32
- package/lib/codec/fee/fee.d.ts +0 -42
- package/lib/codec/fee/fee.js +0 -183
- package/lib/codec/fee/genesis.d.ts +0 -23
- package/lib/codec/fee/genesis.js +0 -79
- package/lib/codec/fee/proposal.d.ts +0 -57
- package/lib/codec/fee/proposal.js +0 -311
- package/lib/codec/fee/query.d.ts +0 -114
- package/lib/codec/fee/query.js +0 -470
- package/lib/codec/fee/tx.d.ts +0 -108
- package/lib/codec/fee/tx.js +0 -415
- package/lib/codec/headersync/consensus_peers.d.ts +0 -70
- package/lib/codec/headersync/consensus_peers.js +0 -383
- package/lib/codec/headersync/export.d.ts +0 -4
- package/lib/codec/headersync/export.js +0 -24
- package/lib/codec/headersync/genesis.d.ts +0 -79
- package/lib/codec/headersync/genesis.js +0 -419
- package/lib/codec/headersync/query.d.ts +0 -64
- package/lib/codec/headersync/query.js +0 -231
- package/lib/codec/headersync/tx.d.ts +0 -64
- package/lib/codec/headersync/tx.js +0 -215
- package/lib/codec/ibc/applications/fee/v1/ack.d.ts +0 -24
- package/lib/codec/ibc/applications/fee/v1/ack.js +0 -125
- package/lib/codec/ibc/applications/fee/v1/fee.d.ts +0 -68
- package/lib/codec/ibc/applications/fee/v1/fee.js +0 -289
- package/lib/codec/ibc/applications/fee/v1/genesis.d.ts +0 -93
- package/lib/codec/ibc/applications/fee/v1/genesis.js +0 -390
- package/lib/codec/ibc/applications/fee/v1/metadata.d.ts +0 -25
- package/lib/codec/ibc/applications/fee/v1/metadata.js +0 -71
- package/lib/codec/ibc/applications/fee/v1/query.d.ts +0 -312
- package/lib/codec/ibc/applications/fee/v1/query.js +0 -1187
- package/lib/codec/ibc/applications/fee/v1/tx.d.ts +0 -171
- package/lib/codec/ibc/applications/fee/v1/tx.js +0 -524
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +0 -78
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.js +0 -296
- package/lib/codec/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +0 -80
- package/lib/codec/ibc/applications/interchain_accounts/genesis/v1/genesis.js +0 -439
- package/lib/codec/inflation/export.d.ts +0 -2
- package/lib/codec/inflation/export.js +0 -8
- package/lib/codec/inflation/genesis.d.ts +0 -25
- package/lib/codec/inflation/genesis.js +0 -79
- package/lib/codec/inflation/inflation.d.ts +0 -26
- package/lib/codec/inflation/inflation.js +0 -165
- package/lib/codec/inflation/query.d.ts +0 -41
- package/lib/codec/inflation/query.js +0 -109
- package/lib/codec/inflation/tx.d.ts +0 -12
- package/lib/codec/inflation/tx.js +0 -20
- package/lib/codec/insurance/event.d.ts +0 -24
- package/lib/codec/insurance/event.js +0 -46
- package/lib/codec/insurance/export.d.ts +0 -4
- package/lib/codec/insurance/export.js +0 -14
- package/lib/codec/insurance/fund.d.ts +0 -29
- package/lib/codec/insurance/fund.js +0 -148
- package/lib/codec/insurance/genesis.d.ts +0 -18
- package/lib/codec/insurance/genesis.js +0 -46
- package/lib/codec/insurance/query.d.ts +0 -41
- package/lib/codec/insurance/query.js +0 -108
- package/lib/codec/insurance/tx.d.ts +0 -44
- package/lib/codec/insurance/tx.js +0 -144
- package/lib/codec/leverage/event.d.ts +0 -21
- package/lib/codec/leverage/event.js +0 -100
- package/lib/codec/leverage/export.d.ts +0 -4
- package/lib/codec/leverage/export.js +0 -16
- package/lib/codec/leverage/genesis.d.ts +0 -24
- package/lib/codec/leverage/genesis.js +0 -64
- package/lib/codec/leverage/leverage.d.ts +0 -30
- package/lib/codec/leverage/leverage.js +0 -134
- package/lib/codec/leverage/query.d.ts +0 -70
- package/lib/codec/leverage/query.js +0 -234
- package/lib/codec/leverage/tx.d.ts +0 -43
- package/lib/codec/leverage/tx.js +0 -127
- package/lib/codec/liquidation/export.d.ts +0 -5
- package/lib/codec/liquidation/export.js +0 -17
- package/lib/codec/liquidation/genesis.d.ts +0 -37
- package/lib/codec/liquidation/genesis.js +0 -136
- package/lib/codec/liquidation/liquidation.d.ts +0 -17
- package/lib/codec/liquidation/liquidation.js +0 -46
- package/lib/codec/liquidation/outstanding_position.d.ts +0 -33
- package/lib/codec/liquidation/outstanding_position.js +0 -203
- package/lib/codec/liquidation/query.d.ts +0 -77
- package/lib/codec/liquidation/query.js +0 -341
- package/lib/codec/liquidation/quote_changes.d.ts +0 -22
- package/lib/codec/liquidation/quote_changes.js +0 -95
- package/lib/codec/liquidation/tx.d.ts +0 -12
- package/lib/codec/liquidation/tx.js +0 -20
- package/lib/codec/liquiditypool/event.d.ts +0 -182
- package/lib/codec/liquiditypool/event.js +0 -1268
- package/lib/codec/liquiditypool/export.d.ts +0 -6
- package/lib/codec/liquiditypool/export.js +0 -125
- package/lib/codec/liquiditypool/genesis.d.ts +0 -32
- package/lib/codec/liquiditypool/genesis.js +0 -228
- package/lib/codec/liquiditypool/liquiditypool.d.ts +0 -138
- package/lib/codec/liquiditypool/liquiditypool.js +0 -943
- package/lib/codec/liquiditypool/proposal.d.ts +0 -117
- package/lib/codec/liquiditypool/proposal.js +0 -697
- package/lib/codec/liquiditypool/query.d.ts +0 -370
- package/lib/codec/liquiditypool/query.js +0 -1738
- package/lib/codec/liquiditypool/reward.d.ts +0 -196
- package/lib/codec/liquiditypool/reward.js +0 -1204
- package/lib/codec/liquiditypool/tx.d.ts +0 -453
- package/lib/codec/liquiditypool/tx.js +0 -2423
- package/lib/codec/lockproxy/event.d.ts +0 -46
- package/lib/codec/lockproxy/event.js +0 -348
- package/lib/codec/lockproxy/export.d.ts +0 -5
- package/lib/codec/lockproxy/export.js +0 -28
- package/lib/codec/lockproxy/genesis.d.ts +0 -68
- package/lib/codec/lockproxy/genesis.js +0 -355
- package/lib/codec/lockproxy/lockproxy.d.ts +0 -22
- package/lib/codec/lockproxy/lockproxy.js +0 -147
- package/lib/codec/lockproxy/query.d.ts +0 -67
- package/lib/codec/lockproxy/query.js +0 -274
- package/lib/codec/lockproxy/tx.d.ts +0 -147
- package/lib/codec/lockproxy/tx.js +0 -808
- package/lib/codec/market/event.d.ts +0 -20
- package/lib/codec/market/event.js +0 -76
- package/lib/codec/market/export.d.ts +0 -6
- package/lib/codec/market/export.js +0 -61
- package/lib/codec/market/fee.d.ts +0 -123
- package/lib/codec/market/fee.js +0 -334
- package/lib/codec/market/genesis.d.ts +0 -31
- package/lib/codec/market/genesis.js +0 -147
- package/lib/codec/market/legacy.d.ts +0 -62
- package/lib/codec/market/legacy.js +0 -630
- package/lib/codec/market/market.d.ts +0 -131
- package/lib/codec/market/market.js +0 -1245
- package/lib/codec/market/proposal.d.ts +0 -46
- package/lib/codec/market/proposal.js +0 -245
- package/lib/codec/market/query.d.ts +0 -233
- package/lib/codec/market/query.js +0 -938
- package/lib/codec/market/tx.d.ts +0 -250
- package/lib/codec/market/tx.js +0 -1265
- package/lib/codec/marketstats/export.d.ts +0 -3
- package/lib/codec/marketstats/export.js +0 -12
- package/lib/codec/marketstats/genesis.d.ts +0 -21
- package/lib/codec/marketstats/genesis.js +0 -63
- package/lib/codec/marketstats/marketstats.d.ts +0 -31
- package/lib/codec/marketstats/marketstats.js +0 -258
- package/lib/codec/marketstats/params.d.ts +0 -18
- package/lib/codec/marketstats/params.js +0 -46
- package/lib/codec/marketstats/query.d.ts +0 -66
- package/lib/codec/marketstats/query.js +0 -195
- package/lib/codec/marketstats/tx.d.ts +0 -12
- package/lib/codec/marketstats/tx.js +0 -20
- package/lib/codec/misc/block.d.ts +0 -21
- package/lib/codec/misc/block.js +0 -105
- package/lib/codec/misc/export.d.ts +0 -6
- package/lib/codec/misc/export.js +0 -29
- package/lib/codec/misc/message.d.ts +0 -22
- package/lib/codec/misc/message.js +0 -128
- package/lib/codec/misc/message_type.d.ts +0 -18
- package/lib/codec/misc/message_type.js +0 -60
- package/lib/codec/misc/query.d.ts +0 -192
- package/lib/codec/misc/query.js +0 -884
- package/lib/codec/misc/trade.d.ts +0 -28
- package/lib/codec/misc/trade.js +0 -224
- package/lib/codec/misc/transaction.d.ts +0 -45
- package/lib/codec/misc/transaction.js +0 -369
- package/lib/codec/oracle/event.d.ts +0 -37
- package/lib/codec/oracle/event.js +0 -228
- package/lib/codec/oracle/export.d.ts +0 -6
- package/lib/codec/oracle/export.js +0 -58
- package/lib/codec/oracle/genesis.d.ts +0 -28
- package/lib/codec/oracle/genesis.js +0 -141
- package/lib/codec/oracle/oracle.d.ts +0 -94
- package/lib/codec/oracle/oracle.js +0 -650
- package/lib/codec/oracle/proposal.d.ts +0 -21
- package/lib/codec/oracle/proposal.js +0 -91
- package/lib/codec/oracle/query.d.ts +0 -336
- package/lib/codec/oracle/query.js +0 -1551
- package/lib/codec/oracle/slashing.d.ts +0 -33
- package/lib/codec/oracle/slashing.js +0 -191
- package/lib/codec/oracle/tx.d.ts +0 -169
- package/lib/codec/oracle/tx.js +0 -877
- package/lib/codec/order/event.d.ts +0 -23
- package/lib/codec/order/event.js +0 -146
- package/lib/codec/order/export.d.ts +0 -5
- package/lib/codec/order/export.js +0 -39
- package/lib/codec/order/genesis.d.ts +0 -62
- package/lib/codec/order/genesis.js +0 -322
- package/lib/codec/order/order.d.ts +0 -113
- package/lib/codec/order/order.js +0 -875
- package/lib/codec/order/query.d.ts +0 -143
- package/lib/codec/order/query.js +0 -596
- package/lib/codec/order/tx.d.ts +0 -146
- package/lib/codec/order/tx.js +0 -715
- package/lib/codec/perpsliquidity/event.d.ts +0 -115
- package/lib/codec/perpsliquidity/event.js +0 -657
- package/lib/codec/perpsliquidity/genesis.d.ts +0 -36
- package/lib/codec/perpsliquidity/genesis.js +0 -163
- package/lib/codec/perpsliquidity/market.d.ts +0 -84
- package/lib/codec/perpsliquidity/market.js +0 -431
- package/lib/codec/perpsliquidity/params.d.ts +0 -27
- package/lib/codec/perpsliquidity/params.js +0 -129
- package/lib/codec/perpsliquidity/pool.d.ts +0 -119
- package/lib/codec/perpsliquidity/pool.js +0 -774
- package/lib/codec/perpsliquidity/query.d.ts +0 -246
- package/lib/codec/perpsliquidity/query.js +0 -1125
- package/lib/codec/perpsliquidity/tx.d.ts +0 -203
- package/lib/codec/perpsliquidity/tx.js +0 -973
- package/lib/codec/perpspool/event.d.ts +0 -95
- package/lib/codec/perpspool/event.js +0 -561
- package/lib/codec/perpspool/export.d.ts +0 -7
- package/lib/codec/perpspool/export.js +0 -68
- package/lib/codec/perpspool/genesis.d.ts +0 -61
- package/lib/codec/perpspool/genesis.js +0 -343
- package/lib/codec/perpspool/market.d.ts +0 -96
- package/lib/codec/perpspool/market.js +0 -493
- package/lib/codec/perpspool/params.d.ts +0 -30
- package/lib/codec/perpspool/params.js +0 -189
- package/lib/codec/perpspool/pool.d.ts +0 -103
- package/lib/codec/perpspool/pool.js +0 -638
- package/lib/codec/perpspool/query.d.ts +0 -247
- package/lib/codec/perpspool/query.js +0 -1141
- package/lib/codec/perpspool/tx.d.ts +0 -229
- package/lib/codec/perpspool/tx.js +0 -1144
- package/lib/codec/position/event.d.ts +0 -26
- package/lib/codec/position/event.js +0 -180
- package/lib/codec/position/export.d.ts +0 -4
- package/lib/codec/position/export.js +0 -20
- package/lib/codec/position/genesis.d.ts +0 -24
- package/lib/codec/position/genesis.js +0 -64
- package/lib/codec/position/position.d.ts +0 -74
- package/lib/codec/position/position.js +0 -601
- package/lib/codec/position/query.d.ts +0 -92
- package/lib/codec/position/query.js +0 -400
- package/lib/codec/position/tx.d.ts +0 -42
- package/lib/codec/position/tx.js +0 -127
- package/lib/codec/pricing/event.d.ts +0 -74
- package/lib/codec/pricing/event.js +0 -361
- package/lib/codec/pricing/export.d.ts +0 -6
- package/lib/codec/pricing/export.js +0 -45
- package/lib/codec/pricing/genesis.d.ts +0 -26
- package/lib/codec/pricing/genesis.js +0 -95
- package/lib/codec/pricing/legacy.d.ts +0 -22
- package/lib/codec/pricing/legacy.js +0 -93
- package/lib/codec/pricing/pricing.d.ts +0 -60
- package/lib/codec/pricing/pricing.js +0 -456
- package/lib/codec/pricing/proposal.d.ts +0 -31
- package/lib/codec/pricing/proposal.js +0 -148
- package/lib/codec/pricing/query.d.ts +0 -183
- package/lib/codec/pricing/query.js +0 -759
- package/lib/codec/pricing/tx.d.ts +0 -131
- package/lib/codec/pricing/tx.js +0 -529
- package/lib/codec/profile/event.d.ts +0 -20
- package/lib/codec/profile/event.js +0 -78
- package/lib/codec/profile/export.d.ts +0 -4
- package/lib/codec/profile/export.js +0 -17
- package/lib/codec/profile/genesis.d.ts +0 -24
- package/lib/codec/profile/genesis.js +0 -64
- package/lib/codec/profile/profile.d.ts +0 -20
- package/lib/codec/profile/profile.js +0 -83
- package/lib/codec/profile/query.d.ts +0 -92
- package/lib/codec/profile/query.js +0 -360
- package/lib/codec/profile/tx.d.ts +0 -43
- package/lib/codec/profile/tx.js +0 -127
- package/lib/codec/query/pagination.d.ts +0 -29
- package/lib/codec/query/pagination.js +0 -126
- package/lib/codec/sequence/export.d.ts +0 -3
- package/lib/codec/sequence/export.js +0 -13
- package/lib/codec/sequence/genesis.d.ts +0 -30
- package/lib/codec/sequence/genesis.js +0 -122
- package/lib/codec/sequence/query.d.ts +0 -63
- package/lib/codec/sequence/query.js +0 -208
- package/lib/codec/sequence/tx.d.ts +0 -41
- package/lib/codec/sequence/tx.js +0 -148
- package/lib/codec/subaccount/export.d.ts +0 -4
- package/lib/codec/subaccount/export.js +0 -35
- package/lib/codec/subaccount/genesis.d.ts +0 -28
- package/lib/codec/subaccount/genesis.js +0 -110
- package/lib/codec/subaccount/legacy.d.ts +0 -19
- package/lib/codec/subaccount/legacy.js +0 -72
- package/lib/codec/subaccount/query.d.ts +0 -229
- package/lib/codec/subaccount/query.js +0 -1026
- package/lib/codec/subaccount/subaccount.d.ts +0 -57
- package/lib/codec/subaccount/subaccount.js +0 -349
- package/lib/codec/subaccount/tx.d.ts +0 -92
- package/lib/codec/subaccount/tx.js +0 -395
- package/lib/modules/feemarket.d.ts +0 -20
- package/lib/modules/feemarket.js +0 -45
- package/lib/modules/perpsliquidity.d.ts +0 -49
- package/lib/modules/perpsliquidity.js +0 -118
- package/lib/modules/vault.d.ts +0 -56
- package/lib/modules/vault.js +0 -128
- package/lib/provider/amino/types/perpsliquidity.d.ts +0 -4
- package/lib/provider/amino/types/perpsliquidity.js +0 -73
- package/lib/provider/station/StationAccount.d.ts +0 -28
- package/lib/provider/station/StationAccount.js +0 -168
- package/lib/provider/station/index.d.ts +0 -2
- package/lib/provider/station/index.js +0 -10
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MsgClientImpl = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const long_1 = __importDefault(require("long"));
|
|
9
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const feemarket_1 = require("./feemarket");
|
|
11
|
-
exports.protobufPackage = "ethermint.feemarket.v1";
|
|
12
|
-
const baseMsgUpdateParams = { authority: "" };
|
|
13
|
-
exports.MsgUpdateParams = {
|
|
14
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
15
|
-
if (message.authority !== "") {
|
|
16
|
-
writer.uint32(10).string(message.authority);
|
|
17
|
-
}
|
|
18
|
-
if (message.params !== undefined) {
|
|
19
|
-
feemarket_1.Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
20
|
-
}
|
|
21
|
-
return writer;
|
|
22
|
-
},
|
|
23
|
-
decode(input, length) {
|
|
24
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
25
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
26
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
27
|
-
while (reader.pos < end) {
|
|
28
|
-
const tag = reader.uint32();
|
|
29
|
-
switch (tag >>> 3) {
|
|
30
|
-
case 1:
|
|
31
|
-
message.authority = reader.string();
|
|
32
|
-
break;
|
|
33
|
-
case 2:
|
|
34
|
-
message.params = feemarket_1.Params.decode(reader, reader.uint32());
|
|
35
|
-
break;
|
|
36
|
-
default:
|
|
37
|
-
reader.skipType(tag & 7);
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return message;
|
|
42
|
-
},
|
|
43
|
-
fromJSON(object) {
|
|
44
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
45
|
-
message.authority =
|
|
46
|
-
object.authority !== undefined && object.authority !== null
|
|
47
|
-
? String(object.authority)
|
|
48
|
-
: "";
|
|
49
|
-
message.params =
|
|
50
|
-
object.params !== undefined && object.params !== null
|
|
51
|
-
? feemarket_1.Params.fromJSON(object.params)
|
|
52
|
-
: undefined;
|
|
53
|
-
return message;
|
|
54
|
-
},
|
|
55
|
-
toJSON(message) {
|
|
56
|
-
const obj = {};
|
|
57
|
-
message.authority !== undefined && (obj.authority = message.authority);
|
|
58
|
-
message.params !== undefined &&
|
|
59
|
-
(obj.params = message.params ? feemarket_1.Params.toJSON(message.params) : undefined);
|
|
60
|
-
return obj;
|
|
61
|
-
},
|
|
62
|
-
fromPartial(object) {
|
|
63
|
-
var _a;
|
|
64
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
65
|
-
message.authority = (_a = object.authority) !== null && _a !== void 0 ? _a : "";
|
|
66
|
-
message.params =
|
|
67
|
-
object.params !== undefined && object.params !== null
|
|
68
|
-
? feemarket_1.Params.fromPartial(object.params)
|
|
69
|
-
: undefined;
|
|
70
|
-
return message;
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
const baseMsgUpdateParamsResponse = {};
|
|
74
|
-
exports.MsgUpdateParamsResponse = {
|
|
75
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
76
|
-
return writer;
|
|
77
|
-
},
|
|
78
|
-
decode(input, length) {
|
|
79
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
80
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
81
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
82
|
-
while (reader.pos < end) {
|
|
83
|
-
const tag = reader.uint32();
|
|
84
|
-
switch (tag >>> 3) {
|
|
85
|
-
default:
|
|
86
|
-
reader.skipType(tag & 7);
|
|
87
|
-
break;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
return message;
|
|
91
|
-
},
|
|
92
|
-
fromJSON(_) {
|
|
93
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
94
|
-
return message;
|
|
95
|
-
},
|
|
96
|
-
toJSON(_) {
|
|
97
|
-
const obj = {};
|
|
98
|
-
return obj;
|
|
99
|
-
},
|
|
100
|
-
fromPartial(_) {
|
|
101
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
102
|
-
return message;
|
|
103
|
-
},
|
|
104
|
-
};
|
|
105
|
-
class MsgClientImpl {
|
|
106
|
-
constructor(rpc) {
|
|
107
|
-
this.rpc = rpc;
|
|
108
|
-
this.UpdateParams = this.UpdateParams.bind(this);
|
|
109
|
-
}
|
|
110
|
-
UpdateParams(request) {
|
|
111
|
-
const data = exports.MsgUpdateParams.encode(request).finish();
|
|
112
|
-
const promise = this.rpc.request("ethermint.feemarket.v1.Msg", "UpdateParams", data);
|
|
113
|
-
return promise.then((data) => exports.MsgUpdateParamsResponse.decode(new minimal_1.default.Reader(data)));
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
exports.MsgClientImpl = MsgClientImpl;
|
|
117
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
118
|
-
minimal_1.default.util.Long = long_1.default;
|
|
119
|
-
minimal_1.default.configure();
|
|
120
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryAccountBalanceResponse = exports.QueryAccountBalanceRequest = exports.Account = void 0;
|
|
4
|
-
var genesis_1 = require("./genesis");
|
|
5
|
-
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return genesis_1.Account; } });
|
|
6
|
-
var query_1 = require("./query");
|
|
7
|
-
Object.defineProperty(exports, "QueryAccountBalanceRequest", { enumerable: true, get: function () { return query_1.QueryAccountBalanceRequest; } });
|
|
8
|
-
Object.defineProperty(exports, "QueryAccountBalanceResponse", { enumerable: true, get: function () { return query_1.QueryAccountBalanceResponse; } });
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import Long from "long";
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
3
|
-
export declare const protobufPackage = "Switcheo.carbon.evmbank";
|
|
4
|
-
/** GenesisState defines the evmbank module's genesis state. */
|
|
5
|
-
export interface GenesisState {
|
|
6
|
-
accounts: Account[];
|
|
7
|
-
}
|
|
8
|
-
/** BalanceAccount defines an account in the evmbank module. */
|
|
9
|
-
export interface Account {
|
|
10
|
-
address: Uint8Array;
|
|
11
|
-
/** balance indicates the amount of eswth owned by the address. */
|
|
12
|
-
balance: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const GenesisState: {
|
|
15
|
-
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GenesisState;
|
|
17
|
-
fromJSON(object: any): GenesisState;
|
|
18
|
-
toJSON(message: GenesisState): unknown;
|
|
19
|
-
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
|
20
|
-
};
|
|
21
|
-
export declare const Account: {
|
|
22
|
-
encode(message: Account, writer?: _m0.Writer): _m0.Writer;
|
|
23
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Account;
|
|
24
|
-
fromJSON(object: any): Account;
|
|
25
|
-
toJSON(message: Account): unknown;
|
|
26
|
-
fromPartial(object: DeepPartial<Account>): Account;
|
|
27
|
-
};
|
|
28
|
-
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
29
|
-
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
30
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
31
|
-
} : Partial<T>;
|
|
32
|
-
export {};
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Account = exports.GenesisState = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const long_1 = __importDefault(require("long"));
|
|
9
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
exports.protobufPackage = "Switcheo.carbon.evmbank";
|
|
11
|
-
const baseGenesisState = {};
|
|
12
|
-
exports.GenesisState = {
|
|
13
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
14
|
-
for (const v of message.accounts) {
|
|
15
|
-
exports.Account.encode(v, writer.uint32(10).fork()).ldelim();
|
|
16
|
-
}
|
|
17
|
-
return writer;
|
|
18
|
-
},
|
|
19
|
-
decode(input, length) {
|
|
20
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
21
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
22
|
-
const message = Object.assign({}, baseGenesisState);
|
|
23
|
-
message.accounts = [];
|
|
24
|
-
while (reader.pos < end) {
|
|
25
|
-
const tag = reader.uint32();
|
|
26
|
-
switch (tag >>> 3) {
|
|
27
|
-
case 1:
|
|
28
|
-
message.accounts.push(exports.Account.decode(reader, reader.uint32()));
|
|
29
|
-
break;
|
|
30
|
-
default:
|
|
31
|
-
reader.skipType(tag & 7);
|
|
32
|
-
break;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return message;
|
|
36
|
-
},
|
|
37
|
-
fromJSON(object) {
|
|
38
|
-
var _a;
|
|
39
|
-
const message = Object.assign({}, baseGenesisState);
|
|
40
|
-
message.accounts = ((_a = object.accounts) !== null && _a !== void 0 ? _a : []).map((e) => exports.Account.fromJSON(e));
|
|
41
|
-
return message;
|
|
42
|
-
},
|
|
43
|
-
toJSON(message) {
|
|
44
|
-
const obj = {};
|
|
45
|
-
if (message.accounts) {
|
|
46
|
-
obj.accounts = message.accounts.map((e) => e ? exports.Account.toJSON(e) : undefined);
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
obj.accounts = [];
|
|
50
|
-
}
|
|
51
|
-
return obj;
|
|
52
|
-
},
|
|
53
|
-
fromPartial(object) {
|
|
54
|
-
var _a;
|
|
55
|
-
const message = Object.assign({}, baseGenesisState);
|
|
56
|
-
message.accounts = ((_a = object.accounts) !== null && _a !== void 0 ? _a : []).map((e) => exports.Account.fromPartial(e));
|
|
57
|
-
return message;
|
|
58
|
-
},
|
|
59
|
-
};
|
|
60
|
-
const baseAccount = { balance: "" };
|
|
61
|
-
exports.Account = {
|
|
62
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
63
|
-
if (message.address.length !== 0) {
|
|
64
|
-
writer.uint32(10).bytes(message.address);
|
|
65
|
-
}
|
|
66
|
-
if (message.balance !== "") {
|
|
67
|
-
writer.uint32(18).string(message.balance);
|
|
68
|
-
}
|
|
69
|
-
return writer;
|
|
70
|
-
},
|
|
71
|
-
decode(input, length) {
|
|
72
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
73
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
74
|
-
const message = Object.assign({}, baseAccount);
|
|
75
|
-
message.address = new Uint8Array();
|
|
76
|
-
while (reader.pos < end) {
|
|
77
|
-
const tag = reader.uint32();
|
|
78
|
-
switch (tag >>> 3) {
|
|
79
|
-
case 1:
|
|
80
|
-
message.address = reader.bytes();
|
|
81
|
-
break;
|
|
82
|
-
case 2:
|
|
83
|
-
message.balance = reader.string();
|
|
84
|
-
break;
|
|
85
|
-
default:
|
|
86
|
-
reader.skipType(tag & 7);
|
|
87
|
-
break;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
return message;
|
|
91
|
-
},
|
|
92
|
-
fromJSON(object) {
|
|
93
|
-
const message = Object.assign({}, baseAccount);
|
|
94
|
-
message.address =
|
|
95
|
-
object.address !== undefined && object.address !== null
|
|
96
|
-
? bytesFromBase64(object.address)
|
|
97
|
-
: new Uint8Array();
|
|
98
|
-
message.balance =
|
|
99
|
-
object.balance !== undefined && object.balance !== null
|
|
100
|
-
? String(object.balance)
|
|
101
|
-
: "";
|
|
102
|
-
return message;
|
|
103
|
-
},
|
|
104
|
-
toJSON(message) {
|
|
105
|
-
const obj = {};
|
|
106
|
-
message.address !== undefined &&
|
|
107
|
-
(obj.address = base64FromBytes(message.address !== undefined ? message.address : new Uint8Array()));
|
|
108
|
-
message.balance !== undefined && (obj.balance = message.balance);
|
|
109
|
-
return obj;
|
|
110
|
-
},
|
|
111
|
-
fromPartial(object) {
|
|
112
|
-
var _a, _b;
|
|
113
|
-
const message = Object.assign({}, baseAccount);
|
|
114
|
-
message.address = (_a = object.address) !== null && _a !== void 0 ? _a : new Uint8Array();
|
|
115
|
-
message.balance = (_b = object.balance) !== null && _b !== void 0 ? _b : "";
|
|
116
|
-
return message;
|
|
117
|
-
},
|
|
118
|
-
};
|
|
119
|
-
var globalThis = (() => {
|
|
120
|
-
if (typeof globalThis !== "undefined")
|
|
121
|
-
return globalThis;
|
|
122
|
-
if (typeof self !== "undefined")
|
|
123
|
-
return self;
|
|
124
|
-
if (typeof window !== "undefined")
|
|
125
|
-
return window;
|
|
126
|
-
if (typeof global !== "undefined")
|
|
127
|
-
return global;
|
|
128
|
-
throw "Unable to locate global object";
|
|
129
|
-
})();
|
|
130
|
-
const atob = globalThis.atob ||
|
|
131
|
-
((b64) => globalThis.Buffer.from(b64, "base64").toString("binary"));
|
|
132
|
-
function bytesFromBase64(b64) {
|
|
133
|
-
const bin = atob(b64);
|
|
134
|
-
const arr = new Uint8Array(bin.length);
|
|
135
|
-
for (let i = 0; i < bin.length; ++i) {
|
|
136
|
-
arr[i] = bin.charCodeAt(i);
|
|
137
|
-
}
|
|
138
|
-
return arr;
|
|
139
|
-
}
|
|
140
|
-
const btoa = globalThis.btoa ||
|
|
141
|
-
((bin) => globalThis.Buffer.from(bin, "binary").toString("base64"));
|
|
142
|
-
function base64FromBytes(arr) {
|
|
143
|
-
const bin = [];
|
|
144
|
-
for (const byte of arr) {
|
|
145
|
-
bin.push(String.fromCharCode(byte));
|
|
146
|
-
}
|
|
147
|
-
return btoa(bin.join(""));
|
|
148
|
-
}
|
|
149
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
150
|
-
minimal_1.default.util.Long = long_1.default;
|
|
151
|
-
minimal_1.default.configure();
|
|
152
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import Long from "long";
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
3
|
-
export declare const protobufPackage = "Switcheo.carbon.evmbank";
|
|
4
|
-
export interface QueryAccountBalanceRequest {
|
|
5
|
-
address: string;
|
|
6
|
-
}
|
|
7
|
-
export interface QueryAccountBalanceResponse {
|
|
8
|
-
balance: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const QueryAccountBalanceRequest: {
|
|
11
|
-
encode(message: QueryAccountBalanceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryAccountBalanceRequest;
|
|
13
|
-
fromJSON(object: any): QueryAccountBalanceRequest;
|
|
14
|
-
toJSON(message: QueryAccountBalanceRequest): unknown;
|
|
15
|
-
fromPartial(object: DeepPartial<QueryAccountBalanceRequest>): QueryAccountBalanceRequest;
|
|
16
|
-
};
|
|
17
|
-
export declare const QueryAccountBalanceResponse: {
|
|
18
|
-
encode(message: QueryAccountBalanceResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryAccountBalanceResponse;
|
|
20
|
-
fromJSON(object: any): QueryAccountBalanceResponse;
|
|
21
|
-
toJSON(message: QueryAccountBalanceResponse): unknown;
|
|
22
|
-
fromPartial(object: DeepPartial<QueryAccountBalanceResponse>): QueryAccountBalanceResponse;
|
|
23
|
-
};
|
|
24
|
-
/** Query defines the gRPC querier service. */
|
|
25
|
-
export interface Query {
|
|
26
|
-
Balance(request: QueryAccountBalanceRequest): Promise<QueryAccountBalanceResponse>;
|
|
27
|
-
}
|
|
28
|
-
export declare class QueryClientImpl implements Query {
|
|
29
|
-
private readonly rpc;
|
|
30
|
-
constructor(rpc: Rpc);
|
|
31
|
-
Balance(request: QueryAccountBalanceRequest): Promise<QueryAccountBalanceResponse>;
|
|
32
|
-
}
|
|
33
|
-
interface Rpc {
|
|
34
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
35
|
-
}
|
|
36
|
-
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
37
|
-
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
38
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
39
|
-
} : Partial<T>;
|
|
40
|
-
export {};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.QueryClientImpl = exports.QueryAccountBalanceResponse = exports.QueryAccountBalanceRequest = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const long_1 = __importDefault(require("long"));
|
|
9
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
exports.protobufPackage = "Switcheo.carbon.evmbank";
|
|
11
|
-
const baseQueryAccountBalanceRequest = { address: "" };
|
|
12
|
-
exports.QueryAccountBalanceRequest = {
|
|
13
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
14
|
-
if (message.address !== "") {
|
|
15
|
-
writer.uint32(10).string(message.address);
|
|
16
|
-
}
|
|
17
|
-
return writer;
|
|
18
|
-
},
|
|
19
|
-
decode(input, length) {
|
|
20
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
21
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
22
|
-
const message = Object.assign({}, baseQueryAccountBalanceRequest);
|
|
23
|
-
while (reader.pos < end) {
|
|
24
|
-
const tag = reader.uint32();
|
|
25
|
-
switch (tag >>> 3) {
|
|
26
|
-
case 1:
|
|
27
|
-
message.address = reader.string();
|
|
28
|
-
break;
|
|
29
|
-
default:
|
|
30
|
-
reader.skipType(tag & 7);
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
return message;
|
|
35
|
-
},
|
|
36
|
-
fromJSON(object) {
|
|
37
|
-
const message = Object.assign({}, baseQueryAccountBalanceRequest);
|
|
38
|
-
message.address =
|
|
39
|
-
object.address !== undefined && object.address !== null
|
|
40
|
-
? String(object.address)
|
|
41
|
-
: "";
|
|
42
|
-
return message;
|
|
43
|
-
},
|
|
44
|
-
toJSON(message) {
|
|
45
|
-
const obj = {};
|
|
46
|
-
message.address !== undefined && (obj.address = message.address);
|
|
47
|
-
return obj;
|
|
48
|
-
},
|
|
49
|
-
fromPartial(object) {
|
|
50
|
-
var _a;
|
|
51
|
-
const message = Object.assign({}, baseQueryAccountBalanceRequest);
|
|
52
|
-
message.address = (_a = object.address) !== null && _a !== void 0 ? _a : "";
|
|
53
|
-
return message;
|
|
54
|
-
},
|
|
55
|
-
};
|
|
56
|
-
const baseQueryAccountBalanceResponse = { balance: "" };
|
|
57
|
-
exports.QueryAccountBalanceResponse = {
|
|
58
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
59
|
-
if (message.balance !== "") {
|
|
60
|
-
writer.uint32(10).string(message.balance);
|
|
61
|
-
}
|
|
62
|
-
return writer;
|
|
63
|
-
},
|
|
64
|
-
decode(input, length) {
|
|
65
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
66
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
67
|
-
const message = Object.assign({}, baseQueryAccountBalanceResponse);
|
|
68
|
-
while (reader.pos < end) {
|
|
69
|
-
const tag = reader.uint32();
|
|
70
|
-
switch (tag >>> 3) {
|
|
71
|
-
case 1:
|
|
72
|
-
message.balance = reader.string();
|
|
73
|
-
break;
|
|
74
|
-
default:
|
|
75
|
-
reader.skipType(tag & 7);
|
|
76
|
-
break;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
return message;
|
|
80
|
-
},
|
|
81
|
-
fromJSON(object) {
|
|
82
|
-
const message = Object.assign({}, baseQueryAccountBalanceResponse);
|
|
83
|
-
message.balance =
|
|
84
|
-
object.balance !== undefined && object.balance !== null
|
|
85
|
-
? String(object.balance)
|
|
86
|
-
: "";
|
|
87
|
-
return message;
|
|
88
|
-
},
|
|
89
|
-
toJSON(message) {
|
|
90
|
-
const obj = {};
|
|
91
|
-
message.balance !== undefined && (obj.balance = message.balance);
|
|
92
|
-
return obj;
|
|
93
|
-
},
|
|
94
|
-
fromPartial(object) {
|
|
95
|
-
var _a;
|
|
96
|
-
const message = Object.assign({}, baseQueryAccountBalanceResponse);
|
|
97
|
-
message.balance = (_a = object.balance) !== null && _a !== void 0 ? _a : "";
|
|
98
|
-
return message;
|
|
99
|
-
},
|
|
100
|
-
};
|
|
101
|
-
class QueryClientImpl {
|
|
102
|
-
constructor(rpc) {
|
|
103
|
-
this.rpc = rpc;
|
|
104
|
-
this.Balance = this.Balance.bind(this);
|
|
105
|
-
}
|
|
106
|
-
Balance(request) {
|
|
107
|
-
const data = exports.QueryAccountBalanceRequest.encode(request).finish();
|
|
108
|
-
const promise = this.rpc.request("Switcheo.carbon.evmbank.Query", "Balance", data);
|
|
109
|
-
return promise.then((data) => exports.QueryAccountBalanceResponse.decode(new minimal_1.default.Reader(data)));
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
exports.QueryClientImpl = QueryClientImpl;
|
|
113
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
114
|
-
minimal_1.default.util.Long = long_1.default;
|
|
115
|
-
minimal_1.default.configure();
|
|
116
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Long from "long";
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
3
|
-
export declare const protobufPackage = "switcheo.carbon.evm";
|
|
4
|
-
/** GenesisState defines the evm module's genesis state. */
|
|
5
|
-
export interface GenesisState {
|
|
6
|
-
}
|
|
7
|
-
export declare const GenesisState: {
|
|
8
|
-
encode(_: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
|
9
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GenesisState;
|
|
10
|
-
fromJSON(_: any): GenesisState;
|
|
11
|
-
toJSON(_: GenesisState): unknown;
|
|
12
|
-
fromPartial(_: DeepPartial<GenesisState>): GenesisState;
|
|
13
|
-
};
|
|
14
|
-
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
15
|
-
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
16
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
17
|
-
} : Partial<T>;
|
|
18
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.GenesisState = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const long_1 = __importDefault(require("long"));
|
|
9
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
exports.protobufPackage = "switcheo.carbon.evm";
|
|
11
|
-
const baseGenesisState = {};
|
|
12
|
-
exports.GenesisState = {
|
|
13
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
14
|
-
return writer;
|
|
15
|
-
},
|
|
16
|
-
decode(input, length) {
|
|
17
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
18
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
19
|
-
const message = Object.assign({}, baseGenesisState);
|
|
20
|
-
while (reader.pos < end) {
|
|
21
|
-
const tag = reader.uint32();
|
|
22
|
-
switch (tag >>> 3) {
|
|
23
|
-
default:
|
|
24
|
-
reader.skipType(tag & 7);
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return message;
|
|
29
|
-
},
|
|
30
|
-
fromJSON(_) {
|
|
31
|
-
const message = Object.assign({}, baseGenesisState);
|
|
32
|
-
return message;
|
|
33
|
-
},
|
|
34
|
-
toJSON(_) {
|
|
35
|
-
const obj = {};
|
|
36
|
-
return obj;
|
|
37
|
-
},
|
|
38
|
-
fromPartial(_) {
|
|
39
|
-
const message = Object.assign({}, baseGenesisState);
|
|
40
|
-
return message;
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
44
|
-
minimal_1.default.util.Long = long_1.default;
|
|
45
|
-
minimal_1.default.configure();
|
|
46
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "switcheo.carbon.evm";
|
|
2
|
-
/** Query defines the gRPC querier service. */
|
|
3
|
-
export interface Query {
|
|
4
|
-
}
|
|
5
|
-
export declare class QueryClientImpl implements Query {
|
|
6
|
-
private readonly rpc;
|
|
7
|
-
constructor(rpc: Rpc);
|
|
8
|
-
}
|
|
9
|
-
interface Rpc {
|
|
10
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.QueryClientImpl = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const long_1 = __importDefault(require("long"));
|
|
9
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
exports.protobufPackage = "switcheo.carbon.evm";
|
|
11
|
-
class QueryClientImpl {
|
|
12
|
-
constructor(rpc) {
|
|
13
|
-
this.rpc = rpc;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.QueryClientImpl = QueryClientImpl;
|
|
17
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
18
|
-
minimal_1.default.util.Long = long_1.default;
|
|
19
|
-
minimal_1.default.configure();
|
|
20
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "switcheo.carbon.evm";
|
|
2
|
-
/** Msg defines the Msg service. */
|
|
3
|
-
export interface Msg {
|
|
4
|
-
}
|
|
5
|
-
export declare class MsgClientImpl implements Msg {
|
|
6
|
-
private readonly rpc;
|
|
7
|
-
constructor(rpc: Rpc);
|
|
8
|
-
}
|
|
9
|
-
interface Rpc {
|
|
10
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MsgClientImpl = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const long_1 = __importDefault(require("long"));
|
|
9
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
exports.protobufPackage = "switcheo.carbon.evm";
|
|
11
|
-
class MsgClientImpl {
|
|
12
|
-
constructor(rpc) {
|
|
13
|
-
this.rpc = rpc;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.MsgClientImpl = MsgClientImpl;
|
|
17
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
18
|
-
minimal_1.default.util.Long = long_1.default;
|
|
19
|
-
minimal_1.default.configure();
|
|
20
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import Long from "long";
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
3
|
-
export declare const protobufPackage = "Switcheo.carbon.evmmerge";
|
|
4
|
-
export interface EthCosmosAddressWrapper {
|
|
5
|
-
ethAddress: string;
|
|
6
|
-
cosmosAddress: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const EthCosmosAddressWrapper: {
|
|
9
|
-
encode(message: EthCosmosAddressWrapper, writer?: _m0.Writer): _m0.Writer;
|
|
10
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): EthCosmosAddressWrapper;
|
|
11
|
-
fromJSON(object: any): EthCosmosAddressWrapper;
|
|
12
|
-
toJSON(message: EthCosmosAddressWrapper): unknown;
|
|
13
|
-
fromPartial(object: DeepPartial<EthCosmosAddressWrapper>): EthCosmosAddressWrapper;
|
|
14
|
-
};
|
|
15
|
-
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
16
|
-
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
17
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
18
|
-
} : Partial<T>;
|
|
19
|
-
export {};
|