@0xtorch/core 0.0.7 → 0.0.9
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 +48 -2
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/parsers/borrow/borrow.js +22 -0
- package/_cjs/actions/parsers/borrow/borrow.js.map +1 -0
- package/_cjs/actions/parsers/borrow/borrowWithDebt.js +22 -0
- package/_cjs/actions/parsers/borrow/borrowWithDebt.js.map +1 -0
- package/_cjs/actions/parsers/borrow/index.js +8 -0
- package/_cjs/actions/parsers/borrow/index.js.map +1 -0
- package/_cjs/actions/parsers/crossReplace/bridgeFrom.js +22 -0
- package/_cjs/actions/parsers/crossReplace/bridgeFrom.js.map +1 -0
- package/_cjs/actions/parsers/crossReplace/bridgeTo.js +22 -0
- package/_cjs/actions/parsers/crossReplace/bridgeTo.js.map +1 -0
- package/_cjs/actions/parsers/crossReplace/crossReplace.js +22 -0
- package/_cjs/actions/parsers/crossReplace/crossReplace.js.map +1 -0
- package/_cjs/actions/parsers/crossReplace/index.js +10 -0
- package/_cjs/actions/parsers/crossReplace/index.js.map +1 -0
- package/_cjs/actions/parsers/crossTrade/crossTrade.js +22 -0
- package/_cjs/actions/parsers/crossTrade/crossTrade.js.map +1 -0
- package/_cjs/actions/parsers/crossTrade/index.js +6 -0
- package/_cjs/actions/parsers/crossTrade/index.js.map +1 -0
- package/_cjs/actions/parsers/default.js +134 -0
- package/_cjs/actions/parsers/default.js.map +1 -0
- package/_cjs/actions/parsers/deposit/addLiquidity.js +22 -0
- package/_cjs/actions/parsers/deposit/addLiquidity.js.map +1 -0
- package/_cjs/actions/parsers/deposit/deposit.js +22 -0
- package/_cjs/actions/parsers/deposit/deposit.js.map +1 -0
- package/_cjs/actions/parsers/deposit/depositWithBond.js +22 -0
- package/_cjs/actions/parsers/deposit/depositWithBond.js.map +1 -0
- package/_cjs/actions/parsers/deposit/index.js +12 -0
- package/_cjs/actions/parsers/deposit/index.js.map +1 -0
- package/_cjs/actions/parsers/deposit/stake.js +22 -0
- package/_cjs/actions/parsers/deposit/stake.js.map +1 -0
- package/_cjs/actions/parsers/fee/fee.js +38 -0
- package/_cjs/actions/parsers/fee/fee.js.map +1 -0
- package/_cjs/actions/parsers/fee/index.js +8 -0
- package/_cjs/actions/parsers/fee/index.js.map +1 -0
- package/_cjs/actions/parsers/fee/transactionFee.js +21 -0
- package/_cjs/actions/parsers/fee/transactionFee.js.map +1 -0
- package/_cjs/actions/parsers/ignore/approve.js +14 -0
- package/_cjs/actions/parsers/ignore/approve.js.map +1 -0
- package/_cjs/actions/parsers/ignore/failTx.js +14 -0
- package/_cjs/actions/parsers/ignore/failTx.js.map +1 -0
- package/_cjs/actions/parsers/ignore/index.js +16 -0
- package/_cjs/actions/parsers/ignore/index.js.map +1 -0
- package/_cjs/actions/parsers/ignore/receiveFromCex.js +12 -0
- package/_cjs/actions/parsers/ignore/receiveFromCex.js.map +1 -0
- package/_cjs/actions/parsers/ignore/revoke.js +14 -0
- package/_cjs/actions/parsers/ignore/revoke.js.map +1 -0
- package/_cjs/actions/parsers/ignore/sendToCex.js +12 -0
- package/_cjs/actions/parsers/ignore/sendToCex.js.map +1 -0
- package/_cjs/actions/parsers/ignore/spam.js +22 -0
- package/_cjs/actions/parsers/ignore/spam.js.map +1 -0
- package/_cjs/actions/parsers/income/atomicArbitrage.js +81 -0
- package/_cjs/actions/parsers/income/atomicArbitrage.js.map +1 -0
- package/_cjs/actions/parsers/income/freeMintNft.js +21 -0
- package/_cjs/actions/parsers/income/freeMintNft.js.map +1 -0
- package/_cjs/actions/parsers/income/income.js +28 -0
- package/_cjs/actions/parsers/income/income.js.map +1 -0
- package/_cjs/actions/parsers/income/index.js +10 -0
- package/_cjs/actions/parsers/income/index.js.map +1 -0
- package/_cjs/actions/parsers/index.js +58 -0
- package/_cjs/actions/parsers/index.js.map +1 -0
- package/_cjs/actions/parsers/repayment/index.js +8 -0
- package/_cjs/actions/parsers/repayment/index.js.map +1 -0
- package/_cjs/actions/parsers/repayment/repayment.js +22 -0
- package/_cjs/actions/parsers/repayment/repayment.js.map +1 -0
- package/_cjs/actions/parsers/repayment/repaymentWithDebt.js +22 -0
- package/_cjs/actions/parsers/repayment/repaymentWithDebt.js.map +1 -0
- package/_cjs/actions/parsers/replace/index.js +12 -0
- package/_cjs/actions/parsers/replace/index.js.map +1 -0
- package/_cjs/actions/parsers/replace/replace.js +21 -0
- package/_cjs/actions/parsers/replace/replace.js.map +1 -0
- package/_cjs/actions/parsers/replace/swapNft.js +21 -0
- package/_cjs/actions/parsers/replace/swapNft.js.map +1 -0
- package/_cjs/actions/parsers/replace/unwrap.js +21 -0
- package/_cjs/actions/parsers/replace/unwrap.js.map +1 -0
- package/_cjs/actions/parsers/replace/wrap.js +21 -0
- package/_cjs/actions/parsers/replace/wrap.js.map +1 -0
- package/_cjs/actions/parsers/trade/buyCrypto.js +50 -0
- package/_cjs/actions/parsers/trade/buyCrypto.js.map +1 -0
- package/_cjs/actions/parsers/trade/buyNft.js +118 -0
- package/_cjs/actions/parsers/trade/buyNft.js.map +1 -0
- package/_cjs/actions/parsers/trade/index.js +16 -0
- package/_cjs/actions/parsers/trade/index.js.map +1 -0
- package/_cjs/actions/parsers/trade/mintNft.js +88 -0
- package/_cjs/actions/parsers/trade/mintNft.js.map +1 -0
- package/_cjs/actions/parsers/trade/sellCrypto.js +50 -0
- package/_cjs/actions/parsers/trade/sellCrypto.js.map +1 -0
- package/_cjs/actions/parsers/trade/sellNft.js +118 -0
- package/_cjs/actions/parsers/trade/sellNft.js.map +1 -0
- package/_cjs/actions/parsers/trade/trade.js +163 -0
- package/_cjs/actions/parsers/trade/trade.js.map +1 -0
- package/_cjs/actions/parsers/transfer/index.js +6 -0
- package/_cjs/actions/parsers/transfer/index.js.map +1 -0
- package/_cjs/actions/parsers/transfer/transfer.js +15 -0
- package/_cjs/actions/parsers/transfer/transfer.js.map +1 -0
- package/_cjs/actions/parsers/types.js +3 -0
- package/_cjs/actions/parsers/types.js.map +1 -0
- package/_cjs/actions/parsers/valuedown/index.js +6 -0
- package/_cjs/actions/parsers/valuedown/index.js.map +1 -0
- package/_cjs/actions/parsers/valuedown/valuedown.js +22 -0
- package/_cjs/actions/parsers/valuedown/valuedown.js.map +1 -0
- package/_cjs/actions/parsers/valueup/index.js +6 -0
- package/_cjs/actions/parsers/valueup/index.js.map +1 -0
- package/_cjs/actions/parsers/valueup/valueup.js +22 -0
- package/_cjs/actions/parsers/valueup/valueup.js.map +1 -0
- package/_cjs/actions/parsers/withdraw/index.js +12 -0
- package/_cjs/actions/parsers/withdraw/index.js.map +1 -0
- package/_cjs/actions/parsers/withdraw/removeLiquidity.js +22 -0
- package/_cjs/actions/parsers/withdraw/removeLiquidity.js.map +1 -0
- package/_cjs/actions/parsers/withdraw/unstake.js +22 -0
- package/_cjs/actions/parsers/withdraw/unstake.js.map +1 -0
- package/_cjs/actions/parsers/withdraw/withdraw.js +22 -0
- package/_cjs/actions/parsers/withdraw/withdraw.js.map +1 -0
- package/_cjs/actions/parsers/withdraw/withdrawWithBond.js +22 -0
- package/_cjs/actions/parsers/withdraw/withdrawWithBond.js.map +1 -0
- package/_cjs/actions/schemas/action.js +5 -0
- package/_cjs/actions/schemas/action.js.map +1 -1
- package/_cjs/actions/schemas/ignore/index.js +3 -1
- package/_cjs/actions/schemas/ignore/index.js.map +1 -1
- package/_cjs/actions/schemas/ignore/receiveFromCex.js +11 -1
- package/_cjs/actions/schemas/ignore/receiveFromCex.js.map +1 -1
- package/_cjs/actions/schemas/ignore/sendToCex.js +11 -1
- package/_cjs/actions/schemas/ignore/sendToCex.js.map +1 -1
- package/_cjs/actions/schemas/income/atomicArbitrage.js +4 -1
- package/_cjs/actions/schemas/income/atomicArbitrage.js.map +1 -1
- package/_cjs/actions/schemas/income/income.js +11 -1
- package/_cjs/actions/schemas/income/income.js.map +1 -1
- package/_cjs/actions/schemas/income/index.js +2 -1
- package/_cjs/actions/schemas/income/index.js.map +1 -1
- package/_cjs/actions/schemas/index.js +6 -1
- package/_cjs/actions/schemas/index.js.map +1 -1
- package/_cjs/actions/schemas/trade/index.js +2 -1
- package/_cjs/actions/schemas/trade/index.js.map +1 -1
- package/_cjs/actions/schemas/trade/sellNft.js +15 -1
- package/_cjs/actions/schemas/trade/sellNft.js.map +1 -1
- package/_cjs/actions/types/buyCrypto.js +3 -0
- package/_cjs/actions/types/buyCrypto.js.map +1 -0
- package/_cjs/actions/types/sellCrypto.js +3 -0
- package/_cjs/actions/types/sellCrypto.js.map +1 -0
- package/_cjs/actions/types/stake.js +3 -0
- package/_cjs/actions/types/stake.js.map +1 -0
- package/_cjs/actions/types/unstake.js +3 -0
- package/_cjs/actions/types/unstake.js.map +1 -0
- package/_cjs/index.js +10 -2
- package/_cjs/index.js.map +1 -1
- package/_esm/actions/index.js +2 -1
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/parsers/borrow/borrow.js +18 -0
- package/_esm/actions/parsers/borrow/borrow.js.map +1 -0
- package/_esm/actions/parsers/borrow/borrowWithDebt.js +18 -0
- package/_esm/actions/parsers/borrow/borrowWithDebt.js.map +1 -0
- package/_esm/actions/parsers/borrow/index.js +3 -0
- package/_esm/actions/parsers/borrow/index.js.map +1 -0
- package/_esm/actions/parsers/crossReplace/bridgeFrom.js +18 -0
- package/_esm/actions/parsers/crossReplace/bridgeFrom.js.map +1 -0
- package/_esm/actions/parsers/crossReplace/bridgeTo.js +18 -0
- package/_esm/actions/parsers/crossReplace/bridgeTo.js.map +1 -0
- package/_esm/actions/parsers/crossReplace/crossReplace.js +18 -0
- package/_esm/actions/parsers/crossReplace/crossReplace.js.map +1 -0
- package/_esm/actions/parsers/crossReplace/index.js +4 -0
- package/_esm/actions/parsers/crossReplace/index.js.map +1 -0
- package/_esm/actions/parsers/crossTrade/crossTrade.js +18 -0
- package/_esm/actions/parsers/crossTrade/crossTrade.js.map +1 -0
- package/_esm/actions/parsers/crossTrade/index.js +2 -0
- package/_esm/actions/parsers/crossTrade/index.js.map +1 -0
- package/_esm/actions/parsers/default.js +125 -0
- package/_esm/actions/parsers/default.js.map +1 -0
- package/_esm/actions/parsers/deposit/addLiquidity.js +18 -0
- package/_esm/actions/parsers/deposit/addLiquidity.js.map +1 -0
- package/_esm/actions/parsers/deposit/deposit.js +18 -0
- package/_esm/actions/parsers/deposit/deposit.js.map +1 -0
- package/_esm/actions/parsers/deposit/depositWithBond.js +18 -0
- package/_esm/actions/parsers/deposit/depositWithBond.js.map +1 -0
- package/_esm/actions/parsers/deposit/index.js +5 -0
- package/_esm/actions/parsers/deposit/index.js.map +1 -0
- package/_esm/actions/parsers/deposit/stake.js +18 -0
- package/_esm/actions/parsers/deposit/stake.js.map +1 -0
- package/_esm/actions/parsers/fee/fee.js +35 -0
- package/_esm/actions/parsers/fee/fee.js.map +1 -0
- package/_esm/actions/parsers/fee/index.js +3 -0
- package/_esm/actions/parsers/fee/index.js.map +1 -0
- package/_esm/actions/parsers/fee/transactionFee.js +17 -0
- package/_esm/actions/parsers/fee/transactionFee.js.map +1 -0
- package/_esm/actions/parsers/ignore/approve.js +10 -0
- package/_esm/actions/parsers/ignore/approve.js.map +1 -0
- package/_esm/actions/parsers/ignore/failTx.js +10 -0
- package/_esm/actions/parsers/ignore/failTx.js.map +1 -0
- package/_esm/actions/parsers/ignore/index.js +7 -0
- package/_esm/actions/parsers/ignore/index.js.map +1 -0
- package/_esm/actions/parsers/ignore/receiveFromCex.js +8 -0
- package/_esm/actions/parsers/ignore/receiveFromCex.js.map +1 -0
- package/_esm/actions/parsers/ignore/revoke.js +10 -0
- package/_esm/actions/parsers/ignore/revoke.js.map +1 -0
- package/_esm/actions/parsers/ignore/sendToCex.js +8 -0
- package/_esm/actions/parsers/ignore/sendToCex.js.map +1 -0
- package/_esm/actions/parsers/ignore/spam.js +18 -0
- package/_esm/actions/parsers/ignore/spam.js.map +1 -0
- package/_esm/actions/parsers/income/atomicArbitrage.js +80 -0
- package/_esm/actions/parsers/income/atomicArbitrage.js.map +1 -0
- package/_esm/actions/parsers/income/freeMintNft.js +17 -0
- package/_esm/actions/parsers/income/freeMintNft.js.map +1 -0
- package/_esm/actions/parsers/income/income.js +24 -0
- package/_esm/actions/parsers/income/income.js.map +1 -0
- package/_esm/actions/parsers/income/index.js +4 -0
- package/_esm/actions/parsers/income/index.js.map +1 -0
- package/_esm/actions/parsers/index.js +15 -0
- package/_esm/actions/parsers/index.js.map +1 -0
- package/_esm/actions/parsers/repayment/index.js +3 -0
- package/_esm/actions/parsers/repayment/index.js.map +1 -0
- package/_esm/actions/parsers/repayment/repayment.js +18 -0
- package/_esm/actions/parsers/repayment/repayment.js.map +1 -0
- package/_esm/actions/parsers/repayment/repaymentWithDebt.js +18 -0
- package/_esm/actions/parsers/repayment/repaymentWithDebt.js.map +1 -0
- package/_esm/actions/parsers/replace/index.js +5 -0
- package/_esm/actions/parsers/replace/index.js.map +1 -0
- package/_esm/actions/parsers/replace/replace.js +17 -0
- package/_esm/actions/parsers/replace/replace.js.map +1 -0
- package/_esm/actions/parsers/replace/swapNft.js +17 -0
- package/_esm/actions/parsers/replace/swapNft.js.map +1 -0
- package/_esm/actions/parsers/replace/unwrap.js +17 -0
- package/_esm/actions/parsers/replace/unwrap.js.map +1 -0
- package/_esm/actions/parsers/replace/wrap.js +17 -0
- package/_esm/actions/parsers/replace/wrap.js.map +1 -0
- package/_esm/actions/parsers/trade/buyCrypto.js +47 -0
- package/_esm/actions/parsers/trade/buyCrypto.js.map +1 -0
- package/_esm/actions/parsers/trade/buyNft.js +119 -0
- package/_esm/actions/parsers/trade/buyNft.js.map +1 -0
- package/_esm/actions/parsers/trade/index.js +7 -0
- package/_esm/actions/parsers/trade/index.js.map +1 -0
- package/_esm/actions/parsers/trade/mintNft.js +88 -0
- package/_esm/actions/parsers/trade/mintNft.js.map +1 -0
- package/_esm/actions/parsers/trade/sellCrypto.js +47 -0
- package/_esm/actions/parsers/trade/sellCrypto.js.map +1 -0
- package/_esm/actions/parsers/trade/sellNft.js +120 -0
- package/_esm/actions/parsers/trade/sellNft.js.map +1 -0
- package/_esm/actions/parsers/trade/trade.js +168 -0
- package/_esm/actions/parsers/trade/trade.js.map +1 -0
- package/_esm/actions/parsers/transfer/index.js +2 -0
- package/_esm/actions/parsers/transfer/index.js.map +1 -0
- package/_esm/actions/parsers/transfer/transfer.js +11 -0
- package/_esm/actions/parsers/transfer/transfer.js.map +1 -0
- package/_esm/actions/parsers/types.js +2 -0
- package/_esm/actions/parsers/types.js.map +1 -0
- package/_esm/actions/parsers/valuedown/index.js +2 -0
- package/_esm/actions/parsers/valuedown/index.js.map +1 -0
- package/_esm/actions/parsers/valuedown/valuedown.js +18 -0
- package/_esm/actions/parsers/valuedown/valuedown.js.map +1 -0
- package/_esm/actions/parsers/valueup/index.js +2 -0
- package/_esm/actions/parsers/valueup/index.js.map +1 -0
- package/_esm/actions/parsers/valueup/valueup.js +18 -0
- package/_esm/actions/parsers/valueup/valueup.js.map +1 -0
- package/_esm/actions/parsers/withdraw/index.js +5 -0
- package/_esm/actions/parsers/withdraw/index.js.map +1 -0
- package/_esm/actions/parsers/withdraw/removeLiquidity.js +18 -0
- package/_esm/actions/parsers/withdraw/removeLiquidity.js.map +1 -0
- package/_esm/actions/parsers/withdraw/unstake.js +18 -0
- package/_esm/actions/parsers/withdraw/unstake.js.map +1 -0
- package/_esm/actions/parsers/withdraw/withdraw.js +18 -0
- package/_esm/actions/parsers/withdraw/withdraw.js.map +1 -0
- package/_esm/actions/parsers/withdraw/withdrawWithBond.js +18 -0
- package/_esm/actions/parsers/withdraw/withdrawWithBond.js.map +1 -0
- package/_esm/actions/schemas/action.js +8 -3
- package/_esm/actions/schemas/action.js.map +1 -1
- package/_esm/actions/schemas/ignore/index.js +2 -2
- package/_esm/actions/schemas/ignore/index.js.map +1 -1
- package/_esm/actions/schemas/ignore/receiveFromCex.js +11 -1
- package/_esm/actions/schemas/ignore/receiveFromCex.js.map +1 -1
- package/_esm/actions/schemas/ignore/sendToCex.js +11 -1
- package/_esm/actions/schemas/ignore/sendToCex.js.map +1 -1
- package/_esm/actions/schemas/income/atomicArbitrage.js +4 -1
- package/_esm/actions/schemas/income/atomicArbitrage.js.map +1 -1
- package/_esm/actions/schemas/income/income.js +11 -1
- package/_esm/actions/schemas/income/income.js.map +1 -1
- package/_esm/actions/schemas/income/index.js +1 -1
- package/_esm/actions/schemas/income/index.js.map +1 -1
- package/_esm/actions/schemas/index.js +3 -3
- package/_esm/actions/schemas/index.js.map +1 -1
- package/_esm/actions/schemas/trade/index.js +1 -1
- package/_esm/actions/schemas/trade/index.js.map +1 -1
- package/_esm/actions/schemas/trade/sellNft.js +15 -1
- package/_esm/actions/schemas/trade/sellNft.js.map +1 -1
- package/_esm/actions/types/buyCrypto.js +2 -0
- package/_esm/actions/types/buyCrypto.js.map +1 -0
- package/_esm/actions/types/sellCrypto.js +2 -0
- package/_esm/actions/types/sellCrypto.js.map +1 -0
- package/_esm/actions/types/stake.js +2 -0
- package/_esm/actions/types/stake.js.map +1 -0
- package/_esm/actions/types/unstake.js +2 -0
- package/_esm/actions/types/unstake.js.map +1 -0
- package/_esm/index.js +2 -2
- package/_esm/index.js.map +1 -1
- package/_types/actions/index.d.ts +3 -2
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/parsers/borrow/borrow.d.ts +4 -0
- package/_types/actions/parsers/borrow/borrow.d.ts.map +1 -0
- package/_types/actions/parsers/borrow/borrowWithDebt.d.ts +4 -0
- package/_types/actions/parsers/borrow/borrowWithDebt.d.ts.map +1 -0
- package/_types/actions/parsers/borrow/index.d.ts +3 -0
- package/_types/actions/parsers/borrow/index.d.ts.map +1 -0
- package/_types/actions/parsers/crossReplace/bridgeFrom.d.ts +4 -0
- package/_types/actions/parsers/crossReplace/bridgeFrom.d.ts.map +1 -0
- package/_types/actions/parsers/crossReplace/bridgeTo.d.ts +4 -0
- package/_types/actions/parsers/crossReplace/bridgeTo.d.ts.map +1 -0
- package/_types/actions/parsers/crossReplace/crossReplace.d.ts +4 -0
- package/_types/actions/parsers/crossReplace/crossReplace.d.ts.map +1 -0
- package/_types/actions/parsers/crossReplace/index.d.ts +4 -0
- package/_types/actions/parsers/crossReplace/index.d.ts.map +1 -0
- package/_types/actions/parsers/crossTrade/crossTrade.d.ts +4 -0
- package/_types/actions/parsers/crossTrade/crossTrade.d.ts.map +1 -0
- package/_types/actions/parsers/crossTrade/index.d.ts +2 -0
- package/_types/actions/parsers/crossTrade/index.d.ts.map +1 -0
- package/_types/actions/parsers/default.d.ts +24 -0
- package/_types/actions/parsers/default.d.ts.map +1 -0
- package/_types/actions/parsers/deposit/addLiquidity.d.ts +4 -0
- package/_types/actions/parsers/deposit/addLiquidity.d.ts.map +1 -0
- package/_types/actions/parsers/deposit/deposit.d.ts +4 -0
- package/_types/actions/parsers/deposit/deposit.d.ts.map +1 -0
- package/_types/actions/parsers/deposit/depositWithBond.d.ts +4 -0
- package/_types/actions/parsers/deposit/depositWithBond.d.ts.map +1 -0
- package/_types/actions/parsers/deposit/index.d.ts +5 -0
- package/_types/actions/parsers/deposit/index.d.ts.map +1 -0
- package/_types/actions/parsers/deposit/stake.d.ts +4 -0
- package/_types/actions/parsers/deposit/stake.d.ts.map +1 -0
- package/_types/actions/parsers/fee/fee.d.ts +4 -0
- package/_types/actions/parsers/fee/fee.d.ts.map +1 -0
- package/_types/actions/parsers/fee/index.d.ts +3 -0
- package/_types/actions/parsers/fee/index.d.ts.map +1 -0
- package/_types/actions/parsers/fee/transactionFee.d.ts +4 -0
- package/_types/actions/parsers/fee/transactionFee.d.ts.map +1 -0
- package/_types/actions/parsers/ignore/approve.d.ts +6 -0
- package/_types/actions/parsers/ignore/approve.d.ts.map +1 -0
- package/_types/actions/parsers/ignore/failTx.d.ts +6 -0
- package/_types/actions/parsers/ignore/failTx.d.ts.map +1 -0
- package/_types/actions/parsers/ignore/index.d.ts +7 -0
- package/_types/actions/parsers/ignore/index.d.ts.map +1 -0
- package/_types/actions/parsers/ignore/receiveFromCex.d.ts +4 -0
- package/_types/actions/parsers/ignore/receiveFromCex.d.ts.map +1 -0
- package/_types/actions/parsers/ignore/revoke.d.ts +6 -0
- package/_types/actions/parsers/ignore/revoke.d.ts.map +1 -0
- package/_types/actions/parsers/ignore/sendToCex.d.ts +4 -0
- package/_types/actions/parsers/ignore/sendToCex.d.ts.map +1 -0
- package/_types/actions/parsers/ignore/spam.d.ts +6 -0
- package/_types/actions/parsers/ignore/spam.d.ts.map +1 -0
- package/_types/actions/parsers/income/atomicArbitrage.d.ts +6 -0
- package/_types/actions/parsers/income/atomicArbitrage.d.ts.map +1 -0
- package/_types/actions/parsers/income/freeMintNft.d.ts +4 -0
- package/_types/actions/parsers/income/freeMintNft.d.ts.map +1 -0
- package/_types/actions/parsers/income/income.d.ts +4 -0
- package/_types/actions/parsers/income/income.d.ts.map +1 -0
- package/_types/actions/parsers/income/index.d.ts +4 -0
- package/_types/actions/parsers/income/index.d.ts.map +1 -0
- package/_types/actions/parsers/index.d.ts +15 -0
- package/_types/actions/parsers/index.d.ts.map +1 -0
- package/_types/actions/parsers/repayment/index.d.ts +3 -0
- package/_types/actions/parsers/repayment/index.d.ts.map +1 -0
- package/_types/actions/parsers/repayment/repayment.d.ts +4 -0
- package/_types/actions/parsers/repayment/repayment.d.ts.map +1 -0
- package/_types/actions/parsers/repayment/repaymentWithDebt.d.ts +4 -0
- package/_types/actions/parsers/repayment/repaymentWithDebt.d.ts.map +1 -0
- package/_types/actions/parsers/replace/index.d.ts +5 -0
- package/_types/actions/parsers/replace/index.d.ts.map +1 -0
- package/_types/actions/parsers/replace/replace.d.ts +4 -0
- package/_types/actions/parsers/replace/replace.d.ts.map +1 -0
- package/_types/actions/parsers/replace/swapNft.d.ts +4 -0
- package/_types/actions/parsers/replace/swapNft.d.ts.map +1 -0
- package/_types/actions/parsers/replace/unwrap.d.ts +4 -0
- package/_types/actions/parsers/replace/unwrap.d.ts.map +1 -0
- package/_types/actions/parsers/replace/wrap.d.ts +4 -0
- package/_types/actions/parsers/replace/wrap.d.ts.map +1 -0
- package/_types/actions/parsers/trade/buyCrypto.d.ts +4 -0
- package/_types/actions/parsers/trade/buyCrypto.d.ts.map +1 -0
- package/_types/actions/parsers/trade/buyNft.d.ts +4 -0
- package/_types/actions/parsers/trade/buyNft.d.ts.map +1 -0
- package/_types/actions/parsers/trade/index.d.ts +7 -0
- package/_types/actions/parsers/trade/index.d.ts.map +1 -0
- package/_types/actions/parsers/trade/mintNft.d.ts +4 -0
- package/_types/actions/parsers/trade/mintNft.d.ts.map +1 -0
- package/_types/actions/parsers/trade/sellCrypto.d.ts +4 -0
- package/_types/actions/parsers/trade/sellCrypto.d.ts.map +1 -0
- package/_types/actions/parsers/trade/sellNft.d.ts +4 -0
- package/_types/actions/parsers/trade/sellNft.d.ts.map +1 -0
- package/_types/actions/parsers/trade/trade.d.ts +6 -0
- package/_types/actions/parsers/trade/trade.d.ts.map +1 -0
- package/_types/actions/parsers/transfer/index.d.ts +2 -0
- package/_types/actions/parsers/transfer/index.d.ts.map +1 -0
- package/_types/actions/parsers/transfer/transfer.d.ts +4 -0
- package/_types/actions/parsers/transfer/transfer.d.ts.map +1 -0
- package/_types/actions/parsers/types.d.ts +8 -0
- package/_types/actions/parsers/types.d.ts.map +1 -0
- package/_types/actions/parsers/valuedown/index.d.ts +2 -0
- package/_types/actions/parsers/valuedown/index.d.ts.map +1 -0
- package/_types/actions/parsers/valuedown/valuedown.d.ts +4 -0
- package/_types/actions/parsers/valuedown/valuedown.d.ts.map +1 -0
- package/_types/actions/parsers/valueup/index.d.ts +2 -0
- package/_types/actions/parsers/valueup/index.d.ts.map +1 -0
- package/_types/actions/parsers/valueup/valueup.d.ts +4 -0
- package/_types/actions/parsers/valueup/valueup.d.ts.map +1 -0
- package/_types/actions/parsers/withdraw/index.d.ts +5 -0
- package/_types/actions/parsers/withdraw/index.d.ts.map +1 -0
- package/_types/actions/parsers/withdraw/removeLiquidity.d.ts +4 -0
- package/_types/actions/parsers/withdraw/removeLiquidity.d.ts.map +1 -0
- package/_types/actions/parsers/withdraw/unstake.d.ts +4 -0
- package/_types/actions/parsers/withdraw/unstake.d.ts.map +1 -0
- package/_types/actions/parsers/withdraw/withdraw.d.ts +4 -0
- package/_types/actions/parsers/withdraw/withdraw.d.ts.map +1 -0
- package/_types/actions/parsers/withdraw/withdrawWithBond.d.ts +4 -0
- package/_types/actions/parsers/withdraw/withdrawWithBond.d.ts.map +1 -0
- package/_types/actions/schemas/action.d.ts +16803 -12550
- package/_types/actions/schemas/action.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/index.d.ts +2 -2
- package/_types/actions/schemas/ignore/index.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts +729 -0
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/sendToCex.d.ts +729 -0
- package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
- package/_types/actions/schemas/income/atomicArbitrage.d.ts +412 -10
- package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
- package/_types/actions/schemas/income/income.d.ts +617 -0
- package/_types/actions/schemas/income/income.d.ts.map +1 -1
- package/_types/actions/schemas/income/index.d.ts +1 -1
- package/_types/actions/schemas/income/index.d.ts.map +1 -1
- package/_types/actions/schemas/index.d.ts +3 -3
- package/_types/actions/schemas/index.d.ts.map +1 -1
- package/_types/actions/schemas/trade/index.d.ts +1 -1
- package/_types/actions/schemas/trade/index.d.ts.map +1 -1
- package/_types/actions/schemas/trade/sellNft.d.ts +997 -0
- package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
- package/_types/actions/types/buyCrypto.d.ts +5 -0
- package/_types/actions/types/buyCrypto.d.ts.map +1 -0
- package/_types/actions/types/income.d.ts +2 -1
- package/_types/actions/types/income.d.ts.map +1 -1
- package/_types/actions/types/index.d.ts +10 -6
- package/_types/actions/types/index.d.ts.map +1 -1
- package/_types/actions/types/receiveFromCex.d.ts +2 -1
- package/_types/actions/types/receiveFromCex.d.ts.map +1 -1
- package/_types/actions/types/sellCrypto.d.ts +5 -0
- package/_types/actions/types/sellCrypto.d.ts.map +1 -0
- package/_types/actions/types/sellNft.d.ts +2 -1
- package/_types/actions/types/sellNft.d.ts.map +1 -1
- package/_types/actions/types/sendToCex.d.ts +2 -1
- package/_types/actions/types/sendToCex.d.ts.map +1 -1
- package/_types/actions/types/stake.d.ts +5 -0
- package/_types/actions/types/stake.d.ts.map +1 -0
- package/_types/actions/types/unstake.d.ts +5 -0
- package/_types/actions/types/unstake.d.ts.map +1 -0
- package/_types/index.d.ts +3 -3
- package/_types/index.d.ts.map +1 -1
- package/actions/index.ts +60 -0
- package/actions/parsers/borrow/borrow.ts +46 -0
- package/actions/parsers/borrow/borrowWithDebt.ts +46 -0
- package/actions/parsers/borrow/index.ts +2 -0
- package/actions/parsers/crossReplace/bridgeFrom.ts +46 -0
- package/actions/parsers/crossReplace/bridgeTo.ts +46 -0
- package/actions/parsers/crossReplace/crossReplace.ts +46 -0
- package/actions/parsers/crossReplace/index.ts +3 -0
- package/actions/parsers/crossTrade/crossTrade.ts +46 -0
- package/actions/parsers/crossTrade/index.ts +1 -0
- package/actions/parsers/default.ts +208 -0
- package/actions/parsers/deposit/addLiquidity.ts +46 -0
- package/actions/parsers/deposit/deposit.ts +46 -0
- package/actions/parsers/deposit/depositWithBond.ts +46 -0
- package/actions/parsers/deposit/index.ts +4 -0
- package/actions/parsers/deposit/stake.ts +46 -0
- package/actions/parsers/fee/fee.ts +68 -0
- package/actions/parsers/fee/index.ts +2 -0
- package/actions/parsers/fee/transactionFee.ts +45 -0
- package/actions/parsers/ignore/approve.ts +17 -0
- package/actions/parsers/ignore/failTx.ts +17 -0
- package/actions/parsers/ignore/index.ts +6 -0
- package/actions/parsers/ignore/receiveFromCex.ts +29 -0
- package/actions/parsers/ignore/revoke.ts +17 -0
- package/actions/parsers/ignore/sendToCex.ts +29 -0
- package/actions/parsers/ignore/spam.ts +46 -0
- package/actions/parsers/income/atomicArbitrage.ts +159 -0
- package/actions/parsers/income/freeMintNft.ts +45 -0
- package/actions/parsers/income/income.ts +56 -0
- package/actions/parsers/income/index.ts +3 -0
- package/actions/parsers/index.ts +60 -0
- package/actions/parsers/repayment/index.ts +2 -0
- package/actions/parsers/repayment/repayment.ts +46 -0
- package/actions/parsers/repayment/repaymentWithDebt.ts +46 -0
- package/actions/parsers/replace/index.ts +4 -0
- package/actions/parsers/replace/replace.ts +45 -0
- package/actions/parsers/replace/swapNft.ts +45 -0
- package/actions/parsers/replace/unwrap.ts +45 -0
- package/actions/parsers/replace/wrap.ts +45 -0
- package/actions/parsers/trade/buyCrypto.ts +79 -0
- package/actions/parsers/trade/buyNft.ts +203 -0
- package/actions/parsers/trade/index.ts +6 -0
- package/actions/parsers/trade/mintNft.ts +164 -0
- package/actions/parsers/trade/sellCrypto.ts +79 -0
- package/actions/parsers/trade/sellNft.ts +204 -0
- package/actions/parsers/trade/trade.ts +271 -0
- package/actions/parsers/transfer/index.ts +1 -0
- package/actions/parsers/transfer/transfer.ts +32 -0
- package/actions/parsers/types.ts +10 -0
- package/actions/parsers/valuedown/index.ts +1 -0
- package/actions/parsers/valuedown/valuedown.ts +46 -0
- package/actions/parsers/valueup/index.ts +1 -0
- package/actions/parsers/valueup/valueup.ts +46 -0
- package/actions/parsers/withdraw/index.ts +4 -0
- package/actions/parsers/withdraw/removeLiquidity.ts +46 -0
- package/actions/parsers/withdraw/unstake.ts +46 -0
- package/actions/parsers/withdraw/withdraw.ts +46 -0
- package/actions/parsers/withdraw/withdrawWithBond.ts +46 -0
- package/actions/schemas/action.ts +10 -0
- package/actions/schemas/ignore/index.ts +8 -2
- package/actions/schemas/ignore/receiveFromCex.ts +14 -0
- package/actions/schemas/ignore/sendToCex.ts +14 -0
- package/actions/schemas/income/atomicArbitrage.ts +6 -1
- package/actions/schemas/income/income.ts +16 -1
- package/actions/schemas/income/index.ts +1 -1
- package/actions/schemas/index.ts +4 -0
- package/actions/schemas/trade/index.ts +4 -1
- package/actions/schemas/trade/sellNft.ts +18 -0
- package/actions/types/buyCrypto.ts +11 -0
- package/actions/types/income.ts +6 -1
- package/actions/types/index.ts +16 -6
- package/actions/types/receiveFromCex.ts +8 -1
- package/actions/types/sellCrypto.ts +13 -0
- package/actions/types/sellNft.ts +6 -1
- package/actions/types/sendToCex.ts +6 -1
- package/actions/types/stake.ts +9 -0
- package/actions/types/unstake.ts +9 -0
- package/index.ts +22 -0
- package/package.json +1 -1
- package/.DS_Store +0 -0
- package/actions/.DS_Store +0 -0
- package/assets/.DS_Store +0 -0
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
import {
|
|
3
3
|
normalAccountActionDefaultSchema,
|
|
4
|
+
normalActionDefaultSchema,
|
|
4
5
|
transferCryptoCurrencyInSchema,
|
|
5
6
|
transferNftInSchema,
|
|
6
7
|
} from '../default'
|
|
7
8
|
|
|
9
|
+
export const normalActionReceiveFromCexSchema = normalActionDefaultSchema
|
|
10
|
+
.extend({
|
|
11
|
+
action: z.literal('receive-from-cex'),
|
|
12
|
+
transfers: z.array(
|
|
13
|
+
z.union([transferCryptoCurrencyInSchema, transferNftInSchema]),
|
|
14
|
+
),
|
|
15
|
+
})
|
|
16
|
+
.transform((v) => ({
|
|
17
|
+
...v,
|
|
18
|
+
comment: v.comment,
|
|
19
|
+
app: v.app,
|
|
20
|
+
}))
|
|
21
|
+
|
|
8
22
|
export const accountActionReceiveFromCexSchema =
|
|
9
23
|
normalAccountActionDefaultSchema
|
|
10
24
|
.extend({
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
import {
|
|
3
3
|
normalAccountActionDefaultSchema,
|
|
4
|
+
normalActionDefaultSchema,
|
|
4
5
|
transferCryptoCurrencyOutSchema,
|
|
5
6
|
transferNftOutSchema,
|
|
6
7
|
} from '../default'
|
|
7
8
|
|
|
9
|
+
export const normalActionSendToCexSchema = normalActionDefaultSchema
|
|
10
|
+
.extend({
|
|
11
|
+
action: z.literal('send-to-cex'),
|
|
12
|
+
transfers: z.array(
|
|
13
|
+
z.union([transferCryptoCurrencyOutSchema, transferNftOutSchema]),
|
|
14
|
+
),
|
|
15
|
+
})
|
|
16
|
+
.transform((v) => ({
|
|
17
|
+
...v,
|
|
18
|
+
comment: v.comment,
|
|
19
|
+
app: v.app,
|
|
20
|
+
}))
|
|
21
|
+
|
|
8
22
|
export const accountActionSendToCexSchema = normalAccountActionDefaultSchema
|
|
9
23
|
.extend({
|
|
10
24
|
action: z.literal('send-to-cex'),
|
|
@@ -26,7 +26,12 @@ export const accountActionAtomicArbitrageSchema =
|
|
|
26
26
|
normalAccountActionDefaultSchema
|
|
27
27
|
.extend({
|
|
28
28
|
action: z.literal('atomic-arbitrage'),
|
|
29
|
-
transfers: z.array(
|
|
29
|
+
transfers: z.array(
|
|
30
|
+
z.union([
|
|
31
|
+
transferCryptoCurrencyInSchema,
|
|
32
|
+
transferCryptoCurrencyOutSchema,
|
|
33
|
+
]),
|
|
34
|
+
),
|
|
30
35
|
})
|
|
31
36
|
.transform((v) => ({
|
|
32
37
|
...v,
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
normalAccountActionDefaultSchema,
|
|
4
|
+
normalActionDefaultSchema,
|
|
5
|
+
transferInSchema,
|
|
6
|
+
} from '../default'
|
|
7
|
+
|
|
8
|
+
export const normalActionIncomeSchema = normalActionDefaultSchema
|
|
9
|
+
.extend({
|
|
10
|
+
action: z.literal('income'),
|
|
11
|
+
transfers: z.array(transferInSchema),
|
|
12
|
+
})
|
|
13
|
+
.transform((v) => ({
|
|
14
|
+
...v,
|
|
15
|
+
comment: v.comment,
|
|
16
|
+
app: v.app,
|
|
17
|
+
}))
|
|
3
18
|
|
|
4
19
|
export const accountActionIncomeSchema = normalAccountActionDefaultSchema
|
|
5
20
|
.extend({
|
|
@@ -6,6 +6,6 @@ export {
|
|
|
6
6
|
accountActionFreeMintNftSchema,
|
|
7
7
|
normalActionFreeMintNftSchema,
|
|
8
8
|
} from './freeMintNft'
|
|
9
|
-
export { accountActionIncomeSchema } from './income'
|
|
9
|
+
export { accountActionIncomeSchema, normalActionIncomeSchema } from './income'
|
|
10
10
|
export { accountActionNftRoyaltySchema } from './nftRoyalty'
|
|
11
11
|
export { accountActionSwapIncomeSchema } from './swapIncome'
|
package/actions/schemas/index.ts
CHANGED
|
@@ -60,7 +60,9 @@ export {
|
|
|
60
60
|
accountActionSpamSchema,
|
|
61
61
|
normalActionApproveSchema,
|
|
62
62
|
normalActionFailTxSchema,
|
|
63
|
+
normalActionReceiveFromCexSchema,
|
|
63
64
|
normalActionRevokeSchema,
|
|
65
|
+
normalActionSendToCexSchema,
|
|
64
66
|
normalActionSpamSchema,
|
|
65
67
|
} from './ignore'
|
|
66
68
|
export {
|
|
@@ -71,6 +73,7 @@ export {
|
|
|
71
73
|
accountActionSwapIncomeSchema,
|
|
72
74
|
normalActionAtomicArbitrageSchema,
|
|
73
75
|
normalActionFreeMintNftSchema,
|
|
76
|
+
normalActionIncomeSchema,
|
|
74
77
|
} from './income'
|
|
75
78
|
export { accountActionReduceSchema } from './reduce'
|
|
76
79
|
export {
|
|
@@ -100,6 +103,7 @@ export {
|
|
|
100
103
|
normalActionBuyNftSchema,
|
|
101
104
|
normalActionMintNftSchema,
|
|
102
105
|
normalActionSellCryptoSchema,
|
|
106
|
+
normalActionSellNftSchema,
|
|
103
107
|
normalActionTradeSchema,
|
|
104
108
|
} from './trade'
|
|
105
109
|
export {
|
|
@@ -11,5 +11,8 @@ export {
|
|
|
11
11
|
accountActionSellCryptoSchema,
|
|
12
12
|
normalActionSellCryptoSchema,
|
|
13
13
|
} from './sellCrypto'
|
|
14
|
-
export {
|
|
14
|
+
export {
|
|
15
|
+
accountActionSellNftSchema,
|
|
16
|
+
normalActionSellNftSchema,
|
|
17
|
+
} from './sellNft'
|
|
15
18
|
export { accountActionTradeSchema, normalActionTradeSchema } from './trade'
|
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
import {
|
|
3
3
|
normalAccountActionDefaultSchema,
|
|
4
|
+
normalActionDefaultSchema,
|
|
4
5
|
transferCryptoCurrencyInSchema,
|
|
5
6
|
transferFiatCurrencyInSchema,
|
|
6
7
|
transferNftOutSchema,
|
|
7
8
|
} from '../default'
|
|
8
9
|
|
|
10
|
+
export const normalActionSellNftSchema = normalActionDefaultSchema
|
|
11
|
+
.extend({
|
|
12
|
+
action: z.literal('sell-nft'),
|
|
13
|
+
transfers: z.array(
|
|
14
|
+
z.union([
|
|
15
|
+
transferFiatCurrencyInSchema,
|
|
16
|
+
transferCryptoCurrencyInSchema,
|
|
17
|
+
transferNftOutSchema,
|
|
18
|
+
]),
|
|
19
|
+
),
|
|
20
|
+
})
|
|
21
|
+
.transform((v) => ({
|
|
22
|
+
...v,
|
|
23
|
+
comment: v.comment,
|
|
24
|
+
app: v.app,
|
|
25
|
+
}))
|
|
26
|
+
|
|
9
27
|
export const accountActionSellNftSchema = normalAccountActionDefaultSchema
|
|
10
28
|
.extend({
|
|
11
29
|
action: z.literal('sell-nft'),
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { z } from 'zod'
|
|
2
|
+
import type {
|
|
3
|
+
accountActionBuyCryptoSchema,
|
|
4
|
+
normalActionBuyCryptoSchema,
|
|
5
|
+
} from '../schemas'
|
|
6
|
+
|
|
7
|
+
export type NormalActionBuyCrypto = z.infer<typeof normalActionBuyCryptoSchema>
|
|
8
|
+
|
|
9
|
+
export type AccountActionBuyCrypto = z.infer<
|
|
10
|
+
typeof accountActionBuyCryptoSchema
|
|
11
|
+
>
|
package/actions/types/income.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import type { z } from 'zod'
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
accountActionIncomeSchema,
|
|
4
|
+
normalActionIncomeSchema,
|
|
5
|
+
} from '../schemas'
|
|
6
|
+
|
|
7
|
+
export type NormalActionIncome = z.infer<typeof normalActionIncomeSchema>
|
|
3
8
|
|
|
4
9
|
export type AccountActionIncome = z.infer<typeof accountActionIncomeSchema>
|
package/actions/types/index.ts
CHANGED
|
@@ -24,6 +24,7 @@ export type {
|
|
|
24
24
|
NormalActionBridgeFrom,
|
|
25
25
|
} from './bridgeFrom'
|
|
26
26
|
export type { AccountActionBridgeTo, NormalActionBridgeTo } from './bridgeTo'
|
|
27
|
+
export type { AccountActionBuyCrypto, NormalActionBuyCrypto } from './buyCrypto'
|
|
27
28
|
export type { AccountActionBuyNft, NormalActionBuyNft } from './buyNft'
|
|
28
29
|
export type { CrossActionBundle } from './crossActionBundle'
|
|
29
30
|
export type {
|
|
@@ -61,11 +62,14 @@ export type {
|
|
|
61
62
|
NormalActionFreeMintNft,
|
|
62
63
|
} from './freeMintNft'
|
|
63
64
|
export type { AccountActionIgnore } from './ignore'
|
|
64
|
-
export type { AccountActionIncome } from './income'
|
|
65
|
+
export type { AccountActionIncome, NormalActionIncome } from './income'
|
|
65
66
|
export type { AccountActionMintNft, NormalActionMintNft } from './mintNft'
|
|
66
67
|
export type { AccountActionMove } from './move'
|
|
67
68
|
export type { AccountActionNftRoyalty } from './nftRoyalty'
|
|
68
|
-
export type {
|
|
69
|
+
export type {
|
|
70
|
+
AccountActionReceiveFromCex,
|
|
71
|
+
NormalActionReceiveFromCex,
|
|
72
|
+
} from './receiveFromCex'
|
|
69
73
|
export type { AccountActionReduce } from './reduce'
|
|
70
74
|
export type {
|
|
71
75
|
AccountActionRemoveLiquidity,
|
|
@@ -77,12 +81,17 @@ export type {
|
|
|
77
81
|
NormalActionRepaymentWithDebt,
|
|
78
82
|
} from './repaymentWithDebt'
|
|
79
83
|
export type { AccountActionReplace, NormalActionReplace } from './replace'
|
|
80
|
-
export type { AccountActionRevoke } from './revoke'
|
|
81
|
-
export type {
|
|
82
|
-
|
|
84
|
+
export type { AccountActionRevoke, NormalActionRevoke } from './revoke'
|
|
85
|
+
export type {
|
|
86
|
+
AccountActionSellCrypto,
|
|
87
|
+
NormalActionSellCrypto,
|
|
88
|
+
} from './sellCrypto'
|
|
89
|
+
export type { AccountActionSellNft, NormalActionSellNft } from './sellNft'
|
|
90
|
+
export type { AccountActionSendToCex, NormalActionSendToCex } from './sendToCex'
|
|
83
91
|
export type { AccountActionSpam, NormalActionSpam } from './spam'
|
|
92
|
+
export type { AccountActionStake, NormalActionStake } from './stake'
|
|
84
93
|
export type { AccountActionSwapIncome } from './swapIncome'
|
|
85
|
-
export type { AccountActionSwapNft } from './swapNft'
|
|
94
|
+
export type { AccountActionSwapNft, NormalActionSwapNft } from './swapNft'
|
|
86
95
|
export type { AccountActionSwapTransfer } from './swapTransfer'
|
|
87
96
|
export type { AccountActionTrade, NormalActionTrade } from './trade'
|
|
88
97
|
export type {
|
|
@@ -90,6 +99,7 @@ export type {
|
|
|
90
99
|
NormalActionTransactionFee,
|
|
91
100
|
} from './transactionFee'
|
|
92
101
|
export type { AccountActionTransfer, NormalActionTransfer } from './transfer'
|
|
102
|
+
export type { AccountActionUnstake, NormalActionUnstake } from './unstake'
|
|
93
103
|
export type { AccountActionUnwrap, NormalActionUnwrap } from './unwrap'
|
|
94
104
|
export type { AccountActionValuedown, NormalActionValuedown } from './valuedown'
|
|
95
105
|
export type { AccountActionValueup, NormalActionValueup } from './valueup'
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { z } from 'zod'
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
accountActionReceiveFromCexSchema,
|
|
4
|
+
normalActionReceiveFromCexSchema,
|
|
5
|
+
} from '../schemas'
|
|
6
|
+
|
|
7
|
+
export type NormalActionReceiveFromCex = z.infer<
|
|
8
|
+
typeof normalActionReceiveFromCexSchema
|
|
9
|
+
>
|
|
3
10
|
|
|
4
11
|
export type AccountActionReceiveFromCex = z.infer<
|
|
5
12
|
typeof accountActionReceiveFromCexSchema
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { z } from 'zod'
|
|
2
|
+
import type {
|
|
3
|
+
accountActionSellCryptoSchema,
|
|
4
|
+
normalActionSellCryptoSchema,
|
|
5
|
+
} from '../schemas'
|
|
6
|
+
|
|
7
|
+
export type NormalActionSellCrypto = z.infer<
|
|
8
|
+
typeof normalActionSellCryptoSchema
|
|
9
|
+
>
|
|
10
|
+
|
|
11
|
+
export type AccountActionSellCrypto = z.infer<
|
|
12
|
+
typeof accountActionSellCryptoSchema
|
|
13
|
+
>
|
package/actions/types/sellNft.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import type { z } from 'zod'
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
accountActionSellNftSchema,
|
|
4
|
+
normalActionSellNftSchema,
|
|
5
|
+
} from '../schemas'
|
|
6
|
+
|
|
7
|
+
export type NormalActionSellNft = z.infer<typeof normalActionSellNftSchema>
|
|
3
8
|
|
|
4
9
|
export type AccountActionSellNft = z.infer<typeof accountActionSellNftSchema>
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { z } from 'zod'
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
accountActionSendToCexSchema,
|
|
4
|
+
normalActionSendToCexSchema,
|
|
5
|
+
} from '../schemas'
|
|
6
|
+
|
|
7
|
+
export type NormalActionSendToCex = z.infer<typeof normalActionSendToCexSchema>
|
|
3
8
|
|
|
4
9
|
export type AccountActionSendToCex = z.infer<
|
|
5
10
|
typeof accountActionSendToCexSchema
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { z } from 'zod'
|
|
2
|
+
import type {
|
|
3
|
+
accountActionStakeSchema,
|
|
4
|
+
normalActionStakeSchema,
|
|
5
|
+
} from '../schemas'
|
|
6
|
+
|
|
7
|
+
export type NormalActionStake = z.infer<typeof normalActionStakeSchema>
|
|
8
|
+
|
|
9
|
+
export type AccountActionStake = z.infer<typeof accountActionStakeSchema>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { z } from 'zod'
|
|
2
|
+
import type {
|
|
3
|
+
accountActionUnstakeSchema,
|
|
4
|
+
normalActionUnstakeSchema,
|
|
5
|
+
} from '../schemas'
|
|
6
|
+
|
|
7
|
+
export type NormalActionUnstake = z.infer<typeof normalActionUnstakeSchema>
|
|
8
|
+
|
|
9
|
+
export type AccountActionUnstake = z.infer<typeof accountActionUnstakeSchema>
|
package/index.ts
CHANGED
|
@@ -64,7 +64,9 @@ export {
|
|
|
64
64
|
normalActionFailTxSchema,
|
|
65
65
|
normalActionFeeSchema,
|
|
66
66
|
normalActionFreeMintNftSchema,
|
|
67
|
+
normalActionIncomeSchema,
|
|
67
68
|
normalActionMintNftSchema,
|
|
69
|
+
normalActionReceiveFromCexSchema,
|
|
68
70
|
normalActionRemoveLiquiditySchema,
|
|
69
71
|
normalActionRepaymentSchema,
|
|
70
72
|
normalActionRepaymentWithDebtSchema,
|
|
@@ -72,6 +74,8 @@ export {
|
|
|
72
74
|
normalActionRevokeSchema,
|
|
73
75
|
normalActionSchema,
|
|
74
76
|
normalActionSellCryptoSchema,
|
|
77
|
+
normalActionSellNftSchema,
|
|
78
|
+
normalActionSendToCexSchema,
|
|
75
79
|
normalActionSpamSchema,
|
|
76
80
|
normalActionStakeSchema,
|
|
77
81
|
normalActionSwapNftSchema,
|
|
@@ -95,6 +99,7 @@ export type {
|
|
|
95
99
|
AccountActionBorrowWithDebt,
|
|
96
100
|
AccountActionBridgeFrom,
|
|
97
101
|
AccountActionBridgeTo,
|
|
102
|
+
AccountActionBuyCrypto,
|
|
98
103
|
AccountActionBuyNft,
|
|
99
104
|
AccountActionCrossReplace,
|
|
100
105
|
AccountActionCrossTrade,
|
|
@@ -115,9 +120,11 @@ export type {
|
|
|
115
120
|
AccountActionRepaymentWithDebt,
|
|
116
121
|
AccountActionReplace,
|
|
117
122
|
AccountActionRevoke,
|
|
123
|
+
AccountActionSellCrypto,
|
|
118
124
|
AccountActionSellNft,
|
|
119
125
|
AccountActionSendToCex,
|
|
120
126
|
AccountActionSpam,
|
|
127
|
+
AccountActionStake,
|
|
121
128
|
AccountActionSwapIncome,
|
|
122
129
|
AccountActionSwapNft,
|
|
123
130
|
AccountActionSwapTransfer,
|
|
@@ -125,6 +132,7 @@ export type {
|
|
|
125
132
|
AccountActionTransactionFee,
|
|
126
133
|
AccountActionTransfer,
|
|
127
134
|
AccountActionType,
|
|
135
|
+
AccountActionUnstake,
|
|
128
136
|
AccountActionUnwrap,
|
|
129
137
|
AccountActionValuedown,
|
|
130
138
|
AccountActionValueup,
|
|
@@ -142,6 +150,7 @@ export type {
|
|
|
142
150
|
NormalActionBorrowWithDebt,
|
|
143
151
|
NormalActionBridgeFrom,
|
|
144
152
|
NormalActionBridgeTo,
|
|
153
|
+
NormalActionBuyCrypto,
|
|
145
154
|
NormalActionBuyNft,
|
|
146
155
|
NormalActionCrossReplace,
|
|
147
156
|
NormalActionCrossTrade,
|
|
@@ -150,15 +159,24 @@ export type {
|
|
|
150
159
|
NormalActionFailTx,
|
|
151
160
|
NormalActionFee,
|
|
152
161
|
NormalActionFreeMintNft,
|
|
162
|
+
NormalActionIncome,
|
|
153
163
|
NormalActionMintNft,
|
|
164
|
+
NormalActionReceiveFromCex,
|
|
154
165
|
NormalActionRemoveLiquidity,
|
|
155
166
|
NormalActionRepayment,
|
|
156
167
|
NormalActionRepaymentWithDebt,
|
|
157
168
|
NormalActionReplace,
|
|
169
|
+
NormalActionRevoke,
|
|
170
|
+
NormalActionSellCrypto,
|
|
171
|
+
NormalActionSellNft,
|
|
172
|
+
NormalActionSendToCex,
|
|
158
173
|
NormalActionSpam,
|
|
174
|
+
NormalActionStake,
|
|
175
|
+
NormalActionSwapNft,
|
|
159
176
|
NormalActionTrade,
|
|
160
177
|
NormalActionTransactionFee,
|
|
161
178
|
NormalActionTransfer,
|
|
179
|
+
NormalActionUnstake,
|
|
162
180
|
NormalActionUnwrap,
|
|
163
181
|
NormalActionValuedown,
|
|
164
182
|
NormalActionValueup,
|
|
@@ -182,15 +200,18 @@ export type {
|
|
|
182
200
|
export { appCategories } from './apps'
|
|
183
201
|
export type { App, AppCategory } from './apps'
|
|
184
202
|
export {
|
|
203
|
+
assetSchema,
|
|
185
204
|
astar,
|
|
186
205
|
avalanche,
|
|
187
206
|
bnb,
|
|
188
207
|
coingeckoCryptoCurrencyDataSource,
|
|
189
208
|
createCryptoCurrency,
|
|
209
|
+
cryptoCurrencySchema,
|
|
190
210
|
ethereum,
|
|
191
211
|
eur,
|
|
192
212
|
fantom,
|
|
193
213
|
fiatCurrencyDecimals,
|
|
214
|
+
fiatCurrencySchema,
|
|
194
215
|
jpy,
|
|
195
216
|
kava,
|
|
196
217
|
mantle,
|
|
@@ -198,6 +219,7 @@ export {
|
|
|
198
219
|
metis,
|
|
199
220
|
moonbeam,
|
|
200
221
|
moonriver,
|
|
222
|
+
nftSchema,
|
|
201
223
|
ronin,
|
|
202
224
|
usd,
|
|
203
225
|
} from './assets'
|
package/package.json
CHANGED
package/.DS_Store
DELETED
|
Binary file
|
package/actions/.DS_Store
DELETED
|
Binary file
|
package/assets/.DS_Store
DELETED
|
Binary file
|