You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sdk/typescript/base/classes/BaseEthersClient.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
# Abstract Class: BaseEthersClient
8
8
9
-
Defined in: [base.ts:12](https://github.com/humanprotocol/human-protocol/blob/c6ab6b31903af39ac6b3e92bd60cecc017b01413/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L12)
9
+
Defined in: [base.ts:12](https://github.com/humanprotocol/human-protocol/blob/a460e0373bed2561750dc72b5678e23706f5b4ef/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L12)
10
10
11
11
## Introduction
12
12
@@ -24,7 +24,7 @@ This class is used as a base class for other clients making on-chain calls.
Defined in: [base.ts:22](https://github.com/humanprotocol/human-protocol/blob/c6ab6b31903af39ac6b3e92bd60cecc017b01413/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L22)
27
+
Defined in: [base.ts:22](https://github.com/humanprotocol/human-protocol/blob/a460e0373bed2561750dc72b5678e23706f5b4ef/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L22)
28
28
29
29
**BaseClient constructor**
30
30
@@ -52,23 +52,23 @@ The network information required to connect to the contracts
Defined in: [base.ts:14](https://github.com/humanprotocol/human-protocol/blob/c6ab6b31903af39ac6b3e92bd60cecc017b01413/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L14)
55
+
Defined in: [base.ts:14](https://github.com/humanprotocol/human-protocol/blob/a460e0373bed2561750dc72b5678e23706f5b4ef/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L14)
56
56
57
57
***
58
58
59
59
### runner
60
60
61
61
> `protected`**runner**: `ContractRunner`
62
62
63
-
Defined in: [base.ts:13](https://github.com/humanprotocol/human-protocol/blob/c6ab6b31903af39ac6b3e92bd60cecc017b01413/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L13)
63
+
Defined in: [base.ts:13](https://github.com/humanprotocol/human-protocol/blob/a460e0373bed2561750dc72b5678e23706f5b4ef/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L13)
Defined in: [base.ts:35](https://github.com/humanprotocol/human-protocol/blob/c6ab6b31903af39ac6b3e92bd60cecc017b01413/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L35)
71
+
Defined in: [base.ts:35](https://github.com/humanprotocol/human-protocol/blob/a460e0373bed2561750dc72b5678e23706f5b4ef/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L35)
72
72
73
73
Internal helper to enrich transaction overrides with network specific defaults.
Copy file name to clipboardExpand all lines: docs/sdk/typescript/encryption/classes/Encryption.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
# Class: Encryption
8
8
9
-
Defined in: [encryption.ts:58](https://github.com/humanprotocol/human-protocol/blob/c6ab6b31903af39ac6b3e92bd60cecc017b01413/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L58)
9
+
Defined in: [encryption.ts:58](https://github.com/humanprotocol/human-protocol/blob/a460e0373bed2561750dc72b5678e23706f5b4ef/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L58)
Defined in: [encryption.ts:66](https://github.com/humanprotocol/human-protocol/blob/c6ab6b31903af39ac6b3e92bd60cecc017b01413/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L66)
56
+
Defined in: [encryption.ts:66](https://github.com/humanprotocol/human-protocol/blob/a460e0373bed2561750dc72b5678e23706f5b4ef/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L66)
Defined in: [encryption.ts:194](https://github.com/humanprotocol/human-protocol/blob/c6ab6b31903af39ac6b3e92bd60cecc017b01413/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L194)
78
+
Defined in: [encryption.ts:194](https://github.com/humanprotocol/human-protocol/blob/a460e0373bed2561750dc72b5678e23706f5b4ef/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L194)
79
79
80
80
This function decrypts messages using the private key. In addition, the public key can be added for signature verification.
Defined in: [encryption.ts:251](https://github.com/humanprotocol/human-protocol/blob/c6ab6b31903af39ac6b3e92bd60cecc017b01413/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L251)
132
+
Defined in: [encryption.ts:251](https://github.com/humanprotocol/human-protocol/blob/a460e0373bed2561750dc72b5678e23706f5b4ef/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L251)
133
133
134
134
This function signs a message using the private key used to initialize the client.
Defined in: [encryption.ts:142](https://github.com/humanprotocol/human-protocol/blob/c6ab6b31903af39ac6b3e92bd60cecc017b01413/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L142)
168
+
Defined in: [encryption.ts:142](https://github.com/humanprotocol/human-protocol/blob/a460e0373bed2561750dc72b5678e23706f5b4ef/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L142)
169
169
170
170
This function signs and encrypts a message using the private key used to initialize the client and the specified public keys.
Defined in: [encryption.ts:77](https://github.com/humanprotocol/human-protocol/blob/c6ab6b31903af39ac6b3e92bd60cecc017b01413/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L77)
235
+
Defined in: [encryption.ts:77](https://github.com/humanprotocol/human-protocol/blob/a460e0373bed2561750dc72b5678e23706f5b4ef/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L77)
236
236
237
237
Builds an Encryption instance by decrypting the private key from an encrypted private key and passphrase.
0 commit comments