@cobo/cobo-waas2 1.5.0 → 1.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/README.md +15 -4
- package/dist/ApiClient.js +1 -1
- package/dist/ServerDemo.js +80 -0
- package/dist/api/DevelopersApi.js +79 -0
- package/dist/api/OAuthApi.js +8 -8
- package/dist/api/WalletsApi.js +58 -57
- package/dist/index.js +83 -6
- package/dist/model/AddressTransferDestination.js +2 -2
- package/dist/model/AddressTransferDestinationUtxoOutputsInner.js +6 -17
- package/dist/model/BabylonStakeEstimatedFee.js +118 -0
- package/dist/model/BabylonValidator.js +5 -0
- package/dist/model/CheckAddressChainsValidity200ResponseInner.js +121 -0
- package/dist/model/CreateSmartContractWalletParams.js +1 -1
- package/dist/model/CreateStakeActivityExtra.js +42 -8
- package/dist/model/CreateUnstakeActivity.js +16 -0
- package/dist/model/CreateUnstakeActivityExtra.js +159 -0
- package/dist/model/CreateUnstakeActivityRequest.js +20 -0
- package/dist/model/EstimateContractCallFeeParams.js +4 -6
- package/dist/model/EstimateTransferFeeParams.js +4 -8
- package/dist/model/EstimateUnstakeFee.js +20 -0
- package/dist/model/EstimatedEvmEip1559FeeSlow.js +3 -5
- package/dist/model/EstimatedEvmLegacyFeeSlow.js +3 -5
- package/dist/model/EthStakeEstimatedFee.js +112 -0
- package/dist/model/EthStakeExtra.js +131 -0
- package/dist/model/EthStakingExtra.js +131 -0
- package/dist/model/EthUnstakeExtra.js +131 -0
- package/dist/model/FeeGasLimit.js +1 -2
- package/dist/model/GetApiKeyInfo200Response.js +251 -0
- package/dist/model/GetStakingEstimationFee201Response.js +144 -43
- package/dist/model/GetStakingEstimationFeeRequest.js +2 -2
- package/dist/model/{GetToken200Response.js → GetToken2XXResponse.js} +21 -21
- package/dist/model/GetToken4XXResponse.js +12 -10
- package/dist/model/MPCDelegate.js +1 -1
- package/dist/model/MpcTransferSource.js +2 -2
- package/dist/model/{RefreshToken201Response.js → RefreshToken2XXResponse.js} +21 -21
- package/dist/model/RoleScopes.js +128 -0
- package/dist/model/Scopes.js +142 -0
- package/dist/model/SmartContractWalletInfo.js +1 -1
- package/dist/model/StakingPoolType.js +5 -0
- package/dist/model/StakingsExtra.js +36 -8
- package/dist/model/TransactionEvmEip1559Fee.js +2 -4
- package/dist/model/TransactionEvmLegacyFee.js +2 -4
- package/dist/model/TransactionFee.js +1 -2
- package/dist/model/TransactionRbfSource.js +1 -1
- package/dist/model/TransactionRequestEvmEip1559Fee.js +1 -2
- package/dist/model/TransactionRequestEvmLegacyFee.js +1 -2
- package/dist/model/TransactionRequestFee.js +1 -2
- package/dist/model/TransactionSource.js +1 -1
- package/dist/model/TransactionTransferToAddressDestinationUtxoOutputsInner.js +0 -13
- package/dist/model/TransferDestination.js +2 -2
- package/docs/AddressTransferDestination.md +2 -2
- package/docs/AddressTransferDestinationUtxoOutputsInner.md +1 -2
- package/docs/BabylonStakeEstimatedFee.md +12 -0
- package/docs/BabylonValidator.md +2 -0
- package/docs/CheckAddressChainsValidity200ResponseInner.md +10 -0
- package/docs/CreateStakeActivityExtra.md +1 -0
- package/docs/CreateUnstakeActivity.md +1 -0
- package/docs/CreateUnstakeActivityExtra.md +10 -0
- package/docs/CreateUnstakeActivityRequest.md +1 -0
- package/docs/DevelopersApi.md +55 -0
- package/docs/EstimateContractCallFeeParams.md +1 -1
- package/docs/EstimateFeeParams.md +1 -1
- package/docs/EstimateTransferFeeParams.md +2 -2
- package/docs/EstimateUnstakeFee.md +1 -0
- package/docs/EstimatedEvmEip1559FeeSlow.md +1 -1
- package/docs/EstimatedEvmLegacyFeeSlow.md +1 -1
- package/docs/EthStakeEstimatedFee.md +11 -0
- package/docs/EthStakeExtra.md +10 -0
- package/docs/EthStakingExtra.md +10 -0
- package/docs/EthUnstakeExtra.md +10 -0
- package/docs/FeeGasLimit.md +1 -1
- package/docs/GetApiKeyInfo200Response.md +30 -0
- package/docs/GetStakingEstimationFee201Response.md +3 -0
- package/docs/GetStakingEstimationFeeRequest.md +1 -1
- package/docs/{GetToken200Response.md → GetToken2XXResponse.md} +1 -1
- package/docs/GetToken4XXResponse.md +1 -1
- package/docs/MpcTransferSource.md +1 -1
- package/docs/OAuthApi.md +4 -4
- package/docs/PoolDetailsAllOfValidatorsInfo.md +2 -0
- package/docs/{RefreshToken201Response.md → RefreshToken2XXResponse.md} +1 -1
- package/docs/RoleScopes.md +10 -0
- package/docs/Scopes.md +13 -0
- package/docs/StakingPoolType.md +2 -0
- package/docs/TransactionEvmEip1559Fee.md +1 -1
- package/docs/TransactionEvmLegacyFee.md +1 -1
- package/docs/TransactionFee.md +1 -1
- package/docs/TransactionRbfSource.md +1 -1
- package/docs/TransactionRequestEvmEip1559Fee.md +1 -1
- package/docs/TransactionRequestEvmLegacyFee.md +1 -1
- package/docs/TransactionRequestFee.md +1 -1
- package/docs/TransactionTransferToAddressDestinationUtxoOutputsInner.md +0 -1
- package/docs/TransferDestination.md +2 -2
- package/docs/WalletsApi.md +54 -54
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -123,6 +123,12 @@ Object.defineProperty(exports, "AssetInfo", {
|
|
|
123
123
|
return _AssetInfo["default"];
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
|
+
Object.defineProperty(exports, "BabylonStakeEstimatedFee", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function get() {
|
|
129
|
+
return _BabylonStakeEstimatedFee["default"];
|
|
130
|
+
}
|
|
131
|
+
});
|
|
126
132
|
Object.defineProperty(exports, "BabylonStakeExtra", {
|
|
127
133
|
enumerable: true,
|
|
128
134
|
get: function get() {
|
|
@@ -183,6 +189,12 @@ Object.defineProperty(exports, "ChainInfo", {
|
|
|
183
189
|
return _ChainInfo["default"];
|
|
184
190
|
}
|
|
185
191
|
});
|
|
192
|
+
Object.defineProperty(exports, "CheckAddressChainsValidity200ResponseInner", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function get() {
|
|
195
|
+
return _CheckAddressChainsValidity200ResponseInner["default"];
|
|
196
|
+
}
|
|
197
|
+
});
|
|
186
198
|
Object.defineProperty(exports, "CheckAddressValidity200Response", {
|
|
187
199
|
enumerable: true,
|
|
188
200
|
get: function get() {
|
|
@@ -345,6 +357,12 @@ Object.defineProperty(exports, "CreateUnstakeActivity", {
|
|
|
345
357
|
return _CreateUnstakeActivity["default"];
|
|
346
358
|
}
|
|
347
359
|
});
|
|
360
|
+
Object.defineProperty(exports, "CreateUnstakeActivityExtra", {
|
|
361
|
+
enumerable: true,
|
|
362
|
+
get: function get() {
|
|
363
|
+
return _CreateUnstakeActivityExtra["default"];
|
|
364
|
+
}
|
|
365
|
+
});
|
|
348
366
|
Object.defineProperty(exports, "CreateUnstakeActivityRequest", {
|
|
349
367
|
enumerable: true,
|
|
350
368
|
get: function get() {
|
|
@@ -411,6 +429,12 @@ Object.defineProperty(exports, "DeleteWalletById201Response", {
|
|
|
411
429
|
return _DeleteWalletById201Response["default"];
|
|
412
430
|
}
|
|
413
431
|
});
|
|
432
|
+
Object.defineProperty(exports, "DevelopersApi", {
|
|
433
|
+
enumerable: true,
|
|
434
|
+
get: function get() {
|
|
435
|
+
return _DevelopersApi["default"];
|
|
436
|
+
}
|
|
437
|
+
});
|
|
414
438
|
Object.defineProperty(exports, "DevelopersWebhooksApi", {
|
|
415
439
|
enumerable: true,
|
|
416
440
|
get: function get() {
|
|
@@ -537,6 +561,30 @@ Object.defineProperty(exports, "EstimatedUtxoFeeSlow", {
|
|
|
537
561
|
return _EstimatedUtxoFeeSlow["default"];
|
|
538
562
|
}
|
|
539
563
|
});
|
|
564
|
+
Object.defineProperty(exports, "EthStakeEstimatedFee", {
|
|
565
|
+
enumerable: true,
|
|
566
|
+
get: function get() {
|
|
567
|
+
return _EthStakeEstimatedFee["default"];
|
|
568
|
+
}
|
|
569
|
+
});
|
|
570
|
+
Object.defineProperty(exports, "EthStakeExtra", {
|
|
571
|
+
enumerable: true,
|
|
572
|
+
get: function get() {
|
|
573
|
+
return _EthStakeExtra["default"];
|
|
574
|
+
}
|
|
575
|
+
});
|
|
576
|
+
Object.defineProperty(exports, "EthStakingExtra", {
|
|
577
|
+
enumerable: true,
|
|
578
|
+
get: function get() {
|
|
579
|
+
return _EthStakingExtra["default"];
|
|
580
|
+
}
|
|
581
|
+
});
|
|
582
|
+
Object.defineProperty(exports, "EthUnstakeExtra", {
|
|
583
|
+
enumerable: true,
|
|
584
|
+
get: function get() {
|
|
585
|
+
return _EthUnstakeExtra["default"];
|
|
586
|
+
}
|
|
587
|
+
});
|
|
540
588
|
Object.defineProperty(exports, "EvmContractCallDestination", {
|
|
541
589
|
enumerable: true,
|
|
542
590
|
get: function get() {
|
|
@@ -639,6 +687,12 @@ Object.defineProperty(exports, "FixedFeeRate", {
|
|
|
639
687
|
return _FixedFeeRate["default"];
|
|
640
688
|
}
|
|
641
689
|
});
|
|
690
|
+
Object.defineProperty(exports, "GetApiKeyInfo200Response", {
|
|
691
|
+
enumerable: true,
|
|
692
|
+
get: function get() {
|
|
693
|
+
return _GetApiKeyInfo200Response["default"];
|
|
694
|
+
}
|
|
695
|
+
});
|
|
642
696
|
Object.defineProperty(exports, "GetStakingEstimationFee201Response", {
|
|
643
697
|
enumerable: true,
|
|
644
698
|
get: function get() {
|
|
@@ -651,10 +705,10 @@ Object.defineProperty(exports, "GetStakingEstimationFeeRequest", {
|
|
|
651
705
|
return _GetStakingEstimationFeeRequest["default"];
|
|
652
706
|
}
|
|
653
707
|
});
|
|
654
|
-
Object.defineProperty(exports, "
|
|
708
|
+
Object.defineProperty(exports, "GetToken2XXResponse", {
|
|
655
709
|
enumerable: true,
|
|
656
710
|
get: function get() {
|
|
657
|
-
return
|
|
711
|
+
return _GetToken2XXResponse["default"];
|
|
658
712
|
}
|
|
659
713
|
});
|
|
660
714
|
Object.defineProperty(exports, "GetToken4XXResponse", {
|
|
@@ -987,10 +1041,10 @@ Object.defineProperty(exports, "RawMessageSignDestination", {
|
|
|
987
1041
|
return _RawMessageSignDestination["default"];
|
|
988
1042
|
}
|
|
989
1043
|
});
|
|
990
|
-
Object.defineProperty(exports, "
|
|
1044
|
+
Object.defineProperty(exports, "RefreshToken2XXResponse", {
|
|
991
1045
|
enumerable: true,
|
|
992
1046
|
get: function get() {
|
|
993
|
-
return
|
|
1047
|
+
return _RefreshToken2XXResponse["default"];
|
|
994
1048
|
}
|
|
995
1049
|
});
|
|
996
1050
|
Object.defineProperty(exports, "RefreshTokenRequest", {
|
|
@@ -1011,6 +1065,12 @@ Object.defineProperty(exports, "RetryWebhookEventById201Response", {
|
|
|
1011
1065
|
return _RetryWebhookEventById201Response["default"];
|
|
1012
1066
|
}
|
|
1013
1067
|
});
|
|
1068
|
+
Object.defineProperty(exports, "RoleScopes", {
|
|
1069
|
+
enumerable: true,
|
|
1070
|
+
get: function get() {
|
|
1071
|
+
return _RoleScopes["default"];
|
|
1072
|
+
}
|
|
1073
|
+
});
|
|
1014
1074
|
Object.defineProperty(exports, "RootPubkey", {
|
|
1015
1075
|
enumerable: true,
|
|
1016
1076
|
get: function get() {
|
|
@@ -1053,6 +1113,12 @@ Object.defineProperty(exports, "SafeWalletDelegatesTransfer", {
|
|
|
1053
1113
|
return _SafeWalletDelegatesTransfer["default"];
|
|
1054
1114
|
}
|
|
1055
1115
|
});
|
|
1116
|
+
Object.defineProperty(exports, "Scopes", {
|
|
1117
|
+
enumerable: true,
|
|
1118
|
+
get: function get() {
|
|
1119
|
+
return _Scopes["default"];
|
|
1120
|
+
}
|
|
1121
|
+
});
|
|
1056
1122
|
Object.defineProperty(exports, "SmartContractInitiator", {
|
|
1057
1123
|
enumerable: true,
|
|
1058
1124
|
get: function get() {
|
|
@@ -1757,6 +1823,7 @@ var _ApiLogDetails = _interopRequireDefault(require("./model/ApiLogDetails"));
|
|
|
1757
1823
|
var _ApiLogSummary = _interopRequireDefault(require("./model/ApiLogSummary"));
|
|
1758
1824
|
var _AssetBalance = _interopRequireDefault(require("./model/AssetBalance"));
|
|
1759
1825
|
var _AssetInfo = _interopRequireDefault(require("./model/AssetInfo"));
|
|
1826
|
+
var _BabylonStakeEstimatedFee = _interopRequireDefault(require("./model/BabylonStakeEstimatedFee"));
|
|
1760
1827
|
var _BabylonStakeExtra = _interopRequireDefault(require("./model/BabylonStakeExtra"));
|
|
1761
1828
|
var _BabylonStakingExtra = _interopRequireDefault(require("./model/BabylonStakingExtra"));
|
|
1762
1829
|
var _BabylonValidator = _interopRequireDefault(require("./model/BabylonValidator"));
|
|
@@ -1767,6 +1834,7 @@ var _BaseStakeSource = _interopRequireDefault(require("./model/BaseStakeSource")
|
|
|
1767
1834
|
var _BroadcastSignedTransactions201ResponseInner = _interopRequireDefault(require("./model/BroadcastSignedTransactions201ResponseInner"));
|
|
1768
1835
|
var _BroadcastSignedTransactionsRequest = _interopRequireDefault(require("./model/BroadcastSignedTransactionsRequest"));
|
|
1769
1836
|
var _ChainInfo = _interopRequireDefault(require("./model/ChainInfo"));
|
|
1837
|
+
var _CheckAddressChainsValidity200ResponseInner = _interopRequireDefault(require("./model/CheckAddressChainsValidity200ResponseInner"));
|
|
1770
1838
|
var _CheckAddressValidity200Response = _interopRequireDefault(require("./model/CheckAddressValidity200Response"));
|
|
1771
1839
|
var _CheckAddressesValidity200ResponseInner = _interopRequireDefault(require("./model/CheckAddressesValidity200ResponseInner"));
|
|
1772
1840
|
var _CheckLoopTransfers200ResponseInner = _interopRequireDefault(require("./model/CheckLoopTransfers200ResponseInner"));
|
|
@@ -1794,6 +1862,7 @@ var _CreateStakeActivityRequest = _interopRequireDefault(require("./model/Create
|
|
|
1794
1862
|
var _CreateTransferTransaction201Response = _interopRequireDefault(require("./model/CreateTransferTransaction201Response"));
|
|
1795
1863
|
var _CreateTssRequestRequest = _interopRequireDefault(require("./model/CreateTssRequestRequest"));
|
|
1796
1864
|
var _CreateUnstakeActivity = _interopRequireDefault(require("./model/CreateUnstakeActivity"));
|
|
1865
|
+
var _CreateUnstakeActivityExtra = _interopRequireDefault(require("./model/CreateUnstakeActivityExtra"));
|
|
1797
1866
|
var _CreateUnstakeActivityRequest = _interopRequireDefault(require("./model/CreateUnstakeActivityRequest"));
|
|
1798
1867
|
var _CreateWalletParams = _interopRequireDefault(require("./model/CreateWalletParams"));
|
|
1799
1868
|
var _CreateWebhookEndpointRequest = _interopRequireDefault(require("./model/CreateWebhookEndpointRequest"));
|
|
@@ -1824,6 +1893,10 @@ var _EstimatedFee = _interopRequireDefault(require("./model/EstimatedFee"));
|
|
|
1824
1893
|
var _EstimatedFixedFee = _interopRequireDefault(require("./model/EstimatedFixedFee"));
|
|
1825
1894
|
var _EstimatedUtxoFee = _interopRequireDefault(require("./model/EstimatedUtxoFee"));
|
|
1826
1895
|
var _EstimatedUtxoFeeSlow = _interopRequireDefault(require("./model/EstimatedUtxoFeeSlow"));
|
|
1896
|
+
var _EthStakeEstimatedFee = _interopRequireDefault(require("./model/EthStakeEstimatedFee"));
|
|
1897
|
+
var _EthStakeExtra = _interopRequireDefault(require("./model/EthStakeExtra"));
|
|
1898
|
+
var _EthStakingExtra = _interopRequireDefault(require("./model/EthStakingExtra"));
|
|
1899
|
+
var _EthUnstakeExtra = _interopRequireDefault(require("./model/EthUnstakeExtra"));
|
|
1827
1900
|
var _EvmContractCallDestination = _interopRequireDefault(require("./model/EvmContractCallDestination"));
|
|
1828
1901
|
var _EvmEIP191MessageSignDestination = _interopRequireDefault(require("./model/EvmEIP191MessageSignDestination"));
|
|
1829
1902
|
var _EvmEIP712MessageSignDestination = _interopRequireDefault(require("./model/EvmEIP712MessageSignDestination"));
|
|
@@ -1841,9 +1914,10 @@ var _FeeGasLimit = _interopRequireDefault(require("./model/FeeGasLimit"));
|
|
|
1841
1914
|
var _FeeRate = _interopRequireDefault(require("./model/FeeRate"));
|
|
1842
1915
|
var _FeeType = _interopRequireDefault(require("./model/FeeType"));
|
|
1843
1916
|
var _FixedFeeRate = _interopRequireDefault(require("./model/FixedFeeRate"));
|
|
1917
|
+
var _GetApiKeyInfo200Response = _interopRequireDefault(require("./model/GetApiKeyInfo200Response"));
|
|
1844
1918
|
var _GetStakingEstimationFee201Response = _interopRequireDefault(require("./model/GetStakingEstimationFee201Response"));
|
|
1845
1919
|
var _GetStakingEstimationFeeRequest = _interopRequireDefault(require("./model/GetStakingEstimationFeeRequest"));
|
|
1846
|
-
var
|
|
1920
|
+
var _GetToken2XXResponse = _interopRequireDefault(require("./model/GetToken2XXResponse"));
|
|
1847
1921
|
var _GetToken4XXResponse = _interopRequireDefault(require("./model/GetToken4XXResponse"));
|
|
1848
1922
|
var _KeyShareHolder = _interopRequireDefault(require("./model/KeyShareHolder"));
|
|
1849
1923
|
var _KeyShareHolderGroup = _interopRequireDefault(require("./model/KeyShareHolderGroup"));
|
|
@@ -1898,10 +1972,11 @@ var _PoolDetails = _interopRequireDefault(require("./model/PoolDetails"));
|
|
|
1898
1972
|
var _PoolDetailsAllOfValidatorsInfo = _interopRequireDefault(require("./model/PoolDetailsAllOfValidatorsInfo"));
|
|
1899
1973
|
var _PoolSummary = _interopRequireDefault(require("./model/PoolSummary"));
|
|
1900
1974
|
var _RawMessageSignDestination = _interopRequireDefault(require("./model/RawMessageSignDestination"));
|
|
1901
|
-
var
|
|
1975
|
+
var _RefreshToken2XXResponse = _interopRequireDefault(require("./model/RefreshToken2XXResponse"));
|
|
1902
1976
|
var _RefreshTokenRequest = _interopRequireDefault(require("./model/RefreshTokenRequest"));
|
|
1903
1977
|
var _ReplaceType = _interopRequireDefault(require("./model/ReplaceType"));
|
|
1904
1978
|
var _RetryWebhookEventById201Response = _interopRequireDefault(require("./model/RetryWebhookEventById201Response"));
|
|
1979
|
+
var _RoleScopes = _interopRequireDefault(require("./model/RoleScopes"));
|
|
1905
1980
|
var _RootPubkey = _interopRequireDefault(require("./model/RootPubkey"));
|
|
1906
1981
|
var _SafeContractCallSource = _interopRequireDefault(require("./model/SafeContractCallSource"));
|
|
1907
1982
|
var _SafeTransferSource = _interopRequireDefault(require("./model/SafeTransferSource"));
|
|
@@ -1909,6 +1984,7 @@ var _SafeWallet = _interopRequireDefault(require("./model/SafeWallet"));
|
|
|
1909
1984
|
var _SafeWalletDelegates = _interopRequireDefault(require("./model/SafeWalletDelegates"));
|
|
1910
1985
|
var _SafeWalletDelegatesContractCall = _interopRequireDefault(require("./model/SafeWalletDelegatesContractCall"));
|
|
1911
1986
|
var _SafeWalletDelegatesTransfer = _interopRequireDefault(require("./model/SafeWalletDelegatesTransfer"));
|
|
1987
|
+
var _Scopes = _interopRequireDefault(require("./model/Scopes"));
|
|
1912
1988
|
var _SmartContractInitiator = _interopRequireDefault(require("./model/SmartContractInitiator"));
|
|
1913
1989
|
var _SmartContractWalletInfo = _interopRequireDefault(require("./model/SmartContractWalletInfo"));
|
|
1914
1990
|
var _SmartContractWalletOperationType = _interopRequireDefault(require("./model/SmartContractWalletOperationType"));
|
|
@@ -2018,6 +2094,7 @@ var _WebhookEventLog = _interopRequireDefault(require("./model/WebhookEventLog")
|
|
|
2018
2094
|
var _WebhookEventStatus = _interopRequireDefault(require("./model/WebhookEventStatus"));
|
|
2019
2095
|
var _WebhookEventType = _interopRequireDefault(require("./model/WebhookEventType"));
|
|
2020
2096
|
var _AddressBooksApi = _interopRequireDefault(require("./api/AddressBooksApi"));
|
|
2097
|
+
var _DevelopersApi = _interopRequireDefault(require("./api/DevelopersApi"));
|
|
2021
2098
|
var _DevelopersWebhooksApi = _interopRequireDefault(require("./api/DevelopersWebhooksApi"));
|
|
2022
2099
|
var _OAuthApi = _interopRequireDefault(require("./api/OAuthApi"));
|
|
2023
2100
|
var _StakingsApi = _interopRequireDefault(require("./api/StakingsApi"));
|
|
@@ -171,13 +171,13 @@ AddressTransferDestination.prototype['utxo_outputs'] = undefined;
|
|
|
171
171
|
AddressTransferDestination.prototype['change_address'] = undefined;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
|
-
* Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `
|
|
174
|
+
* Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`.
|
|
175
175
|
* @member {Boolean} force_internal
|
|
176
176
|
*/
|
|
177
177
|
AddressTransferDestination.prototype['force_internal'] = undefined;
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
|
-
* Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `
|
|
180
|
+
* Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_external` as `true`.
|
|
181
181
|
* @member {Boolean} force_external
|
|
182
182
|
*/
|
|
183
183
|
AddressTransferDestination.prototype['force_external'] = undefined;
|
|
@@ -33,10 +33,11 @@ var AddressTransferDestinationUtxoOutputsInner = /*#__PURE__*/function () {
|
|
|
33
33
|
* Constructs a new <code>AddressTransferDestinationUtxoOutputsInner</code>.
|
|
34
34
|
* @alias module:model/AddressTransferDestinationUtxoOutputsInner
|
|
35
35
|
* @param address {String} The destination address.
|
|
36
|
+
* @param amount {String} The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`.
|
|
36
37
|
*/
|
|
37
|
-
function AddressTransferDestinationUtxoOutputsInner(address) {
|
|
38
|
+
function AddressTransferDestinationUtxoOutputsInner(address, amount) {
|
|
38
39
|
_classCallCheck(this, AddressTransferDestinationUtxoOutputsInner);
|
|
39
|
-
AddressTransferDestinationUtxoOutputsInner.initialize(this, address);
|
|
40
|
+
AddressTransferDestinationUtxoOutputsInner.initialize(this, address, amount);
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
/**
|
|
@@ -46,8 +47,9 @@ var AddressTransferDestinationUtxoOutputsInner = /*#__PURE__*/function () {
|
|
|
46
47
|
*/
|
|
47
48
|
return _createClass(AddressTransferDestinationUtxoOutputsInner, null, [{
|
|
48
49
|
key: "initialize",
|
|
49
|
-
value: function initialize(obj, address) {
|
|
50
|
+
value: function initialize(obj, address, amount) {
|
|
50
51
|
obj['address'] = address;
|
|
52
|
+
obj['amount'] = amount;
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
/**
|
|
@@ -68,9 +70,6 @@ var AddressTransferDestinationUtxoOutputsInner = /*#__PURE__*/function () {
|
|
|
68
70
|
if (data.hasOwnProperty('amount')) {
|
|
69
71
|
obj['amount'] = _ApiClient["default"].convertToType(data['amount'], 'String');
|
|
70
72
|
}
|
|
71
|
-
if (data.hasOwnProperty('script')) {
|
|
72
|
-
obj['script'] = _ApiClient["default"].convertToType(data['script'], 'String');
|
|
73
|
-
}
|
|
74
73
|
}
|
|
75
74
|
return obj;
|
|
76
75
|
}
|
|
@@ -106,15 +105,11 @@ var AddressTransferDestinationUtxoOutputsInner = /*#__PURE__*/function () {
|
|
|
106
105
|
if (data['amount'] && !(typeof data['amount'] === 'string' || data['amount'] instanceof String)) {
|
|
107
106
|
throw new Error("Expected the field `amount` to be a primitive type in the JSON string but got " + data['amount']);
|
|
108
107
|
}
|
|
109
|
-
// ensure the json data is a string
|
|
110
|
-
if (data['script'] && !(typeof data['script'] === 'string' || data['script'] instanceof String)) {
|
|
111
|
-
throw new Error("Expected the field `script` to be a primitive type in the JSON string but got " + data['script']);
|
|
112
|
-
}
|
|
113
108
|
return true;
|
|
114
109
|
}
|
|
115
110
|
}]);
|
|
116
111
|
}();
|
|
117
|
-
AddressTransferDestinationUtxoOutputsInner.RequiredProperties = ["address"];
|
|
112
|
+
AddressTransferDestinationUtxoOutputsInner.RequiredProperties = ["address", "amount"];
|
|
118
113
|
|
|
119
114
|
/**
|
|
120
115
|
* The destination address.
|
|
@@ -127,10 +122,4 @@ AddressTransferDestinationUtxoOutputsInner.prototype['address'] = undefined;
|
|
|
127
122
|
* @member {String} amount
|
|
128
123
|
*/
|
|
129
124
|
AddressTransferDestinationUtxoOutputsInner.prototype['amount'] = undefined;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* The script of the output. It is a programmable code fragment that defines the conditions under which the UTXO can be spent.
|
|
133
|
-
* @member {String} script
|
|
134
|
-
*/
|
|
135
|
-
AddressTransferDestinationUtxoOutputsInner.prototype['script'] = undefined;
|
|
136
125
|
var _default = exports["default"] = AddressTransferDestinationUtxoOutputsInner;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _FeeType = _interopRequireDefault(require("./FeeType"));
|
|
9
|
+
var _StakingPoolType = _interopRequireDefault(require("./StakingPoolType"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
13
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
14
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
17
|
+
* Cobo Wallet as a Service 2.0
|
|
18
|
+
*
|
|
19
|
+
* Contact: help@cobo.com
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* The BabylonStakeEstimatedFee model module.
|
|
28
|
+
* @module model/BabylonStakeEstimatedFee
|
|
29
|
+
*/
|
|
30
|
+
var BabylonStakeEstimatedFee = /*#__PURE__*/function () {
|
|
31
|
+
/**
|
|
32
|
+
* Constructs a new <code>BabylonStakeEstimatedFee</code>.
|
|
33
|
+
* @alias module:model/BabylonStakeEstimatedFee
|
|
34
|
+
*/
|
|
35
|
+
function BabylonStakeEstimatedFee() {
|
|
36
|
+
_classCallCheck(this, BabylonStakeEstimatedFee);
|
|
37
|
+
BabylonStakeEstimatedFee.initialize(this);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Initializes the fields of this object.
|
|
42
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
43
|
+
* Only for internal use.
|
|
44
|
+
*/
|
|
45
|
+
return _createClass(BabylonStakeEstimatedFee, null, [{
|
|
46
|
+
key: "initialize",
|
|
47
|
+
value: function initialize(obj) {}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Constructs a <code>BabylonStakeEstimatedFee</code> from a plain JavaScript object, optionally creating a new instance.
|
|
51
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
52
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
53
|
+
* @param {module:model/BabylonStakeEstimatedFee} obj Optional instance to populate.
|
|
54
|
+
* @return {module:model/BabylonStakeEstimatedFee} The populated <code>BabylonStakeEstimatedFee</code> instance.
|
|
55
|
+
*/
|
|
56
|
+
}, {
|
|
57
|
+
key: "constructFromObject",
|
|
58
|
+
value: function constructFromObject(data, obj) {
|
|
59
|
+
if (data) {
|
|
60
|
+
obj = obj || new BabylonStakeEstimatedFee();
|
|
61
|
+
if (data.hasOwnProperty('pool_type')) {
|
|
62
|
+
obj['pool_type'] = _StakingPoolType["default"].constructFromObject(data['pool_type']);
|
|
63
|
+
}
|
|
64
|
+
if (data.hasOwnProperty('fee_type')) {
|
|
65
|
+
obj['fee_type'] = _FeeType["default"].constructFromObject(data['fee_type']);
|
|
66
|
+
}
|
|
67
|
+
if (data.hasOwnProperty('fee_amount')) {
|
|
68
|
+
obj['fee_amount'] = _ApiClient["default"].convertToType(data['fee_amount'], 'String');
|
|
69
|
+
}
|
|
70
|
+
if (data.hasOwnProperty('token_id')) {
|
|
71
|
+
obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return obj;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Validates the JSON data with respect to <code>BabylonStakeEstimatedFee</code>.
|
|
79
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
80
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>BabylonStakeEstimatedFee</code>.
|
|
81
|
+
*/
|
|
82
|
+
}, {
|
|
83
|
+
key: "validateJSON",
|
|
84
|
+
value: function validateJSON(data) {
|
|
85
|
+
// ensure the json data is a string
|
|
86
|
+
if (data['fee_amount'] && !(typeof data['fee_amount'] === 'string' || data['fee_amount'] instanceof String)) {
|
|
87
|
+
throw new Error("Expected the field `fee_amount` to be a primitive type in the JSON string but got " + data['fee_amount']);
|
|
88
|
+
}
|
|
89
|
+
// ensure the json data is a string
|
|
90
|
+
if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
|
|
91
|
+
throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
|
|
92
|
+
}
|
|
93
|
+
return true;
|
|
94
|
+
}
|
|
95
|
+
}]);
|
|
96
|
+
}();
|
|
97
|
+
/**
|
|
98
|
+
* @member {module:model/StakingPoolType} pool_type
|
|
99
|
+
*/
|
|
100
|
+
BabylonStakeEstimatedFee.prototype['pool_type'] = undefined;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @member {module:model/FeeType} fee_type
|
|
104
|
+
*/
|
|
105
|
+
BabylonStakeEstimatedFee.prototype['fee_type'] = undefined;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* The amount of the estimated fee.
|
|
109
|
+
* @member {String} fee_amount
|
|
110
|
+
*/
|
|
111
|
+
BabylonStakeEstimatedFee.prototype['fee_amount'] = undefined;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* The token ID of the staking fee.
|
|
115
|
+
* @member {String} token_id
|
|
116
|
+
*/
|
|
117
|
+
BabylonStakeEstimatedFee.prototype['token_id'] = undefined;
|
|
118
|
+
var _default = exports["default"] = BabylonStakeEstimatedFee;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
11
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
12
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
|
+
* Cobo Wallet as a Service 2.0
|
|
19
|
+
*
|
|
20
|
+
* Contact: help@cobo.com
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
23
|
+
* https://openapi-generator.tech
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* The CheckAddressChainsValidity200ResponseInner model module.
|
|
29
|
+
* @module model/CheckAddressChainsValidity200ResponseInner
|
|
30
|
+
*/
|
|
31
|
+
var CheckAddressChainsValidity200ResponseInner = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>CheckAddressChainsValidity200ResponseInner</code>.
|
|
34
|
+
* @alias module:model/CheckAddressChainsValidity200ResponseInner
|
|
35
|
+
* @param chain_id {String} The chain ID, which is the unique identifier of a blockchain.
|
|
36
|
+
* @param validity {Boolean} Whether the address is valid for the specified chain. - `true`: The address is valid. - `false`: The address is invalid.
|
|
37
|
+
*/
|
|
38
|
+
function CheckAddressChainsValidity200ResponseInner(chain_id, validity) {
|
|
39
|
+
_classCallCheck(this, CheckAddressChainsValidity200ResponseInner);
|
|
40
|
+
CheckAddressChainsValidity200ResponseInner.initialize(this, chain_id, validity);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Initializes the fields of this object.
|
|
45
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
46
|
+
* Only for internal use.
|
|
47
|
+
*/
|
|
48
|
+
return _createClass(CheckAddressChainsValidity200ResponseInner, null, [{
|
|
49
|
+
key: "initialize",
|
|
50
|
+
value: function initialize(obj, chain_id, validity) {
|
|
51
|
+
obj['chain_id'] = chain_id;
|
|
52
|
+
obj['validity'] = validity;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Constructs a <code>CheckAddressChainsValidity200ResponseInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
57
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
58
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
59
|
+
* @param {module:model/CheckAddressChainsValidity200ResponseInner} obj Optional instance to populate.
|
|
60
|
+
* @return {module:model/CheckAddressChainsValidity200ResponseInner} The populated <code>CheckAddressChainsValidity200ResponseInner</code> instance.
|
|
61
|
+
*/
|
|
62
|
+
}, {
|
|
63
|
+
key: "constructFromObject",
|
|
64
|
+
value: function constructFromObject(data, obj) {
|
|
65
|
+
if (data) {
|
|
66
|
+
obj = obj || new CheckAddressChainsValidity200ResponseInner();
|
|
67
|
+
if (data.hasOwnProperty('chain_id')) {
|
|
68
|
+
obj['chain_id'] = _ApiClient["default"].convertToType(data['chain_id'], 'String');
|
|
69
|
+
}
|
|
70
|
+
if (data.hasOwnProperty('validity')) {
|
|
71
|
+
obj['validity'] = _ApiClient["default"].convertToType(data['validity'], 'Boolean');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return obj;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Validates the JSON data with respect to <code>CheckAddressChainsValidity200ResponseInner</code>.
|
|
79
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
80
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>CheckAddressChainsValidity200ResponseInner</code>.
|
|
81
|
+
*/
|
|
82
|
+
}, {
|
|
83
|
+
key: "validateJSON",
|
|
84
|
+
value: function validateJSON(data) {
|
|
85
|
+
// check to make sure all required properties are present in the JSON string
|
|
86
|
+
var _iterator = _createForOfIteratorHelper(CheckAddressChainsValidity200ResponseInner.RequiredProperties),
|
|
87
|
+
_step;
|
|
88
|
+
try {
|
|
89
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
90
|
+
var property = _step.value;
|
|
91
|
+
if (!data.hasOwnProperty(property)) {
|
|
92
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
// ensure the json data is a string
|
|
96
|
+
} catch (err) {
|
|
97
|
+
_iterator.e(err);
|
|
98
|
+
} finally {
|
|
99
|
+
_iterator.f();
|
|
100
|
+
}
|
|
101
|
+
if (data['chain_id'] && !(typeof data['chain_id'] === 'string' || data['chain_id'] instanceof String)) {
|
|
102
|
+
throw new Error("Expected the field `chain_id` to be a primitive type in the JSON string but got " + data['chain_id']);
|
|
103
|
+
}
|
|
104
|
+
return true;
|
|
105
|
+
}
|
|
106
|
+
}]);
|
|
107
|
+
}();
|
|
108
|
+
CheckAddressChainsValidity200ResponseInner.RequiredProperties = ["chain_id", "validity"];
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The chain ID, which is the unique identifier of a blockchain.
|
|
112
|
+
* @member {String} chain_id
|
|
113
|
+
*/
|
|
114
|
+
CheckAddressChainsValidity200ResponseInner.prototype['chain_id'] = undefined;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Whether the address is valid for the specified chain. - `true`: The address is valid. - `false`: The address is invalid.
|
|
118
|
+
* @member {Boolean} validity
|
|
119
|
+
*/
|
|
120
|
+
CheckAddressChainsValidity200ResponseInner.prototype['validity'] = undefined;
|
|
121
|
+
var _default = exports["default"] = CheckAddressChainsValidity200ResponseInner;
|
|
@@ -57,7 +57,7 @@ var CreateSmartContractWalletParams = /*#__PURE__*/function () {
|
|
|
57
57
|
var discriminatorValue = instance["smart_contract_wallet_type"];
|
|
58
58
|
if (discriminatorValue) {
|
|
59
59
|
switch (discriminatorValue) {
|
|
60
|
-
case "Safe":
|
|
60
|
+
case "Safe{Wallet}":
|
|
61
61
|
this.actualInstance = _CreateSafeWalletParams["default"].constructFromObject(instance);
|
|
62
62
|
match++;
|
|
63
63
|
break;
|