@zama-fhe/sdk 2.4.0 → 2.5.0-alpha.2
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/LICENSE +24 -20
- package/README.md +9 -8
- package/dist/cjs/activity.cjs +1 -1
- package/dist/cjs/activity.cjs.map +1 -1
- package/dist/cjs/ethers/index.cjs +1 -1
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/query/index.cjs +1 -1
- package/dist/cjs/query/index.cjs.map +1 -1
- package/dist/cjs/viem/index.cjs +1 -1
- package/dist/cjs/wrappers-registry.cjs +1 -1
- package/dist/cjs/wrappers-registry.cjs.map +1 -1
- package/dist/esm/activity-CxGHb_3-.js +2 -0
- package/dist/esm/activity-CxGHb_3-.js.map +1 -0
- package/dist/esm/{activity-CAZLy9Lp.d.ts → activity-DySBgT7m.d.ts} +1395 -88
- package/dist/esm/ethers/index.js +1 -1
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/query/index.d.ts +2 -2
- package/dist/esm/query/index.js +1 -1
- package/dist/esm/query/index.js.map +1 -1
- package/dist/esm/viem/index.js +1 -1
- package/dist/esm/wrappers-registry-DO0729Zi.js +2 -0
- package/dist/esm/wrappers-registry-DO0729Zi.js.map +1 -0
- package/package.json +1 -1
- package/dist/esm/activity-CCD_CGXh.js +0 -2
- package/dist/esm/activity-CCD_CGXh.js.map +0 -1
- package/dist/esm/wrappers-registry-BAz8Adry.js +0 -2
- package/dist/esm/wrappers-registry-BAz8Adry.js.map +0 -1
|
@@ -1083,7 +1083,1290 @@ declare function confidentialBalanceOfContract(tokenAddress: Address, userAddres
|
|
|
1083
1083
|
readonly type: "function";
|
|
1084
1084
|
}, {
|
|
1085
1085
|
readonly inputs: readonly [];
|
|
1086
|
-
readonly name: "
|
|
1086
|
+
readonly name: "inferredTotalSupply";
|
|
1087
|
+
readonly outputs: readonly [{
|
|
1088
|
+
readonly internalType: "uint256";
|
|
1089
|
+
readonly name: "";
|
|
1090
|
+
readonly type: "uint256";
|
|
1091
|
+
}];
|
|
1092
|
+
readonly stateMutability: "view";
|
|
1093
|
+
readonly type: "function";
|
|
1094
|
+
}, {
|
|
1095
|
+
readonly inputs: readonly [{
|
|
1096
|
+
readonly internalType: "address";
|
|
1097
|
+
readonly name: "newOwner";
|
|
1098
|
+
readonly type: "address";
|
|
1099
|
+
}];
|
|
1100
|
+
readonly name: "transferOwnership";
|
|
1101
|
+
readonly outputs: readonly [];
|
|
1102
|
+
readonly stateMutability: "nonpayable";
|
|
1103
|
+
readonly type: "function";
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly inputs: readonly [];
|
|
1106
|
+
readonly name: "underlying";
|
|
1107
|
+
readonly outputs: readonly [{
|
|
1108
|
+
readonly internalType: "address";
|
|
1109
|
+
readonly name: "";
|
|
1110
|
+
readonly type: "address";
|
|
1111
|
+
}];
|
|
1112
|
+
readonly stateMutability: "view";
|
|
1113
|
+
readonly type: "function";
|
|
1114
|
+
}, {
|
|
1115
|
+
readonly inputs: readonly [{
|
|
1116
|
+
readonly internalType: "address";
|
|
1117
|
+
readonly name: "from";
|
|
1118
|
+
readonly type: "address";
|
|
1119
|
+
}, {
|
|
1120
|
+
readonly internalType: "address";
|
|
1121
|
+
readonly name: "to";
|
|
1122
|
+
readonly type: "address";
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly internalType: "externalEuint64";
|
|
1125
|
+
readonly name: "encryptedAmount";
|
|
1126
|
+
readonly type: "bytes32";
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly internalType: "bytes";
|
|
1129
|
+
readonly name: "inputProof";
|
|
1130
|
+
readonly type: "bytes";
|
|
1131
|
+
}];
|
|
1132
|
+
readonly name: "unwrap";
|
|
1133
|
+
readonly outputs: readonly [];
|
|
1134
|
+
readonly stateMutability: "nonpayable";
|
|
1135
|
+
readonly type: "function";
|
|
1136
|
+
}, {
|
|
1137
|
+
readonly inputs: readonly [{
|
|
1138
|
+
readonly internalType: "address";
|
|
1139
|
+
readonly name: "from";
|
|
1140
|
+
readonly type: "address";
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly internalType: "address";
|
|
1143
|
+
readonly name: "to";
|
|
1144
|
+
readonly type: "address";
|
|
1145
|
+
}, {
|
|
1146
|
+
readonly internalType: "euint64";
|
|
1147
|
+
readonly name: "amount";
|
|
1148
|
+
readonly type: "bytes32";
|
|
1149
|
+
}];
|
|
1150
|
+
readonly name: "unwrap";
|
|
1151
|
+
readonly outputs: readonly [];
|
|
1152
|
+
readonly stateMutability: "nonpayable";
|
|
1153
|
+
readonly type: "function";
|
|
1154
|
+
}, {
|
|
1155
|
+
readonly inputs: readonly [{
|
|
1156
|
+
readonly internalType: "address";
|
|
1157
|
+
readonly name: "from";
|
|
1158
|
+
readonly type: "address";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly internalType: "address";
|
|
1161
|
+
readonly name: "to";
|
|
1162
|
+
readonly type: "address";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly internalType: "euint64";
|
|
1165
|
+
readonly name: "amount";
|
|
1166
|
+
readonly type: "bytes32";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly internalType: "address";
|
|
1169
|
+
readonly name: "refund";
|
|
1170
|
+
readonly type: "address";
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly internalType: "bytes";
|
|
1173
|
+
readonly name: "unwrapCallbackData";
|
|
1174
|
+
readonly type: "bytes";
|
|
1175
|
+
}];
|
|
1176
|
+
readonly name: "unwrapAndCall";
|
|
1177
|
+
readonly outputs: readonly [];
|
|
1178
|
+
readonly stateMutability: "nonpayable";
|
|
1179
|
+
readonly type: "function";
|
|
1180
|
+
}, {
|
|
1181
|
+
readonly inputs: readonly [{
|
|
1182
|
+
readonly internalType: "address";
|
|
1183
|
+
readonly name: "from";
|
|
1184
|
+
readonly type: "address";
|
|
1185
|
+
}, {
|
|
1186
|
+
readonly internalType: "address";
|
|
1187
|
+
readonly name: "to";
|
|
1188
|
+
readonly type: "address";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly internalType: "externalEuint64";
|
|
1191
|
+
readonly name: "encryptedAmount";
|
|
1192
|
+
readonly type: "bytes32";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly internalType: "bytes";
|
|
1195
|
+
readonly name: "inputProof";
|
|
1196
|
+
readonly type: "bytes";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly internalType: "address";
|
|
1199
|
+
readonly name: "refund";
|
|
1200
|
+
readonly type: "address";
|
|
1201
|
+
}, {
|
|
1202
|
+
readonly internalType: "bytes";
|
|
1203
|
+
readonly name: "unwrapCallbackData";
|
|
1204
|
+
readonly type: "bytes";
|
|
1205
|
+
}];
|
|
1206
|
+
readonly name: "unwrapAndCall";
|
|
1207
|
+
readonly outputs: readonly [];
|
|
1208
|
+
readonly stateMutability: "nonpayable";
|
|
1209
|
+
readonly type: "function";
|
|
1210
|
+
}, {
|
|
1211
|
+
readonly inputs: readonly [{
|
|
1212
|
+
readonly internalType: "address";
|
|
1213
|
+
readonly name: "from";
|
|
1214
|
+
readonly type: "address";
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly internalType: "address";
|
|
1217
|
+
readonly name: "to";
|
|
1218
|
+
readonly type: "address";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly internalType: "euint64";
|
|
1221
|
+
readonly name: "amount";
|
|
1222
|
+
readonly type: "bytes32";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly internalType: "address";
|
|
1225
|
+
readonly name: "refund";
|
|
1226
|
+
readonly type: "address";
|
|
1227
|
+
}];
|
|
1228
|
+
readonly name: "unwrapWithRefund";
|
|
1229
|
+
readonly outputs: readonly [];
|
|
1230
|
+
readonly stateMutability: "nonpayable";
|
|
1231
|
+
readonly type: "function";
|
|
1232
|
+
}, {
|
|
1233
|
+
readonly inputs: readonly [{
|
|
1234
|
+
readonly internalType: "address";
|
|
1235
|
+
readonly name: "from";
|
|
1236
|
+
readonly type: "address";
|
|
1237
|
+
}, {
|
|
1238
|
+
readonly internalType: "address";
|
|
1239
|
+
readonly name: "to";
|
|
1240
|
+
readonly type: "address";
|
|
1241
|
+
}, {
|
|
1242
|
+
readonly internalType: "externalEuint64";
|
|
1243
|
+
readonly name: "encryptedAmount";
|
|
1244
|
+
readonly type: "bytes32";
|
|
1245
|
+
}, {
|
|
1246
|
+
readonly internalType: "bytes";
|
|
1247
|
+
readonly name: "inputProof";
|
|
1248
|
+
readonly type: "bytes";
|
|
1249
|
+
}, {
|
|
1250
|
+
readonly internalType: "address";
|
|
1251
|
+
readonly name: "refund";
|
|
1252
|
+
readonly type: "address";
|
|
1253
|
+
}];
|
|
1254
|
+
readonly name: "unwrapWithRefund";
|
|
1255
|
+
readonly outputs: readonly [];
|
|
1256
|
+
readonly stateMutability: "nonpayable";
|
|
1257
|
+
readonly type: "function";
|
|
1258
|
+
}, {
|
|
1259
|
+
readonly inputs: readonly [{
|
|
1260
|
+
readonly internalType: "address";
|
|
1261
|
+
readonly name: "newImplementation";
|
|
1262
|
+
readonly type: "address";
|
|
1263
|
+
}, {
|
|
1264
|
+
readonly internalType: "bytes";
|
|
1265
|
+
readonly name: "data";
|
|
1266
|
+
readonly type: "bytes";
|
|
1267
|
+
}];
|
|
1268
|
+
readonly name: "upgradeToAndCall";
|
|
1269
|
+
readonly outputs: readonly [];
|
|
1270
|
+
readonly stateMutability: "payable";
|
|
1271
|
+
readonly type: "function";
|
|
1272
|
+
}, {
|
|
1273
|
+
readonly inputs: readonly [{
|
|
1274
|
+
readonly internalType: "address";
|
|
1275
|
+
readonly name: "to";
|
|
1276
|
+
readonly type: "address";
|
|
1277
|
+
}, {
|
|
1278
|
+
readonly internalType: "uint256";
|
|
1279
|
+
readonly name: "amount";
|
|
1280
|
+
readonly type: "uint256";
|
|
1281
|
+
}];
|
|
1282
|
+
readonly name: "wrap";
|
|
1283
|
+
readonly outputs: readonly [];
|
|
1284
|
+
readonly stateMutability: "nonpayable";
|
|
1285
|
+
readonly type: "function";
|
|
1286
|
+
}];
|
|
1287
|
+
readonly functionName: "confidentialBalanceOf";
|
|
1288
|
+
readonly args: readonly [`0x${string}`];
|
|
1289
|
+
};
|
|
1290
|
+
/**
|
|
1291
|
+
* Returns the contract config for a confidential transfer.
|
|
1292
|
+
*
|
|
1293
|
+
* @example
|
|
1294
|
+
* ```ts
|
|
1295
|
+
* const txHash = await signer.writeContract(
|
|
1296
|
+
* confidentialTransferContract(tokenAddress, to, handles[0], inputProof),
|
|
1297
|
+
* );
|
|
1298
|
+
* ```
|
|
1299
|
+
*/
|
|
1300
|
+
declare function confidentialTransferContract(encryptedErc20: Address, to: Address, handle: Uint8Array, inputProof: Uint8Array): {
|
|
1301
|
+
readonly address: `0x${string}`;
|
|
1302
|
+
readonly abi: readonly [{
|
|
1303
|
+
readonly inputs: readonly [];
|
|
1304
|
+
readonly stateMutability: "nonpayable";
|
|
1305
|
+
readonly type: "constructor";
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly inputs: readonly [{
|
|
1308
|
+
readonly internalType: "address";
|
|
1309
|
+
readonly name: "target";
|
|
1310
|
+
readonly type: "address";
|
|
1311
|
+
}];
|
|
1312
|
+
readonly name: "AddressEmptyCode";
|
|
1313
|
+
readonly type: "error";
|
|
1314
|
+
}, {
|
|
1315
|
+
readonly inputs: readonly [];
|
|
1316
|
+
readonly name: "CannotReceiveEthForTokenWrap";
|
|
1317
|
+
readonly type: "error";
|
|
1318
|
+
}, {
|
|
1319
|
+
readonly inputs: readonly [{
|
|
1320
|
+
readonly internalType: "address";
|
|
1321
|
+
readonly name: "implementation";
|
|
1322
|
+
readonly type: "address";
|
|
1323
|
+
}];
|
|
1324
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
1325
|
+
readonly type: "error";
|
|
1326
|
+
}, {
|
|
1327
|
+
readonly inputs: readonly [];
|
|
1328
|
+
readonly name: "ERC1967NonPayable";
|
|
1329
|
+
readonly type: "error";
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly inputs: readonly [{
|
|
1332
|
+
readonly internalType: "uint256";
|
|
1333
|
+
readonly name: "requestId";
|
|
1334
|
+
readonly type: "uint256";
|
|
1335
|
+
}];
|
|
1336
|
+
readonly name: "ERC7984InvalidGatewayRequest";
|
|
1337
|
+
readonly type: "error";
|
|
1338
|
+
}, {
|
|
1339
|
+
readonly inputs: readonly [{
|
|
1340
|
+
readonly internalType: "address";
|
|
1341
|
+
readonly name: "receiver";
|
|
1342
|
+
readonly type: "address";
|
|
1343
|
+
}];
|
|
1344
|
+
readonly name: "ERC7984InvalidReceiver";
|
|
1345
|
+
readonly type: "error";
|
|
1346
|
+
}, {
|
|
1347
|
+
readonly inputs: readonly [{
|
|
1348
|
+
readonly internalType: "address";
|
|
1349
|
+
readonly name: "receiver";
|
|
1350
|
+
readonly type: "address";
|
|
1351
|
+
}];
|
|
1352
|
+
readonly name: "ERC7984InvalidReceiver";
|
|
1353
|
+
readonly type: "error";
|
|
1354
|
+
}, {
|
|
1355
|
+
readonly inputs: readonly [{
|
|
1356
|
+
readonly internalType: "address";
|
|
1357
|
+
readonly name: "sender";
|
|
1358
|
+
readonly type: "address";
|
|
1359
|
+
}];
|
|
1360
|
+
readonly name: "ERC7984InvalidSender";
|
|
1361
|
+
readonly type: "error";
|
|
1362
|
+
}, {
|
|
1363
|
+
readonly inputs: readonly [];
|
|
1364
|
+
readonly name: "ERC7984TotalSupplyOverflow";
|
|
1365
|
+
readonly type: "error";
|
|
1366
|
+
}, {
|
|
1367
|
+
readonly inputs: readonly [{
|
|
1368
|
+
readonly internalType: "address";
|
|
1369
|
+
readonly name: "caller";
|
|
1370
|
+
readonly type: "address";
|
|
1371
|
+
}];
|
|
1372
|
+
readonly name: "ERC7984UnauthorizedCaller";
|
|
1373
|
+
readonly type: "error";
|
|
1374
|
+
}, {
|
|
1375
|
+
readonly inputs: readonly [{
|
|
1376
|
+
readonly internalType: "address";
|
|
1377
|
+
readonly name: "holder";
|
|
1378
|
+
readonly type: "address";
|
|
1379
|
+
}, {
|
|
1380
|
+
readonly internalType: "address";
|
|
1381
|
+
readonly name: "spender";
|
|
1382
|
+
readonly type: "address";
|
|
1383
|
+
}];
|
|
1384
|
+
readonly name: "ERC7984UnauthorizedSpender";
|
|
1385
|
+
readonly type: "error";
|
|
1386
|
+
}, {
|
|
1387
|
+
readonly inputs: readonly [{
|
|
1388
|
+
readonly internalType: "euint64";
|
|
1389
|
+
readonly name: "amount";
|
|
1390
|
+
readonly type: "bytes32";
|
|
1391
|
+
}, {
|
|
1392
|
+
readonly internalType: "address";
|
|
1393
|
+
readonly name: "user";
|
|
1394
|
+
readonly type: "address";
|
|
1395
|
+
}];
|
|
1396
|
+
readonly name: "ERC7984UnauthorizedUseOfEncryptedAmount";
|
|
1397
|
+
readonly type: "error";
|
|
1398
|
+
}, {
|
|
1399
|
+
readonly inputs: readonly [{
|
|
1400
|
+
readonly internalType: "address";
|
|
1401
|
+
readonly name: "holder";
|
|
1402
|
+
readonly type: "address";
|
|
1403
|
+
}];
|
|
1404
|
+
readonly name: "ERC7984ZeroBalance";
|
|
1405
|
+
readonly type: "error";
|
|
1406
|
+
}, {
|
|
1407
|
+
readonly inputs: readonly [];
|
|
1408
|
+
readonly name: "FailedCall";
|
|
1409
|
+
readonly type: "error";
|
|
1410
|
+
}, {
|
|
1411
|
+
readonly inputs: readonly [];
|
|
1412
|
+
readonly name: "IncorrectEthAmount";
|
|
1413
|
+
readonly type: "error";
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly inputs: readonly [];
|
|
1416
|
+
readonly name: "InvalidInitialization";
|
|
1417
|
+
readonly type: "error";
|
|
1418
|
+
}, {
|
|
1419
|
+
readonly inputs: readonly [];
|
|
1420
|
+
readonly name: "InvalidKMSSignatures";
|
|
1421
|
+
readonly type: "error";
|
|
1422
|
+
}, {
|
|
1423
|
+
readonly inputs: readonly [{
|
|
1424
|
+
readonly internalType: "euint64";
|
|
1425
|
+
readonly name: "amount";
|
|
1426
|
+
readonly type: "bytes32";
|
|
1427
|
+
}];
|
|
1428
|
+
readonly name: "InvalidUnwrapRequest";
|
|
1429
|
+
readonly type: "error";
|
|
1430
|
+
}, {
|
|
1431
|
+
readonly inputs: readonly [];
|
|
1432
|
+
readonly name: "NotInitializing";
|
|
1433
|
+
readonly type: "error";
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly inputs: readonly [{
|
|
1436
|
+
readonly internalType: "address";
|
|
1437
|
+
readonly name: "owner";
|
|
1438
|
+
readonly type: "address";
|
|
1439
|
+
}];
|
|
1440
|
+
readonly name: "OwnableInvalidOwner";
|
|
1441
|
+
readonly type: "error";
|
|
1442
|
+
}, {
|
|
1443
|
+
readonly inputs: readonly [{
|
|
1444
|
+
readonly internalType: "address";
|
|
1445
|
+
readonly name: "account";
|
|
1446
|
+
readonly type: "address";
|
|
1447
|
+
}];
|
|
1448
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
1449
|
+
readonly type: "error";
|
|
1450
|
+
}, {
|
|
1451
|
+
readonly inputs: readonly [];
|
|
1452
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
1453
|
+
readonly type: "error";
|
|
1454
|
+
}, {
|
|
1455
|
+
readonly inputs: readonly [{
|
|
1456
|
+
readonly internalType: "uint8";
|
|
1457
|
+
readonly name: "bits";
|
|
1458
|
+
readonly type: "uint8";
|
|
1459
|
+
}, {
|
|
1460
|
+
readonly internalType: "uint256";
|
|
1461
|
+
readonly name: "value";
|
|
1462
|
+
readonly type: "uint256";
|
|
1463
|
+
}];
|
|
1464
|
+
readonly name: "SafeCastOverflowedUintDowncast";
|
|
1465
|
+
readonly type: "error";
|
|
1466
|
+
}, {
|
|
1467
|
+
readonly inputs: readonly [{
|
|
1468
|
+
readonly internalType: "address";
|
|
1469
|
+
readonly name: "token";
|
|
1470
|
+
readonly type: "address";
|
|
1471
|
+
}];
|
|
1472
|
+
readonly name: "SafeERC20FailedOperation";
|
|
1473
|
+
readonly type: "error";
|
|
1474
|
+
}, {
|
|
1475
|
+
readonly inputs: readonly [{
|
|
1476
|
+
readonly internalType: "address";
|
|
1477
|
+
readonly name: "account";
|
|
1478
|
+
readonly type: "address";
|
|
1479
|
+
}];
|
|
1480
|
+
readonly name: "SanctionedAddress";
|
|
1481
|
+
readonly type: "error";
|
|
1482
|
+
}, {
|
|
1483
|
+
readonly inputs: readonly [{
|
|
1484
|
+
readonly internalType: "bytes32";
|
|
1485
|
+
readonly name: "handle";
|
|
1486
|
+
readonly type: "bytes32";
|
|
1487
|
+
}, {
|
|
1488
|
+
readonly internalType: "address";
|
|
1489
|
+
readonly name: "sender";
|
|
1490
|
+
readonly type: "address";
|
|
1491
|
+
}];
|
|
1492
|
+
readonly name: "SenderNotAllowedToUseHandle";
|
|
1493
|
+
readonly type: "error";
|
|
1494
|
+
}, {
|
|
1495
|
+
readonly inputs: readonly [];
|
|
1496
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
1497
|
+
readonly type: "error";
|
|
1498
|
+
}, {
|
|
1499
|
+
readonly inputs: readonly [{
|
|
1500
|
+
readonly internalType: "bytes32";
|
|
1501
|
+
readonly name: "slot";
|
|
1502
|
+
readonly type: "bytes32";
|
|
1503
|
+
}];
|
|
1504
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
1505
|
+
readonly type: "error";
|
|
1506
|
+
}, {
|
|
1507
|
+
readonly inputs: readonly [{
|
|
1508
|
+
readonly internalType: "euint64";
|
|
1509
|
+
readonly name: "burntAmount";
|
|
1510
|
+
readonly type: "bytes32";
|
|
1511
|
+
}, {
|
|
1512
|
+
readonly internalType: "address";
|
|
1513
|
+
readonly name: "caller";
|
|
1514
|
+
readonly type: "address";
|
|
1515
|
+
}, {
|
|
1516
|
+
readonly internalType: "address";
|
|
1517
|
+
readonly name: "unwrapInitiator";
|
|
1518
|
+
readonly type: "address";
|
|
1519
|
+
}];
|
|
1520
|
+
readonly name: "UnauthorizedFinalizeUnwrapCaller";
|
|
1521
|
+
readonly type: "error";
|
|
1522
|
+
}, {
|
|
1523
|
+
readonly inputs: readonly [];
|
|
1524
|
+
readonly name: "WrapperBalanceExceedsMaxSupply";
|
|
1525
|
+
readonly type: "error";
|
|
1526
|
+
}, {
|
|
1527
|
+
readonly inputs: readonly [];
|
|
1528
|
+
readonly name: "ZamaProtocolUnsupported";
|
|
1529
|
+
readonly type: "error";
|
|
1530
|
+
}, {
|
|
1531
|
+
readonly anonymous: false;
|
|
1532
|
+
readonly inputs: readonly [{
|
|
1533
|
+
readonly indexed: true;
|
|
1534
|
+
readonly internalType: "euint64";
|
|
1535
|
+
readonly name: "encryptedAmount";
|
|
1536
|
+
readonly type: "bytes32";
|
|
1537
|
+
}, {
|
|
1538
|
+
readonly indexed: true;
|
|
1539
|
+
readonly internalType: "address";
|
|
1540
|
+
readonly name: "requester";
|
|
1541
|
+
readonly type: "address";
|
|
1542
|
+
}];
|
|
1543
|
+
readonly name: "AmountDiscloseRequested";
|
|
1544
|
+
readonly type: "event";
|
|
1545
|
+
}, {
|
|
1546
|
+
readonly anonymous: false;
|
|
1547
|
+
readonly inputs: readonly [{
|
|
1548
|
+
readonly indexed: true;
|
|
1549
|
+
readonly internalType: "euint64";
|
|
1550
|
+
readonly name: "encryptedAmount";
|
|
1551
|
+
readonly type: "bytes32";
|
|
1552
|
+
}, {
|
|
1553
|
+
readonly indexed: false;
|
|
1554
|
+
readonly internalType: "uint64";
|
|
1555
|
+
readonly name: "amount";
|
|
1556
|
+
readonly type: "uint64";
|
|
1557
|
+
}];
|
|
1558
|
+
readonly name: "AmountDisclosed";
|
|
1559
|
+
readonly type: "event";
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly anonymous: false;
|
|
1562
|
+
readonly inputs: readonly [{
|
|
1563
|
+
readonly indexed: true;
|
|
1564
|
+
readonly internalType: "address";
|
|
1565
|
+
readonly name: "from";
|
|
1566
|
+
readonly type: "address";
|
|
1567
|
+
}, {
|
|
1568
|
+
readonly indexed: false;
|
|
1569
|
+
readonly internalType: "euint64";
|
|
1570
|
+
readonly name: "amount";
|
|
1571
|
+
readonly type: "bytes32";
|
|
1572
|
+
}, {
|
|
1573
|
+
readonly indexed: false;
|
|
1574
|
+
readonly internalType: "uint256";
|
|
1575
|
+
readonly name: "txId";
|
|
1576
|
+
readonly type: "uint256";
|
|
1577
|
+
}];
|
|
1578
|
+
readonly name: "BurnInfo";
|
|
1579
|
+
readonly type: "event";
|
|
1580
|
+
}, {
|
|
1581
|
+
readonly anonymous: false;
|
|
1582
|
+
readonly inputs: readonly [{
|
|
1583
|
+
readonly indexed: true;
|
|
1584
|
+
readonly internalType: "address";
|
|
1585
|
+
readonly name: "from";
|
|
1586
|
+
readonly type: "address";
|
|
1587
|
+
}, {
|
|
1588
|
+
readonly indexed: true;
|
|
1589
|
+
readonly internalType: "address";
|
|
1590
|
+
readonly name: "to";
|
|
1591
|
+
readonly type: "address";
|
|
1592
|
+
}, {
|
|
1593
|
+
readonly indexed: true;
|
|
1594
|
+
readonly internalType: "euint64";
|
|
1595
|
+
readonly name: "amount";
|
|
1596
|
+
readonly type: "bytes32";
|
|
1597
|
+
}];
|
|
1598
|
+
readonly name: "ConfidentialTransfer";
|
|
1599
|
+
readonly type: "event";
|
|
1600
|
+
}, {
|
|
1601
|
+
readonly anonymous: false;
|
|
1602
|
+
readonly inputs: readonly [{
|
|
1603
|
+
readonly indexed: false;
|
|
1604
|
+
readonly internalType: "uint64";
|
|
1605
|
+
readonly name: "version";
|
|
1606
|
+
readonly type: "uint64";
|
|
1607
|
+
}];
|
|
1608
|
+
readonly name: "Initialized";
|
|
1609
|
+
readonly type: "event";
|
|
1610
|
+
}, {
|
|
1611
|
+
readonly anonymous: false;
|
|
1612
|
+
readonly inputs: readonly [{
|
|
1613
|
+
readonly indexed: true;
|
|
1614
|
+
readonly internalType: "address";
|
|
1615
|
+
readonly name: "to";
|
|
1616
|
+
readonly type: "address";
|
|
1617
|
+
}, {
|
|
1618
|
+
readonly indexed: false;
|
|
1619
|
+
readonly internalType: "uint64";
|
|
1620
|
+
readonly name: "amount";
|
|
1621
|
+
readonly type: "uint64";
|
|
1622
|
+
}, {
|
|
1623
|
+
readonly indexed: false;
|
|
1624
|
+
readonly internalType: "uint256";
|
|
1625
|
+
readonly name: "txId";
|
|
1626
|
+
readonly type: "uint256";
|
|
1627
|
+
}];
|
|
1628
|
+
readonly name: "MintInfo";
|
|
1629
|
+
readonly type: "event";
|
|
1630
|
+
}, {
|
|
1631
|
+
readonly anonymous: false;
|
|
1632
|
+
readonly inputs: readonly [{
|
|
1633
|
+
readonly indexed: true;
|
|
1634
|
+
readonly internalType: "address";
|
|
1635
|
+
readonly name: "holder";
|
|
1636
|
+
readonly type: "address";
|
|
1637
|
+
}, {
|
|
1638
|
+
readonly indexed: true;
|
|
1639
|
+
readonly internalType: "address";
|
|
1640
|
+
readonly name: "operator";
|
|
1641
|
+
readonly type: "address";
|
|
1642
|
+
}, {
|
|
1643
|
+
readonly indexed: false;
|
|
1644
|
+
readonly internalType: "uint48";
|
|
1645
|
+
readonly name: "until";
|
|
1646
|
+
readonly type: "uint48";
|
|
1647
|
+
}];
|
|
1648
|
+
readonly name: "OperatorSet";
|
|
1649
|
+
readonly type: "event";
|
|
1650
|
+
}, {
|
|
1651
|
+
readonly anonymous: false;
|
|
1652
|
+
readonly inputs: readonly [{
|
|
1653
|
+
readonly indexed: true;
|
|
1654
|
+
readonly internalType: "address";
|
|
1655
|
+
readonly name: "previousOwner";
|
|
1656
|
+
readonly type: "address";
|
|
1657
|
+
}, {
|
|
1658
|
+
readonly indexed: true;
|
|
1659
|
+
readonly internalType: "address";
|
|
1660
|
+
readonly name: "newOwner";
|
|
1661
|
+
readonly type: "address";
|
|
1662
|
+
}];
|
|
1663
|
+
readonly name: "OwnershipTransferStarted";
|
|
1664
|
+
readonly type: "event";
|
|
1665
|
+
}, {
|
|
1666
|
+
readonly anonymous: false;
|
|
1667
|
+
readonly inputs: readonly [{
|
|
1668
|
+
readonly indexed: true;
|
|
1669
|
+
readonly internalType: "address";
|
|
1670
|
+
readonly name: "previousOwner";
|
|
1671
|
+
readonly type: "address";
|
|
1672
|
+
}, {
|
|
1673
|
+
readonly indexed: true;
|
|
1674
|
+
readonly internalType: "address";
|
|
1675
|
+
readonly name: "newOwner";
|
|
1676
|
+
readonly type: "address";
|
|
1677
|
+
}];
|
|
1678
|
+
readonly name: "OwnershipTransferred";
|
|
1679
|
+
readonly type: "event";
|
|
1680
|
+
}, {
|
|
1681
|
+
readonly anonymous: false;
|
|
1682
|
+
readonly inputs: readonly [{
|
|
1683
|
+
readonly indexed: false;
|
|
1684
|
+
readonly internalType: "bytes32[]";
|
|
1685
|
+
readonly name: "handlesList";
|
|
1686
|
+
readonly type: "bytes32[]";
|
|
1687
|
+
}, {
|
|
1688
|
+
readonly indexed: false;
|
|
1689
|
+
readonly internalType: "bytes";
|
|
1690
|
+
readonly name: "abiEncodedCleartexts";
|
|
1691
|
+
readonly type: "bytes";
|
|
1692
|
+
}];
|
|
1693
|
+
readonly name: "PublicDecryptionVerified";
|
|
1694
|
+
readonly type: "event";
|
|
1695
|
+
}, {
|
|
1696
|
+
readonly anonymous: false;
|
|
1697
|
+
readonly inputs: readonly [{
|
|
1698
|
+
readonly indexed: true;
|
|
1699
|
+
readonly internalType: "address";
|
|
1700
|
+
readonly name: "oldRegulator";
|
|
1701
|
+
readonly type: "address";
|
|
1702
|
+
}, {
|
|
1703
|
+
readonly indexed: true;
|
|
1704
|
+
readonly internalType: "address";
|
|
1705
|
+
readonly name: "newRegulator";
|
|
1706
|
+
readonly type: "address";
|
|
1707
|
+
}];
|
|
1708
|
+
readonly name: "TokenRegulatorUpdated";
|
|
1709
|
+
readonly type: "event";
|
|
1710
|
+
}, {
|
|
1711
|
+
readonly anonymous: false;
|
|
1712
|
+
readonly inputs: readonly [{
|
|
1713
|
+
readonly indexed: true;
|
|
1714
|
+
readonly internalType: "address";
|
|
1715
|
+
readonly name: "from";
|
|
1716
|
+
readonly type: "address";
|
|
1717
|
+
}, {
|
|
1718
|
+
readonly indexed: true;
|
|
1719
|
+
readonly internalType: "address";
|
|
1720
|
+
readonly name: "to";
|
|
1721
|
+
readonly type: "address";
|
|
1722
|
+
}, {
|
|
1723
|
+
readonly indexed: false;
|
|
1724
|
+
readonly internalType: "euint64";
|
|
1725
|
+
readonly name: "encryptedAmount";
|
|
1726
|
+
readonly type: "bytes32";
|
|
1727
|
+
}, {
|
|
1728
|
+
readonly indexed: false;
|
|
1729
|
+
readonly internalType: "uint256";
|
|
1730
|
+
readonly name: "txId";
|
|
1731
|
+
readonly type: "uint256";
|
|
1732
|
+
}];
|
|
1733
|
+
readonly name: "TransferInfo";
|
|
1734
|
+
readonly type: "event";
|
|
1735
|
+
}, {
|
|
1736
|
+
readonly anonymous: false;
|
|
1737
|
+
readonly inputs: readonly [{
|
|
1738
|
+
readonly indexed: true;
|
|
1739
|
+
readonly internalType: "address";
|
|
1740
|
+
readonly name: "receiver";
|
|
1741
|
+
readonly type: "address";
|
|
1742
|
+
}, {
|
|
1743
|
+
readonly indexed: false;
|
|
1744
|
+
readonly internalType: "euint64";
|
|
1745
|
+
readonly name: "encryptedAmount";
|
|
1746
|
+
readonly type: "bytes32";
|
|
1747
|
+
}, {
|
|
1748
|
+
readonly indexed: false;
|
|
1749
|
+
readonly internalType: "uint64";
|
|
1750
|
+
readonly name: "cleartextAmount";
|
|
1751
|
+
readonly type: "uint64";
|
|
1752
|
+
}];
|
|
1753
|
+
readonly name: "UnwrapFinalized";
|
|
1754
|
+
readonly type: "event";
|
|
1755
|
+
}, {
|
|
1756
|
+
readonly anonymous: false;
|
|
1757
|
+
readonly inputs: readonly [{
|
|
1758
|
+
readonly indexed: true;
|
|
1759
|
+
readonly internalType: "address";
|
|
1760
|
+
readonly name: "receiver";
|
|
1761
|
+
readonly type: "address";
|
|
1762
|
+
}, {
|
|
1763
|
+
readonly indexed: false;
|
|
1764
|
+
readonly internalType: "euint64";
|
|
1765
|
+
readonly name: "amount";
|
|
1766
|
+
readonly type: "bytes32";
|
|
1767
|
+
}];
|
|
1768
|
+
readonly name: "UnwrapRequested";
|
|
1769
|
+
readonly type: "event";
|
|
1770
|
+
}, {
|
|
1771
|
+
readonly anonymous: false;
|
|
1772
|
+
readonly inputs: readonly [{
|
|
1773
|
+
readonly indexed: false;
|
|
1774
|
+
readonly internalType: "bool";
|
|
1775
|
+
readonly name: "returnVal";
|
|
1776
|
+
readonly type: "bool";
|
|
1777
|
+
}, {
|
|
1778
|
+
readonly indexed: true;
|
|
1779
|
+
readonly internalType: "uint256";
|
|
1780
|
+
readonly name: "requestId";
|
|
1781
|
+
readonly type: "uint256";
|
|
1782
|
+
}, {
|
|
1783
|
+
readonly indexed: true;
|
|
1784
|
+
readonly internalType: "uint256";
|
|
1785
|
+
readonly name: "txId";
|
|
1786
|
+
readonly type: "uint256";
|
|
1787
|
+
}, {
|
|
1788
|
+
readonly indexed: true;
|
|
1789
|
+
readonly internalType: "address";
|
|
1790
|
+
readonly name: "to";
|
|
1791
|
+
readonly type: "address";
|
|
1792
|
+
}, {
|
|
1793
|
+
readonly indexed: false;
|
|
1794
|
+
readonly internalType: "address";
|
|
1795
|
+
readonly name: "refund";
|
|
1796
|
+
readonly type: "address";
|
|
1797
|
+
}, {
|
|
1798
|
+
readonly indexed: false;
|
|
1799
|
+
readonly internalType: "euint64";
|
|
1800
|
+
readonly name: "requestedAmount";
|
|
1801
|
+
readonly type: "bytes32";
|
|
1802
|
+
}, {
|
|
1803
|
+
readonly indexed: false;
|
|
1804
|
+
readonly internalType: "euint64";
|
|
1805
|
+
readonly name: "burnAmount";
|
|
1806
|
+
readonly type: "bytes32";
|
|
1807
|
+
}];
|
|
1808
|
+
readonly name: "UnwrappedStarted";
|
|
1809
|
+
readonly type: "event";
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly anonymous: false;
|
|
1812
|
+
readonly inputs: readonly [{
|
|
1813
|
+
readonly indexed: true;
|
|
1814
|
+
readonly internalType: "address";
|
|
1815
|
+
readonly name: "implementation";
|
|
1816
|
+
readonly type: "address";
|
|
1817
|
+
}];
|
|
1818
|
+
readonly name: "Upgraded";
|
|
1819
|
+
readonly type: "event";
|
|
1820
|
+
}, {
|
|
1821
|
+
readonly anonymous: false;
|
|
1822
|
+
readonly inputs: readonly [{
|
|
1823
|
+
readonly indexed: true;
|
|
1824
|
+
readonly internalType: "address";
|
|
1825
|
+
readonly name: "to";
|
|
1826
|
+
readonly type: "address";
|
|
1827
|
+
}, {
|
|
1828
|
+
readonly indexed: false;
|
|
1829
|
+
readonly internalType: "uint256";
|
|
1830
|
+
readonly name: "amountIn";
|
|
1831
|
+
readonly type: "uint256";
|
|
1832
|
+
}];
|
|
1833
|
+
readonly name: "Wrapped";
|
|
1834
|
+
readonly type: "event";
|
|
1835
|
+
}, {
|
|
1836
|
+
readonly inputs: readonly [];
|
|
1837
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
1838
|
+
readonly outputs: readonly [{
|
|
1839
|
+
readonly internalType: "string";
|
|
1840
|
+
readonly name: "";
|
|
1841
|
+
readonly type: "string";
|
|
1842
|
+
}];
|
|
1843
|
+
readonly stateMutability: "view";
|
|
1844
|
+
readonly type: "function";
|
|
1845
|
+
}, {
|
|
1846
|
+
readonly inputs: readonly [];
|
|
1847
|
+
readonly name: "acceptOwnership";
|
|
1848
|
+
readonly outputs: readonly [];
|
|
1849
|
+
readonly stateMutability: "nonpayable";
|
|
1850
|
+
readonly type: "function";
|
|
1851
|
+
}, {
|
|
1852
|
+
readonly inputs: readonly [{
|
|
1853
|
+
readonly internalType: "address";
|
|
1854
|
+
readonly name: "account";
|
|
1855
|
+
readonly type: "address";
|
|
1856
|
+
}];
|
|
1857
|
+
readonly name: "confidentialBalanceOf";
|
|
1858
|
+
readonly outputs: readonly [{
|
|
1859
|
+
readonly internalType: "euint64";
|
|
1860
|
+
readonly name: "";
|
|
1861
|
+
readonly type: "bytes32";
|
|
1862
|
+
}];
|
|
1863
|
+
readonly stateMutability: "view";
|
|
1864
|
+
readonly type: "function";
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly inputs: readonly [];
|
|
1867
|
+
readonly name: "confidentialProtocolId";
|
|
1868
|
+
readonly outputs: readonly [{
|
|
1869
|
+
readonly internalType: "uint256";
|
|
1870
|
+
readonly name: "";
|
|
1871
|
+
readonly type: "uint256";
|
|
1872
|
+
}];
|
|
1873
|
+
readonly stateMutability: "view";
|
|
1874
|
+
readonly type: "function";
|
|
1875
|
+
}, {
|
|
1876
|
+
readonly inputs: readonly [];
|
|
1877
|
+
readonly name: "confidentialTotalSupply";
|
|
1878
|
+
readonly outputs: readonly [{
|
|
1879
|
+
readonly internalType: "euint64";
|
|
1880
|
+
readonly name: "";
|
|
1881
|
+
readonly type: "bytes32";
|
|
1882
|
+
}];
|
|
1883
|
+
readonly stateMutability: "view";
|
|
1884
|
+
readonly type: "function";
|
|
1885
|
+
}, {
|
|
1886
|
+
readonly inputs: readonly [{
|
|
1887
|
+
readonly internalType: "address";
|
|
1888
|
+
readonly name: "to";
|
|
1889
|
+
readonly type: "address";
|
|
1890
|
+
}, {
|
|
1891
|
+
readonly internalType: "externalEuint64";
|
|
1892
|
+
readonly name: "encryptedAmount";
|
|
1893
|
+
readonly type: "bytes32";
|
|
1894
|
+
}, {
|
|
1895
|
+
readonly internalType: "bytes";
|
|
1896
|
+
readonly name: "inputProof";
|
|
1897
|
+
readonly type: "bytes";
|
|
1898
|
+
}];
|
|
1899
|
+
readonly name: "confidentialTransfer";
|
|
1900
|
+
readonly outputs: readonly [{
|
|
1901
|
+
readonly internalType: "euint64";
|
|
1902
|
+
readonly name: "";
|
|
1903
|
+
readonly type: "bytes32";
|
|
1904
|
+
}];
|
|
1905
|
+
readonly stateMutability: "nonpayable";
|
|
1906
|
+
readonly type: "function";
|
|
1907
|
+
}, {
|
|
1908
|
+
readonly inputs: readonly [{
|
|
1909
|
+
readonly internalType: "address";
|
|
1910
|
+
readonly name: "to";
|
|
1911
|
+
readonly type: "address";
|
|
1912
|
+
}, {
|
|
1913
|
+
readonly internalType: "euint64";
|
|
1914
|
+
readonly name: "amount";
|
|
1915
|
+
readonly type: "bytes32";
|
|
1916
|
+
}];
|
|
1917
|
+
readonly name: "confidentialTransfer";
|
|
1918
|
+
readonly outputs: readonly [{
|
|
1919
|
+
readonly internalType: "euint64";
|
|
1920
|
+
readonly name: "";
|
|
1921
|
+
readonly type: "bytes32";
|
|
1922
|
+
}];
|
|
1923
|
+
readonly stateMutability: "nonpayable";
|
|
1924
|
+
readonly type: "function";
|
|
1925
|
+
}, {
|
|
1926
|
+
readonly inputs: readonly [{
|
|
1927
|
+
readonly internalType: "address";
|
|
1928
|
+
readonly name: "to";
|
|
1929
|
+
readonly type: "address";
|
|
1930
|
+
}, {
|
|
1931
|
+
readonly internalType: "euint64";
|
|
1932
|
+
readonly name: "amount";
|
|
1933
|
+
readonly type: "bytes32";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly internalType: "bytes";
|
|
1936
|
+
readonly name: "data";
|
|
1937
|
+
readonly type: "bytes";
|
|
1938
|
+
}];
|
|
1939
|
+
readonly name: "confidentialTransferAndCall";
|
|
1940
|
+
readonly outputs: readonly [{
|
|
1941
|
+
readonly internalType: "euint64";
|
|
1942
|
+
readonly name: "transferred";
|
|
1943
|
+
readonly type: "bytes32";
|
|
1944
|
+
}];
|
|
1945
|
+
readonly stateMutability: "nonpayable";
|
|
1946
|
+
readonly type: "function";
|
|
1947
|
+
}, {
|
|
1948
|
+
readonly inputs: readonly [{
|
|
1949
|
+
readonly internalType: "address";
|
|
1950
|
+
readonly name: "to";
|
|
1951
|
+
readonly type: "address";
|
|
1952
|
+
}, {
|
|
1953
|
+
readonly internalType: "externalEuint64";
|
|
1954
|
+
readonly name: "encryptedAmount";
|
|
1955
|
+
readonly type: "bytes32";
|
|
1956
|
+
}, {
|
|
1957
|
+
readonly internalType: "bytes";
|
|
1958
|
+
readonly name: "inputProof";
|
|
1959
|
+
readonly type: "bytes";
|
|
1960
|
+
}, {
|
|
1961
|
+
readonly internalType: "bytes";
|
|
1962
|
+
readonly name: "data";
|
|
1963
|
+
readonly type: "bytes";
|
|
1964
|
+
}];
|
|
1965
|
+
readonly name: "confidentialTransferAndCall";
|
|
1966
|
+
readonly outputs: readonly [{
|
|
1967
|
+
readonly internalType: "euint64";
|
|
1968
|
+
readonly name: "transferred";
|
|
1969
|
+
readonly type: "bytes32";
|
|
1970
|
+
}];
|
|
1971
|
+
readonly stateMutability: "nonpayable";
|
|
1972
|
+
readonly type: "function";
|
|
1973
|
+
}, {
|
|
1974
|
+
readonly inputs: readonly [{
|
|
1975
|
+
readonly internalType: "address";
|
|
1976
|
+
readonly name: "from";
|
|
1977
|
+
readonly type: "address";
|
|
1978
|
+
}, {
|
|
1979
|
+
readonly internalType: "address";
|
|
1980
|
+
readonly name: "to";
|
|
1981
|
+
readonly type: "address";
|
|
1982
|
+
}, {
|
|
1983
|
+
readonly internalType: "externalEuint64";
|
|
1984
|
+
readonly name: "encryptedAmount";
|
|
1985
|
+
readonly type: "bytes32";
|
|
1986
|
+
}, {
|
|
1987
|
+
readonly internalType: "bytes";
|
|
1988
|
+
readonly name: "inputProof";
|
|
1989
|
+
readonly type: "bytes";
|
|
1990
|
+
}];
|
|
1991
|
+
readonly name: "confidentialTransferFrom";
|
|
1992
|
+
readonly outputs: readonly [{
|
|
1993
|
+
readonly internalType: "euint64";
|
|
1994
|
+
readonly name: "transferred";
|
|
1995
|
+
readonly type: "bytes32";
|
|
1996
|
+
}];
|
|
1997
|
+
readonly stateMutability: "nonpayable";
|
|
1998
|
+
readonly type: "function";
|
|
1999
|
+
}, {
|
|
2000
|
+
readonly inputs: readonly [{
|
|
2001
|
+
readonly internalType: "address";
|
|
2002
|
+
readonly name: "from";
|
|
2003
|
+
readonly type: "address";
|
|
2004
|
+
}, {
|
|
2005
|
+
readonly internalType: "address";
|
|
2006
|
+
readonly name: "to";
|
|
2007
|
+
readonly type: "address";
|
|
2008
|
+
}, {
|
|
2009
|
+
readonly internalType: "euint64";
|
|
2010
|
+
readonly name: "amount";
|
|
2011
|
+
readonly type: "bytes32";
|
|
2012
|
+
}];
|
|
2013
|
+
readonly name: "confidentialTransferFrom";
|
|
2014
|
+
readonly outputs: readonly [{
|
|
2015
|
+
readonly internalType: "euint64";
|
|
2016
|
+
readonly name: "transferred";
|
|
2017
|
+
readonly type: "bytes32";
|
|
2018
|
+
}];
|
|
2019
|
+
readonly stateMutability: "nonpayable";
|
|
2020
|
+
readonly type: "function";
|
|
2021
|
+
}, {
|
|
2022
|
+
readonly inputs: readonly [{
|
|
2023
|
+
readonly internalType: "address";
|
|
2024
|
+
readonly name: "from";
|
|
2025
|
+
readonly type: "address";
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly internalType: "address";
|
|
2028
|
+
readonly name: "to";
|
|
2029
|
+
readonly type: "address";
|
|
2030
|
+
}, {
|
|
2031
|
+
readonly internalType: "externalEuint64";
|
|
2032
|
+
readonly name: "encryptedAmount";
|
|
2033
|
+
readonly type: "bytes32";
|
|
2034
|
+
}, {
|
|
2035
|
+
readonly internalType: "bytes";
|
|
2036
|
+
readonly name: "inputProof";
|
|
2037
|
+
readonly type: "bytes";
|
|
2038
|
+
}, {
|
|
2039
|
+
readonly internalType: "bytes";
|
|
2040
|
+
readonly name: "data";
|
|
2041
|
+
readonly type: "bytes";
|
|
2042
|
+
}];
|
|
2043
|
+
readonly name: "confidentialTransferFromAndCall";
|
|
2044
|
+
readonly outputs: readonly [{
|
|
2045
|
+
readonly internalType: "euint64";
|
|
2046
|
+
readonly name: "transferred";
|
|
2047
|
+
readonly type: "bytes32";
|
|
2048
|
+
}];
|
|
2049
|
+
readonly stateMutability: "nonpayable";
|
|
2050
|
+
readonly type: "function";
|
|
2051
|
+
}, {
|
|
2052
|
+
readonly inputs: readonly [{
|
|
2053
|
+
readonly internalType: "address";
|
|
2054
|
+
readonly name: "from";
|
|
2055
|
+
readonly type: "address";
|
|
2056
|
+
}, {
|
|
2057
|
+
readonly internalType: "address";
|
|
2058
|
+
readonly name: "to";
|
|
2059
|
+
readonly type: "address";
|
|
2060
|
+
}, {
|
|
2061
|
+
readonly internalType: "euint64";
|
|
2062
|
+
readonly name: "amount";
|
|
2063
|
+
readonly type: "bytes32";
|
|
2064
|
+
}, {
|
|
2065
|
+
readonly internalType: "bytes";
|
|
2066
|
+
readonly name: "data";
|
|
2067
|
+
readonly type: "bytes";
|
|
2068
|
+
}];
|
|
2069
|
+
readonly name: "confidentialTransferFromAndCall";
|
|
2070
|
+
readonly outputs: readonly [{
|
|
2071
|
+
readonly internalType: "euint64";
|
|
2072
|
+
readonly name: "transferred";
|
|
2073
|
+
readonly type: "bytes32";
|
|
2074
|
+
}];
|
|
2075
|
+
readonly stateMutability: "nonpayable";
|
|
2076
|
+
readonly type: "function";
|
|
2077
|
+
}, {
|
|
2078
|
+
readonly inputs: readonly [];
|
|
2079
|
+
readonly name: "contractURI";
|
|
2080
|
+
readonly outputs: readonly [{
|
|
2081
|
+
readonly internalType: "string";
|
|
2082
|
+
readonly name: "";
|
|
2083
|
+
readonly type: "string";
|
|
2084
|
+
}];
|
|
2085
|
+
readonly stateMutability: "view";
|
|
2086
|
+
readonly type: "function";
|
|
2087
|
+
}, {
|
|
2088
|
+
readonly inputs: readonly [];
|
|
2089
|
+
readonly name: "decimals";
|
|
2090
|
+
readonly outputs: readonly [{
|
|
2091
|
+
readonly internalType: "uint8";
|
|
2092
|
+
readonly name: "";
|
|
2093
|
+
readonly type: "uint8";
|
|
2094
|
+
}];
|
|
2095
|
+
readonly stateMutability: "view";
|
|
2096
|
+
readonly type: "function";
|
|
2097
|
+
}, {
|
|
2098
|
+
readonly inputs: readonly [{
|
|
2099
|
+
readonly internalType: "euint64";
|
|
2100
|
+
readonly name: "encryptedAmount";
|
|
2101
|
+
readonly type: "bytes32";
|
|
2102
|
+
}, {
|
|
2103
|
+
readonly internalType: "uint64";
|
|
2104
|
+
readonly name: "cleartextAmount";
|
|
2105
|
+
readonly type: "uint64";
|
|
2106
|
+
}, {
|
|
2107
|
+
readonly internalType: "bytes";
|
|
2108
|
+
readonly name: "decryptionProof";
|
|
2109
|
+
readonly type: "bytes";
|
|
2110
|
+
}];
|
|
2111
|
+
readonly name: "discloseEncryptedAmount";
|
|
2112
|
+
readonly outputs: readonly [];
|
|
2113
|
+
readonly stateMutability: "nonpayable";
|
|
2114
|
+
readonly type: "function";
|
|
2115
|
+
}, {
|
|
2116
|
+
readonly inputs: readonly [{
|
|
2117
|
+
readonly internalType: "euint64";
|
|
2118
|
+
readonly name: "burntAmount";
|
|
2119
|
+
readonly type: "bytes32";
|
|
2120
|
+
}, {
|
|
2121
|
+
readonly internalType: "uint64";
|
|
2122
|
+
readonly name: "burntAmountCleartext";
|
|
2123
|
+
readonly type: "uint64";
|
|
2124
|
+
}, {
|
|
2125
|
+
readonly internalType: "bytes";
|
|
2126
|
+
readonly name: "decryptionProof";
|
|
2127
|
+
readonly type: "bytes";
|
|
2128
|
+
}];
|
|
2129
|
+
readonly name: "finalizeUnwrap";
|
|
2130
|
+
readonly outputs: readonly [];
|
|
2131
|
+
readonly stateMutability: "nonpayable";
|
|
2132
|
+
readonly type: "function";
|
|
2133
|
+
}, {
|
|
2134
|
+
readonly inputs: readonly [{
|
|
2135
|
+
readonly internalType: "string";
|
|
2136
|
+
readonly name: "name_";
|
|
2137
|
+
readonly type: "string";
|
|
2138
|
+
}, {
|
|
2139
|
+
readonly internalType: "string";
|
|
2140
|
+
readonly name: "symbol_";
|
|
2141
|
+
readonly type: "string";
|
|
2142
|
+
}, {
|
|
2143
|
+
readonly internalType: "string";
|
|
2144
|
+
readonly name: "contractURI_";
|
|
2145
|
+
readonly type: "string";
|
|
2146
|
+
}, {
|
|
2147
|
+
readonly internalType: "contract IERC20";
|
|
2148
|
+
readonly name: "underlying_";
|
|
2149
|
+
readonly type: "address";
|
|
2150
|
+
}, {
|
|
2151
|
+
readonly internalType: "address";
|
|
2152
|
+
readonly name: "owner_";
|
|
2153
|
+
readonly type: "address";
|
|
2154
|
+
}];
|
|
2155
|
+
readonly name: "initialize";
|
|
2156
|
+
readonly outputs: readonly [];
|
|
2157
|
+
readonly stateMutability: "nonpayable";
|
|
2158
|
+
readonly type: "function";
|
|
2159
|
+
}, {
|
|
2160
|
+
readonly inputs: readonly [{
|
|
2161
|
+
readonly internalType: "address";
|
|
2162
|
+
readonly name: "holder";
|
|
2163
|
+
readonly type: "address";
|
|
2164
|
+
}, {
|
|
2165
|
+
readonly internalType: "address";
|
|
2166
|
+
readonly name: "spender";
|
|
2167
|
+
readonly type: "address";
|
|
2168
|
+
}];
|
|
2169
|
+
readonly name: "isOperator";
|
|
2170
|
+
readonly outputs: readonly [{
|
|
2171
|
+
readonly internalType: "bool";
|
|
2172
|
+
readonly name: "";
|
|
2173
|
+
readonly type: "bool";
|
|
2174
|
+
}];
|
|
2175
|
+
readonly stateMutability: "view";
|
|
2176
|
+
readonly type: "function";
|
|
2177
|
+
}, {
|
|
2178
|
+
readonly inputs: readonly [];
|
|
2179
|
+
readonly name: "maxTotalSupply";
|
|
2180
|
+
readonly outputs: readonly [{
|
|
2181
|
+
readonly internalType: "uint256";
|
|
2182
|
+
readonly name: "";
|
|
2183
|
+
readonly type: "uint256";
|
|
2184
|
+
}];
|
|
2185
|
+
readonly stateMutability: "view";
|
|
2186
|
+
readonly type: "function";
|
|
2187
|
+
}, {
|
|
2188
|
+
readonly inputs: readonly [];
|
|
2189
|
+
readonly name: "name";
|
|
2190
|
+
readonly outputs: readonly [{
|
|
2191
|
+
readonly internalType: "string";
|
|
2192
|
+
readonly name: "";
|
|
2193
|
+
readonly type: "string";
|
|
2194
|
+
}];
|
|
2195
|
+
readonly stateMutability: "view";
|
|
2196
|
+
readonly type: "function";
|
|
2197
|
+
}, {
|
|
2198
|
+
readonly inputs: readonly [];
|
|
2199
|
+
readonly name: "nextTxId";
|
|
2200
|
+
readonly outputs: readonly [{
|
|
2201
|
+
readonly internalType: "uint256";
|
|
2202
|
+
readonly name: "";
|
|
2203
|
+
readonly type: "uint256";
|
|
2204
|
+
}];
|
|
2205
|
+
readonly stateMutability: "view";
|
|
2206
|
+
readonly type: "function";
|
|
2207
|
+
}, {
|
|
2208
|
+
readonly inputs: readonly [{
|
|
2209
|
+
readonly internalType: "address";
|
|
2210
|
+
readonly name: "";
|
|
2211
|
+
readonly type: "address";
|
|
2212
|
+
}, {
|
|
2213
|
+
readonly internalType: "address";
|
|
2214
|
+
readonly name: "from";
|
|
2215
|
+
readonly type: "address";
|
|
2216
|
+
}, {
|
|
2217
|
+
readonly internalType: "uint256";
|
|
2218
|
+
readonly name: "amount";
|
|
2219
|
+
readonly type: "uint256";
|
|
2220
|
+
}, {
|
|
2221
|
+
readonly internalType: "bytes";
|
|
2222
|
+
readonly name: "data";
|
|
2223
|
+
readonly type: "bytes";
|
|
2224
|
+
}];
|
|
2225
|
+
readonly name: "onTransferReceived";
|
|
2226
|
+
readonly outputs: readonly [{
|
|
2227
|
+
readonly internalType: "bytes4";
|
|
2228
|
+
readonly name: "";
|
|
2229
|
+
readonly type: "bytes4";
|
|
2230
|
+
}];
|
|
2231
|
+
readonly stateMutability: "nonpayable";
|
|
2232
|
+
readonly type: "function";
|
|
2233
|
+
}, {
|
|
2234
|
+
readonly inputs: readonly [];
|
|
2235
|
+
readonly name: "owner";
|
|
2236
|
+
readonly outputs: readonly [{
|
|
2237
|
+
readonly internalType: "address";
|
|
2238
|
+
readonly name: "";
|
|
2239
|
+
readonly type: "address";
|
|
2240
|
+
}];
|
|
2241
|
+
readonly stateMutability: "view";
|
|
2242
|
+
readonly type: "function";
|
|
2243
|
+
}, {
|
|
2244
|
+
readonly inputs: readonly [];
|
|
2245
|
+
readonly name: "pendingOwner";
|
|
2246
|
+
readonly outputs: readonly [{
|
|
2247
|
+
readonly internalType: "address";
|
|
2248
|
+
readonly name: "";
|
|
2249
|
+
readonly type: "address";
|
|
2250
|
+
}];
|
|
2251
|
+
readonly stateMutability: "view";
|
|
2252
|
+
readonly type: "function";
|
|
2253
|
+
}, {
|
|
2254
|
+
readonly inputs: readonly [];
|
|
2255
|
+
readonly name: "proxiableUUID";
|
|
2256
|
+
readonly outputs: readonly [{
|
|
2257
|
+
readonly internalType: "bytes32";
|
|
2258
|
+
readonly name: "";
|
|
2259
|
+
readonly type: "bytes32";
|
|
2260
|
+
}];
|
|
2261
|
+
readonly stateMutability: "view";
|
|
2262
|
+
readonly type: "function";
|
|
2263
|
+
}, {
|
|
2264
|
+
readonly inputs: readonly [];
|
|
2265
|
+
readonly name: "rate";
|
|
2266
|
+
readonly outputs: readonly [{
|
|
2267
|
+
readonly internalType: "uint256";
|
|
2268
|
+
readonly name: "";
|
|
2269
|
+
readonly type: "uint256";
|
|
2270
|
+
}];
|
|
2271
|
+
readonly stateMutability: "view";
|
|
2272
|
+
readonly type: "function";
|
|
2273
|
+
}, {
|
|
2274
|
+
readonly inputs: readonly [];
|
|
2275
|
+
readonly name: "regulator";
|
|
2276
|
+
readonly outputs: readonly [{
|
|
2277
|
+
readonly internalType: "address";
|
|
2278
|
+
readonly name: "";
|
|
2279
|
+
readonly type: "address";
|
|
2280
|
+
}];
|
|
2281
|
+
readonly stateMutability: "view";
|
|
2282
|
+
readonly type: "function";
|
|
2283
|
+
}, {
|
|
2284
|
+
readonly inputs: readonly [];
|
|
2285
|
+
readonly name: "renounceOwnership";
|
|
2286
|
+
readonly outputs: readonly [];
|
|
2287
|
+
readonly stateMutability: "nonpayable";
|
|
2288
|
+
readonly type: "function";
|
|
2289
|
+
}, {
|
|
2290
|
+
readonly inputs: readonly [{
|
|
2291
|
+
readonly internalType: "euint64";
|
|
2292
|
+
readonly name: "encryptedAmount";
|
|
2293
|
+
readonly type: "bytes32";
|
|
2294
|
+
}];
|
|
2295
|
+
readonly name: "requestDiscloseEncryptedAmount";
|
|
2296
|
+
readonly outputs: readonly [];
|
|
2297
|
+
readonly stateMutability: "nonpayable";
|
|
2298
|
+
readonly type: "function";
|
|
2299
|
+
}, {
|
|
2300
|
+
readonly inputs: readonly [];
|
|
2301
|
+
readonly name: "requestId";
|
|
2302
|
+
readonly outputs: readonly [{
|
|
2303
|
+
readonly internalType: "uint256";
|
|
2304
|
+
readonly name: "";
|
|
2305
|
+
readonly type: "uint256";
|
|
2306
|
+
}];
|
|
2307
|
+
readonly stateMutability: "view";
|
|
2308
|
+
readonly type: "function";
|
|
2309
|
+
}, {
|
|
2310
|
+
readonly inputs: readonly [{
|
|
2311
|
+
readonly internalType: "address";
|
|
2312
|
+
readonly name: "operator";
|
|
2313
|
+
readonly type: "address";
|
|
2314
|
+
}, {
|
|
2315
|
+
readonly internalType: "uint48";
|
|
2316
|
+
readonly name: "until";
|
|
2317
|
+
readonly type: "uint48";
|
|
2318
|
+
}];
|
|
2319
|
+
readonly name: "setOperator";
|
|
2320
|
+
readonly outputs: readonly [];
|
|
2321
|
+
readonly stateMutability: "nonpayable";
|
|
2322
|
+
readonly type: "function";
|
|
2323
|
+
}, {
|
|
2324
|
+
readonly inputs: readonly [{
|
|
2325
|
+
readonly internalType: "address";
|
|
2326
|
+
readonly name: "newRegulator";
|
|
2327
|
+
readonly type: "address";
|
|
2328
|
+
}];
|
|
2329
|
+
readonly name: "setTokenRegulator";
|
|
2330
|
+
readonly outputs: readonly [];
|
|
2331
|
+
readonly stateMutability: "nonpayable";
|
|
2332
|
+
readonly type: "function";
|
|
2333
|
+
}, {
|
|
2334
|
+
readonly inputs: readonly [{
|
|
2335
|
+
readonly internalType: "bytes4";
|
|
2336
|
+
readonly name: "interfaceId";
|
|
2337
|
+
readonly type: "bytes4";
|
|
2338
|
+
}];
|
|
2339
|
+
readonly name: "supportsInterface";
|
|
2340
|
+
readonly outputs: readonly [{
|
|
2341
|
+
readonly internalType: "bool";
|
|
2342
|
+
readonly name: "";
|
|
2343
|
+
readonly type: "bool";
|
|
2344
|
+
}];
|
|
2345
|
+
readonly stateMutability: "view";
|
|
2346
|
+
readonly type: "function";
|
|
2347
|
+
}, {
|
|
2348
|
+
readonly inputs: readonly [];
|
|
2349
|
+
readonly name: "symbol";
|
|
2350
|
+
readonly outputs: readonly [{
|
|
2351
|
+
readonly internalType: "string";
|
|
2352
|
+
readonly name: "";
|
|
2353
|
+
readonly type: "string";
|
|
2354
|
+
}];
|
|
2355
|
+
readonly stateMutability: "view";
|
|
2356
|
+
readonly type: "function";
|
|
2357
|
+
}, {
|
|
2358
|
+
readonly inputs: readonly [];
|
|
2359
|
+
readonly name: "tokenRegulator";
|
|
2360
|
+
readonly outputs: readonly [{
|
|
2361
|
+
readonly internalType: "address";
|
|
2362
|
+
readonly name: "";
|
|
2363
|
+
readonly type: "address";
|
|
2364
|
+
}];
|
|
2365
|
+
readonly stateMutability: "view";
|
|
2366
|
+
readonly type: "function";
|
|
2367
|
+
}, {
|
|
2368
|
+
readonly inputs: readonly [];
|
|
2369
|
+
readonly name: "inferredTotalSupply";
|
|
1087
2370
|
readonly outputs: readonly [{
|
|
1088
2371
|
readonly internalType: "uint256";
|
|
1089
2372
|
readonly name: "";
|
|
@@ -1284,20 +2567,20 @@ declare function confidentialBalanceOfContract(tokenAddress: Address, userAddres
|
|
|
1284
2567
|
readonly stateMutability: "nonpayable";
|
|
1285
2568
|
readonly type: "function";
|
|
1286
2569
|
}];
|
|
1287
|
-
readonly functionName: "
|
|
1288
|
-
readonly args: readonly [`0x${string}`];
|
|
2570
|
+
readonly functionName: "confidentialTransfer";
|
|
2571
|
+
readonly args: readonly [`0x${string}`, `0x${string}`, `0x${string}`];
|
|
1289
2572
|
};
|
|
1290
2573
|
/**
|
|
1291
|
-
* Returns the contract config for a confidential
|
|
2574
|
+
* Returns the contract config for a confidential transferFrom.
|
|
1292
2575
|
*
|
|
1293
2576
|
* @example
|
|
1294
2577
|
* ```ts
|
|
1295
2578
|
* const txHash = await signer.writeContract(
|
|
1296
|
-
*
|
|
2579
|
+
* confidentialTransferFromContract(tokenAddress, from, to, handles[0], inputProof),
|
|
1297
2580
|
* );
|
|
1298
2581
|
* ```
|
|
1299
2582
|
*/
|
|
1300
|
-
declare function
|
|
2583
|
+
declare function confidentialTransferFromContract(encryptedErc20: Address, from: Address, to: Address, handle: Uint8Array, inputProof: Uint8Array): {
|
|
1301
2584
|
readonly address: `0x${string}`;
|
|
1302
2585
|
readonly abi: readonly [{
|
|
1303
2586
|
readonly inputs: readonly [];
|
|
@@ -2366,7 +3649,7 @@ declare function confidentialTransferContract(encryptedErc20: Address, to: Addre
|
|
|
2366
3649
|
readonly type: "function";
|
|
2367
3650
|
}, {
|
|
2368
3651
|
readonly inputs: readonly [];
|
|
2369
|
-
readonly name: "
|
|
3652
|
+
readonly name: "inferredTotalSupply";
|
|
2370
3653
|
readonly outputs: readonly [{
|
|
2371
3654
|
readonly internalType: "uint256";
|
|
2372
3655
|
readonly name: "";
|
|
@@ -2567,20 +3850,20 @@ declare function confidentialTransferContract(encryptedErc20: Address, to: Addre
|
|
|
2567
3850
|
readonly stateMutability: "nonpayable";
|
|
2568
3851
|
readonly type: "function";
|
|
2569
3852
|
}];
|
|
2570
|
-
readonly functionName: "
|
|
2571
|
-
readonly args: readonly [`0x${string}`, `0x${string}`, `0x${string}`];
|
|
3853
|
+
readonly functionName: "confidentialTransferFrom";
|
|
3854
|
+
readonly args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`];
|
|
2572
3855
|
};
|
|
2573
3856
|
/**
|
|
2574
|
-
* Returns the contract config for
|
|
3857
|
+
* Returns the contract config for checking operator status.
|
|
2575
3858
|
*
|
|
2576
3859
|
* @example
|
|
2577
3860
|
* ```ts
|
|
2578
|
-
* const
|
|
2579
|
-
*
|
|
3861
|
+
* const isApproved = await signer.readContract(
|
|
3862
|
+
* isOperatorContract(tokenAddress, holder, spender),
|
|
2580
3863
|
* );
|
|
2581
3864
|
* ```
|
|
2582
3865
|
*/
|
|
2583
|
-
declare function
|
|
3866
|
+
declare function isOperatorContract(tokenAddress: Address, holder: Address, spender: Address): {
|
|
2584
3867
|
readonly address: `0x${string}`;
|
|
2585
3868
|
readonly abi: readonly [{
|
|
2586
3869
|
readonly inputs: readonly [];
|
|
@@ -3649,7 +4932,7 @@ declare function confidentialTransferFromContract(encryptedErc20: Address, from:
|
|
|
3649
4932
|
readonly type: "function";
|
|
3650
4933
|
}, {
|
|
3651
4934
|
readonly inputs: readonly [];
|
|
3652
|
-
readonly name: "
|
|
4935
|
+
readonly name: "inferredTotalSupply";
|
|
3653
4936
|
readonly outputs: readonly [{
|
|
3654
4937
|
readonly internalType: "uint256";
|
|
3655
4938
|
readonly name: "";
|
|
@@ -3850,20 +5133,21 @@ declare function confidentialTransferFromContract(encryptedErc20: Address, from:
|
|
|
3850
5133
|
readonly stateMutability: "nonpayable";
|
|
3851
5134
|
readonly type: "function";
|
|
3852
5135
|
}];
|
|
3853
|
-
readonly functionName: "
|
|
3854
|
-
readonly args: readonly [`0x${string}`, `0x${string}
|
|
5136
|
+
readonly functionName: "isOperator";
|
|
5137
|
+
readonly args: readonly [`0x${string}`, `0x${string}`];
|
|
3855
5138
|
};
|
|
3856
5139
|
/**
|
|
3857
|
-
* Returns the contract config for
|
|
5140
|
+
* Returns the contract config for setting an operator.
|
|
5141
|
+
* Defaults timestamp to 1 hour from now.
|
|
3858
5142
|
*
|
|
3859
5143
|
* @example
|
|
3860
5144
|
* ```ts
|
|
3861
|
-
* const
|
|
3862
|
-
*
|
|
5145
|
+
* const txHash = await signer.writeContract(
|
|
5146
|
+
* setOperatorContract(tokenAddress, spender),
|
|
3863
5147
|
* );
|
|
3864
5148
|
* ```
|
|
3865
5149
|
*/
|
|
3866
|
-
declare function
|
|
5150
|
+
declare function setOperatorContract(tokenAddress: Address, spender: Address, timestamp?: number): {
|
|
3867
5151
|
readonly address: `0x${string}`;
|
|
3868
5152
|
readonly abi: readonly [{
|
|
3869
5153
|
readonly inputs: readonly [];
|
|
@@ -4932,7 +6216,7 @@ declare function isOperatorContract(tokenAddress: Address, holder: Address, spen
|
|
|
4932
6216
|
readonly type: "function";
|
|
4933
6217
|
}, {
|
|
4934
6218
|
readonly inputs: readonly [];
|
|
4935
|
-
readonly name: "
|
|
6219
|
+
readonly name: "inferredTotalSupply";
|
|
4936
6220
|
readonly outputs: readonly [{
|
|
4937
6221
|
readonly internalType: "uint256";
|
|
4938
6222
|
readonly name: "";
|
|
@@ -5133,21 +6417,20 @@ declare function isOperatorContract(tokenAddress: Address, holder: Address, spen
|
|
|
5133
6417
|
readonly stateMutability: "nonpayable";
|
|
5134
6418
|
readonly type: "function";
|
|
5135
6419
|
}];
|
|
5136
|
-
readonly functionName: "
|
|
5137
|
-
readonly args: readonly [`0x${string}`,
|
|
6420
|
+
readonly functionName: "setOperator";
|
|
6421
|
+
readonly args: readonly [`0x${string}`, number];
|
|
5138
6422
|
};
|
|
5139
6423
|
/**
|
|
5140
|
-
* Returns the contract config for
|
|
5141
|
-
* Defaults timestamp to 1 hour from now.
|
|
6424
|
+
* Returns the contract config for an unwrap with newly encrypted amount.
|
|
5142
6425
|
*
|
|
5143
6426
|
* @example
|
|
5144
6427
|
* ```ts
|
|
5145
6428
|
* const txHash = await signer.writeContract(
|
|
5146
|
-
*
|
|
6429
|
+
* unwrapContract(encryptedErc20, from, to, handles[0], inputProof),
|
|
5147
6430
|
* );
|
|
5148
6431
|
* ```
|
|
5149
6432
|
*/
|
|
5150
|
-
declare function
|
|
6433
|
+
declare function unwrapContract(encryptedErc20: Address, from: Address, to: Address, encryptedAmount: Uint8Array, inputProof: Uint8Array): {
|
|
5151
6434
|
readonly address: `0x${string}`;
|
|
5152
6435
|
readonly abi: readonly [{
|
|
5153
6436
|
readonly inputs: readonly [];
|
|
@@ -6216,7 +7499,7 @@ declare function setOperatorContract(tokenAddress: Address, spender: Address, ti
|
|
|
6216
7499
|
readonly type: "function";
|
|
6217
7500
|
}, {
|
|
6218
7501
|
readonly inputs: readonly [];
|
|
6219
|
-
readonly name: "
|
|
7502
|
+
readonly name: "inferredTotalSupply";
|
|
6220
7503
|
readonly outputs: readonly [{
|
|
6221
7504
|
readonly internalType: "uint256";
|
|
6222
7505
|
readonly name: "";
|
|
@@ -6417,20 +7700,20 @@ declare function setOperatorContract(tokenAddress: Address, spender: Address, ti
|
|
|
6417
7700
|
readonly stateMutability: "nonpayable";
|
|
6418
7701
|
readonly type: "function";
|
|
6419
7702
|
}];
|
|
6420
|
-
readonly functionName: "
|
|
6421
|
-
readonly args: readonly [`0x${string}`,
|
|
7703
|
+
readonly functionName: "unwrap";
|
|
7704
|
+
readonly args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`];
|
|
6422
7705
|
};
|
|
6423
7706
|
/**
|
|
6424
|
-
* Returns the contract config for an unwrap with
|
|
7707
|
+
* Returns the contract config for an unwrap with an existing balance handle.
|
|
6425
7708
|
*
|
|
6426
7709
|
* @example
|
|
6427
7710
|
* ```ts
|
|
6428
7711
|
* const txHash = await signer.writeContract(
|
|
6429
|
-
*
|
|
7712
|
+
* unwrapFromBalanceContract(encryptedErc20, from, to, encryptedBalance),
|
|
6430
7713
|
* );
|
|
6431
7714
|
* ```
|
|
6432
7715
|
*/
|
|
6433
|
-
declare function
|
|
7716
|
+
declare function unwrapFromBalanceContract(encryptedErc20: Address, from: Address, to: Address, encryptedBalance: Handle): {
|
|
6434
7717
|
readonly address: `0x${string}`;
|
|
6435
7718
|
readonly abi: readonly [{
|
|
6436
7719
|
readonly inputs: readonly [];
|
|
@@ -7499,7 +8782,7 @@ declare function unwrapContract(encryptedErc20: Address, from: Address, to: Addr
|
|
|
7499
8782
|
readonly type: "function";
|
|
7500
8783
|
}, {
|
|
7501
8784
|
readonly inputs: readonly [];
|
|
7502
|
-
readonly name: "
|
|
8785
|
+
readonly name: "inferredTotalSupply";
|
|
7503
8786
|
readonly outputs: readonly [{
|
|
7504
8787
|
readonly internalType: "uint256";
|
|
7505
8788
|
readonly name: "";
|
|
@@ -7701,19 +8984,19 @@ declare function unwrapContract(encryptedErc20: Address, from: Address, to: Addr
|
|
|
7701
8984
|
readonly type: "function";
|
|
7702
8985
|
}];
|
|
7703
8986
|
readonly functionName: "unwrap";
|
|
7704
|
-
readonly args: readonly [`0x${string}`, `0x${string}`, `0x${string}
|
|
8987
|
+
readonly args: readonly [`0x${string}`, `0x${string}`, `0x${string}`];
|
|
7705
8988
|
};
|
|
7706
8989
|
/**
|
|
7707
|
-
* Returns the contract config
|
|
8990
|
+
* Returns the contract config to read the confidential (encrypted) total supply.
|
|
7708
8991
|
*
|
|
7709
8992
|
* @example
|
|
7710
8993
|
* ```ts
|
|
7711
|
-
* const
|
|
7712
|
-
*
|
|
8994
|
+
* const handle = await signer.readContract(
|
|
8995
|
+
* confidentialTotalSupplyContract(tokenAddress),
|
|
7713
8996
|
* );
|
|
7714
8997
|
* ```
|
|
7715
8998
|
*/
|
|
7716
|
-
declare function
|
|
8999
|
+
declare function confidentialTotalSupplyContract(tokenAddress: Address): {
|
|
7717
9000
|
readonly address: `0x${string}`;
|
|
7718
9001
|
readonly abi: readonly [{
|
|
7719
9002
|
readonly inputs: readonly [];
|
|
@@ -8782,7 +10065,7 @@ declare function unwrapFromBalanceContract(encryptedErc20: Address, from: Addres
|
|
|
8782
10065
|
readonly type: "function";
|
|
8783
10066
|
}, {
|
|
8784
10067
|
readonly inputs: readonly [];
|
|
8785
|
-
readonly name: "
|
|
10068
|
+
readonly name: "inferredTotalSupply";
|
|
8786
10069
|
readonly outputs: readonly [{
|
|
8787
10070
|
readonly internalType: "uint256";
|
|
8788
10071
|
readonly name: "";
|
|
@@ -8983,20 +10266,23 @@ declare function unwrapFromBalanceContract(encryptedErc20: Address, from: Addres
|
|
|
8983
10266
|
readonly stateMutability: "nonpayable";
|
|
8984
10267
|
readonly type: "function";
|
|
8985
10268
|
}];
|
|
8986
|
-
readonly functionName: "
|
|
8987
|
-
readonly args: readonly [
|
|
10269
|
+
readonly functionName: "confidentialTotalSupply";
|
|
10270
|
+
readonly args: readonly [];
|
|
8988
10271
|
};
|
|
8989
10272
|
/**
|
|
8990
|
-
* Returns the contract config to read the
|
|
10273
|
+
* Returns the contract config to read the inferred plaintext total supply.
|
|
10274
|
+
*
|
|
10275
|
+
* @deprecated Use {@link inferredTotalSupplyContract}. `totalSupply()` was
|
|
10276
|
+
* renamed to `inferredTotalSupply()` on wrapper contracts.
|
|
8991
10277
|
*
|
|
8992
10278
|
* @example
|
|
8993
10279
|
* ```ts
|
|
8994
|
-
* const
|
|
8995
|
-
*
|
|
10280
|
+
* const supply = await signer.readContract(
|
|
10281
|
+
* totalSupplyContract(wrapperAddress),
|
|
8996
10282
|
* );
|
|
8997
10283
|
* ```
|
|
8998
10284
|
*/
|
|
8999
|
-
declare function
|
|
10285
|
+
declare function totalSupplyContract(wrapperAddress: Address): {
|
|
9000
10286
|
readonly address: `0x${string}`;
|
|
9001
10287
|
readonly abi: readonly [{
|
|
9002
10288
|
readonly inputs: readonly [];
|
|
@@ -10065,7 +11351,7 @@ declare function confidentialTotalSupplyContract(tokenAddress: Address): {
|
|
|
10065
11351
|
readonly type: "function";
|
|
10066
11352
|
}, {
|
|
10067
11353
|
readonly inputs: readonly [];
|
|
10068
|
-
readonly name: "
|
|
11354
|
+
readonly name: "inferredTotalSupply";
|
|
10069
11355
|
readonly outputs: readonly [{
|
|
10070
11356
|
readonly internalType: "uint256";
|
|
10071
11357
|
readonly name: "";
|
|
@@ -10266,20 +11552,18 @@ declare function confidentialTotalSupplyContract(tokenAddress: Address): {
|
|
|
10266
11552
|
readonly stateMutability: "nonpayable";
|
|
10267
11553
|
readonly type: "function";
|
|
10268
11554
|
}];
|
|
10269
|
-
readonly functionName: "
|
|
11555
|
+
readonly functionName: "inferredTotalSupply";
|
|
10270
11556
|
readonly args: readonly [];
|
|
10271
11557
|
};
|
|
10272
11558
|
/**
|
|
10273
|
-
* Returns the contract config to read the
|
|
11559
|
+
* Returns the contract config to read the wrap/unwrap conversion rate.
|
|
10274
11560
|
*
|
|
10275
11561
|
* @example
|
|
10276
11562
|
* ```ts
|
|
10277
|
-
* const
|
|
10278
|
-
* totalSupplyContract(tokenAddress),
|
|
10279
|
-
* );
|
|
11563
|
+
* const rate = await signer.readContract(rateContract(tokenAddress));
|
|
10280
11564
|
* ```
|
|
10281
11565
|
*/
|
|
10282
|
-
declare function
|
|
11566
|
+
declare function rateContract(tokenAddress: Address): {
|
|
10283
11567
|
readonly address: `0x${string}`;
|
|
10284
11568
|
readonly abi: readonly [{
|
|
10285
11569
|
readonly inputs: readonly [];
|
|
@@ -11348,7 +12632,7 @@ declare function totalSupplyContract(tokenAddress: Address): {
|
|
|
11348
12632
|
readonly type: "function";
|
|
11349
12633
|
}, {
|
|
11350
12634
|
readonly inputs: readonly [];
|
|
11351
|
-
readonly name: "
|
|
12635
|
+
readonly name: "inferredTotalSupply";
|
|
11352
12636
|
readonly outputs: readonly [{
|
|
11353
12637
|
readonly internalType: "uint256";
|
|
11354
12638
|
readonly name: "";
|
|
@@ -11549,18 +12833,22 @@ declare function totalSupplyContract(tokenAddress: Address): {
|
|
|
11549
12833
|
readonly stateMutability: "nonpayable";
|
|
11550
12834
|
readonly type: "function";
|
|
11551
12835
|
}];
|
|
11552
|
-
readonly functionName: "
|
|
12836
|
+
readonly functionName: "rate";
|
|
11553
12837
|
readonly args: readonly [];
|
|
11554
12838
|
};
|
|
12839
|
+
//#endregion
|
|
12840
|
+
//#region src/contracts/wrapper.d.ts
|
|
11555
12841
|
/**
|
|
11556
|
-
* Returns the contract config
|
|
12842
|
+
* Returns the contract config for finalizing an unwrap.
|
|
11557
12843
|
*
|
|
11558
12844
|
* @example
|
|
11559
12845
|
* ```ts
|
|
11560
|
-
* const
|
|
12846
|
+
* const txHash = await signer.writeContract(
|
|
12847
|
+
* finalizeUnwrapContract(wrapper, burntAmount, cleartext, proof),
|
|
12848
|
+
* );
|
|
11561
12849
|
* ```
|
|
11562
12850
|
*/
|
|
11563
|
-
declare function
|
|
12851
|
+
declare function finalizeUnwrapContract(wrapper: Address, burntAmount: Handle, burntAmountCleartext: bigint, decryptionProof: Hex): {
|
|
11564
12852
|
readonly address: `0x${string}`;
|
|
11565
12853
|
readonly abi: readonly [{
|
|
11566
12854
|
readonly inputs: readonly [];
|
|
@@ -12629,7 +13917,7 @@ declare function rateContract(tokenAddress: Address): {
|
|
|
12629
13917
|
readonly type: "function";
|
|
12630
13918
|
}, {
|
|
12631
13919
|
readonly inputs: readonly [];
|
|
12632
|
-
readonly name: "
|
|
13920
|
+
readonly name: "inferredTotalSupply";
|
|
12633
13921
|
readonly outputs: readonly [{
|
|
12634
13922
|
readonly internalType: "uint256";
|
|
12635
13923
|
readonly name: "";
|
|
@@ -12830,22 +14118,18 @@ declare function rateContract(tokenAddress: Address): {
|
|
|
12830
14118
|
readonly stateMutability: "nonpayable";
|
|
12831
14119
|
readonly type: "function";
|
|
12832
14120
|
}];
|
|
12833
|
-
readonly functionName: "
|
|
12834
|
-
readonly args: readonly [];
|
|
14121
|
+
readonly functionName: "finalizeUnwrap";
|
|
14122
|
+
readonly args: readonly [`0x${string}`, bigint, `0x${string}`];
|
|
12835
14123
|
};
|
|
12836
|
-
//#endregion
|
|
12837
|
-
//#region src/contracts/wrapper.d.ts
|
|
12838
14124
|
/**
|
|
12839
|
-
* Returns the contract config
|
|
14125
|
+
* Returns the contract config to read the underlying ERC-20 token of a wrapper.
|
|
12840
14126
|
*
|
|
12841
14127
|
* @example
|
|
12842
14128
|
* ```ts
|
|
12843
|
-
* const
|
|
12844
|
-
* finalizeUnwrapContract(wrapper, burntAmount, cleartext, proof),
|
|
12845
|
-
* );
|
|
14129
|
+
* const token = await signer.readContract(underlyingContract(wrapperAddress));
|
|
12846
14130
|
* ```
|
|
12847
14131
|
*/
|
|
12848
|
-
declare function
|
|
14132
|
+
declare function underlyingContract(wrapperAddress: Address): {
|
|
12849
14133
|
readonly address: `0x${string}`;
|
|
12850
14134
|
readonly abi: readonly [{
|
|
12851
14135
|
readonly inputs: readonly [];
|
|
@@ -13914,7 +15198,7 @@ declare function finalizeUnwrapContract(wrapper: Address, burntAmount: Handle, b
|
|
|
13914
15198
|
readonly type: "function";
|
|
13915
15199
|
}, {
|
|
13916
15200
|
readonly inputs: readonly [];
|
|
13917
|
-
readonly name: "
|
|
15201
|
+
readonly name: "inferredTotalSupply";
|
|
13918
15202
|
readonly outputs: readonly [{
|
|
13919
15203
|
readonly internalType: "uint256";
|
|
13920
15204
|
readonly name: "";
|
|
@@ -14115,18 +15399,20 @@ declare function finalizeUnwrapContract(wrapper: Address, burntAmount: Handle, b
|
|
|
14115
15399
|
readonly stateMutability: "nonpayable";
|
|
14116
15400
|
readonly type: "function";
|
|
14117
15401
|
}];
|
|
14118
|
-
readonly functionName: "
|
|
14119
|
-
readonly args: readonly [
|
|
15402
|
+
readonly functionName: "underlying";
|
|
15403
|
+
readonly args: readonly [];
|
|
14120
15404
|
};
|
|
14121
15405
|
/**
|
|
14122
|
-
* Returns the contract config to read the
|
|
15406
|
+
* Returns the contract config to read the inferred plaintext total supply.
|
|
14123
15407
|
*
|
|
14124
15408
|
* @example
|
|
14125
15409
|
* ```ts
|
|
14126
|
-
* const
|
|
15410
|
+
* const supply = await signer.readContract(
|
|
15411
|
+
* inferredTotalSupplyContract(wrapperAddress),
|
|
15412
|
+
* );
|
|
14127
15413
|
* ```
|
|
14128
15414
|
*/
|
|
14129
|
-
declare function
|
|
15415
|
+
declare function inferredTotalSupplyContract(wrapperAddress: Address): {
|
|
14130
15416
|
readonly address: `0x${string}`;
|
|
14131
15417
|
readonly abi: readonly [{
|
|
14132
15418
|
readonly inputs: readonly [];
|
|
@@ -15195,7 +16481,7 @@ declare function underlyingContract(wrapperAddress: Address): {
|
|
|
15195
16481
|
readonly type: "function";
|
|
15196
16482
|
}, {
|
|
15197
16483
|
readonly inputs: readonly [];
|
|
15198
|
-
readonly name: "
|
|
16484
|
+
readonly name: "inferredTotalSupply";
|
|
15199
16485
|
readonly outputs: readonly [{
|
|
15200
16486
|
readonly internalType: "uint256";
|
|
15201
16487
|
readonly name: "";
|
|
@@ -15396,7 +16682,7 @@ declare function underlyingContract(wrapperAddress: Address): {
|
|
|
15396
16682
|
readonly stateMutability: "nonpayable";
|
|
15397
16683
|
readonly type: "function";
|
|
15398
16684
|
}];
|
|
15399
|
-
readonly functionName: "
|
|
16685
|
+
readonly functionName: "inferredTotalSupply";
|
|
15400
16686
|
readonly args: readonly [];
|
|
15401
16687
|
};
|
|
15402
16688
|
/**
|
|
@@ -16478,7 +17764,7 @@ declare function wrapContract(wrapperAddress: Address, to: Address, amount: bigi
|
|
|
16478
17764
|
readonly type: "function";
|
|
16479
17765
|
}, {
|
|
16480
17766
|
readonly inputs: readonly [];
|
|
16481
|
-
readonly name: "
|
|
17767
|
+
readonly name: "inferredTotalSupply";
|
|
16482
17768
|
readonly outputs: readonly [{
|
|
16483
17769
|
readonly internalType: "uint256";
|
|
16484
17770
|
readonly name: "";
|
|
@@ -19341,16 +20627,24 @@ interface EncryptErrorEvent extends BaseEvent {
|
|
|
19341
20627
|
}
|
|
19342
20628
|
interface DecryptStartEvent extends BaseEvent {
|
|
19343
20629
|
type: typeof ZamaSDKEvents.DecryptStart;
|
|
20630
|
+
/** Handles being decrypted — correlate with matching DecryptEnd/DecryptError. */
|
|
20631
|
+
handles: Handle[];
|
|
19344
20632
|
}
|
|
19345
20633
|
interface DecryptEndEvent extends BaseEvent {
|
|
19346
20634
|
type: typeof ZamaSDKEvents.DecryptEnd;
|
|
19347
20635
|
durationMs: number;
|
|
20636
|
+
/** Handles that were decrypted. */
|
|
20637
|
+
handles: Handle[];
|
|
20638
|
+
/** Decrypted values keyed by handle — use this to correlate events to specific handles. */
|
|
20639
|
+
result: Record<Handle, ClearValueType>;
|
|
19348
20640
|
}
|
|
19349
20641
|
interface DecryptErrorEvent extends BaseEvent {
|
|
19350
20642
|
type: typeof ZamaSDKEvents.DecryptError;
|
|
19351
20643
|
/** The error that caused the decryption to fail. */
|
|
19352
20644
|
error: Error;
|
|
19353
20645
|
durationMs: number;
|
|
20646
|
+
/** Handles that were being decrypted when the error occurred. */
|
|
20647
|
+
handles: Handle[];
|
|
19354
20648
|
}
|
|
19355
20649
|
interface TransactionErrorEvent extends BaseEvent {
|
|
19356
20650
|
type: typeof ZamaSDKEvents.TransactionError;
|
|
@@ -21069,13 +22363,6 @@ declare class WrappersRegistry {
|
|
|
21069
22363
|
}
|
|
21070
22364
|
//#endregion
|
|
21071
22365
|
//#region src/zama-sdk.d.ts
|
|
21072
|
-
/** Options for {@link ZamaSDK.userDecrypt}. */
|
|
21073
|
-
interface DecryptOptions {
|
|
21074
|
-
/** Fired after credentials are ready (cached or freshly signed), before relayer calls. Not called when all handles are already cached. */
|
|
21075
|
-
onCredentialsReady?: () => void;
|
|
21076
|
-
/** Fired after all handles have been decrypted, including when all results come from cache. Receives the full result map. */
|
|
21077
|
-
onDecrypted?: (values: DecryptResult) => void;
|
|
21078
|
-
}
|
|
21079
22366
|
/** Configuration for {@link ZamaSDK}. */
|
|
21080
22367
|
interface ZamaSDKConfig {
|
|
21081
22368
|
/** FHE relayer backend (`RelayerWeb` for browser, `RelayerNode` for server). */
|
|
@@ -21183,12 +22470,32 @@ declare class ZamaSDK {
|
|
|
21183
22470
|
* ```
|
|
21184
22471
|
*/
|
|
21185
22472
|
createWrappersRegistry(registryAddresses?: Record<number, Address>): WrappersRegistry;
|
|
22473
|
+
/**
|
|
22474
|
+
* Pre-authorize contract addresses for decryption, triggering a single
|
|
22475
|
+
* wallet signature prompt. Subsequent {@link userDecrypt} calls whose
|
|
22476
|
+
* handles span the same set will reuse the cached credentials without
|
|
22477
|
+
* an additional prompt.
|
|
22478
|
+
*
|
|
22479
|
+
* @param contractAddresses - One or more contract addresses to authorize.
|
|
22480
|
+
*
|
|
22481
|
+
* @example
|
|
22482
|
+
* ```ts
|
|
22483
|
+
* // Sign once for three tokens, then decrypt individually
|
|
22484
|
+
* await sdk.allow([cUSDT, cDAI, cWETH]);
|
|
22485
|
+
* const a = await sdk.userDecrypt([{ handle: h1, contractAddress: cUSDT }]);
|
|
22486
|
+
* const b = await sdk.userDecrypt([{ handle: h2, contractAddress: cDAI }]);
|
|
22487
|
+
* ```
|
|
22488
|
+
*/
|
|
22489
|
+
allow(contractAddresses: Address[]): Promise<void>;
|
|
21186
22490
|
/**
|
|
21187
22491
|
* Decrypt one or more FHE handles. Results are cached — repeated calls
|
|
21188
22492
|
* for the same handle skip the relayer round-trip.
|
|
21189
22493
|
*
|
|
22494
|
+
* Zero handles are mapped to `0n` without hitting the relayer.
|
|
22495
|
+
* Events (`DecryptStart/End/Error`) are emitted uniformly.
|
|
22496
|
+
* Relayer errors are wrapped into typed SDK errors.
|
|
22497
|
+
*
|
|
21190
22498
|
* @param handles - Handles to decrypt, each paired with its contract address.
|
|
21191
|
-
* @param options - Optional lifecycle callbacks.
|
|
21192
22499
|
* @returns A record mapping each handle to its decrypted clear-text value.
|
|
21193
22500
|
*
|
|
21194
22501
|
* @example
|
|
@@ -21199,7 +22506,7 @@ declare class ZamaSDK {
|
|
|
21199
22506
|
* console.log(values[balanceHandle]); // 1000n
|
|
21200
22507
|
* ```
|
|
21201
22508
|
*/
|
|
21202
|
-
userDecrypt(handles: DecryptHandle[]
|
|
22509
|
+
userDecrypt(handles: DecryptHandle[]): Promise<Record<Handle, ClearValueType>>;
|
|
21203
22510
|
/**
|
|
21204
22511
|
* Revoke the session signature for the current signer without requiring
|
|
21205
22512
|
* contract addresses. Uses the tracked identity when available (safe during
|
|
@@ -21526,5 +22833,5 @@ declare function applyDecryptedValues(items: readonly ActivityItem[], decryptedM
|
|
|
21526
22833
|
*/
|
|
21527
22834
|
declare function sortByBlockNumber(items: readonly ActivityItem[]): ActivityItem[];
|
|
21528
22835
|
//#endregion
|
|
21529
|
-
export {
|
|
21530
|
-
//# sourceMappingURL=activity-
|
|
22836
|
+
export { DelegationContractIsSelfError as $, isOperatorContract as $n, DelegationSubmittedEvent as $t, decodeUnwrapRequested as A, delegateForUserDecryptionContract as An, userDecryptQueryOptions as At, DefaultRegistryAddresses as B, approveContract as Bn, BaseEvent as Bt, decodeAclEvent as C, getConfidentialTokenAddressContract as Cn, BatchDecryptOptions as Ct, decodeOnChainEvent as D, getTokenPairsLengthContract as Dn, DecryptHandle as Dt, decodeDelegatedForUserDecryption as E, getTokenPairsContract as En, ZERO_HANDLE as Et, findRevokedDelegationForUserDecryption as F, ERC7984_WRAPPER_INTERFACE_ID as Fn, DelegatedCredentialsManagerConfig as Ft, TokenConfig as G, finalizeUnwrapContract as Gn, CredentialsCreatingEvent as Gt, WrappersRegistry as H, decimalsContract as Hn, CredentialsCachedEvent as Ht, findUnwrapRequested as I, isConfidentialTokenContract as In, CredentialsManager as It, BalanceErrorDetails as J, wrapContract as Jn, CredentialsPersistFailedEvent as Jt, matchAclRevert as K, inferredTotalSupplyContract as Kn, CredentialsExpiredEvent as Kt, findWrapped as L, isConfidentialWrapperContract as Ln, CredentialsManagerConfig as Lt, decodeUnwrappedStarted as M, isHandleDelegatedContract as Mn, MutationFactoryOptions as Mt, decodeWrapped as N, revokeDelegationContract as Nn, QueryFactoryOptions as Nt, decodeOnChainEvents as O, getTokenPairsSliceContract as On, DecryptResult as Ot, findDelegatedForUserDecryption as P, ERC7984_INTERFACE_ID as Pn, DelegatedCredentialsManager as Pt, AclPausedError as Q, confidentialTransferFromContract as Qn, DecryptStartEvent as Qt, ZamaSDK as R, supportsInterfaceContract as Rn, ApproveSubmittedEvent as Rt, WrappedEvent as S, TokenWrapperPairWithMetadata as Sn, BatchDecryptAsOptions as St, decodeConfidentialTransfer as T, getTokenPairContract as Tn, ReadonlyTokenConfig as Tt, WrappersRegistryConfig as U, nameContract as Un, CredentialsCorruptedEvent as Ut, ListPairsOptions as V, balanceOfContract as Vn, CredentialsAllowedEvent as Vt, Token as W, symbolContract as Wn, CredentialsCreatedEvent as Wt, InsufficientConfidentialBalanceError as X, confidentialTotalSupplyContract as Xn, DecryptEndEvent as Xt, ERC20ReadFailedError as Y, confidentialBalanceOfContract as Yn, CredentialsRevokedEvent as Yt, InsufficientERC20BalanceError as Z, confidentialTransferContract as Zn, DecryptErrorEvent as Zt, TOKEN_TOPICS as _, ZamaSDKEventType as _n, SigningFailedError as _t, ActivityType as a, SessionExpiredEvent as an, DelegationNotFoundError as at, UnwrappedFinalizedEvent as b, PaginatedResult as bn, ZamaErrorCode as bt, parseActivityFeed as c, TransferFromSubmittedEvent as cn, ConfigurationError as ct, AclEvent as d, UnshieldPhase2StartedEvent as dn, KeypairExpiredError as dt, EncryptEndEvent as en, rateContract as er, DelegationCooldownError as et, AclTopics as f, UnshieldPhase2SubmittedEvent as fn, NoCiphertextError as ft, RevokedDelegationForUserDecryptionEvent as g, ZamaSDKEventListener as gn, EncryptionFailedError as gt, OnChainEvent as h, ZamaSDKEventInput as hn, DecryptionFailedError as ht, ActivityLogMetadata as i, RevokeDelegationSubmittedEvent as in, unwrapFromBalanceContract as ir, DelegationExpiryUnchangedError as it, decodeUnwrappedFinalized as j, getDelegationExpiryContract as jn, zamaQueryKeys as jt, decodeRevokedDelegationForUserDecryption as k, isConfidentialTokenValidContract as kn, UserDecryptQueryConfig as kt, sortByBlockNumber as l, TransferSubmittedEvent as ln, RelayerRequestFailedError as lt, DelegatedForUserDecryptionEvent as m, ZamaSDKEvent as mn, TransactionRevertedError as mt, ActivityDirection as n, EncryptStartEvent as nn, totalSupplyContract as nr, DelegationExpirationTooSoonError as nt, applyDecryptedValues as o, ShieldSubmittedEvent as on, DelegationNotPropagatedError as ot, ConfidentialTransferEvent as p, UnwrapSubmittedEvent as pn, ApprovalFailedError as pt, BalanceCheckUnavailableError as q, underlyingContract as qn, CredentialsLoadingEvent as qt, ActivityItem as r, FinalizeUnwrapSubmittedEvent as rn, unwrapContract as rr, DelegationExpiredError as rt, extractEncryptedHandles as s, TransactionErrorEvent as sn, DelegationSelfNotAllowedError as st, ActivityAmount as t, EncryptErrorEvent as tn, setOperatorContract as tr, DelegationDelegateEqualsContractError as tt, ACL_TOPICS as u, UnshieldPhase1SubmittedEvent as un, InvalidKeypairError as ut, Topics as v, ZamaSDKEvents as vn, SigningRejectedError as vt, decodeAclEvents as w, getTokenAddressContract as wn, ReadonlyToken as wt, UnwrappedStartedEvent as x, TokenWrapperPair as xn, matchZamaError as xt, UnwrapRequestedEvent as y, DecryptCache as yn, ZamaError as yt, ZamaSDKConfig as z, allowanceContract as zn, ApproveUnderlyingSubmittedEvent as zt };
|
|
22837
|
+
//# sourceMappingURL=activity-DySBgT7m.d.ts.map
|