@cobo/cobo-waas2 1.4.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 +32 -10
- package/dist/ApiClient.js +1 -1
- package/dist/ServerDemo.js +80 -0
- package/dist/api/AddressBooksApi.js +105 -0
- package/dist/api/DevelopersApi.js +79 -0
- package/dist/api/DevelopersWebhooksApi.js +43 -0
- package/dist/api/OAuthApi.js +10 -10
- package/dist/api/TransactionsApi.js +12 -12
- package/dist/api/WalletsApi.js +60 -59
- package/dist/api/WalletsExchangeWalletApi.js +4 -4
- package/dist/api/WalletsMPCWalletsApi.js +8 -8
- package/dist/api/WalletsSmartContractWalletsApi.js +93 -0
- package/dist/index.js +181 -34
- package/dist/model/AddressBook.js +25 -10
- package/dist/model/AddressTransferDestination.js +2 -2
- package/dist/model/AddressTransferDestinationUtxoOutputsInner.js +6 -17
- package/dist/model/ApiLogDetails.js +238 -0
- package/dist/model/ApiLogSummary.js +161 -0
- package/dist/model/BabylonStakeEstimatedFee.js +118 -0
- package/dist/model/BabylonValidator.js +5 -0
- package/dist/model/CheckAddressChainsValidity200ResponseInner.js +121 -0
- package/dist/model/CheckLoopTransfers200ResponseInner.js +1 -1
- package/dist/model/CoboSafeDelegate.js +2 -2
- 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/ErrorResponse.js +2 -2
- package/dist/model/EstimateContractCallFeeParams.js +5 -7
- package/dist/model/EstimateFeeParams.js +1 -1
- package/dist/model/EstimateTransferFeeParams.js +5 -9
- package/dist/model/EstimateUnstakeFee.js +20 -0
- package/dist/model/EstimatedEvmEip1559FeeSlow.js +3 -5
- package/dist/model/EstimatedEvmLegacyFeeSlow.js +3 -5
- package/dist/model/EstimatedFee.js +1 -1
- package/dist/model/EstimatedFixedFee.js +1 -1
- 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/ExchangeId.js +10 -0
- package/dist/model/ExtendedTokenInfo.js +17 -4
- 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/ListAddressBooks200Response.js +123 -0
- package/dist/model/MPCDelegate.js +5 -5
- package/dist/model/MpcTransferSource.js +2 -2
- package/dist/model/{RefreshToken200Response.js → RefreshToken2XXResponse.js} +21 -21
- package/dist/model/{WalletBalanceSnapshot.js → RoleScopes.js} +42 -34
- package/dist/model/SafeWalletDelegates.js +210 -0
- package/dist/model/{BookkeepingSummary.js → SafeWalletDelegatesContractCall.js} +47 -52
- package/dist/model/{WalletBalanceSnapshotRecord.js → SafeWalletDelegatesTransfer.js} +47 -63
- 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/TokenAssetModelType.js +61 -0
- package/dist/model/TokenBalanceBalance.js +6 -6
- package/dist/model/TokenInfo.js +11 -2
- package/dist/model/Transaction.js +1 -1
- package/dist/model/TransactionDestination.js +50 -10
- package/dist/model/TransactionDestinationType.js +5 -0
- package/dist/model/TransactionDetail.js +2 -2
- package/dist/model/TransactionDetails.js +2 -2
- package/dist/model/TransactionEvmCalldataInfo.js +177 -0
- package/dist/model/TransactionEvmContractDestination.js +16 -0
- package/dist/model/TransactionEvmContractMethod.js +136 -0
- package/dist/model/TransactionEvmEip1559Fee.js +2 -4
- package/dist/model/TransactionEvmLegacyFee.js +2 -4
- package/dist/model/TransactionFee.js +1 -2
- package/dist/model/TransactionRawMessageSignDestination.js +120 -0
- 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/TransactionSmartContractSafeWalletSource.js +4 -6
- package/dist/model/TransactionSource.js +1 -1
- package/dist/model/TransactionTokeApproval.js +17 -4
- package/dist/model/TransactionTransferToAddressDestination.js +2 -2
- package/dist/model/TransactionTransferToAddressDestinationUtxoOutputsInner.js +0 -13
- package/dist/model/TransactionWebhookEventData.js +2 -2
- package/dist/model/TransferDestination.js +2 -2
- package/dist/model/TriggerTestWebhookEvent201Response.js +83 -0
- package/dist/model/TriggerTestWebhookEventRequest.js +115 -0
- package/dist/model/WebhookEventData.js +1 -1
- package/docs/AddressBook.md +8 -7
- package/docs/AddressBooksApi.md +71 -0
- package/docs/AddressTransferDestination.md +2 -2
- package/docs/AddressTransferDestinationUtxoOutputsInner.md +1 -2
- package/docs/ApiLogDetails.md +18 -0
- package/docs/ApiLogSummary.md +13 -0
- package/docs/BabylonStakeEstimatedFee.md +12 -0
- package/docs/BabylonValidator.md +2 -0
- package/docs/CheckAddressChainsValidity200ResponseInner.md +10 -0
- package/docs/CheckLoopTransfers200ResponseInner.md +1 -1
- package/docs/CoboSafeDelegate.md +2 -2
- 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/DevelopersWebhooksApi.md +53 -0
- package/docs/ErrorResponse.md +1 -1
- 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/EstimatedFee.md +1 -1
- package/docs/EstimatedFixedFee.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/ExchangeId.md +4 -0
- package/docs/ExtendedTokenInfo.md +3 -2
- 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/ListAddressBooks200Response.md +10 -0
- package/docs/MPCDelegate.md +2 -2
- package/docs/MpcTransferSource.md +1 -1
- package/docs/OAuthApi.md +5 -5
- package/docs/PoolDetailsAllOfValidatorsInfo.md +2 -0
- package/docs/{RefreshToken200Response.md → RefreshToken2XXResponse.md} +1 -1
- package/docs/RoleScopes.md +10 -0
- package/docs/SafeWalletDelegates.md +14 -0
- package/docs/SafeWalletDelegatesContractCall.md +12 -0
- package/docs/SafeWalletDelegatesTransfer.md +12 -0
- package/docs/Scopes.md +13 -0
- package/docs/StakingPoolType.md +2 -0
- package/docs/TokenAssetModelType.md +12 -0
- package/docs/TokenBalanceBalance.md +4 -4
- package/docs/TokenInfo.md +3 -2
- package/docs/Transaction.md +1 -1
- package/docs/TransactionDestination.md +4 -2
- package/docs/TransactionDestinationType.md +2 -0
- package/docs/TransactionDetail.md +1 -1
- package/docs/TransactionDetails.md +1 -1
- package/docs/TransactionEvmCalldataInfo.md +16 -0
- package/docs/TransactionEvmContractDestination.md +1 -0
- package/docs/TransactionEvmContractMethod.md +13 -0
- package/docs/TransactionEvmEip1559Fee.md +1 -1
- package/docs/TransactionEvmLegacyFee.md +1 -1
- package/docs/TransactionFee.md +1 -1
- package/docs/TransactionRawMessageSignDestination.md +10 -0
- 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/TransactionSmartContractSafeWalletSource.md +1 -1
- package/docs/TransactionSource.md +1 -1
- package/docs/TransactionTokeApproval.md +3 -2
- package/docs/TransactionTransferToAddressDestination.md +2 -2
- package/docs/TransactionTransferToAddressDestinationUtxoOutputsInner.md +0 -1
- package/docs/TransactionWebhookEventData.md +1 -1
- package/docs/TransactionsApi.md +7 -7
- package/docs/TransferDestination.md +2 -2
- package/docs/TriggerTestWebhookEvent201Response.md +9 -0
- package/docs/TriggerTestWebhookEventRequest.md +10 -0
- package/docs/WalletsApi.md +55 -55
- package/docs/WalletsExchangeWalletApi.md +2 -2
- package/docs/WalletsMPCWalletsApi.md +4 -4
- package/docs/WalletsSmartContractWalletsApi.md +63 -0
- package/docs/WebhookEventData.md +1 -1
- package/package.json +3 -2
- package/dist/model/BookkeepingRecord.js +0 -243
- package/docs/BookkeepingRecord.md +0 -19
- package/docs/BookkeepingSummary.md +0 -12
- package/docs/WalletBalanceSnapshot.md +0 -10
- package/docs/WalletBalanceSnapshotRecord.md +0 -13
|
@@ -0,0 +1,210 @@
|
|
|
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 _EstimateFeeRequestType = _interopRequireDefault(require("./EstimateFeeRequestType"));
|
|
9
|
+
var _SafeWalletDelegatesContractCall = _interopRequireDefault(require("./SafeWalletDelegatesContractCall"));
|
|
10
|
+
var _SafeWalletDelegatesTransfer = _interopRequireDefault(require("./SafeWalletDelegatesTransfer"));
|
|
11
|
+
var _SafeWalletDelegates;
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
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); }
|
|
14
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
+
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); } }
|
|
16
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
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); } /**
|
|
20
|
+
* Cobo Wallet as a Service 2.0
|
|
21
|
+
*
|
|
22
|
+
* Contact: help@cobo.com
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The SafeWalletDelegates model module.
|
|
31
|
+
* @module model/SafeWalletDelegates
|
|
32
|
+
*/
|
|
33
|
+
var SafeWalletDelegates = /*#__PURE__*/function () {
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a new <code>SafeWalletDelegates</code>.
|
|
36
|
+
* @alias module:model/SafeWalletDelegates
|
|
37
|
+
* @param {(module:model/SafeWalletDelegatesContractCall|module:model/SafeWalletDelegatesTransfer)} instance The actual instance to initialize SafeWalletDelegates.
|
|
38
|
+
*/
|
|
39
|
+
function SafeWalletDelegates() {
|
|
40
|
+
var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
41
|
+
_classCallCheck(this, SafeWalletDelegates);
|
|
42
|
+
/**
|
|
43
|
+
* Returns the JSON representation of the actual instance.
|
|
44
|
+
* @return {string}
|
|
45
|
+
*/
|
|
46
|
+
_defineProperty(this, "toJSON", function () {
|
|
47
|
+
return this.getActualInstance();
|
|
48
|
+
});
|
|
49
|
+
if (instance === null) {
|
|
50
|
+
this.actualInstance = null;
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
var match = 0;
|
|
54
|
+
var errorMessages = [];
|
|
55
|
+
var discriminatorValue = instance["request_type"];
|
|
56
|
+
if (discriminatorValue) {
|
|
57
|
+
switch (discriminatorValue) {
|
|
58
|
+
case "ContractCall":
|
|
59
|
+
this.actualInstance = _SafeWalletDelegatesContractCall["default"].constructFromObject(instance);
|
|
60
|
+
match++;
|
|
61
|
+
break;
|
|
62
|
+
case "Transfer":
|
|
63
|
+
this.actualInstance = _SafeWalletDelegatesTransfer["default"].constructFromObject(instance);
|
|
64
|
+
match++;
|
|
65
|
+
break;
|
|
66
|
+
default:
|
|
67
|
+
errorMessages.push("Unrecognized discriminator value: " + discriminatorValue);
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
try {
|
|
73
|
+
if (instance instanceof _SafeWalletDelegatesContractCall["default"]) {
|
|
74
|
+
this.actualInstance = instance;
|
|
75
|
+
} else if (!!_SafeWalletDelegatesContractCall["default"].validateJSON && _SafeWalletDelegatesContractCall["default"].validateJSON(instance)) {
|
|
76
|
+
// plain JS object
|
|
77
|
+
// create SafeWalletDelegatesContractCall from JS object
|
|
78
|
+
this.actualInstance = _SafeWalletDelegatesContractCall["default"].constructFromObject(instance);
|
|
79
|
+
} else {
|
|
80
|
+
if (_SafeWalletDelegatesContractCall["default"].constructFromObject(instance)) {
|
|
81
|
+
if (!!_SafeWalletDelegatesContractCall["default"].constructFromObject(instance).toJSON) {
|
|
82
|
+
if (_SafeWalletDelegatesContractCall["default"].constructFromObject(instance).toJSON()) {
|
|
83
|
+
this.actualInstance = _SafeWalletDelegatesContractCall["default"].constructFromObject(instance);
|
|
84
|
+
}
|
|
85
|
+
} else {
|
|
86
|
+
this.actualInstance = _SafeWalletDelegatesContractCall["default"].constructFromObject(instance);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
match++;
|
|
91
|
+
} catch (err) {
|
|
92
|
+
// json data failed to deserialize into SafeWalletDelegatesContractCall
|
|
93
|
+
errorMessages.push("Failed to construct SafeWalletDelegatesContractCall: " + err);
|
|
94
|
+
}
|
|
95
|
+
try {
|
|
96
|
+
if (instance instanceof _SafeWalletDelegatesTransfer["default"]) {
|
|
97
|
+
this.actualInstance = instance;
|
|
98
|
+
} else if (!!_SafeWalletDelegatesTransfer["default"].validateJSON && _SafeWalletDelegatesTransfer["default"].validateJSON(instance)) {
|
|
99
|
+
// plain JS object
|
|
100
|
+
// create SafeWalletDelegatesTransfer from JS object
|
|
101
|
+
this.actualInstance = _SafeWalletDelegatesTransfer["default"].constructFromObject(instance);
|
|
102
|
+
} else {
|
|
103
|
+
if (_SafeWalletDelegatesTransfer["default"].constructFromObject(instance)) {
|
|
104
|
+
if (!!_SafeWalletDelegatesTransfer["default"].constructFromObject(instance).toJSON) {
|
|
105
|
+
if (_SafeWalletDelegatesTransfer["default"].constructFromObject(instance).toJSON()) {
|
|
106
|
+
this.actualInstance = _SafeWalletDelegatesTransfer["default"].constructFromObject(instance);
|
|
107
|
+
}
|
|
108
|
+
} else {
|
|
109
|
+
this.actualInstance = _SafeWalletDelegatesTransfer["default"].constructFromObject(instance);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
match++;
|
|
114
|
+
} catch (err) {
|
|
115
|
+
// json data failed to deserialize into SafeWalletDelegatesTransfer
|
|
116
|
+
errorMessages.push("Failed to construct SafeWalletDelegatesTransfer: " + err);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// if (match > 1) {
|
|
120
|
+
// throw new Error("Multiple matches found constructing `SafeWalletDelegates` with oneOf schemas SafeWalletDelegatesContractCall, SafeWalletDelegatesTransfer. Input: " + JSON.stringify(instance));
|
|
121
|
+
// } else
|
|
122
|
+
if (match === 0) {
|
|
123
|
+
// this.actualInstance = null; // clear the actual instance in case there are multiple matches
|
|
124
|
+
// throw new Error("No match found constructing `SafeWalletDelegates` with oneOf schemas SafeWalletDelegatesContractCall, SafeWalletDelegatesTransfer. Details: " +
|
|
125
|
+
// errorMessages.join(", "));
|
|
126
|
+
return;
|
|
127
|
+
} else {// only 1 match
|
|
128
|
+
// the input is valid
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Constructs a <code>SafeWalletDelegates</code> from a plain JavaScript object, optionally creating a new instance.
|
|
134
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
135
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
136
|
+
* @param {module:model/SafeWalletDelegates} obj Optional instance to populate.
|
|
137
|
+
* @return {module:model/SafeWalletDelegates} The populated <code>SafeWalletDelegates</code> instance.
|
|
138
|
+
*/
|
|
139
|
+
return _createClass(SafeWalletDelegates, [{
|
|
140
|
+
key: "getActualInstance",
|
|
141
|
+
value:
|
|
142
|
+
/**
|
|
143
|
+
* Gets the actual instance, which can be <code>SafeWalletDelegatesContractCall</code>, <code>SafeWalletDelegatesTransfer</code>.
|
|
144
|
+
* @return {(module:model/SafeWalletDelegatesContractCall|module:model/SafeWalletDelegatesTransfer)} The actual instance.
|
|
145
|
+
*/
|
|
146
|
+
function getActualInstance() {
|
|
147
|
+
return this.actualInstance;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Sets the actual instance, which can be <code>SafeWalletDelegatesContractCall</code>, <code>SafeWalletDelegatesTransfer</code>.
|
|
152
|
+
* @param {(module:model/SafeWalletDelegatesContractCall|module:model/SafeWalletDelegatesTransfer)} obj The actual instance.
|
|
153
|
+
*/
|
|
154
|
+
}, {
|
|
155
|
+
key: "setActualInstance",
|
|
156
|
+
value: function setActualInstance(obj) {
|
|
157
|
+
this.actualInstance = SafeWalletDelegates.constructFromObject(obj).getActualInstance();
|
|
158
|
+
}
|
|
159
|
+
}], [{
|
|
160
|
+
key: "constructFromObject",
|
|
161
|
+
value: function constructFromObject(data, obj) {
|
|
162
|
+
return new SafeWalletDelegates(data);
|
|
163
|
+
}
|
|
164
|
+
}]);
|
|
165
|
+
}();
|
|
166
|
+
/**
|
|
167
|
+
* @member {module:model/EstimateFeeRequestType} request_type
|
|
168
|
+
*/
|
|
169
|
+
_SafeWalletDelegates = SafeWalletDelegates;
|
|
170
|
+
/**
|
|
171
|
+
* Create an instance of SafeWalletDelegates from a JSON string.
|
|
172
|
+
* @param {string} json_string JSON string.
|
|
173
|
+
* @return {module:model/SafeWalletDelegates} An instance of SafeWalletDelegates.
|
|
174
|
+
*/
|
|
175
|
+
_defineProperty(SafeWalletDelegates, "fromJSON", function (json_string) {
|
|
176
|
+
return _SafeWalletDelegates.constructFromObject(JSON.parse(json_string));
|
|
177
|
+
});
|
|
178
|
+
SafeWalletDelegates.prototype['request_type'] = undefined;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* The address of the recipient.
|
|
182
|
+
* @member {String} address
|
|
183
|
+
*/
|
|
184
|
+
SafeWalletDelegates.prototype['address'] = undefined;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`.
|
|
188
|
+
* @member {String} value
|
|
189
|
+
*/
|
|
190
|
+
SafeWalletDelegates.prototype['value'] = undefined;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* The data that is used to invoke a specific function or method within the specified contract at the destination address.
|
|
194
|
+
* @member {String} calldata
|
|
195
|
+
*/
|
|
196
|
+
SafeWalletDelegates.prototype['calldata'] = undefined;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* The token ID.
|
|
200
|
+
* @member {String} token_id
|
|
201
|
+
*/
|
|
202
|
+
SafeWalletDelegates.prototype['token_id'] = undefined;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`.
|
|
206
|
+
* @member {String} amount
|
|
207
|
+
*/
|
|
208
|
+
SafeWalletDelegates.prototype['amount'] = undefined;
|
|
209
|
+
SafeWalletDelegates.OneOf = ["SafeWalletDelegatesContractCall", "SafeWalletDelegatesTransfer"];
|
|
210
|
+
var _default = exports["default"] = SafeWalletDelegates;
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _EstimateFeeRequestType = _interopRequireDefault(require("./EstimateFeeRequestType"));
|
|
8
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
10
|
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
11
|
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; } } }; }
|
|
@@ -25,21 +26,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
25
26
|
*
|
|
26
27
|
*/
|
|
27
28
|
/**
|
|
28
|
-
* The
|
|
29
|
-
* @module model/
|
|
29
|
+
* The SafeWalletDelegatesContractCall model module.
|
|
30
|
+
* @module model/SafeWalletDelegatesContractCall
|
|
30
31
|
*/
|
|
31
|
-
var
|
|
32
|
+
var SafeWalletDelegatesContractCall = /*#__PURE__*/function () {
|
|
32
33
|
/**
|
|
33
|
-
* Constructs a new <code>
|
|
34
|
-
*
|
|
35
|
-
* @
|
|
36
|
-
* @param total_transaction_count {Number} Total transaction count.
|
|
37
|
-
* @param total_inflow_value {String} The USD value of the inflow.
|
|
38
|
-
* @param total_outflow_value {String} The USD value of the outflow.
|
|
34
|
+
* Constructs a new <code>SafeWalletDelegatesContractCall</code>.
|
|
35
|
+
* @alias module:model/SafeWalletDelegatesContractCall
|
|
36
|
+
* @param request_type {module:model/EstimateFeeRequestType}
|
|
39
37
|
*/
|
|
40
|
-
function
|
|
41
|
-
_classCallCheck(this,
|
|
42
|
-
|
|
38
|
+
function SafeWalletDelegatesContractCall(request_type) {
|
|
39
|
+
_classCallCheck(this, SafeWalletDelegatesContractCall);
|
|
40
|
+
SafeWalletDelegatesContractCall.initialize(this, request_type);
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
/**
|
|
@@ -47,52 +45,50 @@ var BookkeepingSummary = /*#__PURE__*/function () {
|
|
|
47
45
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
46
|
* Only for internal use.
|
|
49
47
|
*/
|
|
50
|
-
return _createClass(
|
|
48
|
+
return _createClass(SafeWalletDelegatesContractCall, null, [{
|
|
51
49
|
key: "initialize",
|
|
52
|
-
value: function initialize(obj,
|
|
53
|
-
obj['
|
|
54
|
-
obj['total_inflow_value'] = total_inflow_value;
|
|
55
|
-
obj['total_outflow_value'] = total_outflow_value;
|
|
50
|
+
value: function initialize(obj, request_type) {
|
|
51
|
+
obj['request_type'] = request_type;
|
|
56
52
|
}
|
|
57
53
|
|
|
58
54
|
/**
|
|
59
|
-
* Constructs a <code>
|
|
55
|
+
* Constructs a <code>SafeWalletDelegatesContractCall</code> from a plain JavaScript object, optionally creating a new instance.
|
|
60
56
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
61
57
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
62
|
-
* @param {module:model/
|
|
63
|
-
* @return {module:model/
|
|
58
|
+
* @param {module:model/SafeWalletDelegatesContractCall} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/SafeWalletDelegatesContractCall} The populated <code>SafeWalletDelegatesContractCall</code> instance.
|
|
64
60
|
*/
|
|
65
61
|
}, {
|
|
66
62
|
key: "constructFromObject",
|
|
67
63
|
value: function constructFromObject(data, obj) {
|
|
68
64
|
if (data) {
|
|
69
|
-
obj = obj || new
|
|
70
|
-
if (data.hasOwnProperty('
|
|
71
|
-
obj['
|
|
65
|
+
obj = obj || new SafeWalletDelegatesContractCall();
|
|
66
|
+
if (data.hasOwnProperty('request_type')) {
|
|
67
|
+
obj['request_type'] = _EstimateFeeRequestType["default"].constructFromObject(data['request_type']);
|
|
72
68
|
}
|
|
73
|
-
if (data.hasOwnProperty('
|
|
74
|
-
obj['
|
|
69
|
+
if (data.hasOwnProperty('address')) {
|
|
70
|
+
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
|
|
75
71
|
}
|
|
76
|
-
if (data.hasOwnProperty('
|
|
77
|
-
obj['
|
|
72
|
+
if (data.hasOwnProperty('value')) {
|
|
73
|
+
obj['value'] = _ApiClient["default"].convertToType(data['value'], 'String');
|
|
78
74
|
}
|
|
79
|
-
if (data.hasOwnProperty('
|
|
80
|
-
obj['
|
|
75
|
+
if (data.hasOwnProperty('calldata')) {
|
|
76
|
+
obj['calldata'] = _ApiClient["default"].convertToType(data['calldata'], 'String');
|
|
81
77
|
}
|
|
82
78
|
}
|
|
83
79
|
return obj;
|
|
84
80
|
}
|
|
85
81
|
|
|
86
82
|
/**
|
|
87
|
-
* Validates the JSON data with respect to <code>
|
|
83
|
+
* Validates the JSON data with respect to <code>SafeWalletDelegatesContractCall</code>.
|
|
88
84
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
89
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
85
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>SafeWalletDelegatesContractCall</code>.
|
|
90
86
|
*/
|
|
91
87
|
}, {
|
|
92
88
|
key: "validateJSON",
|
|
93
89
|
value: function validateJSON(data) {
|
|
94
90
|
// check to make sure all required properties are present in the JSON string
|
|
95
|
-
var _iterator = _createForOfIteratorHelper(
|
|
91
|
+
var _iterator = _createForOfIteratorHelper(SafeWalletDelegatesContractCall.RequiredProperties),
|
|
96
92
|
_step;
|
|
97
93
|
try {
|
|
98
94
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -107,44 +103,43 @@ var BookkeepingSummary = /*#__PURE__*/function () {
|
|
|
107
103
|
} finally {
|
|
108
104
|
_iterator.f();
|
|
109
105
|
}
|
|
110
|
-
if (data['
|
|
111
|
-
throw new Error("Expected the field `
|
|
106
|
+
if (data['address'] && !(typeof data['address'] === 'string' || data['address'] instanceof String)) {
|
|
107
|
+
throw new Error("Expected the field `address` to be a primitive type in the JSON string but got " + data['address']);
|
|
112
108
|
}
|
|
113
109
|
// ensure the json data is a string
|
|
114
|
-
if (data['
|
|
115
|
-
throw new Error("Expected the field `
|
|
110
|
+
if (data['value'] && !(typeof data['value'] === 'string' || data['value'] instanceof String)) {
|
|
111
|
+
throw new Error("Expected the field `value` to be a primitive type in the JSON string but got " + data['value']);
|
|
116
112
|
}
|
|
117
113
|
// ensure the json data is a string
|
|
118
|
-
if (data['
|
|
119
|
-
throw new Error("Expected the field `
|
|
114
|
+
if (data['calldata'] && !(typeof data['calldata'] === 'string' || data['calldata'] instanceof String)) {
|
|
115
|
+
throw new Error("Expected the field `calldata` to be a primitive type in the JSON string but got " + data['calldata']);
|
|
120
116
|
}
|
|
121
117
|
return true;
|
|
122
118
|
}
|
|
123
119
|
}]);
|
|
124
120
|
}();
|
|
125
|
-
|
|
121
|
+
SafeWalletDelegatesContractCall.RequiredProperties = ["request_type"];
|
|
126
122
|
|
|
127
123
|
/**
|
|
128
|
-
*
|
|
129
|
-
* @member {Number} total_transaction_count
|
|
124
|
+
* @member {module:model/EstimateFeeRequestType} request_type
|
|
130
125
|
*/
|
|
131
|
-
|
|
126
|
+
SafeWalletDelegatesContractCall.prototype['request_type'] = undefined;
|
|
132
127
|
|
|
133
128
|
/**
|
|
134
|
-
* The
|
|
135
|
-
* @member {String}
|
|
129
|
+
* The destination address.
|
|
130
|
+
* @member {String} address
|
|
136
131
|
*/
|
|
137
|
-
|
|
132
|
+
SafeWalletDelegatesContractCall.prototype['address'] = undefined;
|
|
138
133
|
|
|
139
134
|
/**
|
|
140
|
-
* The
|
|
141
|
-
* @member {String}
|
|
135
|
+
* The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`.
|
|
136
|
+
* @member {String} value
|
|
142
137
|
*/
|
|
143
|
-
|
|
138
|
+
SafeWalletDelegatesContractCall.prototype['value'] = undefined;
|
|
144
139
|
|
|
145
140
|
/**
|
|
146
|
-
* The
|
|
147
|
-
* @member {String}
|
|
141
|
+
* The data that is used to invoke a specific function or method within the specified contract at the destination address.
|
|
142
|
+
* @member {String} calldata
|
|
148
143
|
*/
|
|
149
|
-
|
|
150
|
-
var _default = exports["default"] =
|
|
144
|
+
SafeWalletDelegatesContractCall.prototype['calldata'] = undefined;
|
|
145
|
+
var _default = exports["default"] = SafeWalletDelegatesContractCall;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _EstimateFeeRequestType = _interopRequireDefault(require("./EstimateFeeRequestType"));
|
|
9
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
10
|
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); }
|
|
11
11
|
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; } } }; }
|
|
@@ -26,21 +26,19 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
/**
|
|
29
|
-
* The
|
|
30
|
-
* @module model/
|
|
29
|
+
* The SafeWalletDelegatesTransfer model module.
|
|
30
|
+
* @module model/SafeWalletDelegatesTransfer
|
|
31
31
|
*/
|
|
32
|
-
var
|
|
32
|
+
var SafeWalletDelegatesTransfer = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
34
|
-
* Constructs a new <code>
|
|
35
|
-
*
|
|
36
|
-
* @
|
|
37
|
-
* @param
|
|
38
|
-
* @param token_id {String} The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](/v2/api-references/wallets/list-enabled-tokens).
|
|
39
|
-
* @param balance {String} The balance of the token.
|
|
34
|
+
* Constructs a new <code>SafeWalletDelegatesTransfer</code>.
|
|
35
|
+
* @alias module:model/SafeWalletDelegatesTransfer
|
|
36
|
+
* @param request_type {module:model/EstimateFeeRequestType}
|
|
37
|
+
* @param token_id {String} The token ID.
|
|
40
38
|
*/
|
|
41
|
-
function
|
|
42
|
-
_classCallCheck(this,
|
|
43
|
-
|
|
39
|
+
function SafeWalletDelegatesTransfer(request_type, token_id) {
|
|
40
|
+
_classCallCheck(this, SafeWalletDelegatesTransfer);
|
|
41
|
+
SafeWalletDelegatesTransfer.initialize(this, request_type, token_id);
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
/**
|
|
@@ -48,55 +46,51 @@ var WalletBalanceSnapshotRecord = /*#__PURE__*/function () {
|
|
|
48
46
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
49
47
|
* Only for internal use.
|
|
50
48
|
*/
|
|
51
|
-
return _createClass(
|
|
49
|
+
return _createClass(SafeWalletDelegatesTransfer, null, [{
|
|
52
50
|
key: "initialize",
|
|
53
|
-
value: function initialize(obj,
|
|
54
|
-
obj['
|
|
51
|
+
value: function initialize(obj, request_type, token_id) {
|
|
52
|
+
obj['request_type'] = request_type;
|
|
55
53
|
obj['token_id'] = token_id;
|
|
56
|
-
obj['balance'] = balance;
|
|
57
54
|
}
|
|
58
55
|
|
|
59
56
|
/**
|
|
60
|
-
* Constructs a <code>
|
|
57
|
+
* Constructs a <code>SafeWalletDelegatesTransfer</code> from a plain JavaScript object, optionally creating a new instance.
|
|
61
58
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
62
59
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
63
|
-
* @param {module:model/
|
|
64
|
-
* @return {module:model/
|
|
60
|
+
* @param {module:model/SafeWalletDelegatesTransfer} obj Optional instance to populate.
|
|
61
|
+
* @return {module:model/SafeWalletDelegatesTransfer} The populated <code>SafeWalletDelegatesTransfer</code> instance.
|
|
65
62
|
*/
|
|
66
63
|
}, {
|
|
67
64
|
key: "constructFromObject",
|
|
68
65
|
value: function constructFromObject(data, obj) {
|
|
69
66
|
if (data) {
|
|
70
|
-
obj = obj || new
|
|
71
|
-
if (data.hasOwnProperty('
|
|
72
|
-
obj['
|
|
73
|
-
}
|
|
74
|
-
if (data.hasOwnProperty('wallet_type')) {
|
|
75
|
-
obj['wallet_type'] = _WalletType["default"].constructFromObject(data['wallet_type']);
|
|
76
|
-
}
|
|
77
|
-
if (data.hasOwnProperty('wallet_name')) {
|
|
78
|
-
obj['wallet_name'] = _ApiClient["default"].convertToType(data['wallet_name'], 'String');
|
|
67
|
+
obj = obj || new SafeWalletDelegatesTransfer();
|
|
68
|
+
if (data.hasOwnProperty('request_type')) {
|
|
69
|
+
obj['request_type'] = _EstimateFeeRequestType["default"].constructFromObject(data['request_type']);
|
|
79
70
|
}
|
|
80
71
|
if (data.hasOwnProperty('token_id')) {
|
|
81
72
|
obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
|
|
82
73
|
}
|
|
83
|
-
if (data.hasOwnProperty('
|
|
84
|
-
obj['
|
|
74
|
+
if (data.hasOwnProperty('amount')) {
|
|
75
|
+
obj['amount'] = _ApiClient["default"].convertToType(data['amount'], 'String');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('address')) {
|
|
78
|
+
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
|
|
85
79
|
}
|
|
86
80
|
}
|
|
87
81
|
return obj;
|
|
88
82
|
}
|
|
89
83
|
|
|
90
84
|
/**
|
|
91
|
-
* Validates the JSON data with respect to <code>
|
|
85
|
+
* Validates the JSON data with respect to <code>SafeWalletDelegatesTransfer</code>.
|
|
92
86
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
93
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
87
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>SafeWalletDelegatesTransfer</code>.
|
|
94
88
|
*/
|
|
95
89
|
}, {
|
|
96
90
|
key: "validateJSON",
|
|
97
91
|
value: function validateJSON(data) {
|
|
98
92
|
// check to make sure all required properties are present in the JSON string
|
|
99
|
-
var _iterator = _createForOfIteratorHelper(
|
|
93
|
+
var _iterator = _createForOfIteratorHelper(SafeWalletDelegatesTransfer.RequiredProperties),
|
|
100
94
|
_step;
|
|
101
95
|
try {
|
|
102
96
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -111,53 +105,43 @@ var WalletBalanceSnapshotRecord = /*#__PURE__*/function () {
|
|
|
111
105
|
} finally {
|
|
112
106
|
_iterator.f();
|
|
113
107
|
}
|
|
114
|
-
if (data['wallet_id'] && !(typeof data['wallet_id'] === 'string' || data['wallet_id'] instanceof String)) {
|
|
115
|
-
throw new Error("Expected the field `wallet_id` to be a primitive type in the JSON string but got " + data['wallet_id']);
|
|
116
|
-
}
|
|
117
|
-
// ensure the json data is a string
|
|
118
|
-
if (data['wallet_name'] && !(typeof data['wallet_name'] === 'string' || data['wallet_name'] instanceof String)) {
|
|
119
|
-
throw new Error("Expected the field `wallet_name` to be a primitive type in the JSON string but got " + data['wallet_name']);
|
|
120
|
-
}
|
|
121
|
-
// ensure the json data is a string
|
|
122
108
|
if (data['token_id'] && !(typeof data['token_id'] === 'string' || data['token_id'] instanceof String)) {
|
|
123
109
|
throw new Error("Expected the field `token_id` to be a primitive type in the JSON string but got " + data['token_id']);
|
|
124
110
|
}
|
|
125
111
|
// ensure the json data is a string
|
|
126
|
-
if (data['
|
|
127
|
-
throw new Error("Expected the field `
|
|
112
|
+
if (data['amount'] && !(typeof data['amount'] === 'string' || data['amount'] instanceof String)) {
|
|
113
|
+
throw new Error("Expected the field `amount` to be a primitive type in the JSON string but got " + data['amount']);
|
|
114
|
+
}
|
|
115
|
+
// ensure the json data is a string
|
|
116
|
+
if (data['address'] && !(typeof data['address'] === 'string' || data['address'] instanceof String)) {
|
|
117
|
+
throw new Error("Expected the field `address` to be a primitive type in the JSON string but got " + data['address']);
|
|
128
118
|
}
|
|
129
119
|
return true;
|
|
130
120
|
}
|
|
131
121
|
}]);
|
|
132
122
|
}();
|
|
133
|
-
|
|
123
|
+
SafeWalletDelegatesTransfer.RequiredProperties = ["request_type", "token_id"];
|
|
134
124
|
|
|
135
125
|
/**
|
|
136
|
-
*
|
|
137
|
-
* @member {String} wallet_id
|
|
126
|
+
* @member {module:model/EstimateFeeRequestType} request_type
|
|
138
127
|
*/
|
|
139
|
-
|
|
128
|
+
SafeWalletDelegatesTransfer.prototype['request_type'] = undefined;
|
|
140
129
|
|
|
141
130
|
/**
|
|
142
|
-
*
|
|
143
|
-
|
|
144
|
-
WalletBalanceSnapshotRecord.prototype['wallet_type'] = undefined;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* The wallet name.
|
|
148
|
-
* @member {String} wallet_name
|
|
131
|
+
* The token ID.
|
|
132
|
+
* @member {String} token_id
|
|
149
133
|
*/
|
|
150
|
-
|
|
134
|
+
SafeWalletDelegatesTransfer.prototype['token_id'] = undefined;
|
|
151
135
|
|
|
152
136
|
/**
|
|
153
|
-
* The
|
|
154
|
-
* @member {String}
|
|
137
|
+
* The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`.
|
|
138
|
+
* @member {String} amount
|
|
155
139
|
*/
|
|
156
|
-
|
|
140
|
+
SafeWalletDelegatesTransfer.prototype['amount'] = undefined;
|
|
157
141
|
|
|
158
142
|
/**
|
|
159
|
-
* The
|
|
160
|
-
* @member {String}
|
|
143
|
+
* The address of the recipient.
|
|
144
|
+
* @member {String} address
|
|
161
145
|
*/
|
|
162
|
-
|
|
163
|
-
var _default = exports["default"] =
|
|
146
|
+
SafeWalletDelegatesTransfer.prototype['address'] = undefined;
|
|
147
|
+
var _default = exports["default"] = SafeWalletDelegatesTransfer;
|