Skip to content

Commit

Permalink
Update abis, contracts for goerli
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudmi committed Aug 26, 2023
1 parent ba4026d commit 15c0831
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 11 deletions.
92 changes: 83 additions & 9 deletions src/common/abi/IEthVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,31 @@
"name": "FeeRecipientUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "shares",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "assets",
"type": "uint256"
}
],
"name": "FeeSharesMinted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -425,13 +450,39 @@
"type": "function"
},
{
"inputs": [],
"name": "canUpdateExitQueue",
"inputs": [
{
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"internalType": "uint256",
"name": "positionTicket",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "exitQueueIndex",
"type": "uint256"
}
],
"name": "calculateExitedAssets",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
"internalType": "uint256",
"name": "leftShares",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "claimedShares",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "claimedAssets",
"type": "uint256"
}
],
"stateMutability": "view",
Expand Down Expand Up @@ -641,6 +692,19 @@
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "isStateUpdateRequired",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "keysManager",
Expand Down Expand Up @@ -705,7 +769,7 @@
},
{
"internalType": "uint256",
"name": "assets",
"name": "osTokenShares",
"type": "uint256"
},
{
Expand All @@ -718,7 +782,7 @@
"outputs": [
{
"internalType": "uint256",
"name": "shares",
"name": "assets",
"type": "uint256"
}
],
Expand Down Expand Up @@ -781,9 +845,9 @@
"name": "queuedShares",
"outputs": [
{
"internalType": "uint96",
"internalType": "uint128",
"name": "",
"type": "uint96"
"type": "uint128"
}
],
"stateMutability": "view",
Expand Down Expand Up @@ -858,6 +922,11 @@
"name": "validatorsRegistryRoot",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "validators",
Expand Down Expand Up @@ -898,6 +967,11 @@
"name": "validatorsRegistryRoot",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "validators",
Expand Down
5 changes: 5 additions & 0 deletions src/common/abi/IKeeper.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,11 @@
"name": "validatorsRegistryRoot",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "validators",
Expand Down
4 changes: 2 additions & 2 deletions src/config/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ class NetworkConfig:
),
VALIDATORS_REGISTRY_GENESIS_BLOCK=BlockNumber(4367321),
KEEPER_CONTRACT_ADDRESS=Web3.to_checksum_address(
'0xb39CEBd50642389ceE6C058C2134e53417ce053a'
'0x893ceb1cF23475defE3747670EbE4b40e629c6fD'
),
KEEPER_GENESIS_BLOCK=BlockNumber(9290253),
KEEPER_GENESIS_BLOCK=BlockNumber(9583358),
GENESIS_VALIDATORS_ROOT=Bytes32(
Web3.to_bytes(
hexstr=HexStr('0x043db0d9a83813551ee2f33450d23797757d430911a9320530ad8a0eabc43efb')
Expand Down

0 comments on commit 15c0831

Please sign in to comment.