Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Human mainrepo update #51

Merged
merged 67 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
6ef27bf
[ReputationOracle] Refactor Auth (#1701)
mrhouzlane Mar 21, 2024
f2bf168
[Job Launcher] Quick launch currency (#1750)
eugenvoronov Mar 21, 2024
875e645
Fix oracles webhook (#1752)
flopez7 Mar 25, 2024
a18770c
Fixed get details method (#1721)
eugenvoronov Mar 25, 2024
fd83901
[TEMP] Set `thisMonthData` a default value because hCapthca services …
portuu3 Mar 25, 2024
8b3fd26
[Exchange Oracle] Handle escrow_created webhook (#1707)
flopez7 Mar 25, 2024
83ba285
Bump express from 4.18.3 to 4.19.2 (#1766)
dependabot[bot] Mar 25, 2024
fd2624e
Bump hardhat-gas-reporter from 1.0.10 to 2.0.2 (#1765)
dependabot[bot] Mar 25, 2024
3213769
Bump winston from 3.11.0 to 3.13.0 (#1763)
dependabot[bot] Mar 26, 2024
dbb0ef6
[Job Launcher] Add IMAGE_SKELETONS_FROM_BOXES job type (#1770)
flopez7 Mar 28, 2024
a7355b6
Merge CVAT milestone 2 changes (#1746)
zhiltsov-max Mar 28, 2024
980bde7
[Job Launcher] Multiple typos fixed (#1781)
Dzeranov Mar 28, 2024
3cbb38d
[CVAT-M2] Updates for the annotation experiment (#1780)
zhiltsov-max Mar 28, 2024
b9109e4
Changed unique index for webhooks table (#1786)
Dzeranov Mar 29, 2024
42e8a58
[CVAT-M2] Fix several problems (#1787)
zhiltsov-max Mar 29, 2024
fa43dc8
Set reputation address to lowercase before fetching graphql (#1773)
flopez7 Apr 1, 2024
5770ada
[Job Laucnher] Changed config service (#1709)
Dzeranov Apr 1, 2024
67ef7b8
[Job Launcher] Implemented get elements count (#1789)
eugenvoronov Apr 1, 2024
136fb76
Fixed wrong if statement (#1795)
Dzeranov Apr 1, 2024
dd2bda5
Missing `@IsOptional` decorators added in multiple DTOs (#1797)
Dzeranov Apr 1, 2024
7ab85de
[Reputation Oracle] Fixed create incoming webhook method (#1798)
eugenvoronov Apr 1, 2024
6a3df1c
[Reputation Oracle] Added handlers for new CVAT job types (#1801)
Dzeranov Apr 2, 2024
d01ac40
Bump hardhat-dependency-compiler from 1.1.3 to 1.1.4 (#1790)
dependabot[bot] Apr 2, 2024
a99e052
Bump @stripe/stripe-js from 2.4.0 to 3.1.0 (#1791)
dependabot[bot] Apr 2, 2024
00658d3
Bump concurrently from 7.6.0 to 8.2.2 (#1792)
dependabot[bot] Apr 2, 2024
f4a93bf
Bump @babel/preset-env from 7.24.1 to 7.24.3 (#1793)
dependabot[bot] Apr 2, 2024
cb93b29
Fortune local environment (#1802)
flopez7 Apr 2, 2024
08a65d2
fix webhook typo (#1804)
portuu3 Apr 2, 2024
5534c77
[Job Launcher] Refactored calculate job bounty method (#1806)
eugenvoronov Apr 2, 2024
473de25
[Job Launcher] Updated `getCvatElementsCount` method (#1808)
eugenvoronov Apr 3, 2024
5fa9f9e
remove crypto package dependency (#1809)
leric7 Apr 3, 2024
8a610b0
[CVAT-M2] Add more logging to recording oracle (#1813)
zhiltsov-max Apr 3, 2024
dddc760
[CVAT-M2] Fix validation when no GT stats to be updated (#1815)
zhiltsov-max Apr 3, 2024
c40e247
Reputation Oracle - add hcaptcha token to signin dto (#1816)
portuu3 Apr 4, 2024
9c53c7d
Update changelog (#1820)
portuu3 Apr 4, 2024
825ca33
dependency review update (#1821)
portuu3 Apr 4, 2024
1a3c014
Convert all addresses to lowercase when calling subgraph (#1822)
flopez7 Apr 4, 2024
8fa8da4
fix dependency review (#1823)
portuu3 Apr 4, 2024
11f8869
change cron expression to 5 min (#1825)
portuu3 Apr 4, 2024
f41bb23
[Reputation Oracle] Config service (#1810)
flopez7 Apr 5, 2024
ee99e0e
Improve config service in recording oracle (#1814)
flopez7 Apr 5, 2024
b2754af
Job Launcher - Refactor bucket urls handling (#1812)
portuu3 Apr 5, 2024
dac5463
Fix units returned in job launcher server (#1829)
flopez7 Apr 5, 2024
01d56eb
[Exchange Oracle] Improve ConfigService (#1811)
flopez7 Apr 8, 2024
b173c1a
[CVAT-M2] Improve annotation matching in GT preparation (#1830)
zhiltsov-max Apr 8, 2024
472cde0
[CVAT-M2] Increase discarded / unused GT threshold (#1831)
zhiltsov-max Apr 8, 2024
2468a23
Reputation Oracle - Vercel serverless (#1832)
portuu3 Apr 8, 2024
b0cdea9
[Oracles] Fix JWT time (#1834)
flopez7 Apr 8, 2024
04544df
[Job Launcher] e2e auth workflow (#1778)
eugenvoronov Apr 8, 2024
483bf4c
Bump stripe from 14.23.0 to 14.24.0 (#1837)
dependabot[bot] Apr 9, 2024
b25d34b
Bump tenderly from 0.7.0 to 0.9.1 (#1838)
dependabot[bot] Apr 9, 2024
af7c34d
[Job Launcher] Implemented e2e quick launch workflow (#1843)
eugenvoronov Apr 10, 2024
db2bc21
[Job Launcher] Added restore password e2e workflow (#1828)
eugenvoronov Apr 10, 2024
1a730e9
[CVAT-M2] Review GT use (#1850)
zhiltsov-max Apr 10, 2024
6439095
[CVAT-M2] Add row locks during CVAT task creation (#1848)
zhiltsov-max Apr 11, 2024
6e633f5
`oracleAddress` field removed from `WebhookIncomingEntity` (#1817)
Dzeranov Apr 11, 2024
0c413b4
[Job Launcher] Display partially paid escrows (#1856)
flopez7 Apr 12, 2024
a750c44
[SDK] Enhance Operator Data (#1849)
mrhouzlane Apr 15, 2024
6465876
Improve and fix validation (#1867)
zhiltsov-max Apr 15, 2024
342c0c4
Polygon Amoy network deployment (#1863)
portuu3 Apr 15, 2024
587fbd0
Bump @sendgrid/mail from 7.7.0 to 8.1.3 (#1866)
dependabot[bot] Apr 16, 2024
9632e7f
set version of eth-typing before breaking changes (#1869)
portuu3 Apr 16, 2024
2ab6e99
Bump @types/react-dom from 18.2.24 to 18.2.25 (#1865)
dependabot[bot] Apr 16, 2024
350fca5
Bump openpgp from 5.10.2 to 5.11.1 (#1864)
dependabot[bot] Apr 16, 2024
1014417
[CVAT-M2] Return only tasks with active assignments in Exchange Oracl…
zhiltsov-max Apr 16, 2024
65b7618
Dashboard - Fix strapi admin (#1881)
portuu3 Apr 17, 2024
8ade9ab
Merge branch 'refs/heads/develop-human' into human-mainrepo-update
macnablocky Apr 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/cd-cvat-exchange-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Deploy CVAT Exchange Oracle

on:
push:
branches: [ develop, main ]
branches: [ develop, main, cvat-milestone-2 ]
paths:
- 'packages/examples/cvat/exchange-oracle/**'
pull_request:
branches: [ develop, main ]
branches: [ develop, main, cvat-milestone-2 ]
paths:
- 'packages/examples/cvat/exchange-oracle/**'
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd-cvat-recording-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Deploy CVAT Recording Oracle

on:
push:
branches: [ develop, main ]
branches: [ develop, main, cvat-milestone-2 ]
paths:
- 'packages/examples/cvat/recording-oracle/**'
pull_request:
branches: [ develop, main ]
branches: [ develop, main, cvat-milestone-2 ]
paths:
- 'packages/examples/cvat/recording-oracle/**'
workflow_dispatch:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cd-deploy-contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
env:
ETH_GOERLI_TESTNET_URL: ${{ secrets.ETH_GOERLI_TESTNET_URL }}
ETH_POLYGON_URL: ${{ secrets.ETH_POLYGON_URL }}
ETH_POLYGON_MUMBAI_URL: ${{ secrets.ETH_POLYGON_MUMBAI_URL }}
ETH_POLYGON_AMOY_URL: ${{ secrets.ETH_POLYGON_AMOY_URL }}
ETH_BSC_URL: ${{ secrets.ETH_BSC_URL }}
ETH_BSC_TESTNET_URL: ${{ secrets.ETH_BSC_TESTNET_URL }}
ETH_MOONBEAM_URL: ${{ secrets.ETH_MOONBEAM_URL }}
Expand Down Expand Up @@ -62,10 +62,10 @@ jobs:
echo "reward_pool=0x1371057BAec59944B924A7963F2EeCF43ff94CE4" >> $GITHUB_OUTPUT
echo "private_key=MAINNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
;;
"polygonMumbai")
echo "escrow_factory=0xA8D927C4DA17A6b71675d2D49dFda4E9eBE58f2d" >> $GITHUB_OUTPUT
echo "staking=0x7Fd3dF914E7b6Bd96B4c744Df32183b51368Bfac" >> $GITHUB_OUTPUT
echo "reward_pool=0xf0145eD99AC3c4f877aDa7dA4D1E059ec9116BAE" >> $GITHUB_OUTPUT
"polygonAmoy")
echo "escrow_factory=0xAFf5a986A530ff839d49325A5dF69F96627E8D29" >> $GITHUB_OUTPUT
echo "staking=0xCc0AF0635aa19fE799B6aFDBe28fcFAeA7f00a60" >> $GITHUB_OUTPUT
echo "reward_pool=0xd866bCEFf6D0F77E1c3EAE28230AE6C79b03fDa7" >> $GITHUB_OUTPUT
echo "private_key=TESTNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
;;
"bsc")
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
- name: "Dependency Review"
uses: actions/dependency-review-action@v4
uses: actions/dependency-review-action@v4.2.5
6 changes: 0 additions & 6 deletions docs/sdk/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@

### Added

- **Add function to get the encryption public key:** get public key function added to KVStore client.

### Changed

- **Rename set url function of KVStore client:** function renamed to be descriptive. This function sets the url and the hash
- **Rename get url function of KVStore client:** function renamed to be descriptive. This function gets the url and verifies the hash of the content.
- **Convert operators config keys to snake_case:** use snake_case as standard.

### Deprecated

### Removed
Expand Down
4 changes: 4 additions & 0 deletions docs/sdk/python/human_protocol_sdk.constants.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Enum for chain IDs.

#### POLYGON *= 137*

#### POLYGON_AMOY *= 80002*

#### POLYGON_MUMBAI *= 80001*

#### RINKEBY *= 4*
Expand All @@ -44,6 +46,8 @@ Enum for KVStore keys

#### fee *= 'fee'*

#### job_types *= 'job_types'*

#### public_key *= 'public_key'*

#### role *= 'role'*
Expand Down
6 changes: 3 additions & 3 deletions docs/sdk/python/human_protocol_sdk.escrow.escrow_utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ from human_protocol_sdk.escrow import EscrowUtils, EscorwFilter, Status
print(
EscrowUtils.get_escrows(
EscrowFilter(
networks=[ChainId.POLYGON_MUMBAI],
networks=[ChainId.POLYGON_AMOY],
status=Status.Pending,
date_from=datetime.datetime(2023, 5, 8),
date_to=datetime.datetime(2023, 6, 8),
Expand Down Expand Up @@ -78,7 +78,7 @@ Returns the escrow for a given address.

print(
EscrowUtils.get_escrow(
ChainId.POLYGON_MUMBAI,
ChainId.POLYGON_AMOY,
"0x1234567890123456789012345678901234567890"
)
)
Expand All @@ -102,7 +102,7 @@ Get an array of escrow addresses based on the specified filter parameters.
print(
EscrowUtils.get_escrows(
EscrowFilter(
networks=[ChainId.POLYGON_MUMBAI],
networks=[ChainId.POLYGON_AMOY],
status=Status.Pending,
date_from=datetime.datetime(2023, 5, 8),
date_to=datetime.datetime(2023, 6, 8),
Expand Down
2 changes: 2 additions & 0 deletions docs/sdk/python/human_protocol_sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,13 @@
* [`ChainId.MOONBASE_ALPHA`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.MOONBASE_ALPHA)
* [`ChainId.MOONBEAM`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.MOONBEAM)
* [`ChainId.POLYGON`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.POLYGON)
* [`ChainId.POLYGON_AMOY`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.POLYGON_AMOY)
* [`ChainId.POLYGON_MUMBAI`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.POLYGON_MUMBAI)
* [`ChainId.RINKEBY`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.RINKEBY)
* [`ChainId.SKALE`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.SKALE)
* [`KVStoreKeys`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys)
* [`KVStoreKeys.fee`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.fee)
* [`KVStoreKeys.job_types`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.job_types)
* [`KVStoreKeys.public_key`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.public_key)
* [`KVStoreKeys.role`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.role)
* [`KVStoreKeys.url`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.url)
Expand Down
21 changes: 12 additions & 9 deletions docs/sdk/python/human_protocol_sdk.operator.operator_utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ from human_protocol_sdk.operator import OperatorUtils, LeaderFilter

print(
OperatorUtils.get_leaders(
LeaderFilter(networks=[ChainId.POLYGON_MUMBAI], role="Job Launcher")
LeaderFilter(networks=[ChainId.POLYGON_AMOY], role="Job Launcher")
)
)
```

## Module

### *class* human_protocol_sdk.operator.operator_utils.LeaderData(chain_id, id, address, amount_staked, amount_allocated, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reputation, reward, amount_jobs_launched, role=None, fee=None, public_key=None, webhook_url=None, url=None)
### *class* human_protocol_sdk.operator.operator_utils.LeaderData(chain_id, id, address, amount_staked, amount_allocated, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reputation, reward, amount_jobs_launched, role=None, fee=None, public_key=None, webhook_url=None, url=None, job_types=None)

Bases: `object`

#### \_\_init_\_(chain_id, id, address, amount_staked, amount_allocated, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reputation, reward, amount_jobs_launched, role=None, fee=None, public_key=None, webhook_url=None, url=None)
#### \_\_init_\_(chain_id, id, address, amount_staked, amount_allocated, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reputation, reward, amount_jobs_launched, role=None, fee=None, public_key=None, webhook_url=None, url=None, job_types=None)

Initializes an LeaderData instance.

Expand All @@ -43,6 +43,7 @@ Initializes an LeaderData instance.
* **public_key** (`Optional`[`str`]) – Public key
* **webhook_url** (`Optional`[`str`]) – Webhook url
* **url** (`Optional`[`str`]) – Url
* **job_types** (`Optional`[`str`]) – Job types

### *class* human_protocol_sdk.operator.operator_utils.LeaderFilter(networks, role=None)

Expand All @@ -58,11 +59,11 @@ Initializes a LeaderFilter instance.
* **networks** (`List`[[`ChainId`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId)]) – Networks to request data
* **role** (`Optional`[`str`]) – Leader role

### *class* human_protocol_sdk.operator.operator_utils.Operator(address, role)
### *class* human_protocol_sdk.operator.operator_utils.Operator(address, role, url='', job_types='')

Bases: `object`

#### \_\_init_\_(address, role)
#### \_\_init_\_(address, role, url='', job_types='')

Initializes an Operator instance.

Expand Down Expand Up @@ -93,7 +94,7 @@ Get the leader details.
from human_protocol_sdk.operator import OperatorUtils

leader = OperatorUtils.get_leader(
ChainId.POLYGON_MUMBAI,
ChainId.POLYGON_AMOY,
'0x62dD51230A30401C455c8398d06F85e4EaB6309f'
)
```
Expand All @@ -115,7 +116,7 @@ Get leaders data of the protocol

print(
OperatorUtils.get_leaders(
LeaderFilter(networks=[ChainId.POLYGON_MUMBAI])
LeaderFilter(networks=[ChainId.POLYGON_AMOY])
)
)
```
Expand All @@ -128,6 +129,8 @@ Get the reputation network operators of the specified address.
* **chain_id** ([`ChainId`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId)) – Network in which the reputation network exists
* **address** (`str`) – Address of the reputation oracle
* **role** (`Optional`[`str`]) – (Optional) Role of the operator
* **Parem job_types:**
(Optional) Job types of the operator
* **Return type:**
`List`[[`Operator`](#human_protocol_sdk.operator.operator_utils.Operator)]
* **Returns:**
Expand All @@ -138,7 +141,7 @@ Get the reputation network operators of the specified address.
from human_protocol_sdk.operator import OperatorUtils

leader = OperatorUtils.get_reputation_network_operators(
ChainId.POLYGON_MUMBAI,
ChainId.POLYGON_AMOY,
'0x62dD51230A30401C455c8398d06F85e4EaB6309f'
)
```
Expand All @@ -160,7 +163,7 @@ Get rewards of the given slasher
from human_protocol_sdk.operator import OperatorUtils

rewards_info = OperatorUtils.get_rewards_info(
ChainId.POLYGON_MUMBAI,
ChainId.POLYGON_AMOY,
'0x62dD51230A30401C455c8398d06F85e4EaB6309f'
)
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This client enables to obtain statistical information from the subgraph.
from human_protocol_sdk.constants import ChainId
from human_protocol_sdk.statistics import StatisticsClient

statistics_client = StatisticsClient(ChainId.POLYGON_MUMBAI)
statistics_client = StatisticsClient(ChainId.POLYGON_AMOY)
```

## Module
Expand Down Expand Up @@ -134,13 +134,13 @@ Initializes a PaymentStatistics instance.
* **Parameters:**
**daily_payments_data** (`List`[[`DailyPaymentData`](#human_protocol_sdk.statistics.statistics_client.DailyPaymentData)]) – Daily payments data

### *class* human_protocol_sdk.statistics.statistics_client.StatisticsClient(chain_id=ChainId.POLYGON_MUMBAI)
### *class* human_protocol_sdk.statistics.statistics_client.StatisticsClient(chain_id=ChainId.POLYGON_AMOY)

Bases: `object`

A client used to get statistical data.

#### \_\_init_\_(chain_id=ChainId.POLYGON_MUMBAI)
#### \_\_init_\_(chain_id=ChainId.POLYGON_AMOY)

Initializes a Statistics instance

Expand All @@ -162,7 +162,7 @@ Get escrow statistics data for the given date range.
from human_protocol_sdk.contants import ChainId
from human_protocol_sdk.statistics import StatisticsClient, StatisticsParam

statistics_client = StatisticsClient(ChainId.POLYGON_MUMBAI)
statistics_client = StatisticsClient(ChainId.POLYGON_AMOY)

print(statistics_client.get_escrow_statistics())
print(
Expand Down Expand Up @@ -190,7 +190,7 @@ Get HMT statistics data for the given date range.
from human_protocol_sdk.contants import ChainId
from human_protocol_sdk.statistics import StatisticsClient, StatisticsParam

statistics_client = StatisticsClient(ChainId.POLYGON_MUMBAI)
statistics_client = StatisticsClient(ChainId.POLYGON_AMOY)

print(statistics_client.get_hmt_statistics())
print(
Expand Down Expand Up @@ -218,7 +218,7 @@ Get payment statistics data for the given date range.
from human_protocol_sdk.contants import ChainId
from human_protocol_sdk.statistics import StatisticsClient, StatisticsParam

statistics_client = StatisticsClient(ChainId.POLYGON_MUMBAI)
statistics_client = StatisticsClient(ChainId.POLYGON_AMOY)

print(statistics_client.get_payment_statistics())
print(
Expand Down Expand Up @@ -246,7 +246,7 @@ Get worker statistics data for the given date range.
from human_protocol_sdk.contants import ChainId
from human_protocol_sdk.statistics import StatisticsClient, StatisticsParam

statistics_client = StatisticsClient(ChainId.POLYGON_MUMBAI)
statistics_client = StatisticsClient(ChainId.POLYGON_AMOY)

print(statistics_client.get_worker_statistics())
print(
Expand Down
18 changes: 15 additions & 3 deletions docs/sdk/typescript/classes/base.BaseEthersClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ This class is used as a base class for other clients making on-chain calls.

#### Defined in

[base.ts:20](https://github.com/humanprotocol/human-protocol/blob/48066071/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L20)
<<<<<<< HEAD
[base.ts:20](https://github.com/humanprotocol/human-protocol/blob/4a01940c/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L20)
=======
[base.ts:20](https://github.com/humanprotocol/human-protocol/blob/e4b60ab1/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L20)
>>>>>>> develop

## Properties

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

#### Defined in

[base.ts:12](https://github.com/humanprotocol/human-protocol/blob/48066071/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L12)
<<<<<<< HEAD
[base.ts:12](https://github.com/humanprotocol/human-protocol/blob/4a01940c/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L12)
=======
[base.ts:12](https://github.com/humanprotocol/human-protocol/blob/e4b60ab1/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L12)
>>>>>>> develop

___

Expand All @@ -70,4 +78,8 @@ ___

#### Defined in

[base.ts:11](https://github.com/humanprotocol/human-protocol/blob/48066071/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L11)
<<<<<<< HEAD
[base.ts:11](https://github.com/humanprotocol/human-protocol/blob/4a01940c/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L11)
=======
[base.ts:11](https://github.com/humanprotocol/human-protocol/blob/e4b60ab1/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L11)
>>>>>>> develop
36 changes: 30 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,11 @@ Constructor for the Encryption class.

#### Defined in

[encryption.ts:53](https://github.com/humanprotocol/human-protocol/blob/48066071/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L53)
<<<<<<< HEAD
[encryption.ts:53](https://github.com/humanprotocol/human-protocol/blob/4a01940c/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L53)
=======
[encryption.ts:53](https://github.com/humanprotocol/human-protocol/blob/e4b60ab1/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L53)
>>>>>>> develop

## Properties

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

#### Defined in

[encryption.ts:46](https://github.com/humanprotocol/human-protocol/blob/48066071/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L46)
<<<<<<< HEAD
[encryption.ts:46](https://github.com/humanprotocol/human-protocol/blob/4a01940c/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L46)
=======
[encryption.ts:46](https://github.com/humanprotocol/human-protocol/blob/e4b60ab1/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L46)
>>>>>>> develop

## Methods

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

#### Defined in

[encryption.ts:180](https://github.com/humanprotocol/human-protocol/blob/48066071/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L180)
<<<<<<< HEAD
[encryption.ts:180](https://github.com/humanprotocol/human-protocol/blob/4a01940c/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L180)
=======
[encryption.ts:180](https://github.com/humanprotocol/human-protocol/blob/e4b60ab1/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L180)
>>>>>>> develop

___

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

#### Defined in

[encryption.ts:217](https://github.com/humanprotocol/human-protocol/blob/48066071/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L217)
<<<<<<< HEAD
[encryption.ts:217](https://github.com/humanprotocol/human-protocol/blob/4a01940c/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L217)
=======
[encryption.ts:217](https://github.com/humanprotocol/human-protocol/blob/e4b60ab1/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L217)
>>>>>>> develop

___

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

#### Defined in

[encryption.ts:129](https://github.com/humanprotocol/human-protocol/blob/48066071/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L129)
<<<<<<< HEAD
[encryption.ts:129](https://github.com/humanprotocol/human-protocol/blob/4a01940c/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L129)
=======
[encryption.ts:129](https://github.com/humanprotocol/human-protocol/blob/e4b60ab1/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L129)
>>>>>>> develop

___

Expand All @@ -263,4 +283,8 @@ 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/48066071/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L64)
<<<<<<< HEAD
[encryption.ts:64](https://github.com/humanprotocol/human-protocol/blob/4a01940c/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L64)
=======
[encryption.ts:64](https://github.com/humanprotocol/human-protocol/blob/e4b60ab1/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L64)
>>>>>>> develop
Loading
Loading