@0xtorch/core 0.0.32 → 0.0.34
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/schemas/action.js.map +1 -1
- package/_cjs/actions/utils/createEvidenceNoneAccountActions.js +4 -2
- package/_cjs/actions/utils/createEvidenceNoneAccountActions.js.map +1 -1
- package/_esm/actions/schemas/action.js.map +1 -1
- package/_esm/actions/utils/createEvidenceNoneAccountActions.js +6 -4
- package/_esm/actions/utils/createEvidenceNoneAccountActions.js.map +1 -1
- package/_types/actions/schemas/action.d.ts +103 -80694
- package/_types/actions/schemas/action.d.ts.map +1 -1
- package/_types/actions/schemas/borrow/borrow.d.ts +3523 -342
- package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
- package/_types/actions/schemas/crossActionBundle.d.ts +6773 -1121
- package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +3528 -347
- package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +3525 -344
- package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
- package/_types/actions/schemas/crossReplace/crossReplace.d.ts +2862 -389
- package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
- package/_types/actions/schemas/crossTrade/crossTrade.d.ts +2862 -389
- package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
- package/_types/actions/schemas/default/accountAction.d.ts +387 -375
- package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
- package/_types/actions/schemas/default/normalAction.d.ts +382 -369
- package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
- package/_types/actions/schemas/default/transfer.d.ts +2932 -1323
- package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/addLiquidity.d.ts +4667 -774
- package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/deposit.d.ts +3526 -345
- package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/depositWithBond.d.ts +4667 -774
- package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
- package/_types/actions/schemas/deposit/stake.d.ts +3526 -345
- package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
- package/_types/actions/schemas/fee/fee.d.ts +3510 -331
- package/_types/actions/schemas/fee/fee.d.ts.map +1 -1
- package/_types/actions/schemas/fee/transactionFee.d.ts +3038 -215
- package/_types/actions/schemas/fee/transactionFee.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/approve.d.ts +2485 -18
- package/_types/actions/schemas/ignore/approve.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/failTx.d.ts +2485 -18
- package/_types/actions/schemas/ignore/failTx.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/ignore.d.ts +136 -130
- package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/move.d.ts +136 -130
- package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts +3518 -339
- package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/revoke.d.ts +2485 -18
- package/_types/actions/schemas/ignore/revoke.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/sendToCex.d.ts +3521 -342
- package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
- package/_types/actions/schemas/ignore/spam.d.ts +4663 -772
- package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
- package/_types/actions/schemas/income/atomicArbitrage.d.ts +3559 -380
- package/_types/actions/schemas/income/atomicArbitrage.d.ts.map +1 -1
- package/_types/actions/schemas/income/freeMintNft.d.ts +3014 -191
- package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -1
- package/_types/actions/schemas/income/income.d.ts +2682 -213
- package/_types/actions/schemas/income/income.d.ts.map +1 -1
- package/_types/actions/schemas/income/nftRoyalty.d.ts +1629 -39
- package/_types/actions/schemas/income/nftRoyalty.d.ts.map +1 -1
- package/_types/actions/schemas/income/swapIncome.d.ts +1636 -46
- package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
- package/_types/actions/schemas/reduce/reduce.d.ts +1636 -46
- package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
- package/_types/actions/schemas/repayment/repayment.d.ts +3526 -345
- package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
- package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +4667 -774
- package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
- package/_types/actions/schemas/replace/replace.d.ts +4663 -772
- package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
- package/_types/actions/schemas/replace/swapNft.d.ts +3510 -331
- package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -1
- package/_types/actions/schemas/replace/unwrap.d.ts +3559 -380
- package/_types/actions/schemas/replace/unwrap.d.ts.map +1 -1
- package/_types/actions/schemas/replace/wrap.d.ts +3559 -380
- package/_types/actions/schemas/replace/wrap.d.ts.map +1 -1
- package/_types/actions/schemas/trade/buyCrypto.d.ts +3506 -327
- package/_types/actions/schemas/trade/buyCrypto.d.ts.map +1 -1
- package/_types/actions/schemas/trade/buyNft.d.ts +4144 -609
- package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/mintNft.d.ts +4144 -609
- package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/sellCrypto.d.ts +3514 -335
- package/_types/actions/schemas/trade/sellCrypto.d.ts.map +1 -1
- package/_types/actions/schemas/trade/sellNft.d.ts +4144 -609
- package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
- package/_types/actions/schemas/trade/trade.d.ts +2854 -383
- package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
- package/_types/actions/schemas/transfer/swapTransfer.d.ts +1636 -46
- package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
- package/_types/actions/schemas/transfer/transfer.d.ts +1388 -148
- package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
- package/_types/actions/schemas/valuedown/valuedown.d.ts +2756 -287
- package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
- package/_types/actions/schemas/valueup/valueup.d.ts +2761 -292
- package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +4667 -774
- package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/unstake.d.ts +3523 -342
- package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/withdraw.d.ts +3523 -342
- package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
- package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +4667 -774
- package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
- package/_types/actions/utils/createEvidenceNoneAccountActions.d.ts.map +1 -1
- package/_types/apps/schemas.d.ts +3 -3
- package/_types/assets/schemas/asset.d.ts +3 -3
- package/_types/assets/schemas/nft.d.ts +3 -3
- package/actions/schemas/action.ts +92 -2
- package/actions/utils/createEvidenceNoneAccountActions.ts +12 -4
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdrawWithBond.d.ts","sourceRoot":"","sources":["../../../../actions/schemas/withdraw/withdrawWithBond.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAUvB,eAAO,MAAM,kCAAkC
|
|
1
|
+
{"version":3,"file":"withdrawWithBond.d.ts","sourceRoot":"","sources":["../../../../actions/schemas/withdraw/withdrawWithBond.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAUvB,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,MAAM,UAAU,CAAA;AAEjB,KAAK,0CAA0C,GAAG;IAChD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,UAAU,EAAE,SAAS,oBAAoB,EAAE,CAAA;IACpD,QAAQ,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CACnC,CAAA;AAED,eAAO,MAAM,gCAAgC,qDAK1C,0CAA0C,KAAG,SAAS,aAAa,
|
|
1
|
+
{"version":3,"file":"createEvidenceNoneAccountActions.d.ts","sourceRoot":"","sources":["../../../actions/utils/createEvidenceNoneAccountActions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EAOb,oBAAoB,EAUrB,MAAM,UAAU,CAAA;AAEjB,KAAK,0CAA0C,GAAG;IAChD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,UAAU,EAAE,SAAS,oBAAoB,EAAE,CAAA;IACpD,QAAQ,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CACnC,CAAA;AAED,eAAO,MAAM,gCAAgC,qDAK1C,0CAA0C,KAAG,SAAS,aAAa,EA2RrE,CAAA"}
|
package/_types/apps/schemas.d.ts
CHANGED
|
@@ -12,16 +12,16 @@ export declare const appSchema: z.ZodEffects<z.ZodObject<{
|
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
14
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
15
|
+
icon?: string | undefined;
|
|
15
16
|
description?: string | undefined;
|
|
16
17
|
website?: string | undefined;
|
|
17
|
-
icon?: string | undefined;
|
|
18
18
|
}, {
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
21
21
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
22
|
+
icon?: string | undefined;
|
|
22
23
|
description?: string | undefined;
|
|
23
24
|
website?: string | undefined;
|
|
24
|
-
icon?: string | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
description: string | undefined;
|
|
27
27
|
website: string | undefined;
|
|
@@ -33,8 +33,8 @@ export declare const appSchema: z.ZodEffects<z.ZodObject<{
|
|
|
33
33
|
id: string;
|
|
34
34
|
name: string;
|
|
35
35
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
36
|
+
icon?: string | undefined;
|
|
36
37
|
description?: string | undefined;
|
|
37
38
|
website?: string | undefined;
|
|
38
|
-
icon?: string | undefined;
|
|
39
39
|
}>;
|
|
40
40
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -146,16 +146,16 @@ export declare const assetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
146
146
|
type: "Nft";
|
|
147
147
|
id: string;
|
|
148
148
|
updatedAt: number;
|
|
149
|
-
name?: string | undefined;
|
|
150
149
|
symbol?: string | undefined;
|
|
150
|
+
name?: string | undefined;
|
|
151
151
|
image?: string | undefined;
|
|
152
152
|
metadata?: string | undefined;
|
|
153
153
|
}, {
|
|
154
154
|
type: "Nft";
|
|
155
155
|
id: string;
|
|
156
156
|
updatedAt: number;
|
|
157
|
-
name?: string | undefined;
|
|
158
157
|
symbol?: string | undefined;
|
|
158
|
+
name?: string | undefined;
|
|
159
159
|
image?: string | undefined;
|
|
160
160
|
metadata?: string | undefined;
|
|
161
161
|
}>, {
|
|
@@ -170,8 +170,8 @@ export declare const assetSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
170
170
|
type: "Nft";
|
|
171
171
|
id: string;
|
|
172
172
|
updatedAt: number;
|
|
173
|
-
name?: string | undefined;
|
|
174
173
|
symbol?: string | undefined;
|
|
174
|
+
name?: string | undefined;
|
|
175
175
|
image?: string | undefined;
|
|
176
176
|
metadata?: string | undefined;
|
|
177
177
|
}>]>;
|
|
@@ -11,16 +11,16 @@ export declare const nftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
11
11
|
type: "Nft";
|
|
12
12
|
id: string;
|
|
13
13
|
updatedAt: number;
|
|
14
|
-
name?: string | undefined;
|
|
15
14
|
symbol?: string | undefined;
|
|
15
|
+
name?: string | undefined;
|
|
16
16
|
image?: string | undefined;
|
|
17
17
|
metadata?: string | undefined;
|
|
18
18
|
}, {
|
|
19
19
|
type: "Nft";
|
|
20
20
|
id: string;
|
|
21
21
|
updatedAt: number;
|
|
22
|
-
name?: string | undefined;
|
|
23
22
|
symbol?: string | undefined;
|
|
23
|
+
name?: string | undefined;
|
|
24
24
|
image?: string | undefined;
|
|
25
25
|
metadata?: string | undefined;
|
|
26
26
|
}>, {
|
|
@@ -35,8 +35,8 @@ export declare const nftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
35
35
|
type: "Nft";
|
|
36
36
|
id: string;
|
|
37
37
|
updatedAt: number;
|
|
38
|
-
name?: string | undefined;
|
|
39
38
|
symbol?: string | undefined;
|
|
39
|
+
name?: string | undefined;
|
|
40
40
|
image?: string | undefined;
|
|
41
41
|
metadata?: string | undefined;
|
|
42
42
|
}>;
|
|
@@ -109,7 +109,49 @@ import {
|
|
|
109
109
|
normalActionWithdrawWithBondSchema,
|
|
110
110
|
} from './withdraw'
|
|
111
111
|
|
|
112
|
-
export const normalActionSchema
|
|
112
|
+
export const normalActionSchema: z.ZodUnion<
|
|
113
|
+
[
|
|
114
|
+
typeof normalActionBorrowSchema,
|
|
115
|
+
typeof normalActionBridgeFromSchema,
|
|
116
|
+
typeof normalActionBridgeToSchema,
|
|
117
|
+
typeof normalActionCrossReplaceSchema,
|
|
118
|
+
typeof normalActionCrossTradeSchema,
|
|
119
|
+
typeof normalActionAddLiquiditySchema,
|
|
120
|
+
typeof normalActionDepositSchema,
|
|
121
|
+
typeof normalActionDepositWithBondSchema,
|
|
122
|
+
typeof normalActionStakeSchema,
|
|
123
|
+
typeof normalActionFeeSchema,
|
|
124
|
+
typeof normalActionTransactionFeeSchema,
|
|
125
|
+
typeof normalActionApproveSchema,
|
|
126
|
+
typeof normalActionFailTxSchema,
|
|
127
|
+
typeof normalActionReceiveFromCexSchema,
|
|
128
|
+
typeof normalActionRevokeSchema,
|
|
129
|
+
typeof normalActionSendToCexSchema,
|
|
130
|
+
typeof normalActionSpamSchema,
|
|
131
|
+
typeof normalActionAtomicArbitrageSchema,
|
|
132
|
+
typeof normalActionFreeMintNftSchema,
|
|
133
|
+
typeof normalActionIncomeSchema,
|
|
134
|
+
typeof normalActionRepaymentSchema,
|
|
135
|
+
typeof normalActionRepaymentWithDebtSchema,
|
|
136
|
+
typeof normalActionReplaceSchema,
|
|
137
|
+
typeof normalActionSwapNftSchema,
|
|
138
|
+
typeof normalActionUnwrapSchema,
|
|
139
|
+
typeof normalActionWrapSchema,
|
|
140
|
+
typeof normalActionBuyCryptoSchema,
|
|
141
|
+
typeof normalActionBuyNftSchema,
|
|
142
|
+
typeof normalActionMintNftSchema,
|
|
143
|
+
typeof normalActionSellCryptoSchema,
|
|
144
|
+
typeof normalActionSellNftSchema,
|
|
145
|
+
typeof normalActionTradeSchema,
|
|
146
|
+
typeof normalActionTransferSchema,
|
|
147
|
+
typeof normalActionValuedownSchema,
|
|
148
|
+
typeof normalActionValueupSchema,
|
|
149
|
+
typeof normalActionRemoveLiquiditySchema,
|
|
150
|
+
typeof normalActionUnstakeSchema,
|
|
151
|
+
typeof normalActionWithdrawSchema,
|
|
152
|
+
typeof normalActionWithdrawWithBondSchema,
|
|
153
|
+
]
|
|
154
|
+
> = z.union([
|
|
113
155
|
// borrow
|
|
114
156
|
normalActionBorrowSchema,
|
|
115
157
|
// cross replace
|
|
@@ -207,7 +249,55 @@ export const normalActionActionSchema = z.union([
|
|
|
207
249
|
z.literal('withdraw-with-bond'),
|
|
208
250
|
])
|
|
209
251
|
|
|
210
|
-
export const accountActionSchema
|
|
252
|
+
export const accountActionSchema: z.ZodUnion<
|
|
253
|
+
[
|
|
254
|
+
typeof accountActionBorrowSchema,
|
|
255
|
+
typeof accountActionBridgeFromSchema,
|
|
256
|
+
typeof accountActionBridgeToSchema,
|
|
257
|
+
typeof accountActionCrossReplaceSchema,
|
|
258
|
+
typeof accountActionCrossTradeSchema,
|
|
259
|
+
typeof accountActionAddLiquiditySchema,
|
|
260
|
+
typeof accountActionDepositSchema,
|
|
261
|
+
typeof accountActionDepositWithBondSchema,
|
|
262
|
+
typeof accountActionStakeSchema,
|
|
263
|
+
typeof accountActionFeeSchema,
|
|
264
|
+
typeof accountActionTransactionFeeSchema,
|
|
265
|
+
typeof accountActionApproveSchema,
|
|
266
|
+
typeof accountActionFailTxSchema,
|
|
267
|
+
typeof accountActionIgnoreSchema,
|
|
268
|
+
typeof accountActionMoveSchema,
|
|
269
|
+
typeof accountActionReceiveFromCexSchema,
|
|
270
|
+
typeof accountActionRevokeSchema,
|
|
271
|
+
typeof accountActionSendToCexSchema,
|
|
272
|
+
typeof accountActionSpamSchema,
|
|
273
|
+
typeof accountActionAtomicArbitrageSchema,
|
|
274
|
+
typeof accountActionFreeMintNftSchema,
|
|
275
|
+
typeof accountActionIncomeSchema,
|
|
276
|
+
typeof accountActionNftRoyaltySchema,
|
|
277
|
+
typeof accountActionSwapIncomeSchema,
|
|
278
|
+
typeof accountActionReduceSchema,
|
|
279
|
+
typeof accountActionRepaymentSchema,
|
|
280
|
+
typeof accountActionRepaymentWithDebtSchema,
|
|
281
|
+
typeof accountActionReplaceSchema,
|
|
282
|
+
typeof accountActionSwapNftSchema,
|
|
283
|
+
typeof accountActionUnwrapSchema,
|
|
284
|
+
typeof accountActionWrapSchema,
|
|
285
|
+
typeof accountActionBuyCryptoSchema,
|
|
286
|
+
typeof accountActionBuyNftSchema,
|
|
287
|
+
typeof accountActionMintNftSchema,
|
|
288
|
+
typeof accountActionSellCryptoSchema,
|
|
289
|
+
typeof accountActionSellNftSchema,
|
|
290
|
+
typeof accountActionTradeSchema,
|
|
291
|
+
typeof accountActionSwapTransferSchema,
|
|
292
|
+
typeof accountActionTransferSchema,
|
|
293
|
+
typeof accountActionValuedownSchema,
|
|
294
|
+
typeof accountActionValueupSchema,
|
|
295
|
+
typeof accountActionRemoveLiquiditySchema,
|
|
296
|
+
typeof accountActionUnstakeSchema,
|
|
297
|
+
typeof accountActionWithdrawSchema,
|
|
298
|
+
typeof accountActionWithdrawWithBondSchema,
|
|
299
|
+
]
|
|
300
|
+
> = z.union([
|
|
211
301
|
// borrow
|
|
212
302
|
accountActionBorrowSchema,
|
|
213
303
|
// cross replace
|
|
@@ -136,11 +136,15 @@ export const createEvidenceNoneAccountActions = ({
|
|
|
136
136
|
order,
|
|
137
137
|
}))
|
|
138
138
|
}
|
|
139
|
-
// in transfer asset 全て NFT
|
|
139
|
+
// in transfer asset 全て NFT , out transfer asset に NFT 含まない場合、 buy-nft action に変換
|
|
140
140
|
else if (
|
|
141
141
|
inOutTransferList
|
|
142
142
|
.filter((transfer) => transfer.direction === 'in')
|
|
143
|
-
.every((transfer) => transfer.asset.type === 'Nft')
|
|
143
|
+
.every((transfer) => transfer.asset.type === 'Nft') &&
|
|
144
|
+
inOutTransferList.filter(
|
|
145
|
+
(transfer) =>
|
|
146
|
+
transfer.direction === 'out' && transfer.asset.type === 'Nft',
|
|
147
|
+
).length === 0
|
|
144
148
|
) {
|
|
145
149
|
return [
|
|
146
150
|
...moveActionList,
|
|
@@ -172,11 +176,15 @@ export const createEvidenceNoneAccountActions = ({
|
|
|
172
176
|
order,
|
|
173
177
|
}))
|
|
174
178
|
}
|
|
175
|
-
// out transfer 全て NFT
|
|
179
|
+
// out transfer 全て NFT, in transfer に NFT を含まない場合、 sell-nft action に変換
|
|
176
180
|
else if (
|
|
177
181
|
inOutTransferList
|
|
178
182
|
.filter((transfer) => transfer.direction === 'out')
|
|
179
|
-
.every((transfer) => transfer.asset.type === 'Nft')
|
|
183
|
+
.every((transfer) => transfer.asset.type === 'Nft') &&
|
|
184
|
+
inOutTransferList.filter(
|
|
185
|
+
(transfer) =>
|
|
186
|
+
transfer.direction === 'in' && transfer.asset.type === 'Nft',
|
|
187
|
+
).length === 0
|
|
180
188
|
) {
|
|
181
189
|
return [
|
|
182
190
|
...moveActionList,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xtorch/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "Cryptorch | TypeScript Analyze Interface for Crypto Data.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cryptorch",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@0xtorch/big-decimal": "^0.0.7",
|
|
39
|
-
"zod": "^3.
|
|
39
|
+
"zod": "^3.23.8"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"typescript": "^5.0.0"
|