Skip to content

Commit b94af00

Browse files
authored
Merge pull request #5 from LemonTreeTechnologies/stake_external
Stake external implementation
2 parents d7db0db + 6ebd161 commit b94af00

81 files changed

Lines changed: 10127 additions & 511 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.solcover.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module.exports = {
44
"test/BridgeRelayer.sol",
55
"test/MockActivityChecker.sol",
66
"test/MockVE.sol",
7-
"test/SafeToL2Setup.sol"
7+
"test/SafeToL2Setup.sol"б
8+
"test/StakingTokenV1.sol"
89
]
910
};

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ while maintaining exposure to staking rewards.
2626

2727
### L2 Layer (i.e. Base, etc)
2828
- **StakingManager**: Orchestrates service deployment and staking operations
29+
- **ExternalStakingDistributor**: Performs service deployment and staking for external staking contracts
2930
- **StakingTokenLocked**: Manages individual staking instances and reward distribution
3031
- **ActivityModule**: Handles service activity verification and reward claiming
3132
- **Collector**: Collects and bridges rewards back to L1
@@ -48,6 +49,7 @@ contracts/
4849
│ └── UnstakeRelayer.sol # Unstake request handling
4950
├── l2/ # L2 (Gnosis Chain) contracts
5051
│ ├── StakingManager.sol # Staking orchestration
52+
│ ├── ExternalStakingDistributor # External staking orchestration
5153
│ ├── StakingTokenLocked.sol # Individual staking instances
5254
│ ├── ActivityModule.sol # Service activity management
5355
│ └── Collector.sol # Reward collection and bridging
@@ -78,7 +80,8 @@ doc/ # Documentation and whitepaper
7880
1. Services are deployed on L2 with OLAS backing
7981
2. Rewards accumulate based on service performance
8082
3. ActivityModule verifies service liveness and required KPI performance
81-
4. Collector gathers rewards and bridges them back to L1 via a Distributor contract
83+
4. ExternalStakingDistributor curates all external staking and forces unstakes, if required
84+
5. Collector gathers rewards and bridges them back to L1 via a Distributor contract
8285

8386
### 3. Withdrawal Process
8487
1. User requests withdrawal through Treasury

abis/0.8.30/BaseDepositProcessorL1.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

abis/0.8.30/BaseStakingProcessorL2.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

abis/0.8.30/Collector.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

abis/0.8.30/Depository.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

abis/0.8.30/ExternalStakingDistributor.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

abis/0.8.30/GnosisDepositProcessorL1.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

abis/0.8.30/GnosisStakingProcessorL2.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

abis/0.8.30/MultisigGuard.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)