Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #90 from lidofinance/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
infloop authored Mar 10, 2023
2 parents 3da5073 + cd49bb2 commit f6649cc
Show file tree
Hide file tree
Showing 6 changed files with 303 additions and 204 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[comment]: <> (## [Unreleased]&#40;https://github.com/lidofinance/lido-python-sdk&#41; - 2021-09-15)

## [4.0.0](https://github.com/lidofinance/lido-python-sdk/pull/89) - 2023-03-10
### Fixed
- Support to Zhejiang testnet V2

## [3.0.4](https://github.com/lidofinance/lido-python-sdk/pull/86) - 2023-02-12
### Fixed
- Node Operators has no keys issue.
Expand Down
195 changes: 134 additions & 61 deletions lido_sdk/contract/abi/Lido.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,20 +156,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "TOTAL_BASIS_POINTS",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
Expand Down Expand Up @@ -295,6 +281,20 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_newDepositedValidators",
"type": "uint256"
}
],
"name": "unsafeChangeDepositedValidators",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down Expand Up @@ -388,8 +388,8 @@
],
"name": "initialize",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
Expand Down Expand Up @@ -638,6 +638,32 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "eip712Domain",
"outputs": [
{
"name": "name",
"type": "string"
},
{
"name": "version",
"type": "string"
},
{
"name": "chainId",
"type": "uint256"
},
{
"name": "verifyingContract",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down Expand Up @@ -703,6 +729,20 @@
"stateMutability": "pure",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getEIP712StETH",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
Expand Down Expand Up @@ -845,6 +885,20 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "UNSAFE_CHANGE_DEPOSITED_VALIDATORS_ROLE",
"outputs": [
{
"name": "",
"type": "bytes32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand All @@ -867,6 +921,15 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "removeStakingLimit",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
Expand Down Expand Up @@ -895,9 +958,13 @@
"type": "uint256"
},
{
"name": "_lastFinalizableRequestId",
"name": "_sharesRequestedToBurn",
"type": "uint256"
},
{
"name": "_withdrawalFinalizationBatches",
"type": "uint256[]"
},
{
"name": "_simulatedShareRate",
"type": "uint256"
Expand All @@ -906,44 +973,14 @@
"name": "handleOracleReport",
"outputs": [
{
"name": "totalPooledEther",
"type": "uint256"
},
{
"name": "totalShares",
"type": "uint256"
},
{
"name": "withdrawals",
"type": "uint256"
},
{
"name": "elRewards",
"type": "uint256"
"name": "postRebaseAmounts",
"type": "uint256[4]"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "removeStakingLimit",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "receiveStakingRouterDepositRemainder",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down Expand Up @@ -1103,6 +1140,20 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getDepositableEther",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
Expand Down Expand Up @@ -1185,6 +1236,40 @@
"name": "StakingLimitRemoved",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "reportTimestamp",
"type": "uint256"
},
{
"indexed": false,
"name": "preCLValidators",
"type": "uint256"
},
{
"indexed": false,
"name": "postCLValidators",
"type": "uint256"
}
],
"name": "CLValidatorsUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "depositedValidators",
"type": "uint256"
}
],
"name": "DepositedValidatorsChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -1334,18 +1419,6 @@
"name": "Unbuffered",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "amount",
"type": "uint256"
}
],
"name": "StakingRouterDepositRemainderReceived",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down
Loading

0 comments on commit f6649cc

Please sign in to comment.