Skip to content

Commit

Permalink
Merge pull request #70 from Geodefi/dev
Browse files Browse the repository at this point in the history
Stage v2.1
  • Loading branch information
geode-main authored May 15, 2024
2 parents 11f9567 + 5827c99 commit dbfc6e7
Show file tree
Hide file tree
Showing 20 changed files with 1,973 additions and 1,911 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Whether you're looking to query contract data or execute transactions, **geodefi

## Features

- Supports Ethereum Holesky testnet (as of v2.0.0) where The Protocol is deployed.
- Supports Ethereum Holesky testnet (as of v2.1.0) where The Protocol is deployed.
- Provides a simple and intuitive API for managing validators, operators, pools, tokens, and other smart contracts/packages.
- Dynamically adapts to the contract upgrades.
- Mostly chain agnostic. However, might differ according to the unique PoS implementations.
Expand Down
2 changes: 0 additions & 2 deletions docs/creating_validators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ Keep your `mnemonic` in mind
You can use a new mnemonic for every single pool, or you can use a one global mnemonic and increase its index over time.
But, it is very important that you keep some consistency on your mnemonic usage, while keeping it safe.

I will use one global mnemonic.

Detect which pools you can stake for
------------------------------------

Expand Down
20 changes: 10 additions & 10 deletions docs/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,42 @@
Exceptions
===============

.. py:exception:: PythonVersionException
.. py:exception:: PythonVersionError
Raises whenPython ``Current version is < 3.7 or > 3.10``

.. py:exception:: UnknownChainException
.. py:exception:: UnknownChainError
Raises when ``Provided RPC points to an unknown chainId``

.. py:exception:: UnexpectedResponseException
.. py:exception:: UnexpectedResponseError
Raises when ``Https call resulted with an error code (non 2xx)``

.. py:exception:: HTTPRequestException
.. py:exception:: HTTPRequestError
Raises when ``RESPONSE IS NOT CODE 200``

.. py:exception:: MaxAttemptException
.. py:exception:: MaxAttemptError
Raises when ``MULTIPLE ATTEMPT MADE BUT CALL FAILED``

.. py:exception:: DepositSizeException
.. py:exception:: DepositSizeError
Raises when ``DEPOSIT SIZE IS NOT CORRECT !(1/31) !(1/31)``

.. py:exception:: WithdrawalCredentialException
.. py:exception:: WithdrawalCredentialError
Raises when ``INCORRECT withdrawal_credentials``

.. py:exception:: GenesisForkException
.. py:exception:: GenesisForkError
Raises when ``INCORRECT fork_version``

.. py:exception:: NetworkNameException
.. py:exception:: NetworkNameError
Raises when ``INCORRECT network_name``

.. py:exception:: DepositDataException
.. py:exception:: DepositDataError
Raises when ``CAN NOT VERIFY DEPOSIT DATA``
5 changes: 5 additions & 0 deletions docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
Release Notes
=============

2.1.0 (2024-05-15)
------------------
* New holesky deployment.
* Exception names improved.

2.0.0 (2024-03-01)
------------------
* Added holesky deployment mirroring the mainnet deployment.
Expand Down
24 changes: 12 additions & 12 deletions geodefi/abis/holesky/middleware/ERC20Middleware.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x1242479a6Ba9a7Db0fEB1eFBc37AC442b1Ba8a06",
"address": "0xA20947854aA75ec6C0C195C59327D9d3df2128C4",
"abi": [
{
"inputs": [],
Expand Down Expand Up @@ -400,32 +400,32 @@
"type": "function"
}
],
"transactionHash": "0x34c86833a4d9deccbad560a7f387144910997b95f1f48f87f98641d505cd5978",
"transactionHash": "0x91d4a4830b1b45e2e284ad8bd8fd4f0fe556d02583740a5c06a39b9932e35e1a",
"receipt": {
"to": null,
"from": "0x7B6fA217a374826FCa50dccB87041AE0e34Ba1f5",
"contractAddress": "0x1242479a6Ba9a7Db0fEB1eFBc37AC442b1Ba8a06",
"contractAddress": "0xA20947854aA75ec6C0C195C59327D9d3df2128C4",
"transactionIndex": 1,
"gasUsed": "968669",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000800000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000100000000000000000000000000000004000000000000000000000000000000000",
"blockHash": "0x5daf012d75fae3877d06f9290c5588e5093b8d2b87bbc72b55f4b61dc35535ef",
"transactionHash": "0x34c86833a4d9deccbad560a7f387144910997b95f1f48f87f98641d505cd5978",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000100000000000",
"blockHash": "0x7bcec9b4961da980a4b9ccb741502b89a013450ecc8412ad6c3913392bff32f9",
"transactionHash": "0x91d4a4830b1b45e2e284ad8bd8fd4f0fe556d02583740a5c06a39b9932e35e1a",
"logs": [
{
"transactionIndex": 1,
"blockNumber": 852080,
"transactionHash": "0x34c86833a4d9deccbad560a7f387144910997b95f1f48f87f98641d505cd5978",
"address": "0x1242479a6Ba9a7Db0fEB1eFBc37AC442b1Ba8a06",
"blockNumber": 1550554,
"transactionHash": "0x91d4a4830b1b45e2e284ad8bd8fd4f0fe556d02583740a5c06a39b9932e35e1a",
"address": "0xA20947854aA75ec6C0C195C59327D9d3df2128C4",
"topics": [
"0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2"
],
"data": "0x000000000000000000000000000000000000000000000000ffffffffffffffff",
"logIndex": 0,
"blockHash": "0x5daf012d75fae3877d06f9290c5588e5093b8d2b87bbc72b55f4b61dc35535ef"
"blockHash": "0x7bcec9b4961da980a4b9ccb741502b89a013450ecc8412ad6c3913392bff32f9"
}
],
"blockNumber": 852080,
"cumulativeGasUsed": "989669",
"blockNumber": 1550554,
"cumulativeGasUsed": "990133",
"status": 1,
"byzantium": true
},
Expand Down
30 changes: 15 additions & 15 deletions geodefi/abis/holesky/middleware/ERC20PermitMiddleware.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x54A579dedEBca9089Dc8f26C5230fC76bEFC0fda",
"address": "0x06D568EA6ED820e09F367969078316Dc55bbC3d3",
"abi": [
{
"inputs": [],
Expand Down Expand Up @@ -594,32 +594,32 @@
"type": "function"
}
],
"transactionHash": "0xe9118e5bbc7ef31482bcf9fc786fdfd9ffb501762118b06beaa09409806c9c6b",
"transactionHash": "0x94481f73441102b8f62f1103580b3426d4f362bb89f2315788d79ecac95fa71d",
"receipt": {
"to": null,
"from": "0x7B6fA217a374826FCa50dccB87041AE0e34Ba1f5",
"contractAddress": "0x54A579dedEBca9089Dc8f26C5230fC76bEFC0fda",
"transactionIndex": 1,
"contractAddress": "0x06D568EA6ED820e09F367969078316Dc55bbC3d3",
"transactionIndex": 3,
"gasUsed": "1412423",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000004000000000000000000000000000000000000000000000000000002002000000000000000000000000000",
"blockHash": "0xcbdb43ee13073eb27cdc6feb0082ae084a7a9e48035ddf840b4a8237a595dee3",
"transactionHash": "0xe9118e5bbc7ef31482bcf9fc786fdfd9ffb501762118b06beaa09409806c9c6b",
"logsBloom": "0x00000000000000000044000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000080000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x12a23322805f0b0bd3c414203e9f0beeed443fc9210282d7fd4ed017c9cb182f",
"transactionHash": "0x94481f73441102b8f62f1103580b3426d4f362bb89f2315788d79ecac95fa71d",
"logs": [
{
"transactionIndex": 1,
"blockNumber": 852081,
"transactionHash": "0xe9118e5bbc7ef31482bcf9fc786fdfd9ffb501762118b06beaa09409806c9c6b",
"address": "0x54A579dedEBca9089Dc8f26C5230fC76bEFC0fda",
"transactionIndex": 3,
"blockNumber": 1550555,
"transactionHash": "0x94481f73441102b8f62f1103580b3426d4f362bb89f2315788d79ecac95fa71d",
"address": "0x06D568EA6ED820e09F367969078316Dc55bbC3d3",
"topics": [
"0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2"
],
"data": "0x000000000000000000000000000000000000000000000000ffffffffffffffff",
"logIndex": 0,
"blockHash": "0xcbdb43ee13073eb27cdc6feb0082ae084a7a9e48035ddf840b4a8237a595dee3"
"logIndex": 4,
"blockHash": "0x12a23322805f0b0bd3c414203e9f0beeed443fc9210282d7fd4ed017c9cb182f"
}
],
"blockNumber": 852081,
"cumulativeGasUsed": "1433423",
"blockNumber": 1550555,
"cumulativeGasUsed": "2565136",
"status": 1,
"byzantium": true
},
Expand Down
40 changes: 20 additions & 20 deletions geodefi/abis/holesky/middleware/ERC20RebaseMiddleware.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions geodefi/abis/holesky/middleware/ERC20RebasePermitMiddleware.json

Large diffs are not rendered by default.

74 changes: 53 additions & 21 deletions geodefi/abis/holesky/package/Portal.json

Large diffs are not rendered by default.

Loading

0 comments on commit dbfc6e7

Please sign in to comment.