Skip to content

Commit

Permalink
Revert merging redeem and enter exit queue
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudmi committed Oct 8, 2023
1 parent 0486277 commit 316d9a8
Show file tree
Hide file tree
Showing 36 changed files with 513 additions and 113 deletions.
5 changes: 5 additions & 0 deletions abi/Errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"name": "ClaimTooEarly",
"type": "error"
},
{
"inputs": [],
"name": "Collateralized",
"type": "error"
},
{
"inputs": [],
"name": "DeadlineExpired",
Expand Down
32 changes: 31 additions & 1 deletion abi/IEthErc20Vault.json
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,13 @@
}
],
"name": "enterExitQueue",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "positionTicket",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -1130,6 +1136,30 @@
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "shares",
"type": "uint256"
},
{
"internalType": "address",
"name": "receiver",
"type": "address"
}
],
"name": "redeem",
"outputs": [
{
"internalType": "uint256",
"name": "assets",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
32 changes: 31 additions & 1 deletion abi/IEthGenesisVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,13 @@
}
],
"name": "enterExitQueue",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "positionTicket",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -951,6 +957,30 @@
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "shares",
"type": "uint256"
},
{
"internalType": "address",
"name": "receiver",
"type": "address"
}
],
"name": "redeem",
"outputs": [
{
"internalType": "uint256",
"name": "assets",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
32 changes: 31 additions & 1 deletion abi/IEthPrivErc20Vault.json
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,13 @@
}
],
"name": "enterExitQueue",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "positionTicket",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -1174,6 +1180,30 @@
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "shares",
"type": "uint256"
},
{
"internalType": "address",
"name": "receiver",
"type": "address"
}
],
"name": "redeem",
"outputs": [
{
"internalType": "uint256",
"name": "assets",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
32 changes: 31 additions & 1 deletion abi/IEthPrivVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,13 @@
}
],
"name": "enterExitQueue",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "positionTicket",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -908,6 +914,30 @@
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "shares",
"type": "uint256"
},
{
"internalType": "address",
"name": "receiver",
"type": "address"
}
],
"name": "redeem",
"outputs": [
{
"internalType": "uint256",
"name": "assets",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
32 changes: 31 additions & 1 deletion abi/IEthVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,13 @@
}
],
"name": "enterExitQueue",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "positionTicket",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -864,6 +870,30 @@
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "shares",
"type": "uint256"
},
{
"internalType": "address",
"name": "receiver",
"type": "address"
}
],
"name": "redeem",
"outputs": [
{
"internalType": "uint256",
"name": "assets",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
32 changes: 31 additions & 1 deletion abi/IRewardSplitter.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,13 @@
}
],
"name": "enterExitQueue",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "positionTicket",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -212,6 +218,30 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "rewards",
"type": "uint256"
},
{
"internalType": "address",
"name": "receiver",
"type": "address"
}
],
"name": "redeem",
"outputs": [
{
"internalType": "uint256",
"name": "assets",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
32 changes: 31 additions & 1 deletion abi/IVaultEnterExit.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,13 @@
}
],
"name": "enterExitQueue",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "positionTicket",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -466,6 +472,30 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "shares",
"type": "uint256"
},
{
"internalType": "address",
"name": "receiver",
"type": "address"
}
],
"name": "redeem",
"outputs": [
{
"internalType": "uint256",
"name": "assets",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
32 changes: 31 additions & 1 deletion abi/IVaultEthStaking.json
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,13 @@
}
],
"name": "enterExitQueue",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "positionTicket",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -574,6 +580,30 @@
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "shares",
"type": "uint256"
},
{
"internalType": "address",
"name": "receiver",
"type": "address"
}
],
"name": "redeem",
"outputs": [
{
"internalType": "uint256",
"name": "assets",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
Loading

0 comments on commit 316d9a8

Please sign in to comment.