Skip to content

Commit

Permalink
feat: remove deprecated self custody code
Browse files Browse the repository at this point in the history
- remove self custody deps
- remove self custody contracts
  • Loading branch information
gabririgo committed Nov 25, 2023
1 parent 52e171c commit 5cf93f9
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 329 deletions.
112 changes: 0 additions & 112 deletions contracts/protocol/extensions/adapters/ASelfCustody.sol

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ pragma solidity >=0.8.0 <0.9.0;

import "./IAGovernance.sol";
import "./IAMulticall.sol";
import "./IASelfCustody.sol";
import "./IAStaking.sol";
import "./IAUniswap.sol";
import "./IAUniswapV3NPM.sol";
Expand All @@ -34,7 +33,6 @@ import "./IEWhitelist.sol";
interface IRigoblockExtensions is
IAGovernance,
IAMulticall,
IASelfCustody,
IAStaking,
IAUniswap,
IAUniswapV3NPM,
Expand Down
10 changes: 0 additions & 10 deletions src/deploy/deploy_staking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,6 @@ const deploy: DeployFunction = async function (
deterministicDeployment: true,
});

await deploy("ASelfCustody", {
from: deployer,
args: [
grgVault.address,
stakingProxy.address
],
log: true,
deterministicDeployment: true,
})

const inflation = await deploy("Inflation", {
from: deployer,
args: [
Expand Down
10 changes: 0 additions & 10 deletions src/deploy/deploy_stakingL2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,6 @@ const deploy: DeployFunction = async function (
deterministicDeployment: true,
});

await deploy("ASelfCustody", {
from: deployer,
args: [
grgVault.address,
stakingProxy.address
],
log: true,
deterministicDeployment: true,
})

const inflation = await deploy("InflationL2", {
from: deployer,
args: [deployer],
Expand Down
11 changes: 0 additions & 11 deletions src/deploy/deploy_tests_setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,17 +181,6 @@ const deploy: DeployFunction = async function (
deterministicDeployment: true,
});

// TODO: check if we can move adapters deploy inside the tests
await deploy("ASelfCustody", {
from: deployer,
args: [
grgVault.address,
stakingProxy.address
],
log: true,
deterministicDeployment: true,
})

const mockUniswapRouter = await deploy("MockUniswapRouter", {
from: deployer,
args: [],
Expand Down
133 changes: 0 additions & 133 deletions test/extensions/ASelfCustody.spec.ts

This file was deleted.

0 comments on commit 5cf93f9

Please sign in to comment.