@bitgo/public-types 5.81.0 → 5.82.0
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/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/aptStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/aptUnstakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/aptWithdrawStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/baseBridgeFundsIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/cantonTransferOfferWithdrawnIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/delegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/index.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/index.js +0 -2
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +0 -358
- package/dist/src/schema/transactionRequest/intents/intent.js +0 -4
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intentType.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/intentType.js +0 -2
- package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/irysPledgeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/irysStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/taoTransferStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/tonWhalesUndelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/undelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/vetSignalExitIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +0 -2
- package/dist/src/schema/transactionRequest/intents/xdcStakingIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/intents/xdcUnstakingIntent.d.ts +0 -4
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +0 -716
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/index.ts +0 -2
- package/src/schema/transactionRequest/intents/intent.ts +0 -4
- package/src/schema/transactionRequest/intents/intentType.ts +0 -8
- package/dist/src/schema/transactionRequest/intents/defiDepositIntent.d.ts +0 -65
- package/dist/src/schema/transactionRequest/intents/defiDepositIntent.js +0 -38
- package/dist/src/schema/transactionRequest/intents/defiDepositIntent.js.map +0 -1
- package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.d.ts +0 -65
- package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.js +0 -38
- package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.js.map +0 -1
- package/src/schema/transactionRequest/intents/defiDepositIntent.ts +0 -15
- package/src/schema/transactionRequest/intents/defiRedeemIntent.ts +0 -15
package/package.json
CHANGED
|
@@ -46,8 +46,6 @@ export * from "./cosmosStakeIntent";
|
|
|
46
46
|
export * from "./cosmosSwitchValidatorIntent";
|
|
47
47
|
export * from "./cosmosUnstakeIntent";
|
|
48
48
|
export * from "./cosmosWithdrawIntent";
|
|
49
|
-
export * from "./defiDepositIntent";
|
|
50
|
-
export * from "./defiRedeemIntent";
|
|
51
49
|
export * from "./dotAccountBaseBuildOptions";
|
|
52
50
|
export * from "./dotBaseIntent";
|
|
53
51
|
export * from "./dotConsolidateIntent";
|
|
@@ -17,8 +17,6 @@ import {
|
|
|
17
17
|
VetExitDelegationIntent,
|
|
18
18
|
VetBurnNFTIntent,
|
|
19
19
|
} from "./vetUnstakingIntent";
|
|
20
|
-
import { DefiDepositIntent } from "./defiDepositIntent";
|
|
21
|
-
import { DefiRedeemIntent } from "./defiRedeemIntent";
|
|
22
20
|
import { CosmosPaymentIntent } from "./cosmosPaymentIntent";
|
|
23
21
|
import { CosmosStakeIntent } from "./cosmosStakeIntent";
|
|
24
22
|
import { CosmosSwitchValidatorIntent } from "./cosmosSwitchValidatorIntent";
|
|
@@ -146,8 +144,6 @@ export const TransactionIntent = t.union([
|
|
|
146
144
|
CosmosSwitchValidatorIntent,
|
|
147
145
|
CosmosUnstakeIntent,
|
|
148
146
|
CosmosWithdrawIntent,
|
|
149
|
-
DefiDepositIntent,
|
|
150
|
-
DefiRedeemIntent,
|
|
151
147
|
DotConsolidateIntent,
|
|
152
148
|
DotCreateAccountIntent,
|
|
153
149
|
DotPaymentIntent,
|
|
@@ -56,14 +56,6 @@ export const intentTypes = {
|
|
|
56
56
|
transferReject: t.literal("transferReject"),
|
|
57
57
|
transferAcknowledge: t.literal("transferAcknowledge"),
|
|
58
58
|
transferOfferWithdrawn: t.literal("transferOfferWithdrawn"),
|
|
59
|
-
/**
|
|
60
|
-
* Deposit assets into a DeFi protocol vault (e.g. Concrete USD1 → ctUSD1cx).
|
|
61
|
-
*/
|
|
62
|
-
"defi-deposit": t.literal("defi-deposit"),
|
|
63
|
-
/**
|
|
64
|
-
* Redeem vault shares from a DeFi protocol vault (e.g. ctUSD1cx → USD1).
|
|
65
|
-
*/
|
|
66
|
-
"defi-redeem": t.literal("defi-redeem"),
|
|
67
59
|
};
|
|
68
60
|
|
|
69
61
|
export const IntentType = t.keyof(intentTypes);
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import * as t from "io-ts";
|
|
2
|
-
export declare const DefiDepositIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3
|
-
intentType: t.KeyofC<{
|
|
4
|
-
payment: t.LiteralC<"payment">;
|
|
5
|
-
transferToken: t.LiteralC<"transferToken">;
|
|
6
|
-
consolidate: t.LiteralC<"consolidate">;
|
|
7
|
-
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
8
|
-
fanout: t.LiteralC<"fanout">;
|
|
9
|
-
stake: t.LiteralC<"stake">;
|
|
10
|
-
unstake: t.LiteralC<"unstake">;
|
|
11
|
-
delegate: t.LiteralC<"delegate">;
|
|
12
|
-
undelegate: t.LiteralC<"undelegate">;
|
|
13
|
-
switchValidator: t.LiteralC<"switchValidator">;
|
|
14
|
-
claim: t.LiteralC<"claim">;
|
|
15
|
-
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
16
|
-
pledge: t.LiteralC<"pledge">;
|
|
17
|
-
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
18
|
-
vote: t.LiteralC<"vote">;
|
|
19
|
-
createAccount: t.LiteralC<"createAccount">;
|
|
20
|
-
updateAccount: t.LiteralC<"updateAccount">;
|
|
21
|
-
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
22
|
-
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
23
|
-
signMessage: t.LiteralC<"signMessage">;
|
|
24
|
-
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
25
|
-
enableToken: t.LiteralC<"enableToken">;
|
|
26
|
-
authorize: t.LiteralC<"authorize">;
|
|
27
|
-
acceleration: t.LiteralC<"acceleration">;
|
|
28
|
-
fillNonce: t.LiteralC<"fillNonce">;
|
|
29
|
-
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
30
|
-
contractCall: t.LiteralC<"contractCall">;
|
|
31
|
-
deactivate: t.LiteralC<"deactivate">;
|
|
32
|
-
customTx: t.LiteralC<"customTx">;
|
|
33
|
-
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
34
|
-
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
35
|
-
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
36
|
-
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
37
|
-
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
38
|
-
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
39
|
-
transferStake: t.LiteralC<"transferStake">;
|
|
40
|
-
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
41
|
-
increaseStake: t.LiteralC<"increaseStake">;
|
|
42
|
-
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
43
|
-
signalExit: t.LiteralC<"signalExit">;
|
|
44
|
-
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
45
|
-
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
46
|
-
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
47
|
-
goUnstake: t.LiteralC<"goUnstake">;
|
|
48
|
-
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
49
|
-
transferAccept: t.LiteralC<"transferAccept">;
|
|
50
|
-
transferReject: t.LiteralC<"transferReject">;
|
|
51
|
-
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
52
|
-
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
53
|
-
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
54
|
-
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
55
|
-
}>;
|
|
56
|
-
}>, t.PartialC<{
|
|
57
|
-
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
58
|
-
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
59
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
60
|
-
}>]>, t.TypeC<{
|
|
61
|
-
intentType: t.LiteralC<"defi-deposit">;
|
|
62
|
-
protocol: t.StringC;
|
|
63
|
-
amount: t.StringC;
|
|
64
|
-
}>]>;
|
|
65
|
-
export type DefiDepositIntent = t.TypeOf<typeof DefiDepositIntent>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.DefiDepositIntent = void 0;
|
|
27
|
-
const t = __importStar(require("io-ts"));
|
|
28
|
-
const baseIntent_1 = require("./baseIntent");
|
|
29
|
-
const intentType_1 = require("./intentType");
|
|
30
|
-
exports.DefiDepositIntent = t.intersection([
|
|
31
|
-
baseIntent_1.BaseIntent,
|
|
32
|
-
t.type({
|
|
33
|
-
intentType: intentType_1.intentTypes["defi-deposit"],
|
|
34
|
-
protocol: t.string,
|
|
35
|
-
amount: t.string,
|
|
36
|
-
}),
|
|
37
|
-
]);
|
|
38
|
-
//# sourceMappingURL=defiDepositIntent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defiDepositIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/defiDepositIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAE9B,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,cAAc,CAAC;QACvC,QAAQ,EAAE,CAAC,CAAC,MAAM;QAElB,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import * as t from "io-ts";
|
|
2
|
-
export declare const DefiRedeemIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3
|
-
intentType: t.KeyofC<{
|
|
4
|
-
payment: t.LiteralC<"payment">;
|
|
5
|
-
transferToken: t.LiteralC<"transferToken">;
|
|
6
|
-
consolidate: t.LiteralC<"consolidate">;
|
|
7
|
-
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
8
|
-
fanout: t.LiteralC<"fanout">;
|
|
9
|
-
stake: t.LiteralC<"stake">;
|
|
10
|
-
unstake: t.LiteralC<"unstake">;
|
|
11
|
-
delegate: t.LiteralC<"delegate">;
|
|
12
|
-
undelegate: t.LiteralC<"undelegate">;
|
|
13
|
-
switchValidator: t.LiteralC<"switchValidator">;
|
|
14
|
-
claim: t.LiteralC<"claim">;
|
|
15
|
-
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
16
|
-
pledge: t.LiteralC<"pledge">;
|
|
17
|
-
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
18
|
-
vote: t.LiteralC<"vote">;
|
|
19
|
-
createAccount: t.LiteralC<"createAccount">;
|
|
20
|
-
updateAccount: t.LiteralC<"updateAccount">;
|
|
21
|
-
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
22
|
-
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
23
|
-
signMessage: t.LiteralC<"signMessage">;
|
|
24
|
-
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
25
|
-
enableToken: t.LiteralC<"enableToken">;
|
|
26
|
-
authorize: t.LiteralC<"authorize">;
|
|
27
|
-
acceleration: t.LiteralC<"acceleration">;
|
|
28
|
-
fillNonce: t.LiteralC<"fillNonce">;
|
|
29
|
-
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
30
|
-
contractCall: t.LiteralC<"contractCall">;
|
|
31
|
-
deactivate: t.LiteralC<"deactivate">;
|
|
32
|
-
customTx: t.LiteralC<"customTx">;
|
|
33
|
-
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
34
|
-
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
35
|
-
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
36
|
-
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
37
|
-
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
38
|
-
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
39
|
-
transferStake: t.LiteralC<"transferStake">;
|
|
40
|
-
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
41
|
-
increaseStake: t.LiteralC<"increaseStake">;
|
|
42
|
-
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
43
|
-
signalExit: t.LiteralC<"signalExit">;
|
|
44
|
-
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
45
|
-
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
46
|
-
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
47
|
-
goUnstake: t.LiteralC<"goUnstake">;
|
|
48
|
-
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
49
|
-
transferAccept: t.LiteralC<"transferAccept">;
|
|
50
|
-
transferReject: t.LiteralC<"transferReject">;
|
|
51
|
-
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
52
|
-
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
53
|
-
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
54
|
-
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
55
|
-
}>;
|
|
56
|
-
}>, t.PartialC<{
|
|
57
|
-
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
58
|
-
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
59
|
-
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
60
|
-
}>]>, t.TypeC<{
|
|
61
|
-
intentType: t.LiteralC<"defi-redeem">;
|
|
62
|
-
protocol: t.StringC;
|
|
63
|
-
amount: t.StringC;
|
|
64
|
-
}>]>;
|
|
65
|
-
export type DefiRedeemIntent = t.TypeOf<typeof DefiRedeemIntent>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.DefiRedeemIntent = void 0;
|
|
27
|
-
const t = __importStar(require("io-ts"));
|
|
28
|
-
const baseIntent_1 = require("./baseIntent");
|
|
29
|
-
const intentType_1 = require("./intentType");
|
|
30
|
-
exports.DefiRedeemIntent = t.intersection([
|
|
31
|
-
baseIntent_1.BaseIntent,
|
|
32
|
-
t.type({
|
|
33
|
-
intentType: intentType_1.intentTypes["defi-redeem"],
|
|
34
|
-
protocol: t.string,
|
|
35
|
-
amount: t.string,
|
|
36
|
-
}),
|
|
37
|
-
]);
|
|
38
|
-
//# sourceMappingURL=defiRedeemIntent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defiRedeemIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/defiRedeemIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAC1C,6CAA2C;AAE9B,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QACL,UAAU,EAAE,wBAAW,CAAC,aAAa,CAAC;QACtC,QAAQ,EAAE,CAAC,CAAC,MAAM;QAElB,MAAM,EAAE,CAAC,CAAC,MAAM;KACjB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as t from "io-ts";
|
|
2
|
-
import { BaseIntent } from "./baseIntent";
|
|
3
|
-
import { intentTypes } from "./intentType";
|
|
4
|
-
|
|
5
|
-
export const DefiDepositIntent = t.intersection([
|
|
6
|
-
BaseIntent,
|
|
7
|
-
t.type({
|
|
8
|
-
intentType: intentTypes["defi-deposit"],
|
|
9
|
-
protocol: t.string,
|
|
10
|
-
// Raw amount string in base units (wei). Asset is identified by protocol, not amount.symbol.
|
|
11
|
-
amount: t.string,
|
|
12
|
-
}),
|
|
13
|
-
]);
|
|
14
|
-
|
|
15
|
-
export type DefiDepositIntent = t.TypeOf<typeof DefiDepositIntent>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as t from "io-ts";
|
|
2
|
-
import { BaseIntent } from "./baseIntent";
|
|
3
|
-
import { intentTypes } from "./intentType";
|
|
4
|
-
|
|
5
|
-
export const DefiRedeemIntent = t.intersection([
|
|
6
|
-
BaseIntent,
|
|
7
|
-
t.type({
|
|
8
|
-
intentType: intentTypes["defi-redeem"],
|
|
9
|
-
protocol: t.string,
|
|
10
|
-
// Raw amount string in base units (wei). Asset is identified by protocol, not amount.symbol.
|
|
11
|
-
amount: t.string,
|
|
12
|
-
}),
|
|
13
|
-
]);
|
|
14
|
-
|
|
15
|
-
export type DefiRedeemIntent = t.TypeOf<typeof DefiRedeemIntent>;
|