generated from AngleProtocol/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* push scripts * change script * feat: immutable deployment * feat: add check * feat: scroll and manta deployments * deploy new addresses * feat: blast * feat: deploy aglaMerkl * fix: lint
- Loading branch information
Showing
46 changed files
with
22,462 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
|
||
/* | ||
* █ | ||
***** ▓▓▓ | ||
* ▓▓▓▓▓▓▓ | ||
* ///. ▓▓▓▓▓▓▓▓▓▓▓▓▓ | ||
***** //////// ▓▓▓▓▓▓▓ | ||
* ///////////// ▓▓▓ | ||
▓▓ ////////////////// █ ▓▓ | ||
▓▓ ▓▓ /////////////////////// ▓▓ ▓▓ | ||
▓▓ ▓▓ //////////////////////////// ▓▓ ▓▓ | ||
▓▓ ▓▓ /////////▓▓▓///////▓▓▓///////// ▓▓ ▓▓ | ||
▓▓ ,////////////////////////////////////// ▓▓ ▓▓ | ||
▓▓ ////////////////////////////////////////// ▓▓ | ||
▓▓ //////////////////////▓▓▓▓///////////////////// | ||
,//////////////////////////////////////////////////// | ||
.////////////////////////////////////////////////////////// | ||
.//////////////////////////██.,//////////////////////////█ | ||
.//////////////////////████..,./////////////////////██ | ||
...////////////////███████.....,.////////////////███ | ||
,.,////////////████████ ........,///////////████ | ||
.,.,//////█████████ ,.......///////████ | ||
,..//████████ ........./████ | ||
..,██████ .....,███ | ||
.██ ,.,█ | ||
▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓ ▓▓▓▓▓▓▓▓▓▓ | ||
▓▓▓▓▓▓ ▓▓▓ ▓▓▓ ▓▓▓ ▓▓ ▓▓ ▓▓▓▓ | ||
▓▓▓ ▓▓▓ ▓▓▓ ▓▓▓ ▓▓▓ ▓▓▓ ▓▓ ▓▓▓▓▓ | ||
▓▓▓ ▓▓ ▓▓▓ ▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ | ||
*/ | ||
|
||
pragma solidity ^0.8.17; | ||
|
||
import "../DistributionCreator.sol"; | ||
|
||
/// @title DistributionCreatorUpdatable | ||
/// @author Angle Labs, Inc. | ||
//solhint-disable | ||
contract DistributionCreatorUpdatable is DistributionCreator { | ||
|
||
uint8 public coreUpdated; | ||
|
||
uint256[49] private __gapUpdatable; | ||
|
||
|
||
function updateCore(address _newCore) external { | ||
if(coreUpdated == 0) { | ||
core = ICore(_newCore); | ||
coreUpdated = 1; | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { DeployFunction } from 'hardhat-deploy/types'; | ||
import yargs from 'yargs'; | ||
|
||
const argv = yargs.env('').boolean('ci').parseSync(); | ||
|
||
const func: DeployFunction = async ({ deployments, ethers, network }) => { | ||
const { deploy } = deployments; | ||
const { deployer } = await ethers.getNamedSigners(); | ||
let core: string; | ||
|
||
const implementationName = 'MockToken'; | ||
|
||
console.log(`Now deploying ${implementationName}`); | ||
console.log('Starting with the implementation'); | ||
|
||
await deploy(implementationName, { | ||
contract: implementationName, | ||
from: deployer.address, | ||
args: ["aglaMerkl","aglaMerkl",6], | ||
log: !argv.ci, | ||
}); | ||
|
||
const implementationAddress = (await ethers.getContract(implementationName)).address; | ||
|
||
console.log(`Successfully deployed the contract ${implementationName} at ${implementationAddress}`); | ||
console.log(''); | ||
}; | ||
|
||
func.tags = ['aglaMerkl']; | ||
export default func; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
81457 |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.