Releases: makerdao/dss-deploy-scripts
Releases · makerdao/dss-deploy-scripts
1.0.0
Changelog:
dss-deploy-scripts
- Mainnet addresses added to README + new bash script to load them
0.2.17
Changelog:
dss-deploy-scripts
- Whitelist added for
end
in thepip
s + auth checker upgrade to reflect it pip
for SAI collateral is deployed now andspot
value is calculated from it (instead of setting it directly)- Some checks added to the deployment scripts to avoid running them incorrectly
- Console log is now saved in the
out
directory addresses.json
output improved cleaning variables of contracts that are not being deployed in a specific run- mainnet variables updated
dss-deploy
- The change "Allow to pass address(0) as pip when deploying a collateral" was reverted
- Setting an authority for
DssDeploy
contract was removed. Deployer address keeps the ownership.
scd-mcd-migration
spot
value is set via apip
again for the test case
osm
- Minor updates + removal of
ds-note
package in exchange of internal logging function
median
- Minor updates + removal of
ds-note
package in exchange of internal logging function
0.2.16
Changelog:
dss-deploy-scripts
- Smart contract submodules were replaced with dapp2nix json
- .staxx-scenarios template added for staxx deployment
- Dependencies
polling-generator
andline-spell
stopped being used and removed PIP_SAI
exported asaddress(0)
+spot
value for SAI set directlynixpkgs-pin
upgraded for dapptools (solc 0.5.12)- kovan and mainnet config values updated
- Minor fixes in README
- Etherscan verification code completely removed (will be replaced by a new function in a later version)
dss-proxy-actions
- New functions
exitETH
andexitGem
implemented (for using after liquidation and its auction, to extract remaining collateral) frob
proxy function withdst
param removedopen
proxy function withoutusr
param removed- Pragma updated to 0.5.12
- Usage of return values from
jug.drip
andpot.drip
implemented in different proxy functions
dss-cdp-manager
- Imported
DSNote
renamed toLibNote
frob
function withdst
param removedopen
function withoutusr
param removed- Pragma updated to 0.5.12
- Index to
cdp
param ofNewCdp
event added
dss-deploy
- Duplicated
wards
line removed fromAuthGemJoin
- Comment fixed in
GemJoin3
constructor - Comments added for
AuthGemJoin
address(0)
aspip
is now allowed when deploying a collateralDSNote
replaced toLibNote
in adaptersend
is relied inspotter
for the usage of newspotter.cage
function- Pragma updated to 0.5.12
- Taxation and Auctions functions split due gas issue
dss
- System harden against interference from governance after shutdown
- Pragma updated to 0.5.12 + Pragma experimental ABIEncoderV2 removed
lib.sol
: Usage ofLibNote
instead ofDSNote
to prevent conflicts- Changes in
dai.t.sol
done duehevm
upgrade - Revert messages added
- Return value for
jug.drip
andpot.drip
added - Obsolete collateral auction contracts deauthorized
flap
andflop
addresses can be changed now in thevow
scd-mcd-migration
- Some unnecessary casting and interfaces functions removed
minRatio
parameter formigratePayFeeWithDebt
added- Unnecessary
payable
modifier removed from some params in proxy functions spot
value directly set without usingspotter
,pip
andmat
- Test cases with higher amounts added to prove there are no overflow issues and test better the dust amount
- Unnecessary
require
removed fromgov
transfers - Usage of
manager.open
function withusr
param implemented - Pragma updated to 0.5.12
0.2.15
Changelog:
dss-deploy-scripts
- Auth checker issue fixed (when there was not
GOV_GUARD
) - Deployment script exports bin files since now
- Removal of duplicates and unnecessary exported abi/bin files
- New auth transactions executed to support
live
value in adapters - Possibility to set
esm_pit
from config file added
dss-proxy-actions
- Unnecessary payable modifier removed from
gemJoin_join
dss-deploy
govActions.sol
: Unnecessarycage
function removed- ESM is deployed via fab now as the rest of contracts
live
value added to adapters- Usage of
dss
GemJoin
for ERC20 tokens (no moreGemJoin1
) auth
modifier removed fromAuthGemJoin.exit
dss
vat.sol
:LogNote
event added tohope/nope
functions- Makefile issue fixed (wrong
ds-note
dependency path) dai.sol
: Usage ofkeccak256
in constant replaced by literal string to avoid waste of gaspot.sol
: More gas efficientdrip
implementationlive
value added to adapters so they can be easily upgradedvat.sol
: Usage of assembly implementation of&&
and||
infork
functionvow.sol
: interfaces renamed toFlapLike
andFlopLike
to avoid overlapping names with the real contractsjoin.sol
:dec
field added toGemJoin
spot
value is now set to 0 whenosm
is voided and urns in that state can not be liquidated
scd-mcd-migration
- Previous migration proxy function
migrate
splitted in two new functions:migrate
andmigratePayFeeWithGem
- New migration proxy functions:
swapSaiToDai
,swapDaiToSai
andmigratePayFeeWithDebt
0.2.14
Changelog:
dss-deploy-scripts
beg
andpad
values are set aswad
now- Issue deploying osms fixed
- Usage of
dripAndFile
function for settingduty
anddsr
values implemented - Kovan debt ceilings increased
githubAuthToken
arg added to nix expressions which can be used for HTTPS repo URLsmkr-authority
dependency added and implemented its usage- Deployment of new
DssProxyActionEnd
andDssProxyActionDsr
contracts added
dss-proxy-actions
- New manager functions
enter
andshift
added to proxy - Safe functions expect now an
owner
param to avoid reorg issues - Wipe functions have been restructured
end
functions implemented- Creation of new contracts:
DssProxyActionsEnd
andDssProxyActionsDsr
dss-cdp-manager
- New functions
enter
andshift
created
dss-deploy
- Unexisting
file
functions removed fromgovActions
- Unnecessary
vat.rely(vow)
removed flip.rely(cat)
added for new authedkick
accessdripAndFile
incorporated inGovActions
forjug
andpot
calls
dss
flap.sol
:tick
function addedflip.sol
:kick
is authed nowflap.sol
:kick
is authed nowflap/flip/flop.sol
:beg
andpad
arewad
nowflop.sol
: minor change inbeg
require
comparissonjug.sol
:drip
call is forced beforefile
is called for a newduty
valuepot.sol
:drip
call is forced beforefile
is called for a newdsr
value
multicall
- Helper functions moved into main contract
- New contract addresses for all the networks
- Usage of ABIEncoderV2 features
median
- Check for address collision in
lift
added
0.2.13
Changelog:
dss-deploy-scripts
- Possibility to set
vow_dump
,flop_pad
andesm_min
via config file - nix: expose dapptoolsOverrides
- nixpkgs-pin updated > dapptools -> solc 0.5.11
- Fixes on README
dss-proxy-actions
- New
cdpAllow
function adapted andurnAllow
added - Added missing
hope
call todaiJoin
indsrExit
functions + check if necessary before executing it for all cases
dss-cdp-manager
- Avoid unnecesary writing to position
list[0].next
- Revert messages removed from internal functions due FV restrictions
allow
functions renaming + logic changed incdpAllow
+ README updated
dss-deploy
- Deployment contract updated due change on spotter
file
function - Scripts:
MCD_ESM_MIN
default value updated to a real number - nixpkgs-pin updated > dapptools -> solc 0.5.11
dss
dai.sol
: conditionholder != address(0)
added to avoid accessing to funds ofaddress(0)
end.sol
:spot.par
is now accounted + test changes related to thisfile
functions revert now ifwhat
value is unrecognizedflop.sol
: varying sized MKR lot viavow.dump
andflop.pad
flop
andflap
deal
conditions fixed to match withflip
one- Minor documentation fixes
spot.sol
:what
argument added tofile
function forpip
0.2.12
Changelog:
dss-deploy-scripts
- Possibility to set ilks
dust
via config file - Missing checks added in
auth-checker
- Direct dependency to
proxy-registry
was removed - Migration contract deployment is now available
- Optimized version of
DssProxyActions
added - Officially not supporting anymore running scripts without nix
dss-proxy-actions
- New function
giveToProxy
implemented wipe
functions logic simplified- New
wipeAll
function and its derivatives
dss-cdp-manager
- Readme added
- Additional allowance structure for
quit
added
dss-deploy
- SAI collateral added to support migration contract deployment
- New authorization rules for
pot
andend
dss
- Unneeded
VatLike.flux
removed from interface end
added to thepot
to preventdrip
s after global settlement starts
0.2.11
Changelog:
dss-deploy-scripts
- Omnia relayer address doesn't need to be whitelisted anymore in the feeds
- New feeds signers added
- Flag
--extracted
added indapp build
call for new dapptools version compatibility - New mainnet feeds added
- Option to import an existing authority via config file
- Option to use imported feeds that do not have the DEPLOYER address relied
- Option to check whitelist status via the auth-checker script
- Setting
flap
permission toburn
MKR added - Option to import an existing proxy registry
- README: some errors fixed and updates done
- Option to set
end.wait
value via config file
dss-proxy-actions
- Special function for opening GNT CDP
SafeWipe
andSafeLock
functions added- README: some errors fixed and updates done
- Token
transfer
function added jug.drip
is called before generating new debtpot.drip
is called beforejoin
is executed otherwise it will fail, due new changes inpot
dss-deploy
GemJoin4
: unused math functions removed
dss
- README: some errors fixed and updates done
end:
bid.urn
renamed tobid.usr
for consistencyvat
: several changes infrob
implementationflap:
burn
gov
ondeal
- Usage of
external
modifier wherever possible pot:
rho == now
check added injoin
functionflop
: functiontick
added
0.2.10
Changelog:
dss-deploy-scripts
ETH_FROM
exported variable renamed toDEPLOYER
(to avoid issue inmcd-cli
)- Fix when setting
base
value - Nix: bump dapptools version
- Usage of new
--extract
flag when invokingdapp build
dss-proxy-actions
lock
functions for GNT are now implemented- Usage of new decimals field in adapters
dss-cdp-manager
GetCdps
contract moved to a separate file- Usage of safe math for counters, convenient for FV
- Added extra
flux
function to take away any collateral - Restriction to not allow to open or transfer a
cdp
toaddress(0)
- Some variables renaming applied
dss-deploy
- Usage of new
--extract
flag when invokingdapp build
in scripts - Nix: bump dapptools version
- Added
dec
field (decimals) to adapters for proxy functions convenience - Usage of
dss
DSNote
in adapters
dss
- Travis updated to latest solc
- All tests run now a "realistic" timestamp
pot.t.sol
:drip
in 0d testpot.sol
:rho
initialized atnow
dai.t.sol
: new hevm address updated
0.2.9
Changelog:
dss-deploy-scripts
- Simplified and unified structure of network deployments. Most of actions are now taken in
scripts/base-deploy
- Fixed bug when trying to set feeds with delay > 0 (
osm
deployment) - Improved logging when running scripts
- Improved and simplified README
- Import of faucet, collateral tokens and gov token from config file
- Fixed some places where the script was not stopping if sub-calls failed
- Upgraded
osm
,median
,ds-chief
andvote-proxy
dependencies - Integration of Restricted Faucet
- Set
base
anddsr
via config file - Use only one tx for authorizing Median signers
- Mainnet files added
- Nix: Updated dapptools version
- Usage of real collateral names
- Kovan deployment is using same
MKR
andWETH
than SCD
dss-proxy-actions
- Fix:
lockETH
should not haveilk
hardcoded - README: Added missing functions and improved documentation of existing ones
dss-deploy
- Fixed some places where the script was not stopping if sub-calls failed
- Renamed tokens and ilks to real ones
- Added GNT deployment
dss
dai
,end
: Added loggingdai
: consistent revert messages