Skip to content

Commit

Permalink
Merge pull request #401 from lidofinance/audit/mev-lips
Browse files Browse the repository at this point in the history
Merge-ready protocol service pack 📦
  • Loading branch information
TheDZhon authored May 19, 2022
2 parents 3e41635 + f3ae43a commit 08436ce
Show file tree
Hide file tree
Showing 80 changed files with 4,209 additions and 664 deletions.
File renamed without changes.
5 changes: 5 additions & 0 deletions apps/lido/app/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export default function App() {
nodeOperatorsRegistry,
depositContract,
oracle,
executionLayerRewardsVault,
// operators,
// treasury,
// insuranceFund,
Expand Down Expand Up @@ -249,6 +250,10 @@ export default function App() {
label: 'Oracle',
content: <IdentityBadge entity={oracle} />,
},
{
label: 'Execution layer rewards Vault',
content: <IdentityBadge entity={executionLayerRewardsVault} />,
},
]
}, [
appState,
Expand Down
1 change: 1 addition & 0 deletions apps/lido/app/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const defaultState = {
nodeOperatorsRegistry: defaultValue,
depositContract: defaultValue,
oracle: defaultValue,
executionLayerRewardsVault: defaultValue,
operators: defaultValue,
treasury: defaultValue,
insuranceFund: defaultValue,
Expand Down
5 changes: 5 additions & 0 deletions apps/lido/app/src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function initializeState() {
nodeOperatorsRegistry: await getNodeOperatorsRegistry(),
depositContract: await getDepositContract(),
oracle: await getOracle(),
executionLayerRewardsVault: await getExecutionLayerRewardsVault(),
// operators: await getOperators(),
// treasury: await getTreasury(),
// insuranceFund: await getInsuranceFund(),
Expand Down Expand Up @@ -107,6 +108,10 @@ function getOracle() {
return app.call('getOracle').toPromise()
}

function getExecutionLayerRewardsVault() {
return app.call('getExecutionLayerRewardsVault').toPromise()
}

// async function getOperators() {
// return await app.call('getOperators').toPromise()
// }
Expand Down
5 changes: 5 additions & 0 deletions arapp.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"registry": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
"appName": "dao.lido.eth",
"network": "mainnet"
},
"kiln": {
"registry": "0xD3A23B83902066baC61e82bCe449fE1d3154Ab5D",
"appName": "dao.lido.eth",
"network": "kiln"
}
},
"appName": "dao.lido.eth"
Expand Down
Loading

0 comments on commit 08436ce

Please sign in to comment.