Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/context/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- Protocol logic: `contracts/facets/*Facet.sol`
- External API declarations: `contracts/interfaces/`
- `contracts/IexecInterfaceToken.sol` aggregates them into the single interface downstream tools compile against
- Shared helpers: `contracts/abstract/` (`FacetBase`, `IexecPocoCommon`, `SignatureVerifier`, …)
- Shared helpers: `contracts/abstract/` for inherited bases (`FacetBase`) and `contracts/libs/` for stateless helper libraries (`CommonLib`, `EscrowLib`, `PocoStorageLib`, …)
- Storage lives in one struct accessed through `contracts/libs/PocoStorageLib.sol`, shared by every facet: **never reorder or remove an existing variable, only append**. `npm run check-storage-layout` is the CI gate.
- Adding or removing a facet means editing two hand-maintained lists: `utils/proxy-tools.ts#getAllLocalFacetFunctions` (selector-to-name map used by upgrades) and the facet groups in `scripts/tools/sol-to-uml.mjs`.

Expand Down
2 changes: 1 addition & 1 deletion .solcover.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
solcOptimizerDetails: {
yul: true,
yulDetails: {
optimizerSteps: '',
optimizerSteps: 'u',
},
},
mocha: {
Expand Down
88 changes: 0 additions & 88 deletions abis/contracts/facets/IexecEscrowTokenFacet.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,75 +45,6 @@
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Lock",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "ref",
"type": "bytes32"
}
],
"name": "Reward",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "ref",
"type": "bytes32"
}
],
"name": "Seize",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand All @@ -139,25 +70,6 @@
"name": "Transfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Unlock",
"type": "event"
},
{
"stateMutability": "payable",
"type": "fallback"
Expand Down
94 changes: 0 additions & 94 deletions abis/contracts/facets/IexecPoco1Facet.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,6 @@
"name": "IncompatibleDatasetOrder",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -116,31 +91,6 @@
"name": "OrdersMatched",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "ref",
"type": "bytes32"
}
],
"name": "Reward",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand All @@ -160,31 +110,6 @@
"name": "SchedulerNotice",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "ref",
"type": "bytes32"
}
],
"name": "Seize",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand All @@ -210,25 +135,6 @@
"name": "Transfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Unlock",
"type": "event"
},
{
"inputs": [
{
Expand Down
25 changes: 0 additions & 25 deletions abis/contracts/facets/IexecPoco2Facet.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,6 @@
"name": "AccurateContribution",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down
25 changes: 0 additions & 25 deletions abis/contracts/facets/IexecPocoBoostFacet.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,6 @@
"name": "SafeCastOverflowedUintDowncast",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down
Loading
Loading