Skip to content
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
- [x] `IexecPoco2Delegate.sol`

### Features
- Migrated utility files to TypeScript : (#183)
- `FactoryDeployer.js`, `constants.js`, `odb-tools.js`
- Removed deprecated `scripts/ens/sidechain.js`
- Purge Truffle leftovers (#180, #181, #182)
- Sunset Jenkins pipeline (#178)
- Re-use variable in `IexecPoco2Delegate` in `contribute(...)` function. (#168)
Expand Down
31 changes: 31 additions & 0 deletions docs/ENS-Addresses.md
Copy link
Member

Choose a reason for hiding this comment

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

Thank you for adding this file 🙏.
We can reference it in docs/README.md:

# ENS

Registered ENS names on Bellecour or Mainnet are documented in [./ENS-Addresses.md](./ENS-Addresses.md)

Copy link
Member

Choose a reason for hiding this comment

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

Do you think we can add addresses for each name?

Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# ENS Addresses in iExec PoCo

This document describes the ENS (Ethereum Name Service) addresses used in the iExec Protocol.

## Domain Structure

The iExec protocol uses the following ENS domain hierarchy:
- Root domain: `iexec.eth`
- Protocol version domain: `v5.iexec.eth`
- User domain: `users.iexec.eth`
- Resource domains:
- `apps.iexec.eth`
- `datasets.iexec.eth`
- `pools.iexec.eth`

## Core Protocol Addresses

The following ENS names are registered for core protocol components:

- `admin.iexec.eth` - Protocol administrator address
- `rlc.iexec.eth` - RLC token contract address
- `core.v5.iexec.eth` - Core protocol proxy (ERC1538Proxy)
- `0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f`
- `apps.v5.iexec.eth` - App registry contract
- `0xB1C52075b276f87b1834919167312221d50c9D16`
- `datasets.v5.iexec.eth` - Dataset registry contract
- `0x799DAa22654128d0C64d5b79eac9283008158730`
- `workerpools.v5.iexec.eth` - Workerpool registry contract
- `0xC76A18c78B7e530A165c5683CB1aB134E21938B4`

To get more details, see [1_deploy-ens.ts script](../deploy/1_deploy-ens.ts).
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@

* Nominal TEE
[![Nominal TEE](https://tinyurl.com/2zubyfvw)](https://tinyurl.com/2zubyfvw)<!--![Nominal TEE](./uml/workflow-ODB-2c-match2finalize-nominal-tee.puml)-->

# ENS
Registered ENS names on Bellecour or Mainnet are documented in [./ENS-Addresses.md](./ENS-Addresses.md)
214 changes: 0 additions & 214 deletions scripts/ens/sidechain.js

This file was deleted.

2 changes: 1 addition & 1 deletion test/000_fullchain-boost.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
TestClient__factory,
WorkerpoolInterface__factory,
} from '../typechain';
import constants from '../utils/constants';
import * as constants from '../utils/constants';
import {
OrdersActors,
OrdersAssets,
Expand Down
2 changes: 1 addition & 1 deletion test/byContract/IexecPoco/IexecPoco2-claim.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
getTaskId,
} from '../../../utils/poco-tools';
import { IexecWrapper } from '../../utils/IexecWrapper';
import constants from './../../../utils/constants';
import * as constants from './../../../utils/constants';

const categoryTime = 300;
const maxDealDuration = 10 * categoryTime;
Expand Down
2 changes: 1 addition & 1 deletion test/byContract/IexecPocoBoost/IexecPocoBoost.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {
TestClient,
TestClient__factory,
} from '../../../typechain';
import constants from '../../../utils/constants';
import * as constants from '../../../utils/constants';
import {
IexecOrders,
OrdersActors,
Expand Down
Loading