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

merge makerdao/dai.js into sidestream-tech/dai.js #1

Open
wants to merge 14 commits into
base: dev
Choose a base branch
from
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# DEPRECATED

Active maintenance of this library has been discontinued. Please visit [https://chat.makerdao.com](https://chat.makerdao.com) for support.

[![No Maintenance Intended](https://unmaintained.tech/badge.svg)](https://unmaintained.tech/)

# Dai.js SDK monorepo

[![Build Status][build]][build-url]
Expand Down
8 changes: 8 additions & 0 deletions packages/dai-plugin-governance/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.16.7](https://github.com/makerdao/dai-plugin-governance/compare/@makerdao/[email protected]...@makerdao/[email protected]) (2022-02-07)

**Note:** Version bump only for package @makerdao/dai-plugin-governance
1 change: 1 addition & 0 deletions packages/dai-plugin-governance/contracts/abis/ESM-old.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"inputs":[{"internalType":"address","name":"gem_","type":"address"},{"internalType":"address","name":"end_","type":"address"},{"internalType":"address","name":"pit_","type":"address"},{"internalType":"uint256","name":"min_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":true,"inputs":[{"indexed":true,"internalType":"bytes4","name":"sig","type":"bytes4"},{"indexed":true,"internalType":"address","name":"usr","type":"address"},{"indexed":true,"internalType":"bytes32","name":"arg1","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"arg2","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"LogNote","type":"event"},{"constant":true,"inputs":[],"name":"Sum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"end","outputs":[{"internalType":"contract EndLike","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"fire","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"fired","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"gem","outputs":[{"internalType":"contract GemLike","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"join","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pit","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]
2 changes: 1 addition & 1 deletion packages/dai-plugin-governance/contracts/abis/ESM.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"inputs":[{"internalType":"address","name":"gem_","type":"address"},{"internalType":"address","name":"end_","type":"address"},{"internalType":"address","name":"pit_","type":"address"},{"internalType":"uint256","name":"min_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":true,"inputs":[{"indexed":true,"internalType":"bytes4","name":"sig","type":"bytes4"},{"indexed":true,"internalType":"address","name":"usr","type":"address"},{"indexed":true,"internalType":"bytes32","name":"arg1","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"arg2","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"LogNote","type":"event"},{"constant":true,"inputs":[],"name":"Sum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"end","outputs":[{"internalType":"contract EndLike","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"fire","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"fired","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"gem","outputs":[{"internalType":"contract GemLike","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"join","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pit","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]
[{"inputs":[{"internalType":"address","name":"gem_","type":"address"},{"internalType":"address","name":"end_","type":"address"},{"internalType":"address","name":"proxy_","type":"address"},{"internalType":"uint256","name":"min_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"usr","type":"address"}],"name":"Deny","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"base","type":"address"},{"indexed":true,"internalType":"address","name":"pause","type":"address"}],"name":"DenyProxy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"what","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"data","type":"uint256"}],"name":"File","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"what","type":"bytes32"},{"indexed":false,"internalType":"address","name":"data","type":"address"}],"name":"File","type":"event"},{"anonymous":false,"inputs":[],"name":"Fire","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"usr","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Join","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"usr","type":"address"}],"name":"Rely","type":"event"},{"inputs":[],"name":"Sum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"}],"name":"deny","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"denyProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"end","outputs":[{"internalType":"contract EndLike","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"what","type":"bytes32"},{"internalType":"uint256","name":"data","type":"uint256"}],"name":"file","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"what","type":"bytes32"},{"internalType":"address","name":"data","type":"address"}],"name":"file","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fire","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gem","outputs":[{"internalType":"contract GemLike","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"join","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"live","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"}],"name":"rely","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokesGovernanceAccess","outputs":[{"internalType":"bool","name":"ret","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"VOTE_DELEGATE_FACTORY": "0xE2d249AE3c156b132C40D07bd4d34e73c1712947",
"POLLING": "0xdbE5d00b2D8C13a77Fb03Ee50C87317dbC1B15fb",
"BATCH_POLLING": "0xdbE5d00b2D8C13a77Fb03Ee50C87317dbC1B15fb",
"MCD_ESM": "0x105BF37e7D81917b6fEACd6171335B4838e53D5e",
"MCD_ESM_OLD": "0x105BF37e7D81917b6fEACd6171335B4838e53D5e",
"MCD_ESM": "0x023A960cb9BE7eDE35B433256f4AfE9013334b55",
"MCD_END": "0xDb1d3edb80d3faA1B7257Ab4018A609E327FA50D",
"GOV": "0xc5E4eaB513A7CD12b2335e8a0D57273e13D499f7",
"MCD_IOU": "0x651D1B91e4F657392a51Dba7A6A1A1a72eC6aD1c",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"MCD_IOU": "0xa618e54de493ec29432ebd2ca7f14efbf6ac17f7",
"POLLING": "0xF9be8F0945acDdeeDaA64DFCA5Fe9629D0CF8E5D",
"BATCH_POLLING": "0xD3A9FE267852281a1e6307a1C37CDfD76d39b133",
"MCD_ESM": "0x29CfBd381043D00a98fD9904a431015Fef07af2f",
"MCD_ESM_OLD": "0x29CfBd381043D00a98fD9904a431015Fef07af2f",
"MCD_ESM": "0x09e05fF6142F2f9de8B6B65855A1d56B6cfE4c58",
"MCD_END": "0xBB856d1742fD182a90239D7AE85706C2FE4e5922",
"PAUSE": "0xbe286431454714f511008713973d3b053a2d38f3"
}
4 changes: 2 additions & 2 deletions packages/dai-plugin-governance/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@makerdao/dai-plugin-governance",
"description": "A dai.js plugin for adding MKR governance support to dapps.",
"version": "0.16.6",
"version": "0.16.7",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"@makerdao/currency": "^0.9.10",
"@makerdao/dai": "^0.42.3",
"@makerdao/dai": "^0.42.4",
"@makerdao/services-core": "^0.11.4",
"assert": "^2.0.0",
"debug": "^4.1.1",
Expand Down
21 changes: 21 additions & 0 deletions packages/dai-plugin-governance/src/EsmService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,27 @@ export default class EsmService extends PrivateService {
return sortedParsedStakes;
}

async getStakingV2History() {
const stakes = await this.get('govQueryApi').getEsmV2Joins();
const parsedStakes = stakes.map(e => {
const transactionHash = e.txHash;
const senderAddress = e.txFrom;
const amount = MKR(e.joinAmount);
const time = new Date(e.blockTimestamp);
return {
transactionHash,
senderAddress,
amount,
time
};
});
const sortedParsedStakes = parsedStakes.sort((a, b) => {
//sort by date descending
return b.time - a.time;
});
return sortedParsedStakes;
}

_esmContract() {
return this.get('smartContract').getContractByName(ESM);
}
Expand Down
15 changes: 15 additions & 0 deletions packages/dai-plugin-governance/src/GovQueryApiService.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,21 @@ export default class QueryApi extends PublicService {
return joins;
}

async getEsmV2Joins() {
const query = `{allEsmV2Joins {
nodes {
txFrom
txHash
joinAmount
blockTimestamp
}
}
}`;
const response = await this.getQueryResponse(this.serverUrl, query);
const joins = response.allEsmV2Joins.nodes;
return joins;
}

async getAllDelegates() {
const query = `
{
Expand Down
7 changes: 7 additions & 0 deletions packages/dai-plugin-governance/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
POLLING,
BATCH_POLLING,
ESM,
ESM_OLD,
END,
PAUSE,
MKR,
Expand All @@ -26,6 +27,7 @@ type ContractAddresses = {
kovan: { [key: string]: string };
mainnet: { [key: string]: string };
testnet?: { [key: string]: string };
goerlifork?: { [key: string]: string };
goerli?: { [key: string]: string };
};

Expand All @@ -36,6 +38,7 @@ export default {
const contractAddresses: ContractAddresses = {
kovan: require('../contracts/addresses/kovan.json'),
goerli: require('../contracts/addresses/goerli.json'),
goerlifork: require('../contracts/addresses/goerli.json'),
mainnet: require('../contracts/addresses/mainnet.json')
};

Expand All @@ -48,6 +51,10 @@ export default {
const addressKey = network == 'ganache' ? 'testnet' : network;

const esmContracts = {
[ESM_OLD]: {
address: map(prop('MCD_ESM'), contractAddresses),
abi: require('../contracts/abis/ESM-old.json')
},
[ESM]: {
address: map(prop('MCD_ESM'), contractAddresses),
abi: require('../contracts/abis/ESM.json')
Expand Down
1 change: 1 addition & 0 deletions packages/dai-plugin-governance/src/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const VOTE_DELEGATE_FACTORY = 'VOTE_DELEGATE_FACTORY';
export const POLLING = 'POLLING';
export const BATCH_POLLING = 'BATCH_POLLING';
export const CHIEF = 'CHIEF';
export const ESM_OLD = 'ESM_OLD';
export const ESM = 'ESM';
export const END = 'END';
export const PAUSE = 'PAUSE';
Expand Down
8 changes: 8 additions & 0 deletions packages/dai-plugin-governance/src/utils/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export const netIdToName = id => {
return 'kovan';
case 999:
return 'ganache';
case 1337:
return 'testnet';
case 31337:
return 'goerlifork';
default:
return '';
}
Expand All @@ -33,6 +37,8 @@ export const netIdtoSpockUrl = id => {
case 1:
return MAINNET_URL;
case 5:
case 1337:
case 31337:
return GOERLI_URL;
case 42:
return KOVAN_URL;
Expand All @@ -46,6 +52,8 @@ export const netIdtoSpockUrlStaging = id => {
case 1:
return STAGING_MAINNET_URL;
case 5:
case 1337:
case 31337:
return GOERLI_URL;
case 42:
return KOVAN_URL;
Expand Down
8 changes: 8 additions & 0 deletions packages/dai-plugin-liquidations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.3.5](https://github.com/makerdao/dai.js/compare/@makerdao/[email protected]...@makerdao/[email protected]) (2022-02-07)

**Note:** Version bump only for package @makerdao/dai-plugin-liquidations
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"MCD_DOG": "0x135954d155898D42C90D2a57824C690e0c7BEf1B",
"MCD_END": "0xBB856d1742fD182a90239D7AE85706C2FE4e5922",
"MCD_ESM": "0x29CfBd381043D00a98fD9904a431015Fef07af2f",
"MCD_ESM_OLD": "0x29CfBd381043D00a98fD9904a431015Fef07af2f",
"MCD_ESM": "0x09e05fF6142F2f9de8B6B65855A1d56B6cfE4c58",
"ILK_REGISTRY": "0x5a464C28D19848f44199D003BeF5ecc87d090F87",
"CLIPPER_MOM": "0x79FBDF16b366DFb14F66cE4Ac2815Ca7296405A0",
"MCD_CLIP_LINK_A": "0x832Dd5f17B30078a5E46Fdb8130A68cBc4a74dC0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dai-plugin-liquidations/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@makerdao/dai-plugin-liquidations",
"description": "Plugin to add liquidations to dai.js",
"version": "0.3.4",
"version": "0.3.5",
"license": "MIT",
"typings": "dist/index.d.ts",
"main": "dist/index.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/dai-plugin-mcd/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.8.5](https://github.com/makerdao/dai.js/compare/@makerdao/[email protected]...@makerdao/[email protected]) (2022-02-07)

**Note:** Version bump only for package @makerdao/dai-plugin-mcd
3 changes: 2 additions & 1 deletion packages/dai-plugin-mcd/contracts/addresses/goerli.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"MCD_SPOT": "0xACe2A9106ec175bd56ec05C9E38FE1FDa8a1d758",
"MCD_POT": "0x50672F0a14B40051B65958818a7AcA3D54Bd81Af",
"MCD_END": "0xDb1d3edb80d3faA1B7257Ab4018A609E327FA50D",
"MCD_ESM": "0x105BF37e7D81917b6fEACd6171335B4838e53D5e",
"MCD_ESM_OLD": "0x105BF37e7D81917b6fEACd6171335B4838e53D5e",
"MCD_ESM": "0x023A960cb9BE7eDE35B433256f4AfE9013334b55",
"PROXY_ACTIONS": "0x4023f89983Ece35e227c49806aFc13Bc0248d178",
"PROXY_ACTIONS_END": "0xBbA4aBF0a12738f093cFD2199C5497044bAa68A8",
"PROXY_ACTIONS_DSR": "0x15679CdbDb284fe07Eff3809150126697c6e3Dd6",
Expand Down
3 changes: 2 additions & 1 deletion packages/dai-plugin-mcd/contracts/addresses/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"MCD_SPOT": "0x65C79fcB50Ca1594B025960e539eD7A9a6D434A3",
"MCD_POT": "0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7",
"MCD_END": "0xBB856d1742fD182a90239D7AE85706C2FE4e5922",
"MCD_ESM": "0x29CfBd381043D00a98fD9904a431015Fef07af2f",
"MCD_ESM_OLD": "0x29CfBd381043D00a98fD9904a431015Fef07af2f",
"MCD_ESM": "0x09e05fF6142F2f9de8B6B65855A1d56B6cfE4c58",
"PROXY_ACTIONS": "0x82ecD135Dce65Fbc6DbdD0e4237E0AF93FFD5038",
"PROXY_ACTIONS_END": "0x7AfF9FC9faD225e3c88cDA06BC56d8Aca774bC57",
"PROXY_ACTIONS_DSR": "0x07ee93aEEa0a36FfF2A9B95dd22Bd6049EE54f26",
Expand Down
4 changes: 2 additions & 2 deletions packages/dai-plugin-mcd/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@makerdao/dai-plugin-mcd",
"description": "Plugin to add Multi-Collateral Dai support to dai.js",
"version": "1.8.4",
"version": "1.8.5",
"license": "MIT",
"main": "dist/index.js",
"unpkg": "dist/index.js",
Expand All @@ -26,7 +26,7 @@
},
"dependencies": {
"@makerdao/currency": "^0.9.10",
"@makerdao/dai": "^0.42.3",
"@makerdao/dai": "^0.42.4",
"@makerdao/services-core": "^0.11.4",
"bignumber.js": "^8.1.1",
"rxjs": "^6.5.4"
Expand Down
1 change: 1 addition & 0 deletions packages/dai-plugin-mcd/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ let addContracts = reduce(
abi,
address: {
testnet: testnetAddress,
goerlifork: goerliAddresses[name],
// kovan no longer actively supported
// kovan: kovanAddresses[name],
goerli: goerliAddresses[name],
Expand Down
2 changes: 1 addition & 1 deletion packages/dai-plugin-mcd/test/SavingsService.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,6 @@ describe('Savings Service', () => {
expect(etdB.gt(etdA)).toBe(true);
// in the test we know the chi, so we can verify that calculation is close
const accruedInterest = calculateAccruedInterest(joinAmount, chi1, chi2);
expect(etdB.minus(etdA).toNumber()).toBeCloseTo(accruedInterest, 10);
expect(etdB.minus(etdA).toNumber()).toBeCloseTo(accruedInterest, 9);
}, 30000);
});
1 change: 1 addition & 0 deletions packages/dai-plugin-mcd/test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ test('addConfig outputs contract addresses for all networks', () => {
for (const token of erc20) {
expect(token.address).toEqual({
testnet: expect.any(String),
goerlifork: expect.any(String),
// kovan no longer actively supported
// kovan: expect.any(String),
goerli: expect.any(String),
Expand Down
8 changes: 8 additions & 0 deletions packages/dai-plugin-migrations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.5.4](https://github.com/makerdao/dai.js/compare/@makerdao/[email protected]...@makerdao/[email protected]) (2022-02-07)

**Note:** Version bump only for package @makerdao/dai-plugin-migrations
4 changes: 2 additions & 2 deletions packages/dai-plugin-migrations/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@makerdao/dai-plugin-migrations",
"description": "Plugin to add migrations to dai.js",
"version": "1.5.3",
"version": "1.5.4",
"license": "MIT",
"main": "dist/index.js",
"unpkg": "dist/index.js",
Expand All @@ -21,7 +21,7 @@
},
"dependencies": {
"@makerdao/currency": "^0.9.10",
"@makerdao/dai": "^0.42.3",
"@makerdao/dai": "^0.42.4",
"@makerdao/services-core": "^0.11.4",
"bignumber.js": "^8.1.1"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/dai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.42.4](https://github.com/makerdao/dai.js/compare/@makerdao/[email protected]...@makerdao/[email protected]) (2022-02-07)

**Note:** Version bump only for package @makerdao/dai
Loading