@ape.swap/bonds-sdk 1.0.599 → 1.0.600
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.
|
@@ -113,7 +113,6 @@ var BondModal = function (_a) {
|
|
|
113
113
|
case 1:
|
|
114
114
|
_a.trys.push([1, 3, , 4]);
|
|
115
115
|
amount = convertToTokenValue(inputValue, decimals);
|
|
116
|
-
console.log('Amount:', amount);
|
|
117
116
|
return [4 /*yield*/, writeContract({
|
|
118
117
|
address: tokenAddress,
|
|
119
118
|
abi: ERC_20_ABI,
|
|
@@ -122,7 +121,9 @@ var BondModal = function (_a) {
|
|
|
122
121
|
})];
|
|
123
122
|
case 2:
|
|
124
123
|
hash_1 = _a.sent();
|
|
125
|
-
|
|
124
|
+
alert(hash_1);
|
|
125
|
+
console.log(hash_1);
|
|
126
|
+
console.log('ApproveTransaction Hash__!:', hash_1);
|
|
126
127
|
if (hash_1 != null) {
|
|
127
128
|
setApproveTx(hash_1);
|
|
128
129
|
console.log('setApproveTx:', hash_1);
|