carbon-js-sdk 0.2.7 → 0.2.9-dev.1
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 +2 -4
- package/lib/CarbonSDK.js +4 -5
- package/lib/clients/BlockchainClient.d.ts +0 -1
- package/lib/clients/BlockchainClient.js +0 -1
- package/lib/clients/CarbonQueryClient.d.ts +0 -1
- package/lib/clients/CarbonQueryClient.js +0 -1
- package/lib/clients/ETHClient.d.ts +0 -1
- package/lib/clients/ETHClient.js +0 -1
- package/lib/clients/HydrogenClient.d.ts +0 -1
- package/lib/clients/HydrogenClient.js +1 -3
- package/lib/clients/InsightsQueryClient.d.ts +0 -1
- package/lib/clients/InsightsQueryClient.js +0 -1
- package/lib/clients/N3Client.d.ts +0 -1
- package/lib/clients/N3Client.js +0 -1
- package/lib/clients/NEOClient.d.ts +0 -1
- package/lib/clients/NEOClient.js +42 -43
- package/lib/clients/TokenClient.d.ts +0 -1
- package/lib/clients/TokenClient.js +0 -1
- package/lib/clients/ZILClient.d.ts +0 -1
- package/lib/clients/ZILClient.js +0 -1
- package/lib/clients/index.d.ts +0 -1
- package/lib/clients/index.js +0 -1
- package/lib/codec/adl/genesis.d.ts +0 -1
- package/lib/codec/adl/genesis.js +0 -1
- package/lib/codec/adl/query.d.ts +0 -1
- package/lib/codec/adl/query.js +0 -1
- package/lib/codec/adl/tx.d.ts +0 -1
- package/lib/codec/adl/tx.js +0 -1
- package/lib/codec/bank/event.d.ts +0 -1
- package/lib/codec/bank/event.js +0 -1
- package/lib/codec/bank/genesis.d.ts +0 -1
- package/lib/codec/bank/genesis.js +0 -1
- package/lib/codec/bank/query.d.ts +0 -1
- package/lib/codec/bank/query.js +0 -1
- package/lib/codec/bank/tx.d.ts +0 -1
- package/lib/codec/bank/tx.js +0 -1
- package/lib/codec/book/book.d.ts +0 -1
- package/lib/codec/book/book.js +0 -1
- package/lib/codec/book/event.d.ts +0 -1
- package/lib/codec/book/event.js +0 -1
- package/lib/codec/book/genesis.d.ts +1 -2
- package/lib/codec/book/genesis.js +1 -2
- package/lib/codec/book/query.d.ts +1 -2
- package/lib/codec/book/query.js +1 -2
- package/lib/codec/book/tx.d.ts +0 -1
- package/lib/codec/book/tx.js +0 -1
- package/lib/codec/broker/amm.d.ts +0 -1
- package/lib/codec/broker/amm.js +0 -1
- package/lib/codec/broker/candlestick.d.ts +0 -1
- package/lib/codec/broker/candlestick.js +0 -1
- package/lib/codec/broker/event.d.ts +0 -1
- package/lib/codec/broker/event.js +0 -1
- package/lib/codec/broker/genesis.d.ts +1 -2
- package/lib/codec/broker/genesis.js +1 -2
- package/lib/codec/broker/incoming_liquidations.d.ts +0 -1
- package/lib/codec/broker/incoming_liquidations.js +0 -1
- package/lib/codec/broker/incoming_pool_swap.d.ts +0 -1
- package/lib/codec/broker/incoming_pool_swap.js +0 -1
- package/lib/codec/broker/pagination.d.ts +0 -1
- package/lib/codec/broker/pagination.js +0 -1
- package/lib/codec/broker/query.d.ts +3 -4
- package/lib/codec/broker/query.js +3 -4
- package/lib/codec/broker/tx.d.ts +0 -1
- package/lib/codec/broker/tx.js +0 -1
- package/lib/codec/btcx/denom_cross_chain_info.d.ts +1 -2
- package/lib/codec/btcx/denom_cross_chain_info.js +1 -2
- package/lib/codec/btcx/denom_info.d.ts +0 -1
- package/lib/codec/btcx/denom_info.js +0 -1
- package/lib/codec/btcx/export.d.ts +0 -1
- package/lib/codec/btcx/export.js +0 -1
- package/lib/codec/btcx/genesis.d.ts +0 -1
- package/lib/codec/btcx/genesis.js +0 -1
- package/lib/codec/btcx/query.d.ts +1 -2
- package/lib/codec/btcx/query.js +1 -2
- package/lib/codec/btcx/tx.d.ts +0 -1
- package/lib/codec/btcx/tx.js +0 -1
- package/lib/codec/ccm/ccm.d.ts +0 -1
- package/lib/codec/ccm/ccm.js +0 -1
- package/lib/codec/ccm/export.d.ts +0 -1
- package/lib/codec/ccm/export.js +0 -1
- package/lib/codec/ccm/genesis.d.ts +1 -2
- package/lib/codec/ccm/genesis.js +1 -2
- package/lib/codec/ccm/query.d.ts +0 -1
- package/lib/codec/ccm/query.js +0 -1
- package/lib/codec/ccm/tx.d.ts +0 -1
- package/lib/codec/ccm/tx.js +0 -1
- package/lib/codec/cdp/asset_params.d.ts +24 -1
- package/lib/codec/cdp/asset_params.js +158 -2
- package/lib/codec/cdp/debt_info.d.ts +4 -3
- package/lib/codec/cdp/debt_info.js +51 -23
- package/lib/codec/cdp/event.d.ts +226 -23
- package/lib/codec/cdp/event.js +1414 -81
- package/lib/codec/cdp/genesis.d.ts +57 -5
- package/lib/codec/cdp/genesis.js +417 -23
- package/lib/codec/cdp/params.d.ts +7 -5
- package/lib/codec/cdp/params.js +50 -6
- package/lib/codec/cdp/query.d.ts +191 -96
- package/lib/codec/cdp/query.js +676 -239
- package/lib/codec/cdp/rate_strategy_params.d.ts +0 -1
- package/lib/codec/cdp/rate_strategy_params.js +0 -1
- package/lib/codec/cdp/stable_coin_debt_info.d.ts +23 -0
- package/lib/codec/cdp/stable_coin_debt_info.js +157 -0
- package/lib/codec/cdp/stablecoin_debt_info.d.ts +23 -0
- package/lib/codec/cdp/stablecoin_debt_info.js +157 -0
- package/lib/codec/cdp/tx.d.ts +466 -97
- package/lib/codec/cdp/tx.js +1961 -182
- package/lib/codec/cdp/vault.d.ts +0 -1
- package/lib/codec/cdp/vault.js +0 -1
- package/lib/codec/coin/bridge.d.ts +0 -1
- package/lib/codec/coin/bridge.js +0 -1
- package/lib/codec/coin/event.d.ts +1 -2
- package/lib/codec/coin/event.js +1 -2
- package/lib/codec/coin/genesis.d.ts +2 -3
- package/lib/codec/coin/genesis.js +2 -3
- package/lib/codec/coin/proposal.d.ts +1 -2
- package/lib/codec/coin/proposal.js +1 -2
- package/lib/codec/coin/query.d.ts +2 -6
- package/lib/codec/coin/query.js +2 -9
- package/lib/codec/coin/token.d.ts +11 -1
- package/lib/codec/coin/token.js +65 -2
- package/lib/codec/coin/tx.d.ts +1 -2
- package/lib/codec/coin/tx.js +1 -2
- package/lib/codec/cosmos/auth/v1beta1/auth.d.ts +0 -1
- package/lib/codec/cosmos/auth/v1beta1/auth.js +0 -1
- package/lib/codec/cosmos/auth/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/auth/v1beta1/export.js +0 -1
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +1 -2
- package/lib/codec/cosmos/auth/v1beta1/genesis.js +1 -2
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +2 -3
- package/lib/codec/cosmos/auth/v1beta1/query.js +2 -3
- package/lib/codec/cosmos/authz/v1beta1/authz.d.ts +0 -1
- package/lib/codec/cosmos/authz/v1beta1/authz.js +0 -1
- package/lib/codec/cosmos/authz/v1beta1/event.d.ts +0 -1
- package/lib/codec/cosmos/authz/v1beta1/event.js +0 -1
- package/lib/codec/cosmos/authz/v1beta1/genesis.d.ts +0 -1
- package/lib/codec/cosmos/authz/v1beta1/genesis.js +0 -1
- package/lib/codec/cosmos/authz/v1beta1/query.d.ts +2 -3
- package/lib/codec/cosmos/authz/v1beta1/query.js +2 -3
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +1 -2
- package/lib/codec/cosmos/authz/v1beta1/tx.js +1 -2
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +1 -2
- package/lib/codec/cosmos/bank/v1beta1/authz.js +1 -2
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +1 -2
- package/lib/codec/cosmos/bank/v1beta1/bank.js +1 -2
- package/lib/codec/cosmos/bank/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/bank/v1beta1/export.js +0 -1
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +2 -3
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +2 -3
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +3 -4
- package/lib/codec/cosmos/bank/v1beta1/query.js +3 -4
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +2 -3
- package/lib/codec/cosmos/bank/v1beta1/tx.js +2 -3
- package/lib/codec/cosmos/base/abci/v1beta1/abci.d.ts +0 -1
- package/lib/codec/cosmos/base/abci/v1beta1/abci.js +0 -1
- package/lib/codec/cosmos/base/kv/v1beta1/kv.d.ts +0 -1
- package/lib/codec/cosmos/base/kv/v1beta1/kv.js +0 -1
- package/lib/codec/cosmos/base/query/v1beta1/pagination.d.ts +0 -1
- package/lib/codec/cosmos/base/query/v1beta1/pagination.js +0 -1
- package/lib/codec/cosmos/base/reflection/v1beta1/reflection.d.ts +0 -1
- package/lib/codec/cosmos/base/reflection/v1beta1/reflection.js +0 -1
- package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -1
- package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.js +0 -1
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +0 -1
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.js +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.js +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/listening.d.ts +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/listening.js +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/snapshot.d.ts +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/snapshot.js +0 -1
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +1 -2
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.js +1 -2
- package/lib/codec/cosmos/base/v1beta1/coin.d.ts +0 -1
- package/lib/codec/cosmos/base/v1beta1/coin.js +0 -1
- package/lib/codec/cosmos/capability/v1beta1/capability.d.ts +0 -1
- package/lib/codec/cosmos/capability/v1beta1/capability.js +0 -1
- package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts +1 -2
- package/lib/codec/cosmos/capability/v1beta1/genesis.js +1 -2
- package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts +1 -2
- package/lib/codec/cosmos/crisis/v1beta1/genesis.js +1 -2
- package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts +0 -1
- package/lib/codec/cosmos/crisis/v1beta1/tx.js +0 -1
- package/lib/codec/cosmos/crypto/ed25519/keys.d.ts +0 -1
- package/lib/codec/cosmos/crypto/ed25519/keys.js +0 -1
- package/lib/codec/cosmos/crypto/multisig/keys.d.ts +0 -1
- package/lib/codec/cosmos/crypto/multisig/keys.js +0 -1
- package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -1
- package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.js +0 -1
- package/lib/codec/cosmos/crypto/secp256k1/keys.d.ts +0 -1
- package/lib/codec/cosmos/crypto/secp256k1/keys.js +0 -1
- package/lib/codec/cosmos/crypto/secp256r1/keys.d.ts +0 -1
- package/lib/codec/cosmos/crypto/secp256r1/keys.js +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +1 -2
- package/lib/codec/cosmos/distribution/v1beta1/distribution.js +1 -2
- package/lib/codec/cosmos/distribution/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/export.js +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +2 -3
- package/lib/codec/cosmos/distribution/v1beta1/genesis.js +2 -3
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +3 -4
- package/lib/codec/cosmos/distribution/v1beta1/query.js +3 -4
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +1 -2
- package/lib/codec/cosmos/distribution/v1beta1/tx.js +1 -2
- package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/evidence.js +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/genesis.d.ts +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/genesis.js +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +1 -2
- package/lib/codec/cosmos/evidence/v1beta1/query.js +1 -2
- package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/tx.js +0 -1
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.d.ts +1 -2
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.js +1 -2
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.d.ts +1 -2
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.js +1 -2
- package/lib/codec/cosmos/feegrant/v1beta1/query.d.ts +2 -3
- package/lib/codec/cosmos/feegrant/v1beta1/query.js +2 -3
- package/lib/codec/cosmos/feegrant/v1beta1/tx.d.ts +0 -1
- package/lib/codec/cosmos/feegrant/v1beta1/tx.js +0 -1
- package/lib/codec/cosmos/genutil/v1beta1/genesis.d.ts +0 -1
- package/lib/codec/cosmos/genutil/v1beta1/genesis.js +0 -1
- package/lib/codec/cosmos/gov/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/gov/v1beta1/export.js +0 -1
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +1 -2
- package/lib/codec/cosmos/gov/v1beta1/genesis.js +1 -2
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +1 -2
- package/lib/codec/cosmos/gov/v1beta1/gov.js +1 -2
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts +2 -3
- package/lib/codec/cosmos/gov/v1beta1/query.js +2 -3
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +2 -3
- package/lib/codec/cosmos/gov/v1beta1/tx.js +2 -3
- package/lib/codec/cosmos/mint/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/mint/v1beta1/export.js +0 -1
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +1 -2
- package/lib/codec/cosmos/mint/v1beta1/genesis.js +1 -2
- package/lib/codec/cosmos/mint/v1beta1/mint.d.ts +0 -1
- package/lib/codec/cosmos/mint/v1beta1/mint.js +0 -1
- package/lib/codec/cosmos/mint/v1beta1/query.d.ts +1 -2
- package/lib/codec/cosmos/mint/v1beta1/query.js +1 -2
- package/lib/codec/cosmos/params/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/params/v1beta1/export.js +0 -1
- package/lib/codec/cosmos/params/v1beta1/params.d.ts +0 -1
- package/lib/codec/cosmos/params/v1beta1/params.js +0 -1
- package/lib/codec/cosmos/params/v1beta1/query.d.ts +1 -2
- package/lib/codec/cosmos/params/v1beta1/query.js +1 -2
- package/lib/codec/cosmos/slashing/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/export.js +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +1 -2
- package/lib/codec/cosmos/slashing/v1beta1/genesis.js +1 -2
- package/lib/codec/cosmos/slashing/v1beta1/query.d.ts +2 -3
- package/lib/codec/cosmos/slashing/v1beta1/query.js +2 -3
- package/lib/codec/cosmos/slashing/v1beta1/slashing.d.ts +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/slashing.js +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/tx.js +0 -1
- package/lib/codec/cosmos/staking/v1beta1/authz.d.ts +1 -2
- package/lib/codec/cosmos/staking/v1beta1/authz.js +1 -2
- package/lib/codec/cosmos/staking/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/staking/v1beta1/export.js +0 -1
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +1 -2
- package/lib/codec/cosmos/staking/v1beta1/genesis.js +1 -2
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts +2 -3
- package/lib/codec/cosmos/staking/v1beta1/query.js +2 -3
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +1 -2
- package/lib/codec/cosmos/staking/v1beta1/staking.js +1 -2
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +2 -3
- package/lib/codec/cosmos/staking/v1beta1/tx.js +2 -3
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts +1 -2
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.js +1 -2
- package/lib/codec/cosmos/tx/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/tx/v1beta1/export.js +0 -1
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +3 -4
- package/lib/codec/cosmos/tx/v1beta1/service.js +3 -4
- package/lib/codec/cosmos/tx/v1beta1/tx.d.ts +3 -4
- package/lib/codec/cosmos/tx/v1beta1/tx.js +3 -4
- package/lib/codec/cosmos/upgrade/v1beta1/query.d.ts +1 -2
- package/lib/codec/cosmos/upgrade/v1beta1/query.js +1 -2
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -1
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.js +0 -1
- package/lib/codec/cosmos/vesting/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/vesting/v1beta1/export.js +0 -1
- package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts +1 -2
- package/lib/codec/cosmos/vesting/v1beta1/tx.js +1 -2
- package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts +2 -3
- package/lib/codec/cosmos/vesting/v1beta1/vesting.js +2 -3
- package/lib/codec/cosmos-models.d.ts +0 -1
- package/lib/codec/cosmos-models.js +0 -1
- package/lib/codec/crisis/genesis.d.ts +0 -1
- package/lib/codec/crisis/genesis.js +0 -1
- package/lib/codec/crisis/query.d.ts +0 -1
- package/lib/codec/crisis/query.js +0 -1
- package/lib/codec/crisis/tx.d.ts +0 -1
- package/lib/codec/crisis/tx.js +0 -1
- package/lib/codec/fee/event.d.ts +0 -1
- package/lib/codec/fee/event.js +0 -1
- package/lib/codec/fee/fee.d.ts +0 -1
- package/lib/codec/fee/fee.js +0 -1
- package/lib/codec/fee/genesis.d.ts +1 -2
- package/lib/codec/fee/genesis.js +1 -2
- package/lib/codec/fee/proposal.d.ts +1 -2
- package/lib/codec/fee/proposal.js +1 -2
- package/lib/codec/fee/query.d.ts +1 -2
- package/lib/codec/fee/query.js +1 -2
- package/lib/codec/fee/tx.d.ts +1 -2
- package/lib/codec/fee/tx.js +1 -2
- package/lib/codec/google/protobuf/any.d.ts +0 -1
- package/lib/codec/google/protobuf/any.js +0 -1
- package/lib/codec/google/protobuf/duration.d.ts +0 -1
- package/lib/codec/google/protobuf/duration.js +0 -1
- package/lib/codec/google/protobuf/timestamp.d.ts +0 -1
- package/lib/codec/google/protobuf/timestamp.js +0 -1
- package/lib/codec/google/protobuf/wrappers.d.ts +0 -1
- package/lib/codec/google/protobuf/wrappers.js +0 -1
- package/lib/codec/headersync/consensus_peers.d.ts +0 -1
- package/lib/codec/headersync/consensus_peers.js +0 -1
- package/lib/codec/headersync/export.d.ts +0 -1
- package/lib/codec/headersync/export.js +0 -1
- package/lib/codec/headersync/genesis.d.ts +1 -2
- package/lib/codec/headersync/genesis.js +1 -2
- package/lib/codec/headersync/query.d.ts +1 -2
- package/lib/codec/headersync/query.js +1 -2
- package/lib/codec/headersync/tx.d.ts +0 -1
- package/lib/codec/headersync/tx.js +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.js +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/controller.js +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.js +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/export.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/export.js +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/host.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/host.js +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/query.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/query.js +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/account.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/account.js +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.js +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/genesis.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/genesis.js +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/metadata.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/metadata.js +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/packet.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/packet.js +0 -1
- package/lib/codec/ibc/applications/transfer/v1/export.d.ts +0 -1
- package/lib/codec/ibc/applications/transfer/v1/export.js +0 -1
- package/lib/codec/ibc/applications/transfer/v1/genesis.d.ts +0 -1
- package/lib/codec/ibc/applications/transfer/v1/genesis.js +0 -1
- package/lib/codec/ibc/applications/transfer/v1/query.d.ts +0 -1
- package/lib/codec/ibc/applications/transfer/v1/query.js +0 -1
- package/lib/codec/ibc/applications/transfer/v1/transfer.d.ts +0 -1
- package/lib/codec/ibc/applications/transfer/v1/transfer.js +0 -1
- package/lib/codec/ibc/applications/transfer/v1/tx.d.ts +0 -1
- package/lib/codec/ibc/applications/transfer/v1/tx.js +0 -1
- package/lib/codec/ibc/applications/transfer/v2/export.d.ts +0 -1
- package/lib/codec/ibc/applications/transfer/v2/export.js +0 -1
- package/lib/codec/ibc/applications/transfer/v2/packet.d.ts +0 -1
- package/lib/codec/ibc/applications/transfer/v2/packet.js +0 -1
- package/lib/codec/ibc/core/channel/v1/channel.d.ts +0 -1
- package/lib/codec/ibc/core/channel/v1/channel.js +0 -1
- package/lib/codec/ibc/core/channel/v1/export.d.ts +0 -1
- package/lib/codec/ibc/core/channel/v1/export.js +0 -1
- package/lib/codec/ibc/core/channel/v1/genesis.d.ts +0 -1
- package/lib/codec/ibc/core/channel/v1/genesis.js +0 -1
- package/lib/codec/ibc/core/channel/v1/query.d.ts +0 -1
- package/lib/codec/ibc/core/channel/v1/query.js +0 -1
- package/lib/codec/ibc/core/channel/v1/tx.d.ts +0 -1
- package/lib/codec/ibc/core/channel/v1/tx.js +0 -1
- package/lib/codec/ibc/core/client/v1/client.d.ts +0 -1
- package/lib/codec/ibc/core/client/v1/client.js +0 -1
- package/lib/codec/ibc/core/client/v1/export.d.ts +0 -1
- package/lib/codec/ibc/core/client/v1/export.js +0 -1
- package/lib/codec/ibc/core/client/v1/genesis.d.ts +0 -1
- package/lib/codec/ibc/core/client/v1/genesis.js +0 -1
- package/lib/codec/ibc/core/client/v1/query.d.ts +0 -1
- package/lib/codec/ibc/core/client/v1/query.js +0 -1
- package/lib/codec/ibc/core/client/v1/tx.d.ts +0 -1
- package/lib/codec/ibc/core/client/v1/tx.js +0 -1
- package/lib/codec/ibc/core/commitment/v1/commitment.d.ts +0 -1
- package/lib/codec/ibc/core/commitment/v1/commitment.js +0 -1
- package/lib/codec/ibc/core/commitment/v1/export.d.ts +0 -1
- package/lib/codec/ibc/core/commitment/v1/export.js +0 -1
- package/lib/codec/ibc/core/connection/v1/connection.d.ts +0 -1
- package/lib/codec/ibc/core/connection/v1/connection.js +0 -1
- package/lib/codec/ibc/core/connection/v1/export.d.ts +0 -1
- package/lib/codec/ibc/core/connection/v1/export.js +0 -1
- package/lib/codec/ibc/core/connection/v1/genesis.d.ts +0 -1
- package/lib/codec/ibc/core/connection/v1/genesis.js +0 -1
- package/lib/codec/ibc/core/connection/v1/query.d.ts +0 -1
- package/lib/codec/ibc/core/connection/v1/query.js +0 -1
- package/lib/codec/ibc/core/connection/v1/tx.d.ts +0 -1
- package/lib/codec/ibc/core/connection/v1/tx.js +0 -1
- package/lib/codec/ibc/core/types/v1/genesis.d.ts +0 -1
- package/lib/codec/ibc/core/types/v1/genesis.js +0 -1
- package/lib/codec/ibc/lightclients/localhost/v1/export.d.ts +0 -1
- package/lib/codec/ibc/lightclients/localhost/v1/export.js +0 -1
- package/lib/codec/ibc/lightclients/localhost/v1/localhost.d.ts +0 -1
- package/lib/codec/ibc/lightclients/localhost/v1/localhost.js +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v1/export.d.ts +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v1/export.js +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.d.ts +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.js +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v2/solomachine.d.ts +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v2/solomachine.js +0 -1
- package/lib/codec/ibc/lightclients/tendermint/v1/export.d.ts +0 -1
- package/lib/codec/ibc/lightclients/tendermint/v1/export.js +0 -1
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts +0 -1
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.js +0 -1
- package/lib/codec/ibc-models.d.ts +0 -1
- package/lib/codec/ibc-models.js +0 -1
- package/lib/codec/index.d.ts +53 -23
- package/lib/codec/index.js +502 -385
- package/lib/codec/inflation/genesis.d.ts +1 -2
- package/lib/codec/inflation/genesis.js +1 -2
- package/lib/codec/inflation/inflation.d.ts +0 -1
- package/lib/codec/inflation/inflation.js +0 -1
- package/lib/codec/inflation/query.d.ts +1 -2
- package/lib/codec/inflation/query.js +1 -2
- package/lib/codec/inflation/tx.d.ts +0 -1
- package/lib/codec/inflation/tx.js +0 -1
- package/lib/codec/insurance/event.d.ts +0 -1
- package/lib/codec/insurance/event.js +0 -1
- package/lib/codec/insurance/fund.d.ts +0 -1
- package/lib/codec/insurance/fund.js +0 -1
- package/lib/codec/insurance/genesis.d.ts +1 -2
- package/lib/codec/insurance/genesis.js +1 -2
- package/lib/codec/insurance/query.d.ts +0 -1
- package/lib/codec/insurance/query.js +0 -1
- package/lib/codec/insurance/tx.d.ts +0 -1
- package/lib/codec/insurance/tx.js +0 -1
- package/lib/codec/leverage/event.d.ts +0 -1
- package/lib/codec/leverage/event.js +0 -1
- package/lib/codec/leverage/genesis.d.ts +1 -2
- package/lib/codec/leverage/genesis.js +1 -2
- package/lib/codec/leverage/leverage.d.ts +0 -1
- package/lib/codec/leverage/leverage.js +0 -1
- package/lib/codec/leverage/query.d.ts +1 -2
- package/lib/codec/leverage/query.js +1 -2
- package/lib/codec/leverage/tx.d.ts +0 -1
- package/lib/codec/leverage/tx.js +0 -1
- package/lib/codec/liquidation/genesis.d.ts +1 -2
- package/lib/codec/liquidation/genesis.js +1 -2
- package/lib/codec/liquidation/liquidation.d.ts +0 -1
- package/lib/codec/liquidation/liquidation.js +0 -1
- package/lib/codec/liquidation/outstanding_position.d.ts +0 -1
- package/lib/codec/liquidation/outstanding_position.js +0 -1
- package/lib/codec/liquidation/query.d.ts +1 -2
- package/lib/codec/liquidation/query.js +1 -2
- package/lib/codec/liquidation/quote_changes.d.ts +1 -2
- package/lib/codec/liquidation/quote_changes.js +1 -2
- package/lib/codec/liquidation/tx.d.ts +0 -1
- package/lib/codec/liquidation/tx.js +0 -1
- package/lib/codec/liquiditypool/event.d.ts +2 -3
- package/lib/codec/liquiditypool/event.js +2 -3
- package/lib/codec/liquiditypool/genesis.d.ts +2 -3
- package/lib/codec/liquiditypool/genesis.js +2 -3
- package/lib/codec/liquiditypool/liquiditypool.d.ts +0 -1
- package/lib/codec/liquiditypool/liquiditypool.js +0 -1
- package/lib/codec/liquiditypool/proposal.d.ts +1 -2
- package/lib/codec/liquiditypool/proposal.js +1 -2
- package/lib/codec/liquiditypool/query.d.ts +2 -3
- package/lib/codec/liquiditypool/query.js +2 -3
- package/lib/codec/liquiditypool/reward.d.ts +0 -1
- package/lib/codec/liquiditypool/reward.js +0 -1
- package/lib/codec/liquiditypool/tx.d.ts +1 -2
- package/lib/codec/liquiditypool/tx.js +1 -2
- package/lib/codec/lockproxy/event.d.ts +0 -1
- package/lib/codec/lockproxy/event.js +0 -1
- package/lib/codec/lockproxy/export.d.ts +0 -1
- package/lib/codec/lockproxy/export.js +0 -1
- package/lib/codec/lockproxy/genesis.d.ts +1 -2
- package/lib/codec/lockproxy/genesis.js +1 -2
- package/lib/codec/lockproxy/lockproxy.d.ts +0 -1
- package/lib/codec/lockproxy/lockproxy.js +0 -1
- package/lib/codec/lockproxy/query.d.ts +1 -2
- package/lib/codec/lockproxy/query.js +1 -2
- package/lib/codec/lockproxy/tx.d.ts +0 -1
- package/lib/codec/lockproxy/tx.js +0 -1
- package/lib/codec/market/event.d.ts +1 -2
- package/lib/codec/market/event.js +1 -2
- package/lib/codec/market/genesis.d.ts +2 -2
- package/lib/codec/market/genesis.js +20 -3
- package/lib/codec/market/legacy.d.ts +0 -1
- package/lib/codec/market/legacy.js +0 -1
- package/lib/codec/market/market.d.ts +0 -1
- package/lib/codec/market/market.js +0 -1
- package/lib/codec/market/proposal.d.ts +1 -2
- package/lib/codec/market/proposal.js +1 -2
- package/lib/codec/market/query.d.ts +1 -2
- package/lib/codec/market/query.js +1 -2
- package/lib/codec/market/tx.d.ts +1 -2
- package/lib/codec/market/tx.js +1 -2
- package/lib/codec/marketstats/genesis.d.ts +1 -2
- package/lib/codec/marketstats/genesis.js +1 -2
- package/lib/codec/marketstats/marketstats.d.ts +0 -1
- package/lib/codec/marketstats/marketstats.js +0 -1
- package/lib/codec/marketstats/params.d.ts +0 -1
- package/lib/codec/marketstats/params.js +0 -1
- package/lib/codec/marketstats/query.d.ts +2 -3
- package/lib/codec/marketstats/query.js +2 -3
- package/lib/codec/marketstats/tx.d.ts +0 -1
- package/lib/codec/marketstats/tx.js +0 -1
- package/lib/codec/misc/block.d.ts +0 -1
- package/lib/codec/misc/block.js +0 -1
- package/lib/codec/misc/message.d.ts +1 -2
- package/lib/codec/misc/message.js +1 -2
- package/lib/codec/misc/message_type.d.ts +0 -1
- package/lib/codec/misc/message_type.js +0 -1
- package/lib/codec/misc/query.d.ts +3 -4
- package/lib/codec/misc/query.js +3 -4
- package/lib/codec/misc/trade.d.ts +1 -1
- package/lib/codec/misc/trade.js +17 -1
- package/lib/codec/misc/transaction.d.ts +1 -2
- package/lib/codec/misc/transaction.js +1 -2
- package/lib/codec/oracle/event.d.ts +1 -2
- package/lib/codec/oracle/event.js +1 -2
- package/lib/codec/oracle/genesis.d.ts +1 -2
- package/lib/codec/oracle/genesis.js +1 -2
- package/lib/codec/oracle/oracle.d.ts +0 -1
- package/lib/codec/oracle/oracle.js +0 -1
- package/lib/codec/oracle/proposal.d.ts +1 -2
- package/lib/codec/oracle/proposal.js +1 -2
- package/lib/codec/oracle/query.d.ts +2 -3
- package/lib/codec/oracle/query.js +2 -3
- package/lib/codec/oracle/slashing.d.ts +0 -1
- package/lib/codec/oracle/slashing.js +0 -1
- package/lib/codec/oracle/tx.d.ts +0 -1
- package/lib/codec/oracle/tx.js +0 -1
- package/lib/codec/order/event.d.ts +1 -2
- package/lib/codec/order/event.js +1 -2
- package/lib/codec/order/genesis.d.ts +1 -2
- package/lib/codec/order/genesis.js +1 -2
- package/lib/codec/order/order.d.ts +0 -1
- package/lib/codec/order/order.js +0 -1
- package/lib/codec/order/query.d.ts +1 -2
- package/lib/codec/order/query.js +1 -2
- package/lib/codec/order/tx.d.ts +0 -1
- package/lib/codec/order/tx.js +0 -1
- package/lib/codec/polynetwork-models.d.ts +0 -1
- package/lib/codec/polynetwork-models.js +0 -1
- package/lib/codec/position/event.d.ts +1 -2
- package/lib/codec/position/event.js +1 -2
- package/lib/codec/position/genesis.d.ts +1 -2
- package/lib/codec/position/genesis.js +1 -2
- package/lib/codec/position/position.d.ts +0 -1
- package/lib/codec/position/position.js +0 -1
- package/lib/codec/position/query.d.ts +1 -2
- package/lib/codec/position/query.js +1 -2
- package/lib/codec/position/tx.d.ts +0 -1
- package/lib/codec/position/tx.js +0 -1
- package/lib/codec/pricing/event.d.ts +11 -2
- package/lib/codec/pricing/event.js +52 -3
- package/lib/codec/pricing/genesis.d.ts +2 -2
- package/lib/codec/pricing/genesis.js +20 -6
- package/lib/codec/pricing/pricing.d.ts +13 -1
- package/lib/codec/pricing/pricing.js +83 -2
- package/lib/codec/pricing/proposal.d.ts +0 -1
- package/lib/codec/pricing/proposal.js +0 -1
- package/lib/codec/pricing/query.d.ts +1 -2
- package/lib/codec/pricing/query.js +1 -2
- package/lib/codec/pricing/tx.d.ts +0 -1
- package/lib/codec/pricing/tx.js +0 -1
- package/lib/codec/profile/event.d.ts +1 -2
- package/lib/codec/profile/event.js +1 -2
- package/lib/codec/profile/genesis.d.ts +1 -2
- package/lib/codec/profile/genesis.js +1 -2
- package/lib/codec/profile/profile.d.ts +0 -1
- package/lib/codec/profile/profile.js +0 -1
- package/lib/codec/profile/query.d.ts +1 -2
- package/lib/codec/profile/query.js +1 -2
- package/lib/codec/profile/tx.d.ts +0 -1
- package/lib/codec/profile/tx.js +0 -1
- package/lib/codec/proofs.d.ts +0 -1
- package/lib/codec/proofs.js +0 -1
- package/lib/codec/query/pagination.d.ts +0 -1
- package/lib/codec/query/pagination.js +0 -1
- package/lib/codec/subaccount/genesis.d.ts +1 -2
- package/lib/codec/subaccount/genesis.js +1 -2
- package/lib/codec/subaccount/query.d.ts +1 -2
- package/lib/codec/subaccount/query.js +1 -2
- package/lib/codec/subaccount/subaccount.d.ts +0 -1
- package/lib/codec/subaccount/subaccount.js +0 -1
- package/lib/codec/subaccount/tx.d.ts +0 -1
- package/lib/codec/subaccount/tx.js +0 -1
- package/lib/codec/tendermint/abci/types.d.ts +4 -5
- package/lib/codec/tendermint/abci/types.js +4 -5
- package/lib/codec/tendermint/crypto/keys.d.ts +0 -1
- package/lib/codec/tendermint/crypto/keys.js +0 -1
- package/lib/codec/tendermint/crypto/proof.d.ts +0 -1
- package/lib/codec/tendermint/crypto/proof.js +0 -1
- package/lib/codec/tendermint/libs/bits/types.d.ts +0 -1
- package/lib/codec/tendermint/libs/bits/types.js +0 -1
- package/lib/codec/tendermint/p2p/types.d.ts +0 -1
- package/lib/codec/tendermint/p2p/types.js +0 -1
- package/lib/codec/tendermint/types/block.d.ts +2 -3
- package/lib/codec/tendermint/types/block.js +2 -3
- package/lib/codec/tendermint/types/evidence.d.ts +2 -3
- package/lib/codec/tendermint/types/evidence.js +2 -3
- package/lib/codec/tendermint/types/params.d.ts +0 -1
- package/lib/codec/tendermint/types/params.js +0 -1
- package/lib/codec/tendermint/types/types.d.ts +3 -4
- package/lib/codec/tendermint/types/types.js +3 -4
- package/lib/codec/tendermint/types/validator.d.ts +1 -2
- package/lib/codec/tendermint/types/validator.js +1 -2
- package/lib/codec/tendermint/version/types.d.ts +0 -1
- package/lib/codec/tendermint/version/types.js +0 -1
- package/lib/constant/address.d.ts +0 -1
- package/lib/constant/address.js +0 -1
- package/lib/constant/generic.d.ts +0 -1
- package/lib/constant/generic.js +0 -1
- package/lib/constant/ibc.d.ts +0 -1
- package/lib/constant/ibc.js +0 -1
- package/lib/constant/index.d.ts +0 -1
- package/lib/constant/index.js +0 -1
- package/lib/constant/network.d.ts +0 -1
- package/lib/constant/network.js +0 -1
- package/lib/constant/node.d.ts +0 -1
- package/lib/constant/node.js +0 -1
- package/lib/constant/token.d.ts +0 -1
- package/lib/constant/token.js +0 -1
- package/lib/constant/walletProvider.d.ts +0 -1
- package/lib/constant/walletProvider.js +0 -1
- package/lib/eth/abis/index.d.ts +0 -1
- package/lib/eth/abis/index.js +0 -1
- package/lib/eth/index.d.ts +0 -1
- package/lib/eth/index.js +0 -1
- package/lib/hydrogen/feeQuote.d.ts +5 -5
- package/lib/hydrogen/feeQuote.js +0 -1
- package/lib/hydrogen/index.d.ts +0 -1
- package/lib/hydrogen/index.js +0 -1
- package/lib/hydrogen/relays.d.ts +0 -1
- package/lib/hydrogen/relays.js +0 -1
- package/lib/hydrogen/stats.d.ts +0 -1
- package/lib/hydrogen/stats.js +0 -1
- package/lib/hydrogen/transfer.d.ts +0 -1
- package/lib/hydrogen/transfer.js +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/lib/insights/balance.d.ts +0 -1
- package/lib/insights/balance.js +0 -1
- package/lib/insights/block.d.ts +0 -1
- package/lib/insights/block.js +0 -1
- package/lib/insights/chain.d.ts +0 -1
- package/lib/insights/chain.js +0 -1
- package/lib/insights/common.d.ts +0 -1
- package/lib/insights/common.js +0 -1
- package/lib/insights/competition.d.ts +0 -1
- package/lib/insights/competition.js +0 -1
- package/lib/insights/funding.d.ts +0 -1
- package/lib/insights/funding.js +0 -1
- package/lib/insights/index.d.ts +0 -1
- package/lib/insights/index.js +0 -1
- package/lib/insights/market.d.ts +0 -1
- package/lib/insights/market.js +0 -1
- package/lib/insights/node.d.ts +0 -1
- package/lib/insights/node.js +0 -1
- package/lib/insights/pool.d.ts +0 -1
- package/lib/insights/pool.js +0 -1
- package/lib/insights/position.d.ts +0 -1
- package/lib/insights/position.js +0 -1
- package/lib/insights/transaction.d.ts +0 -1
- package/lib/insights/transaction.js +0 -1
- package/lib/insights/user.d.ts +0 -1
- package/lib/insights/user.js +0 -1
- package/lib/modules/admin.d.ts +53 -2
- package/lib/modules/admin.js +174 -43
- package/lib/modules/bank.d.ts +0 -1
- package/lib/modules/bank.js +0 -1
- package/lib/modules/base.d.ts +0 -1
- package/lib/modules/base.js +0 -1
- package/lib/modules/broker.d.ts +0 -1
- package/lib/modules/broker.js +0 -1
- package/lib/modules/cdp.d.ts +55 -13
- package/lib/modules/cdp.js +134 -21
- package/lib/modules/coin.d.ts +0 -1
- package/lib/modules/coin.js +0 -1
- package/lib/modules/fee.d.ts +0 -1
- package/lib/modules/fee.js +0 -1
- package/lib/modules/gov.d.ts +0 -1
- package/lib/modules/gov.js +0 -1
- package/lib/modules/ibc.d.ts +0 -1
- package/lib/modules/ibc.js +0 -1
- package/lib/modules/index.d.ts +0 -1
- package/lib/modules/index.js +0 -1
- package/lib/modules/leverage.d.ts +0 -1
- package/lib/modules/leverage.js +0 -1
- package/lib/modules/liquiditypool.d.ts +0 -1
- package/lib/modules/liquiditypool.js +0 -1
- package/lib/modules/market.d.ts +0 -1
- package/lib/modules/market.js +0 -1
- package/lib/modules/oracle.d.ts +0 -1
- package/lib/modules/oracle.js +0 -1
- package/lib/modules/order.d.ts +0 -1
- package/lib/modules/order.js +0 -1
- package/lib/modules/position.d.ts +0 -1
- package/lib/modules/position.js +0 -1
- package/lib/modules/profile.d.ts +0 -1
- package/lib/modules/profile.js +0 -1
- package/lib/modules/staking.d.ts +0 -1
- package/lib/modules/staking.js +0 -1
- package/lib/modules/subaccount.d.ts +0 -1
- package/lib/modules/subaccount.js +0 -1
- package/lib/modules/xchain.d.ts +0 -1
- package/lib/modules/xchain.js +0 -1
- package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.d.ts +0 -1
- package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.js +0 -1
- package/lib/provider/account/EthLedgerAccount/EthLedgerSigner.d.ts +0 -1
- package/lib/provider/account/EthLedgerAccount/EthLedgerSigner.js +0 -1
- package/lib/provider/account/EthLedgerAccount/index.d.ts +0 -1
- package/lib/provider/account/EthLedgerAccount/index.js +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/BIP44.d.ts +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/BIP44.js +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.d.ts +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.js +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/index.d.ts +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/index.js +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.d.ts +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.js +0 -1
- package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.d.ts +0 -1
- package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.js +0 -1
- package/lib/provider/account/NeoLedgerAccount/NeonLedger.d.ts +0 -1
- package/lib/provider/account/NeoLedgerAccount/NeonLedger.js +0 -1
- package/lib/provider/account/NeoLedgerAccount/index.d.ts +0 -1
- package/lib/provider/account/NeoLedgerAccount/index.js +0 -1
- package/lib/provider/account/index.d.ts +0 -1
- package/lib/provider/account/index.js +0 -1
- package/lib/provider/amino/AminoTypesMap.d.ts +0 -1
- package/lib/provider/amino/AminoTypesMap.js +0 -1
- package/lib/provider/amino/index.d.ts +0 -1
- package/lib/provider/amino/index.js +0 -1
- package/lib/provider/amino/types/admin.d.ts +0 -1
- package/lib/provider/amino/types/admin.js +48 -8
- package/lib/provider/amino/types/bank.d.ts +0 -1
- package/lib/provider/amino/types/bank.js +0 -1
- package/lib/provider/amino/types/broker.d.ts +0 -1
- package/lib/provider/amino/types/broker.js +0 -1
- package/lib/provider/amino/types/cdp.d.ts +0 -1
- package/lib/provider/amino/types/cdp.js +72 -33
- package/lib/provider/amino/types/coin.d.ts +0 -1
- package/lib/provider/amino/types/coin.js +0 -1
- package/lib/provider/amino/types/gov.d.ts +0 -1
- package/lib/provider/amino/types/gov.js +0 -1
- package/lib/provider/amino/types/ibc.d.ts +0 -1
- package/lib/provider/amino/types/ibc.js +0 -1
- package/lib/provider/amino/types/index.d.ts +0 -1
- package/lib/provider/amino/types/index.js +0 -1
- package/lib/provider/amino/types/leverage.d.ts +0 -1
- package/lib/provider/amino/types/leverage.js +0 -1
- package/lib/provider/amino/types/liquidityPool.d.ts +0 -1
- package/lib/provider/amino/types/liquidityPool.js +0 -1
- package/lib/provider/amino/types/market.d.ts +0 -1
- package/lib/provider/amino/types/market.js +0 -1
- package/lib/provider/amino/types/oracle.d.ts +0 -1
- package/lib/provider/amino/types/oracle.js +0 -1
- package/lib/provider/amino/types/order.d.ts +0 -1
- package/lib/provider/amino/types/order.js +0 -1
- package/lib/provider/amino/types/position.d.ts +0 -1
- package/lib/provider/amino/types/position.js +0 -1
- package/lib/provider/amino/types/profile.d.ts +0 -1
- package/lib/provider/amino/types/profile.js +0 -1
- package/lib/provider/amino/types/staking.d.ts +0 -1
- package/lib/provider/amino/types/staking.js +0 -1
- package/lib/provider/amino/types/subaccount.d.ts +0 -1
- package/lib/provider/amino/types/subaccount.js +0 -1
- package/lib/provider/amino/utils.d.ts +0 -1
- package/lib/provider/amino/utils.js +0 -1
- package/lib/provider/index.d.ts +0 -1
- package/lib/provider/index.js +0 -1
- package/lib/provider/keplr/KeplrAccount.d.ts +0 -1
- package/lib/provider/keplr/KeplrAccount.js +0 -1
- package/lib/provider/keplr/KeplrStore.d.ts +0 -1
- package/lib/provider/keplr/KeplrStore.js +0 -1
- package/lib/provider/keplr/index.d.ts +0 -1
- package/lib/provider/keplr/index.js +0 -1
- package/lib/provider/ledger/index.d.ts +0 -1
- package/lib/provider/ledger/index.js +0 -1
- package/lib/provider/ledger/ledger.d.ts +0 -1
- package/lib/provider/ledger/ledger.js +0 -1
- package/lib/provider/metamask/MetaMask.d.ts +0 -1
- package/lib/provider/metamask/MetaMask.js +0 -1
- package/lib/provider/metamask/index.d.ts +0 -1
- package/lib/provider/metamask/index.js +0 -1
- package/lib/provider/o3/O3Types.d.ts +0 -1
- package/lib/provider/o3/O3Types.js +0 -1
- package/lib/provider/o3/O3Wallet.d.ts +0 -1
- package/lib/provider/o3/O3Wallet.js +5 -7
- package/lib/provider/o3/index.d.ts +0 -1
- package/lib/provider/o3/index.js +0 -1
- package/lib/provider/sdk/SDKProvider.d.ts +0 -1
- package/lib/provider/sdk/SDKProvider.js +0 -1
- package/lib/provider/sdk/index.d.ts +0 -1
- package/lib/provider/sdk/index.js +0 -1
- package/lib/provider/zilpay/Zilpay.d.ts +0 -1
- package/lib/provider/zilpay/Zilpay.js +0 -1
- package/lib/provider/zilpay/index.d.ts +0 -1
- package/lib/provider/zilpay/index.js +0 -1
- package/lib/util/address.d.ts +0 -1
- package/lib/util/address.js +0 -1
- package/lib/util/api.d.ts +0 -1
- package/lib/util/api.js +0 -1
- package/lib/util/blockchain.d.ts +0 -1
- package/lib/util/blockchain.js +0 -1
- package/lib/util/external.d.ts +0 -1
- package/lib/util/external.js +0 -1
- package/lib/util/fetch.d.ts +0 -1
- package/lib/util/fetch.js +0 -1
- package/lib/util/generic.d.ts +0 -1
- package/lib/util/generic.js +0 -1
- package/lib/util/gov.d.ts +0 -1
- package/lib/util/gov.js +0 -1
- package/lib/util/ibc.d.ts +0 -1
- package/lib/util/ibc.js +0 -1
- package/lib/util/index.d.ts +0 -1
- package/lib/util/index.js +0 -1
- package/lib/util/ledger.d.ts +0 -1
- package/lib/util/ledger.js +0 -1
- package/lib/util/network.d.ts +0 -1
- package/lib/util/network.js +0 -1
- package/lib/util/number.d.ts +0 -1
- package/lib/util/number.js +0 -1
- package/lib/util/token.d.ts +0 -1
- package/lib/util/token.js +0 -1
- package/lib/util/transferfees.d.ts +0 -1
- package/lib/util/transferfees.js +0 -1
- package/lib/util/tx.d.ts +42 -15
- package/lib/util/tx.js +0 -1
- package/lib/util/type.d.ts +0 -1
- package/lib/util/type.js +0 -1
- package/lib/wallet/CarbonSigner.d.ts +0 -1
- package/lib/wallet/CarbonSigner.js +0 -1
- package/lib/wallet/CarbonSigningClient.d.ts +0 -1
- package/lib/wallet/CarbonSigningClient.js +0 -1
- package/lib/wallet/CarbonWallet.d.ts +0 -1
- package/lib/wallet/CarbonWallet.js +0 -1
- package/lib/wallet/index.d.ts +0 -1
- package/lib/wallet/index.js +0 -1
- package/lib/websocket/channel.d.ts +0 -1
- package/lib/websocket/channel.js +26 -1
- package/lib/websocket/connector.d.ts +0 -1
- package/lib/websocket/connector.js +0 -1
- package/lib/websocket/index.d.ts +0 -1
- package/lib/websocket/index.js +0 -1
- package/lib/websocket/models.d.ts +63 -1
- package/lib/websocket/models.js +0 -1
- package/lib/websocket/types.d.ts +38 -4
- package/lib/websocket/types.js +16 -1
- package/package.json +9 -11
- package/examples/_sdk.ts +0 -1
- package/examples/_setup.ts +0 -3
- package/examples/add_collateral.ts +0 -24
- package/examples/add_debt.ts +0 -29
- package/examples/add_liquidity.ts +0 -26
- package/examples/address_convert.ts +0 -24
- package/examples/bind_token.ts +0 -21
- package/examples/broadcast_tx.ts +0 -37
- package/examples/cancel_all_orders.ts +0 -30
- package/examples/cancel_order.ts +0 -22
- package/examples/claim_pool_rewards.ts +0 -22
- package/examples/clone_sdk.ts +0 -34
- package/examples/connect_sdk.ts +0 -18
- package/examples/create_deposit.ts +0 -168
- package/examples/create_ibc_transfer.ts +0 -96
- package/examples/create_market.ts +0 -34
- package/examples/create_oracle.ts +0 -29
- package/examples/create_order.ts +0 -65
- package/examples/create_pool.ts +0 -28
- package/examples/create_pool_with_liquidity.ts +0 -30
- package/examples/create_subaccount.ts +0 -22
- package/examples/create_token.ts +0 -29
- package/examples/create_vault_type.ts +0 -25
- package/examples/create_vote.ts +0 -24
- package/examples/create_withdrawal.ts +0 -27
- package/examples/custom_node.ts +0 -19
- package/examples/delegate_tokens.ts +0 -31
- package/examples/deposit_proposal.ts +0 -24
- package/examples/edit_margin.ts +0 -24
- package/examples/edit_order.ts +0 -22
- package/examples/edit_order_bulk.ts +0 -26
- package/examples/get_crosschain_txs.ts +0 -21
- package/examples/initiate_liquidation.ts +0 -27
- package/examples/link_pool.ts +0 -23
- package/examples/mint.ts +0 -31
- package/examples/n3_query_balance.ts +0 -57
- package/examples/query.ts +0 -133
- package/examples/query_balance.ts +0 -23
- package/examples/query_external_balances.ts +0 -40
- package/examples/query_ibc.ts +0 -16
- package/examples/query_insights.ts +0 -83
- package/examples/remove_collateral.ts +0 -24
- package/examples/remove_debt.ts +0 -24
- package/examples/remove_liquidity.ts +0 -25
- package/examples/send_tokens.ts +0 -27
- package/examples/set_commitment_curve.ts +0 -23
- package/examples/set_leverage.ts +0 -24
- package/examples/set_msg_fee.ts +0 -54
- package/examples/set_reward_curve.ts +0 -27
- package/examples/set_rewards_weights.ts +0 -23
- package/examples/set_trading_flag.ts +0 -23
- package/examples/stake_pool_token.ts +0 -28
- package/examples/submit_proposal.ts +0 -62
- package/examples/sync_token.ts +0 -22
- package/examples/unlink_pool.ts +0 -22
- package/examples/unstake_pool_token.ts +0 -25
- package/examples/update_market.ts +0 -44
- package/examples/update_pool.ts +0 -25
- package/examples/update_profile.ts +0 -23
- package/examples/vote_proposal.ts +0 -23
- package/examples/websocket.ts +0 -32
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { CreateOracleParams } from "
|
|
3
|
+
import { CreateOracleParams } from "./tx";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.oracle";
|
|
5
5
|
export interface CreateOracleProposal {
|
|
6
6
|
title: string;
|
|
@@ -19,4 +19,3 @@ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? st
|
|
|
19
19
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
20
20
|
} : Partial<T>;
|
|
21
21
|
export {};
|
|
22
|
-
//# sourceMappingURL=proposal.d.ts.map
|
|
@@ -7,7 +7,7 @@ exports.CreateOracleProposal = exports.protobufPackage = void 0;
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const tx_1 = require("
|
|
10
|
+
const tx_1 = require("./tx");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.oracle";
|
|
12
12
|
const baseCreateOracleProposal = { title: "", description: "" };
|
|
13
13
|
exports.CreateOracleProposal = {
|
|
@@ -89,4 +89,3 @@ if (minimal_1.default.util.Long !== long_1.default) {
|
|
|
89
89
|
minimal_1.default.util.Long = long_1.default;
|
|
90
90
|
minimal_1.default.configure();
|
|
91
91
|
}
|
|
92
|
-
//# sourceMappingURL=proposal.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Oracle, Params, Result, Vote } from "
|
|
3
|
+
import { Oracle, Params, Result, Vote } from "./oracle";
|
|
4
4
|
import { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination";
|
|
5
|
-
import { SlashCounter, OracleVotesWindow } from "
|
|
5
|
+
import { SlashCounter, OracleVotesWindow } from "./slashing";
|
|
6
6
|
export declare const protobufPackage = "Switcheo.carbon.oracle";
|
|
7
7
|
/** this line is used by starport scaffolding # 3 */
|
|
8
8
|
export interface QueryOracleRequest {
|
|
@@ -262,4 +262,3 @@ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? st
|
|
|
262
262
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
263
263
|
} : Partial<T>;
|
|
264
264
|
export {};
|
|
265
|
-
//# sourceMappingURL=query.d.ts.map
|
|
@@ -7,9 +7,9 @@ exports.QueryClientImpl = exports.QueryParamsResponse = exports.QueryParamsReque
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const oracle_1 = require("
|
|
10
|
+
const oracle_1 = require("./oracle");
|
|
11
11
|
const pagination_1 = require("../cosmos/base/query/v1beta1/pagination");
|
|
12
|
-
const slashing_1 = require("
|
|
12
|
+
const slashing_1 = require("./slashing");
|
|
13
13
|
exports.protobufPackage = "Switcheo.carbon.oracle";
|
|
14
14
|
const baseQueryOracleRequest = { id: "" };
|
|
15
15
|
exports.QueryOracleRequest = {
|
|
@@ -1212,4 +1212,3 @@ if (minimal_1.default.util.Long !== long_1.default) {
|
|
|
1212
1212
|
minimal_1.default.util.Long = long_1.default;
|
|
1213
1213
|
minimal_1.default.configure();
|
|
1214
1214
|
}
|
|
1215
|
-
//# sourceMappingURL=query.js.map
|
package/lib/codec/oracle/tx.d.ts
CHANGED
package/lib/codec/oracle/tx.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Order } from "
|
|
3
|
+
import { Order } from "./order";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.order";
|
|
5
5
|
export interface OrderEvent {
|
|
6
6
|
order?: Order;
|
|
@@ -21,4 +21,3 @@ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? st
|
|
|
21
21
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
22
22
|
} : Partial<T>;
|
|
23
23
|
export {};
|
|
24
|
-
//# sourceMappingURL=event.d.ts.map
|
package/lib/codec/order/event.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.OrderEvent = exports.protobufPackage = void 0;
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const order_1 = require("
|
|
10
|
+
const order_1 = require("./order");
|
|
11
11
|
const timestamp_1 = require("../google/protobuf/timestamp");
|
|
12
12
|
exports.protobufPackage = "Switcheo.carbon.order";
|
|
13
13
|
const baseOrderEvent = {
|
|
@@ -144,4 +144,3 @@ if (minimal_1.default.util.Long !== long_1.default) {
|
|
|
144
144
|
minimal_1.default.util.Long = long_1.default;
|
|
145
145
|
minimal_1.default.configure();
|
|
146
146
|
}
|
|
147
|
-
//# sourceMappingURL=event.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Params, OrderIDs, Order } from "
|
|
3
|
+
import { Params, OrderIDs, Order } from "./order";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.order";
|
|
5
5
|
/** GenesisState defines the order module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
|
@@ -60,4 +60,3 @@ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? st
|
|
|
60
60
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
61
61
|
} : Partial<T>;
|
|
62
62
|
export {};
|
|
63
|
-
//# sourceMappingURL=genesis.d.ts.map
|
|
@@ -7,7 +7,7 @@ exports.GenesisFlag = exports.GenesisAccountSequence = exports.GenesisAccountOrd
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const order_1 = require("
|
|
10
|
+
const order_1 = require("./order");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.order";
|
|
12
12
|
const baseGenesisState = {};
|
|
13
13
|
exports.GenesisState = {
|
|
@@ -320,4 +320,3 @@ if (minimal_1.default.util.Long !== long_1.default) {
|
|
|
320
320
|
minimal_1.default.util.Long = long_1.default;
|
|
321
321
|
minimal_1.default.configure();
|
|
322
322
|
}
|
|
323
|
-
//# sourceMappingURL=genesis.js.map
|
package/lib/codec/order/order.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Order, Params, DBOrder } from "
|
|
3
|
+
import { Order, Params, DBOrder } from "./order";
|
|
4
4
|
import { PageRequest, PageResponse } from "../query/pagination";
|
|
5
5
|
export declare const protobufPackage = "Switcheo.carbon.order";
|
|
6
6
|
/** this line is used by starport scaffolding # 3 */
|
|
@@ -141,4 +141,3 @@ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? st
|
|
|
141
141
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
142
142
|
} : Partial<T>;
|
|
143
143
|
export {};
|
|
144
|
-
//# sourceMappingURL=query.d.ts.map
|
package/lib/codec/order/query.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryOrderAllocatedMarginResponse = exports.Qu
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const order_1 = require("
|
|
10
|
+
const order_1 = require("./order");
|
|
11
11
|
const pagination_1 = require("../query/pagination");
|
|
12
12
|
exports.protobufPackage = "Switcheo.carbon.order";
|
|
13
13
|
const baseQueryGetOrderRequest = { id: "" };
|
|
@@ -594,4 +594,3 @@ if (minimal_1.default.util.Long !== long_1.default) {
|
|
|
594
594
|
minimal_1.default.util.Long = long_1.default;
|
|
595
595
|
minimal_1.default.configure();
|
|
596
596
|
}
|
|
597
|
-
//# sourceMappingURL=query.js.map
|
package/lib/codec/order/tx.d.ts
CHANGED
package/lib/codec/order/tx.js
CHANGED
|
@@ -24,4 +24,3 @@ exports.Btcx = __importStar(require("./btcx/export"));
|
|
|
24
24
|
exports.Ccm = __importStar(require("./ccm/export"));
|
|
25
25
|
exports.Headersync = __importStar(require("./headersync/export"));
|
|
26
26
|
exports.Lockproxy = __importStar(require("./lockproxy/export"));
|
|
27
|
-
//# sourceMappingURL=polynetwork-models.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Position } from "
|
|
3
|
+
import { Position } from "./position";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.position";
|
|
5
5
|
export interface PositionEvent {
|
|
6
6
|
position?: Position;
|
|
@@ -24,4 +24,3 @@ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? st
|
|
|
24
24
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
25
25
|
} : Partial<T>;
|
|
26
26
|
export {};
|
|
27
|
-
//# sourceMappingURL=event.d.ts.map
|
|
@@ -7,7 +7,7 @@ exports.PositionEvent = exports.protobufPackage = void 0;
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const position_1 = require("
|
|
10
|
+
const position_1 = require("./position");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.position";
|
|
12
12
|
const basePositionEvent = {
|
|
13
13
|
id: long_1.default.UZERO,
|
|
@@ -178,4 +178,3 @@ if (minimal_1.default.util.Long !== long_1.default) {
|
|
|
178
178
|
minimal_1.default.util.Long = long_1.default;
|
|
179
179
|
minimal_1.default.configure();
|
|
180
180
|
}
|
|
181
|
-
//# sourceMappingURL=event.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Position } from "
|
|
3
|
+
import { Position } from "./position";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.position";
|
|
5
5
|
/** GenesisState defines the position module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
|
@@ -22,4 +22,3 @@ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? st
|
|
|
22
22
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
23
23
|
} : Partial<T>;
|
|
24
24
|
export {};
|
|
25
|
-
//# sourceMappingURL=genesis.d.ts.map
|
|
@@ -7,7 +7,7 @@ exports.GenesisState = exports.protobufPackage = void 0;
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const position_1 = require("
|
|
10
|
+
const position_1 = require("./position");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.position";
|
|
12
12
|
const baseGenesisState = {};
|
|
13
13
|
exports.GenesisState = {
|
|
@@ -62,4 +62,3 @@ if (minimal_1.default.util.Long !== long_1.default) {
|
|
|
62
62
|
minimal_1.default.util.Long = long_1.default;
|
|
63
63
|
minimal_1.default.configure();
|
|
64
64
|
}
|
|
65
|
-
//# sourceMappingURL=genesis.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Position, APIPosition, PositionAllocatedMargin } from "
|
|
3
|
+
import { Position, APIPosition, PositionAllocatedMargin } from "./position";
|
|
4
4
|
import { PageRequest, PageResponse } from "../query/pagination";
|
|
5
5
|
export declare const protobufPackage = "Switcheo.carbon.position";
|
|
6
6
|
export interface QueryGetPositionRequest {
|
|
@@ -91,4 +91,3 @@ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? st
|
|
|
91
91
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
92
92
|
} : Partial<T>;
|
|
93
93
|
export {};
|
|
94
|
-
//# sourceMappingURL=query.d.ts.map
|
|
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryPositionAllocatedMarginResponse = exports
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const position_1 = require("
|
|
10
|
+
const position_1 = require("./position");
|
|
11
11
|
const pagination_1 = require("../query/pagination");
|
|
12
12
|
exports.protobufPackage = "Switcheo.carbon.position";
|
|
13
13
|
const baseQueryGetPositionRequest = { address: "", market: "" };
|
|
@@ -411,4 +411,3 @@ if (minimal_1.default.util.Long !== long_1.default) {
|
|
|
411
411
|
minimal_1.default.util.Long = long_1.default;
|
|
412
412
|
minimal_1.default.configure();
|
|
413
413
|
}
|
|
414
|
-
//# sourceMappingURL=query.js.map
|
package/lib/codec/position/tx.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { PriceSet } from "
|
|
3
|
+
import { PriceSet, TokenPrice } from "./pricing";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.pricing";
|
|
5
5
|
export interface PriceUpdateEvent {
|
|
6
6
|
prices?: PriceSet;
|
|
7
7
|
}
|
|
8
|
+
export interface TokenPriceUpdateEvent {
|
|
9
|
+
price?: TokenPrice;
|
|
10
|
+
}
|
|
8
11
|
export declare const PriceUpdateEvent: {
|
|
9
12
|
encode(message: PriceUpdateEvent, writer?: _m0.Writer): _m0.Writer;
|
|
10
13
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PriceUpdateEvent;
|
|
@@ -12,9 +15,15 @@ export declare const PriceUpdateEvent: {
|
|
|
12
15
|
toJSON(message: PriceUpdateEvent): unknown;
|
|
13
16
|
fromPartial(object: DeepPartial<PriceUpdateEvent>): PriceUpdateEvent;
|
|
14
17
|
};
|
|
18
|
+
export declare const TokenPriceUpdateEvent: {
|
|
19
|
+
encode(message: TokenPriceUpdateEvent, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): TokenPriceUpdateEvent;
|
|
21
|
+
fromJSON(object: any): TokenPriceUpdateEvent;
|
|
22
|
+
toJSON(message: TokenPriceUpdateEvent): unknown;
|
|
23
|
+
fromPartial(object: DeepPartial<TokenPriceUpdateEvent>): TokenPriceUpdateEvent;
|
|
24
|
+
};
|
|
15
25
|
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
16
26
|
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
27
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
18
28
|
} : Partial<T>;
|
|
19
29
|
export {};
|
|
20
|
-
//# sourceMappingURL=event.d.ts.map
|
|
@@ -3,11 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PriceUpdateEvent = exports.protobufPackage = void 0;
|
|
6
|
+
exports.TokenPriceUpdateEvent = exports.PriceUpdateEvent = exports.protobufPackage = void 0;
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const pricing_1 = require("
|
|
10
|
+
const pricing_1 = require("./pricing");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.pricing";
|
|
12
12
|
const basePriceUpdateEvent = {};
|
|
13
13
|
exports.PriceUpdateEvent = {
|
|
@@ -59,8 +59,57 @@ exports.PriceUpdateEvent = {
|
|
|
59
59
|
return message;
|
|
60
60
|
},
|
|
61
61
|
};
|
|
62
|
+
const baseTokenPriceUpdateEvent = {};
|
|
63
|
+
exports.TokenPriceUpdateEvent = {
|
|
64
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
65
|
+
if (message.price !== undefined) {
|
|
66
|
+
pricing_1.TokenPrice.encode(message.price, writer.uint32(10).fork()).ldelim();
|
|
67
|
+
}
|
|
68
|
+
return writer;
|
|
69
|
+
},
|
|
70
|
+
decode(input, length) {
|
|
71
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
72
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
73
|
+
const message = Object.assign({}, baseTokenPriceUpdateEvent);
|
|
74
|
+
while (reader.pos < end) {
|
|
75
|
+
const tag = reader.uint32();
|
|
76
|
+
switch (tag >>> 3) {
|
|
77
|
+
case 1:
|
|
78
|
+
message.price = pricing_1.TokenPrice.decode(reader, reader.uint32());
|
|
79
|
+
break;
|
|
80
|
+
default:
|
|
81
|
+
reader.skipType(tag & 7);
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return message;
|
|
86
|
+
},
|
|
87
|
+
fromJSON(object) {
|
|
88
|
+
const message = Object.assign({}, baseTokenPriceUpdateEvent);
|
|
89
|
+
message.price =
|
|
90
|
+
object.price !== undefined && object.price !== null
|
|
91
|
+
? pricing_1.TokenPrice.fromJSON(object.price)
|
|
92
|
+
: undefined;
|
|
93
|
+
return message;
|
|
94
|
+
},
|
|
95
|
+
toJSON(message) {
|
|
96
|
+
const obj = {};
|
|
97
|
+
message.price !== undefined &&
|
|
98
|
+
(obj.price = message.price
|
|
99
|
+
? pricing_1.TokenPrice.toJSON(message.price)
|
|
100
|
+
: undefined);
|
|
101
|
+
return obj;
|
|
102
|
+
},
|
|
103
|
+
fromPartial(object) {
|
|
104
|
+
const message = Object.assign({}, baseTokenPriceUpdateEvent);
|
|
105
|
+
message.price =
|
|
106
|
+
object.price !== undefined && object.price !== null
|
|
107
|
+
? pricing_1.TokenPrice.fromPartial(object.price)
|
|
108
|
+
: undefined;
|
|
109
|
+
return message;
|
|
110
|
+
},
|
|
111
|
+
};
|
|
62
112
|
if (minimal_1.default.util.Long !== long_1.default) {
|
|
63
113
|
minimal_1.default.util.Long = long_1.default;
|
|
64
114
|
minimal_1.default.configure();
|
|
65
115
|
}
|
|
66
|
-
//# sourceMappingURL=event.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Params, PriceSet } from "
|
|
3
|
+
import { Params, PriceSet, TokenPrice } from "./pricing";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.pricing";
|
|
5
5
|
/** GenesisState defines the pricing module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
|
@@ -9,6 +9,7 @@ export interface GenesisState {
|
|
|
9
9
|
* this line is used by starport scaffolding # ibc/genesis/proto
|
|
10
10
|
*/
|
|
11
11
|
prices: PriceSet[];
|
|
12
|
+
tokenPrice: TokenPrice[];
|
|
12
13
|
params?: Params;
|
|
13
14
|
}
|
|
14
15
|
export declare const GenesisState: {
|
|
@@ -23,4 +24,3 @@ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? st
|
|
|
23
24
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
24
25
|
} : Partial<T>;
|
|
25
26
|
export {};
|
|
26
|
-
//# sourceMappingURL=genesis.d.ts.map
|
|
@@ -7,7 +7,7 @@ exports.GenesisState = exports.protobufPackage = void 0;
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const pricing_1 = require("
|
|
10
|
+
const pricing_1 = require("./pricing");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.pricing";
|
|
12
12
|
const baseGenesisState = {};
|
|
13
13
|
exports.GenesisState = {
|
|
@@ -15,8 +15,11 @@ exports.GenesisState = {
|
|
|
15
15
|
for (const v of message.prices) {
|
|
16
16
|
pricing_1.PriceSet.encode(v, writer.uint32(10).fork()).ldelim();
|
|
17
17
|
}
|
|
18
|
+
for (const v of message.tokenPrice) {
|
|
19
|
+
pricing_1.TokenPrice.encode(v, writer.uint32(18).fork()).ldelim();
|
|
20
|
+
}
|
|
18
21
|
if (message.params !== undefined) {
|
|
19
|
-
pricing_1.Params.encode(message.params, writer.uint32(
|
|
22
|
+
pricing_1.Params.encode(message.params, writer.uint32(26).fork()).ldelim();
|
|
20
23
|
}
|
|
21
24
|
return writer;
|
|
22
25
|
},
|
|
@@ -25,13 +28,17 @@ exports.GenesisState = {
|
|
|
25
28
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
26
29
|
const message = Object.assign({}, baseGenesisState);
|
|
27
30
|
message.prices = [];
|
|
31
|
+
message.tokenPrice = [];
|
|
28
32
|
while (reader.pos < end) {
|
|
29
33
|
const tag = reader.uint32();
|
|
30
34
|
switch (tag >>> 3) {
|
|
31
35
|
case 1:
|
|
32
36
|
message.prices.push(pricing_1.PriceSet.decode(reader, reader.uint32()));
|
|
33
37
|
break;
|
|
34
|
-
case
|
|
38
|
+
case 2:
|
|
39
|
+
message.tokenPrice.push(pricing_1.TokenPrice.decode(reader, reader.uint32()));
|
|
40
|
+
break;
|
|
41
|
+
case 3:
|
|
35
42
|
message.params = pricing_1.Params.decode(reader, reader.uint32());
|
|
36
43
|
break;
|
|
37
44
|
default:
|
|
@@ -42,9 +49,10 @@ exports.GenesisState = {
|
|
|
42
49
|
return message;
|
|
43
50
|
},
|
|
44
51
|
fromJSON(object) {
|
|
45
|
-
var _a;
|
|
52
|
+
var _a, _b;
|
|
46
53
|
const message = Object.assign({}, baseGenesisState);
|
|
47
54
|
message.prices = ((_a = object.prices) !== null && _a !== void 0 ? _a : []).map((e) => pricing_1.PriceSet.fromJSON(e));
|
|
55
|
+
message.tokenPrice = ((_b = object.tokenPrice) !== null && _b !== void 0 ? _b : []).map((e) => pricing_1.TokenPrice.fromJSON(e));
|
|
48
56
|
message.params =
|
|
49
57
|
object.params !== undefined && object.params !== null
|
|
50
58
|
? pricing_1.Params.fromJSON(object.params)
|
|
@@ -59,14 +67,21 @@ exports.GenesisState = {
|
|
|
59
67
|
else {
|
|
60
68
|
obj.prices = [];
|
|
61
69
|
}
|
|
70
|
+
if (message.tokenPrice) {
|
|
71
|
+
obj.tokenPrice = message.tokenPrice.map((e) => e ? pricing_1.TokenPrice.toJSON(e) : undefined);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
obj.tokenPrice = [];
|
|
75
|
+
}
|
|
62
76
|
message.params !== undefined &&
|
|
63
77
|
(obj.params = message.params ? pricing_1.Params.toJSON(message.params) : undefined);
|
|
64
78
|
return obj;
|
|
65
79
|
},
|
|
66
80
|
fromPartial(object) {
|
|
67
|
-
var _a;
|
|
81
|
+
var _a, _b;
|
|
68
82
|
const message = Object.assign({}, baseGenesisState);
|
|
69
83
|
message.prices = ((_a = object.prices) !== null && _a !== void 0 ? _a : []).map((e) => pricing_1.PriceSet.fromPartial(e));
|
|
84
|
+
message.tokenPrice = ((_b = object.tokenPrice) !== null && _b !== void 0 ? _b : []).map((e) => pricing_1.TokenPrice.fromPartial(e));
|
|
70
85
|
message.params =
|
|
71
86
|
object.params !== undefined && object.params !== null
|
|
72
87
|
? pricing_1.Params.fromPartial(object.params)
|
|
@@ -78,4 +93,3 @@ if (minimal_1.default.util.Long !== long_1.default) {
|
|
|
78
93
|
minimal_1.default.util.Long = long_1.default;
|
|
79
94
|
minimal_1.default.configure();
|
|
80
95
|
}
|
|
81
|
-
//# sourceMappingURL=genesis.js.map
|
|
@@ -24,6 +24,12 @@ export interface PriceSet {
|
|
|
24
24
|
premiumRateCounter: string;
|
|
25
25
|
lastFundingAt?: Date;
|
|
26
26
|
}
|
|
27
|
+
export interface TokenPrice {
|
|
28
|
+
denom: string;
|
|
29
|
+
index: string;
|
|
30
|
+
twap: string;
|
|
31
|
+
indexUpdatedAt?: Date;
|
|
32
|
+
}
|
|
27
33
|
export declare const Params: {
|
|
28
34
|
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
|
|
29
35
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Params;
|
|
@@ -38,9 +44,15 @@ export declare const PriceSet: {
|
|
|
38
44
|
toJSON(message: PriceSet): unknown;
|
|
39
45
|
fromPartial(object: DeepPartial<PriceSet>): PriceSet;
|
|
40
46
|
};
|
|
47
|
+
export declare const TokenPrice: {
|
|
48
|
+
encode(message: TokenPrice, writer?: _m0.Writer): _m0.Writer;
|
|
49
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): TokenPrice;
|
|
50
|
+
fromJSON(object: any): TokenPrice;
|
|
51
|
+
toJSON(message: TokenPrice): unknown;
|
|
52
|
+
fromPartial(object: DeepPartial<TokenPrice>): TokenPrice;
|
|
53
|
+
};
|
|
41
54
|
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
42
55
|
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 {} ? {
|
|
43
56
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
44
57
|
} : Partial<T>;
|
|
45
58
|
export {};
|
|
46
|
-
//# sourceMappingURL=pricing.d.ts.map
|