@bitgo/public-types 5.34.0 → 5.36.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 +3 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +52 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.js +37 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +56 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.js +41 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +52 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.js +37 -0
- package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/index.d.ts +15 -9
- package/dist/src/schema/transactionRequest/intents/index.js +15 -9
- package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +427 -0
- package/dist/src/schema/transactionRequest/intents/intent.js +6 -0
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intentType.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js +3 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +6 -0
- package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +3 -0
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +854 -0
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.ts +25 -0
- package/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.ts +34 -0
- package/src/schema/transactionRequest/intents/cantonTransferRejectIntent.ts +25 -0
- package/src/schema/transactionRequest/intents/index.ts +15 -9
- package/src/schema/transactionRequest/intents/intent.ts +6 -0
- package/src/schema/transactionRequest/intents/intentType.ts +3 -0
package/package.json
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
import { BaseIntent } from "./baseIntent";
|
|
3
|
+
import { intentTypes } from "./intentType";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @title Canton Transfer Accept Intent
|
|
7
|
+
*
|
|
8
|
+
* Intent for accepting the incoming deposit 2-step transfers
|
|
9
|
+
* 2-step transfer in `Canton` chain means that the receiver has to explicitly accept/reject the deposit
|
|
10
|
+
* by sending out an acceptance/rejection transaction on-chain
|
|
11
|
+
*
|
|
12
|
+
* @param {String} intentType - The type of intent (always set to transferAccept)
|
|
13
|
+
* @param {string} txRequestId - The acknowledgement txRequestId
|
|
14
|
+
*/
|
|
15
|
+
export const CantonTransferAcceptIntent = t.intersection([
|
|
16
|
+
BaseIntent,
|
|
17
|
+
t.type({
|
|
18
|
+
intentType: intentTypes.transferAccept,
|
|
19
|
+
txRequestId: t.string,
|
|
20
|
+
}),
|
|
21
|
+
]);
|
|
22
|
+
|
|
23
|
+
export type CantonTransferAcceptIntent = t.TypeOf<
|
|
24
|
+
typeof CantonTransferAcceptIntent
|
|
25
|
+
>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
import { BaseIntent } from "./baseIntent";
|
|
3
|
+
import { intentTypes } from "./intentType";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @title Canton Transfer Acknowledge Intent
|
|
7
|
+
*
|
|
8
|
+
* Intent for auto creating a dummy txn for the user to either accept or reject
|
|
9
|
+
* 2-step transfer in `Canton` chain means that the receiver has to explicitly accept/reject the deposit
|
|
10
|
+
* by sending out an acceptance/rejection transaction on-chain so when there is a deposit, we automatically create a
|
|
11
|
+
* txRequest with the details needed for user to take action
|
|
12
|
+
*
|
|
13
|
+
* @param {String} intentType - The type of intent (always set to transferAcknowledge)
|
|
14
|
+
* @param {String} contractId - The contract id that needs to be acted on by the receiver
|
|
15
|
+
* @param {String} senderPartyId - The address (partyId) of the sender
|
|
16
|
+
* @param {String} updateId - The transaction id of the deposit
|
|
17
|
+
* @param {Number} amount - The deposit amount
|
|
18
|
+
* @param {Number} expiry - The expiry epoch
|
|
19
|
+
*/
|
|
20
|
+
export const CantonTransferAcknowledgeIntent = t.intersection([
|
|
21
|
+
BaseIntent,
|
|
22
|
+
t.type({
|
|
23
|
+
intentType: intentTypes.transferAcknowledge,
|
|
24
|
+
contractId: t.string,
|
|
25
|
+
senderPartyId: t.string,
|
|
26
|
+
updateId: t.string,
|
|
27
|
+
amount: t.number,
|
|
28
|
+
expiry: t.number,
|
|
29
|
+
}),
|
|
30
|
+
]);
|
|
31
|
+
|
|
32
|
+
export type CantonTransferAcknowledgeIntent = t.TypeOf<
|
|
33
|
+
typeof CantonTransferAcknowledgeIntent
|
|
34
|
+
>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as t from "io-ts";
|
|
2
|
+
import { BaseIntent } from "./baseIntent";
|
|
3
|
+
import { intentTypes } from "./intentType";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @title Canton Transfer Reject Intent
|
|
7
|
+
*
|
|
8
|
+
* Intent for rejecting the incoming deposit 2-step transfers
|
|
9
|
+
* 2-step transfer in `Canton` chain means that the receiver has to explicitly accept/reject the deposit
|
|
10
|
+
* by sending out an acceptance/rejection transaction on-chain
|
|
11
|
+
*
|
|
12
|
+
* @param {String} intentType - The type of intent (always set to transferReject)
|
|
13
|
+
* @param {string} txRequestId - The acknowledgement txRequestId
|
|
14
|
+
*/
|
|
15
|
+
export const CantonTransferRejectIntent = t.intersection([
|
|
16
|
+
BaseIntent,
|
|
17
|
+
t.type({
|
|
18
|
+
intentType: intentTypes.transferReject,
|
|
19
|
+
txRequestId: t.string,
|
|
20
|
+
}),
|
|
21
|
+
]);
|
|
22
|
+
|
|
23
|
+
export type CantonTransferRejectIntent = t.TypeOf<
|
|
24
|
+
typeof CantonTransferRejectIntent
|
|
25
|
+
>;
|
|
@@ -12,6 +12,7 @@ export * from "./adaUnstakeIntent";
|
|
|
12
12
|
export * from "./adaVoteDelegationIntent";
|
|
13
13
|
export * from "./address";
|
|
14
14
|
export * from "./amount";
|
|
15
|
+
export * from "./aptBuildOptions";
|
|
15
16
|
export * from "./aptCustomTxIntent";
|
|
16
17
|
export * from "./atomPaymentIntent";
|
|
17
18
|
export * from "./atomStakeIntent";
|
|
@@ -19,6 +20,7 @@ export * from "./atomUnstakeIntent";
|
|
|
19
20
|
export * from "./atomWithdrawIntent";
|
|
20
21
|
export * from "./babyCreateBtcDelegationIntent";
|
|
21
22
|
export * from "./babyWithdrawRewardIntent";
|
|
23
|
+
export * from "./baseGoStakeIntent";
|
|
22
24
|
export * from "./baseIntent";
|
|
23
25
|
export * from "./baseStakeIntent";
|
|
24
26
|
export * from "./baseStakeIntentWithCalldata";
|
|
@@ -27,6 +29,9 @@ export * from "./bscDelegateIntent";
|
|
|
27
29
|
export * from "./bscStakeClaimRewardsIntent";
|
|
28
30
|
export * from "./bscUndelegateIntent";
|
|
29
31
|
export * from "./bscWithdrawUndelegateIntent";
|
|
32
|
+
export * from "./cantonTransferAcceptIntent";
|
|
33
|
+
export * from "./cantonTransferAcknowledgeIntent";
|
|
34
|
+
export * from "./cantonTransferRejectIntent";
|
|
30
35
|
export * from "./consolidateTokenIntent";
|
|
31
36
|
export * from "./coredaoClaimIntent";
|
|
32
37
|
export * from "./coredaoDelegateIntent";
|
|
@@ -64,6 +69,7 @@ export * from "./feeOptionFeeType";
|
|
|
64
69
|
export * from "./feeOptionFormula";
|
|
65
70
|
export * from "./feeOptionUnit";
|
|
66
71
|
export * from "./fillNonceIntent";
|
|
72
|
+
export * from "./goUnstakeIntent";
|
|
67
73
|
export * from "./hopParams";
|
|
68
74
|
export * from "./icpPaymentIntent";
|
|
69
75
|
export * from "./icpSignatures";
|
|
@@ -75,13 +81,13 @@ export * from "./mmiSignTransactionIntent";
|
|
|
75
81
|
export * from "./nearStakeIntent";
|
|
76
82
|
export * from "./nearUnstakeIntent";
|
|
77
83
|
export * from "./nearWithdrawIntent";
|
|
84
|
+
export * from "./paymentIntent";
|
|
78
85
|
export * from "./polyxBaseIntent";
|
|
79
86
|
export * from "./polyxCreateAccountIntent";
|
|
80
87
|
export * from "./polyxPreApproveAssetIntent";
|
|
81
88
|
export * from "./polyxStakeIntent";
|
|
82
89
|
export * from "./polyxUnstakeIntent";
|
|
83
90
|
export * from "./polyxWithdrawIntent";
|
|
84
|
-
export * from "./paymentIntent";
|
|
85
91
|
export * from "./recipientEntry";
|
|
86
92
|
export * from "./signMessageIntent";
|
|
87
93
|
export * from "./solAuthorizeIntent";
|
|
@@ -93,10 +99,10 @@ export * from "./solCreateAssociatedTokenAccountIntent";
|
|
|
93
99
|
export * from "./solCustomTxIntent";
|
|
94
100
|
export * from "./solDeactivateIntent";
|
|
95
101
|
export * from "./solDelegateIntent";
|
|
96
|
-
export * from "./solStakingType";
|
|
97
102
|
export * from "./solGoUnstakeIntent";
|
|
98
103
|
export * from "./solPaymentIntent";
|
|
99
104
|
export * from "./solStakeIntent";
|
|
105
|
+
export * from "./solStakingType";
|
|
100
106
|
export * from "./solUnstakeIntent";
|
|
101
107
|
export * from "./solVersionedCustomTxIntent";
|
|
102
108
|
export * from "./stakeClaimRewardsIntent";
|
|
@@ -108,10 +114,6 @@ export * from "./substrateConsolidateIntent";
|
|
|
108
114
|
export * from "./substrateFeeOptionFormula";
|
|
109
115
|
export * from "./substrateFeeOptions";
|
|
110
116
|
export * from "./substratePaymentIntent";
|
|
111
|
-
export * from "./taoStakingBaseIntent";
|
|
112
|
-
export * from "./taoStakeIntent";
|
|
113
|
-
export * from "./taoSwitchValidatorIntent";
|
|
114
|
-
export * from "./taoUnstakeIntent";
|
|
115
117
|
export * from "./suiBuildOptions";
|
|
116
118
|
export * from "./suiConsolidateIntent";
|
|
117
119
|
export * from "./suiCustomTxIntent";
|
|
@@ -121,6 +123,11 @@ export * from "./suiPaymentIntent";
|
|
|
121
123
|
export * from "./suiStakingIntent";
|
|
122
124
|
export * from "./suiUnstakingIntent";
|
|
123
125
|
export * from "./supportedTokenRecipientEntryItem";
|
|
126
|
+
export * from "./taoStakeIntent";
|
|
127
|
+
export * from "./taoStakingBaseIntent";
|
|
128
|
+
export * from "./taoSwitchValidatorIntent";
|
|
129
|
+
export * from "./taoUnstakeIntent";
|
|
130
|
+
export * from "./tokenApprovalIntent";
|
|
124
131
|
export * from "./tokenData";
|
|
125
132
|
export * from "./tokenEnablement";
|
|
126
133
|
export * from "./tokenRecipientEntry";
|
|
@@ -132,13 +139,12 @@ export * from "./tonUndelegateIntent";
|
|
|
132
139
|
export * from "./transferTokenIntent";
|
|
133
140
|
export * from "./unstakeIntent";
|
|
134
141
|
export * from "./unsupportedTokenRecipientEntryItem";
|
|
135
|
-
export * from "./vetStakingIntent";
|
|
136
142
|
export * from "./vetStakeClaimRewardsIntent";
|
|
143
|
+
export * from "./vetStakingIntent";
|
|
144
|
+
export * from "./vetUnstakingIntent";
|
|
137
145
|
export * from "./voteDelegationIntent";
|
|
138
146
|
export * from "./walletRecoveryIntent";
|
|
139
147
|
export * from "./walrusStakingIntent";
|
|
140
148
|
export * from "./walrusUndelegateIntent";
|
|
141
149
|
export * from "./walrusWithdrawIntent";
|
|
142
150
|
export * from "./withdrawIntent";
|
|
143
|
-
export * from "./tokenApprovalIntent";
|
|
144
|
-
export * from "./vetUnstakingIntent";
|
|
@@ -92,6 +92,9 @@ import { SolGoUnstakeIntent } from "./solGoUnstakeIntent";
|
|
|
92
92
|
import { SuiGoUnstakeIntent } from "./suiGoUnstakeIntent";
|
|
93
93
|
import { VetStakingIntent } from "./vetStakingIntent";
|
|
94
94
|
import { VetStakeClaimRewardsIntent } from "./vetStakeClaimRewardsIntent";
|
|
95
|
+
import { CantonTransferAcceptIntent } from "./cantonTransferAcceptIntent";
|
|
96
|
+
import { CantonTransferRejectIntent } from "./cantonTransferRejectIntent";
|
|
97
|
+
import { CantonTransferAcknowledgeIntent } from "./cantonTransferAcknowledgeIntent";
|
|
95
98
|
|
|
96
99
|
export const TransactionIntent = t.union([
|
|
97
100
|
AdaConsolidateIntent,
|
|
@@ -110,6 +113,9 @@ export const TransactionIntent = t.union([
|
|
|
110
113
|
BscDelegateIntent,
|
|
111
114
|
BscUnDelegateIntent,
|
|
112
115
|
BscWithdrawUndelegateIntent,
|
|
116
|
+
CantonTransferAcceptIntent,
|
|
117
|
+
CantonTransferAcknowledgeIntent,
|
|
118
|
+
CantonTransferRejectIntent,
|
|
113
119
|
CosmosPaymentIntent,
|
|
114
120
|
CosmosStakeIntent,
|
|
115
121
|
CosmosSwitchValidatorIntent,
|
|
@@ -43,6 +43,9 @@ export const intentTypes = {
|
|
|
43
43
|
* Register a BTC delegation on the Babylon chain for Baby BTC staking.
|
|
44
44
|
*/
|
|
45
45
|
createBtcDelegation: t.literal("createBtcDelegation"),
|
|
46
|
+
transferAccept: t.literal("transferAccept"),
|
|
47
|
+
transferReject: t.literal("transferReject"),
|
|
48
|
+
transferAcknowledge: t.literal("transferAcknowledge"),
|
|
46
49
|
};
|
|
47
50
|
|
|
48
51
|
export const IntentType = t.keyof(intentTypes);
|