From 1817d5210cb495b9c91190b6d1d82f4440e1348e Mon Sep 17 00:00:00 2001 From: Alexander Sysoev Date: Mon, 27 Nov 2023 18:44:13 +0300 Subject: [PATCH] Add missed ABI (#243) Signed-off-by: cyc60 --- README.md | 4 +- pyproject.toml | 2 +- src/common/abi/IV2PoolEscrow.json | 144 ++++++++++++++++++++++++++++++ 3 files changed, 147 insertions(+), 3 deletions(-) create mode 100644 src/common/abi/IV2PoolEscrow.json diff --git a/README.md b/README.md index fb87a282..82e976b9 100644 --- a/README.md +++ b/README.md @@ -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.2 +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. @@ -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.2 \ + europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v1.0.3 \ src/main.py start \ --vault=0x3320a...68 \ --data-dir=/data \ diff --git a/pyproject.toml b/pyproject.toml index 22af6b0d..20d3d4ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "v3-operator" -version = "v1.0.2" +version = "v1.0.3" description = "StakeWise operator service for registering vault validators" authors = ["StakeWise Labs "] diff --git a/src/common/abi/IV2PoolEscrow.json b/src/common/abi/IV2PoolEscrow.json new file mode 100644 index 00000000..a6d627cc --- /dev/null +++ b/src/common/abi/IV2PoolEscrow.json @@ -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" + } +]