Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add SingleAssetRedemptionQueue #405

Merged
merged 2 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/grumpy-bugs-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@enzymefinance/abis": patch
"@enzymefinance/sdk": patch
---

Add SingleAssetRedemptionQueue
72 changes: 72 additions & 0 deletions packages/abis/abis/ISingleAssetRedemptionQueueFactory.abi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[
{
"type": "constructor",
"inputs": [
{
"name": "_libAddress",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "deployProxy",
"inputs": [
{
"name": "_vaultProxy",
"type": "address",
"internalType": "address"
},
{
"name": "_redemptionAssetAddress",
"type": "address",
"internalType": "address"
},
{
"name": "_bypassableSharesThreshold",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_managers",
"type": "address[]",
"internalType": "address[]"
}
],
"outputs": [
{
"name": "proxyAddress_",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "ProxyDeployed",
"inputs": [
{
"name": "deployer",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "proxyAddress",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "vaultProxy",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
}
]
13 changes: 13 additions & 0 deletions packages/abis/abis/ISingleAssetRedemptionQueueFactory.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.6.0 <0.9.0;

interface ISingleAssetRedemptionQueueFactory {
event ProxyDeployed(address indexed deployer, address indexed proxyAddress, address indexed vaultProxy);

function deployProxy(
address _vaultProxy,
address _redemptionAssetAddress,
uint256 _bypassableSharesThreshold,
address[] memory _managers
) external returns (address proxyAddress_);
}
Loading
Loading