@bitgo/public-types 6.28.0 → 6.29.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/baseGoStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/enableTokenIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +1 -3
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.js +2 -2
- package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/intent.d.ts +82 -7
- package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solBuildOptions.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solClaimIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solConsolidateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +1 -0
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/solDelegateIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +4 -4
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.js +4 -0
- package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solPaymentIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solStakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +76 -3
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.js +2 -0
- package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/unstakeIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/intents/withdrawIntent.js.map +1 -1
- package/dist/src/schema/transactionRequest/transactionRequest.d.ts +164 -14
- package/package.json +1 -1
- package/src/schema/transactionRequest/intents/baseGoStakeIntent.ts +4 -5
- package/src/schema/transactionRequest/intents/enableTokenIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/goUnstakeIntent.ts +8 -7
- package/src/schema/transactionRequest/intents/solAuthorizeIntent.ts +11 -0
- package/src/schema/transactionRequest/intents/solBuildOptions.ts +1 -0
- package/src/schema/transactionRequest/intents/solClaimIntent.ts +3 -0
- package/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.ts +4 -0
- package/src/schema/transactionRequest/intents/solConsolidateIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.ts +2 -0
- package/src/schema/transactionRequest/intents/solCustomTxIntent.ts +10 -0
- package/src/schema/transactionRequest/intents/solDeactivateIntent.ts +7 -0
- package/src/schema/transactionRequest/intents/solDelegateIntent.ts +8 -0
- package/src/schema/transactionRequest/intents/solGoUnstakeIntent.ts +7 -3
- package/src/schema/transactionRequest/intents/solPaymentIntent.ts +5 -0
- package/src/schema/transactionRequest/intents/solStakeIntent.ts +4 -3
- package/src/schema/transactionRequest/intents/solUnstakeIntent.ts +7 -3
- package/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.ts +18 -0
- package/src/schema/transactionRequest/intents/suiGoUnstakeIntent.ts +4 -1
- package/src/schema/transactionRequest/intents/unstakeIntent.ts +1 -0
- package/src/schema/transactionRequest/intents/withdrawIntent.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseGoStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/baseGoStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;
|
|
1
|
+
{"version":3,"file":"baseGoStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/baseGoStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA0C;AAQ7B,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QAEL,kBAAkB,EAAE,CAAC,CAAC,MAAM;KAC7B,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enableTokenIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/enableTokenIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA2C;AAC3C,6CAA0C;AAC1C,uDAAoD;AAEvC,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"enableTokenIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/enableTokenIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA2C;AAC3C,6CAA0C;AAC1C,uDAAoD;AAEvC,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,WAAW;QAEnC,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,iCAAe,CAAC;KACvC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
|
-
export declare const GoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.
|
|
2
|
+
export declare const GoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3
3
|
intentType: t.KeyofC<{
|
|
4
4
|
payment: t.LiteralC<"payment">;
|
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -72,8 +72,6 @@ export declare const GoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Inters
|
|
|
72
72
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
73
73
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
74
74
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
75
|
-
}>]>, t.TypeC<{
|
|
76
|
-
goStakingRequestId: t.StringC;
|
|
77
75
|
}>]>, t.TypeC<{
|
|
78
76
|
intentType: t.LiteralC<"goUnstake">;
|
|
79
77
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
@@ -27,9 +27,9 @@ exports.GoUnstakeIntent = void 0;
|
|
|
27
27
|
const t = __importStar(require("io-ts"));
|
|
28
28
|
const recipientEntry_1 = require("./recipientEntry");
|
|
29
29
|
const intentType_1 = require("./intentType");
|
|
30
|
-
const
|
|
30
|
+
const baseIntent_1 = require("./baseIntent");
|
|
31
31
|
exports.GoUnstakeIntent = t.intersection([
|
|
32
|
-
|
|
32
|
+
baseIntent_1.BaseIntent,
|
|
33
33
|
t.type({
|
|
34
34
|
intentType: intentType_1.intentTypes.goUnstake,
|
|
35
35
|
recipients: t.array(recipientEntry_1.RecipientEntry),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/goUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,qDAAkD;AAClD,6CAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"goUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/goUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,qDAAkD;AAClD,6CAA2C;AAC3C,6CAA0C;AAS7B,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,uBAAU;IACV,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,SAAS;QAEjC,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,+BAAc,CAAC;KACpC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -7746,6 +7746,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
7746
7746
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
7747
7747
|
}>]>, t.TypeC<{
|
|
7748
7748
|
intentType: t.LiteralC<"deactivate">;
|
|
7749
|
+
}>, t.PartialC<{
|
|
7749
7750
|
stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
7750
7751
|
stakingAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
7751
7752
|
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
@@ -7828,9 +7829,10 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
7828
7829
|
}>]>, t.TypeC<{
|
|
7829
7830
|
intentType: t.LiteralC<"delegate">;
|
|
7830
7831
|
validatorAddress: t.StringC;
|
|
7832
|
+
}>, t.PartialC<{
|
|
7831
7833
|
stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
7832
7834
|
stakingAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
7833
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.
|
|
7835
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
7834
7836
|
intentType: t.KeyofC<{
|
|
7835
7837
|
payment: t.LiteralC<"payment">;
|
|
7836
7838
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -7903,8 +7905,6 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
7903
7905
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
7904
7906
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
7905
7907
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
7906
|
-
}>]>, t.TypeC<{
|
|
7907
|
-
goStakingRequestId: t.StringC;
|
|
7908
7908
|
}>]>, t.TypeC<{
|
|
7909
7909
|
intentType: t.LiteralC<"goUnstake">;
|
|
7910
7910
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
@@ -7927,7 +7927,9 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
7927
7927
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
7928
7928
|
}>, t.TypeC<{
|
|
7929
7929
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
7930
|
-
}>]
|
|
7930
|
+
}>]>, t.PartialC<{
|
|
7931
|
+
goStakingRequestId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
7932
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
7931
7933
|
intentType: t.KeyofC<{
|
|
7932
7934
|
payment: t.LiteralC<"payment">;
|
|
7933
7935
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -8811,7 +8813,7 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
8811
8813
|
}>]>, t.TypeC<{
|
|
8812
8814
|
intentType: t.LiteralC<"customTx">;
|
|
8813
8815
|
rawTx: t.StringC;
|
|
8814
|
-
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.
|
|
8816
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
8815
8817
|
intentType: t.KeyofC<{
|
|
8816
8818
|
payment: t.LiteralC<"payment">;
|
|
8817
8819
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -8884,8 +8886,6 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
8884
8886
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8885
8887
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8886
8888
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
8887
|
-
}>]>, t.TypeC<{
|
|
8888
|
-
goStakingRequestId: t.StringC;
|
|
8889
8889
|
}>]>, t.TypeC<{
|
|
8890
8890
|
intentType: t.LiteralC<"goUnstake">;
|
|
8891
8891
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
@@ -8977,6 +8977,81 @@ export declare const TransactionIntent: t.UnionC<[t.IntersectionC<[t.Intersectio
|
|
|
8977
8977
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8978
8978
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
8979
8979
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
8980
|
+
}>]>, t.TypeC<{
|
|
8981
|
+
goStakingRequestId: t.StringC;
|
|
8982
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
8983
|
+
intentType: t.KeyofC<{
|
|
8984
|
+
payment: t.LiteralC<"payment">;
|
|
8985
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
8986
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
8987
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
8988
|
+
fanout: t.LiteralC<"fanout">;
|
|
8989
|
+
stake: t.LiteralC<"stake">;
|
|
8990
|
+
unstake: t.LiteralC<"unstake">;
|
|
8991
|
+
delegate: t.LiteralC<"delegate">;
|
|
8992
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
8993
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
8994
|
+
claim: t.LiteralC<"claim">;
|
|
8995
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
8996
|
+
pledge: t.LiteralC<"pledge">;
|
|
8997
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
8998
|
+
vote: t.LiteralC<"vote">;
|
|
8999
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
9000
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
9001
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
9002
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
9003
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
9004
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
9005
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
9006
|
+
authorize: t.LiteralC<"authorize">;
|
|
9007
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
9008
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
9009
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
9010
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
9011
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
9012
|
+
customTx: t.LiteralC<"customTx">;
|
|
9013
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
9014
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
9015
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
9016
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
9017
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
9018
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
9019
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
9020
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
9021
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
9022
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
9023
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
9024
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
9025
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
9026
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
9027
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
9028
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
9029
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
9030
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
9031
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
9032
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
9033
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
9034
|
+
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
9035
|
+
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
9036
|
+
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
9037
|
+
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
9038
|
+
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
9039
|
+
cantonEndInvestorOnboardingOffer: t.LiteralC<"cantonEndInvestorOnboardingOffer">;
|
|
9040
|
+
cantonEndInvestorOnboardingAccept: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
|
|
9041
|
+
cantonEndInvestorOnboardingReject: t.LiteralC<"cantonEndInvestorOnboardingReject">;
|
|
9042
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
9043
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
9044
|
+
"defi-approve": t.LiteralC<"defi-approve">;
|
|
9045
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
9046
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
9047
|
+
export: t.LiteralC<"export">;
|
|
9048
|
+
import: t.LiteralC<"import">;
|
|
9049
|
+
importtoc: t.LiteralC<"importtoc">;
|
|
9050
|
+
}>;
|
|
9051
|
+
}>, t.PartialC<{
|
|
9052
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
9053
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
9054
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
8980
9055
|
}>]>, t.TypeC<{
|
|
8981
9056
|
feeOptions: t.TypeC<{
|
|
8982
9057
|
gasLimit: t.NumberC;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solAuthorizeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solAuthorizeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"solAuthorizeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solAuthorizeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;AAO9B,QAAA,kBAAkB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/C,uBAAU;IACV,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,SAAS;QAEjC,kBAAkB,EAAE,CAAC,CAAC,MAAM;QAE5B,YAAY,EAAE,CAAC,CAAC,MAAM;QAEtB,oBAAoB,EAAE,CAAC,CAAC,MAAM;QAE9B,oBAAoB,EAAE,CAAC,CAAC,MAAM;QAE9B,eAAe,EAAE,CAAC,CAAC,MAAM;QAEzB,YAAY,EAAE,CAAC,CAAC,MAAM;QAEtB,cAAc,EAAE,CAAC,CAAC,MAAM;QAExB,SAAS,EAAE,CAAC,CAAC,MAAM;KACpB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solBuildOptions.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solBuildOptions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,0CAAgD;AAChD,uEAAoE;AAgBvD,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,iDAAuB;IACvB,CAAC,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"solBuildOptions.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solBuildOptions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,0CAAgD;AAChD,uEAAoE;AAgBvD,QAAA,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,iDAAuB;IACvB,CAAC,CAAC,IAAI,CAAC;QAEL,IAAI,EAAE,sBAAc;KACrB,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solClaimIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solClaimIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,qDAAkD;AAClD,6CAAoD;
|
|
1
|
+
{"version":3,"file":"solClaimIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solClaimIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,qDAAkD;AAClD,6CAAoD;AAOvC,QAAA,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,+BAAc;IACd,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,cAAc,EAAE,CAAC,CAAC,MAAM;KACzB,CAAC;CACH,CAAC,CAAC"}
|
package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solCloseAssociatedTokenAccountIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,6CAA0C;AAC1C,6CAA2C;AAC3C,qDAAkD;AAClD,uDAAoD;AAoCpD,SAAS,yCAAyC,CAChD,SAAyB;IAEzB,IAAI,SAAS,CAAC,MAAM,CAAC,KAAK,KAAK,GAAG,EAAE,CAAC;QACnC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,eAAe,GAAG,SAAoC,CAAC;IAG7D,IAAI,WAAW,IAAI,eAAe,IAAI,WAAW,IAAI,eAAe,EAAE,CAAC;QACrE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,aAAa,GAAG,SAAS,CAAC,OAAgC,CAAC;IACjE,IAAI,OAAO,aAAa,EAAE,OAAO,KAAK,QAAQ,EAAE,CAAC;QAC/C,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AA4BD,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAC1D,+BAAc,EACd,CAAC,CACC,SAAgC,EAIhC,EAAE,CAAC,yCAAyC,CAAC,SAAS,CAAC,CAKxD,EACD,8CAA8C,CAC/C,CAAC;AAMF,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CACtD,CAAC,CAAC,KAAK,CAAC,4CAA4C,CAAC,EACrD,CAAC,CAAC,UAAwD,EAAE,EAAE,CAC5D,UAAU,CAAC,MAAM,GAAG,CAAC,CAKtB,EACD,0CAA0C,CAC3C,CAAC;
|
|
1
|
+
{"version":3,"file":"solCloseAssociatedTokenAccountIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAE3B,6CAA0C;AAC1C,6CAA2C;AAC3C,qDAAkD;AAClD,uDAAoD;AAoCpD,SAAS,yCAAyC,CAChD,SAAyB;IAEzB,IAAI,SAAS,CAAC,MAAM,CAAC,KAAK,KAAK,GAAG,EAAE,CAAC;QACnC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,eAAe,GAAG,SAAoC,CAAC;IAG7D,IAAI,WAAW,IAAI,eAAe,IAAI,WAAW,IAAI,eAAe,EAAE,CAAC;QACrE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,aAAa,GAAG,SAAS,CAAC,OAAgC,CAAC;IACjE,IAAI,OAAO,aAAa,EAAE,OAAO,KAAK,QAAQ,EAAE,CAAC;QAC/C,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AA4BD,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAC1D,+BAAc,EACd,CAAC,CACC,SAAgC,EAIhC,EAAE,CAAC,yCAAyC,CAAC,SAAS,CAAC,CAKxD,EACD,8CAA8C,CAC/C,CAAC;AAMF,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CACtD,CAAC,CAAC,KAAK,CAAC,4CAA4C,CAAC,EACrD,CAAC,CAAC,UAAwD,EAAE,EAAE,CAC5D,UAAU,CAAC,MAAM,GAAG,CAAC,CAKtB,EACD,0CAA0C,CAC3C,CAAC;AAaW,QAAA,oCAAoC,GAAG,CAAC,CAAC,YAAY,CAAC;IACjE,uBAAU;IACV,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,2BAA2B;QAEnD,UAAU,EAAE,wCAAwC;KACrD,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solConsolidateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solConsolidateIntent.ts"],"names":[],"mappings":";;;AACA,iFAA8E;
|
|
1
|
+
{"version":3,"file":"solConsolidateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solConsolidateIntent.ts"],"names":[],"mappings":";;;AACA,iFAA8E;AAOjE,QAAA,oBAAoB,GAAG,2DAA4B,CAAC"}
|
package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solCreateAssociatedTokenAccountIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,2DAAwD;
|
|
1
|
+
{"version":3,"file":"solCreateAssociatedTokenAccountIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,2DAAwD;AAO3C,QAAA,qCAAqC,GAAG,CAAC,CAAC,YAAY,CAAC;IAClE,qCAAiB;IACjB,iCAAe;CAChB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solCustomTxIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solCustomTxIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"solCustomTxIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solCustomTxIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;AAO9B,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,QAAQ;QAEhC,eAAe,EAAE,CAAC,CAAC,KAAK,CACtB,CAAC,CAAC,IAAI,CAAC;YAEL,SAAS,EAAE,CAAC,CAAC,MAAM;YAEnB,IAAI,EAAE,CAAC,CAAC,KAAK,CACX,CAAC,CAAC,IAAI,CAAC;gBAEL,MAAM,EAAE,CAAC,CAAC,MAAM;gBAEhB,QAAQ,EAAE,CAAC,CAAC,OAAO;gBAEnB,UAAU,EAAE,CAAC,CAAC,OAAO;aACtB,CAAC,CACH;YAED,IAAI,EAAE,CAAC,CAAC,MAAM;SACf,CAAC,CACH;KACF,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -78,6 +78,7 @@ export declare const SolDeactivateIntent: t.IntersectionC<[t.IntersectionC<[t.Ty
|
|
|
78
78
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
79
79
|
}>]>, t.TypeC<{
|
|
80
80
|
intentType: t.LiteralC<"deactivate">;
|
|
81
|
+
}>, t.PartialC<{
|
|
81
82
|
stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
82
83
|
stakingAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
83
84
|
}>]>;
|
|
@@ -34,6 +34,8 @@ exports.SolDeactivateIntent = t.intersection([
|
|
|
34
34
|
solBuildOptions_1.SolBuildOptions,
|
|
35
35
|
t.type({
|
|
36
36
|
intentType: intentType_1.intentTypes.deactivate,
|
|
37
|
+
}),
|
|
38
|
+
t.partial({
|
|
37
39
|
stakingAddresses: utils_1.optionalStringArray,
|
|
38
40
|
stakingAddress: utils_1.optionalString,
|
|
39
41
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solDeactivateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solDeactivateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;AAC3C,0CAAqE;
|
|
1
|
+
{"version":3,"file":"solDeactivateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solDeactivateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;AAC3C,0CAAqE;AAOxD,QAAA,mBAAmB,GAAG,CAAC,CAAC,YAAY,CAAC;IAChD,uBAAU;IACV,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,UAAU;KACnC,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QAER,gBAAgB,EAAE,2BAAmB;QAErC,cAAc,EAAE,sBAAc;KAC/B,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -79,6 +79,7 @@ export declare const SolDelegateIntent: t.IntersectionC<[t.IntersectionC<[t.Type
|
|
|
79
79
|
}>]>, t.TypeC<{
|
|
80
80
|
intentType: t.LiteralC<"delegate">;
|
|
81
81
|
validatorAddress: t.StringC;
|
|
82
|
+
}>, t.PartialC<{
|
|
82
83
|
stakingAddresses: t.UnionC<[t.Type<string[], string[], unknown>, t.UndefinedC]>;
|
|
83
84
|
stakingAddress: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
84
85
|
}>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solDelegateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solDelegateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;AAC3C,0CAAqE;
|
|
1
|
+
{"version":3,"file":"solDelegateIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solDelegateIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;AAC3C,0CAAqE;AAOxD,QAAA,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9C,uBAAU;IACV,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,QAAQ;QAEhC,gBAAgB,EAAE,CAAC,CAAC,MAAM;KAC3B,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QAER,gBAAgB,EAAE,2BAAmB;QAErC,cAAc,EAAE,sBAAc;KAC/B,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
|
-
export declare const SolGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.
|
|
2
|
+
export declare const SolGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3
3
|
intentType: t.KeyofC<{
|
|
4
4
|
payment: t.LiteralC<"payment">;
|
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -72,8 +72,6 @@ export declare const SolGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
|
72
72
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
73
73
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
74
74
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
75
|
-
}>]>, t.TypeC<{
|
|
76
|
-
goStakingRequestId: t.StringC;
|
|
77
75
|
}>]>, t.TypeC<{
|
|
78
76
|
intentType: t.LiteralC<"goUnstake">;
|
|
79
77
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
@@ -96,5 +94,7 @@ export declare const SolGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
|
96
94
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
97
95
|
}>, t.TypeC<{
|
|
98
96
|
memo: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
99
|
-
}>]
|
|
97
|
+
}>]>, t.PartialC<{
|
|
98
|
+
goStakingRequestId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
99
|
+
}>]>;
|
|
100
100
|
export type SolGoUnstakeIntent = t.TypeOf<typeof SolGoUnstakeIntent>;
|
|
@@ -27,8 +27,12 @@ exports.SolGoUnstakeIntent = void 0;
|
|
|
27
27
|
const t = __importStar(require("io-ts"));
|
|
28
28
|
const solBuildOptions_1 = require("./solBuildOptions");
|
|
29
29
|
const goUnstakeIntent_1 = require("./goUnstakeIntent");
|
|
30
|
+
const utils_1 = require("../../../utils");
|
|
30
31
|
exports.SolGoUnstakeIntent = t.intersection([
|
|
31
32
|
goUnstakeIntent_1.GoUnstakeIntent,
|
|
32
33
|
solBuildOptions_1.SolBuildOptions,
|
|
34
|
+
t.partial({
|
|
35
|
+
goStakingRequestId: utils_1.optionalString,
|
|
36
|
+
}),
|
|
33
37
|
]);
|
|
34
38
|
//# sourceMappingURL=solGoUnstakeIntent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solGoUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solGoUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,uDAAoD;
|
|
1
|
+
{"version":3,"file":"solGoUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solGoUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,uDAAoD;AACpD,0CAAgD;AAOnC,QAAA,kBAAkB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/C,iCAAe;IACf,iCAAe;IACf,CAAC,CAAC,OAAO,CAAC;QAER,kBAAkB,EAAE,sBAAc;KACnC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solPaymentIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solPaymentIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mDAAgD;AAChD,uDAAoD;
|
|
1
|
+
{"version":3,"file":"solPaymentIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solPaymentIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mDAAgD;AAChD,uDAAoD;AAOvC,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,6BAAa;IACb,iCAAe;CAChB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,+CAA4C;AAC5C,6CAAoD;AACpD,0CAA0C;AAC1C,qDAAkD;
|
|
1
|
+
{"version":3,"file":"solStakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solStakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,+CAA4C;AAC5C,6CAAoD;AACpD,0CAA0C;AAC1C,qDAAkD;AAOrC,QAAA,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,yBAAW;IACX,iCAAe;IACf,iCAAoB;IACpB,CAAC,CAAC,IAAI,CAAC;QAEL,gBAAgB,EAAE,CAAC,CAAC,MAAM;QAI1B,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,OAAO,CAAC;QAE/B,WAAW,EAAE,IAAA,gBAAQ,EAAC,+BAAc,CAAC;KACtC,CAAC;CACH,CAAC,CAAC;AAOU,QAAA,kBAAkB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/C,sBAAc;IACd,CAAC,CAAC,IAAI,CAAC;QACL,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;QAC9B,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;YACtB,QAAQ,EAAE,CAAC,CAAC,MAAM;YAClB,YAAY,EAAE,CAAC,CAAC,MAAM;YACtB,iBAAiB,EAAE,CAAC,CAAC,MAAM;SAC5B,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,qCAAkC;AAClC,mDAAgD;AAChD,0CAA0C;AAC1C,qDAAkD;AAClD,qDAAkD;
|
|
1
|
+
{"version":3,"file":"solUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,qCAAkC;AAClC,mDAAgD;AAChD,0CAA0C;AAC1C,qDAAkD;AAClD,qDAAkD;AAOrC,QAAA,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,6BAAa;IACb,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QAEL,cAAc,EAAE,CAAC,CAAC,MAAM;KACzB,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QAER,MAAM,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QAExB,sBAAsB,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;QAIxC,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,OAAO,CAAC;QAE/B,WAAW,EAAE,IAAA,gBAAQ,EAAC,+BAAc,CAAC;QAErC,UAAU,EAAE,IAAA,gBAAQ,EAAC,CAAC,CAAC,KAAK,CAAC,+BAAc,CAAC,CAAC;KAC9C,CAAC;CACH,CAAC,CAAC;AAOU,QAAA,oBAAoB,GAAG,CAAC,CAAC,YAAY,CAAC;IACjD,wBAAgB;IAChB,CAAC,CAAC,IAAI,CAAC;QACL,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;QAC9B,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;YACtB,QAAQ,EAAE,CAAC,CAAC,MAAM;YAClB,oBAAoB,EAAE,CAAC,CAAC,MAAM;YAC9B,iBAAiB,EAAE,CAAC,CAAC,MAAM;SAC5B,CAAC;QACF,gBAAgB,EAAE,CAAC,CAAC,MAAM;KAC3B,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solVersionedCustomTxIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solVersionedCustomTxIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;
|
|
1
|
+
{"version":3,"file":"solVersionedCustomTxIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/solVersionedCustomTxIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA0C;AAC1C,6CAA2C;AAO9B,QAAA,0BAA0B,GAAG,CAAC,CAAC,YAAY,CAAC;IACvD,uBAAU;IACV,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,QAAQ;QAEhC,2BAA2B,EAAE,CAAC,CAAC,YAAY,CAAC;YAC1C,CAAC,CAAC,IAAI,CAAC;gBAEL,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAC5B,CAAC,CAAC,IAAI,CAAC;oBAEL,cAAc,EAAE,CAAC,CAAC,MAAM;oBAExB,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;oBAEpC,IAAI,EAAE,CAAC,CAAC,MAAM;iBACf,CAAC,CACH;gBAED,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAC1B,CAAC,CAAC,IAAI,CAAC;oBAEL,UAAU,EAAE,CAAC,CAAC,MAAM;oBAEpB,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;oBAElC,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;iBACnC,CAAC,CACH;gBAED,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;gBAEpC,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC;oBAEpB,qBAAqB,EAAE,CAAC,CAAC,MAAM;oBAE/B,yBAAyB,EAAE,CAAC,CAAC,MAAM;oBAEnC,2BAA2B,EAAE,CAAC,CAAC,MAAM;iBACtC,CAAC;aACH,CAAC;YACF,CAAC,CAAC,OAAO,CAAC;gBAER,eAAe,EAAE,CAAC,CAAC,MAAM;aAC1B,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
|
-
export declare const SuiGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.
|
|
2
|
+
export declare const SuiGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
3
3
|
intentType: t.KeyofC<{
|
|
4
4
|
payment: t.LiteralC<"payment">;
|
|
5
5
|
transferToken: t.LiteralC<"transferToken">;
|
|
@@ -72,8 +72,6 @@ export declare const SuiGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
|
72
72
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
73
73
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
74
74
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
75
|
-
}>]>, t.TypeC<{
|
|
76
|
-
goStakingRequestId: t.StringC;
|
|
77
75
|
}>]>, t.TypeC<{
|
|
78
76
|
intentType: t.LiteralC<"goUnstake">;
|
|
79
77
|
recipients: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
@@ -165,6 +163,81 @@ export declare const SuiGoUnstakeIntent: t.IntersectionC<[t.IntersectionC<[t.Int
|
|
|
165
163
|
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
166
164
|
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
167
165
|
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
166
|
+
}>]>, t.TypeC<{
|
|
167
|
+
goStakingRequestId: t.StringC;
|
|
168
|
+
}>]>, t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
169
|
+
intentType: t.KeyofC<{
|
|
170
|
+
payment: t.LiteralC<"payment">;
|
|
171
|
+
transferToken: t.LiteralC<"transferToken">;
|
|
172
|
+
consolidate: t.LiteralC<"consolidate">;
|
|
173
|
+
consolidateToken: t.LiteralC<"consolidateToken">;
|
|
174
|
+
fanout: t.LiteralC<"fanout">;
|
|
175
|
+
stake: t.LiteralC<"stake">;
|
|
176
|
+
unstake: t.LiteralC<"unstake">;
|
|
177
|
+
delegate: t.LiteralC<"delegate">;
|
|
178
|
+
undelegate: t.LiteralC<"undelegate">;
|
|
179
|
+
switchValidator: t.LiteralC<"switchValidator">;
|
|
180
|
+
claim: t.LiteralC<"claim">;
|
|
181
|
+
stakeClaimRewards: t.LiteralC<"stakeClaimRewards">;
|
|
182
|
+
pledge: t.LiteralC<"pledge">;
|
|
183
|
+
voteDelegation: t.LiteralC<"voteDelegation">;
|
|
184
|
+
vote: t.LiteralC<"vote">;
|
|
185
|
+
createAccount: t.LiteralC<"createAccount">;
|
|
186
|
+
updateAccount: t.LiteralC<"updateAccount">;
|
|
187
|
+
addTrustLine: t.LiteralC<"addTrustLine">;
|
|
188
|
+
removeTrustLine: t.LiteralC<"removeTrustLine">;
|
|
189
|
+
signMessage: t.LiteralC<"signMessage">;
|
|
190
|
+
signTypedStructuredData: t.LiteralC<"signTypedStructuredData">;
|
|
191
|
+
enableToken: t.LiteralC<"enableToken">;
|
|
192
|
+
authorize: t.LiteralC<"authorize">;
|
|
193
|
+
acceleration: t.LiteralC<"acceleration">;
|
|
194
|
+
fillNonce: t.LiteralC<"fillNonce">;
|
|
195
|
+
walletRecovery: t.LiteralC<"walletRecovery">;
|
|
196
|
+
contractCall: t.LiteralC<"contractCall">;
|
|
197
|
+
deactivate: t.LiteralC<"deactivate">;
|
|
198
|
+
customTx: t.LiteralC<"customTx">;
|
|
199
|
+
closeAssociatedTokenAccount: t.LiteralC<"closeAssociatedTokenAccount">;
|
|
200
|
+
stakeWithCallData: t.LiteralC<"stakeWithCallData">;
|
|
201
|
+
unstakeWithCallData: t.LiteralC<"unstakeWithCallData">;
|
|
202
|
+
switchValidatorWithCallData: t.LiteralC<"switchValidatorWithCallData">;
|
|
203
|
+
feeAddressTransfer: t.LiteralC<"feeAddressTransfer">;
|
|
204
|
+
tokenApproval: t.LiteralC<"tokenApproval">;
|
|
205
|
+
transferStake: t.LiteralC<"transferStake">;
|
|
206
|
+
validatorRegistration: t.LiteralC<"validatorRegistration">;
|
|
207
|
+
increaseStake: t.LiteralC<"increaseStake">;
|
|
208
|
+
decreaseStake: t.LiteralC<"decreaseStake">;
|
|
209
|
+
signalExit: t.LiteralC<"signalExit">;
|
|
210
|
+
withdrawStake: t.LiteralC<"withdrawStake">;
|
|
211
|
+
spotTransfer: t.LiteralC<"spotTransfer">;
|
|
212
|
+
bridgeFunds: t.LiteralC<"bridgeFunds">;
|
|
213
|
+
enableBridging: t.LiteralC<"enableBridging">;
|
|
214
|
+
goUnstake: t.LiteralC<"goUnstake">;
|
|
215
|
+
createBtcDelegation: t.LiteralC<"createBtcDelegation">;
|
|
216
|
+
transferAccept: t.LiteralC<"transferAccept">;
|
|
217
|
+
transferReject: t.LiteralC<"transferReject">;
|
|
218
|
+
transferAcknowledge: t.LiteralC<"transferAcknowledge">;
|
|
219
|
+
transferOfferWithdrawn: t.LiteralC<"transferOfferWithdrawn">;
|
|
220
|
+
cosignDelegationProposal: t.LiteralC<"cosignDelegationProposal">;
|
|
221
|
+
cosignDelegationAccept: t.LiteralC<"cosignDelegationAccept">;
|
|
222
|
+
allocationRequest: t.LiteralC<"allocationRequest">;
|
|
223
|
+
cantonCommand: t.LiteralC<"cantonCommand">;
|
|
224
|
+
allocationAllocate: t.LiteralC<"allocationAllocate">;
|
|
225
|
+
cantonEndInvestorOnboardingOffer: t.LiteralC<"cantonEndInvestorOnboardingOffer">;
|
|
226
|
+
cantonEndInvestorOnboardingAccept: t.LiteralC<"cantonEndInvestorOnboardingAccept">;
|
|
227
|
+
cantonEndInvestorOnboardingReject: t.LiteralC<"cantonEndInvestorOnboardingReject">;
|
|
228
|
+
"defi-deposit": t.LiteralC<"defi-deposit">;
|
|
229
|
+
"defi-redeem": t.LiteralC<"defi-redeem">;
|
|
230
|
+
"defi-approve": t.LiteralC<"defi-approve">;
|
|
231
|
+
delegateResource: t.LiteralC<"delegateResource">;
|
|
232
|
+
undelegateResource: t.LiteralC<"undelegateResource">;
|
|
233
|
+
export: t.LiteralC<"export">;
|
|
234
|
+
import: t.LiteralC<"import">;
|
|
235
|
+
importtoc: t.LiteralC<"importtoc">;
|
|
236
|
+
}>;
|
|
237
|
+
}>, t.PartialC<{
|
|
238
|
+
sequenceId: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
239
|
+
comment: t.UnionC<[t.Type<string, string, unknown>, t.UndefinedC]>;
|
|
240
|
+
nonce: t.UnionC<[t.Type<string | number, string | number, unknown>, t.UndefinedC]>;
|
|
168
241
|
}>]>, t.TypeC<{
|
|
169
242
|
feeOptions: t.TypeC<{
|
|
170
243
|
gasLimit: t.NumberC;
|
|
@@ -27,8 +27,10 @@ exports.SuiGoUnstakeIntent = void 0;
|
|
|
27
27
|
const t = __importStar(require("io-ts"));
|
|
28
28
|
const suiBuildOptions_1 = require("./suiBuildOptions");
|
|
29
29
|
const goUnstakeIntent_1 = require("./goUnstakeIntent");
|
|
30
|
+
const baseGoStakeIntent_1 = require("./baseGoStakeIntent");
|
|
30
31
|
exports.SuiGoUnstakeIntent = t.intersection([
|
|
31
32
|
goUnstakeIntent_1.GoUnstakeIntent,
|
|
33
|
+
baseGoStakeIntent_1.BaseGoStakeIntent,
|
|
32
34
|
suiBuildOptions_1.SuiBuildOptions,
|
|
33
35
|
]);
|
|
34
36
|
//# sourceMappingURL=suiGoUnstakeIntent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suiGoUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/suiGoUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,uDAAoD;
|
|
1
|
+
{"version":3,"file":"suiGoUnstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/suiGoUnstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,uDAAoD;AACpD,2DAAwD;AAQ3C,QAAA,kBAAkB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/C,iCAAe;IAEf,qCAAiB;IACjB,iCAAe;CAChB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/unstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA2C;AAE9B,QAAA,aAAa,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1C,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"unstakeIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/unstakeIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA2C;AAE9B,QAAA,aAAa,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1C,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,OAAO;KAChC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdrawIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/withdrawIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA2C;AAC3C,qCAAkC;AAClC,0CAA0C;AAE7B,QAAA,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"withdrawIntent.js","sourceRoot":"","sources":["../../../../../src/schema/transactionRequest/intents/withdrawIntent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,uDAAoD;AACpD,6CAA2C;AAC3C,qCAAkC;AAClC,0CAA0C;AAE7B,QAAA,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,iCAAe;IACf,CAAC,CAAC,IAAI,CAAC;QAEL,UAAU,EAAE,wBAAW,CAAC,KAAK;KAC9B,CAAC;IACF,CAAC,CAAC,OAAO,CAAC;QACR,MAAM,EAAE,IAAA,gBAAQ,EAAC,eAAM,CAAC;KACzB,CAAC;CACH,CAAC,CAAC"}
|