@bitgo/public-types 5.5.1 → 5.6.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 +1 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +47 -0
- package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.js +35 -0
- package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +65 -0
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.js +38 -0
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +257 -2
- package/dist/src/schema/transactionRequest/intents/intent.js +4 -0
- package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intentType.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js +1 -0
- package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +69 -0
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.js +34 -0
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +112 -0
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.js +34 -0
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.js.map +1 -0
- package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +2 -0
- package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +1 -0
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/baseGoStakeIntent.ts +19 -0
- package/src/schema/transactionRequest/intents/goUnstakeIntent.ts +22 -0
- package/src/schema/transactionRequest/intents/intent.ts +4 -0
- package/src/schema/transactionRequest/intents/intentType.ts +4 -0
- package/src/schema/transactionRequest/intents/solGoUnstakeIntent.ts +16 -0
- package/src/schema/transactionRequest/intents/suiGoUnstakeIntent.ts +16 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"suiGoUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/suiGoUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,uDAAoD;AAQvC,QAAA,kBAAkB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/C,iCAAe;IACf,iCAAe;CAChB,CAAC,CAAC"}
|
@@ -34,6 +34,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -93,6 +94,7 @@ export declare const SuiPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
93
94
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
94
95
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
95
96
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
97
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
96
98
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
97
99
|
}>;
|
98
100
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SuiStakingIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const SuiUnstakingIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const TaoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -79,6 +80,7 @@ export declare const TaoStakeIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
79
80
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
80
81
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
81
82
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
83
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
82
84
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
83
85
|
}>;
|
84
86
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const TaoStakingBaseIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -87,6 +88,7 @@ export declare const TaoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
87
88
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
88
89
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
89
90
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
91
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
90
92
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
91
93
|
}>;
|
92
94
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const TokenApprovalIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const TonDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const TonPaymentIntent: t.IntersectionC<[t.IntersectionC<[t.Inter
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const TonUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const TransferTokenIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const UnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Intersec
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const VoteDelegationIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const WalletRecoveryIntent: t.IntersectionC<[t.IntersectionC<[t.T
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const WalrusStakingIntent: t.IntersectionC<[t.IntersectionC<[t.In
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const WalrusUndelegateIntent: t.IntersectionC<[t.IntersectionC<[t
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const WalrusWithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.I
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
@@ -34,6 +34,7 @@ export declare const WithdrawIntent: t.IntersectionC<[t.IntersectionC<[t.Interse
|
|
34
34
|
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
35
35
|
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
36
36
|
tokenApproval: t.LiteralC<"tokenApproval">;
|
37
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
37
38
|
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
38
39
|
}>;
|
39
40
|
}>, t.PartialC<{
|
package/package.json
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
import { BaseIntent } from "./baseIntent";
|
3
|
+
|
4
|
+
/**
|
5
|
+
* @title BaseGoStakeIntent
|
6
|
+
*
|
7
|
+
* @description base interface for Go staking intents.
|
8
|
+
*
|
9
|
+
* @param {string} goStakingRequestId - The unique identifier for the Go staking request.
|
10
|
+
*
|
11
|
+
*/
|
12
|
+
export const BaseGoStakeIntent = t.intersection([
|
13
|
+
BaseIntent,
|
14
|
+
t.type({
|
15
|
+
goStakingRequestId: t.string,
|
16
|
+
}),
|
17
|
+
]);
|
18
|
+
|
19
|
+
export type BaseGoStakeIntent = t.TypeOf<typeof BaseGoStakeIntent>;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
import { RecipientEntry } from "./recipientEntry";
|
3
|
+
import { intentTypes } from "./intentType";
|
4
|
+
import { BaseGoStakeIntent } from "./baseGoStakeIntent";
|
5
|
+
|
6
|
+
/**
|
7
|
+
* @title GoUnstakeIntent
|
8
|
+
*
|
9
|
+
* @description interface for Go unstake intents.
|
10
|
+
*
|
11
|
+
* @param {RecipientEntry[]} recipients - An array of recipient entries, for the address and amount.
|
12
|
+
*
|
13
|
+
*/
|
14
|
+
export const GoUnstakeIntent = t.intersection([
|
15
|
+
BaseGoStakeIntent,
|
16
|
+
t.type({
|
17
|
+
intentType: intentTypes.goUnstake,
|
18
|
+
recipients: t.array(RecipientEntry),
|
19
|
+
}),
|
20
|
+
]);
|
21
|
+
|
22
|
+
export type GoUnstakeIntent = t.TypeOf<typeof GoUnstakeIntent>;
|
@@ -79,6 +79,8 @@ import { BeraDelegateIntent } from "./beraDelegateIntent";
|
|
79
79
|
import { WalrusStakingIntent } from "./walrusStakingIntent";
|
80
80
|
import { WalrusUndelegateIntent } from "./walrusUndelegateIntent";
|
81
81
|
import { WalrusWithdrawIntent } from "./walrusWithdrawIntent";
|
82
|
+
import { SolGoUnstakeIntent } from "./solGoUnstakeIntent";
|
83
|
+
import { SuiGoUnstakeIntent } from "./suiGoUnstakeIntent";
|
82
84
|
|
83
85
|
export const TransactionIntent = t.union([
|
84
86
|
AdaConsolidateIntent,
|
@@ -133,6 +135,7 @@ export const TransactionIntent = t.union([
|
|
133
135
|
SolCreateAssociatedTokenAccountIntent,
|
134
136
|
SolDeactivateIntent,
|
135
137
|
SolDelegateIntent,
|
138
|
+
SolGoUnstakeIntent,
|
136
139
|
SolPaymentIntent,
|
137
140
|
SolStakeIntent,
|
138
141
|
SolUnstakeIntent,
|
@@ -140,6 +143,7 @@ export const TransactionIntent = t.union([
|
|
140
143
|
SubstratePaymentIntent,
|
141
144
|
SuiConsolidateIntent,
|
142
145
|
SuiCustomTxIntent,
|
146
|
+
SuiGoUnstakeIntent,
|
143
147
|
SuiPaymentIntent,
|
144
148
|
SuiStakingIntent,
|
145
149
|
SuiUnstakingIntent,
|
@@ -34,6 +34,10 @@ export const intentTypes = {
|
|
34
34
|
stakeWithCallData: t.literal("stakeWithCallData"),
|
35
35
|
feeAddressTransfer: t.literal("feeAddressTransfer"),
|
36
36
|
tokenApproval: t.literal("tokenApproval"),
|
37
|
+
/**
|
38
|
+
* Unstake and transfer funds from a staking wallet to a go account.
|
39
|
+
*/
|
40
|
+
goUnstake: t.literal("goUnstake"),
|
37
41
|
/**
|
38
42
|
* Register a BTC delegation on the Babylon chain for Baby BTC staking.
|
39
43
|
*/
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
import { SolBuildOptions } from "./solBuildOptions";
|
3
|
+
import { GoUnstakeIntent } from "./goUnstakeIntent";
|
4
|
+
|
5
|
+
/**
|
6
|
+
* @title SolGoUnstakeIntent
|
7
|
+
*
|
8
|
+
* @description Unstake intent for GO wallets for the Solana blockchain.
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
export const SolGoUnstakeIntent = t.intersection([
|
12
|
+
GoUnstakeIntent,
|
13
|
+
SolBuildOptions,
|
14
|
+
]);
|
15
|
+
|
16
|
+
export type SolGoUnstakeIntent = t.TypeOf<typeof SolGoUnstakeIntent>;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import * as t from "io-ts";
|
2
|
+
import { SuiBuildOptions } from "./suiBuildOptions";
|
3
|
+
import { GoUnstakeIntent } from "./goUnstakeIntent";
|
4
|
+
|
5
|
+
/**
|
6
|
+
* @title SuiGoUnstakeIntent
|
7
|
+
*
|
8
|
+
* @description Unstake intent for GO wallets for the Solana blockchain.
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
export const SuiGoUnstakeIntent = t.intersection([
|
12
|
+
GoUnstakeIntent,
|
13
|
+
SuiBuildOptions,
|
14
|
+
]);
|
15
|
+
|
16
|
+
export type SuiGoUnstakeIntent = t.TypeOf<typeof SuiGoUnstakeIntent>;
|