PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-core/dist/src/bitgo/tss/ecdsa

Просмотр файла: ecdsaMPCv2.d.ts

import { SignatureShareRecord } from '../../utils';
import openpgp from 'openpgp';
import { DklsTypes } from '@bitgo/sdk-lib-mpc';
import { MPCv2SignatureShareRound1Output, MPCv2SignatureShareRound2Output } from '@bitgo/public-types';
/**
 Helpers in this take care of all interaction with WP API's
**/
export declare function getSignatureShareRoundOne(round1Message: DklsTypes.DeserializedBroadcastMessage, userGpgKey: openpgp.SerializedKeyPair<string>, partyId?: 0 | 1, otherSignerPartyId?: 0 | 1 | 2): Promise<SignatureShareRecord>;
export declare function getSignatureShareRoundTwo(userToBitGoMessages2: DklsTypes.DeserializedMessages, userToBitGoMessages3: DklsTypes.DeserializedMessages, userGpgKey: openpgp.SerializedKeyPair<string>, otherPartyGpgKey: openpgp.Key, partyId?: 0 | 1, otherSignerPartyId?: 0 | 1 | 2): Promise<SignatureShareRecord>;
export declare function getSignatureShareRoundThree(userToBitGoMessages4: DklsTypes.DeserializedMessages, userGpgKey: openpgp.SerializedKeyPair<string>, bitgoGpgKey: openpgp.Key, partyId?: 0 | 1, otherSignerPartyId?: 0 | 1 | 2): Promise<SignatureShareRecord>;
export declare function verifyBitGoMessagesAndSignaturesRoundOne(parsedSignatureShare: MPCv2SignatureShareRound1Output, userGpgKey: openpgp.SerializedKeyPair<string>, bitgoGpgKey: openpgp.Key, partyId?: 0 | 1): Promise<DklsTypes.SerializedMessages>;
export declare function verifyBitGoMessagesAndSignaturesRoundTwo(parsedSignatureShare: MPCv2SignatureShareRound2Output, userGpgKey: openpgp.SerializedKeyPair<string>, bitgoGpgKey: openpgp.Key, partyId?: 0 | 1): Promise<DklsTypes.SerializedMessages>;
export declare function getBitGoPartyGpgKey(key: openpgp.Key, partyId?: 0 | 1 | 2): DklsTypes.PartyGpgKey;
export declare function getUserPartyGpgKey(key: openpgp.SerializedKeyPair<string>, partyId?: 0 | 1): DklsTypes.PartyGpgKey;
//# sourceMappingURL=ecdsaMPCv2.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!