Skip to content

Commit

Permalink
Merge dev into refactored-to-tasks
Browse files Browse the repository at this point in the history
Signed-off-by: cyc60 <avsysoev60@gmail.com>
  • Loading branch information
cyc60 committed Dec 1, 2023
2 parents ccfbb1f + 3e0f207 commit e6aef4e
Show file tree
Hide file tree
Showing 12 changed files with 1,067 additions and 349 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ docker build --pull -t stakewiselabs/v3-operator .
or pull existing one:
```sh
docker pull europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v1.0.1
docker pull europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v1.0.3
```
You have to mount keystores and deposit data folders into docker container.
Expand All @@ -221,7 +221,7 @@ Start the container with the following command:
```sh
docker run --restart on-failure:10 \
-v ~/.stakewise/:/data \
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v1.0.1 \
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v1.0.3 \
src/main.py start \
--vault=0x3320a...68 \
--data-dir=/data \
Expand Down
641 changes: 322 additions & 319 deletions poetry.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "v3-operator"
version = "v1.0.1"
version = "v1.0.3"
description = "StakeWise operator service for registering vault validators"
authors = ["StakeWise Labs <info@stakewise.io>"]

Expand All @@ -20,6 +20,7 @@ eciespy = "==0.4.0"
prometheus-client = "==0.17.1"
psycopg2 = "==2.9.9"
pyyaml = "==6.0.1"
aiohttp = "==3.9.1"

[tool.poetry.group.dev.dependencies]
pylint = "==3.0.1"
Expand Down
144 changes: 144 additions & 0 deletions src/common/abi/IV2PoolEscrow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "_owner",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferApplied",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "currentOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "futureOwner",
"type": "address"
}
],
"name": "OwnershipTransferCommitted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "payee",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Withdrawn",
"type": "event"
},
{
"inputs": [],
"name": "applyOwnershipTransfer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "commitOwnershipTransfer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "futureOwner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "payee",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "withdraw",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
Loading

0 comments on commit e6aef4e

Please sign in to comment.