@0xtorch/core 0.0.2 → 0.0.3
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/_cjs/actions/index.js +88 -0
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/schemas/action.js +105 -0
- package/_cjs/actions/schemas/action.js.map +1 -0
- package/_cjs/actions/schemas/borrow/borrow.js +26 -0
- package/_cjs/actions/schemas/borrow/borrow.js.map +1 -0
- package/_cjs/actions/schemas/borrow/borrowWithDebt.js +36 -0
- package/_cjs/actions/schemas/borrow/borrowWithDebt.js.map +1 -0
- package/_cjs/actions/schemas/borrow/index.js +10 -0
- package/_cjs/actions/schemas/borrow/index.js.map +1 -0
- package/_cjs/actions/schemas/crossActionBundle.js +9 -0
- package/_cjs/actions/schemas/crossActionBundle.js.map +1 -0
- package/_cjs/actions/schemas/crossReplace/bridgeFrom.js +26 -0
- package/_cjs/actions/schemas/crossReplace/bridgeFrom.js.map +1 -0
- package/_cjs/actions/schemas/crossReplace/bridgeTo.js +26 -0
- package/_cjs/actions/schemas/crossReplace/bridgeTo.js.map +1 -0
- package/_cjs/actions/schemas/crossReplace/crossReplace.js +26 -0
- package/_cjs/actions/schemas/crossReplace/crossReplace.js.map +1 -0
- package/_cjs/actions/schemas/crossReplace/index.js +13 -0
- package/_cjs/actions/schemas/crossReplace/index.js.map +1 -0
- package/_cjs/actions/schemas/crossTrade/crossTrade.js +26 -0
- package/_cjs/actions/schemas/crossTrade/crossTrade.js.map +1 -0
- package/_cjs/actions/schemas/crossTrade/index.js +7 -0
- package/_cjs/actions/schemas/crossTrade/index.js.map +1 -0
- package/_cjs/actions/schemas/default/accountAction.js +29 -0
- package/_cjs/actions/schemas/default/accountAction.js.map +1 -0
- package/_cjs/actions/schemas/default/index.js +27 -0
- package/_cjs/actions/schemas/default/index.js.map +1 -0
- package/_cjs/actions/schemas/default/normalAction.js +25 -0
- package/_cjs/actions/schemas/default/normalAction.js.map +1 -0
- package/_cjs/actions/schemas/default/transfer.js +137 -0
- package/_cjs/actions/schemas/default/transfer.js.map +1 -0
- package/_cjs/actions/schemas/default/unions.js +99 -0
- package/_cjs/actions/schemas/default/unions.js.map +1 -0
- package/_cjs/actions/schemas/deposit/addLiquidity.js +36 -0
- package/_cjs/actions/schemas/deposit/addLiquidity.js.map +1 -0
- package/_cjs/actions/schemas/deposit/deposit.js +26 -0
- package/_cjs/actions/schemas/deposit/deposit.js.map +1 -0
- package/_cjs/actions/schemas/deposit/depositWithBond.js +36 -0
- package/_cjs/actions/schemas/deposit/depositWithBond.js.map +1 -0
- package/_cjs/actions/schemas/deposit/index.js +16 -0
- package/_cjs/actions/schemas/deposit/index.js.map +1 -0
- package/_cjs/actions/schemas/deposit/stake.js +26 -0
- package/_cjs/actions/schemas/deposit/stake.js.map +1 -0
- package/_cjs/actions/schemas/fee/fee.js +26 -0
- package/_cjs/actions/schemas/fee/fee.js.map +1 -0
- package/_cjs/actions/schemas/fee/index.js +10 -0
- package/_cjs/actions/schemas/fee/index.js.map +1 -0
- package/_cjs/actions/schemas/fee/transactionFee.js +26 -0
- package/_cjs/actions/schemas/fee/transactionFee.js.map +1 -0
- package/_cjs/actions/schemas/ignore/approve.js +26 -0
- package/_cjs/actions/schemas/ignore/approve.js.map +1 -0
- package/_cjs/actions/schemas/ignore/failTx.js +26 -0
- package/_cjs/actions/schemas/ignore/failTx.js.map +1 -0
- package/_cjs/actions/schemas/ignore/ignore.js +15 -0
- package/_cjs/actions/schemas/ignore/ignore.js.map +1 -0
- package/_cjs/actions/schemas/ignore/index.js +24 -0
- package/_cjs/actions/schemas/ignore/index.js.map +1 -0
- package/_cjs/actions/schemas/ignore/move.js +15 -0
- package/_cjs/actions/schemas/ignore/move.js.map +1 -0
- package/_cjs/actions/schemas/ignore/receiveFromCex.js +16 -0
- package/_cjs/actions/schemas/ignore/receiveFromCex.js.map +1 -0
- package/_cjs/actions/schemas/ignore/revoke.js +26 -0
- package/_cjs/actions/schemas/ignore/revoke.js.map +1 -0
- package/_cjs/actions/schemas/ignore/sendToCex.js +16 -0
- package/_cjs/actions/schemas/ignore/sendToCex.js.map +1 -0
- package/_cjs/actions/schemas/ignore/spam.js +26 -0
- package/_cjs/actions/schemas/ignore/spam.js.map +1 -0
- package/_cjs/actions/schemas/income/atomicArbitrage.js +26 -0
- package/_cjs/actions/schemas/income/atomicArbitrage.js.map +1 -0
- package/_cjs/actions/schemas/income/freeMintNft.js +26 -0
- package/_cjs/actions/schemas/income/freeMintNft.js.map +1 -0
- package/_cjs/actions/schemas/income/income.js +16 -0
- package/_cjs/actions/schemas/income/income.js.map +1 -0
- package/_cjs/actions/schemas/income/index.js +16 -0
- package/_cjs/actions/schemas/income/index.js.map +1 -0
- package/_cjs/actions/schemas/income/nftRoyalty.js +16 -0
- package/_cjs/actions/schemas/income/nftRoyalty.js.map +1 -0
- package/_cjs/actions/schemas/income/swapIncome.js +16 -0
- package/_cjs/actions/schemas/income/swapIncome.js.map +1 -0
- package/_cjs/actions/schemas/index.js +107 -0
- package/_cjs/actions/schemas/index.js.map +1 -0
- package/_cjs/actions/schemas/reduce/index.js +6 -0
- package/_cjs/actions/schemas/reduce/index.js.map +1 -0
- package/_cjs/actions/schemas/reduce/reduce.js +16 -0
- package/_cjs/actions/schemas/reduce/reduce.js.map +1 -0
- package/_cjs/actions/schemas/repayment/index.js +10 -0
- package/_cjs/actions/schemas/repayment/index.js.map +1 -0
- package/_cjs/actions/schemas/repayment/repayment.js +26 -0
- package/_cjs/actions/schemas/repayment/repayment.js.map +1 -0
- package/_cjs/actions/schemas/repayment/repaymentWithDebt.js +36 -0
- package/_cjs/actions/schemas/repayment/repaymentWithDebt.js.map +1 -0
- package/_cjs/actions/schemas/replace/index.js +16 -0
- package/_cjs/actions/schemas/replace/index.js.map +1 -0
- package/_cjs/actions/schemas/replace/replace.js +36 -0
- package/_cjs/actions/schemas/replace/replace.js.map +1 -0
- package/_cjs/actions/schemas/replace/swapNft.js +32 -0
- package/_cjs/actions/schemas/replace/swapNft.js.map +1 -0
- package/_cjs/actions/schemas/replace/unwrap.js +32 -0
- package/_cjs/actions/schemas/replace/unwrap.js.map +1 -0
- package/_cjs/actions/schemas/replace/wrap.js +32 -0
- package/_cjs/actions/schemas/replace/wrap.js.map +1 -0
- package/_cjs/actions/schemas/trade/buyCrypto.js +26 -0
- package/_cjs/actions/schemas/trade/buyCrypto.js.map +1 -0
- package/_cjs/actions/schemas/trade/buyNft.js +34 -0
- package/_cjs/actions/schemas/trade/buyNft.js.map +1 -0
- package/_cjs/actions/schemas/trade/index.js +21 -0
- package/_cjs/actions/schemas/trade/index.js.map +1 -0
- package/_cjs/actions/schemas/trade/mintNft.js +34 -0
- package/_cjs/actions/schemas/trade/mintNft.js.map +1 -0
- package/_cjs/actions/schemas/trade/sellCrypto.js +26 -0
- package/_cjs/actions/schemas/trade/sellCrypto.js.map +1 -0
- package/_cjs/actions/schemas/trade/sellNft.js +20 -0
- package/_cjs/actions/schemas/trade/sellNft.js.map +1 -0
- package/_cjs/actions/schemas/trade/trade.js +26 -0
- package/_cjs/actions/schemas/trade/trade.js.map +1 -0
- package/_cjs/actions/schemas/transfer/index.js +9 -0
- package/_cjs/actions/schemas/transfer/index.js.map +1 -0
- package/_cjs/actions/schemas/transfer/swapTransfer.js +16 -0
- package/_cjs/actions/schemas/transfer/swapTransfer.js.map +1 -0
- package/_cjs/actions/schemas/transfer/transfer.js +25 -0
- package/_cjs/actions/schemas/transfer/transfer.js.map +1 -0
- package/_cjs/actions/schemas/valuedown/index.js +7 -0
- package/_cjs/actions/schemas/valuedown/index.js.map +1 -0
- package/_cjs/actions/schemas/valuedown/valuedown.js +29 -0
- package/_cjs/actions/schemas/valuedown/valuedown.js.map +1 -0
- package/_cjs/actions/schemas/valueup/index.js +7 -0
- package/_cjs/actions/schemas/valueup/index.js.map +1 -0
- package/_cjs/actions/schemas/valueup/valueup.js +29 -0
- package/_cjs/actions/schemas/valueup/valueup.js.map +1 -0
- package/_cjs/actions/schemas/withdraw/index.js +16 -0
- package/_cjs/actions/schemas/withdraw/index.js.map +1 -0
- package/_cjs/actions/schemas/withdraw/removeLiquidity.js +36 -0
- package/_cjs/actions/schemas/withdraw/removeLiquidity.js.map +1 -0
- package/_cjs/actions/schemas/withdraw/unstake.js +26 -0
- package/_cjs/actions/schemas/withdraw/unstake.js.map +1 -0
- package/_cjs/actions/schemas/withdraw/withdraw.js +26 -0
- package/_cjs/actions/schemas/withdraw/withdraw.js.map +1 -0
- package/_cjs/actions/schemas/withdraw/withdrawWithBond.js +36 -0
- package/_cjs/actions/schemas/withdraw/withdrawWithBond.js.map +1 -0
- package/_cjs/actions/types/action.js +3 -0
- package/_cjs/actions/types/action.js.map +1 -0
- package/_cjs/actions/types/approve.js +3 -0
- package/_cjs/actions/types/approve.js.map +1 -0
- package/_cjs/actions/types/borrow.js +3 -0
- package/_cjs/actions/types/borrow.js.map +1 -0
- package/_cjs/actions/types/borrowWithDebt.js +3 -0
- package/_cjs/actions/types/borrowWithDebt.js.map +1 -0
- package/_cjs/actions/types/crossActionBundle.js +3 -0
- package/_cjs/actions/types/crossActionBundle.js.map +1 -0
- package/_cjs/actions/types/crossReplace.js +3 -0
- package/_cjs/actions/types/crossReplace.js.map +1 -0
- package/_cjs/actions/types/crossTrade.js +3 -0
- package/_cjs/actions/types/crossTrade.js.map +1 -0
- package/_cjs/actions/types/failTx.js +3 -0
- package/_cjs/actions/types/failTx.js.map +1 -0
- package/_cjs/actions/types/fee.js +3 -0
- package/_cjs/actions/types/fee.js.map +1 -0
- package/_cjs/actions/types/ignore.js +3 -0
- package/_cjs/actions/types/ignore.js.map +1 -0
- package/_cjs/actions/types/mintNft.js +3 -0
- package/_cjs/actions/types/mintNft.js.map +1 -0
- package/_cjs/actions/types/receiveFromCex.js +3 -0
- package/_cjs/actions/types/receiveFromCex.js.map +1 -0
- package/_cjs/actions/types/reduce.js +3 -0
- package/_cjs/actions/types/reduce.js.map +1 -0
- package/_cjs/actions/types/repayment.js +3 -0
- package/_cjs/actions/types/repayment.js.map +1 -0
- package/_cjs/actions/types/repaymentWithDebt.js +3 -0
- package/_cjs/actions/types/repaymentWithDebt.js.map +1 -0
- package/_cjs/actions/types/replace.js +3 -0
- package/_cjs/actions/types/replace.js.map +1 -0
- package/_cjs/actions/types/revoke.js +3 -0
- package/_cjs/actions/types/revoke.js.map +1 -0
- package/_cjs/actions/types/sendToCex.js +3 -0
- package/_cjs/actions/types/sendToCex.js.map +1 -0
- package/_cjs/actions/types/unwrap.js +3 -0
- package/_cjs/actions/types/unwrap.js.map +1 -0
- package/_cjs/actions/types/valuedown.js +3 -0
- package/_cjs/actions/types/valuedown.js.map +1 -0
- package/_cjs/actions/types/valueup.js +3 -0
- package/_cjs/actions/types/valueup.js.map +1 -0
- package/_cjs/actions/types/wrap.js +3 -0
- package/_cjs/actions/types/wrap.js.map +1 -0
- package/_cjs/apps/index.js +5 -3
- package/_cjs/apps/index.js.map +1 -1
- package/_cjs/apps/schemas.js +32 -0
- package/_cjs/apps/schemas.js.map +1 -0
- package/_cjs/apps/types.js +0 -11
- package/_cjs/apps/types.js.map +1 -1
- package/_cjs/assets/creates/createFiatCurrency.js.map +1 -1
- package/_cjs/assets/index.js +7 -1
- package/_cjs/assets/index.js.map +1 -1
- package/_cjs/assets/schemas/asset.js +13 -0
- package/_cjs/assets/schemas/asset.js.map +1 -0
- package/_cjs/assets/schemas/cryptoCurrency.js +30 -0
- package/_cjs/assets/schemas/cryptoCurrency.js.map +1 -0
- package/_cjs/assets/schemas/cryptoCurrencyPrice.js +12 -0
- package/_cjs/assets/schemas/cryptoCurrencyPrice.js.map +1 -0
- package/_cjs/assets/schemas/fiatCurrency.js +29 -0
- package/_cjs/assets/schemas/fiatCurrency.js.map +1 -0
- package/_cjs/assets/schemas/index.js +15 -0
- package/_cjs/assets/schemas/index.js.map +1 -0
- package/_cjs/assets/schemas/nft.js +9 -0
- package/_cjs/assets/schemas/nft.js.map +1 -0
- package/_cjs/assets/types/fiatCurrency.js +0 -10
- package/_cjs/assets/types/fiatCurrency.js.map +1 -1
- package/_cjs/index.js +89 -1
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/index.js +4 -1
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/schema.js +11 -0
- package/_cjs/utils/schema.js.map +1 -0
- package/_esm/actions/index.js +1 -1
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/schemas/action.js +131 -0
- package/_esm/actions/schemas/action.js.map +1 -0
- package/_esm/actions/schemas/borrow/borrow.js +23 -0
- package/_esm/actions/schemas/borrow/borrow.js.map +1 -0
- package/_esm/actions/schemas/borrow/borrowWithDebt.js +33 -0
- package/_esm/actions/schemas/borrow/borrowWithDebt.js.map +1 -0
- package/_esm/actions/schemas/borrow/index.js +3 -0
- package/_esm/actions/schemas/borrow/index.js.map +1 -0
- package/_esm/actions/schemas/crossActionBundle.js +6 -0
- package/_esm/actions/schemas/crossActionBundle.js.map +1 -0
- package/_esm/actions/schemas/crossReplace/bridgeFrom.js +23 -0
- package/_esm/actions/schemas/crossReplace/bridgeFrom.js.map +1 -0
- package/_esm/actions/schemas/crossReplace/bridgeTo.js +23 -0
- package/_esm/actions/schemas/crossReplace/bridgeTo.js.map +1 -0
- package/_esm/actions/schemas/crossReplace/crossReplace.js +23 -0
- package/_esm/actions/schemas/crossReplace/crossReplace.js.map +1 -0
- package/_esm/actions/schemas/crossReplace/index.js +4 -0
- package/_esm/actions/schemas/crossReplace/index.js.map +1 -0
- package/_esm/actions/schemas/crossTrade/crossTrade.js +23 -0
- package/_esm/actions/schemas/crossTrade/crossTrade.js.map +1 -0
- package/_esm/actions/schemas/crossTrade/index.js +2 -0
- package/_esm/actions/schemas/crossTrade/index.js.map +1 -0
- package/_esm/actions/schemas/default/accountAction.js +26 -0
- package/_esm/actions/schemas/default/accountAction.js.map +1 -0
- package/_esm/actions/schemas/default/index.js +4 -0
- package/_esm/actions/schemas/default/index.js.map +1 -0
- package/_esm/actions/schemas/default/normalAction.js +22 -0
- package/_esm/actions/schemas/default/normalAction.js.map +1 -0
- package/_esm/actions/schemas/default/transfer.js +134 -0
- package/_esm/actions/schemas/default/transfer.js.map +1 -0
- package/_esm/actions/schemas/default/unions.js +96 -0
- package/_esm/actions/schemas/default/unions.js.map +1 -0
- package/_esm/actions/schemas/deposit/addLiquidity.js +33 -0
- package/_esm/actions/schemas/deposit/addLiquidity.js.map +1 -0
- package/_esm/actions/schemas/deposit/deposit.js +23 -0
- package/_esm/actions/schemas/deposit/deposit.js.map +1 -0
- package/_esm/actions/schemas/deposit/depositWithBond.js +33 -0
- package/_esm/actions/schemas/deposit/depositWithBond.js.map +1 -0
- package/_esm/actions/schemas/deposit/index.js +5 -0
- package/_esm/actions/schemas/deposit/index.js.map +1 -0
- package/_esm/actions/schemas/deposit/stake.js +23 -0
- package/_esm/actions/schemas/deposit/stake.js.map +1 -0
- package/_esm/actions/schemas/fee/fee.js +23 -0
- package/_esm/actions/schemas/fee/fee.js.map +1 -0
- package/_esm/actions/schemas/fee/index.js +3 -0
- package/_esm/actions/schemas/fee/index.js.map +1 -0
- package/_esm/actions/schemas/fee/transactionFee.js +23 -0
- package/_esm/actions/schemas/fee/transactionFee.js.map +1 -0
- package/_esm/actions/schemas/ignore/approve.js +23 -0
- package/_esm/actions/schemas/ignore/approve.js.map +1 -0
- package/_esm/actions/schemas/ignore/failTx.js +23 -0
- package/_esm/actions/schemas/ignore/failTx.js.map +1 -0
- package/_esm/actions/schemas/ignore/ignore.js +12 -0
- package/_esm/actions/schemas/ignore/ignore.js.map +1 -0
- package/_esm/actions/schemas/ignore/index.js +9 -0
- package/_esm/actions/schemas/ignore/index.js.map +1 -0
- package/_esm/actions/schemas/ignore/move.js +12 -0
- package/_esm/actions/schemas/ignore/move.js.map +1 -0
- package/_esm/actions/schemas/ignore/receiveFromCex.js +13 -0
- package/_esm/actions/schemas/ignore/receiveFromCex.js.map +1 -0
- package/_esm/actions/schemas/ignore/revoke.js +23 -0
- package/_esm/actions/schemas/ignore/revoke.js.map +1 -0
- package/_esm/actions/schemas/ignore/sendToCex.js +13 -0
- package/_esm/actions/schemas/ignore/sendToCex.js.map +1 -0
- package/_esm/actions/schemas/ignore/spam.js +23 -0
- package/_esm/actions/schemas/ignore/spam.js.map +1 -0
- package/_esm/actions/schemas/income/atomicArbitrage.js +23 -0
- package/_esm/actions/schemas/income/atomicArbitrage.js.map +1 -0
- package/_esm/actions/schemas/income/freeMintNft.js +23 -0
- package/_esm/actions/schemas/income/freeMintNft.js.map +1 -0
- package/_esm/actions/schemas/income/income.js +13 -0
- package/_esm/actions/schemas/income/income.js.map +1 -0
- package/_esm/actions/schemas/income/index.js +6 -0
- package/_esm/actions/schemas/income/index.js.map +1 -0
- package/_esm/actions/schemas/income/nftRoyalty.js +13 -0
- package/_esm/actions/schemas/income/nftRoyalty.js.map +1 -0
- package/_esm/actions/schemas/income/swapIncome.js +13 -0
- package/_esm/actions/schemas/income/swapIncome.js.map +1 -0
- package/_esm/actions/schemas/index.js +18 -0
- package/_esm/actions/schemas/index.js.map +1 -0
- package/_esm/actions/schemas/reduce/index.js +2 -0
- package/_esm/actions/schemas/reduce/index.js.map +1 -0
- package/_esm/actions/schemas/reduce/reduce.js +13 -0
- package/_esm/actions/schemas/reduce/reduce.js.map +1 -0
- package/_esm/actions/schemas/repayment/index.js +3 -0
- package/_esm/actions/schemas/repayment/index.js.map +1 -0
- package/_esm/actions/schemas/repayment/repayment.js +23 -0
- package/_esm/actions/schemas/repayment/repayment.js.map +1 -0
- package/_esm/actions/schemas/repayment/repaymentWithDebt.js +33 -0
- package/_esm/actions/schemas/repayment/repaymentWithDebt.js.map +1 -0
- package/_esm/actions/schemas/replace/index.js +5 -0
- package/_esm/actions/schemas/replace/index.js.map +1 -0
- package/_esm/actions/schemas/replace/replace.js +33 -0
- package/_esm/actions/schemas/replace/replace.js.map +1 -0
- package/_esm/actions/schemas/replace/swapNft.js +29 -0
- package/_esm/actions/schemas/replace/swapNft.js.map +1 -0
- package/_esm/actions/schemas/replace/unwrap.js +29 -0
- package/_esm/actions/schemas/replace/unwrap.js.map +1 -0
- package/_esm/actions/schemas/replace/wrap.js +29 -0
- package/_esm/actions/schemas/replace/wrap.js.map +1 -0
- package/_esm/actions/schemas/trade/buyCrypto.js +23 -0
- package/_esm/actions/schemas/trade/buyCrypto.js.map +1 -0
- package/_esm/actions/schemas/trade/buyNft.js +31 -0
- package/_esm/actions/schemas/trade/buyNft.js.map +1 -0
- package/_esm/actions/schemas/trade/index.js +7 -0
- package/_esm/actions/schemas/trade/index.js.map +1 -0
- package/_esm/actions/schemas/trade/mintNft.js +31 -0
- package/_esm/actions/schemas/trade/mintNft.js.map +1 -0
- package/_esm/actions/schemas/trade/sellCrypto.js +23 -0
- package/_esm/actions/schemas/trade/sellCrypto.js.map +1 -0
- package/_esm/actions/schemas/trade/sellNft.js +17 -0
- package/_esm/actions/schemas/trade/sellNft.js.map +1 -0
- package/_esm/actions/schemas/trade/trade.js +23 -0
- package/_esm/actions/schemas/trade/trade.js.map +1 -0
- package/_esm/actions/schemas/transfer/index.js +3 -0
- package/_esm/actions/schemas/transfer/index.js.map +1 -0
- package/_esm/actions/schemas/transfer/swapTransfer.js +13 -0
- package/_esm/actions/schemas/transfer/swapTransfer.js.map +1 -0
- package/_esm/actions/schemas/transfer/transfer.js +22 -0
- package/_esm/actions/schemas/transfer/transfer.js.map +1 -0
- package/_esm/actions/schemas/valuedown/index.js +2 -0
- package/_esm/actions/schemas/valuedown/index.js.map +1 -0
- package/_esm/actions/schemas/valuedown/valuedown.js +26 -0
- package/_esm/actions/schemas/valuedown/valuedown.js.map +1 -0
- package/_esm/actions/schemas/valueup/index.js +2 -0
- package/_esm/actions/schemas/valueup/index.js.map +1 -0
- package/_esm/actions/schemas/valueup/valueup.js +26 -0
- package/_esm/actions/schemas/valueup/valueup.js.map +1 -0
- package/_esm/actions/schemas/withdraw/index.js +5 -0
- package/_esm/actions/schemas/withdraw/index.js.map +1 -0
- package/_esm/actions/schemas/withdraw/removeLiquidity.js +33 -0
- package/_esm/actions/schemas/withdraw/removeLiquidity.js.map +1 -0
- package/_esm/actions/schemas/withdraw/unstake.js +23 -0
- package/_esm/actions/schemas/withdraw/unstake.js.map +1 -0
- package/_esm/actions/schemas/withdraw/withdraw.js +23 -0
- package/_esm/actions/schemas/withdraw/withdraw.js.map +1 -0
- package/_esm/actions/schemas/withdraw/withdrawWithBond.js +33 -0
- package/_esm/actions/schemas/withdraw/withdrawWithBond.js.map +1 -0
- package/_esm/actions/types/action.js +2 -0
- package/_esm/actions/types/action.js.map +1 -0
- package/_esm/actions/types/approve.js +2 -0
- package/_esm/actions/types/approve.js.map +1 -0
- package/_esm/actions/types/borrow.js +2 -0
- package/_esm/actions/types/borrow.js.map +1 -0
- package/_esm/actions/types/borrowWithDebt.js +2 -0
- package/_esm/actions/types/borrowWithDebt.js.map +1 -0
- package/_esm/actions/types/crossActionBundle.js +2 -0
- package/_esm/actions/types/crossActionBundle.js.map +1 -0
- package/_esm/actions/types/crossReplace.js +2 -0
- package/_esm/actions/types/crossReplace.js.map +1 -0
- package/_esm/actions/types/crossTrade.js +2 -0
- package/_esm/actions/types/crossTrade.js.map +1 -0
- package/_esm/actions/types/failTx.js +2 -0
- package/_esm/actions/types/failTx.js.map +1 -0
- package/_esm/actions/types/fee.js +2 -0
- package/_esm/actions/types/fee.js.map +1 -0
- package/_esm/actions/types/ignore.js +2 -0
- package/_esm/actions/types/ignore.js.map +1 -0
- package/_esm/actions/types/mintNft.js +2 -0
- package/_esm/actions/types/mintNft.js.map +1 -0
- package/_esm/actions/types/receiveFromCex.js +2 -0
- package/_esm/actions/types/receiveFromCex.js.map +1 -0
- package/_esm/actions/types/reduce.js +2 -0
- package/_esm/actions/types/reduce.js.map +1 -0
- package/_esm/actions/types/repayment.js +2 -0
- package/_esm/actions/types/repayment.js.map +1 -0
- package/_esm/actions/types/repaymentWithDebt.js +2 -0
- package/_esm/actions/types/repaymentWithDebt.js.map +1 -0
- package/_esm/actions/types/replace.js +2 -0
- package/_esm/actions/types/replace.js.map +1 -0
- package/_esm/actions/types/revoke.js +2 -0
- package/_esm/actions/types/revoke.js.map +1 -0
- package/_esm/actions/types/sendToCex.js +2 -0
- package/_esm/actions/types/sendToCex.js.map +1 -0
- package/_esm/actions/types/unwrap.js +2 -0
- package/_esm/actions/types/unwrap.js.map +1 -0
- package/_esm/actions/types/valuedown.js +2 -0
- package/_esm/actions/types/valuedown.js.map +1 -0
- package/_esm/actions/types/valueup.js +2 -0
- package/_esm/actions/types/valueup.js.map +1 -0
- package/_esm/actions/types/wrap.js +2 -0
- package/_esm/actions/types/wrap.js.map +1 -0
- package/_esm/apps/index.js +1 -1
- package/_esm/apps/index.js.map +1 -1
- package/_esm/apps/schemas.js +29 -0
- package/_esm/apps/schemas.js.map +1 -0
- package/_esm/apps/types.js +1 -10
- package/_esm/apps/types.js.map +1 -1
- package/_esm/assets/creates/createFiatCurrency.js.map +1 -1
- package/_esm/assets/index.js +1 -0
- package/_esm/assets/index.js.map +1 -1
- package/_esm/assets/schemas/asset.js +10 -0
- package/_esm/assets/schemas/asset.js.map +1 -0
- package/_esm/assets/schemas/cryptoCurrency.js +27 -0
- package/_esm/assets/schemas/cryptoCurrency.js.map +1 -0
- package/_esm/assets/schemas/cryptoCurrencyPrice.js +9 -0
- package/_esm/assets/schemas/cryptoCurrencyPrice.js.map +1 -0
- package/_esm/assets/schemas/fiatCurrency.js +26 -0
- package/_esm/assets/schemas/fiatCurrency.js.map +1 -0
- package/_esm/assets/schemas/index.js +6 -0
- package/_esm/assets/schemas/index.js.map +1 -0
- package/_esm/assets/schemas/nft.js +6 -0
- package/_esm/assets/schemas/nft.js.map +1 -0
- package/_esm/assets/types/fiatCurrency.js +0 -10
- package/_esm/assets/types/fiatCurrency.js.map +1 -1
- package/_esm/index.js +1 -0
- package/_esm/index.js.map +1 -1
- package/_esm/utils/index.js +1 -0
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/schema.js +7 -0
- package/_esm/utils/schema.js.map +1 -0
- package/_types/actions/index.d.ts +2 -1
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/schemas/action.d.ts +70150 -0
- package/_types/actions/schemas/action.d.ts.map +1 -0
- package/_types/actions/schemas/borrow/borrow.d.ts +1480 -0
- package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -0
- package/_types/actions/schemas/borrow/borrowWithDebt.d.ts +2730 -0
- package/_types/actions/schemas/borrow/borrowWithDebt.d.ts.map +1 -0
- package/_types/actions/schemas/borrow/index.d.ts +3 -0
- package/_types/actions/schemas/borrow/index.d.ts.map +1 -0
- package/_types/actions/schemas/crossActionBundle.d.ts +12 -0
- package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -0
- package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +1480 -0
- package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -0
- package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +1480 -0
- package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -0
- package/_types/actions/schemas/crossReplace/crossReplace.d.ts +2282 -0
- package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -0
- package/_types/actions/schemas/crossReplace/index.d.ts +4 -0
- package/_types/actions/schemas/crossReplace/index.d.ts.map +1 -0
- package/_types/actions/schemas/crossTrade/crossTrade.d.ts +2282 -0
- package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -0
- package/_types/actions/schemas/crossTrade/index.d.ts +2 -0
- package/_types/actions/schemas/crossTrade/index.d.ts.map +1 -0
- package/_types/actions/schemas/default/accountAction.d.ts +4127 -0
- package/_types/actions/schemas/default/accountAction.d.ts.map +1 -0
- package/_types/actions/schemas/default/index.d.ts +4 -0
- package/_types/actions/schemas/default/index.d.ts.map +1 -0
- package/_types/actions/schemas/default/normalAction.d.ts +4109 -0
- package/_types/actions/schemas/default/normalAction.d.ts.map +1 -0
- package/_types/actions/schemas/default/transfer.d.ts +4132 -0
- package/_types/actions/schemas/default/transfer.d.ts.map +1 -0
- package/_types/actions/schemas/default/unions.d.ts +4 -0
- package/_types/actions/schemas/default/unions.d.ts.map +1 -0
- package/_types/actions/schemas/deposit/addLiquidity.d.ts +2730 -0
- package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -0
- package/_types/actions/schemas/deposit/deposit.d.ts +1480 -0
- package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -0
- package/_types/actions/schemas/deposit/depositWithBond.d.ts +2730 -0
- package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -0
- package/_types/actions/schemas/deposit/index.d.ts +5 -0
- package/_types/actions/schemas/deposit/index.d.ts.map +1 -0
- package/_types/actions/schemas/deposit/stake.d.ts +1480 -0
- package/_types/actions/schemas/deposit/stake.d.ts.map +1 -0
- package/_types/actions/schemas/fee/fee.d.ts +1560 -0
- package/_types/actions/schemas/fee/fee.d.ts.map +1 -0
- package/_types/actions/schemas/fee/index.d.ts +3 -0
- package/_types/actions/schemas/fee/index.d.ts.map +1 -0
- package/_types/actions/schemas/fee/transactionFee.d.ts +1024 -0
- package/_types/actions/schemas/fee/transactionFee.d.ts.map +1 -0
- package/_types/actions/schemas/ignore/approve.d.ts +220 -0
- package/_types/actions/schemas/ignore/approve.d.ts.map +1 -0
- package/_types/actions/schemas/ignore/failTx.d.ts +220 -0
- package/_types/actions/schemas/ignore/failTx.d.ts.map +1 -0
- package/_types/actions/schemas/ignore/ignore.d.ts +1655 -0
- package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -0
- package/_types/actions/schemas/ignore/index.d.ts +9 -0
- package/_types/actions/schemas/ignore/index.d.ts.map +1 -0
- package/_types/actions/schemas/ignore/move.d.ts +1655 -0
- package/_types/actions/schemas/ignore/move.d.ts.map +1 -0
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts +741 -0
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -0
- package/_types/actions/schemas/ignore/revoke.d.ts +220 -0
- package/_types/actions/schemas/ignore/revoke.d.ts.map +1 -0
- package/_types/actions/schemas/ignore/sendToCex.d.ts +741 -0
- package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -0
- package/_types/actions/schemas/ignore/spam.d.ts +1470 -0
- package/_types/actions/schemas/ignore/spam.d.ts.map +1 -0
- package/_types/actions/schemas/income/atomicArbitrage.d.ts +1024 -0
- package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -0
- package/_types/actions/schemas/income/freeMintNft.d.ts +666 -0
- package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -0
- package/_types/actions/schemas/income/income.d.ts +629 -0
- package/_types/actions/schemas/income/income.d.ts.map +1 -0
- package/_types/actions/schemas/income/index.d.ts +6 -0
- package/_types/actions/schemas/income/index.d.ts.map +1 -0
- package/_types/actions/schemas/income/nftRoyalty.d.ts +786 -0
- package/_types/actions/schemas/income/nftRoyalty.d.ts.map +1 -0
- package/_types/actions/schemas/income/swapIncome.d.ts +741 -0
- package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -0
- package/_types/actions/schemas/index.d.ts +18 -0
- package/_types/actions/schemas/index.d.ts.map +1 -0
- package/_types/actions/schemas/reduce/index.d.ts +2 -0
- package/_types/actions/schemas/reduce/index.d.ts.map +1 -0
- package/_types/actions/schemas/reduce/reduce.d.ts +741 -0
- package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -0
- package/_types/actions/schemas/repayment/index.d.ts +3 -0
- package/_types/actions/schemas/repayment/index.d.ts.map +1 -0
- package/_types/actions/schemas/repayment/repayment.d.ts +1480 -0
- package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -0
- package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +2730 -0
- package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -0
- package/_types/actions/schemas/replace/index.d.ts +5 -0
- package/_types/actions/schemas/replace/index.d.ts.map +1 -0
- package/_types/actions/schemas/replace/replace.d.ts +2720 -0
- package/_types/actions/schemas/replace/replace.d.ts.map +1 -0
- package/_types/actions/schemas/replace/swapNft.d.ts +1828 -0
- package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -0
- package/_types/actions/schemas/replace/unwrap.d.ts +1828 -0
- package/_types/actions/schemas/replace/unwrap.d.ts.map +1 -0
- package/_types/actions/schemas/replace/wrap.d.ts +1828 -0
- package/_types/actions/schemas/replace/wrap.d.ts.map +1 -0
- package/_types/actions/schemas/trade/buyCrypto.d.ts +1560 -0
- package/_types/actions/schemas/trade/buyCrypto.d.ts.map +1 -0
- package/_types/actions/schemas/trade/buyNft.d.ts +2006 -0
- package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -0
- package/_types/actions/schemas/trade/index.d.ts +7 -0
- package/_types/actions/schemas/trade/index.d.ts.map +1 -0
- package/_types/actions/schemas/trade/mintNft.d.ts +2006 -0
- package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -0
- package/_types/actions/schemas/trade/sellCrypto.d.ts +1560 -0
- package/_types/actions/schemas/trade/sellCrypto.d.ts.map +1 -0
- package/_types/actions/schemas/trade/sellNft.d.ts +1009 -0
- package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -0
- package/_types/actions/schemas/trade/trade.d.ts +2272 -0
- package/_types/actions/schemas/trade/trade.d.ts.map +1 -0
- package/_types/actions/schemas/transfer/index.d.ts +3 -0
- package/_types/actions/schemas/transfer/index.d.ts.map +1 -0
- package/_types/actions/schemas/transfer/swapTransfer.d.ts +741 -0
- package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -0
- package/_types/actions/schemas/transfer/transfer.d.ts +2272 -0
- package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -0
- package/_types/actions/schemas/valuedown/index.d.ts +2 -0
- package/_types/actions/schemas/valuedown/index.d.ts.map +1 -0
- package/_types/actions/schemas/valuedown/valuedown.d.ts +1298 -0
- package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -0
- package/_types/actions/schemas/valueup/index.d.ts +2 -0
- package/_types/actions/schemas/valueup/index.d.ts.map +1 -0
- package/_types/actions/schemas/valueup/valueup.d.ts +1298 -0
- package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -0
- package/_types/actions/schemas/withdraw/index.d.ts +5 -0
- package/_types/actions/schemas/withdraw/index.d.ts.map +1 -0
- package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +2730 -0
- package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -0
- package/_types/actions/schemas/withdraw/unstake.d.ts +1480 -0
- package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -0
- package/_types/actions/schemas/withdraw/withdraw.d.ts +1480 -0
- package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -0
- package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +2730 -0
- package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -0
- package/_types/actions/types/action.d.ts +8 -0
- package/_types/actions/types/action.d.ts.map +1 -0
- package/_types/actions/types/addLiquidity.d.ts +4 -6
- package/_types/actions/types/addLiquidity.d.ts.map +1 -1
- package/_types/actions/types/approve.d.ts +5 -0
- package/_types/actions/types/approve.d.ts.map +1 -0
- package/_types/actions/types/atomicArbitrage.d.ts +4 -4
- package/_types/actions/types/atomicArbitrage.d.ts.map +1 -1
- package/_types/actions/types/borrow.d.ts +5 -0
- package/_types/actions/types/borrow.d.ts.map +1 -0
- package/_types/actions/types/borrowWithDebt.d.ts +5 -0
- package/_types/actions/types/borrowWithDebt.d.ts.map +1 -0
- package/_types/actions/types/bridgeFrom.d.ts +4 -5
- package/_types/actions/types/bridgeFrom.d.ts.map +1 -1
- package/_types/actions/types/bridgeTo.d.ts +4 -5
- package/_types/actions/types/bridgeTo.d.ts.map +1 -1
- package/_types/actions/types/buyNft.d.ts +4 -6
- package/_types/actions/types/buyNft.d.ts.map +1 -1
- package/_types/actions/types/crossActionBundle.d.ts +4 -0
- package/_types/actions/types/crossActionBundle.d.ts.map +1 -0
- package/_types/actions/types/crossReplace.d.ts +5 -0
- package/_types/actions/types/crossReplace.d.ts.map +1 -0
- package/_types/actions/types/crossTrade.d.ts +5 -0
- package/_types/actions/types/crossTrade.d.ts.map +1 -0
- package/_types/actions/types/deposit.d.ts +4 -5
- package/_types/actions/types/deposit.d.ts.map +1 -1
- package/_types/actions/types/depositWithBond.d.ts +4 -6
- package/_types/actions/types/depositWithBond.d.ts.map +1 -1
- package/_types/actions/types/failTx.d.ts +5 -0
- package/_types/actions/types/failTx.d.ts.map +1 -0
- package/_types/actions/types/fee.d.ts +5 -0
- package/_types/actions/types/fee.d.ts.map +1 -0
- package/_types/actions/types/freeMintNft.d.ts +4 -6
- package/_types/actions/types/freeMintNft.d.ts.map +1 -1
- package/_types/actions/types/ignore.d.ts +4 -0
- package/_types/actions/types/ignore.d.ts.map +1 -0
- package/_types/actions/types/income.d.ts +3 -4
- package/_types/actions/types/income.d.ts.map +1 -1
- package/_types/actions/types/index.d.ts +22 -1
- package/_types/actions/types/index.d.ts.map +1 -1
- package/_types/actions/types/mintNft.d.ts +5 -0
- package/_types/actions/types/mintNft.d.ts.map +1 -0
- package/_types/actions/types/move.d.ts +3 -4
- package/_types/actions/types/move.d.ts.map +1 -1
- package/_types/actions/types/nftRoyalty.d.ts +3 -6
- package/_types/actions/types/nftRoyalty.d.ts.map +1 -1
- package/_types/actions/types/receiveFromCex.d.ts +4 -0
- package/_types/actions/types/receiveFromCex.d.ts.map +1 -0
- package/_types/actions/types/reduce.d.ts +4 -0
- package/_types/actions/types/reduce.d.ts.map +1 -0
- package/_types/actions/types/removeLiquidity.d.ts +4 -6
- package/_types/actions/types/removeLiquidity.d.ts.map +1 -1
- package/_types/actions/types/repayment.d.ts +5 -0
- package/_types/actions/types/repayment.d.ts.map +1 -0
- package/_types/actions/types/repaymentWithDebt.d.ts +5 -0
- package/_types/actions/types/repaymentWithDebt.d.ts.map +1 -0
- package/_types/actions/types/replace.d.ts +5 -0
- package/_types/actions/types/replace.d.ts.map +1 -0
- package/_types/actions/types/revoke.d.ts +5 -0
- package/_types/actions/types/revoke.d.ts.map +1 -0
- package/_types/actions/types/sellNft.d.ts +3 -5
- package/_types/actions/types/sellNft.d.ts.map +1 -1
- package/_types/actions/types/sendToCex.d.ts +4 -0
- package/_types/actions/types/sendToCex.d.ts.map +1 -0
- package/_types/actions/types/spam.d.ts +4 -5
- package/_types/actions/types/spam.d.ts.map +1 -1
- package/_types/actions/types/swapIncome.d.ts +3 -3
- package/_types/actions/types/swapIncome.d.ts.map +1 -1
- package/_types/actions/types/swapNft.d.ts +4 -5
- package/_types/actions/types/swapNft.d.ts.map +1 -1
- package/_types/actions/types/swapTransfer.d.ts +3 -3
- package/_types/actions/types/swapTransfer.d.ts.map +1 -1
- package/_types/actions/types/trade.d.ts +4 -6
- package/_types/actions/types/trade.d.ts.map +1 -1
- package/_types/actions/types/transactionFee.d.ts +4 -6
- package/_types/actions/types/transactionFee.d.ts.map +1 -1
- package/_types/actions/types/transfer.d.ts +4 -7
- package/_types/actions/types/transfer.d.ts.map +1 -1
- package/_types/actions/types/unwrap.d.ts +5 -0
- package/_types/actions/types/unwrap.d.ts.map +1 -0
- package/_types/actions/types/valuedown.d.ts +5 -0
- package/_types/actions/types/valuedown.d.ts.map +1 -0
- package/_types/actions/types/valueup.d.ts +5 -0
- package/_types/actions/types/valueup.d.ts.map +1 -0
- package/_types/actions/types/withdraw.d.ts +4 -6
- package/_types/actions/types/withdraw.d.ts.map +1 -1
- package/_types/actions/types/withdrawWithBond.d.ts +4 -6
- package/_types/actions/types/withdrawWithBond.d.ts.map +1 -1
- package/_types/actions/types/wrap.d.ts +5 -0
- package/_types/actions/types/wrap.d.ts.map +1 -0
- package/_types/apps/index.d.ts +1 -1
- package/_types/apps/index.d.ts.map +1 -1
- package/_types/apps/schemas.d.ts +40 -0
- package/_types/apps/schemas.d.ts.map +1 -0
- package/_types/apps/types.d.ts +4 -10
- package/_types/apps/types.d.ts.map +1 -1
- package/_types/assets/creates/createCryptoCurrency.d.ts +15 -2
- package/_types/assets/creates/createCryptoCurrency.d.ts.map +1 -1
- package/_types/assets/creates/createFiatCurrency.d.ts +7 -2
- package/_types/assets/creates/createFiatCurrency.d.ts.map +1 -1
- package/_types/assets/definitions/coingeckoCryptoCurrencyDataSource.d.ts +24 -3
- package/_types/assets/definitions/coingeckoCryptoCurrencyDataSource.d.ts.map +1 -1
- package/_types/assets/index.d.ts +1 -0
- package/_types/assets/index.d.ts.map +1 -1
- package/_types/assets/schemas/asset.d.ts +142 -0
- package/_types/assets/schemas/asset.d.ts.map +1 -0
- package/_types/assets/schemas/cryptoCurrency.d.ts +103 -0
- package/_types/assets/schemas/cryptoCurrency.d.ts.map +1 -0
- package/_types/assets/schemas/cryptoCurrencyPrice.d.ts +33 -0
- package/_types/assets/schemas/cryptoCurrencyPrice.d.ts.map +1 -0
- package/_types/assets/schemas/fiatCurrency.d.ts +34 -0
- package/_types/assets/schemas/fiatCurrency.d.ts.map +1 -0
- package/_types/assets/schemas/index.d.ts +6 -0
- package/_types/assets/schemas/index.d.ts.map +1 -0
- package/_types/assets/schemas/nft.d.ts +12 -0
- package/_types/assets/schemas/nft.d.ts.map +1 -0
- package/_types/assets/types/cryptoCurrency.d.ts +3 -16
- package/_types/assets/types/cryptoCurrency.d.ts.map +1 -1
- package/_types/assets/types/cryptoCurrencyPrice.d.ts +3 -9
- package/_types/assets/types/cryptoCurrencyPrice.d.ts.map +1 -1
- package/_types/assets/types/dataSource.d.ts +2 -1
- package/_types/assets/types/dataSource.d.ts.map +1 -1
- package/_types/assets/types/fiatCurrency.d.ts +4 -11
- package/_types/assets/types/fiatCurrency.d.ts.map +1 -1
- package/_types/assets/types/nft.d.ts +3 -4
- package/_types/assets/types/nft.d.ts.map +1 -1
- package/_types/index.d.ts +2 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/utils/index.d.ts +1 -0
- package/_types/utils/index.d.ts.map +1 -1
- package/_types/utils/schema.d.ts +18 -0
- package/_types/utils/schema.d.ts.map +1 -0
- package/actions/index.ts +123 -0
- package/actions/schemas/action.ts +226 -0
- package/actions/schemas/borrow/borrow.ts +33 -0
- package/actions/schemas/borrow/borrowWithDebt.ts +45 -0
- package/actions/schemas/borrow/index.ts +5 -0
- package/actions/schemas/crossActionBundle.ts +6 -0
- package/actions/schemas/crossReplace/bridgeFrom.ts +33 -0
- package/actions/schemas/crossReplace/bridgeTo.ts +33 -0
- package/actions/schemas/crossReplace/crossReplace.ts +29 -0
- package/actions/schemas/crossReplace/index.ts +12 -0
- package/actions/schemas/crossTrade/crossTrade.ts +29 -0
- package/actions/schemas/crossTrade/index.ts +4 -0
- package/actions/schemas/default/accountAction.ts +33 -0
- package/actions/schemas/default/index.ts +26 -0
- package/actions/schemas/default/normalAction.ts +24 -0
- package/actions/schemas/default/transfer.ts +154 -0
- package/actions/schemas/default/unions.ts +98 -0
- package/actions/schemas/deposit/addLiquidity.ts +45 -0
- package/actions/schemas/deposit/deposit.ts +33 -0
- package/actions/schemas/deposit/depositWithBond.ts +45 -0
- package/actions/schemas/deposit/index.ts +13 -0
- package/actions/schemas/deposit/stake.ts +33 -0
- package/actions/schemas/fee/fee.ts +33 -0
- package/actions/schemas/fee/index.ts +5 -0
- package/actions/schemas/fee/transactionFee.ts +29 -0
- package/actions/schemas/ignore/approve.ts +27 -0
- package/actions/schemas/ignore/failTx.ts +27 -0
- package/actions/schemas/ignore/ignore.ts +12 -0
- package/actions/schemas/ignore/index.ts +11 -0
- package/actions/schemas/ignore/move.ts +12 -0
- package/actions/schemas/ignore/receiveFromCex.ts +20 -0
- package/actions/schemas/ignore/revoke.ts +27 -0
- package/actions/schemas/ignore/sendToCex.ts +19 -0
- package/actions/schemas/ignore/spam.ts +33 -0
- package/actions/schemas/income/atomicArbitrage.ts +29 -0
- package/actions/schemas/income/freeMintNft.ts +28 -0
- package/actions/schemas/income/income.ts +13 -0
- package/actions/schemas/income/index.ts +11 -0
- package/actions/schemas/income/nftRoyalty.ts +19 -0
- package/actions/schemas/income/swapIncome.ts +19 -0
- package/actions/schemas/index.ts +112 -0
- package/actions/schemas/reduce/index.ts +1 -0
- package/actions/schemas/reduce/reduce.ts +19 -0
- package/actions/schemas/repayment/index.ts +8 -0
- package/actions/schemas/repayment/repayment.ts +33 -0
- package/actions/schemas/repayment/repaymentWithDebt.ts +46 -0
- package/actions/schemas/replace/index.ts +10 -0
- package/actions/schemas/replace/replace.ts +45 -0
- package/actions/schemas/replace/swapNft.ts +39 -0
- package/actions/schemas/replace/unwrap.ts +39 -0
- package/actions/schemas/replace/wrap.ts +39 -0
- package/actions/schemas/trade/buyCrypto.ts +33 -0
- package/actions/schemas/trade/buyNft.ts +42 -0
- package/actions/schemas/trade/index.ts +15 -0
- package/actions/schemas/trade/mintNft.ts +42 -0
- package/actions/schemas/trade/sellCrypto.ts +33 -0
- package/actions/schemas/trade/sellNft.ts +24 -0
- package/actions/schemas/trade/trade.ts +29 -0
- package/actions/schemas/transfer/index.ts +5 -0
- package/actions/schemas/transfer/swapTransfer.ts +19 -0
- package/actions/schemas/transfer/transfer.ts +27 -0
- package/actions/schemas/valuedown/index.ts +4 -0
- package/actions/schemas/valuedown/valuedown.ts +31 -0
- package/actions/schemas/valueup/index.ts +4 -0
- package/actions/schemas/valueup/valueup.ts +31 -0
- package/actions/schemas/withdraw/index.ts +16 -0
- package/actions/schemas/withdraw/removeLiquidity.ts +45 -0
- package/actions/schemas/withdraw/unstake.ts +33 -0
- package/actions/schemas/withdraw/withdraw.ts +33 -0
- package/actions/schemas/withdraw/withdrawWithBond.ts +46 -0
- package/actions/types/action.ts +12 -0
- package/actions/types/addLiquidity.ts +11 -21
- package/actions/types/approve.ts +9 -0
- package/actions/types/atomicArbitrage.ts +9 -26
- package/actions/types/borrow.ts +9 -0
- package/actions/types/borrowWithDebt.ts +13 -0
- package/actions/types/bridgeFrom.ts +11 -21
- package/actions/types/bridgeTo.ts +7 -21
- package/actions/types/buyNft.ts +6 -31
- package/actions/types/crossActionBundle.ts +4 -0
- package/actions/types/crossReplace.ts +13 -0
- package/actions/types/crossTrade.ts +13 -0
- package/actions/types/deposit.ts +7 -21
- package/actions/types/depositWithBond.ts +11 -21
- package/actions/types/failTx.ts +9 -0
- package/actions/types/fee.ts +6 -0
- package/actions/types/freeMintNft.ts +10 -15
- package/actions/types/ignore.ts +4 -0
- package/actions/types/income.ts +3 -20
- package/actions/types/index.ts +39 -6
- package/actions/types/mintNft.ts +9 -0
- package/actions/types/move.ts +3 -20
- package/actions/types/nftRoyalty.ts +5 -18
- package/actions/types/receiveFromCex.ts +6 -0
- package/actions/types/reduce.ts +4 -0
- package/actions/types/removeLiquidity.ts +11 -21
- package/actions/types/repayment.ts +11 -0
- package/actions/types/repaymentWithDebt.ts +13 -0
- package/actions/types/replace.ts +9 -0
- package/actions/types/revoke.ts +9 -0
- package/actions/types/sellNft.ts +3 -21
- package/actions/types/sendToCex.ts +6 -0
- package/actions/types/spam.ts +7 -21
- package/actions/types/swapIncome.ts +5 -11
- package/actions/types/swapNft.ts +7 -10
- package/actions/types/swapTransfer.ts +5 -11
- package/actions/types/trade.ts +6 -31
- package/actions/types/transactionFee.ts +11 -17
- package/actions/types/transfer.ts +6 -33
- package/actions/types/unwrap.ts +9 -0
- package/actions/types/valuedown.ts +11 -0
- package/actions/types/valueup.ts +9 -0
- package/actions/types/withdraw.ts +7 -21
- package/actions/types/withdrawWithBond.ts +11 -21
- package/actions/types/wrap.ts +9 -0
- package/apps/index.ts +1 -1
- package/apps/schemas.ts +30 -0
- package/apps/types.ts +5 -19
- package/assets/creates/createFiatCurrency.ts +2 -5
- package/assets/index.ts +7 -0
- package/assets/schemas/asset.ts +10 -0
- package/assets/schemas/cryptoCurrency.ts +28 -0
- package/assets/schemas/cryptoCurrencyPrice.ts +9 -0
- package/assets/schemas/fiatCurrency.ts +27 -0
- package/assets/schemas/index.ts +5 -0
- package/assets/schemas/nft.ts +6 -0
- package/assets/types/cryptoCurrency.ts +3 -16
- package/assets/types/cryptoCurrencyPrice.ts +3 -13
- package/assets/types/dataSource.ts +2 -1
- package/assets/types/fiatCurrency.ts +5 -20
- package/assets/types/nft.ts +4 -5
- package/index.ts +123 -0
- package/package.json +1 -1
- package/utils/index.ts +1 -0
- package/utils/schema.ts +18 -0
- package/_cjs/actions/schemas/constants.js +0 -18
- package/_cjs/actions/schemas/constants.js.map +0 -1
- package/_cjs/actions/schemas/swap.js +0 -8
- package/_cjs/actions/schemas/swap.js.map +0 -1
- package/_cjs/actions/types/common.js +0 -52
- package/_cjs/actions/types/common.js.map +0 -1
- package/_esm/actions/schemas/constants.js +0 -15
- package/_esm/actions/schemas/constants.js.map +0 -1
- package/_esm/actions/schemas/swap.js +0 -6
- package/_esm/actions/schemas/swap.js.map +0 -1
- package/_esm/actions/types/common.js +0 -52
- package/_esm/actions/types/common.js.map +0 -1
- package/_types/actions/schemas/constants.d.ts +0 -19
- package/_types/actions/schemas/constants.d.ts.map +0 -1
- package/_types/actions/schemas/swap.d.ts +0 -9
- package/_types/actions/schemas/swap.d.ts.map +0 -1
- package/_types/actions/types/common.d.ts +0 -50
- package/_types/actions/types/common.d.ts.map +0 -1
- package/actions/schemas/constants.ts +0 -16
- package/actions/schemas/swap.ts +0 -7
- package/actions/types/common.ts +0 -142
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swapIncome.d.ts","sourceRoot":"","sources":["../../../actions/types/swapIncome.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"swapIncome.d.ts","sourceRoot":"","sources":["../../../actions/types/swapIncome.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAA;AAE/D,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC3C,OAAO,6BAA6B,CACrC,CAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
type
|
|
4
|
-
export type AccountActionSwapNft
|
|
5
|
-
export {};
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { accountActionSwapNftSchema, normalActionSwapNftSchema } from '../schemas';
|
|
3
|
+
export type NormalActionSwapNft = z.infer<typeof normalActionSwapNftSchema>;
|
|
4
|
+
export type AccountActionSwapNft = z.infer<typeof accountActionSwapNftSchema>;
|
|
6
5
|
//# sourceMappingURL=swapNft.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swapNft.d.ts","sourceRoot":"","sources":["../../../actions/types/swapNft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"swapNft.d.ts","sourceRoot":"","sources":["../../../actions/types/swapNft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EACV,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAE3E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
export type AccountActionSwapTransfer
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { accountActionSwapTransferSchema } from '../schemas';
|
|
3
|
+
export type AccountActionSwapTransfer = z.infer<typeof accountActionSwapTransferSchema>;
|
|
4
4
|
//# sourceMappingURL=swapTransfer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swapTransfer.d.ts","sourceRoot":"","sources":["../../../actions/types/swapTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"swapTransfer.d.ts","sourceRoot":"","sources":["../../../actions/types/swapTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,YAAY,CAAA;AAEjE,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAA"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
type
|
|
4
|
-
export type
|
|
5
|
-
export type AccountActionTrade<Account = unknown, Source extends string = string, Price extends CryptoCurrencyPrice | undefined = CryptoCurrencyPrice | undefined, Asset extends CryptoCurrency | FiatCurrency | Nft = CryptoCurrency | FiatCurrency | Nft> = AccountAction<Action, Source, Account, Price, Asset, 'in' | 'out'>;
|
|
6
|
-
export {};
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { accountActionTradeSchema, normalActionTradeSchema } from '../schemas';
|
|
3
|
+
export type NormalActionTrade = z.infer<typeof normalActionTradeSchema>;
|
|
4
|
+
export type AccountActionTrade = z.infer<typeof accountActionTradeSchema>;
|
|
7
5
|
//# sourceMappingURL=trade.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trade.d.ts","sourceRoot":"","sources":["../../../actions/types/trade.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"trade.d.ts","sourceRoot":"","sources":["../../../actions/types/trade.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EACV,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAEvE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
type
|
|
4
|
-
export type
|
|
5
|
-
export type AccountActionTransactionFee<Account = unknown, Source extends string = string, Price extends CryptoCurrencyPrice | undefined = CryptoCurrencyPrice | undefined> = AccountAction<Action, Source, Account, Price, CryptoCurrency, 'out'>;
|
|
6
|
-
export {};
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { accountActionTransactionFeeSchema, normalActionTransactionFeeSchema } from '../schemas';
|
|
3
|
+
export type NormalActionTransactionFee = z.infer<typeof normalActionTransactionFeeSchema>;
|
|
4
|
+
export type AccountActionTransactionFee = z.infer<typeof accountActionTransactionFeeSchema>;
|
|
7
5
|
//# sourceMappingURL=transactionFee.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionFee.d.ts","sourceRoot":"","sources":["../../../actions/types/transactionFee.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"transactionFee.d.ts","sourceRoot":"","sources":["../../../actions/types/transactionFee.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EACV,iCAAiC,EACjC,gCAAgC,EACjC,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,gCAAgC,CACxC,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAA"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
export type
|
|
4
|
-
|
|
5
|
-
export type NormalActionTransfer<Account = unknown, Price extends CryptoCurrencyPrice | undefined = CryptoCurrencyPrice | undefined, Asset extends CryptoCurrency | FiatCurrency | Nft = CryptoCurrency | FiatCurrency | Nft> = NormalAction<Action, Account, Price, Asset, 'none'>;
|
|
6
|
-
/** transfer from account to others */
|
|
7
|
-
export type AccountActionTransfer<Account = unknown, Source extends string = string, Price extends CryptoCurrencyPrice | undefined = CryptoCurrencyPrice | undefined, Asset extends CryptoCurrency | FiatCurrency | Nft = CryptoCurrency | FiatCurrency | Nft> = AccountAction<Action, Source, Account, Price, Asset, 'out'>;
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { accountActionTransferSchema, normalActionTransferSchema } from '../schemas';
|
|
3
|
+
export type NormalActionTransfer = z.infer<typeof normalActionTransferSchema>;
|
|
4
|
+
export type AccountActionTransfer = z.infer<typeof accountActionTransferSchema>;
|
|
8
5
|
//# sourceMappingURL=transfer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer.d.ts","sourceRoot":"","sources":["../../../actions/types/transfer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"transfer.d.ts","sourceRoot":"","sources":["../../../actions/types/transfer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EACV,2BAA2B,EAC3B,0BAA0B,EAC3B,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE7E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { accountActionUnwrapSchema, normalActionUnwrapSchema } from '../schemas';
|
|
3
|
+
export type NormalActionUnwrap = z.infer<typeof normalActionUnwrapSchema>;
|
|
4
|
+
export type AccountActionUnwrap = z.infer<typeof accountActionUnwrapSchema>;
|
|
5
|
+
//# sourceMappingURL=unwrap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unwrap.d.ts","sourceRoot":"","sources":["../../../actions/types/unwrap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEzE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { accountActionValuedownSchema, normalActionValuedownSchema } from '../schemas';
|
|
3
|
+
export type NormalActionValuedown = z.infer<typeof normalActionValuedownSchema>;
|
|
4
|
+
export type AccountActionValuedown = z.infer<typeof accountActionValuedownSchema>;
|
|
5
|
+
//# sourceMappingURL=valuedown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"valuedown.d.ts","sourceRoot":"","sources":["../../../actions/types/valuedown.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EACV,4BAA4B,EAC5B,2BAA2B,EAC5B,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAE/E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { accountActionValueupSchema, normalActionValueupSchema } from '../schemas';
|
|
3
|
+
export type NormalActionValueup = z.infer<typeof normalActionValueupSchema>;
|
|
4
|
+
export type AccountActionValueup = z.infer<typeof accountActionValueupSchema>;
|
|
5
|
+
//# sourceMappingURL=valueup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"valueup.d.ts","sourceRoot":"","sources":["../../../actions/types/valueup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EACV,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAE3E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
type
|
|
4
|
-
export type
|
|
5
|
-
export type AccountActionWithdraw<Account = unknown, Source extends string = string, Price extends CryptoCurrencyPrice | undefined = CryptoCurrencyPrice | undefined, Asset extends CryptoCurrency | Nft = CryptoCurrency | Nft> = AccountAction<Action, Source, Account, Price, Asset, 'in'>;
|
|
6
|
-
export {};
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { accountActionWithdrawSchema, normalActionWithdrawSchema } from '../schemas';
|
|
3
|
+
export type NormalActionWithdraw = z.infer<typeof normalActionWithdrawSchema>;
|
|
4
|
+
export type AccountActionWithdraw = z.infer<typeof accountActionWithdrawSchema>;
|
|
7
5
|
//# sourceMappingURL=withdraw.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw.d.ts","sourceRoot":"","sources":["../../../actions/types/withdraw.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"withdraw.d.ts","sourceRoot":"","sources":["../../../actions/types/withdraw.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EACV,2BAA2B,EAC3B,0BAA0B,EAC3B,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE7E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
type
|
|
4
|
-
export type
|
|
5
|
-
export type AccountActionWithdrawWithBond<Account = unknown, Source extends string = string, Price extends CryptoCurrencyPrice | undefined = CryptoCurrencyPrice | undefined, Asset extends CryptoCurrency | Nft = CryptoCurrency | Nft> = AccountAction<Action, Source, Account, Price, Asset, 'in' | 'out'>;
|
|
6
|
-
export {};
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { accountActionWithdrawWithBondSchema, normalActionWithdrawWithBondSchema } from '../schemas';
|
|
3
|
+
export type NormalActionWithdrawWithBond = z.infer<typeof normalActionWithdrawWithBondSchema>;
|
|
4
|
+
export type AccountActionWithdrawWithBond = z.infer<typeof accountActionWithdrawWithBondSchema>;
|
|
7
5
|
//# sourceMappingURL=withdrawWithBond.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdrawWithBond.d.ts","sourceRoot":"","sources":["../../../actions/types/withdrawWithBond.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"withdrawWithBond.d.ts","sourceRoot":"","sources":["../../../actions/types/withdrawWithBond.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EACV,mCAAmC,EACnC,kCAAkC,EACnC,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { accountActionWrapSchema, normalActionWrapSchema } from '../schemas';
|
|
3
|
+
export type NormalActionWrap = z.infer<typeof normalActionWrapSchema>;
|
|
4
|
+
export type AccountActionWrap = z.infer<typeof accountActionWrapSchema>;
|
|
5
|
+
//# sourceMappingURL=wrap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrap.d.ts","sourceRoot":"","sources":["../../../actions/types/wrap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EACV,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,YAAY,CAAA;AAEnB,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAErE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
package/_types/apps/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../apps/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../apps/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAC5E,YAAY,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const appCategories: readonly ["bridge", "cex", "cross-chain", "dex", "gaming", "lending", "nft-marketplace", "other"];
|
|
3
|
+
export declare const appCategoryUnionSchema: z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>;
|
|
4
|
+
export declare const appSchema: z.ZodEffects<z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
website: z.ZodOptional<z.ZodString>;
|
|
10
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
id: string;
|
|
13
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
14
|
+
name: string;
|
|
15
|
+
description?: string | undefined;
|
|
16
|
+
website?: string | undefined;
|
|
17
|
+
icon?: string | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
id: string;
|
|
20
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
21
|
+
name: string;
|
|
22
|
+
description?: string | undefined;
|
|
23
|
+
website?: string | undefined;
|
|
24
|
+
icon?: string | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
description: string | undefined;
|
|
27
|
+
website: string | undefined;
|
|
28
|
+
icon: string | undefined;
|
|
29
|
+
id: string;
|
|
30
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
31
|
+
name: string;
|
|
32
|
+
}, {
|
|
33
|
+
id: string;
|
|
34
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
35
|
+
name: string;
|
|
36
|
+
description?: string | undefined;
|
|
37
|
+
website?: string | undefined;
|
|
38
|
+
icon?: string | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../apps/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,aAAa,mGAShB,CAAA;AACV,eAAO,MAAM,sBAAsB,sNAAmC,CAAA;AAEtE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcjB,CAAA"}
|
package/_types/apps/types.d.ts
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
readonly description: string | undefined;
|
|
6
|
-
readonly website: string | undefined;
|
|
7
|
-
readonly icon: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
export declare const appCategories: readonly ["bridge", "cex", "cross-chain", "dex", "gaming", "lending", "nft-marketplace", "other"];
|
|
10
|
-
export type AppCategory = (typeof appCategories)[number];
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { appCategoryUnionSchema, appSchema } from './schemas';
|
|
3
|
+
export type App = z.infer<typeof appSchema>;
|
|
4
|
+
export type AppCategory = z.infer<typeof appCategoryUnionSchema>;
|
|
11
5
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../apps/types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../apps/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAElE,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAA;AAE3C,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const createCryptoCurrency: <const currency extends {
|
|
2
|
+
icon: string | undefined;
|
|
3
|
+
symbol: string;
|
|
4
|
+
type: "CryptoCurrency";
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
market: {
|
|
8
|
+
coingeckoId: string | undefined;
|
|
9
|
+
marketCapUsd: {
|
|
10
|
+
value: bigint;
|
|
11
|
+
decimals: number;
|
|
12
|
+
} | undefined;
|
|
13
|
+
};
|
|
14
|
+
updatedAt: number;
|
|
15
|
+
}>(currency: currency) => currency;
|
|
3
16
|
//# sourceMappingURL=createCryptoCurrency.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createCryptoCurrency.d.ts","sourceRoot":"","sources":["../../../assets/creates/createCryptoCurrency.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createCryptoCurrency.d.ts","sourceRoot":"","sources":["../../../assets/creates/createCryptoCurrency.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;kCAI/B,CAAA"}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const createFiatCurrency: <const currency extends {
|
|
2
|
+
icon: string | undefined;
|
|
3
|
+
symbol: string;
|
|
4
|
+
type: "FiatCurrency";
|
|
5
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
6
|
+
name: string;
|
|
7
|
+
}>(currency: currency) => currency;
|
|
3
8
|
//# sourceMappingURL=createFiatCurrency.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFiatCurrency.d.ts","sourceRoot":"","sources":["../../../assets/creates/createFiatCurrency.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createFiatCurrency.d.ts","sourceRoot":"","sources":["../../../assets/creates/createFiatCurrency.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;kCAI7B,CAAA"}
|
|
@@ -1,14 +1,35 @@
|
|
|
1
1
|
import type { Config } from '../../types';
|
|
2
|
-
import type { CryptoCurrency, CryptoCurrencyPrice } from '../types';
|
|
3
2
|
export declare const coingeckoCryptoCurrencyDataSource: {
|
|
4
3
|
readonly getCurrentPrice: ({ targetCurrencies, vsCurrency }: import("../types").GetCurrentPriceParameters, config?: Config) => Promise<{
|
|
5
4
|
cryptoCurrencyId: string;
|
|
6
|
-
crypto:
|
|
5
|
+
crypto: {
|
|
6
|
+
icon: string | undefined;
|
|
7
|
+
symbol: string;
|
|
8
|
+
type: "CryptoCurrency";
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
market: {
|
|
12
|
+
coingeckoId: string | undefined;
|
|
13
|
+
marketCapUsd: {
|
|
14
|
+
value: bigint;
|
|
15
|
+
decimals: number;
|
|
16
|
+
} | undefined;
|
|
17
|
+
};
|
|
18
|
+
updatedAt: number;
|
|
19
|
+
};
|
|
7
20
|
fiatCurrencyId: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
8
21
|
price: import("@0xtorch/big-decimal").BigDecimal;
|
|
9
22
|
timestamp: number;
|
|
10
23
|
}[]>;
|
|
11
|
-
readonly getHistoricalPrices: ({ targetCurrencies, vsCurrency, from, to }: import("../types").GetHistoricalPricesParameters, config?: Config) => Promise<
|
|
24
|
+
readonly getHistoricalPrices: ({ targetCurrencies, vsCurrency, from, to }: import("../types").GetHistoricalPricesParameters, config?: Config) => Promise<{
|
|
25
|
+
cryptoCurrencyId: string;
|
|
26
|
+
fiatCurrencyId: string;
|
|
27
|
+
price: {
|
|
28
|
+
value: bigint;
|
|
29
|
+
decimals: number;
|
|
30
|
+
};
|
|
31
|
+
timestamp: number;
|
|
32
|
+
}[]>;
|
|
12
33
|
};
|
|
13
34
|
/** from, to を 90 日間毎に分割する */
|
|
14
35
|
export declare const splitFromToBy90DaysSeconds: (from: number, to: number) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coingeckoCryptoCurrencyDataSource.d.ts","sourceRoot":"","sources":["../../../assets/definitions/coingeckoCryptoCurrencyDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"coingeckoCryptoCurrencyDataSource.d.ts","sourceRoot":"","sources":["../../../assets/definitions/coingeckoCryptoCurrencyDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAkBzC,eAAO,MAAM,iCAAiC;wHAI/B,MAAM;;;;;;;;;;;;;;;;;;;;;0IA6CN,MAAM;;;;;;;;;CAuCpB,CAAA;AA+CD,6BAA6B;AAC7B,eAAO,MAAM,0BAA0B,SAC/B,MAAM,MACR,MAAM;mBACQ,MAAM;iBAAe,MAAM;GAS9C,CAAA"}
|
package/_types/assets/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { fiatCurrencyDecimals } from './constants';
|
|
2
2
|
export { createCryptoCurrency, createFiatCurrency } from './creates';
|
|
3
3
|
export { astar, avalanche, bnb, coingeckoCryptoCurrencyDataSource, ethereum, eur, fantom, jpy, kava, mantle, maticNetwork, metis, moonbeam, moonriver, ronin, usd, } from './definitions';
|
|
4
|
+
export { assetSchema, cryptoCurrencyPriceSchema, cryptoCurrencySchema, fiatCurrencySchema, nftSchema, } from './schemas';
|
|
4
5
|
export type { CryptoCurrency, CryptoCurrencyDataSource, CryptoCurrencyPrice, FiatCurrency, Nft, } from './types';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../assets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AACpE,OAAO,EACL,KAAK,EACL,SAAS,EACT,GAAG,EACH,iCAAiC,EACjC,QAAQ,EACR,GAAG,EACH,MAAM,EACN,GAAG,EACH,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,GACJ,MAAM,eAAe,CAAA;AACtB,YAAY,EACV,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,YAAY,EACZ,GAAG,GACJ,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../assets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AACpE,OAAO,EACL,KAAK,EACL,SAAS,EACT,GAAG,EACH,iCAAiC,EACjC,QAAQ,EACR,GAAG,EACH,MAAM,EACN,GAAG,EACH,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,SAAS,EACT,KAAK,EACL,GAAG,GACJ,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,WAAW,EACX,yBAAyB,EACzB,oBAAoB,EACpB,kBAAkB,EAClB,SAAS,GACV,MAAM,WAAW,CAAA;AAClB,YAAY,EACV,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,YAAY,EACZ,GAAG,GACJ,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const assetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"CryptoCurrency">;
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
symbol: z.ZodString;
|
|
7
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
8
|
+
market: z.ZodEffects<z.ZodObject<{
|
|
9
|
+
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
marketCapUsd: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
value: z.ZodBigInt;
|
|
12
|
+
decimals: z.ZodNumber;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
value: bigint;
|
|
15
|
+
decimals: number;
|
|
16
|
+
}, {
|
|
17
|
+
value: bigint;
|
|
18
|
+
decimals: number;
|
|
19
|
+
}>>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
coingeckoId?: string | undefined;
|
|
22
|
+
marketCapUsd?: {
|
|
23
|
+
value: bigint;
|
|
24
|
+
decimals: number;
|
|
25
|
+
} | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
coingeckoId?: string | undefined;
|
|
28
|
+
marketCapUsd?: {
|
|
29
|
+
value: bigint;
|
|
30
|
+
decimals: number;
|
|
31
|
+
} | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
coingeckoId: string | undefined;
|
|
34
|
+
marketCapUsd: {
|
|
35
|
+
value: bigint;
|
|
36
|
+
decimals: number;
|
|
37
|
+
} | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
coingeckoId?: string | undefined;
|
|
40
|
+
marketCapUsd?: {
|
|
41
|
+
value: bigint;
|
|
42
|
+
decimals: number;
|
|
43
|
+
} | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
updatedAt: z.ZodNumber;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
symbol: string;
|
|
48
|
+
type: "CryptoCurrency";
|
|
49
|
+
id: string;
|
|
50
|
+
name: string;
|
|
51
|
+
market: {
|
|
52
|
+
coingeckoId: string | undefined;
|
|
53
|
+
marketCapUsd: {
|
|
54
|
+
value: bigint;
|
|
55
|
+
decimals: number;
|
|
56
|
+
} | undefined;
|
|
57
|
+
};
|
|
58
|
+
updatedAt: number;
|
|
59
|
+
icon?: string | undefined;
|
|
60
|
+
}, {
|
|
61
|
+
symbol: string;
|
|
62
|
+
type: "CryptoCurrency";
|
|
63
|
+
id: string;
|
|
64
|
+
name: string;
|
|
65
|
+
market: {
|
|
66
|
+
coingeckoId?: string | undefined;
|
|
67
|
+
marketCapUsd?: {
|
|
68
|
+
value: bigint;
|
|
69
|
+
decimals: number;
|
|
70
|
+
} | undefined;
|
|
71
|
+
};
|
|
72
|
+
updatedAt: number;
|
|
73
|
+
icon?: string | undefined;
|
|
74
|
+
}>, {
|
|
75
|
+
icon: string | undefined;
|
|
76
|
+
symbol: string;
|
|
77
|
+
type: "CryptoCurrency";
|
|
78
|
+
id: string;
|
|
79
|
+
name: string;
|
|
80
|
+
market: {
|
|
81
|
+
coingeckoId: string | undefined;
|
|
82
|
+
marketCapUsd: {
|
|
83
|
+
value: bigint;
|
|
84
|
+
decimals: number;
|
|
85
|
+
} | undefined;
|
|
86
|
+
};
|
|
87
|
+
updatedAt: number;
|
|
88
|
+
}, {
|
|
89
|
+
symbol: string;
|
|
90
|
+
type: "CryptoCurrency";
|
|
91
|
+
id: string;
|
|
92
|
+
name: string;
|
|
93
|
+
market: {
|
|
94
|
+
coingeckoId?: string | undefined;
|
|
95
|
+
marketCapUsd?: {
|
|
96
|
+
value: bigint;
|
|
97
|
+
decimals: number;
|
|
98
|
+
} | undefined;
|
|
99
|
+
};
|
|
100
|
+
updatedAt: number;
|
|
101
|
+
icon?: string | undefined;
|
|
102
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
103
|
+
type: z.ZodLiteral<"FiatCurrency">;
|
|
104
|
+
id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
|
|
105
|
+
name: z.ZodString;
|
|
106
|
+
symbol: z.ZodString;
|
|
107
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
symbol: string;
|
|
110
|
+
type: "FiatCurrency";
|
|
111
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
112
|
+
name: string;
|
|
113
|
+
icon?: string | undefined;
|
|
114
|
+
}, {
|
|
115
|
+
symbol: string;
|
|
116
|
+
type: "FiatCurrency";
|
|
117
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
118
|
+
name: string;
|
|
119
|
+
icon?: string | undefined;
|
|
120
|
+
}>, {
|
|
121
|
+
icon: string | undefined;
|
|
122
|
+
symbol: string;
|
|
123
|
+
type: "FiatCurrency";
|
|
124
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
125
|
+
name: string;
|
|
126
|
+
}, {
|
|
127
|
+
symbol: string;
|
|
128
|
+
type: "FiatCurrency";
|
|
129
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
130
|
+
name: string;
|
|
131
|
+
icon?: string | undefined;
|
|
132
|
+
}>, z.ZodObject<{
|
|
133
|
+
type: z.ZodLiteral<"Nft">;
|
|
134
|
+
id: z.ZodString;
|
|
135
|
+
}, "strip", z.ZodTypeAny, {
|
|
136
|
+
type: "Nft";
|
|
137
|
+
id: string;
|
|
138
|
+
}, {
|
|
139
|
+
type: "Nft";
|
|
140
|
+
id: string;
|
|
141
|
+
}>]>;
|
|
142
|
+
//# sourceMappingURL=asset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset.d.ts","sourceRoot":"","sources":["../../../assets/schemas/asset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAItB,CAAA"}
|