@plutonlabs/sdk 0.0.1-beta
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/README.md +1 -0
- package/Readme.md +0 -0
- package/dist/common/consts/globalConst.d.ts +12 -0
- package/dist/common/consts/globalConst.d.ts.map +1 -0
- package/dist/common/consts/globalConst.js +15 -0
- package/dist/common/consts/globalConst.js.map +1 -0
- package/dist/common/enums/calc_mode.enum.d.ts +8 -0
- package/dist/common/enums/calc_mode.enum.d.ts.map +1 -0
- package/dist/common/enums/calc_mode.enum.js +32 -0
- package/dist/common/enums/calc_mode.enum.js.map +1 -0
- package/dist/common/enums/index.d.ts +3 -0
- package/dist/common/enums/index.d.ts.map +1 -0
- package/dist/common/enums/index.js +19 -0
- package/dist/common/enums/index.js.map +1 -0
- package/dist/common/enums/intent_type.enum.d.ts +6 -0
- package/dist/common/enums/intent_type.enum.d.ts.map +1 -0
- package/dist/common/enums/intent_type.enum.js +10 -0
- package/dist/common/enums/intent_type.enum.js.map +1 -0
- package/dist/common/index.d.ts +3 -0
- package/dist/common/index.d.ts.map +1 -0
- package/dist/common/index.js +19 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/interfaces/IChain.d.ts +20 -0
- package/dist/common/interfaces/IChain.d.ts.map +1 -0
- package/dist/common/interfaces/IChain.js +3 -0
- package/dist/common/interfaces/IChain.js.map +1 -0
- package/dist/common/interfaces/ILog.d.ts +8 -0
- package/dist/common/interfaces/ILog.d.ts.map +1 -0
- package/dist/common/interfaces/ILog.js +3 -0
- package/dist/common/interfaces/ILog.js.map +1 -0
- package/dist/common/utils/bignumber.column.transformer.d.ts +6 -0
- package/dist/common/utils/bignumber.column.transformer.d.ts.map +1 -0
- package/dist/common/utils/bignumber.column.transformer.js +17 -0
- package/dist/common/utils/bignumber.column.transformer.js.map +1 -0
- package/dist/common/utils/index.d.ts +3 -0
- package/dist/common/utils/index.d.ts.map +1 -0
- package/dist/common/utils/index.js +19 -0
- package/dist/common/utils/index.js.map +1 -0
- package/dist/common/utils/list.d.ts +3 -0
- package/dist/common/utils/list.d.ts.map +1 -0
- package/dist/common/utils/list.js +25 -0
- package/dist/common/utils/list.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_contract.dto.d.ts +35 -0
- package/dist/modules/chainsync/domain/dto/chain_contract.dto.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_contract.dto.js +44 -0
- package/dist/modules/chainsync/domain/dto/chain_contract.dto.js.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts +131 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js +133 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.d.ts +43 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.js +51 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.js.map +1 -0
- package/dist/modules/chainsync/domain/dto/index.d.ts +5 -0
- package/dist/modules/chainsync/domain/dto/index.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/dto/index.js +21 -0
- package/dist/modules/chainsync/domain/dto/index.js.map +1 -0
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.d.ts +10 -0
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.js +54 -0
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.js.map +1 -0
- package/dist/modules/chainsync/domain/index.d.ts +2 -0
- package/dist/modules/chainsync/domain/index.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/index.js +18 -0
- package/dist/modules/chainsync/domain/index.js.map +1 -0
- package/dist/modules/chainsync/index.d.ts +2 -0
- package/dist/modules/chainsync/index.d.ts.map +1 -0
- package/dist/modules/chainsync/index.js +18 -0
- package/dist/modules/chainsync/index.js.map +1 -0
- package/dist/modules/index.d.ts +6 -0
- package/dist/modules/index.d.ts.map +1 -0
- package/dist/modules/index.js +22 -0
- package/dist/modules/index.js.map +1 -0
- package/dist/modules/network/domain/dto/index.d.ts +5 -0
- package/dist/modules/network/domain/dto/index.d.ts.map +1 -0
- package/dist/modules/network/domain/dto/index.js +21 -0
- package/dist/modules/network/domain/dto/index.js.map +1 -0
- package/dist/modules/network/domain/dto/network.dto.d.ts +50 -0
- package/dist/modules/network/domain/dto/network.dto.d.ts.map +1 -0
- package/dist/modules/network/domain/dto/network.dto.js +66 -0
- package/dist/modules/network/domain/dto/network.dto.js.map +1 -0
- package/dist/modules/network/domain/dto/network.update.dto.d.ts +66 -0
- package/dist/modules/network/domain/dto/network.update.dto.d.ts.map +1 -0
- package/dist/modules/network/domain/dto/network.update.dto.js +87 -0
- package/dist/modules/network/domain/dto/network.update.dto.js.map +1 -0
- package/dist/modules/network/domain/dto/network_provider.dto.d.ts +42 -0
- package/dist/modules/network/domain/dto/network_provider.dto.d.ts.map +1 -0
- package/dist/modules/network/domain/dto/network_provider.dto.js +53 -0
- package/dist/modules/network/domain/dto/network_provider.dto.js.map +1 -0
- package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts +45 -0
- package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts.map +1 -0
- package/dist/modules/network/domain/dto/network_provider.update.dto.js +58 -0
- package/dist/modules/network/domain/dto/network_provider.update.dto.js.map +1 -0
- package/dist/modules/network/domain/enums/chain_type.enum.d.ts +8 -0
- package/dist/modules/network/domain/enums/chain_type.enum.d.ts.map +1 -0
- package/dist/modules/network/domain/enums/chain_type.enum.js +25 -0
- package/dist/modules/network/domain/enums/chain_type.enum.js.map +1 -0
- package/dist/modules/network/domain/enums/coin_type.enum.d.ts +8 -0
- package/dist/modules/network/domain/enums/coin_type.enum.d.ts.map +1 -0
- package/dist/modules/network/domain/enums/coin_type.enum.js +12 -0
- package/dist/modules/network/domain/enums/coin_type.enum.js.map +1 -0
- package/dist/modules/network/domain/enums/index.d.ts +4 -0
- package/dist/modules/network/domain/enums/index.d.ts.map +1 -0
- package/dist/modules/network/domain/enums/index.js +20 -0
- package/dist/modules/network/domain/enums/index.js.map +1 -0
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.d.ts +7 -0
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.d.ts.map +1 -0
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.js +11 -0
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.js.map +1 -0
- package/dist/modules/network/domain/index.d.ts +3 -0
- package/dist/modules/network/domain/index.d.ts.map +1 -0
- package/dist/modules/network/domain/index.js +19 -0
- package/dist/modules/network/domain/index.js.map +1 -0
- package/dist/modules/network/index.d.ts +2 -0
- package/dist/modules/network/index.d.ts.map +1 -0
- package/dist/modules/network/index.js +18 -0
- package/dist/modules/network/index.js.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.d.ts +21 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.js +35 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.d.ts +24 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js +40 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.d.ts +28 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js +40 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts +35 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js +19 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/index.d.ts +5 -0
- package/dist/modules/quote/domain/dto/affiliate/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/index.js +21 -0
- package/dist/modules/quote/domain/dto/affiliate/index.js.map +1 -0
- package/dist/modules/quote/domain/dto/index.d.ts +4 -0
- package/dist/modules/quote/domain/dto/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/index.js +20 -0
- package/dist/modules/quote/domain/dto/index.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/index.d.ts +16 -0
- package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/index.js +32 -0
- package/dist/modules/quote/domain/dto/quote/index.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote.dto.d.ts +9 -0
- package/dist/modules/quote/domain/dto/quote/quote.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote.dto.js +21 -0
- package/dist/modules/quote/domain/dto/quote/quote.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts +14 -0
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js +27 -0
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.d.ts +14 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.js +28 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts +17 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js +22 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts +44 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js +47 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.d.ts +8 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.js +22 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.d.ts +4 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.js +3 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts +10 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.js +3 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts +16 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js +57 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts +9 -0
- package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_request.dto.js +26 -0
- package/dist/modules/quote/domain/dto/quote/quote_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts +50 -0
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js +21 -0
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +24 -0
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +41 -0
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts +50 -0
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js +21 -0
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.d.ts +14 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.js +31 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts +3 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js +7 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts +8 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js +21 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.d.ts +8 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.js +21 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.d.ts +18 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.js +30 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.d.ts +23 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js +7 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/refund/index.d.ts +5 -0
- package/dist/modules/quote/domain/dto/refund/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/refund/index.js +21 -0
- package/dist/modules/quote/domain/dto/refund/index.js.map +1 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.d.ts +13 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.js +26 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.d.ts +8 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.js +21 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/enums/index.d.ts +9 -0
- package/dist/modules/quote/domain/enums/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/index.js +25 -0
- package/dist/modules/quote/domain/enums/index.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.d.ts +4 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.js +8 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.d.ts +15 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.js +22 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_intent_type.enum.d.ts +4 -0
- package/dist/modules/quote/domain/enums/quote_intent_type.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_intent_type.enum.js +8 -0
- package/dist/modules/quote/domain/enums/quote_intent_type.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts +16 -0
- package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_request_action.enum.js +20 -0
- package/dist/modules/quote/domain/enums/quote_request_action.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.d.ts +31 -0
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.js +40 -0
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_response_action.enum.d.ts +12 -0
- package/dist/modules/quote/domain/enums/quote_response_action.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_response_action.enum.js +16 -0
- package/dist/modules/quote/domain/enums/quote_response_action.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.d.ts +26 -0
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.js +35 -0
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/selection_status.enum.d.ts +5 -0
- package/dist/modules/quote/domain/enums/selection_status.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/selection_status.enum.js +9 -0
- package/dist/modules/quote/domain/enums/selection_status.enum.js.map +1 -0
- package/dist/modules/quote/domain/index.d.ts +3 -0
- package/dist/modules/quote/domain/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/index.js +19 -0
- package/dist/modules/quote/domain/index.js.map +1 -0
- package/dist/modules/quote/index.d.ts +2 -0
- package/dist/modules/quote/index.d.ts.map +1 -0
- package/dist/modules/quote/index.js +18 -0
- package/dist/modules/quote/index.js.map +1 -0
- package/dist/modules/swap/domain/dto/index.d.ts +4 -0
- package/dist/modules/swap/domain/dto/index.d.ts.map +1 -0
- package/dist/modules/swap/domain/dto/index.js +20 -0
- package/dist/modules/swap/domain/dto/index.js.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.d.ts +9 -0
- package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.d.ts.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.js +25 -0
- package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.js.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_request.dto.d.ts +18 -0
- package/dist/modules/swap/domain/dto/token_swap_request.dto.d.ts.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_request.dto.js +31 -0
- package/dist/modules/swap/domain/dto/token_swap_request.dto.js.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_response.dto.d.ts +18 -0
- package/dist/modules/swap/domain/dto/token_swap_response.dto.d.ts.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_response.dto.js +32 -0
- package/dist/modules/swap/domain/dto/token_swap_response.dto.js.map +1 -0
- package/dist/modules/swap/domain/index.d.ts +2 -0
- package/dist/modules/swap/domain/index.d.ts.map +1 -0
- package/dist/modules/swap/domain/index.js +18 -0
- package/dist/modules/swap/domain/index.js.map +1 -0
- package/dist/modules/swap/index.d.ts +2 -0
- package/dist/modules/swap/index.d.ts.map +1 -0
- package/dist/modules/swap/index.js +18 -0
- package/dist/modules/swap/index.js.map +1 -0
- package/dist/modules/token/domain/dto/index.d.ts +4 -0
- package/dist/modules/token/domain/dto/index.d.ts.map +1 -0
- package/dist/modules/token/domain/dto/index.js +20 -0
- package/dist/modules/token/domain/dto/index.js.map +1 -0
- package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts +27 -0
- package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts.map +1 -0
- package/dist/modules/token/domain/dto/network_contract_find_token.dto.js +46 -0
- package/dist/modules/token/domain/dto/network_contract_find_token.dto.js.map +1 -0
- package/dist/modules/token/domain/dto/token.dto.d.ts +59 -0
- package/dist/modules/token/domain/dto/token.dto.d.ts.map +1 -0
- package/dist/modules/token/domain/dto/token.dto.js +70 -0
- package/dist/modules/token/domain/dto/token.dto.js.map +1 -0
- package/dist/modules/token/domain/dto/token.update.dto.d.ts +66 -0
- package/dist/modules/token/domain/dto/token.update.dto.d.ts.map +1 -0
- package/dist/modules/token/domain/dto/token.update.dto.js +75 -0
- package/dist/modules/token/domain/dto/token.update.dto.js.map +1 -0
- package/dist/modules/token/domain/index.d.ts +2 -0
- package/dist/modules/token/domain/index.d.ts.map +1 -0
- package/dist/modules/token/domain/index.js +18 -0
- package/dist/modules/token/domain/index.js.map +1 -0
- package/dist/modules/token/index.d.ts +2 -0
- package/dist/modules/token/index.d.ts.map +1 -0
- package/dist/modules/token/index.js +18 -0
- package/dist/modules/token/index.js.map +1 -0
- package/package.json +22 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare class TokenDto {
|
|
2
|
+
/**
|
|
3
|
+
* @description Converts an entity object into a TokenDto.
|
|
4
|
+
* @param obj The entity object to convert.
|
|
5
|
+
* @returns A TokenDto instance.
|
|
6
|
+
*/
|
|
7
|
+
static from<T extends {
|
|
8
|
+
networkId: string;
|
|
9
|
+
name: string;
|
|
10
|
+
symbol: string;
|
|
11
|
+
contract?: string;
|
|
12
|
+
image: string;
|
|
13
|
+
decimals: number;
|
|
14
|
+
}>(obj: T): TokenDto;
|
|
15
|
+
/**
|
|
16
|
+
* @description Converts a list of entity objects into an array of TokenDto.
|
|
17
|
+
* @param objs The array of entity objects to convert.
|
|
18
|
+
* @returns An array of TokenDto instances.
|
|
19
|
+
*/
|
|
20
|
+
static listFrom<T extends {
|
|
21
|
+
networkId: string;
|
|
22
|
+
name: string;
|
|
23
|
+
symbol: string;
|
|
24
|
+
contract?: string;
|
|
25
|
+
image: string;
|
|
26
|
+
decimals: number;
|
|
27
|
+
}>(objs: T[]): TokenDto[];
|
|
28
|
+
/**
|
|
29
|
+
* @description The ID of the token's network
|
|
30
|
+
* @example '123e4567-e89b-12d3-a456-426614174000'
|
|
31
|
+
*/
|
|
32
|
+
networkId: string;
|
|
33
|
+
/**
|
|
34
|
+
* @description The name of the token
|
|
35
|
+
* @example 'Ethereum'
|
|
36
|
+
*/
|
|
37
|
+
name: string;
|
|
38
|
+
/**
|
|
39
|
+
* @description The symbol of the token
|
|
40
|
+
* @example 'ETH'
|
|
41
|
+
*/
|
|
42
|
+
symbol: string;
|
|
43
|
+
/**
|
|
44
|
+
* @description Image URL for the token
|
|
45
|
+
* @example '/public/images/token/usdt.svg'
|
|
46
|
+
*/
|
|
47
|
+
image: string;
|
|
48
|
+
/**
|
|
49
|
+
* @description The contract address of the token (optional)
|
|
50
|
+
* @example '0xc0...'
|
|
51
|
+
*/
|
|
52
|
+
contract?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @description The number of decimals the token uses
|
|
55
|
+
* @example 18
|
|
56
|
+
*/
|
|
57
|
+
decimals: number;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=token.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/token.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,QAAQ;IACnB;;;;OAIG;WACW,IAAI,CAChB,CAAC,SAAS;QACR,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,EACD,GAAG,EAAE,CAAC,GAAG,QAAQ;IAWnB;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,QAAQ,EAAE;IAKxB;;;OAGG;IAGH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAGH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IAGH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IAGH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAGH,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TokenDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const common_1 = require("../../../../common");
|
|
15
|
+
class TokenDto {
|
|
16
|
+
/**
|
|
17
|
+
* @description Converts an entity object into a TokenDto.
|
|
18
|
+
* @param obj The entity object to convert.
|
|
19
|
+
* @returns A TokenDto instance.
|
|
20
|
+
*/
|
|
21
|
+
static from(obj) {
|
|
22
|
+
const dto = new TokenDto();
|
|
23
|
+
dto.networkId = obj.networkId;
|
|
24
|
+
dto.name = obj.name;
|
|
25
|
+
dto.symbol = obj.symbol;
|
|
26
|
+
dto.contract = obj.contract;
|
|
27
|
+
dto.decimals = obj.decimals;
|
|
28
|
+
dto.image = obj.image;
|
|
29
|
+
return dto;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @description Converts a list of entity objects into an array of TokenDto.
|
|
33
|
+
* @param objs The array of entity objects to convert.
|
|
34
|
+
* @returns An array of TokenDto instances.
|
|
35
|
+
*/
|
|
36
|
+
static listFrom(objs) {
|
|
37
|
+
return (0, common_1.makeList)(objs, TokenDto.from);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.TokenDto = TokenDto;
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsUUID)(),
|
|
43
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], TokenDto.prototype, "networkId", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], TokenDto.prototype, "name", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], TokenDto.prototype, "symbol", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
58
|
+
(0, class_validator_1.IsString)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], TokenDto.prototype, "image", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], TokenDto.prototype, "contract", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
67
|
+
(0, class_validator_1.IsNumber)(),
|
|
68
|
+
__metadata("design:type", Number)
|
|
69
|
+
], TokenDto.prototype, "decimals", void 0);
|
|
70
|
+
//# sourceMappingURL=token.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token.dto.js","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/token.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,+CAA8C;AAE9C,MAAa,QAAQ;IACnB;;;;OAIG;IACI,MAAM,CAAC,IAAI,CAShB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC3B,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAC9B,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACpB,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QACxB,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC5B,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC5B,GAAG,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACtB,OAAO,GAAG,CAAC;IACb,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CASb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;CAiDF;AA3FD,4BA2FC;AAxCC;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;2CACK;AAQlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sCACE;AAQb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wCACI;AAQf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uCACG;AAOd;IADC,IAAA,0BAAQ,GAAE;;0CACO;AAQlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACM"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare class TokenUpdateDto {
|
|
2
|
+
/**
|
|
3
|
+
* @description The unique identifier for the token
|
|
4
|
+
* @example '123e4567-e89b-12d3-a456-426614174000'
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* @description The ID of the token's network
|
|
9
|
+
* @example '123e4567-e89b-12d3-a456-426614174000'
|
|
10
|
+
*/
|
|
11
|
+
networkId: string;
|
|
12
|
+
/**
|
|
13
|
+
* @description The name of the token
|
|
14
|
+
* @example 'Ethereum'
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* @description The symbol of the token
|
|
19
|
+
* @example 'ETH'
|
|
20
|
+
*/
|
|
21
|
+
symbol: string;
|
|
22
|
+
/**
|
|
23
|
+
* @description The image URL for the token
|
|
24
|
+
* @example '/public/images/token/usdt.svg'
|
|
25
|
+
*/
|
|
26
|
+
image: string;
|
|
27
|
+
/**
|
|
28
|
+
* @description The contract address of the token (optional)
|
|
29
|
+
* @example '0xc0...'
|
|
30
|
+
*/
|
|
31
|
+
contract?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @description The number of decimals the token uses
|
|
34
|
+
* @example 18
|
|
35
|
+
*/
|
|
36
|
+
decimals: number;
|
|
37
|
+
/**
|
|
38
|
+
* @description Converts an entity to TokenUpdateDto
|
|
39
|
+
* @param obj The entity to convert
|
|
40
|
+
* @returns A TokenUpdateDto instance
|
|
41
|
+
*/
|
|
42
|
+
static from<T extends {
|
|
43
|
+
id: string;
|
|
44
|
+
networkId: string;
|
|
45
|
+
name: string;
|
|
46
|
+
symbol: string;
|
|
47
|
+
image: string;
|
|
48
|
+
contract?: string;
|
|
49
|
+
decimals: number;
|
|
50
|
+
}>(obj: T): TokenUpdateDto;
|
|
51
|
+
/**
|
|
52
|
+
* @description Converts a list of entities to an array of TokenUpdateDto
|
|
53
|
+
* @param objs The array of entity objects
|
|
54
|
+
* @returns An array of TokenUpdateDto instances
|
|
55
|
+
*/
|
|
56
|
+
static listFrom<T extends {
|
|
57
|
+
id: string;
|
|
58
|
+
networkId: string;
|
|
59
|
+
name: string;
|
|
60
|
+
symbol: string;
|
|
61
|
+
image: string;
|
|
62
|
+
contract?: string;
|
|
63
|
+
decimals: number;
|
|
64
|
+
}>(objs: T[]): TokenUpdateDto[];
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=token.update.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token.update.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/token.update.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,cAAc;IACzB;;;OAGG;IAEH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAGH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAGH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IAGH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IAGH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;WACW,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;KAClB,EACD,GAAG,EAAE,CAAC,GAAG,cAAc;IAYzB;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;KAClB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE;CAG/B"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TokenUpdateDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const common_1 = require("../../../../common");
|
|
15
|
+
class TokenUpdateDto {
|
|
16
|
+
/**
|
|
17
|
+
* @description Converts an entity to TokenUpdateDto
|
|
18
|
+
* @param obj The entity to convert
|
|
19
|
+
* @returns A TokenUpdateDto instance
|
|
20
|
+
*/
|
|
21
|
+
static from(obj) {
|
|
22
|
+
const dto = new TokenUpdateDto();
|
|
23
|
+
dto.id = obj.id;
|
|
24
|
+
dto.networkId = obj.networkId;
|
|
25
|
+
dto.name = obj.name;
|
|
26
|
+
dto.symbol = obj.symbol;
|
|
27
|
+
dto.image = obj.image;
|
|
28
|
+
dto.contract = obj.contract;
|
|
29
|
+
dto.decimals = obj.decimals;
|
|
30
|
+
return dto;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @description Converts a list of entities to an array of TokenUpdateDto
|
|
34
|
+
* @param objs The array of entity objects
|
|
35
|
+
* @returns An array of TokenUpdateDto instances
|
|
36
|
+
*/
|
|
37
|
+
static listFrom(objs) {
|
|
38
|
+
return (0, common_1.makeList)(objs, TokenUpdateDto.from);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.TokenUpdateDto = TokenUpdateDto;
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsUUID)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], TokenUpdateDto.prototype, "id", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsUUID)(),
|
|
48
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], TokenUpdateDto.prototype, "networkId", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], TokenUpdateDto.prototype, "name", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
58
|
+
(0, class_validator_1.IsString)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], TokenUpdateDto.prototype, "symbol", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
63
|
+
(0, class_validator_1.IsString)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], TokenUpdateDto.prototype, "image", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], TokenUpdateDto.prototype, "contract", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
72
|
+
(0, class_validator_1.IsNumber)(),
|
|
73
|
+
__metadata("design:type", Number)
|
|
74
|
+
], TokenUpdateDto.prototype, "decimals", void 0);
|
|
75
|
+
//# sourceMappingURL=token.update.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token.update.dto.js","sourceRoot":"","sources":["../../../../../src/modules/token/domain/dto/token.update.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,+CAA8C;AAE9C,MAAa,cAAc;IAuDzB;;;;OAIG;IACI,MAAM,CAAC,IAAI,CAUhB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,cAAc,EAAE,CAAC;QACjC,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC;QAChB,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAC9B,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACpB,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QACxB,GAAG,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACtB,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC5B,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC5B,OAAO,GAAG,CAAC;IACb,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CAUb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;CACF;AApGD,wCAoGC;AA9FC;IADC,IAAA,wBAAM,GAAE;;0CACE;AAQX;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;iDACK;AAQlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACE;AAQb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACI;AAQf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAOd;IADC,IAAA,0BAAQ,GAAE;;gDACO;AAQlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/token/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
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);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/token/domain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/token/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
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);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./domain"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/token/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@plutonlabs/sdk",
|
|
3
|
+
"version": "0.0.1-beta",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"files": ["dist"],
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [],
|
|
11
|
+
"author": "",
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"description": "",
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"typescript": "^5.7.3"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"bignumber.js": "^9.1.2",
|
|
19
|
+
"class-transformer": "^0.5.1",
|
|
20
|
+
"class-validator": "^0.14.1"
|
|
21
|
+
}
|
|
22
|
+
}
|