carbon-js-sdk 0.11.69 → 0.11.70
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 +7 -1
- package/lib/CarbonSDK.js +24 -4
- package/lib/clients/BatchQueryClient.js +4 -4
- package/lib/clients/CarbonQueryClient.js +1 -1
- package/lib/clients/ETHClient.js +15 -15
- package/lib/clients/HydrogenClient.js +4 -4
- package/lib/clients/InsightsQueryClient.js +3 -3
- package/lib/clients/N3Client.d.ts +1 -1
- package/lib/clients/N3Client.js +7 -9
- package/lib/clients/NEOClient.d.ts +1 -1
- package/lib/clients/NEOClient.js +19 -17
- package/lib/clients/TokenClient.js +5 -7
- package/lib/clients/ZILClient.d.ts +1 -1
- package/lib/clients/ZILClient.js +20 -26
- package/lib/clients/index.d.ts +2 -0
- package/lib/clients/index.js +5 -1
- 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/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/admin/query.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/admin/tx.d.ts +10 -10
- 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 +10 -10
- package/lib/codec/Switcheo/carbon/bank/tx.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/book/book.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/book/event.d.ts +6 -6
- 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/bridge/bridge.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/bridge/event.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/bridge/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/bridge/params.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/bridge/pending_action.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/bridge/query.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/bridge/tx.d.ts +67 -67
- 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/genesis.d.ts +9 -9
- package/lib/codec/Switcheo/carbon/ccm/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/ccm/query.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/ccm/tx.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/cdp/asset_params.d.ts +6 -6
- 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 +35 -35
- package/lib/codec/Switcheo/carbon/cdp/genesis.d.ts +10 -10
- package/lib/codec/Switcheo/carbon/cdp/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/cdp/query.d.ts +55 -55
- 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 +71 -71
- 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 +53 -53
- 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 +3 -3
- package/lib/codec/Switcheo/carbon/erc20/params.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/evm_hooks.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/evmcontract/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/evmcontract/query.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/evmcontract/tx.d.ts +8 -8
- 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/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 +4 -4
- 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 +5 -5
- package/lib/codec/Switcheo/carbon/insurance/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/insurance/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/insurance/query.d.ts +10 -10
- package/lib/codec/Switcheo/carbon/insurance/tx.d.ts +6 -6
- 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/event.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/liquidation/genesis.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/liquidation/outstanding_position.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/liquidation/query.d.ts +4 -4
- 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/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/liquiditypool/proposal.d.ts +11 -11
- package/lib/codec/Switcheo/carbon/liquiditypool/query.d.ts +33 -33
- package/lib/codec/Switcheo/carbon/liquiditypool/reward.d.ts +18 -18
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.d.ts +43 -43
- 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 +16 -16
- 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 +6 -6
- package/lib/codec/Switcheo/carbon/market/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/market/proposal.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/market/query.d.ts +22 -22
- package/lib/codec/Switcheo/carbon/market/tx.d.ts +31 -31
- 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/query.d.ts +4 -4
- 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/historical.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/oracle/oracle.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/oracle/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/oracle/query.d.ts +32 -32
- package/lib/codec/Switcheo/carbon/oracle/slashing.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/oracle/tx.d.ts +28 -28
- package/lib/codec/Switcheo/carbon/order/event.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/order/evm_hooks.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/order/genesis.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/order/order.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/order/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/order/query.d.ts +14 -14
- package/lib/codec/Switcheo/carbon/order/tx.d.ts +16 -16
- package/lib/codec/Switcheo/carbon/otc/event.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/otc/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/otc/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/otc/query.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/otc/quote.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/otc/rfq.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/otc/tx.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/perpspool/event.d.ts +14 -14
- package/lib/codec/Switcheo/carbon/perpspool/genesis.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/perpspool/market.d.ts +9 -9
- package/lib/codec/Switcheo/carbon/perpspool/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/perpspool/pool.d.ts +9 -9
- package/lib/codec/Switcheo/carbon/perpspool/query.d.ts +35 -35
- package/lib/codec/Switcheo/carbon/perpspool/quote.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/perpspool/tx.d.ts +32 -32
- package/lib/codec/Switcheo/carbon/perpspool/user_vault.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/position/event.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/position/evm_hooks.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/position/genesis.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/position/position.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/position/query.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/position/tx.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/pricing/event.d.ts +9 -9
- 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/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/pricing/pricing.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/pricing/query.d.ts +16 -16
- package/lib/codec/Switcheo/carbon/pricing/tx.d.ts +18 -18
- 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/params.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/subaccount/query.d.ts +21 -21
- package/lib/codec/Switcheo/carbon/subaccount/subaccount.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/subaccount/tx.d.ts +10 -10
- package/lib/codec/alliance/alliance/alliance.d.ts +5 -5
- package/lib/codec/alliance/alliance/delegations.d.ts +6 -6
- package/lib/codec/alliance/alliance/events.d.ts +7 -7
- package/lib/codec/alliance/alliance/genesis.d.ts +7 -7
- package/lib/codec/alliance/alliance/gov.d.ts +5 -5
- package/lib/codec/alliance/alliance/params.d.ts +4 -4
- package/lib/codec/alliance/alliance/query.d.ts +31 -31
- package/lib/codec/alliance/alliance/redelegations.d.ts +5 -5
- package/lib/codec/alliance/alliance/tx.d.ts +18 -18
- package/lib/codec/alliance/alliance/unbonding.d.ts +3 -3
- package/lib/codec/carbon-models.js +5 -1
- package/lib/codec/cosmos/app/runtime/v1alpha1/module.d.ts +4 -4
- package/lib/codec/cosmos/app/v1alpha1/config.d.ts +5 -5
- 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/module/v1/module.d.ts +4 -4
- package/lib/codec/cosmos/auth/v1beta1/auth.d.ts +6 -6
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +22 -22
- package/lib/codec/cosmos/auth/v1beta1/tx.d.ts +4 -4
- package/lib/codec/cosmos/authz/module/v1/module.d.ts +3 -3
- 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/autocli/v1/options.d.ts +9 -9
- package/lib/codec/cosmos/autocli/v1/query.d.ts +5 -5
- package/lib/codec/cosmos/bank/module/v1/module.d.ts +3 -3
- 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 +29 -29
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +10 -10
- package/lib/codec/cosmos/base/abci/v1beta1/abci.d.ts +13 -13
- package/lib/codec/cosmos/base/node/v1beta1/query.d.ts +6 -6
- 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/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/circuit/module/v1/module.d.ts +3 -3
- package/lib/codec/cosmos/circuit/v1/query.d.ts +8 -8
- package/lib/codec/cosmos/circuit/v1/tx.d.ts +8 -8
- package/lib/codec/cosmos/circuit/v1/types.d.ts +5 -5
- package/lib/codec/cosmos/consensus/module/v1/module.d.ts +3 -3
- package/lib/codec/cosmos/consensus/v1/query.d.ts +4 -4
- package/lib/codec/cosmos/consensus/v1/tx.d.ts +4 -4
- package/lib/codec/cosmos/crisis/module/v1/module.d.ts +3 -3
- package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts +6 -6
- 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/module/v1/module.d.ts +3 -3
- 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 +24 -24
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +16 -16
- package/lib/codec/cosmos/evidence/module/v1/module.d.ts +3 -3
- 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/module/v1/module.d.ts +3 -3
- 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 +8 -8
- package/lib/codec/cosmos/genutil/module/v1/module.d.ts +3 -3
- package/lib/codec/cosmos/genutil/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/gov/module/v1/module.d.ts +3 -3
- package/lib/codec/cosmos/gov/v1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/gov/v1/gov.d.ts +11 -11
- package/lib/codec/cosmos/gov/v1/query.d.ts +20 -20
- package/lib/codec/cosmos/gov/v1/query.js +2 -2
- package/lib/codec/cosmos/gov/v1/tx.d.ts +16 -16
- 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/module/v1/module.d.ts +3 -3
- package/lib/codec/cosmos/group/v1/events.d.ts +13 -13
- package/lib/codec/cosmos/group/v1/events.js +4 -4
- 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/ics23/v1/proofs.d.ts +15 -15
- package/lib/codec/cosmos/mint/module/v1/module.d.ts +3 -3
- 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/mint/v1beta1/tx.d.ts +4 -4
- package/lib/codec/cosmos/nft/module/v1/module.d.ts +3 -3
- 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/query/v1alpha1/query.d.ts +9 -9
- 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/module/v1/module.d.ts +3 -3
- 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/reflection/v1/reflection.d.ts +4 -4
- package/lib/codec/cosmos/slashing/module/v1/module.d.ts +3 -3
- 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 +6 -6
- package/lib/codec/cosmos/staking/module/v1/module.d.ts +3 -3
- 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 +23 -23
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +16 -16
- package/lib/codec/cosmos/store/internal/kv/v1beta1/kv.d.ts +4 -4
- package/lib/codec/cosmos/store/snapshots/v1/snapshot.d.ts +9 -9
- package/lib/codec/cosmos/store/streaming/abci/grpc.d.ts +6 -6
- package/lib/codec/cosmos/store/v1beta1/commit_info.d.ts +5 -5
- package/lib/codec/cosmos/store/v1beta1/listening.d.ts +4 -4
- package/lib/codec/cosmos/tx/config/v1/config.d.ts +3 -3
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts +7 -7
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +20 -20
- 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/module/v1/module.d.ts +3 -3
- 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/module/v1/module.d.ts +3 -3
- 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/events.d.ts +6 -6
- 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 +10 -10
- package/lib/codec/ethermint/feemarket/v1/events.d.ts +4 -4
- 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/feemarket/v1/tx.d.ts +4 -4
- 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/descriptor.d.ts +35 -35
- package/lib/codec/google/protobuf/duration.d.ts +3 -3
- package/lib/codec/google/protobuf/empty.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/fee/v1/ack.d.ts +3 -3
- package/lib/codec/ibc/applications/fee/v1/fee.d.ts +6 -6
- package/lib/codec/ibc/applications/fee/v1/genesis.d.ts +7 -7
- package/lib/codec/ibc/applications/fee/v1/metadata.d.ts +3 -3
- package/lib/codec/ibc/applications/fee/v1/query.d.ts +22 -22
- package/lib/codec/ibc/applications/fee/v1/tx.d.ts +10 -10
- 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 +6 -6
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +8 -8
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.js +2 -2
- package/lib/codec/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +7 -7
- 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/host/v1/tx.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/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/authz.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 +14 -14
- package/lib/codec/ibc/applications/transfer/v1/transfer.d.ts +4 -4
- package/lib/codec/ibc/applications/transfer/v1/tx.d.ts +6 -6
- package/lib/codec/ibc/applications/transfer/v2/packet.d.ts +3 -3
- package/lib/codec/ibc/core/channel/v1/channel.d.ts +11 -11
- package/lib/codec/ibc/core/channel/v1/genesis.d.ts +4 -4
- package/lib/codec/ibc/core/channel/v1/query.d.ts +36 -36
- package/lib/codec/ibc/core/channel/v1/tx.d.ts +40 -40
- package/lib/codec/ibc/core/channel/v1/tx.js +4 -4
- package/lib/codec/ibc/core/channel/v1/upgrade.d.ts +5 -5
- package/lib/codec/ibc/core/channel/v1/upgrade.js +2 -2
- 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 +20 -20
- package/lib/codec/ibc/core/client/v1/tx.d.ts +16 -16
- 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 +14 -14
- package/lib/codec/ibc/core/connection/v1/tx.d.ts +12 -12
- package/lib/codec/ibc/core/types/v1/genesis.d.ts +3 -3
- package/lib/codec/ibc/lightclients/localhost/v2/localhost.d.ts +3 -3
- package/lib/codec/ibc/lightclients/solomachine/v2/solomachine.d.ts +18 -18
- package/lib/codec/ibc/lightclients/solomachine/v3/solomachine.d.ts +10 -10
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts +7 -7
- package/lib/codec/ibc/lightclients/wasm/v1/genesis.d.ts +4 -4
- package/lib/codec/ibc/lightclients/wasm/v1/query.d.ts +6 -6
- package/lib/codec/ibc/lightclients/wasm/v1/tx.d.ts +8 -8
- package/lib/codec/ibc/lightclients/wasm/v1/wasm.d.ts +6 -6
- package/lib/codec/ibc-models.js +5 -1
- package/lib/codec/index.js +5 -1
- package/lib/codec/oraclesvc/query.js +1 -1
- package/lib/codec/polynetwork-models.js +5 -1
- package/lib/codec/tendermint/abci/types.d.ts +49 -49
- package/lib/codec/tendermint/abci/types.js +4 -4
- 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/oracle/types.d.ts +8 -8
- 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 +9 -9
- package/lib/codec/tendermint/types/types.d.ts +17 -17
- package/lib/codec/tendermint/types/types.js +4 -4
- 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/eip6963Provider.d.ts +1 -1
- package/lib/constant/generic.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/modules.d.ts +1 -1
- package/lib/constant/network.js +5 -4
- package/lib/constant/node.d.ts +1 -1
- package/lib/constant/web3Config.js +4 -4
- 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.d.ts +1 -1
- package/lib/index.js +10 -2
- 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/alliance.js +1 -1
- package/lib/modules/cdp.js +46 -46
- 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 +1 -1
- package/lib/modules/index.js +5 -1
- package/lib/modules/liquiditypool.js +1 -1
- package/lib/modules/order.js +1 -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.d.ts +0 -1
- package/lib/provider/account/index.js +5 -5
- package/lib/provider/amino/types/admin.js +32 -28
- package/lib/provider/amino/types/bank.js +6 -2
- package/lib/provider/amino/types/bridge.js +7 -3
- package/lib/provider/amino/types/broker.js +6 -2
- package/lib/provider/amino/types/cdp.js +27 -23
- 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 +9 -5
- package/lib/provider/amino/types/grant.js +13 -9
- package/lib/provider/amino/types/group.js +8 -4
- 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/order.js +9 -5
- package/lib/provider/amino/types/otc.js +8 -4
- package/lib/provider/amino/types/perpspool.js +15 -11
- 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 +13 -13
- package/lib/provider/index.d.ts +3 -0
- package/lib/provider/index.js +8 -1
- package/lib/provider/keplr/KeplrAccount.js +7 -7
- package/lib/provider/leap/LeapAccount.js +7 -7
- package/lib/provider/ledger/ledger.js +9 -6
- package/lib/provider/metamask/MetaMask.js +24 -20
- package/lib/provider/metamask/error.d.ts +1 -1
- package/lib/provider/o3/O3Types.d.ts +1 -1
- package/lib/provider/o3/O3Wallet.js +18 -11
- package/lib/provider/o3/index.js +5 -1
- package/lib/provider/rainbowKit/RainbowKitAccount.js +16 -16
- package/lib/provider/zilpay/Zilpay.d.ts +1 -1
- package/lib/provider/zilpay/Zilpay.js +4 -4
- package/lib/provider/zilpay/index.js +5 -1
- package/lib/util/address.d.ts +10 -3
- package/lib/util/address.js +103 -14
- package/lib/util/alliance.d.ts +1 -1
- package/lib/util/api.d.ts +3 -3
- package/lib/util/api.js +5 -5
- package/lib/util/auth.d.ts +2 -2
- package/lib/util/auth.js +3 -3
- 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/grant.d.ts +1 -1
- package/lib/util/grant.js +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 +4 -4
- package/lib/util/tx.js +6 -2
- package/lib/util/type.d.ts +1 -1
- package/lib/wallet/CarbonSigner.d.ts +5 -5
- package/lib/wallet/CarbonSigner.js +11 -11
- package/lib/wallet/CarbonSigningClient.js +16 -16
- package/lib/wallet/CarbonWallet.d.ts +1 -1
- package/lib/wallet/CarbonWallet.js +16 -14
- 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 +4 -1
- package/lib/CarbonSDK.d.ts.map +0 -1
- package/lib/CarbonSDK.js.map +0 -1
- package/lib/clients/BlockchainClient.d.ts.map +0 -1
- package/lib/clients/BlockchainClient.js.map +0 -1
- package/lib/clients/CarbonQueryClient.d.ts.map +0 -1
- package/lib/clients/CarbonQueryClient.js.map +0 -1
- package/lib/clients/ETHClient.d.ts.map +0 -1
- package/lib/clients/ETHClient.js.map +0 -1
- package/lib/clients/HydrogenClient.d.ts.map +0 -1
- package/lib/clients/HydrogenClient.js.map +0 -1
- package/lib/clients/InsightsQueryClient.d.ts.map +0 -1
- package/lib/clients/InsightsQueryClient.js.map +0 -1
- package/lib/clients/N3Client.d.ts.map +0 -1
- package/lib/clients/N3Client.js.map +0 -1
- package/lib/clients/NEOClient.d.ts.map +0 -1
- package/lib/clients/NEOClient.js.map +0 -1
- package/lib/clients/TokenClient.d.ts.map +0 -1
- package/lib/clients/TokenClient.js.map +0 -1
- package/lib/clients/ZILClient.d.ts.map +0 -1
- package/lib/clients/ZILClient.js.map +0 -1
- package/lib/clients/index.d.ts.map +0 -1
- package/lib/clients/index.js.map +0 -1
- package/lib/codec/Switcheo/carbon/ccm/ccm.d.ts +0 -19
- package/lib/codec/Switcheo/carbon/ccm/ccm.js +0 -60
- package/lib/codec/Switcheo/carbon/fee/proposal.d.ts +0 -57
- package/lib/codec/Switcheo/carbon/fee/proposal.js +0 -311
- package/lib/codec/Switcheo/carbon/oracle/proposal.d.ts +0 -21
- package/lib/codec/Switcheo/carbon/oracle/proposal.js +0 -91
- package/lib/codec/Switcheo/carbon/pricing/proposal.d.ts +0 -31
- package/lib/codec/Switcheo/carbon/pricing/proposal.js +0 -148
- package/lib/codec/adl/genesis.d.ts +0 -18
- package/lib/codec/adl/genesis.d.ts.map +0 -1
- package/lib/codec/adl/genesis.js +0 -46
- package/lib/codec/adl/genesis.js.map +0 -1
- package/lib/codec/adl/query.d.ts +0 -12
- package/lib/codec/adl/query.d.ts.map +0 -1
- package/lib/codec/adl/query.js +0 -20
- package/lib/codec/adl/query.js.map +0 -1
- package/lib/codec/adl/tx.d.ts +0 -12
- package/lib/codec/adl/tx.d.ts.map +0 -1
- package/lib/codec/adl/tx.js +0 -20
- package/lib/codec/adl/tx.js.map +0 -1
- package/lib/codec/alliance/alliance.d.ts +0 -65
- package/lib/codec/alliance/alliance.js +0 -354
- package/lib/codec/alliance/delegations.d.ts +0 -86
- package/lib/codec/alliance/delegations.js +0 -489
- package/lib/codec/alliance/events.d.ts +0 -61
- package/lib/codec/alliance/events.js +0 -403
- package/lib/codec/alliance/genesis.d.ts +0 -74
- package/lib/codec/alliance/genesis.js +0 -469
- package/lib/codec/alliance/gov.d.ts +0 -78
- package/lib/codec/alliance/gov.js +0 -380
- package/lib/codec/alliance/params.d.ts +0 -34
- package/lib/codec/alliance/params.js +0 -182
- package/lib/codec/alliance/query.d.ts +0 -312
- package/lib/codec/alliance/query.js +0 -1497
- package/lib/codec/alliance/tx.d.ts +0 -111
- package/lib/codec/alliance/tx.js +0 -495
- package/lib/codec/bank/event.d.ts +0 -43
- package/lib/codec/bank/event.d.ts.map +0 -1
- package/lib/codec/bank/event.js +0 -210
- package/lib/codec/bank/event.js.map +0 -1
- 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 -61
- package/lib/codec/bank/query.js +0 -298
- package/lib/codec/bank/tx.d.ts +0 -64
- package/lib/codec/bank/tx.js +0 -236
- package/lib/codec/book/book.d.ts +0 -44
- package/lib/codec/book/book.d.ts.map +0 -1
- package/lib/codec/book/book.js +0 -240
- package/lib/codec/book/book.js.map +0 -1
- package/lib/codec/book/event.d.ts +0 -22
- package/lib/codec/book/event.d.ts.map +0 -1
- package/lib/codec/book/event.js +0 -113
- package/lib/codec/book/event.js.map +0 -1
- package/lib/codec/book/genesis.d.ts +0 -25
- package/lib/codec/book/genesis.d.ts.map +0 -1
- package/lib/codec/book/genesis.js +0 -79
- package/lib/codec/book/genesis.js.map +0 -1
- package/lib/codec/book/query.d.ts +0 -94
- package/lib/codec/book/query.d.ts.map +0 -1
- package/lib/codec/book/query.js +0 -383
- package/lib/codec/book/query.js.map +0 -1
- package/lib/codec/book/tx.d.ts +0 -12
- package/lib/codec/book/tx.d.ts.map +0 -1
- package/lib/codec/book/tx.js +0 -20
- package/lib/codec/book/tx.js.map +0 -1
- package/lib/codec/broker/amm.d.ts +0 -22
- package/lib/codec/broker/amm.d.ts.map +0 -1
- package/lib/codec/broker/amm.js +0 -151
- package/lib/codec/broker/amm.js.map +0 -1
- package/lib/codec/broker/candlestick.d.ts +0 -26
- package/lib/codec/broker/candlestick.d.ts.map +0 -1
- package/lib/codec/broker/candlestick.js +0 -192
- package/lib/codec/broker/candlestick.js.map +0 -1
- package/lib/codec/broker/event.d.ts +0 -40
- package/lib/codec/broker/event.d.ts.map +0 -1
- package/lib/codec/broker/event.js +0 -397
- package/lib/codec/broker/event.js.map +0 -1
- package/lib/codec/broker/genesis.d.ts +0 -24
- package/lib/codec/broker/genesis.d.ts.map +0 -1
- package/lib/codec/broker/genesis.js +0 -64
- package/lib/codec/broker/genesis.js.map +0 -1
- package/lib/codec/broker/incoming_liquidations.d.ts +0 -18
- package/lib/codec/broker/incoming_liquidations.d.ts.map +0 -1
- package/lib/codec/broker/incoming_liquidations.js +0 -93
- package/lib/codec/broker/incoming_liquidations.js.map +0 -1
- package/lib/codec/broker/incoming_pool_swap.d.ts +0 -23
- package/lib/codec/broker/incoming_pool_swap.d.ts.map +0 -1
- package/lib/codec/broker/incoming_pool_swap.js +0 -136
- package/lib/codec/broker/incoming_pool_swap.js.map +0 -1
- package/lib/codec/broker/pagination.d.ts +0 -19
- package/lib/codec/broker/pagination.d.ts.map +0 -1
- package/lib/codec/broker/pagination.js +0 -78
- package/lib/codec/broker/pagination.js.map +0 -1
- package/lib/codec/broker/query.d.ts +0 -107
- package/lib/codec/broker/query.d.ts.map +0 -1
- package/lib/codec/broker/query.js +0 -597
- package/lib/codec/broker/query.js.map +0 -1
- package/lib/codec/broker/trade.d.ts +0 -28
- package/lib/codec/broker/trade.d.ts.map +0 -1
- package/lib/codec/broker/trade.js +0 -208
- package/lib/codec/broker/trade.js.map +0 -1
- package/lib/codec/broker/tx.d.ts +0 -53
- package/lib/codec/broker/tx.d.ts.map +0 -1
- package/lib/codec/broker/tx.js +0 -176
- package/lib/codec/broker/tx.js.map +0 -1
- 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/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 -437
- package/lib/codec/cdp/event.d.ts.map +0 -1
- package/lib/codec/cdp/event.js +0 -2797
- package/lib/codec/cdp/event.js.map +0 -1
- package/lib/codec/cdp/genesis.d.ts +0 -134
- package/lib/codec/cdp/genesis.d.ts.map +0 -1
- package/lib/codec/cdp/genesis.js +0 -825
- package/lib/codec/cdp/genesis.js.map +0 -1
- package/lib/codec/cdp/params.d.ts +0 -70
- package/lib/codec/cdp/params.js +0 -220
- package/lib/codec/cdp/query.d.ts +0 -598
- package/lib/codec/cdp/query.d.ts.map +0 -1
- package/lib/codec/cdp/query.js +0 -2887
- package/lib/codec/cdp/query.js.map +0 -1
- 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 -1004
- package/lib/codec/cdp/tx.d.ts.map +0 -1
- package/lib/codec/cdp/tx.js +0 -5107
- package/lib/codec/cdp/tx.js.map +0 -1
- package/lib/codec/cdp/vault.d.ts +0 -44
- package/lib/codec/cdp/vault.d.ts.map +0 -1
- package/lib/codec/cdp/vault.js +0 -235
- package/lib/codec/cdp/vault.js.map +0 -1
- package/lib/codec/coin/bridge.d.ts +0 -24
- package/lib/codec/coin/bridge.d.ts.map +0 -1
- package/lib/codec/coin/bridge.js +0 -151
- package/lib/codec/coin/bridge.js.map +0 -1
- package/lib/codec/coin/event.d.ts +0 -143
- package/lib/codec/coin/event.d.ts.map +0 -1
- package/lib/codec/coin/event.js +0 -775
- package/lib/codec/coin/event.js.map +0 -1
- package/lib/codec/coin/extevents.d.ts +0 -32
- package/lib/codec/coin/extevents.d.ts.map +0 -1
- package/lib/codec/coin/extevents.js +0 -258
- package/lib/codec/coin/extevents.js.map +0 -1
- package/lib/codec/coin/genesis.d.ts +0 -42
- package/lib/codec/coin/genesis.d.ts.map +0 -1
- package/lib/codec/coin/genesis.js +0 -207
- package/lib/codec/coin/genesis.js.map +0 -1
- 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.d.ts.map +0 -1
- package/lib/codec/coin/proposal.js +0 -91
- package/lib/codec/coin/proposal.js.map +0 -1
- package/lib/codec/coin/query.d.ts +0 -310
- package/lib/codec/coin/query.d.ts.map +0 -1
- package/lib/codec/coin/query.js +0 -1439
- package/lib/codec/coin/query.js.map +0 -1
- package/lib/codec/coin/token.d.ts +0 -105
- package/lib/codec/coin/token.d.ts.map +0 -1
- package/lib/codec/coin/token.js +0 -708
- package/lib/codec/coin/token.js.map +0 -1
- package/lib/codec/coin/tx.d.ts +0 -585
- package/lib/codec/coin/tx.d.ts.map +0 -1
- package/lib/codec/coin/tx.js +0 -3118
- package/lib/codec/coin/tx.js.map +0 -1
- package/lib/codec/cosmos/app/module/v1alpha1/module.d.ts +0 -18
- package/lib/codec/cosmos/app/module/v1alpha1/module.js +0 -46
- package/lib/codec/cosmos/auth/v1beta1/auth.d.ts.map +0 -1
- package/lib/codec/cosmos/auth/v1beta1/auth.js.map +0 -1
- package/lib/codec/cosmos/auth/v1beta1/export.d.ts.map +0 -1
- package/lib/codec/cosmos/auth/v1beta1/export.js.map +0 -1
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/auth/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/auth/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/authz/v1beta1/authz.d.ts.map +0 -1
- package/lib/codec/cosmos/authz/v1beta1/authz.js.map +0 -1
- package/lib/codec/cosmos/authz/v1beta1/event.d.ts.map +0 -1
- package/lib/codec/cosmos/authz/v1beta1/event.js.map +0 -1
- package/lib/codec/cosmos/authz/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/authz/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/authz/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/authz/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts.map +0 -1
- package/lib/codec/cosmos/authz/v1beta1/tx.js.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.js.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/bank.js.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/export.d.ts.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/export.js.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts.map +0 -1
- package/lib/codec/cosmos/bank/v1beta1/tx.js.map +0 -1
- package/lib/codec/cosmos/base/abci/v1beta1/abci.d.ts.map +0 -1
- package/lib/codec/cosmos/base/abci/v1beta1/abci.js.map +0 -1
- package/lib/codec/cosmos/base/kv/v1beta1/kv.d.ts +0 -31
- package/lib/codec/cosmos/base/kv/v1beta1/kv.d.ts.map +0 -1
- package/lib/codec/cosmos/base/kv/v1beta1/kv.js +0 -154
- package/lib/codec/cosmos/base/kv/v1beta1/kv.js.map +0 -1
- package/lib/codec/cosmos/base/query/v1beta1/pagination.d.ts.map +0 -1
- package/lib/codec/cosmos/base/query/v1beta1/pagination.js.map +0 -1
- package/lib/codec/cosmos/base/reflection/v1beta1/reflection.d.ts.map +0 -1
- package/lib/codec/cosmos/base/reflection/v1beta1/reflection.js.map +0 -1
- package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.d.ts.map +0 -1
- package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.js.map +0 -1
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +0 -160
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts.map +0 -1
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.js +0 -684
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.js.map +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts +0 -54
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts.map +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.js +0 -273
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.js.map +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/listening.d.ts +0 -62
- package/lib/codec/cosmos/base/store/v1beta1/listening.d.ts.map +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/listening.js +0 -341
- package/lib/codec/cosmos/base/store/v1beta1/listening.js.map +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/snapshot.d.ts +0 -45
- package/lib/codec/cosmos/base/store/v1beta1/snapshot.d.ts.map +0 -1
- package/lib/codec/cosmos/base/store/v1beta1/snapshot.js +0 -246
- package/lib/codec/cosmos/base/store/v1beta1/snapshot.js.map +0 -1
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/base/v1beta1/coin.d.ts.map +0 -1
- package/lib/codec/cosmos/base/v1beta1/coin.js.map +0 -1
- package/lib/codec/cosmos/capability/module/v1/module.d.ts +0 -23
- package/lib/codec/cosmos/capability/module/v1/module.js +0 -59
- package/lib/codec/cosmos/capability/v1beta1/capability.d.ts +0 -51
- package/lib/codec/cosmos/capability/v1beta1/capability.d.ts.map +0 -1
- package/lib/codec/cosmos/capability/v1beta1/capability.js +0 -168
- package/lib/codec/cosmos/capability/v1beta1/capability.js.map +0 -1
- package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts +0 -40
- package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/capability/v1beta1/genesis.js +0 -146
- package/lib/codec/cosmos/capability/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/crisis/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts.map +0 -1
- package/lib/codec/cosmos/crisis/v1beta1/tx.js.map +0 -1
- package/lib/codec/cosmos/crypto/ed25519/keys.d.ts.map +0 -1
- package/lib/codec/cosmos/crypto/ed25519/keys.js.map +0 -1
- package/lib/codec/cosmos/crypto/multisig/keys.d.ts.map +0 -1
- package/lib/codec/cosmos/crypto/multisig/keys.js.map +0 -1
- package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.d.ts.map +0 -1
- package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.js.map +0 -1
- package/lib/codec/cosmos/crypto/secp256k1/keys.d.ts.map +0 -1
- package/lib/codec/cosmos/crypto/secp256k1/keys.js.map +0 -1
- package/lib/codec/cosmos/crypto/secp256r1/keys.d.ts.map +0 -1
- package/lib/codec/cosmos/crypto/secp256r1/keys.js.map +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts.map +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/distribution.js.map +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/export.d.ts.map +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/export.js.map +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts.map +0 -1
- package/lib/codec/cosmos/distribution/v1beta1/tx.js.map +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts.map +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/evidence.js.map +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts.map +0 -1
- package/lib/codec/cosmos/evidence/v1beta1/tx.js.map +0 -1
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.d.ts.map +0 -1
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.js.map +0 -1
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/feegrant/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/feegrant/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/feegrant/v1beta1/tx.d.ts.map +0 -1
- package/lib/codec/cosmos/feegrant/v1beta1/tx.js.map +0 -1
- package/lib/codec/cosmos/genutil/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/genutil/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/gov/v1beta1/export.d.ts +0 -3
- package/lib/codec/cosmos/gov/v1beta1/export.js +0 -45
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/gov/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts.map +0 -1
- package/lib/codec/cosmos/gov/v1beta1/gov.js.map +0 -1
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/gov/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts.map +0 -1
- package/lib/codec/cosmos/gov/v1beta1/tx.js.map +0 -1
- package/lib/codec/cosmos/mint/v1beta1/export.d.ts.map +0 -1
- package/lib/codec/cosmos/mint/v1beta1/export.js.map +0 -1
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/mint/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/mint/v1beta1/mint.d.ts.map +0 -1
- package/lib/codec/cosmos/mint/v1beta1/mint.js.map +0 -1
- package/lib/codec/cosmos/mint/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/mint/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/params/v1beta1/export.d.ts.map +0 -1
- package/lib/codec/cosmos/params/v1beta1/export.js.map +0 -1
- package/lib/codec/cosmos/params/v1beta1/params.d.ts.map +0 -1
- package/lib/codec/cosmos/params/v1beta1/params.js.map +0 -1
- package/lib/codec/cosmos/params/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/params/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/export.d.ts.map +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/export.js.map +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/slashing.d.ts.map +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/slashing.js.map +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts.map +0 -1
- package/lib/codec/cosmos/slashing/v1beta1/tx.js.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/authz.d.ts.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/authz.js.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/export.d.ts.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/export.js.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/genesis.js.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/staking.js.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts.map +0 -1
- package/lib/codec/cosmos/staking/v1beta1/tx.js.map +0 -1
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts.map +0 -1
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.js.map +0 -1
- package/lib/codec/cosmos/tx/v1beta1/export.d.ts.map +0 -1
- package/lib/codec/cosmos/tx/v1beta1/export.js.map +0 -1
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts.map +0 -1
- package/lib/codec/cosmos/tx/v1beta1/service.js.map +0 -1
- package/lib/codec/cosmos/tx/v1beta1/tx.d.ts.map +0 -1
- package/lib/codec/cosmos/tx/v1beta1/tx.js.map +0 -1
- package/lib/codec/cosmos/upgrade/v1beta1/query.d.ts.map +0 -1
- package/lib/codec/cosmos/upgrade/v1beta1/query.js.map +0 -1
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts.map +0 -1
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.js.map +0 -1
- package/lib/codec/cosmos/vesting/v1beta1/export.d.ts.map +0 -1
- package/lib/codec/cosmos/vesting/v1beta1/export.js.map +0 -1
- package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts.map +0 -1
- package/lib/codec/cosmos/vesting/v1beta1/tx.js.map +0 -1
- package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts.map +0 -1
- package/lib/codec/cosmos/vesting/v1beta1/vesting.js.map +0 -1
- package/lib/codec/cosmos-models.d.ts.map +0 -1
- package/lib/codec/cosmos-models.js.map +0 -1
- 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/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/evmmerge/event.d.ts +0 -20
- package/lib/codec/evmmerge/event.js +0 -90
- 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 -43
- package/lib/codec/evmmerge/query.js +0 -117
- 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/fee.d.ts +0 -42
- package/lib/codec/fee/fee.d.ts.map +0 -1
- package/lib/codec/fee/fee.js +0 -183
- package/lib/codec/fee/fee.js.map +0 -1
- package/lib/codec/fee/genesis.d.ts +0 -23
- package/lib/codec/fee/genesis.d.ts.map +0 -1
- package/lib/codec/fee/genesis.js +0 -79
- package/lib/codec/fee/genesis.js.map +0 -1
- package/lib/codec/fee/proposal.d.ts +0 -57
- package/lib/codec/fee/proposal.d.ts.map +0 -1
- package/lib/codec/fee/proposal.js +0 -311
- package/lib/codec/fee/proposal.js.map +0 -1
- package/lib/codec/fee/query.d.ts +0 -114
- package/lib/codec/fee/query.d.ts.map +0 -1
- package/lib/codec/fee/query.js +0 -470
- package/lib/codec/fee/query.js.map +0 -1
- package/lib/codec/fee/tx.d.ts +0 -108
- package/lib/codec/fee/tx.d.ts.map +0 -1
- package/lib/codec/fee/tx.js +0 -415
- package/lib/codec/fee/tx.js.map +0 -1
- package/lib/codec/google/protobuf/any.d.ts.map +0 -1
- package/lib/codec/google/protobuf/any.js.map +0 -1
- package/lib/codec/google/protobuf/duration.d.ts.map +0 -1
- package/lib/codec/google/protobuf/duration.js.map +0 -1
- package/lib/codec/google/protobuf/struct.d.ts +0 -103
- package/lib/codec/google/protobuf/struct.d.ts.map +0 -1
- package/lib/codec/google/protobuf/struct.js +0 -379
- package/lib/codec/google/protobuf/struct.js.map +0 -1
- package/lib/codec/google/protobuf/timestamp.d.ts.map +0 -1
- package/lib/codec/google/protobuf/timestamp.js.map +0 -1
- package/lib/codec/google/protobuf/wrappers.d.ts.map +0 -1
- package/lib/codec/google/protobuf/wrappers.js.map +0 -1
- 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/interchain_accounts/controller/export.d.ts.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.js.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/controller.d.ts.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/controller.js.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.d.ts.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.js.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/export.d.ts.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/export.js.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/host.d.ts.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/host.js.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/query.d.ts.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/query.js.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/account.d.ts.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/account.js.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.d.ts.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.js.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/genesis.d.ts +0 -76
- package/lib/codec/ibc/applications/interchain_accounts/v1/genesis.d.ts.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/genesis.js +0 -424
- package/lib/codec/ibc/applications/interchain_accounts/v1/genesis.js.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/metadata.d.ts.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/metadata.js.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/packet.d.ts.map +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/packet.js.map +0 -1
- package/lib/codec/ibc/applications/transfer/v1/export.d.ts.map +0 -1
- package/lib/codec/ibc/applications/transfer/v1/export.js.map +0 -1
- package/lib/codec/ibc/applications/transfer/v1/genesis.d.ts.map +0 -1
- package/lib/codec/ibc/applications/transfer/v1/genesis.js.map +0 -1
- package/lib/codec/ibc/applications/transfer/v1/query.d.ts.map +0 -1
- package/lib/codec/ibc/applications/transfer/v1/query.js.map +0 -1
- package/lib/codec/ibc/applications/transfer/v1/transfer.d.ts.map +0 -1
- package/lib/codec/ibc/applications/transfer/v1/transfer.js.map +0 -1
- package/lib/codec/ibc/applications/transfer/v1/tx.d.ts.map +0 -1
- package/lib/codec/ibc/applications/transfer/v1/tx.js.map +0 -1
- package/lib/codec/ibc/applications/transfer/v2/export.d.ts.map +0 -1
- package/lib/codec/ibc/applications/transfer/v2/export.js.map +0 -1
- package/lib/codec/ibc/applications/transfer/v2/packet.d.ts.map +0 -1
- package/lib/codec/ibc/applications/transfer/v2/packet.js.map +0 -1
- package/lib/codec/ibc/core/channel/v1/channel.d.ts.map +0 -1
- package/lib/codec/ibc/core/channel/v1/channel.js.map +0 -1
- package/lib/codec/ibc/core/channel/v1/export.d.ts.map +0 -1
- package/lib/codec/ibc/core/channel/v1/export.js.map +0 -1
- package/lib/codec/ibc/core/channel/v1/genesis.d.ts.map +0 -1
- package/lib/codec/ibc/core/channel/v1/genesis.js.map +0 -1
- package/lib/codec/ibc/core/channel/v1/query.d.ts.map +0 -1
- package/lib/codec/ibc/core/channel/v1/query.js.map +0 -1
- package/lib/codec/ibc/core/channel/v1/tx.d.ts.map +0 -1
- package/lib/codec/ibc/core/channel/v1/tx.js.map +0 -1
- package/lib/codec/ibc/core/client/v1/client.d.ts.map +0 -1
- package/lib/codec/ibc/core/client/v1/client.js.map +0 -1
- package/lib/codec/ibc/core/client/v1/export.d.ts.map +0 -1
- package/lib/codec/ibc/core/client/v1/export.js.map +0 -1
- package/lib/codec/ibc/core/client/v1/genesis.d.ts.map +0 -1
- package/lib/codec/ibc/core/client/v1/genesis.js.map +0 -1
- package/lib/codec/ibc/core/client/v1/query.d.ts.map +0 -1
- package/lib/codec/ibc/core/client/v1/query.js.map +0 -1
- package/lib/codec/ibc/core/client/v1/tx.d.ts.map +0 -1
- package/lib/codec/ibc/core/client/v1/tx.js.map +0 -1
- package/lib/codec/ibc/core/commitment/v1/commitment.d.ts.map +0 -1
- package/lib/codec/ibc/core/commitment/v1/commitment.js.map +0 -1
- package/lib/codec/ibc/core/commitment/v1/export.d.ts.map +0 -1
- package/lib/codec/ibc/core/commitment/v1/export.js.map +0 -1
- package/lib/codec/ibc/core/connection/v1/connection.d.ts.map +0 -1
- package/lib/codec/ibc/core/connection/v1/connection.js.map +0 -1
- package/lib/codec/ibc/core/connection/v1/export.d.ts.map +0 -1
- package/lib/codec/ibc/core/connection/v1/export.js.map +0 -1
- package/lib/codec/ibc/core/connection/v1/genesis.d.ts.map +0 -1
- package/lib/codec/ibc/core/connection/v1/genesis.js.map +0 -1
- package/lib/codec/ibc/core/connection/v1/query.d.ts.map +0 -1
- package/lib/codec/ibc/core/connection/v1/query.js.map +0 -1
- package/lib/codec/ibc/core/connection/v1/tx.d.ts.map +0 -1
- package/lib/codec/ibc/core/connection/v1/tx.js.map +0 -1
- package/lib/codec/ibc/core/types/v1/genesis.d.ts.map +0 -1
- package/lib/codec/ibc/core/types/v1/genesis.js.map +0 -1
- package/lib/codec/ibc/lightclients/localhost/v1/export.d.ts +0 -1
- package/lib/codec/ibc/lightclients/localhost/v1/export.d.ts.map +0 -1
- package/lib/codec/ibc/lightclients/localhost/v1/export.js +0 -5
- package/lib/codec/ibc/lightclients/localhost/v1/export.js.map +0 -1
- package/lib/codec/ibc/lightclients/localhost/v1/localhost.d.ts +0 -26
- package/lib/codec/ibc/lightclients/localhost/v1/localhost.d.ts.map +0 -1
- package/lib/codec/ibc/lightclients/localhost/v1/localhost.js +0 -76
- package/lib/codec/ibc/lightclients/localhost/v1/localhost.js.map +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v1/export.d.ts +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v1/export.d.ts.map +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v1/export.js +0 -23
- package/lib/codec/ibc/lightclients/solomachine/v1/export.js.map +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.d.ts +0 -298
- package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.d.ts.map +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.js +0 -1356
- package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.js.map +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v2/solomachine.d.ts.map +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v2/solomachine.js.map +0 -1
- package/lib/codec/ibc/lightclients/tendermint/v1/export.d.ts.map +0 -1
- package/lib/codec/ibc/lightclients/tendermint/v1/export.js.map +0 -1
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts.map +0 -1
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.js.map +0 -1
- package/lib/codec/ibc-models.d.ts.map +0 -1
- package/lib/codec/ibc-models.js.map +0 -1
- package/lib/codec/index.d.ts.map +0 -1
- package/lib/codec/index.js.map +0 -1
- package/lib/codec/inflation/genesis.d.ts +0 -25
- package/lib/codec/inflation/genesis.d.ts.map +0 -1
- package/lib/codec/inflation/genesis.js +0 -79
- package/lib/codec/inflation/genesis.js.map +0 -1
- package/lib/codec/inflation/inflation.d.ts +0 -21
- package/lib/codec/inflation/inflation.d.ts.map +0 -1
- package/lib/codec/inflation/inflation.js +0 -96
- package/lib/codec/inflation/inflation.js.map +0 -1
- package/lib/codec/inflation/query.d.ts +0 -41
- package/lib/codec/inflation/query.d.ts.map +0 -1
- package/lib/codec/inflation/query.js +0 -109
- package/lib/codec/inflation/query.js.map +0 -1
- package/lib/codec/inflation/tx.d.ts +0 -12
- package/lib/codec/inflation/tx.d.ts.map +0 -1
- package/lib/codec/inflation/tx.js +0 -20
- package/lib/codec/inflation/tx.js.map +0 -1
- package/lib/codec/insurance/event.d.ts +0 -24
- package/lib/codec/insurance/event.d.ts.map +0 -1
- package/lib/codec/insurance/event.js +0 -46
- package/lib/codec/insurance/event.js.map +0 -1
- package/lib/codec/insurance/fund.d.ts +0 -29
- package/lib/codec/insurance/fund.d.ts.map +0 -1
- package/lib/codec/insurance/fund.js +0 -148
- package/lib/codec/insurance/fund.js.map +0 -1
- package/lib/codec/insurance/genesis.d.ts +0 -25
- package/lib/codec/insurance/genesis.d.ts.map +0 -1
- package/lib/codec/insurance/genesis.js +0 -79
- package/lib/codec/insurance/genesis.js.map +0 -1
- package/lib/codec/insurance/query.d.ts +0 -41
- package/lib/codec/insurance/query.d.ts.map +0 -1
- package/lib/codec/insurance/query.js +0 -108
- package/lib/codec/insurance/query.js.map +0 -1
- package/lib/codec/insurance/tx.d.ts +0 -12
- package/lib/codec/insurance/tx.d.ts.map +0 -1
- package/lib/codec/insurance/tx.js +0 -20
- package/lib/codec/insurance/tx.js.map +0 -1
- package/lib/codec/leverage/event.d.ts +0 -21
- package/lib/codec/leverage/event.d.ts.map +0 -1
- package/lib/codec/leverage/event.js +0 -100
- package/lib/codec/leverage/event.js.map +0 -1
- package/lib/codec/leverage/genesis.d.ts +0 -24
- package/lib/codec/leverage/genesis.d.ts.map +0 -1
- package/lib/codec/leverage/genesis.js +0 -64
- package/lib/codec/leverage/genesis.js.map +0 -1
- package/lib/codec/leverage/leverage.d.ts +0 -30
- package/lib/codec/leverage/leverage.d.ts.map +0 -1
- package/lib/codec/leverage/leverage.js +0 -134
- package/lib/codec/leverage/leverage.js.map +0 -1
- package/lib/codec/leverage/query.d.ts +0 -70
- package/lib/codec/leverage/query.d.ts.map +0 -1
- package/lib/codec/leverage/query.js +0 -234
- package/lib/codec/leverage/query.js.map +0 -1
- package/lib/codec/leverage/tx.d.ts +0 -43
- package/lib/codec/leverage/tx.d.ts.map +0 -1
- package/lib/codec/leverage/tx.js +0 -127
- package/lib/codec/leverage/tx.js.map +0 -1
- package/lib/codec/liquidation/genesis.d.ts +0 -37
- package/lib/codec/liquidation/genesis.d.ts.map +0 -1
- package/lib/codec/liquidation/genesis.js +0 -136
- package/lib/codec/liquidation/genesis.js.map +0 -1
- 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.d.ts.map +0 -1
- package/lib/codec/liquidation/outstanding_position.js +0 -203
- package/lib/codec/liquidation/outstanding_position.js.map +0 -1
- package/lib/codec/liquidation/query.d.ts +0 -77
- package/lib/codec/liquidation/query.d.ts.map +0 -1
- package/lib/codec/liquidation/query.js +0 -341
- package/lib/codec/liquidation/query.js.map +0 -1
- 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.d.ts.map +0 -1
- package/lib/codec/liquidation/tx.js +0 -20
- package/lib/codec/liquidation/tx.js.map +0 -1
- package/lib/codec/liquiditypool/event.d.ts +0 -81
- package/lib/codec/liquiditypool/event.d.ts.map +0 -1
- package/lib/codec/liquiditypool/event.js +0 -471
- package/lib/codec/liquiditypool/event.js.map +0 -1
- package/lib/codec/liquiditypool/genesis.d.ts +0 -33
- package/lib/codec/liquiditypool/genesis.d.ts.map +0 -1
- package/lib/codec/liquiditypool/genesis.js +0 -243
- package/lib/codec/liquiditypool/genesis.js.map +0 -1
- package/lib/codec/liquiditypool/liquiditypool.d.ts +0 -141
- package/lib/codec/liquiditypool/liquiditypool.d.ts.map +0 -1
- package/lib/codec/liquiditypool/liquiditypool.js +0 -973
- package/lib/codec/liquiditypool/liquiditypool.js.map +0 -1
- package/lib/codec/liquiditypool/proposal.d.ts +0 -117
- package/lib/codec/liquiditypool/proposal.d.ts.map +0 -1
- package/lib/codec/liquiditypool/proposal.js +0 -697
- package/lib/codec/liquiditypool/proposal.js.map +0 -1
- package/lib/codec/liquiditypool/query.d.ts +0 -419
- package/lib/codec/liquiditypool/query.d.ts.map +0 -1
- package/lib/codec/liquiditypool/query.js +0 -1985
- package/lib/codec/liquiditypool/query.js.map +0 -1
- package/lib/codec/liquiditypool/reward.d.ts +0 -196
- package/lib/codec/liquiditypool/reward.d.ts.map +0 -1
- package/lib/codec/liquiditypool/reward.js +0 -1218
- package/lib/codec/liquiditypool/reward.js.map +0 -1
- package/lib/codec/liquiditypool/tx.d.ts +0 -453
- package/lib/codec/liquiditypool/tx.d.ts.map +0 -1
- package/lib/codec/liquiditypool/tx.js +0 -2423
- package/lib/codec/liquiditypool/tx.js.map +0 -1
- 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.d.ts.map +0 -1
- package/lib/codec/market/event.js +0 -76
- package/lib/codec/market/event.js.map +0 -1
- package/lib/codec/market/genesis.d.ts +0 -28
- package/lib/codec/market/genesis.d.ts.map +0 -1
- package/lib/codec/market/genesis.js +0 -116
- package/lib/codec/market/genesis.js.map +0 -1
- 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 -127
- package/lib/codec/market/market.d.ts.map +0 -1
- package/lib/codec/market/market.js +0 -1237
- package/lib/codec/market/market.js.map +0 -1
- package/lib/codec/market/proposal.d.ts +0 -46
- package/lib/codec/market/proposal.d.ts.map +0 -1
- package/lib/codec/market/proposal.js +0 -245
- package/lib/codec/market/proposal.js.map +0 -1
- package/lib/codec/market/query.d.ts +0 -93
- package/lib/codec/market/query.d.ts.map +0 -1
- package/lib/codec/market/query.js +0 -330
- package/lib/codec/market/query.js.map +0 -1
- package/lib/codec/market/tx.d.ts +0 -118
- package/lib/codec/market/tx.d.ts.map +0 -1
- package/lib/codec/market/tx.js +0 -541
- package/lib/codec/market/tx.js.map +0 -1
- package/lib/codec/marketstats/genesis.d.ts +0 -21
- package/lib/codec/marketstats/genesis.d.ts.map +0 -1
- package/lib/codec/marketstats/genesis.js +0 -63
- package/lib/codec/marketstats/genesis.js.map +0 -1
- package/lib/codec/marketstats/marketstats.d.ts +0 -31
- package/lib/codec/marketstats/marketstats.d.ts.map +0 -1
- package/lib/codec/marketstats/marketstats.js +0 -258
- package/lib/codec/marketstats/marketstats.js.map +0 -1
- package/lib/codec/marketstats/params.d.ts +0 -18
- package/lib/codec/marketstats/params.d.ts.map +0 -1
- package/lib/codec/marketstats/params.js +0 -46
- package/lib/codec/marketstats/params.js.map +0 -1
- package/lib/codec/marketstats/query.d.ts +0 -66
- package/lib/codec/marketstats/query.d.ts.map +0 -1
- package/lib/codec/marketstats/query.js +0 -195
- package/lib/codec/marketstats/query.js.map +0 -1
- package/lib/codec/marketstats/tx.d.ts +0 -12
- package/lib/codec/marketstats/tx.d.ts.map +0 -1
- package/lib/codec/marketstats/tx.js +0 -20
- package/lib/codec/marketstats/tx.js.map +0 -1
- package/lib/codec/misc/block.d.ts +0 -21
- package/lib/codec/misc/block.d.ts.map +0 -1
- package/lib/codec/misc/block.js +0 -105
- package/lib/codec/misc/block.js.map +0 -1
- package/lib/codec/misc/message.d.ts +0 -22
- package/lib/codec/misc/message.d.ts.map +0 -1
- package/lib/codec/misc/message.js +0 -128
- package/lib/codec/misc/message.js.map +0 -1
- package/lib/codec/misc/message_type.d.ts +0 -18
- package/lib/codec/misc/message_type.d.ts.map +0 -1
- package/lib/codec/misc/message_type.js +0 -60
- package/lib/codec/misc/message_type.js.map +0 -1
- package/lib/codec/misc/query.d.ts +0 -192
- package/lib/codec/misc/query.d.ts.map +0 -1
- package/lib/codec/misc/query.js +0 -884
- package/lib/codec/misc/query.js.map +0 -1
- 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.d.ts.map +0 -1
- package/lib/codec/misc/transaction.js +0 -369
- package/lib/codec/misc/transaction.js.map +0 -1
- package/lib/codec/oracle/event.d.ts +0 -37
- package/lib/codec/oracle/event.d.ts.map +0 -1
- package/lib/codec/oracle/event.js +0 -228
- package/lib/codec/oracle/event.js.map +0 -1
- package/lib/codec/oracle/genesis.d.ts +0 -28
- package/lib/codec/oracle/genesis.d.ts.map +0 -1
- package/lib/codec/oracle/genesis.js +0 -141
- package/lib/codec/oracle/genesis.js.map +0 -1
- package/lib/codec/oracle/oracle.d.ts +0 -83
- package/lib/codec/oracle/oracle.d.ts.map +0 -1
- package/lib/codec/oracle/oracle.js +0 -592
- package/lib/codec/oracle/oracle.js.map +0 -1
- package/lib/codec/oracle/proposal.d.ts +0 -21
- package/lib/codec/oracle/proposal.d.ts.map +0 -1
- package/lib/codec/oracle/proposal.js +0 -91
- package/lib/codec/oracle/proposal.js.map +0 -1
- package/lib/codec/oracle/query.d.ts +0 -264
- package/lib/codec/oracle/query.d.ts.map +0 -1
- package/lib/codec/oracle/query.js +0 -1214
- package/lib/codec/oracle/query.js.map +0 -1
- 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.d.ts.map +0 -1
- package/lib/codec/oracle/tx.js +0 -877
- package/lib/codec/oracle/tx.js.map +0 -1
- package/lib/codec/order/event.d.ts +0 -23
- package/lib/codec/order/event.d.ts.map +0 -1
- package/lib/codec/order/event.js +0 -146
- package/lib/codec/order/event.js.map +0 -1
- package/lib/codec/order/genesis.d.ts +0 -62
- package/lib/codec/order/genesis.d.ts.map +0 -1
- package/lib/codec/order/genesis.js +0 -322
- package/lib/codec/order/genesis.js.map +0 -1
- package/lib/codec/order/order.d.ts +0 -113
- package/lib/codec/order/order.d.ts.map +0 -1
- package/lib/codec/order/order.js +0 -861
- package/lib/codec/order/order.js.map +0 -1
- package/lib/codec/order/query.d.ts +0 -143
- package/lib/codec/order/query.d.ts.map +0 -1
- package/lib/codec/order/query.js +0 -596
- package/lib/codec/order/query.js.map +0 -1
- package/lib/codec/order/tx.d.ts +0 -146
- package/lib/codec/order/tx.d.ts.map +0 -1
- package/lib/codec/order/tx.js +0 -715
- package/lib/codec/order/tx.js.map +0 -1
- package/lib/codec/position/event.d.ts +0 -26
- package/lib/codec/position/event.d.ts.map +0 -1
- package/lib/codec/position/event.js +0 -180
- package/lib/codec/position/event.js.map +0 -1
- package/lib/codec/position/genesis.d.ts +0 -24
- package/lib/codec/position/genesis.d.ts.map +0 -1
- package/lib/codec/position/genesis.js +0 -64
- package/lib/codec/position/genesis.js.map +0 -1
- package/lib/codec/position/position.d.ts +0 -72
- package/lib/codec/position/position.d.ts.map +0 -1
- package/lib/codec/position/position.js +0 -567
- package/lib/codec/position/position.js.map +0 -1
- package/lib/codec/position/query.d.ts +0 -92
- package/lib/codec/position/query.d.ts.map +0 -1
- package/lib/codec/position/query.js +0 -400
- package/lib/codec/position/query.js.map +0 -1
- package/lib/codec/position/tx.d.ts +0 -42
- package/lib/codec/position/tx.d.ts.map +0 -1
- package/lib/codec/position/tx.js +0 -127
- package/lib/codec/position/tx.js.map +0 -1
- package/lib/codec/pricing/event.d.ts +0 -74
- package/lib/codec/pricing/event.d.ts.map +0 -1
- package/lib/codec/pricing/event.js +0 -361
- package/lib/codec/pricing/event.js.map +0 -1
- package/lib/codec/pricing/genesis.d.ts +0 -26
- package/lib/codec/pricing/genesis.d.ts.map +0 -1
- package/lib/codec/pricing/genesis.js +0 -95
- package/lib/codec/pricing/genesis.js.map +0 -1
- 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.d.ts.map +0 -1
- package/lib/codec/pricing/pricing.js +0 -456
- package/lib/codec/pricing/pricing.js.map +0 -1
- package/lib/codec/pricing/proposal.d.ts +0 -31
- package/lib/codec/pricing/proposal.d.ts.map +0 -1
- package/lib/codec/pricing/proposal.js +0 -148
- package/lib/codec/pricing/proposal.js.map +0 -1
- package/lib/codec/pricing/query.d.ts +0 -183
- package/lib/codec/pricing/query.d.ts.map +0 -1
- package/lib/codec/pricing/query.js +0 -759
- package/lib/codec/pricing/query.js.map +0 -1
- package/lib/codec/pricing/tx.d.ts +0 -131
- package/lib/codec/pricing/tx.d.ts.map +0 -1
- package/lib/codec/pricing/tx.js +0 -529
- package/lib/codec/pricing/tx.js.map +0 -1
- package/lib/codec/profile/event.d.ts +0 -20
- package/lib/codec/profile/event.d.ts.map +0 -1
- package/lib/codec/profile/event.js +0 -78
- package/lib/codec/profile/event.js.map +0 -1
- package/lib/codec/profile/genesis.d.ts +0 -24
- package/lib/codec/profile/genesis.d.ts.map +0 -1
- package/lib/codec/profile/genesis.js +0 -64
- package/lib/codec/profile/genesis.js.map +0 -1
- package/lib/codec/profile/profile.d.ts +0 -20
- package/lib/codec/profile/profile.d.ts.map +0 -1
- package/lib/codec/profile/profile.js +0 -83
- package/lib/codec/profile/profile.js.map +0 -1
- package/lib/codec/profile/query.d.ts +0 -69
- package/lib/codec/profile/query.d.ts.map +0 -1
- package/lib/codec/profile/query.js +0 -259
- package/lib/codec/profile/query.js.map +0 -1
- package/lib/codec/profile/tx.d.ts +0 -43
- package/lib/codec/profile/tx.d.ts.map +0 -1
- package/lib/codec/profile/tx.js +0 -127
- package/lib/codec/profile/tx.js.map +0 -1
- package/lib/codec/proofs.d.ts +0 -316
- package/lib/codec/proofs.d.ts.map +0 -1
- package/lib/codec/proofs.js +0 -1310
- package/lib/codec/proofs.js.map +0 -1
- package/lib/codec/query/pagination.d.ts +0 -29
- package/lib/codec/query/pagination.d.ts.map +0 -1
- package/lib/codec/query/pagination.js +0 -126
- package/lib/codec/query/pagination.js.map +0 -1
- 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/genesis.d.ts +0 -24
- package/lib/codec/subaccount/genesis.d.ts.map +0 -1
- package/lib/codec/subaccount/genesis.js +0 -64
- package/lib/codec/subaccount/genesis.js.map +0 -1
- package/lib/codec/subaccount/query.d.ts +0 -115
- package/lib/codec/subaccount/query.d.ts.map +0 -1
- package/lib/codec/subaccount/query.js +0 -456
- package/lib/codec/subaccount/query.js.map +0 -1
- package/lib/codec/subaccount/subaccount.d.ts +0 -31
- package/lib/codec/subaccount/subaccount.d.ts.map +0 -1
- package/lib/codec/subaccount/subaccount.js +0 -146
- package/lib/codec/subaccount/subaccount.js.map +0 -1
- package/lib/codec/subaccount/tx.d.ts +0 -86
- package/lib/codec/subaccount/tx.d.ts.map +0 -1
- package/lib/codec/subaccount/tx.js +0 -310
- package/lib/codec/subaccount/tx.js.map +0 -1
- package/lib/codec/tendermint/abci/types.d.ts.map +0 -1
- package/lib/codec/tendermint/abci/types.js.map +0 -1
- package/lib/codec/tendermint/crypto/keys.d.ts.map +0 -1
- package/lib/codec/tendermint/crypto/keys.js.map +0 -1
- package/lib/codec/tendermint/crypto/proof.d.ts.map +0 -1
- package/lib/codec/tendermint/crypto/proof.js.map +0 -1
- package/lib/codec/tendermint/p2p/types.d.ts.map +0 -1
- package/lib/codec/tendermint/p2p/types.js.map +0 -1
- package/lib/codec/tendermint/types/block.d.ts.map +0 -1
- package/lib/codec/tendermint/types/block.js.map +0 -1
- package/lib/codec/tendermint/types/evidence.d.ts.map +0 -1
- package/lib/codec/tendermint/types/evidence.js.map +0 -1
- package/lib/codec/tendermint/types/params.d.ts.map +0 -1
- package/lib/codec/tendermint/types/params.js.map +0 -1
- package/lib/codec/tendermint/types/types.d.ts.map +0 -1
- package/lib/codec/tendermint/types/types.js.map +0 -1
- package/lib/codec/tendermint/types/validator.d.ts.map +0 -1
- package/lib/codec/tendermint/types/validator.js.map +0 -1
- package/lib/codec/tendermint/version/types.d.ts.map +0 -1
- package/lib/codec/tendermint/version/types.js.map +0 -1
- package/lib/constant/address.d.ts.map +0 -1
- package/lib/constant/address.js.map +0 -1
- package/lib/constant/generic.d.ts.map +0 -1
- package/lib/constant/generic.js.map +0 -1
- package/lib/constant/index.d.ts.map +0 -1
- package/lib/constant/index.js.map +0 -1
- package/lib/constant/network.d.ts.map +0 -1
- package/lib/constant/network.js.map +0 -1
- package/lib/constant/node.d.ts.map +0 -1
- package/lib/constant/node.js.map +0 -1
- package/lib/constant/token.d.ts.map +0 -1
- package/lib/constant/token.js.map +0 -1
- package/lib/constant/walletProvider.d.ts.map +0 -1
- package/lib/constant/walletProvider.js.map +0 -1
- package/lib/eth/abis/index.d.ts.map +0 -1
- package/lib/eth/abis/index.js.map +0 -1
- package/lib/eth/index.d.ts.map +0 -1
- package/lib/eth/index.js.map +0 -1
- package/lib/hydrogen/index.d.ts.map +0 -1
- package/lib/hydrogen/index.js.map +0 -1
- package/lib/hydrogen/stats.d.ts.map +0 -1
- package/lib/hydrogen/stats.js.map +0 -1
- package/lib/hydrogen/transfer.d.ts.map +0 -1
- package/lib/hydrogen/transfer.js.map +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/insights/balance.d.ts.map +0 -1
- package/lib/insights/balance.js.map +0 -1
- package/lib/insights/block.d.ts.map +0 -1
- package/lib/insights/block.js.map +0 -1
- package/lib/insights/chain.d.ts.map +0 -1
- package/lib/insights/chain.js.map +0 -1
- package/lib/insights/common.d.ts.map +0 -1
- package/lib/insights/common.js.map +0 -1
- package/lib/insights/index.d.ts.map +0 -1
- package/lib/insights/index.js.map +0 -1
- package/lib/insights/market.d.ts.map +0 -1
- package/lib/insights/market.js.map +0 -1
- package/lib/insights/node.d.ts.map +0 -1
- package/lib/insights/node.js.map +0 -1
- package/lib/insights/pool.d.ts.map +0 -1
- package/lib/insights/pool.js.map +0 -1
- package/lib/insights/position.d.ts.map +0 -1
- package/lib/insights/position.js.map +0 -1
- package/lib/insights/transaction.d.ts.map +0 -1
- package/lib/insights/transaction.js.map +0 -1
- package/lib/insights/user.d.ts.map +0 -1
- package/lib/insights/user.js.map +0 -1
- package/lib/modules/admin.d.ts.map +0 -1
- package/lib/modules/admin.js.map +0 -1
- package/lib/modules/bank.d.ts.map +0 -1
- package/lib/modules/bank.js.map +0 -1
- package/lib/modules/base.d.ts.map +0 -1
- package/lib/modules/base.js.map +0 -1
- package/lib/modules/broker.d.ts.map +0 -1
- package/lib/modules/broker.js.map +0 -1
- package/lib/modules/cdp.d.ts.map +0 -1
- package/lib/modules/cdp.js.map +0 -1
- package/lib/modules/coin.d.ts.map +0 -1
- package/lib/modules/coin.js.map +0 -1
- package/lib/modules/fee.d.ts.map +0 -1
- package/lib/modules/fee.js.map +0 -1
- package/lib/modules/gov.d.ts.map +0 -1
- package/lib/modules/gov.js.map +0 -1
- package/lib/modules/ibc.d.ts.map +0 -1
- package/lib/modules/ibc.js.map +0 -1
- package/lib/modules/index.d.ts.map +0 -1
- package/lib/modules/index.js.map +0 -1
- package/lib/modules/leverage.d.ts.map +0 -1
- package/lib/modules/leverage.js.map +0 -1
- package/lib/modules/liquiditypool.d.ts.map +0 -1
- package/lib/modules/liquiditypool.js.map +0 -1
- package/lib/modules/market.d.ts.map +0 -1
- package/lib/modules/market.js.map +0 -1
- package/lib/modules/oracle.d.ts.map +0 -1
- package/lib/modules/oracle.js.map +0 -1
- package/lib/modules/order.d.ts.map +0 -1
- package/lib/modules/order.js.map +0 -1
- package/lib/modules/position.d.ts.map +0 -1
- package/lib/modules/position.js.map +0 -1
- package/lib/modules/profile.d.ts.map +0 -1
- package/lib/modules/profile.js.map +0 -1
- package/lib/modules/staking.d.ts.map +0 -1
- package/lib/modules/staking.js.map +0 -1
- package/lib/modules/subaccount.d.ts.map +0 -1
- package/lib/modules/subaccount.js.map +0 -1
- package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.d.ts +0 -29
- package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.d.ts.map +0 -1
- package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.js +0 -178
- package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.js.map +0 -1
- package/lib/provider/account/EthLedgerAccount/EthLedgerSigner.d.ts +0 -13
- package/lib/provider/account/EthLedgerAccount/EthLedgerSigner.d.ts.map +0 -1
- package/lib/provider/account/EthLedgerAccount/EthLedgerSigner.js +0 -81
- package/lib/provider/account/EthLedgerAccount/EthLedgerSigner.js.map +0 -1
- package/lib/provider/account/EthLedgerAccount/index.d.ts +0 -2
- package/lib/provider/account/EthLedgerAccount/index.d.ts.map +0 -1
- package/lib/provider/account/EthLedgerAccount/index.js +0 -14
- package/lib/provider/account/EthLedgerAccount/index.js.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/BIP44.d.ts.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/BIP44.js.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.d.ts.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.js.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/index.d.ts.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/index.js.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.d.ts.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.js.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.d.ts.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.js.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/NeonLedger.d.ts.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/NeonLedger.js.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/index.d.ts.map +0 -1
- package/lib/provider/account/NeoLedgerAccount/index.js.map +0 -1
- package/lib/provider/account/index.d.ts.map +0 -1
- package/lib/provider/account/index.js.map +0 -1
- package/lib/provider/amino/AminoTypesMap.d.ts.map +0 -1
- package/lib/provider/amino/AminoTypesMap.js.map +0 -1
- package/lib/provider/amino/index.d.ts.map +0 -1
- package/lib/provider/amino/index.js.map +0 -1
- package/lib/provider/amino/types/admin.d.ts.map +0 -1
- package/lib/provider/amino/types/admin.js.map +0 -1
- package/lib/provider/amino/types/bank.d.ts.map +0 -1
- package/lib/provider/amino/types/bank.js.map +0 -1
- package/lib/provider/amino/types/broker.d.ts.map +0 -1
- package/lib/provider/amino/types/broker.js.map +0 -1
- package/lib/provider/amino/types/cdp.d.ts.map +0 -1
- package/lib/provider/amino/types/cdp.js.map +0 -1
- package/lib/provider/amino/types/coin.d.ts.map +0 -1
- package/lib/provider/amino/types/coin.js.map +0 -1
- package/lib/provider/amino/types/gov.d.ts.map +0 -1
- package/lib/provider/amino/types/gov.js.map +0 -1
- package/lib/provider/amino/types/index.d.ts.map +0 -1
- package/lib/provider/amino/types/index.js.map +0 -1
- package/lib/provider/amino/types/leverage.d.ts.map +0 -1
- package/lib/provider/amino/types/leverage.js.map +0 -1
- package/lib/provider/amino/types/liquidityPool.d.ts.map +0 -1
- package/lib/provider/amino/types/liquidityPool.js.map +0 -1
- package/lib/provider/amino/types/market.d.ts.map +0 -1
- package/lib/provider/amino/types/market.js.map +0 -1
- package/lib/provider/amino/types/oracle.d.ts.map +0 -1
- package/lib/provider/amino/types/oracle.js.map +0 -1
- package/lib/provider/amino/types/order.d.ts.map +0 -1
- package/lib/provider/amino/types/order.js.map +0 -1
- package/lib/provider/amino/types/position.d.ts.map +0 -1
- package/lib/provider/amino/types/position.js.map +0 -1
- package/lib/provider/amino/types/profile.d.ts.map +0 -1
- package/lib/provider/amino/types/profile.js.map +0 -1
- package/lib/provider/amino/types/staking.d.ts.map +0 -1
- package/lib/provider/amino/types/staking.js.map +0 -1
- package/lib/provider/amino/types/subaccount.d.ts.map +0 -1
- package/lib/provider/amino/types/subaccount.js.map +0 -1
- package/lib/provider/amino/utils.d.ts.map +0 -1
- package/lib/provider/amino/utils.js.map +0 -1
- package/lib/provider/index.d.ts.map +0 -1
- package/lib/provider/index.js.map +0 -1
- package/lib/provider/keplr/KeplrAccount.d.ts.map +0 -1
- package/lib/provider/keplr/KeplrAccount.js.map +0 -1
- package/lib/provider/keplr/index.d.ts.map +0 -1
- package/lib/provider/keplr/index.js.map +0 -1
- package/lib/provider/ledger/index.d.ts.map +0 -1
- package/lib/provider/ledger/index.js.map +0 -1
- package/lib/provider/ledger/ledger.d.ts.map +0 -1
- package/lib/provider/ledger/ledger.js.map +0 -1
- package/lib/provider/metamask/MetaMask.d.ts.map +0 -1
- package/lib/provider/metamask/MetaMask.js.map +0 -1
- package/lib/provider/metamask/index.d.ts.map +0 -1
- package/lib/provider/metamask/index.js.map +0 -1
- package/lib/provider/o3/O3Types.d.ts.map +0 -1
- package/lib/provider/o3/O3Types.js.map +0 -1
- package/lib/provider/o3/O3Wallet.d.ts.map +0 -1
- package/lib/provider/o3/O3Wallet.js.map +0 -1
- package/lib/provider/o3/index.d.ts.map +0 -1
- package/lib/provider/o3/index.js.map +0 -1
- package/lib/provider/sdk/SDKProvider.d.ts.map +0 -1
- package/lib/provider/sdk/SDKProvider.js.map +0 -1
- package/lib/provider/sdk/index.d.ts.map +0 -1
- package/lib/provider/sdk/index.js.map +0 -1
- package/lib/provider/zilpay/Zilpay.d.ts.map +0 -1
- package/lib/provider/zilpay/Zilpay.js.map +0 -1
- package/lib/provider/zilpay/index.d.ts.map +0 -1
- package/lib/provider/zilpay/index.js.map +0 -1
- package/lib/util/address.d.ts.map +0 -1
- package/lib/util/address.js.map +0 -1
- package/lib/util/api.d.ts.map +0 -1
- package/lib/util/api.js.map +0 -1
- package/lib/util/blockchain.d.ts.map +0 -1
- package/lib/util/blockchain.js.map +0 -1
- package/lib/util/external.d.ts.map +0 -1
- package/lib/util/external.js.map +0 -1
- package/lib/util/fetch.d.ts.map +0 -1
- package/lib/util/fetch.js.map +0 -1
- package/lib/util/generic.d.ts.map +0 -1
- package/lib/util/generic.js.map +0 -1
- package/lib/util/gov.d.ts.map +0 -1
- package/lib/util/gov.js.map +0 -1
- package/lib/util/index.d.ts.map +0 -1
- package/lib/util/index.js.map +0 -1
- package/lib/util/ledger.d.ts.map +0 -1
- package/lib/util/ledger.js.map +0 -1
- package/lib/util/network.d.ts.map +0 -1
- package/lib/util/network.js.map +0 -1
- package/lib/util/number.d.ts.map +0 -1
- package/lib/util/number.js.map +0 -1
- package/lib/util/token.d.ts.map +0 -1
- package/lib/util/token.js.map +0 -1
- package/lib/util/transferfees.d.ts.map +0 -1
- package/lib/util/transferfees.js.map +0 -1
- package/lib/util/tx.d.ts.map +0 -1
- package/lib/util/tx.js.map +0 -1
- package/lib/util/type.d.ts.map +0 -1
- package/lib/util/type.js.map +0 -1
- package/lib/wallet/CarbonSigner.d.ts.map +0 -1
- package/lib/wallet/CarbonSigner.js.map +0 -1
- package/lib/wallet/CarbonWallet.d.ts.map +0 -1
- package/lib/wallet/CarbonWallet.js.map +0 -1
- package/lib/wallet/index.d.ts.map +0 -1
- package/lib/wallet/index.js.map +0 -1
- package/lib/websocket/channel.d.ts.map +0 -1
- package/lib/websocket/channel.js.map +0 -1
- package/lib/websocket/connector.d.ts.map +0 -1
- package/lib/websocket/connector.js.map +0 -1
- package/lib/websocket/index.d.ts.map +0 -1
- package/lib/websocket/index.js.map +0 -1
- package/lib/websocket/models.d.ts.map +0 -1
- package/lib/websocket/models.js.map +0 -1
- package/lib/websocket/types.d.ts.map +0 -1
- package/lib/websocket/types.js.map +0 -1
package/lib/CarbonSDK.d.ts
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
import { Network, NetworkConfig, Network as _Network } from "./constant";
|
|
3
3
|
import { Tendermint37Client } from "@cosmjs/tendermint-rpc";
|
|
4
4
|
import * as clients from "./clients";
|
|
5
|
-
import { CarbonQueryClient, HydrogenClient, InsightsQueryClient, TokenClient } from "./clients";
|
|
5
|
+
import { CarbonQueryClient, HydrogenClient, InsightsQueryClient, NEOClient, TokenClient, ZILClient } from "./clients";
|
|
6
6
|
import GasFee from "./clients/GasFee";
|
|
7
7
|
import GrpcQueryClient from "./clients/GrpcQueryClient";
|
|
8
|
+
import N3Client from "./clients/N3Client";
|
|
8
9
|
import { AdminModule, AllianceModule, BankModule, BridgeModule, BrokerModule, CDPModule, CoinModule, ERC20Module, EvmMergeModule, EvmModule, FeeModule, GovModule, IBCModule, LeverageModule, LiquidityPoolModule, MarketModule, OTCModule, OracleModule, OrderModule, PerpspoolModule, PositionModule, ProfileModule, SubAccountModule, XChainModule } from "./modules";
|
|
9
10
|
import { GrantModule } from "./modules/grant";
|
|
10
11
|
import { StakingModule } from "./modules/staking";
|
|
@@ -99,6 +100,9 @@ declare class CarbonSDK {
|
|
|
99
100
|
evmmerge: EvmMergeModule;
|
|
100
101
|
bridge: BridgeModule;
|
|
101
102
|
otc: OTCModule;
|
|
103
|
+
neo: NEOClient;
|
|
104
|
+
zil: ZILClient;
|
|
105
|
+
n3: N3Client;
|
|
102
106
|
chainId: string;
|
|
103
107
|
evmChainId: string;
|
|
104
108
|
constructor(opts: CarbonSDKOpts);
|
|
@@ -146,6 +150,8 @@ declare namespace CarbonSDK {
|
|
|
146
150
|
export import ETHClient = clients.ETHClient;
|
|
147
151
|
export import HydrogenClient = clients.HydrogenClient;
|
|
148
152
|
export import InsightsQueryClient = clients.InsightsQueryClient;
|
|
153
|
+
export import NEOClient = clients.NEOClient;
|
|
149
154
|
export import TokenClient = clients.TokenClient;
|
|
155
|
+
export import ZILClient = clients.ZILClient;
|
|
150
156
|
}
|
|
151
157
|
export default CarbonSDK;
|
package/lib/CarbonSDK.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -40,12 +44,14 @@ const clients = __importStar(require("./clients"));
|
|
|
40
44
|
const clients_1 = require("./clients");
|
|
41
45
|
const GasFee_1 = __importDefault(require("./clients/GasFee"));
|
|
42
46
|
const GrpcQueryClient_1 = __importDefault(require("./clients/GrpcQueryClient"));
|
|
47
|
+
const N3Client_1 = __importDefault(require("./clients/N3Client"));
|
|
43
48
|
const modules_1 = require("./modules");
|
|
44
49
|
const grant_1 = require("./modules/grant");
|
|
45
50
|
const staking_1 = require("./modules/staking");
|
|
46
51
|
const provider_1 = require("./provider");
|
|
47
52
|
const MetaMask_1 = require("./provider/metamask/MetaMask");
|
|
48
53
|
const RainbowKitAccount_1 = __importDefault(require("./provider/rainbowKit/RainbowKitAccount"));
|
|
54
|
+
const blockchain_1 = require("./util/blockchain");
|
|
49
55
|
const number_1 = require("./util/number");
|
|
50
56
|
const wallet_1 = require("./wallet");
|
|
51
57
|
const auth_1 = require("./util/auth");
|
|
@@ -80,7 +86,7 @@ class CarbonSDK {
|
|
|
80
86
|
if (!opts.query) {
|
|
81
87
|
let grpcClient;
|
|
82
88
|
if (opts.useTmAbciQuery !== true && this.networkConfig.grpcUrl) {
|
|
83
|
-
const transport = typeof window === "undefined" ? grpc_web_node_http_transport_1.NodeHttpTransport() : undefined;
|
|
89
|
+
const transport = typeof window === "undefined" ? (0, grpc_web_node_http_transport_1.NodeHttpTransport)() : undefined;
|
|
84
90
|
grpcClient = (_h = opts.grpcQueryClient) !== null && _h !== void 0 ? _h : new GrpcQueryClient_1.default(this.networkConfig.restUrl, {
|
|
85
91
|
transport,
|
|
86
92
|
});
|
|
@@ -120,6 +126,18 @@ class CarbonSDK {
|
|
|
120
126
|
this.evmmerge = new modules_1.EvmMergeModule(this);
|
|
121
127
|
this.bridge = new modules_1.BridgeModule(this);
|
|
122
128
|
this.otc = new modules_1.OTCModule(this);
|
|
129
|
+
this.neo = clients_1.NEOClient.instance({
|
|
130
|
+
configProvider: this,
|
|
131
|
+
blockchain: blockchain_1.Blockchain.Neo,
|
|
132
|
+
});
|
|
133
|
+
this.n3 = N3Client_1.default.instance({
|
|
134
|
+
configProvider: this,
|
|
135
|
+
blockchain: blockchain_1.Blockchain.Neo3,
|
|
136
|
+
});
|
|
137
|
+
this.zil = clients_1.ZILClient.instance({
|
|
138
|
+
configProvider: this,
|
|
139
|
+
blockchain: blockchain_1.Blockchain.Zilliqa,
|
|
140
|
+
});
|
|
123
141
|
}
|
|
124
142
|
static instance(opts = DEFAULT_SDK_INIT_OPTS) {
|
|
125
143
|
var _a, _b, _c, _d;
|
|
@@ -234,14 +252,14 @@ class CarbonSDK {
|
|
|
234
252
|
pagination: constant_1.PAGINATE_10K,
|
|
235
253
|
});
|
|
236
254
|
const txGasCosts = msgGasCosts.reduce((result, item) => {
|
|
237
|
-
result[item.msgType] = number_1.bnOrZero(item.gasCost);
|
|
255
|
+
result[item.msgType] = (0, number_1.bnOrZero)(item.gasCost);
|
|
238
256
|
return result;
|
|
239
257
|
}, {});
|
|
240
258
|
const { minGasPrices } = yield queryClient.fee.MinGasPriceAll({
|
|
241
259
|
pagination: constant_1.PAGINATE_10K,
|
|
242
260
|
});
|
|
243
261
|
const txGasPrices = minGasPrices.reduce((result, item) => {
|
|
244
|
-
result[item.denom] = number_1.bnOrZero(item.gasPrice).shiftedBy(-18); // sdk.Dec shifting
|
|
262
|
+
result[item.denom] = (0, number_1.bnOrZero)(item.gasPrice).shiftedBy(-18); // sdk.Dec shifting
|
|
245
263
|
return result;
|
|
246
264
|
}, {});
|
|
247
265
|
return new GasFee_1.default(txGasCosts, txGasPrices);
|
|
@@ -454,6 +472,8 @@ exports.ConnectedCarbonSDK = ConnectedCarbonSDK;
|
|
|
454
472
|
CarbonSDK.ETHClient = clients.ETHClient;
|
|
455
473
|
CarbonSDK.HydrogenClient = clients.HydrogenClient;
|
|
456
474
|
CarbonSDK.InsightsQueryClient = clients.InsightsQueryClient;
|
|
475
|
+
CarbonSDK.NEOClient = clients.NEOClient;
|
|
457
476
|
CarbonSDK.TokenClient = clients.TokenClient;
|
|
477
|
+
CarbonSDK.ZILClient = clients.ZILClient;
|
|
458
478
|
})(CarbonSDK || (CarbonSDK = {}));
|
|
459
479
|
exports.default = CarbonSDK;
|
|
@@ -29,7 +29,7 @@ class BatchQueryClient {
|
|
|
29
29
|
};
|
|
30
30
|
if (typeof endpoint === "string") {
|
|
31
31
|
// accept host.name:port and assume http protocol
|
|
32
|
-
this.url = rpcclient_1.hasProtocol(endpoint) ? endpoint : "http://" + endpoint;
|
|
32
|
+
this.url = (0, rpcclient_1.hasProtocol)(endpoint) ? endpoint : "http://" + endpoint;
|
|
33
33
|
}
|
|
34
34
|
else {
|
|
35
35
|
this.url = endpoint.url;
|
|
@@ -71,7 +71,7 @@ class BatchQueryClient {
|
|
|
71
71
|
return;
|
|
72
72
|
const requests = batch.map((s) => s.request);
|
|
73
73
|
const requestIds = requests.map((request) => request.id);
|
|
74
|
-
http_1.http("POST", this.url, this.headers, requests).then((raw) => {
|
|
74
|
+
(0, http_1.http)("POST", this.url, this.headers, requests).then((raw) => {
|
|
75
75
|
// Requests with a single entry return as an object
|
|
76
76
|
const arr = Array.isArray(raw) ? raw : [raw];
|
|
77
77
|
arr.forEach((el, i) => {
|
|
@@ -79,8 +79,8 @@ class BatchQueryClient {
|
|
|
79
79
|
if (!req)
|
|
80
80
|
return;
|
|
81
81
|
const { reject, resolve } = req;
|
|
82
|
-
const response = json_rpc_1.parseJsonRpcResponse(el);
|
|
83
|
-
if (json_rpc_1.isJsonRpcErrorResponse(response)) {
|
|
82
|
+
const response = (0, json_rpc_1.parseJsonRpcResponse)(el);
|
|
83
|
+
if ((0, json_rpc_1.isJsonRpcErrorResponse)(response)) {
|
|
84
84
|
reject(new Error(JSON.stringify(response.error)));
|
|
85
85
|
}
|
|
86
86
|
else {
|
|
@@ -59,7 +59,7 @@ const BlockchainClient_1 = __importDefault(require("./BlockchainClient"));
|
|
|
59
59
|
class CarbonQueryClient {
|
|
60
60
|
constructor(opts) {
|
|
61
61
|
var _a;
|
|
62
|
-
const rpcClient = (_a = opts.grpcClient) !== null && _a !== void 0 ? _a : stargate_1.createProtobufRpcClient(new stargate_1.QueryClient(opts.tmClient));
|
|
62
|
+
const rpcClient = (_a = opts.grpcClient) !== null && _a !== void 0 ? _a : (0, stargate_1.createProtobufRpcClient)(new stargate_1.QueryClient(opts.tmClient));
|
|
63
63
|
this.chain = BlockchainClient_1.default.connectWithTm(opts.tmClient);
|
|
64
64
|
this.adl = new query_1.QueryClientImpl(rpcClient);
|
|
65
65
|
this.alliance = new query_48.QueryClientImpl(rpcClient);
|
package/lib/clients/ETHClient.js
CHANGED
|
@@ -46,15 +46,15 @@ class ETHClient {
|
|
|
46
46
|
?
|
|
47
47
|
this.tokenClient.getBlockchainV2(token.denom) == this.blockchain
|
|
48
48
|
:
|
|
49
|
-
blockchain_1.blockchainForChainId(token.chainId.toNumber(), api.network) == blockchain_1.BLOCKCHAIN_V2_TO_V1_MAPPING[this.blockchain];
|
|
49
|
+
(0, blockchain_1.blockchainForChainId)(token.chainId.toNumber(), api.network) == blockchain_1.BLOCKCHAIN_V2_TO_V1_MAPPING[this.blockchain];
|
|
50
50
|
return isCorrectBlockchain &&
|
|
51
51
|
token.tokenAddress.length == 40 &&
|
|
52
|
-
token.bridgeAddress.toLowerCase() == generic_1.stripHexPrefix(lockProxyAddress) &&
|
|
52
|
+
token.bridgeAddress.toLowerCase() == (0, generic_1.stripHexPrefix)(lockProxyAddress) &&
|
|
53
53
|
(!whitelistDenoms || whitelistDenoms.includes(token.denom)) &&
|
|
54
|
-
this.verifyChecksum(generic_1.appendHexPrefix(token.tokenAddress));
|
|
54
|
+
this.verifyChecksum((0, generic_1.appendHexPrefix)(token.tokenAddress));
|
|
55
55
|
});
|
|
56
56
|
const assetIds = tokens.map((token) => {
|
|
57
|
-
return this.verifyChecksum(generic_1.appendHexPrefix(token.tokenAddress));
|
|
57
|
+
return this.verifyChecksum((0, generic_1.appendHexPrefix)(token.tokenAddress));
|
|
58
58
|
});
|
|
59
59
|
const provider = this.getProvider();
|
|
60
60
|
const contractAddress = this.getBalanceReaderAddress();
|
|
@@ -103,14 +103,14 @@ class ETHClient {
|
|
|
103
103
|
}
|
|
104
104
|
const carbonNetwork = networkConfig.network;
|
|
105
105
|
const fromTokenId = fromToken.id;
|
|
106
|
-
const fromTokenAddress = generic_1.appendHexPrefix(fromToken.tokenAddress);
|
|
106
|
+
const fromTokenAddress = (0, generic_1.appendHexPrefix)(fromToken.tokenAddress);
|
|
107
107
|
const toTokenDenom = toToken.denom;
|
|
108
108
|
const recoveryAddressHex = ethers_1.ethers.utils.hexlify(util_1.AddressUtils.SWTHAddress.getAddressBytes(recoveryAddress, carbonNetwork));
|
|
109
109
|
const fromAssetHash = ethers_1.ethers.utils.hexlify(ethers_1.ethers.utils.toUtf8Bytes(fromTokenId));
|
|
110
110
|
const toAssetHash = ethers_1.ethers.utils.hexlify(ethers_1.ethers.utils.toUtf8Bytes(toTokenDenom));
|
|
111
111
|
const nonce = yield this.getTxNonce(fromAddress, params.nonce, rpcProvider);
|
|
112
112
|
const contract = new ethers_1.ethers.Contract(this.getBridgeEntranceAddr(), eth_1.ABIs.bridgeEntrance, rpcProvider);
|
|
113
|
-
const feeAddress = generic_1.appendHexPrefix(networkConfig.feeAddress);
|
|
113
|
+
const feeAddress = (0, generic_1.appendHexPrefix)(networkConfig.feeAddress);
|
|
114
114
|
const tokenCreator = fromToken.creator;
|
|
115
115
|
const targetAddressBytes = util_1.AddressUtils.SWTHAddress.getAddressBytes(tokenCreator, carbonNetwork);
|
|
116
116
|
const targetProxyHash = ethers_1.ethers.utils.hexlify(targetAddressBytes);
|
|
@@ -139,9 +139,9 @@ class ETHClient {
|
|
|
139
139
|
throw new Error("Minimum gas required: 150,000");
|
|
140
140
|
}
|
|
141
141
|
const networkConfig = this.getNetworkConfig();
|
|
142
|
-
const assetId = generic_1.appendHexPrefix(token.tokenAddress);
|
|
143
|
-
const targetProxyHash = generic_1.appendHexPrefix(this.getTargetProxyHash(token));
|
|
144
|
-
const feeAddress = generic_1.appendHexPrefix(networkConfig.feeAddress);
|
|
142
|
+
const assetId = (0, generic_1.appendHexPrefix)(token.tokenAddress);
|
|
143
|
+
const targetProxyHash = (0, generic_1.appendHexPrefix)(this.getTargetProxyHash(token));
|
|
144
|
+
const feeAddress = (0, generic_1.appendHexPrefix)(networkConfig.feeAddress);
|
|
145
145
|
const toAssetHash = ethers_1.ethers.utils.hexlify(ethers_1.ethers.utils.toUtf8Bytes(token.id));
|
|
146
146
|
const swthAddress = ethers_1.ethers.utils.hexlify(address);
|
|
147
147
|
const contractAddress = this.getLockProxyAddress();
|
|
@@ -192,15 +192,15 @@ class ETHClient {
|
|
|
192
192
|
return "insufficient balance";
|
|
193
193
|
}
|
|
194
194
|
const networkConfig = this.getNetworkConfig();
|
|
195
|
-
const assetId = generic_1.appendHexPrefix(tokenWithExternalBalances.tokenAddress);
|
|
196
|
-
const targetProxyHash = generic_1.appendHexPrefix(this.getTargetProxyHash(tokenWithExternalBalances));
|
|
197
|
-
const feeAddress = generic_1.appendHexPrefix(networkConfig.feeAddress);
|
|
195
|
+
const assetId = (0, generic_1.appendHexPrefix)(tokenWithExternalBalances.tokenAddress);
|
|
196
|
+
const targetProxyHash = (0, generic_1.appendHexPrefix)(this.getTargetProxyHash(tokenWithExternalBalances));
|
|
197
|
+
const feeAddress = (0, generic_1.appendHexPrefix)(networkConfig.feeAddress);
|
|
198
198
|
const toAssetHash = ethers_1.ethers.utils.hexlify(ethers_1.ethers.utils.toUtf8Bytes(tokenWithExternalBalances.id));
|
|
199
199
|
const nonce = Math.floor(Math.random() * 1000000000); // random nonce to prevent replay attacks
|
|
200
200
|
const message = ethers_1.ethers.utils.solidityKeccak256(["string", "address", "bytes", "bytes", "bytes", "uint256", "uint256", "uint256"], ["sendTokens", assetId, targetProxyHash, toAssetHash, feeAddress, amount, feeAmount, nonce]);
|
|
201
201
|
// logger("sendDeposit message", message)
|
|
202
202
|
const { address, signature } = yield getSignatureCallback(message);
|
|
203
|
-
const signatureBytes = ethers_1.ethers.utils.arrayify(generic_1.appendHexPrefix(signature));
|
|
203
|
+
const signatureBytes = ethers_1.ethers.utils.arrayify((0, generic_1.appendHexPrefix)(signature));
|
|
204
204
|
const rsv = ethers_1.ethers.utils.splitSignature(signatureBytes);
|
|
205
205
|
// logger("sign result", address, signature)
|
|
206
206
|
const signatureResult = {
|
|
@@ -239,7 +239,7 @@ class ETHClient {
|
|
|
239
239
|
if (!feeInfo.deposit_fee) {
|
|
240
240
|
throw new Error("unsupported token");
|
|
241
241
|
}
|
|
242
|
-
if (blockchain_1.blockchainForChainId(token.chainId.toNumber(), this.configProvider.getConfig().network) !== blockchain_1.BLOCKCHAIN_V2_TO_V1_MAPPING[this.blockchain]) {
|
|
242
|
+
if ((0, blockchain_1.blockchainForChainId)(token.chainId.toNumber(), this.configProvider.getConfig().network) !== blockchain_1.BLOCKCHAIN_V2_TO_V1_MAPPING[this.blockchain]) {
|
|
243
243
|
throw new Error("unsupported token");
|
|
244
244
|
}
|
|
245
245
|
let feeAmount = ethers_1.ethers.BigNumber.from(feeInfo.deposit_fee);
|
|
@@ -299,7 +299,7 @@ class ETHClient {
|
|
|
299
299
|
getTargetProxyHash(token) {
|
|
300
300
|
const networkConfig = this.getNetworkConfig();
|
|
301
301
|
const addressBytes = address_1.SWTHAddress.getAddressBytes(token.creator, networkConfig.network);
|
|
302
|
-
const addressHex = generic_1.stripHexPrefix(ethers_1.ethers.utils.hexlify(addressBytes));
|
|
302
|
+
const addressHex = (0, generic_1.stripHexPrefix)(ethers_1.ethers.utils.hexlify(addressBytes));
|
|
303
303
|
return addressHex;
|
|
304
304
|
}
|
|
305
305
|
getProvider() {
|
|
@@ -32,7 +32,7 @@ exports.HydrogenEndpoints = {
|
|
|
32
32
|
const formatDateField = (value) => {
|
|
33
33
|
if (typeof value !== "string")
|
|
34
34
|
return null;
|
|
35
|
-
return dayjs_1.default(value);
|
|
35
|
+
return (0, dayjs_1.default)(value);
|
|
36
36
|
};
|
|
37
37
|
// temporary function to parse okt/okc blockchain
|
|
38
38
|
// to remove when automatic deposit/withdraw feature is deployed
|
|
@@ -104,14 +104,14 @@ class HydrogenClient {
|
|
|
104
104
|
// brdg tokens will all be chain_id 0 which will also be deprecated in future
|
|
105
105
|
// hence for brdg tokens cannot use chain_id to differentiate between blockchains
|
|
106
106
|
const isBridgeToken = this.tokenClient.isBridgedToken(value.carbon_token_id);
|
|
107
|
-
return Object.assign(Object.assign({}, value), { created_at: formatDateField((_a = value.created_at) === null || _a === void 0 ? void 0 : _a.toString()), updated_at: formatDateField((_b = value.updated_at) === null || _b === void 0 ? void 0 : _b.toString()), source_blockchain: isBridgeToken ? blockchain_1.getFormattedBlockchainName(value.source_blockchain) : this.tokenClient.getBlockchainV2FromIDs(Number(value.from_chain_id), value.bridge_id), bridging_blockchain: getBridgeBlockchainFromId(value.bridge_id), destination_blockchain: isBridgeToken ? blockchain_1.getFormattedBlockchainName(value.destination_blockchain) : this.tokenClient.getBlockchainV2FromIDs(Number(value.to_chain_id), value.bridge_id), source_event: formatChainEventV2(value.source_event, (_c = value.source_blockchain) !== null && _c !== void 0 ? _c : ''), bridging_event: formatChainEventV2(value.bridging_event, getBridgeBlockchainFromId(value.bridge_id)), destination_event: formatChainEventV2(value.destination_event, (_d = value.destination_blockchain) !== null && _d !== void 0 ? _d : ''), relay: formatRelaysTransfers(value.relay) });
|
|
107
|
+
return Object.assign(Object.assign({}, value), { created_at: formatDateField((_a = value.created_at) === null || _a === void 0 ? void 0 : _a.toString()), updated_at: formatDateField((_b = value.updated_at) === null || _b === void 0 ? void 0 : _b.toString()), source_blockchain: isBridgeToken ? (0, blockchain_1.getFormattedBlockchainName)(value.source_blockchain) : this.tokenClient.getBlockchainV2FromIDs(Number(value.from_chain_id), value.bridge_id), bridging_blockchain: getBridgeBlockchainFromId(value.bridge_id), destination_blockchain: isBridgeToken ? (0, blockchain_1.getFormattedBlockchainName)(value.destination_blockchain) : this.tokenClient.getBlockchainV2FromIDs(Number(value.to_chain_id), value.bridge_id), source_event: formatChainEventV2(value.source_event, (_c = value.source_blockchain) !== null && _c !== void 0 ? _c : ''), bridging_event: formatChainEventV2(value.bridging_event, getBridgeBlockchainFromId(value.bridge_id)), destination_event: formatChainEventV2(value.destination_event, (_d = value.destination_blockchain) !== null && _d !== void 0 ? _d : ''), relay: formatRelaysTransfers(value.relay) });
|
|
108
108
|
};
|
|
109
109
|
this.formatCrossChainTransferDetailedV2 = (value) => {
|
|
110
110
|
if (!value || typeof value !== "object")
|
|
111
111
|
return value;
|
|
112
112
|
const isBridgeToken = this.tokenClient.isBridgedToken(value.carbon_token_id);
|
|
113
|
-
const source_blockchain = isBridgeToken ? blockchain_1.getFormattedBlockchainName(value.source_blockchain) : this.tokenClient.getBlockchainV2FromIDs(Number(value.from_chain_id), value.bridge_id);
|
|
114
|
-
const destination_blockchain = isBridgeToken ? blockchain_1.getFormattedBlockchainName(value.destination_blockchain) : this.tokenClient.getBlockchainV2FromIDs(Number(value.to_chain_id), value.bridge_id);
|
|
113
|
+
const source_blockchain = isBridgeToken ? (0, blockchain_1.getFormattedBlockchainName)(value.source_blockchain) : this.tokenClient.getBlockchainV2FromIDs(Number(value.from_chain_id), value.bridge_id);
|
|
114
|
+
const destination_blockchain = isBridgeToken ? (0, blockchain_1.getFormattedBlockchainName)(value.destination_blockchain) : this.tokenClient.getBlockchainV2FromIDs(Number(value.to_chain_id), value.bridge_id);
|
|
115
115
|
const bridging_blockchain = getBridgeBlockchainFromId(value.bridge_id);
|
|
116
116
|
return Object.assign(Object.assign({}, this.formatCrossChainTransferV2(value)), { source_event: formatChainEventV2(value.source_event, source_blockchain !== null && source_blockchain !== void 0 ? source_blockchain : ''), bridging_event: formatChainEventV2(value.bridging_event, bridging_blockchain), destination_event: formatChainEventV2(value.destination_event, destination_blockchain !== null && destination_blockchain !== void 0 ? destination_blockchain : '') });
|
|
117
117
|
};
|
|
@@ -101,12 +101,12 @@ class InsightsQueryClient {
|
|
|
101
101
|
const meta = response.data.result.meta;
|
|
102
102
|
const parsedEntries = rawEntries.map(entry => ({
|
|
103
103
|
lastHeight: entry.lastHeight,
|
|
104
|
-
time: dayjs_1.default(entry.time),
|
|
104
|
+
time: (0, dayjs_1.default)(entry.time),
|
|
105
105
|
volumeValue: new bignumber_js_1.default(entry.volumeValue),
|
|
106
106
|
}));
|
|
107
107
|
const parsedMeta = {
|
|
108
|
-
from: dayjs_1.default(meta.from),
|
|
109
|
-
until: dayjs_1.default(meta.until),
|
|
108
|
+
from: (0, dayjs_1.default)(meta.from),
|
|
109
|
+
until: (0, dayjs_1.default)(meta.until),
|
|
110
110
|
interval: meta.interval,
|
|
111
111
|
};
|
|
112
112
|
return { result: { entries: parsedEntries, meta: parsedMeta } };
|
|
@@ -62,7 +62,7 @@ export declare class N3Client {
|
|
|
62
62
|
lockLedgerDeposit(params: LockLedgerDepositParams): Promise<string | false>;
|
|
63
63
|
getNetworkFee(txn: tx.Transaction, networkFee: number): Promise<u.BigInteger>;
|
|
64
64
|
getSystemFee(txn: tx.Transaction, systemFee: number, signers?: (tx.Signer | tx.SignerJson)[]): Promise<u.BigInteger>;
|
|
65
|
-
formatWithdrawalAddress(address: string):
|
|
65
|
+
formatWithdrawalAddress(address: string): string;
|
|
66
66
|
retrieveNEP17Info(address: string): Promise<{
|
|
67
67
|
name: string;
|
|
68
68
|
symbol: string;
|
package/lib/clients/N3Client.js
CHANGED
|
@@ -236,15 +236,13 @@ class N3Client {
|
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
formatWithdrawalAddress(address) {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
return neon_core_next_1.u.reverseHex(scriptHash);
|
|
247
|
-
});
|
|
239
|
+
const isValidAddress = neon_core_next_1.wallet.isAddress(address);
|
|
240
|
+
if (!isValidAddress) {
|
|
241
|
+
throw new Error("invalid address");
|
|
242
|
+
}
|
|
243
|
+
const scriptHash = neon_core_next_1.wallet.getScriptHashFromAddress(address);
|
|
244
|
+
// return the little endian version of the address
|
|
245
|
+
return neon_core_next_1.u.reverseHex(scriptHash);
|
|
248
246
|
}
|
|
249
247
|
retrieveNEP17Info(address) {
|
|
250
248
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -42,7 +42,7 @@ export declare class NEOClient {
|
|
|
42
42
|
lockLedgerDeposit(params: LockLedgerDepositParams): Promise<any>;
|
|
43
43
|
retrieveNEP5Info(scriptHash: string): Promise<TokenInitInfo>;
|
|
44
44
|
wrapNeoToNneo(neoAmount: BigNumber, neoPrivateKey: string): Promise<import("@cityofzion/neon-api/lib/funcs/types").DoInvokeConfig>;
|
|
45
|
-
formatWithdrawalAddress(address: string):
|
|
45
|
+
formatWithdrawalAddress(address: string): string;
|
|
46
46
|
/**
|
|
47
47
|
* TargetProxyHash is a hash of token originator address that is used
|
|
48
48
|
* for lockproxy asset registration and identification
|
package/lib/clients/NEOClient.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -68,13 +72,13 @@ class NEOClient {
|
|
|
68
72
|
?
|
|
69
73
|
!!sdk.token.getBlockchainV2(token.denom) && (blockchain_1.BLOCKCHAIN_V2_TO_V1_MAPPING[sdk.token.getBlockchainV2(token.denom)] == this.blockchain)
|
|
70
74
|
:
|
|
71
|
-
blockchain_1.blockchainForChainId(token.chainId.toNumber(), sdk.network) == this.blockchain;
|
|
75
|
+
(0, blockchain_1.blockchainForChainId)(token.chainId.toNumber(), sdk.network) == this.blockchain;
|
|
72
76
|
return (isCorrectBlockchain || token.denom === "swth") && token.tokenAddress.length == 40 && token.bridgeAddress.length == 40;
|
|
73
77
|
});
|
|
74
78
|
const client = new Neon.rpc.RPCClient(url, "2.5.2"); // TODO: should we change the RPC version??
|
|
75
79
|
// NOTE: fetching of tokens is chunked in sets of 15 as we may hit
|
|
76
80
|
// the gas limit on the RPC node and error out otherwise
|
|
77
|
-
const promises = lodash_1.chunk(tokens, 75).map((partition) => __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
const promises = (0, lodash_1.chunk)(tokens, 75).map((partition) => __awaiter(this, void 0, void 0, function* () {
|
|
78
82
|
var _a, _b, _c;
|
|
79
83
|
const acc = {};
|
|
80
84
|
for (const token of partition) {
|
|
@@ -116,8 +120,8 @@ class NEOClient {
|
|
|
116
120
|
const targetProxyHash = this.getTargetProxyHash(token);
|
|
117
121
|
const toAssetHash = Neon.u.str2hexstring(token.id);
|
|
118
122
|
const addressBytes = address_1.SWTHAddress.getAddressBytes(swthAddress, networkConfig.network);
|
|
119
|
-
const toAddress = generic_1.stripHexPrefix(ethers_1.ethers.utils.hexlify(addressBytes));
|
|
120
|
-
const zeroAddressHex = generic_1.stripHexPrefix(ethers_1.ethers.utils.hexlify(constant_1.ZeroAddress));
|
|
123
|
+
const toAddress = (0, generic_1.stripHexPrefix)(ethers_1.ethers.utils.hexlify(addressBytes));
|
|
124
|
+
const zeroAddressHex = (0, generic_1.stripHexPrefix)(ethers_1.ethers.utils.hexlify(constant_1.ZeroAddress));
|
|
121
125
|
const amount = ethers_1.ethers.BigNumber.from(token.externalBalance);
|
|
122
126
|
const feeAmount = ethers_1.ethers.BigNumber.from(feeAmountInput !== null && feeAmountInput !== void 0 ? feeAmountInput : "100000000");
|
|
123
127
|
const feeAddress = feeAmount.isZero() ? zeroAddressHex : networkConfig.feeAddress;
|
|
@@ -162,7 +166,7 @@ class NEOClient {
|
|
|
162
166
|
const fromAddress = util_1.AddressUtils.NEOAddress.publicKeyToAddress(publicKeyOutput.publicKey);
|
|
163
167
|
const targetProxyHash = this.getTargetProxyHash(token);
|
|
164
168
|
const toAssetHash = Neon.u.str2hexstring(token.id);
|
|
165
|
-
const toAddress = generic_1.stripHexPrefix(ethers_1.ethers.utils.hexlify(address));
|
|
169
|
+
const toAddress = (0, generic_1.stripHexPrefix)(ethers_1.ethers.utils.hexlify(address));
|
|
166
170
|
const nonce = Math.floor(Math.random() * 1000000);
|
|
167
171
|
if (amount.lt(feeAmount)) {
|
|
168
172
|
throw new Error("Invalid amount");
|
|
@@ -198,7 +202,7 @@ class NEOClient {
|
|
|
198
202
|
const fromAddress = ledger.scriptHash;
|
|
199
203
|
const targetProxyHash = this.getTargetProxyHash(token);
|
|
200
204
|
const toAssetHash = Neon.u.str2hexstring(token.id);
|
|
201
|
-
const toAddress = generic_1.stripHexPrefix(ethers_1.ethers.utils.hexlify(address));
|
|
205
|
+
const toAddress = (0, generic_1.stripHexPrefix)(ethers_1.ethers.utils.hexlify(address));
|
|
202
206
|
const feeAddress = networkConfig.feeAddress;
|
|
203
207
|
const nonce = Math.floor(Math.random() * 1000000);
|
|
204
208
|
if (amount.lt(feeAmount)) {
|
|
@@ -294,15 +298,13 @@ class NEOClient {
|
|
|
294
298
|
});
|
|
295
299
|
}
|
|
296
300
|
formatWithdrawalAddress(address) {
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
return Neon.u.reverseHex(scriptHash);
|
|
305
|
-
});
|
|
301
|
+
const isValidAddress = Neon.wallet.isAddress(address);
|
|
302
|
+
if (!isValidAddress) {
|
|
303
|
+
throw new Error("invalid address");
|
|
304
|
+
}
|
|
305
|
+
const scriptHash = Neon.wallet.getScriptHashFromAddress(address);
|
|
306
|
+
// return the little endian version of the address
|
|
307
|
+
return Neon.u.reverseHex(scriptHash);
|
|
306
308
|
}
|
|
307
309
|
/**
|
|
308
310
|
* TargetProxyHash is a hash of token originator address that is used
|
|
@@ -313,7 +315,7 @@ class NEOClient {
|
|
|
313
315
|
getTargetProxyHash(token) {
|
|
314
316
|
const networkConfig = this.getNetworkConfig();
|
|
315
317
|
const addressBytes = address_1.SWTHAddress.getAddressBytes(token.creator, networkConfig.network);
|
|
316
|
-
const addressHex = generic_1.stripHexPrefix(ethers_1.ethers.utils.hexlify(addressBytes));
|
|
318
|
+
const addressHex = (0, generic_1.stripHexPrefix)(ethers_1.ethers.utils.hexlify(addressBytes));
|
|
317
319
|
return addressHex;
|
|
318
320
|
}
|
|
319
321
|
getNetworkConfig() {
|
|
@@ -118,11 +118,6 @@ class TokenClient {
|
|
|
118
118
|
var _a;
|
|
119
119
|
if (!denom)
|
|
120
120
|
return undefined;
|
|
121
|
-
if (this.isNativeToken(denom) || this.isNativeStablecoin(denom) || TokenClient.isPoolToken(denom) || TokenClient.isCdpToken(denom) || this.isGroupChequeDenom(denom) || TokenClient.isVaultToken(denom)) {
|
|
122
|
-
// native denoms "swth" and "usc" should be native.
|
|
123
|
-
// pool and cdp tokens are on the Native blockchain, hence 0
|
|
124
|
-
return 'Native';
|
|
125
|
-
}
|
|
126
121
|
const token = this.tokenForDenom(denom);
|
|
127
122
|
if (this.isBridgedToken(denom)) {
|
|
128
123
|
// brdg tokens will all be chain_id 0 which will also be deprecated in future
|
|
@@ -131,6 +126,9 @@ class TokenClient {
|
|
|
131
126
|
const chainName = (_a = bridgeList.find((bridge) => bridge.bridgeAddress === (token === null || token === void 0 ? void 0 : token.bridgeAddress))) === null || _a === void 0 ? void 0 : _a.chainName;
|
|
132
127
|
return chainName;
|
|
133
128
|
}
|
|
129
|
+
else if ((token === null || token === void 0 ? void 0 : token.chainId.eq(0)) && (token === null || token === void 0 ? void 0 : token.bridgeId.eq(0))) {
|
|
130
|
+
return 'Native';
|
|
131
|
+
}
|
|
134
132
|
const bridge = this.getBridgeFromToken(token);
|
|
135
133
|
return bridge === null || bridge === void 0 ? void 0 : bridge.chainName;
|
|
136
134
|
}
|
|
@@ -619,7 +617,7 @@ class TokenClient {
|
|
|
619
617
|
if (!token)
|
|
620
618
|
return undefined;
|
|
621
619
|
const bridge = this.getBridgeFromToken(token);
|
|
622
|
-
if (!bridge || !blockchain_1.isIbcBridge(bridge))
|
|
620
|
+
if (!bridge || !(0, blockchain_1.isIbcBridge)(bridge))
|
|
623
621
|
return undefined;
|
|
624
622
|
return bridge.chain_id_name;
|
|
625
623
|
}
|
|
@@ -698,7 +696,7 @@ class TokenClient {
|
|
|
698
696
|
processTokenPrices(tokenPrices) {
|
|
699
697
|
return tokenPrices.reduce((prevPrices, price) => {
|
|
700
698
|
const newPrev = prevPrices;
|
|
701
|
-
newPrev[price.denom] = number_1.bnOrZero(price.twap).shiftedBy(-constant_1.decTypeDecimals);
|
|
699
|
+
newPrev[price.denom] = (0, number_1.bnOrZero)(price.twap).shiftedBy(-constant_1.decTypeDecimals);
|
|
702
700
|
return newPrev;
|
|
703
701
|
}, {});
|
|
704
702
|
}
|
|
@@ -78,7 +78,7 @@ export declare class ZILClient {
|
|
|
78
78
|
private constructor();
|
|
79
79
|
static instance(opts: ZILClientOpts): CarbonSDK.ZILClient;
|
|
80
80
|
getExternalBalances(sdk: CarbonSDK, address: string, whitelistDenoms?: string[], version?: string): Promise<TokensWithExternalBalance[]>;
|
|
81
|
-
formatWithdrawalAddress(bech32Address: string):
|
|
81
|
+
formatWithdrawalAddress(bech32Address: string): string;
|
|
82
82
|
private callContract;
|
|
83
83
|
approveZRC2(params: ApproveZRC2Params): Promise<Transaction>;
|
|
84
84
|
checkAllowanceZRC2(token: Carbon.Coin.Token, owner: string, spender: string): Promise<BigNumber>;
|
package/lib/clients/ZILClient.js
CHANGED
|
@@ -77,12 +77,12 @@ class ZILClient {
|
|
|
77
77
|
?
|
|
78
78
|
!!sdk.token.getBlockchainV2(token.denom) && (blockchain_1.BLOCKCHAIN_V2_TO_V1_MAPPING[sdk.token.getBlockchainV2(token.denom)] == this.blockchain)
|
|
79
79
|
:
|
|
80
|
-
blockchain_1.blockchainForChainId(token.chainId.toNumber(), sdk.network) == this.blockchain;
|
|
80
|
+
(0, blockchain_1.blockchainForChainId)(token.chainId.toNumber(), sdk.network) == this.blockchain;
|
|
81
81
|
return isCorrectBlockchain && token.tokenAddress.length == 40 && (!whitelistDenoms || whitelistDenoms.includes(token.denom));
|
|
82
82
|
});
|
|
83
83
|
const requests = tokens.map((token) => token.tokenAddress === zeroAddress
|
|
84
|
-
? exports.balanceBatchRequest(address.replace(/^0x/i, ""))
|
|
85
|
-
: exports.tokenBalanceBatchRequest(token.tokenAddress, address));
|
|
84
|
+
? (0, exports.balanceBatchRequest)(address.replace(/^0x/i, ""))
|
|
85
|
+
: (0, exports.tokenBalanceBatchRequest)(token.tokenAddress, address));
|
|
86
86
|
const response = yield fetch(this.getProviderUrl(), {
|
|
87
87
|
method: "post",
|
|
88
88
|
headers: { "content-type": "application/json" },
|
|
@@ -102,13 +102,7 @@ class ZILClient {
|
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
formatWithdrawalAddress(bech32Address) {
|
|
105
|
-
return
|
|
106
|
-
// const isValidAddress = isValidChecksumAddress(bech32Address)
|
|
107
|
-
// if (!isValidAddress) {
|
|
108
|
-
// throw new Error("invalid address")
|
|
109
|
-
// }
|
|
110
|
-
return zilliqa_1.fromBech32Address(bech32Address).toLowerCase().substr(2);
|
|
111
|
-
});
|
|
105
|
+
return (0, zilliqa_1.fromBech32Address)(bech32Address).toLowerCase().substr(2);
|
|
112
106
|
}
|
|
113
107
|
// see examplesV2/zil_client.ts on how to confirm the transactions
|
|
114
108
|
// to confirm the zilpay method, use :
|
|
@@ -153,7 +147,7 @@ class ZILClient {
|
|
|
153
147
|
zilliqa = new zilliqa_1.Zilliqa(this.getProviderUrl());
|
|
154
148
|
}
|
|
155
149
|
const deployedContract = (this.walletProvider || zilliqa).contracts.at(contractAddress);
|
|
156
|
-
const balanceAndNonceResp = yield zilliqa.blockchain.getBalance(generic_1.stripHexPrefix(zilAddress));
|
|
150
|
+
const balanceAndNonceResp = yield zilliqa.blockchain.getBalance((0, generic_1.stripHexPrefix)(zilAddress));
|
|
157
151
|
if (balanceAndNonceResp.error !== undefined) {
|
|
158
152
|
throw new Error(balanceAndNonceResp.error.message);
|
|
159
153
|
}
|
|
@@ -171,7 +165,7 @@ class ZILClient {
|
|
|
171
165
|
vname: "spender",
|
|
172
166
|
type: "ByStr20",
|
|
173
167
|
// TODO: Check if bridgeAddress corresponds to carbon token lock_proxy_hash
|
|
174
|
-
value: spenderAddress !== null && spenderAddress !== void 0 ? spenderAddress : generic_1.appendHexPrefix(token.bridgeAddress),
|
|
168
|
+
value: spenderAddress !== null && spenderAddress !== void 0 ? spenderAddress : (0, generic_1.appendHexPrefix)(token.bridgeAddress),
|
|
175
169
|
},
|
|
176
170
|
{
|
|
177
171
|
vname: "amount",
|
|
@@ -189,7 +183,7 @@ class ZILClient {
|
|
|
189
183
|
}
|
|
190
184
|
checkAllowanceZRC2(token, owner, spender) {
|
|
191
185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
192
|
-
const contractAddress = generic_1.appendHexPrefix(token.tokenAddress);
|
|
186
|
+
const contractAddress = (0, generic_1.appendHexPrefix)(token.tokenAddress);
|
|
193
187
|
const zilliqa = new zilliqa_1.Zilliqa(this.getProviderUrl());
|
|
194
188
|
const resp = yield zilliqa.blockchain.getSmartContractSubState(contractAddress, "allowances", [owner, spender]);
|
|
195
189
|
if (resp.error !== undefined) {
|
|
@@ -211,13 +205,13 @@ class ZILClient {
|
|
|
211
205
|
}
|
|
212
206
|
const carbonNetwork = networkConfig.network;
|
|
213
207
|
const fromTokenId = fromToken.id;
|
|
214
|
-
const fromTokenAddr = generic_1.appendHexPrefix(fromToken.tokenAddress);
|
|
208
|
+
const fromTokenAddr = (0, generic_1.appendHexPrefix)(fromToken.tokenAddress);
|
|
215
209
|
const toTokenDenom = toToken.denom;
|
|
216
|
-
const targetProxyHash = generic_1.appendHexPrefix(this.getTargetProxyHash(fromToken));
|
|
210
|
+
const targetProxyHash = (0, generic_1.appendHexPrefix)(this.getTargetProxyHash(fromToken));
|
|
217
211
|
const recoveryAddressHex = ethers_1.ethers.utils.hexlify(index_1.AddressUtils.SWTHAddress.getAddressBytes(recoveryAddress, carbonNetwork));
|
|
218
212
|
const fromAssetHash = ethers_1.ethers.utils.hexlify(ethers_1.ethers.utils.toUtf8Bytes(fromTokenId));
|
|
219
213
|
const toAssetHash = ethers_1.ethers.utils.hexlify(ethers_1.ethers.utils.toUtf8Bytes(toTokenDenom));
|
|
220
|
-
const feeAddress = generic_1.appendHexPrefix(networkConfig.feeAddress);
|
|
214
|
+
const feeAddress = (0, generic_1.appendHexPrefix)(networkConfig.feeAddress);
|
|
221
215
|
const contractAddress = this.getBridgeEntranceAddr();
|
|
222
216
|
let zilliqa;
|
|
223
217
|
if (typeof signer === "string") {
|
|
@@ -232,7 +226,7 @@ class ZILClient {
|
|
|
232
226
|
zilliqa = new zilliqa_1.Zilliqa(this.getProviderUrl());
|
|
233
227
|
}
|
|
234
228
|
const deployedContract = (this.walletProvider || zilliqa).contracts.at(contractAddress);
|
|
235
|
-
const balanceAndNonceResp = yield zilliqa.blockchain.getBalance(generic_1.stripHexPrefix(fromAddress));
|
|
229
|
+
const balanceAndNonceResp = yield zilliqa.blockchain.getBalance((0, generic_1.stripHexPrefix)(fromAddress));
|
|
236
230
|
if (balanceAndNonceResp.error !== undefined) {
|
|
237
231
|
throw new Error(balanceAndNonceResp.error.message);
|
|
238
232
|
}
|
|
@@ -288,12 +282,12 @@ class ZILClient {
|
|
|
288
282
|
{
|
|
289
283
|
vname: "amount",
|
|
290
284
|
type: "Uint256",
|
|
291
|
-
value: amount.toString(),
|
|
285
|
+
value: amount.dp(0, bignumber_js_1.default.ROUND_FLOOR).toString(10),
|
|
292
286
|
},
|
|
293
287
|
{
|
|
294
288
|
vname: "withdrawFeeAmount",
|
|
295
289
|
type: "Uint256",
|
|
296
|
-
value: feeAmount.toString(),
|
|
290
|
+
value: feeAmount.dp(0, bignumber_js_1.default.ROUND_FLOOR).toString(10),
|
|
297
291
|
},
|
|
298
292
|
];
|
|
299
293
|
const data = {
|
|
@@ -309,13 +303,13 @@ class ZILClient {
|
|
|
309
303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
310
304
|
const { address, amount, token, gasPrice, gasLimit, zilAddress, signer } = params;
|
|
311
305
|
const networkConfig = this.getNetworkConfig();
|
|
312
|
-
const assetId = generic_1.appendHexPrefix(token.tokenAddress);
|
|
313
|
-
const targetProxyHash = generic_1.appendHexPrefix(this.getTargetProxyHash(token));
|
|
314
|
-
const feeAddress = generic_1.appendHexPrefix(networkConfig.feeAddress);
|
|
306
|
+
const assetId = (0, generic_1.appendHexPrefix)(token.tokenAddress);
|
|
307
|
+
const targetProxyHash = (0, generic_1.appendHexPrefix)(this.getTargetProxyHash(token));
|
|
308
|
+
const feeAddress = (0, generic_1.appendHexPrefix)(networkConfig.feeAddress);
|
|
315
309
|
const toAssetHash = ethers_1.ethers.utils.hexlify(ethers_1.ethers.utils.toUtf8Bytes(token.id));
|
|
316
310
|
const swthAddress = ethers_1.ethers.utils.hexlify(address);
|
|
317
311
|
// TODO: Check if bridgeAddress corresponds to carbon token lock_proxy_hash
|
|
318
|
-
const contractAddress = generic_1.appendHexPrefix(token.bridgeAddress);
|
|
312
|
+
const contractAddress = (0, generic_1.appendHexPrefix)(token.bridgeAddress);
|
|
319
313
|
let zilliqa;
|
|
320
314
|
if (typeof signer === "string") {
|
|
321
315
|
zilliqa = new zilliqa_1.Zilliqa(this.getProviderUrl());
|
|
@@ -329,7 +323,7 @@ class ZILClient {
|
|
|
329
323
|
zilliqa = new zilliqa_1.Zilliqa(this.getProviderUrl());
|
|
330
324
|
}
|
|
331
325
|
const deployedContract = (this.walletProvider || zilliqa).contracts.at(contractAddress);
|
|
332
|
-
const balanceAndNonceResp = yield zilliqa.blockchain.getBalance(generic_1.stripHexPrefix(zilAddress));
|
|
326
|
+
const balanceAndNonceResp = yield zilliqa.blockchain.getBalance((0, generic_1.stripHexPrefix)(zilAddress));
|
|
333
327
|
if (balanceAndNonceResp.error !== undefined) {
|
|
334
328
|
throw new Error(balanceAndNonceResp.error.message);
|
|
335
329
|
}
|
|
@@ -375,7 +369,7 @@ class ZILClient {
|
|
|
375
369
|
{
|
|
376
370
|
vname: "amount",
|
|
377
371
|
type: "Uint256",
|
|
378
|
-
value: amount.toString(),
|
|
372
|
+
value: amount.dp(0, bignumber_js_1.default.ROUND_FLOOR).toString(10),
|
|
379
373
|
},
|
|
380
374
|
{
|
|
381
375
|
vname: "feeAmount",
|
|
@@ -414,7 +408,7 @@ class ZILClient {
|
|
|
414
408
|
getTargetProxyHash(token) {
|
|
415
409
|
const networkConfig = this.getNetworkConfig();
|
|
416
410
|
const addressBytes = address_1.SWTHAddress.getAddressBytes(token.creator, networkConfig.network);
|
|
417
|
-
const addressHex = generic_1.stripHexPrefix(ethers_1.ethers.utils.hexlify(addressBytes));
|
|
411
|
+
const addressHex = (0, generic_1.stripHexPrefix)(ethers_1.ethers.utils.hexlify(addressBytes));
|
|
418
412
|
return addressHex;
|
|
419
413
|
}
|
|
420
414
|
getNetworkConfig() {
|
package/lib/clients/index.d.ts
CHANGED
|
@@ -4,4 +4,6 @@ export { default as CarbonQueryClient } from "./CarbonQueryClient";
|
|
|
4
4
|
export { default as ETHClient } from "./ETHClient";
|
|
5
5
|
export { default as HydrogenClient } from "./HydrogenClient";
|
|
6
6
|
export { default as InsightsQueryClient } from "./InsightsQueryClient";
|
|
7
|
+
export { default as NEOClient } from "./NEOClient";
|
|
7
8
|
export { default as TokenClient } from "./TokenClient";
|
|
9
|
+
export { default as ZILClient } from "./ZILClient";
|