@0xtorch/core 0.0.2 → 0.0.4
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 +29 -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 +26 -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 +70552 -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 +1426 -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 +35 -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
|
@@ -0,0 +1,629 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const accountActionIncomeSchema: z.ZodEffects<z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"NormalAccountAction">;
|
|
4
|
+
timestamp: z.ZodNumber;
|
|
5
|
+
order: z.ZodNumber;
|
|
6
|
+
source: z.ZodString;
|
|
7
|
+
evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
|
|
8
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
9
|
+
app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
10
|
+
id: z.ZodString;
|
|
11
|
+
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">;
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
description: z.ZodOptional<z.ZodString>;
|
|
14
|
+
website: z.ZodOptional<z.ZodString>;
|
|
15
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
id: string;
|
|
18
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
19
|
+
name: string;
|
|
20
|
+
description?: string | undefined;
|
|
21
|
+
website?: string | undefined;
|
|
22
|
+
icon?: string | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
id: string;
|
|
25
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
26
|
+
name: string;
|
|
27
|
+
description?: string | undefined;
|
|
28
|
+
website?: string | undefined;
|
|
29
|
+
icon?: string | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
description: string | undefined;
|
|
32
|
+
website: string | undefined;
|
|
33
|
+
icon: string | undefined;
|
|
34
|
+
id: string;
|
|
35
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
36
|
+
name: string;
|
|
37
|
+
}, {
|
|
38
|
+
id: string;
|
|
39
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
40
|
+
name: string;
|
|
41
|
+
description?: string | undefined;
|
|
42
|
+
website?: string | undefined;
|
|
43
|
+
icon?: string | undefined;
|
|
44
|
+
}>>;
|
|
45
|
+
action: z.ZodLiteral<"income">;
|
|
46
|
+
transfers: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
47
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
48
|
+
cryptoCurrencyId: z.ZodString;
|
|
49
|
+
fiatCurrencyId: z.ZodString;
|
|
50
|
+
price: z.ZodObject<{
|
|
51
|
+
value: z.ZodBigInt;
|
|
52
|
+
decimals: z.ZodNumber;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
value: bigint;
|
|
55
|
+
decimals: number;
|
|
56
|
+
}, {
|
|
57
|
+
value: bigint;
|
|
58
|
+
decimals: number;
|
|
59
|
+
}>;
|
|
60
|
+
timestamp: z.ZodNumber;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
cryptoCurrencyId: string;
|
|
63
|
+
fiatCurrencyId: string;
|
|
64
|
+
price: {
|
|
65
|
+
value: bigint;
|
|
66
|
+
decimals: number;
|
|
67
|
+
};
|
|
68
|
+
timestamp: number;
|
|
69
|
+
}, {
|
|
70
|
+
cryptoCurrencyId: string;
|
|
71
|
+
fiatCurrencyId: string;
|
|
72
|
+
price: {
|
|
73
|
+
value: bigint;
|
|
74
|
+
decimals: number;
|
|
75
|
+
};
|
|
76
|
+
timestamp: number;
|
|
77
|
+
}>>;
|
|
78
|
+
from: z.ZodOptional<z.ZodString>;
|
|
79
|
+
to: z.ZodOptional<z.ZodString>;
|
|
80
|
+
asset: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
81
|
+
type: z.ZodLiteral<"CryptoCurrency">;
|
|
82
|
+
id: z.ZodString;
|
|
83
|
+
name: z.ZodString;
|
|
84
|
+
symbol: z.ZodString;
|
|
85
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
86
|
+
market: z.ZodEffects<z.ZodObject<{
|
|
87
|
+
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
88
|
+
marketCapUsd: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
value: z.ZodBigInt;
|
|
90
|
+
decimals: z.ZodNumber;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
value: bigint;
|
|
93
|
+
decimals: number;
|
|
94
|
+
}, {
|
|
95
|
+
value: bigint;
|
|
96
|
+
decimals: number;
|
|
97
|
+
}>>;
|
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
|
99
|
+
coingeckoId?: string | undefined;
|
|
100
|
+
marketCapUsd?: {
|
|
101
|
+
value: bigint;
|
|
102
|
+
decimals: number;
|
|
103
|
+
} | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
coingeckoId?: string | undefined;
|
|
106
|
+
marketCapUsd?: {
|
|
107
|
+
value: bigint;
|
|
108
|
+
decimals: number;
|
|
109
|
+
} | undefined;
|
|
110
|
+
}>, {
|
|
111
|
+
coingeckoId: string | undefined;
|
|
112
|
+
marketCapUsd: {
|
|
113
|
+
value: bigint;
|
|
114
|
+
decimals: number;
|
|
115
|
+
} | undefined;
|
|
116
|
+
}, {
|
|
117
|
+
coingeckoId?: string | undefined;
|
|
118
|
+
marketCapUsd?: {
|
|
119
|
+
value: bigint;
|
|
120
|
+
decimals: number;
|
|
121
|
+
} | undefined;
|
|
122
|
+
}>;
|
|
123
|
+
updatedAt: z.ZodNumber;
|
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
|
+
symbol: string;
|
|
126
|
+
type: "CryptoCurrency";
|
|
127
|
+
id: string;
|
|
128
|
+
name: string;
|
|
129
|
+
market: {
|
|
130
|
+
coingeckoId: string | undefined;
|
|
131
|
+
marketCapUsd: {
|
|
132
|
+
value: bigint;
|
|
133
|
+
decimals: number;
|
|
134
|
+
} | undefined;
|
|
135
|
+
};
|
|
136
|
+
updatedAt: number;
|
|
137
|
+
icon?: string | undefined;
|
|
138
|
+
}, {
|
|
139
|
+
symbol: string;
|
|
140
|
+
type: "CryptoCurrency";
|
|
141
|
+
id: string;
|
|
142
|
+
name: string;
|
|
143
|
+
market: {
|
|
144
|
+
coingeckoId?: string | undefined;
|
|
145
|
+
marketCapUsd?: {
|
|
146
|
+
value: bigint;
|
|
147
|
+
decimals: number;
|
|
148
|
+
} | undefined;
|
|
149
|
+
};
|
|
150
|
+
updatedAt: number;
|
|
151
|
+
icon?: string | undefined;
|
|
152
|
+
}>, {
|
|
153
|
+
icon: string | undefined;
|
|
154
|
+
symbol: string;
|
|
155
|
+
type: "CryptoCurrency";
|
|
156
|
+
id: string;
|
|
157
|
+
name: string;
|
|
158
|
+
market: {
|
|
159
|
+
coingeckoId: string | undefined;
|
|
160
|
+
marketCapUsd: {
|
|
161
|
+
value: bigint;
|
|
162
|
+
decimals: number;
|
|
163
|
+
} | undefined;
|
|
164
|
+
};
|
|
165
|
+
updatedAt: number;
|
|
166
|
+
}, {
|
|
167
|
+
symbol: string;
|
|
168
|
+
type: "CryptoCurrency";
|
|
169
|
+
id: string;
|
|
170
|
+
name: string;
|
|
171
|
+
market: {
|
|
172
|
+
coingeckoId?: string | undefined;
|
|
173
|
+
marketCapUsd?: {
|
|
174
|
+
value: bigint;
|
|
175
|
+
decimals: number;
|
|
176
|
+
} | undefined;
|
|
177
|
+
};
|
|
178
|
+
updatedAt: number;
|
|
179
|
+
icon?: string | undefined;
|
|
180
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
181
|
+
type: z.ZodLiteral<"FiatCurrency">;
|
|
182
|
+
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">]>;
|
|
183
|
+
name: z.ZodString;
|
|
184
|
+
symbol: z.ZodString;
|
|
185
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
186
|
+
}, "strip", z.ZodTypeAny, {
|
|
187
|
+
symbol: string;
|
|
188
|
+
type: "FiatCurrency";
|
|
189
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
190
|
+
name: string;
|
|
191
|
+
icon?: string | undefined;
|
|
192
|
+
}, {
|
|
193
|
+
symbol: string;
|
|
194
|
+
type: "FiatCurrency";
|
|
195
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
196
|
+
name: string;
|
|
197
|
+
icon?: string | undefined;
|
|
198
|
+
}>, {
|
|
199
|
+
icon: string | undefined;
|
|
200
|
+
symbol: string;
|
|
201
|
+
type: "FiatCurrency";
|
|
202
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
203
|
+
name: string;
|
|
204
|
+
}, {
|
|
205
|
+
symbol: string;
|
|
206
|
+
type: "FiatCurrency";
|
|
207
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
208
|
+
name: string;
|
|
209
|
+
icon?: string | undefined;
|
|
210
|
+
}>, z.ZodObject<{
|
|
211
|
+
type: z.ZodLiteral<"Nft">;
|
|
212
|
+
id: z.ZodString;
|
|
213
|
+
}, "strip", z.ZodTypeAny, {
|
|
214
|
+
type: "Nft";
|
|
215
|
+
id: string;
|
|
216
|
+
}, {
|
|
217
|
+
type: "Nft";
|
|
218
|
+
id: string;
|
|
219
|
+
}>]>;
|
|
220
|
+
amount: z.ZodObject<{
|
|
221
|
+
value: z.ZodBigInt;
|
|
222
|
+
decimals: z.ZodNumber;
|
|
223
|
+
}, "strip", z.ZodTypeAny, {
|
|
224
|
+
value: bigint;
|
|
225
|
+
decimals: number;
|
|
226
|
+
}, {
|
|
227
|
+
value: bigint;
|
|
228
|
+
decimals: number;
|
|
229
|
+
}>;
|
|
230
|
+
direction: z.ZodLiteral<"in">;
|
|
231
|
+
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
asset: {
|
|
233
|
+
icon: string | undefined;
|
|
234
|
+
symbol: string;
|
|
235
|
+
type: "CryptoCurrency";
|
|
236
|
+
id: string;
|
|
237
|
+
name: string;
|
|
238
|
+
market: {
|
|
239
|
+
coingeckoId: string | undefined;
|
|
240
|
+
marketCapUsd: {
|
|
241
|
+
value: bigint;
|
|
242
|
+
decimals: number;
|
|
243
|
+
} | undefined;
|
|
244
|
+
};
|
|
245
|
+
updatedAt: number;
|
|
246
|
+
} | {
|
|
247
|
+
icon: string | undefined;
|
|
248
|
+
symbol: string;
|
|
249
|
+
type: "FiatCurrency";
|
|
250
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
251
|
+
name: string;
|
|
252
|
+
} | {
|
|
253
|
+
type: "Nft";
|
|
254
|
+
id: string;
|
|
255
|
+
};
|
|
256
|
+
amount: {
|
|
257
|
+
value: bigint;
|
|
258
|
+
decimals: number;
|
|
259
|
+
};
|
|
260
|
+
direction: "in";
|
|
261
|
+
price?: {
|
|
262
|
+
cryptoCurrencyId: string;
|
|
263
|
+
fiatCurrencyId: string;
|
|
264
|
+
price: {
|
|
265
|
+
value: bigint;
|
|
266
|
+
decimals: number;
|
|
267
|
+
};
|
|
268
|
+
timestamp: number;
|
|
269
|
+
} | undefined;
|
|
270
|
+
from?: string | undefined;
|
|
271
|
+
to?: string | undefined;
|
|
272
|
+
}, {
|
|
273
|
+
asset: {
|
|
274
|
+
symbol: string;
|
|
275
|
+
type: "CryptoCurrency";
|
|
276
|
+
id: string;
|
|
277
|
+
name: string;
|
|
278
|
+
market: {
|
|
279
|
+
coingeckoId?: string | undefined;
|
|
280
|
+
marketCapUsd?: {
|
|
281
|
+
value: bigint;
|
|
282
|
+
decimals: number;
|
|
283
|
+
} | undefined;
|
|
284
|
+
};
|
|
285
|
+
updatedAt: number;
|
|
286
|
+
icon?: string | undefined;
|
|
287
|
+
} | {
|
|
288
|
+
symbol: string;
|
|
289
|
+
type: "FiatCurrency";
|
|
290
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
291
|
+
name: string;
|
|
292
|
+
icon?: string | undefined;
|
|
293
|
+
} | {
|
|
294
|
+
type: "Nft";
|
|
295
|
+
id: string;
|
|
296
|
+
};
|
|
297
|
+
amount: {
|
|
298
|
+
value: bigint;
|
|
299
|
+
decimals: number;
|
|
300
|
+
};
|
|
301
|
+
direction: "in";
|
|
302
|
+
price?: {
|
|
303
|
+
cryptoCurrencyId: string;
|
|
304
|
+
fiatCurrencyId: string;
|
|
305
|
+
price: {
|
|
306
|
+
value: bigint;
|
|
307
|
+
decimals: number;
|
|
308
|
+
};
|
|
309
|
+
timestamp: number;
|
|
310
|
+
} | undefined;
|
|
311
|
+
from?: string | undefined;
|
|
312
|
+
to?: string | undefined;
|
|
313
|
+
}>, {
|
|
314
|
+
from: string | undefined;
|
|
315
|
+
to: string | undefined;
|
|
316
|
+
price: {
|
|
317
|
+
cryptoCurrencyId: string;
|
|
318
|
+
fiatCurrencyId: string;
|
|
319
|
+
price: {
|
|
320
|
+
value: bigint;
|
|
321
|
+
decimals: number;
|
|
322
|
+
};
|
|
323
|
+
timestamp: number;
|
|
324
|
+
} | undefined;
|
|
325
|
+
asset: {
|
|
326
|
+
icon: string | undefined;
|
|
327
|
+
symbol: string;
|
|
328
|
+
type: "CryptoCurrency";
|
|
329
|
+
id: string;
|
|
330
|
+
name: string;
|
|
331
|
+
market: {
|
|
332
|
+
coingeckoId: string | undefined;
|
|
333
|
+
marketCapUsd: {
|
|
334
|
+
value: bigint;
|
|
335
|
+
decimals: number;
|
|
336
|
+
} | undefined;
|
|
337
|
+
};
|
|
338
|
+
updatedAt: number;
|
|
339
|
+
} | {
|
|
340
|
+
icon: string | undefined;
|
|
341
|
+
symbol: string;
|
|
342
|
+
type: "FiatCurrency";
|
|
343
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
344
|
+
name: string;
|
|
345
|
+
} | {
|
|
346
|
+
type: "Nft";
|
|
347
|
+
id: string;
|
|
348
|
+
};
|
|
349
|
+
amount: {
|
|
350
|
+
value: bigint;
|
|
351
|
+
decimals: number;
|
|
352
|
+
};
|
|
353
|
+
direction: "in";
|
|
354
|
+
}, {
|
|
355
|
+
asset: {
|
|
356
|
+
symbol: string;
|
|
357
|
+
type: "CryptoCurrency";
|
|
358
|
+
id: string;
|
|
359
|
+
name: string;
|
|
360
|
+
market: {
|
|
361
|
+
coingeckoId?: string | undefined;
|
|
362
|
+
marketCapUsd?: {
|
|
363
|
+
value: bigint;
|
|
364
|
+
decimals: number;
|
|
365
|
+
} | undefined;
|
|
366
|
+
};
|
|
367
|
+
updatedAt: number;
|
|
368
|
+
icon?: string | undefined;
|
|
369
|
+
} | {
|
|
370
|
+
symbol: string;
|
|
371
|
+
type: "FiatCurrency";
|
|
372
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
373
|
+
name: string;
|
|
374
|
+
icon?: string | undefined;
|
|
375
|
+
} | {
|
|
376
|
+
type: "Nft";
|
|
377
|
+
id: string;
|
|
378
|
+
};
|
|
379
|
+
amount: {
|
|
380
|
+
value: bigint;
|
|
381
|
+
decimals: number;
|
|
382
|
+
};
|
|
383
|
+
direction: "in";
|
|
384
|
+
price?: {
|
|
385
|
+
cryptoCurrencyId: string;
|
|
386
|
+
fiatCurrencyId: string;
|
|
387
|
+
price: {
|
|
388
|
+
value: bigint;
|
|
389
|
+
decimals: number;
|
|
390
|
+
};
|
|
391
|
+
timestamp: number;
|
|
392
|
+
} | undefined;
|
|
393
|
+
from?: string | undefined;
|
|
394
|
+
to?: string | undefined;
|
|
395
|
+
}>, "many">;
|
|
396
|
+
}, "strip", z.ZodTypeAny, {
|
|
397
|
+
type: "NormalAccountAction";
|
|
398
|
+
timestamp: number;
|
|
399
|
+
order: number;
|
|
400
|
+
action: "income";
|
|
401
|
+
source: string;
|
|
402
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
403
|
+
transfers: {
|
|
404
|
+
from: string | undefined;
|
|
405
|
+
to: string | undefined;
|
|
406
|
+
price: {
|
|
407
|
+
cryptoCurrencyId: string;
|
|
408
|
+
fiatCurrencyId: string;
|
|
409
|
+
price: {
|
|
410
|
+
value: bigint;
|
|
411
|
+
decimals: number;
|
|
412
|
+
};
|
|
413
|
+
timestamp: number;
|
|
414
|
+
} | undefined;
|
|
415
|
+
asset: {
|
|
416
|
+
icon: string | undefined;
|
|
417
|
+
symbol: string;
|
|
418
|
+
type: "CryptoCurrency";
|
|
419
|
+
id: string;
|
|
420
|
+
name: string;
|
|
421
|
+
market: {
|
|
422
|
+
coingeckoId: string | undefined;
|
|
423
|
+
marketCapUsd: {
|
|
424
|
+
value: bigint;
|
|
425
|
+
decimals: number;
|
|
426
|
+
} | undefined;
|
|
427
|
+
};
|
|
428
|
+
updatedAt: number;
|
|
429
|
+
} | {
|
|
430
|
+
icon: string | undefined;
|
|
431
|
+
symbol: string;
|
|
432
|
+
type: "FiatCurrency";
|
|
433
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
434
|
+
name: string;
|
|
435
|
+
} | {
|
|
436
|
+
type: "Nft";
|
|
437
|
+
id: string;
|
|
438
|
+
};
|
|
439
|
+
amount: {
|
|
440
|
+
value: bigint;
|
|
441
|
+
decimals: number;
|
|
442
|
+
};
|
|
443
|
+
direction: "in";
|
|
444
|
+
}[];
|
|
445
|
+
comment?: string | undefined;
|
|
446
|
+
app?: {
|
|
447
|
+
description: string | undefined;
|
|
448
|
+
website: string | undefined;
|
|
449
|
+
icon: string | undefined;
|
|
450
|
+
id: string;
|
|
451
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
452
|
+
name: string;
|
|
453
|
+
} | undefined;
|
|
454
|
+
}, {
|
|
455
|
+
type: "NormalAccountAction";
|
|
456
|
+
timestamp: number;
|
|
457
|
+
order: number;
|
|
458
|
+
action: "income";
|
|
459
|
+
source: string;
|
|
460
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
461
|
+
transfers: {
|
|
462
|
+
asset: {
|
|
463
|
+
symbol: string;
|
|
464
|
+
type: "CryptoCurrency";
|
|
465
|
+
id: string;
|
|
466
|
+
name: string;
|
|
467
|
+
market: {
|
|
468
|
+
coingeckoId?: string | undefined;
|
|
469
|
+
marketCapUsd?: {
|
|
470
|
+
value: bigint;
|
|
471
|
+
decimals: number;
|
|
472
|
+
} | undefined;
|
|
473
|
+
};
|
|
474
|
+
updatedAt: number;
|
|
475
|
+
icon?: string | undefined;
|
|
476
|
+
} | {
|
|
477
|
+
symbol: string;
|
|
478
|
+
type: "FiatCurrency";
|
|
479
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
480
|
+
name: string;
|
|
481
|
+
icon?: string | undefined;
|
|
482
|
+
} | {
|
|
483
|
+
type: "Nft";
|
|
484
|
+
id: string;
|
|
485
|
+
};
|
|
486
|
+
amount: {
|
|
487
|
+
value: bigint;
|
|
488
|
+
decimals: number;
|
|
489
|
+
};
|
|
490
|
+
direction: "in";
|
|
491
|
+
price?: {
|
|
492
|
+
cryptoCurrencyId: string;
|
|
493
|
+
fiatCurrencyId: string;
|
|
494
|
+
price: {
|
|
495
|
+
value: bigint;
|
|
496
|
+
decimals: number;
|
|
497
|
+
};
|
|
498
|
+
timestamp: number;
|
|
499
|
+
} | undefined;
|
|
500
|
+
from?: string | undefined;
|
|
501
|
+
to?: string | undefined;
|
|
502
|
+
}[];
|
|
503
|
+
comment?: string | undefined;
|
|
504
|
+
app?: {
|
|
505
|
+
id: string;
|
|
506
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
507
|
+
name: string;
|
|
508
|
+
description?: string | undefined;
|
|
509
|
+
website?: string | undefined;
|
|
510
|
+
icon?: string | undefined;
|
|
511
|
+
} | undefined;
|
|
512
|
+
}>, {
|
|
513
|
+
comment: string | undefined;
|
|
514
|
+
app: {
|
|
515
|
+
description: string | undefined;
|
|
516
|
+
website: string | undefined;
|
|
517
|
+
icon: string | undefined;
|
|
518
|
+
id: string;
|
|
519
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
520
|
+
name: string;
|
|
521
|
+
} | undefined;
|
|
522
|
+
type: "NormalAccountAction";
|
|
523
|
+
timestamp: number;
|
|
524
|
+
order: number;
|
|
525
|
+
action: "income";
|
|
526
|
+
source: string;
|
|
527
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
528
|
+
transfers: {
|
|
529
|
+
from: string | undefined;
|
|
530
|
+
to: string | undefined;
|
|
531
|
+
price: {
|
|
532
|
+
cryptoCurrencyId: string;
|
|
533
|
+
fiatCurrencyId: string;
|
|
534
|
+
price: {
|
|
535
|
+
value: bigint;
|
|
536
|
+
decimals: number;
|
|
537
|
+
};
|
|
538
|
+
timestamp: number;
|
|
539
|
+
} | undefined;
|
|
540
|
+
asset: {
|
|
541
|
+
icon: string | undefined;
|
|
542
|
+
symbol: string;
|
|
543
|
+
type: "CryptoCurrency";
|
|
544
|
+
id: string;
|
|
545
|
+
name: string;
|
|
546
|
+
market: {
|
|
547
|
+
coingeckoId: string | undefined;
|
|
548
|
+
marketCapUsd: {
|
|
549
|
+
value: bigint;
|
|
550
|
+
decimals: number;
|
|
551
|
+
} | undefined;
|
|
552
|
+
};
|
|
553
|
+
updatedAt: number;
|
|
554
|
+
} | {
|
|
555
|
+
icon: string | undefined;
|
|
556
|
+
symbol: string;
|
|
557
|
+
type: "FiatCurrency";
|
|
558
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
559
|
+
name: string;
|
|
560
|
+
} | {
|
|
561
|
+
type: "Nft";
|
|
562
|
+
id: string;
|
|
563
|
+
};
|
|
564
|
+
amount: {
|
|
565
|
+
value: bigint;
|
|
566
|
+
decimals: number;
|
|
567
|
+
};
|
|
568
|
+
direction: "in";
|
|
569
|
+
}[];
|
|
570
|
+
}, {
|
|
571
|
+
type: "NormalAccountAction";
|
|
572
|
+
timestamp: number;
|
|
573
|
+
order: number;
|
|
574
|
+
action: "income";
|
|
575
|
+
source: string;
|
|
576
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
577
|
+
transfers: {
|
|
578
|
+
asset: {
|
|
579
|
+
symbol: string;
|
|
580
|
+
type: "CryptoCurrency";
|
|
581
|
+
id: string;
|
|
582
|
+
name: string;
|
|
583
|
+
market: {
|
|
584
|
+
coingeckoId?: string | undefined;
|
|
585
|
+
marketCapUsd?: {
|
|
586
|
+
value: bigint;
|
|
587
|
+
decimals: number;
|
|
588
|
+
} | undefined;
|
|
589
|
+
};
|
|
590
|
+
updatedAt: number;
|
|
591
|
+
icon?: string | undefined;
|
|
592
|
+
} | {
|
|
593
|
+
symbol: string;
|
|
594
|
+
type: "FiatCurrency";
|
|
595
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
596
|
+
name: string;
|
|
597
|
+
icon?: string | undefined;
|
|
598
|
+
} | {
|
|
599
|
+
type: "Nft";
|
|
600
|
+
id: string;
|
|
601
|
+
};
|
|
602
|
+
amount: {
|
|
603
|
+
value: bigint;
|
|
604
|
+
decimals: number;
|
|
605
|
+
};
|
|
606
|
+
direction: "in";
|
|
607
|
+
price?: {
|
|
608
|
+
cryptoCurrencyId: string;
|
|
609
|
+
fiatCurrencyId: string;
|
|
610
|
+
price: {
|
|
611
|
+
value: bigint;
|
|
612
|
+
decimals: number;
|
|
613
|
+
};
|
|
614
|
+
timestamp: number;
|
|
615
|
+
} | undefined;
|
|
616
|
+
from?: string | undefined;
|
|
617
|
+
to?: string | undefined;
|
|
618
|
+
}[];
|
|
619
|
+
comment?: string | undefined;
|
|
620
|
+
app?: {
|
|
621
|
+
id: string;
|
|
622
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
623
|
+
name: string;
|
|
624
|
+
description?: string | undefined;
|
|
625
|
+
website?: string | undefined;
|
|
626
|
+
icon?: string | undefined;
|
|
627
|
+
} | undefined;
|
|
628
|
+
}>;
|
|
629
|
+
//# sourceMappingURL=income.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"income.d.ts","sourceRoot":"","sources":["../../../../actions/schemas/income/income.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASjC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { accountActionAtomicArbitrageSchema, normalActionAtomicArbitrageSchema, } from './atomicArbitrage';
|
|
2
|
+
export { accountActionFreeMintNftSchema, normalActionFreeMintNftSchema, } from './freeMintNft';
|
|
3
|
+
export { accountActionIncomeSchema } from './income';
|
|
4
|
+
export { accountActionNftRoyaltySchema } from './nftRoyalty';
|
|
5
|
+
export { accountActionSwapIncomeSchema } from './swapIncome';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../actions/schemas/income/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,iCAAiC,GAClC,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,8BAA8B,EAC9B,6BAA6B,GAC9B,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AACpD,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAC5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA"}
|