@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,66 @@
|
|
|
1
|
+
export declare class NetworkUpdateDto {
|
|
2
|
+
static from<T extends {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
image: string;
|
|
6
|
+
coinType: number;
|
|
7
|
+
chainId: number;
|
|
8
|
+
lastParsedBlock: number;
|
|
9
|
+
confirmationCount: number;
|
|
10
|
+
}>(obj: T): NetworkUpdateDto;
|
|
11
|
+
static listFrom<T extends {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
image: string;
|
|
15
|
+
coinType: number;
|
|
16
|
+
chainId: number;
|
|
17
|
+
lastParsedBlock: number;
|
|
18
|
+
confirmationCount: number;
|
|
19
|
+
}>(objs: T[]): NetworkUpdateDto[];
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example 'Ethereum Mainnet'
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* @example '/public/images/networks/ethereum.svg'
|
|
27
|
+
*/
|
|
28
|
+
image: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example 0
|
|
31
|
+
* @description Coin type of the network
|
|
32
|
+
*/
|
|
33
|
+
coinType: number;
|
|
34
|
+
/**
|
|
35
|
+
* @example 1
|
|
36
|
+
* @description Chain ID of the network
|
|
37
|
+
*/
|
|
38
|
+
chainId: number;
|
|
39
|
+
/**
|
|
40
|
+
* @example 12345678
|
|
41
|
+
* @description Last parsed block number
|
|
42
|
+
*/
|
|
43
|
+
lastParsedBlock: number;
|
|
44
|
+
/**
|
|
45
|
+
* @example 12
|
|
46
|
+
* @description Confirmation count for the network
|
|
47
|
+
*/
|
|
48
|
+
confirmationCount: number;
|
|
49
|
+
}
|
|
50
|
+
export declare class NetworkLastParsedBlockUpdate {
|
|
51
|
+
static from<T extends {
|
|
52
|
+
id: string;
|
|
53
|
+
lastParsedBlock: number;
|
|
54
|
+
}>(obj: T): NetworkLastParsedBlockUpdate;
|
|
55
|
+
static listFrom<T extends {
|
|
56
|
+
id: string;
|
|
57
|
+
lastParsedBlock: number;
|
|
58
|
+
}>(objs: T[]): NetworkLastParsedBlockUpdate[];
|
|
59
|
+
id: string;
|
|
60
|
+
/**
|
|
61
|
+
* @example 12345678
|
|
62
|
+
* @description Last parsed block number
|
|
63
|
+
*/
|
|
64
|
+
lastParsedBlock: number;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=network.update.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network.update.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/network.update.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;WACb,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,eAAe,EAAE,MAAM,CAAC;QACxB,iBAAiB,EAAE,MAAM,CAAC;KAC3B,EACD,GAAG,EAAE,CAAC,GAAG,gBAAgB;IAY3B,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,eAAe,EAAE,MAAM,CAAC;QACxB,iBAAiB,EAAE,MAAM,CAAC;KAC3B,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,gBAAgB,EAAE;IAKhC,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IAGH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IAGH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IAGH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAGH,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,qBAAa,4BAA4B;WACzB,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,eAAe,EAAE,MAAM,CAAC;KACzB,EACD,GAAG,EAAE,CAAC,GAAG,4BAA4B;IAOvC,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,eAAe,EAAE,MAAM,CAAC;KACzB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,4BAA4B,EAAE;IAK5C,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAGH,eAAe,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.NetworkLastParsedBlockUpdate = exports.NetworkUpdateDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const list_1 = require("../../../../common/utils/list");
|
|
15
|
+
class NetworkUpdateDto {
|
|
16
|
+
static from(obj) {
|
|
17
|
+
const dto = new NetworkUpdateDto();
|
|
18
|
+
dto.id = obj.id;
|
|
19
|
+
dto.name = obj.name;
|
|
20
|
+
dto.image = obj.image;
|
|
21
|
+
dto.coinType = obj.coinType;
|
|
22
|
+
dto.chainId = obj.chainId;
|
|
23
|
+
dto.lastParsedBlock = obj.lastParsedBlock;
|
|
24
|
+
dto.confirmationCount = obj.confirmationCount;
|
|
25
|
+
return dto;
|
|
26
|
+
}
|
|
27
|
+
static listFrom(objs) {
|
|
28
|
+
return (0, list_1.makeList)(objs, NetworkUpdateDto.from);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.NetworkUpdateDto = NetworkUpdateDto;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsUUID)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], NetworkUpdateDto.prototype, "id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], NetworkUpdateDto.prototype, "name", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], NetworkUpdateDto.prototype, "image", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
48
|
+
(0, class_validator_1.IsNumber)(),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], NetworkUpdateDto.prototype, "coinType", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
53
|
+
(0, class_validator_1.IsNumber)(),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], NetworkUpdateDto.prototype, "chainId", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
58
|
+
(0, class_validator_1.IsNumber)(),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], NetworkUpdateDto.prototype, "lastParsedBlock", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
63
|
+
(0, class_validator_1.IsNumber)(),
|
|
64
|
+
__metadata("design:type", Number)
|
|
65
|
+
], NetworkUpdateDto.prototype, "confirmationCount", void 0);
|
|
66
|
+
class NetworkLastParsedBlockUpdate {
|
|
67
|
+
static from(obj) {
|
|
68
|
+
const dto = new NetworkLastParsedBlockUpdate();
|
|
69
|
+
dto.id = obj.id;
|
|
70
|
+
dto.lastParsedBlock = obj.lastParsedBlock;
|
|
71
|
+
return dto;
|
|
72
|
+
}
|
|
73
|
+
static listFrom(objs) {
|
|
74
|
+
return (0, list_1.makeList)(objs, NetworkLastParsedBlockUpdate.from);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.NetworkLastParsedBlockUpdate = NetworkLastParsedBlockUpdate;
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsUUID)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], NetworkLastParsedBlockUpdate.prototype, "id", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
84
|
+
(0, class_validator_1.IsNumber)(),
|
|
85
|
+
__metadata("design:type", Number)
|
|
86
|
+
], NetworkLastParsedBlockUpdate.prototype, "lastParsedBlock", void 0);
|
|
87
|
+
//# sourceMappingURL=network.update.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network.update.dto.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/network.update.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,wDAAyD;AAEzD,MAAa,gBAAgB;IACpB,MAAM,CAAC,IAAI,CAUhB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,gBAAgB,EAAE,CAAC;QACnC,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC;QAChB,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACpB,GAAG,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACtB,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC5B,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAC1B,GAAG,CAAC,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;QAC1C,GAAG,CAAC,iBAAiB,GAAG,GAAG,CAAC,iBAAiB,CAAC;QAC9C,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CAUb,IAAS;QACT,OAAO,IAAA,eAAQ,EAAC,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;CAkDF;AArFD,4CAqFC;AA/CC;IADC,IAAA,wBAAM,GAAE;;4CACE;AAOX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACE;AAOb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACG;AAQd;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACK;AAQhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACa;AAQxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACe;AAG5B,MAAa,4BAA4B;IAChC,MAAM,CAAC,IAAI,CAKhB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,4BAA4B,EAAE,CAAC;QAC/C,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC;QAChB,GAAG,CAAC,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;QAC1C,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CAKb,IAAS;QACT,OAAO,IAAA,eAAQ,EAAC,IAAI,EAAE,4BAA4B,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;CAYF;AAhCD,oEAgCC;AATC;IADC,IAAA,wBAAM,GAAE;;wDACE;AAQX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEACa"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ProviderProtocolType } from '../enums';
|
|
2
|
+
export declare class NetworkProviderDto {
|
|
3
|
+
static from<T extends {
|
|
4
|
+
networkId: string;
|
|
5
|
+
name: string;
|
|
6
|
+
protocolType: ProviderProtocolType;
|
|
7
|
+
url: string;
|
|
8
|
+
apiKey: string;
|
|
9
|
+
}>(obj: T): NetworkProviderDto;
|
|
10
|
+
static listFrom<T extends {
|
|
11
|
+
networkId: string;
|
|
12
|
+
name: string;
|
|
13
|
+
protocolType: ProviderProtocolType;
|
|
14
|
+
url: string;
|
|
15
|
+
apiKey: string;
|
|
16
|
+
}>(objs: T[]): NetworkProviderDto[];
|
|
17
|
+
/**
|
|
18
|
+
* @example 1
|
|
19
|
+
* @description id of token network
|
|
20
|
+
*/
|
|
21
|
+
networkId: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example 'Ethereum Mainnet'
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example 1
|
|
28
|
+
* @description The protocol type of the provider
|
|
29
|
+
*/
|
|
30
|
+
protocolType: ProviderProtocolType;
|
|
31
|
+
/**
|
|
32
|
+
* @example 'https://example.com'
|
|
33
|
+
* @description provider URL address
|
|
34
|
+
*/
|
|
35
|
+
url: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example 'a1b123123124532534534563465475685'
|
|
38
|
+
* @description provider connection API key
|
|
39
|
+
*/
|
|
40
|
+
apiKey: string;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=network_provider.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network_provider.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/network_provider.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD,qBAAa,kBAAkB;WACf,IAAI,CAChB,CAAC,SAAS;QACR,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,oBAAoB,CAAC;QACnC,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;KAChB,EACD,GAAG,EAAE,CAAC,GAAG,kBAAkB;IAU7B,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,oBAAoB,CAAC;QACnC,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;KAChB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE;IAIlC;;;OAGG;IAGH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IAGH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IAEH,YAAY,EAAE,oBAAoB,CAAC;IAEnC;;;OAGG;IAEH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IAEH,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.NetworkProviderDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const list_1 = require("../../../../common/utils/list");
|
|
15
|
+
const enums_1 = require("../enums");
|
|
16
|
+
class NetworkProviderDto {
|
|
17
|
+
static from(obj) {
|
|
18
|
+
const dto = new NetworkProviderDto();
|
|
19
|
+
dto.networkId = obj.networkId;
|
|
20
|
+
dto.name = obj.name;
|
|
21
|
+
dto.protocolType = obj.protocolType;
|
|
22
|
+
dto.url = obj.url;
|
|
23
|
+
dto.apiKey = obj.apiKey;
|
|
24
|
+
return dto;
|
|
25
|
+
}
|
|
26
|
+
static listFrom(objs) {
|
|
27
|
+
return (0, list_1.makeList)(objs, NetworkProviderDto.from);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.NetworkProviderDto = NetworkProviderDto;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsUUID)(),
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], NetworkProviderDto.prototype, "networkId", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], NetworkProviderDto.prototype, "name", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], NetworkProviderDto.prototype, "protocolType", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], NetworkProviderDto.prototype, "url", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], NetworkProviderDto.prototype, "apiKey", void 0);
|
|
53
|
+
//# sourceMappingURL=network_provider.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network_provider.dto.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/network_provider.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,wDAAyD;AACzD,oCAAgD;AAEhD,MAAa,kBAAkB;IACtB,MAAM,CAAC,IAAI,CAQhB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,kBAAkB,EAAE,CAAC;QACrC,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAC9B,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACpB,GAAG,CAAC,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC;QACpC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;QAClB,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QACxB,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CAQb,IAAS;QACT,OAAO,IAAA,eAAQ,EAAC,IAAI,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;CAqCF;AAlED,gDAkEC;AA7BC;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;qDACK;AAOlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACE;AAOb;IADC,IAAA,4BAAU,GAAE;;wDACsB;AAOnC;IADC,IAAA,0BAAQ,GAAE;;+CACC;AAOZ;IADC,IAAA,0BAAQ,GAAE;;kDACI"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ProviderProtocolType } from "../enums";
|
|
2
|
+
export declare class NetworkProviderUpdateDto {
|
|
3
|
+
static from<T extends {
|
|
4
|
+
id: string;
|
|
5
|
+
networkId: string;
|
|
6
|
+
name: string;
|
|
7
|
+
protocolType: ProviderProtocolType;
|
|
8
|
+
url: string;
|
|
9
|
+
apiKey: string;
|
|
10
|
+
}>(obj: T): NetworkProviderUpdateDto;
|
|
11
|
+
static listFrom<T extends {
|
|
12
|
+
id: string;
|
|
13
|
+
networkId: string;
|
|
14
|
+
name: string;
|
|
15
|
+
protocolType: ProviderProtocolType;
|
|
16
|
+
url: string;
|
|
17
|
+
apiKey: string;
|
|
18
|
+
}>(objs: T[]): NetworkProviderUpdateDto[];
|
|
19
|
+
id: string;
|
|
20
|
+
/**
|
|
21
|
+
* @example '1'
|
|
22
|
+
* @description ID of the token network
|
|
23
|
+
*/
|
|
24
|
+
networkId: string;
|
|
25
|
+
/**
|
|
26
|
+
* @example 'Ethereum Mainnet'
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example 1
|
|
31
|
+
* @description The protocol type of the provider
|
|
32
|
+
*/
|
|
33
|
+
protocolType: ProviderProtocolType;
|
|
34
|
+
/**
|
|
35
|
+
* @example 'https://example.com'
|
|
36
|
+
* @description Provider URL address
|
|
37
|
+
*/
|
|
38
|
+
url: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example 'a1b123123124532534534563465475685'
|
|
41
|
+
* @description Provider connection API key
|
|
42
|
+
*/
|
|
43
|
+
apiKey: string;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=network_provider.update.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network_provider.update.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/network_provider.update.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAGhD,qBAAa,wBAAwB;WACrB,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,oBAAoB,CAAC;QACnC,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;KAChB,EACD,GAAG,EAAE,CAAC,GAAG,wBAAwB;IAWnC,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,oBAAoB,CAAC;QACnC,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;KAChB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,wBAAwB,EAAE;IAKxC,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAGH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IAGH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IAEH,YAAY,EAAE,oBAAoB,CAAC;IAEnC;;;OAGG;IAEH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IAEH,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.NetworkProviderUpdateDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const enums_1 = require("../enums");
|
|
15
|
+
const list_1 = require("../../../../common/utils/list");
|
|
16
|
+
class NetworkProviderUpdateDto {
|
|
17
|
+
static from(obj) {
|
|
18
|
+
const dto = new NetworkProviderUpdateDto();
|
|
19
|
+
dto.id = obj.id;
|
|
20
|
+
dto.networkId = obj.networkId;
|
|
21
|
+
dto.name = obj.name;
|
|
22
|
+
dto.protocolType = obj.protocolType;
|
|
23
|
+
dto.url = obj.url;
|
|
24
|
+
dto.apiKey = obj.apiKey;
|
|
25
|
+
return dto;
|
|
26
|
+
}
|
|
27
|
+
static listFrom(objs) {
|
|
28
|
+
return (0, list_1.makeList)(objs, NetworkProviderUpdateDto.from);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.NetworkProviderUpdateDto = NetworkProviderUpdateDto;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsUUID)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], NetworkProviderUpdateDto.prototype, "id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsUUID)(),
|
|
38
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], NetworkProviderUpdateDto.prototype, "networkId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], NetworkProviderUpdateDto.prototype, "name", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], NetworkProviderUpdateDto.prototype, "protocolType", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsString)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], NetworkProviderUpdateDto.prototype, "url", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsString)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], NetworkProviderUpdateDto.prototype, "apiKey", void 0);
|
|
58
|
+
//# sourceMappingURL=network_provider.update.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network_provider.update.dto.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/network_provider.update.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,oCAAgD;AAChD,wDAAyD;AAEzD,MAAa,wBAAwB;IAC5B,MAAM,CAAC,IAAI,CAShB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,wBAAwB,EAAE,CAAC;QAC3C,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,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC;QACpC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;QAClB,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QACxB,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CASb,IAAS;QACT,OAAO,IAAA,eAAQ,EAAC,IAAI,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;CAwCF;AAxED,4DAwEC;AArCC;IADC,IAAA,wBAAM,GAAE;;oDACE;AAQX;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;2DACK;AAOlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACE;AAOb;IADC,IAAA,4BAAU,GAAE;;8DACsB;AAOnC;IADC,IAAA,0BAAQ,GAAE;;qDACC;AAOZ;IADC,IAAA,0BAAQ,GAAE;;wDACI"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CoinType } from './coin_type.enum';
|
|
2
|
+
export declare enum ChainType {
|
|
3
|
+
NONE = "none",
|
|
4
|
+
EVM_BASE = "evm_base",
|
|
5
|
+
TON_BASE = "ton_base"
|
|
6
|
+
}
|
|
7
|
+
export declare const coinTypeToChainType: (coinType: CoinType) => ChainType;
|
|
8
|
+
//# sourceMappingURL=chain_type.enum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chain_type.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/chain_type.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,mBAAmB,aAAc,QAAQ,cAarD,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.coinTypeToChainType = exports.ChainType = void 0;
|
|
4
|
+
var ChainType;
|
|
5
|
+
(function (ChainType) {
|
|
6
|
+
ChainType["NONE"] = "none";
|
|
7
|
+
ChainType["EVM_BASE"] = "evm_base";
|
|
8
|
+
ChainType["TON_BASE"] = "ton_base";
|
|
9
|
+
})(ChainType || (exports.ChainType = ChainType = {}));
|
|
10
|
+
const coinTypeToChainType = (coinType) => {
|
|
11
|
+
if (coinType == 60 ||
|
|
12
|
+
coinType == 8453 ||
|
|
13
|
+
coinType == 9001 ||
|
|
14
|
+
coinType == 5000) {
|
|
15
|
+
return ChainType.EVM_BASE;
|
|
16
|
+
}
|
|
17
|
+
else if (coinType == 607) {
|
|
18
|
+
return ChainType.TON_BASE;
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
return ChainType.NONE;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.coinTypeToChainType = coinTypeToChainType;
|
|
25
|
+
//# sourceMappingURL=chain_type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chain_type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/chain_type.enum.ts"],"names":[],"mappings":";;;AAEA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,0BAAa,CAAA;IACb,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;AACvB,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAEM,MAAM,mBAAmB,GAAG,CAAC,QAAkB,EAAE,EAAE;IACxD,IACE,QAAQ,IAAI,EAAE;QACd,QAAQ,IAAI,IAAI;QAChB,QAAQ,IAAI,IAAI;QAChB,QAAQ,IAAI,IAAI,EAChB,CAAC;QACD,OAAO,SAAS,CAAC,QAAQ,CAAC;IAC5B,CAAC;SAAM,IAAI,QAAQ,IAAI,GAAG,EAAE,CAAC;QAC3B,OAAO,SAAS,CAAC,QAAQ,CAAC;IAC5B,CAAC;SAAM,CAAC;QACN,OAAO,SAAS,CAAC,IAAI,CAAC;IACxB,CAAC;AACH,CAAC,CAAC;AAbW,QAAA,mBAAmB,uBAa9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coin_type.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/coin_type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,QAAQ,KAAK;IACb,GAAG,MAAM;IACT,QAAQ,OAAO;IACf,IAAI,OAAO;IACX,MAAM,OAAO;CACd"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CoinType = void 0;
|
|
4
|
+
var CoinType;
|
|
5
|
+
(function (CoinType) {
|
|
6
|
+
CoinType[CoinType["ETHEREUM"] = 60] = "ETHEREUM";
|
|
7
|
+
CoinType[CoinType["TON"] = 607] = "TON";
|
|
8
|
+
CoinType[CoinType["ARBITRUM"] = 9001] = "ARBITRUM";
|
|
9
|
+
CoinType[CoinType["BASE"] = 8453] = "BASE";
|
|
10
|
+
CoinType[CoinType["MANTLE"] = 5000] = "MANTLE";
|
|
11
|
+
})(CoinType || (exports.CoinType = CoinType = {}));
|
|
12
|
+
//# sourceMappingURL=coin_type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coin_type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/coin_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,gDAAa,CAAA;IACb,uCAAS,CAAA;IACT,kDAAe,CAAA;IACf,0CAAW,CAAA;IACX,8CAAa,CAAA;AACf,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./provider_protocol_type.enum"), exports);
|
|
18
|
+
__exportStar(require("./chain_type.enum"), exports);
|
|
19
|
+
__exportStar(require("./coin_type.enum"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,oDAAkC;AAClC,mDAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider_protocol_type.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/provider_protocol_type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,QAAQ,IAAI;IACZ,SAAS,IAAA;IACT,aAAa,IAAA;IACb,aAAa,IAAA;CACd"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProviderProtocolType = void 0;
|
|
4
|
+
var ProviderProtocolType;
|
|
5
|
+
(function (ProviderProtocolType) {
|
|
6
|
+
ProviderProtocolType[ProviderProtocolType["JSON_RPC"] = 1] = "JSON_RPC";
|
|
7
|
+
ProviderProtocolType[ProviderProtocolType["WEBSOCKET"] = 2] = "WEBSOCKET";
|
|
8
|
+
ProviderProtocolType[ProviderProtocolType["TON_CENTER_V2"] = 3] = "TON_CENTER_V2";
|
|
9
|
+
ProviderProtocolType[ProviderProtocolType["TON_CENTER_V3"] = 4] = "TON_CENTER_V3";
|
|
10
|
+
})(ProviderProtocolType || (exports.ProviderProtocolType = ProviderProtocolType = {}));
|
|
11
|
+
//# sourceMappingURL=provider_protocol_type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider_protocol_type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/provider_protocol_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,uEAAY,CAAA;IACZ,yEAAS,CAAA;IACT,iFAAa,CAAA;IACb,iFAAa,CAAA;AACf,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/network/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
__exportStar(require("./enums"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/network/domain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/network/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/network/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare class ClaimAffiliateRequestDto {
|
|
2
|
+
static from<T extends {
|
|
3
|
+
bridgeQuoteRequestId: string;
|
|
4
|
+
address: string;
|
|
5
|
+
}>(obj: T): ClaimAffiliateRequestDto;
|
|
6
|
+
static listFrom<T extends {
|
|
7
|
+
bridgeQuoteRequestId: string;
|
|
8
|
+
address: string;
|
|
9
|
+
}>(objs: T[]): ClaimAffiliateRequestDto[];
|
|
10
|
+
/**
|
|
11
|
+
* @example '123e4567-e89b-12d3-a456-426614174000'
|
|
12
|
+
* @description The UUID of the bridge quote request
|
|
13
|
+
*/
|
|
14
|
+
bridgeQuoteRequestId: string;
|
|
15
|
+
/**
|
|
16
|
+
* @example '0x112233445566778899abcdef'
|
|
17
|
+
* @description Address of the user that should be refunded to
|
|
18
|
+
*/
|
|
19
|
+
address: string;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=claim_affiliate_signature_request.dto.d.ts.map
|
package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claim_affiliate_signature_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,wBAAwB;WACrB,IAAI,CAChB,CAAC,SAAS;QACR,oBAAoB,EAAE,MAAM,CAAC;QAC7B,OAAO,EAAE,MAAM,CAAC;KACjB,EACD,GAAG,EAAE,CAAC,GAAG,wBAAwB;IAOnC,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,oBAAoB,EAAE,MAAM,CAAC;QAC7B,OAAO,EAAE,MAAM,CAAC;KACjB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,wBAAwB,EAAE;IAIxC;;;OAGG;IAEH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IAEH,OAAO,EAAE,MAAM,CAAC;CACjB"}
|