-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_example_omnibus.ts
105 lines (103 loc) · 4.46 KB
/
_example_omnibus.ts
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
import omnibuses from "../src/omnibuses/omnibuses";
import { call, event } from "../src/votes";
const description = `
1. **Expanding the Simple DVT Module:** Incre a s e the Simple DVT module's staking share limit from 0.5% to 4%, as decided in the [Snapshot vote](https://snapshot.org/#/lido-snapshot.eth/proposal/0xaca2da3c932542e030db8bf5b6e4420bf4aa98bd57bd62b9b8008a4b7398abb2).
2. **Lido Contributors Group Funding:** Trans fer 180,000 LDO within the [EGG st2024 v2 Grant Funding](https://snapshot.org/#/lido-snapshot.eth/proposal/0x2baf3275d15a8494ff94fef58d93bedd2fc28bfea8519f7e86474fc72dc25076) to the [PML multisig](https://app.safe.global/settings/setup?safe=eth:0x17F6b2C738a63a8D3A113a228cfd0b373244633D).
`;
export default omnibuses.create({
network: "mainnet",
description: "",
// launchedOn: 12345678, // Launch block number should be set only if omnibus was successfully launched.
// voteId: 000, // Vote ID should be set only if omnibus is already started.
// executedOn: 12345678, // Execution block number should be set only if vote is passed and omnibus was successfully executed.
quorumReached: false, // Should be set to true if quorum was reached during the vote.
items: ({ blueprints, contracts }) => [
blueprints.easyTrack.addPaymentEvmScriptFactories({
name: "reWARDS stETH",
factories: {
topUp: "0x85d703B2A4BaD713b596c647badac9A1e95bB03d",
addRecipient: "0x1dCFc37719A99d73a0ce25CeEcbeFbF39938cF2C",
removeRecipient: "0x00BB68a12180a8f7E20D8422ba9F81c07A19A79E",
},
registry: "0xAa47c268e6b2D4ac7d7f7Ffb28A39484f5212c2A",
}),
blueprints.tokens.transferLDO({
title: "Transfer 110,000 LDO to Argo Technology Consulting Ltd. (ATC) multisig",
to: "0x9B1cebF7616f2BC73b47D226f90b01a7c9F86956", // Argo Technology Consulting Ltd. (ATC) multisig
amount: 110_000n * 10n ** 18n,
}),
blueprints.tokens.transferLDO({
title: "Transfer 10,000 LDO to Lucky Wallet",
to: "0x0000000000000000000000000000000000000777", // Random Address
amount: 10_000n * 10n ** 18n,
}),
blueprints.easyTrack.removePaymentEvmScriptFactories({
name: "reWARDS LDO",
factories: {
topUp: "0x200dA0b6a9905A377CF8D469664C65dB267009d1",
addRecipient: "0x48c135Ff690C2Aa7F5B11C539104B5855A4f9252",
removeRecipient: "0x7E8eFfAb3083fB26aCE6832bFcA4C377905F97d7",
},
}),
blueprints.stakingRouter.addNodeOperators({
operators: [
{
name: "A41",
rewardAddress: "0x2A64944eBFaFF8b6A0d07B222D3d83ac29c241a7",
},
{
name: "Develp GmbH",
rewardAddress: "0x0a6a0b60fFeF196113b3530781df6e747DdC565e",
},
{
name: "Ebunker",
rewardAddress: "0x2A2245d1f47430b9f60adCFC63D158021E80A728",
},
{
name: "Gateway.fm AS",
rewardAddress: "0x78CEE97C23560279909c0215e084dB293F036774",
},
{
name: "Numic",
rewardAddress: "0x0209a89b6d9F707c14eB6cD4C3Fb519280a7E1AC",
},
{
name: "ParaFi Technologies LLC",
rewardAddress: "0x5Ee590eFfdf9456d5666002fBa05fbA8C3752CB7",
},
{
name: "RockawayX Infra",
rewardAddress: "0xcA6817DAb36850D58375A10c78703CE49d41D25a",
},
],
}),
{
title: "Transfer 180,000 LDO to Pool Maintenance Labs Ltd. (PML) multisig",
evmCall: call(contracts.finance.newImmediatePayment, [
contracts.ldo,
"0x17F6b2C738a63a8D3A113a228cfd0b373244633D",
180000n * 10n ** 18n,
"Transfer 180,000 LDO to Pool Maintenance Labs Ltd. (PML) multisig",
]),
expectedEvents: [
event(contracts.callsScript, "LogScriptCall", { emitter: contracts.voting }),
event(contracts.finance, "NewPeriod", undefined, { optional: true }),
event(contracts.finance, "NewTransaction", {
args: [
undefined,
false,
"0x17F6b2C738a63a8D3A113a228cfd0b373244633D",
180000n * 10n ** 18n,
"Transfer 180,000 LDO to Pool Maintenance Labs Ltd. (PML) multisig",
],
}),
event(contracts.ldo, "Transfer", {
args: [contracts.agent, "0x17F6b2C738a63a8D3A113a228cfd0b373244633D", 180000n * 10n ** 18n],
}),
event(contracts.agent, "VaultTransfer", {
args: [contracts.ldo, "0x17F6b2C738a63a8D3A113a228cfd0b373244633D", 180000n * 10n ** 18n],
}),
],
},
],
});