Skip to content

Commit

Permalink
Ethers v6 (#1428)
Browse files Browse the repository at this point in the history
Update ethers to v6 and all its references
  • Loading branch information
flopez7 authored Jan 9, 2024
1 parent fdfad7f commit 8ee6207
Show file tree
Hide file tree
Showing 93 changed files with 2,346 additions and 2,311 deletions.
16 changes: 8 additions & 8 deletions docs/sdk/typescript/classes/base.BaseEthersClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@ This class is used as a base class for other clients making on-chain calls.
### Properties

- [networkData](base.BaseEthersClient.md#networkdata)
- [signerOrProvider](base.BaseEthersClient.md#signerorprovider)
- [runner](base.BaseEthersClient.md#runner)

## Constructors

### constructor

**new BaseEthersClient**(`signerOrProvider`, `networkData`): [`BaseEthersClient`](base.BaseEthersClient.md)
**new BaseEthersClient**(`runner`, `networkData`): [`BaseEthersClient`](base.BaseEthersClient.md)

**BaseClient constructor**

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `signerOrProvider` | `Signer` \| `Provider` | The Signer or Provider object to interact with the Ethereum network |
| `runner` | `ContractRunner` | The Signer or Provider object to interact with the Ethereum network |
| `networkData` | `NetworkData` | The network information required to connect to the contracts |

#### Returns
Expand All @@ -50,7 +50,7 @@ This class is used as a base class for other clients making on-chain calls.

#### Defined in

[base.ts:21](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L21)
[base.ts:20](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L20)

## Properties

Expand All @@ -60,14 +60,14 @@ This class is used as a base class for other clients making on-chain calls.

#### Defined in

[base.ts:13](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L13)
[base.ts:12](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L12)

___

### signerOrProvider
### runner

`Protected` **signerOrProvider**: `Signer` \| `Provider`
`Protected` **runner**: `ContractRunner`

#### Defined in

[base.ts:12](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L12)
[base.ts:11](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L11)
12 changes: 6 additions & 6 deletions docs/sdk/typescript/classes/encryption.Encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Constructor for the Encryption class.

#### Defined in

[encryption.ts:53](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L53)
[encryption.ts:53](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L53)

## Properties

Expand All @@ -91,7 +91,7 @@ Constructor for the Encryption class.

#### Defined in

[encryption.ts:46](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L46)
[encryption.ts:46](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L46)

## Methods

Expand Down Expand Up @@ -140,7 +140,7 @@ const resultMessage = await encription.decrypt('message');

#### Defined in

[encryption.ts:180](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L180)
[encryption.ts:180](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L180)

___

Expand Down Expand Up @@ -176,7 +176,7 @@ const resultMessage = await encription.sign('message');

#### Defined in

[encryption.ts:217](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L217)
[encryption.ts:217](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L217)

___

Expand Down Expand Up @@ -238,7 +238,7 @@ const resultMessage = await encription.signAndEncrypt('message', publicKeys);

#### Defined in

[encryption.ts:129](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L129)
[encryption.ts:129](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L129)

___

Expand All @@ -263,4 +263,4 @@ Builds an Encryption instance by decrypting the private key from an encrypted pr

#### Defined in

[encryption.ts:64](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L64)
[encryption.ts:64](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L64)
10 changes: 5 additions & 5 deletions docs/sdk/typescript/classes/encryption.EncryptionUtils.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const result = await EncriptionUtils.encrypt('message', publicKeys);

#### Defined in

[encryption.ts:422](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L422)
[encryption.ts:422](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L422)

___

Expand Down Expand Up @@ -157,7 +157,7 @@ const result = await EncriptionUtils.generateKeyPair(name, email, passphrase);

#### Defined in

[encryption.ts:360](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L360)
[encryption.ts:360](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L360)

___

Expand Down Expand Up @@ -189,7 +189,7 @@ const signedData = await EncriptionUtils.getSignedData('message');

#### Defined in

[encryption.ts:317](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L317)
[encryption.ts:317](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L317)

___

Expand Down Expand Up @@ -237,7 +237,7 @@ if (isEncrypted) {

#### Defined in

[encryption.ts:471](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L471)
[encryption.ts:471](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L471)

___

Expand Down Expand Up @@ -282,4 +282,4 @@ const result = await EncriptionUtils.verify('message', publicKey);

#### Defined in

[encryption.ts:284](https://github.com/humanprotocol/human-protocol/blob/47ca9511/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L284)
[encryption.ts:284](https://github.com/humanprotocol/human-protocol/blob/9bc762a5/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L284)
Loading

6 comments on commit 8ee6207

@vercel
Copy link

@vercel vercel bot commented on 8ee6207 Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hufi-exchange-oracle-server – ./packages/apps/hufi/exchange-oracle/server

hufi-exchange-oracle-server-humanprotocol.vercel.app
hufi-exchange-oracle-server-git-develop-humanprotocol.vercel.app
hufi-exchange-oracle-server.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 8ee6207 Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hufi-recording-oracle-server – ./packages/apps/hufi/recording-oracle

hufi-recording-oracle-server-humanprotocol.vercel.app
hufi-recording-oracle-server.vercel.app
hufi-recording-oracle-server-git-develop-humanprotocol.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 8ee6207 Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hufi-reputation-oracle – ./packages/apps/hufi/reputation-oracle/server

hufi-reputation-oracle-git-develop-humanprotocol.vercel.app
hufi-reputation-oracle.vercel.app
hufi-reputation-oracle-humanprotocol.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 8ee6207 Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 8ee6207 Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hufi-job-launcher-server – ./packages/apps/hufi/job-launcher/server

hufi-job-launcher-server-humanprotocol.vercel.app
hufi-job-launcher-server.vercel.app
hufi-job-launcher-server-git-develop-humanprotocol.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 8ee6207 Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.