-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathYearnBorgCompensationSepolia2025_2026.sol
More file actions
50 lines (38 loc) · 2.2 KB
/
YearnBorgCompensationSepolia2025_2026.sol
File metadata and controls
50 lines (38 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.28;
import {Vm} from "forge-std/Vm.sol";
import {CommonBase} from "forge-std/Base.sol";
import {CyberAgreementRegistry} from "cybercorps-contracts/src/CyberAgreementRegistry.sol";
import {IGnosisSafe} from "../../test/lib/safe.sol";
import {BaseAllocation} from "../../src/BaseAllocation.sol";
import {MetaVesTControllerFactory} from "../../src/MetaVesTControllerFactory.sol";
import {metavestController} from "../../src/MetaVesTController.sol";
import {YearnBorgCompensation2025_2026} from "./YearnBorgCompensation2025_2026.sol";
library YearnBorgCompensationSepolia2025_2026 {
function getDefault(Vm vm) internal view returns(YearnBorgCompensation2025_2026.Config memory) {
IGnosisSafe borgSafe = IGnosisSafe(0x4F22ba82a6B71F7305d1be7Ae7323811f9D555Ab); // dev safe
IGnosisSafe metalexSafe = IGnosisSafe(0x4F22ba82a6B71F7305d1be7Ae7323811f9D555Ab); // dev safe
return YearnBorgCompensation2025_2026.Config({
// External dependencies
paymentToken: 0xF450eF4F268eaF2d3D8F9eD0354852E255A5EAEF, // mintable test USDC
// Yearn BORG
borgSafe: borgSafe,
borgSafeInfo: YearnBorgCompensation2025_2026.PartyInfo({
name: "Yearn BORG Test",
evmAddress: address(borgSafe)
}),
borgAgreementDelegate: 0x5ff4e90Efa2B88cf3cA92D63d244a78a88219Abf,
// MetaLeX
metalexSafe: metalexSafe,
registry: CyberAgreementRegistry(0xa9E808B8eCBB60Bb19abF026B5b863215BC4c134),
metavestControllerFactory: MetaVesTControllerFactory(0xDeaDbeefdEAdbeefdEadbEEFdeadbeEFdEaDbeeF), // TODO TBD
controller: metavestController(0xFa5Ab18bD5E02B1d6430e91C32C5CB5e7F43bB65),
// Yearn BORG Compensation Agreement
compRecipients: YearnBorgCompensation2025_2026.loadGuardianAndComps(vm),
paymentTokenApprovalCap: 5000e6, // 5000 USDC * 1 recipient
fixedAnnualCompensation: 5000e6, // 5000 USDC
metavestVestingAndUnlockStartTime: 1756684800, // 2025/09/01 00:00 UTC
milestones: new BaseAllocation.Milestone[](0)
});
}
}