@0xcert/ethereum-erc20-contracts
Advanced tools
Comparing version 2.0.0-beta2 to 2.0.0-beta3
{ | ||
"files": { | ||
"packages/0xcert-ethereum-erc20-contracts/.solhint.json": "c72aedffae70ae4b1e2830449ec0e140eb7fb14a", | ||
"packages/0xcert-ethereum-erc20-contracts/CHANGELOG.json": "57cf58345bb6d76a861967b8143fa194141f0b73", | ||
"packages/0xcert-ethereum-erc20-contracts/CHANGELOG.md": "2174a793525c1874c0c9819370ca7cd84fa86766", | ||
"packages/0xcert-ethereum-erc20-contracts/CHANGELOG.json": "00b9c3fd6012830f48a4295daaaa2e5a56129e21", | ||
"packages/0xcert-ethereum-erc20-contracts/CHANGELOG.md": "cd2998739e00709cca4b81aa84d71aecffd4f53a", | ||
"packages/0xcert-ethereum-erc20-contracts/README.md": "06e2df064ffa7d6321a6878eca16873f6491feca", | ||
"packages/0xcert-ethereum-erc20-contracts/nodemon.json": "82b893373db9861f1df4b55d8ea68a5d37b118de", | ||
"packages/0xcert-ethereum-erc20-contracts/package.json": "f2b857fddad72c66403cce9af7ce36a538a2d367", | ||
"packages/0xcert-ethereum-erc20-contracts/src/contracts/dapp-token.sol": "67127a5a36d018c9ae8e854a057ba14b51152a47", | ||
"packages/0xcert-ethereum-erc20-contracts/package.json": "e85cfa4e244defe9a83eba57330386098255973c", | ||
"packages/0xcert-ethereum-erc20-contracts/src/contracts/dapp-token.sol": "97c065de5d543fdf4b1f2416176b0897f64e4ea3", | ||
"packages/0xcert-ethereum-erc20-contracts/src/contracts/erc20.sol": "7063bcef324d2b1391e684b0569d0cf050c19ebe", | ||
@@ -17,3 +17,3 @@ "packages/0xcert-ethereum-erc20-contracts/src/contracts/migration-receiver.sol": "7ebb1f8896a430fc52346b82db5ea7a9a6c1257e", | ||
"packages/0xcert-ethereum-erc20-contracts/src/index.ts": "a7b884b8a2b9ec2a03c20192d83ff3d49c3b6cdd", | ||
"packages/0xcert-ethereum-erc20-contracts/src/tests/dapp-token.test.ts": "c4365547d8459022085ffc4c4fe93b3d3a601d7f", | ||
"packages/0xcert-ethereum-erc20-contracts/src/tests/dapp-token.test.ts": "962d6f31c7b41f98a6f91c6f87835c63e368c33f", | ||
"packages/0xcert-ethereum-erc20-contracts/src/tests/helpers/common.ts": "28cfef796c13a9ec6b38a6623bab6d270ac6c202", | ||
@@ -23,5 +23,5 @@ "packages/0xcert-ethereum-erc20-contracts/src/tests/token.test.ts": "efe664b4bf7ef62cfbb3e142dfc55c0d2ac5192d", | ||
"packages/0xcert-ethereum-erc20-contracts/tslint.json": "c57b3f0cdb7aa74ab2ab02888380f613589cbe66", | ||
"common/config/rush/npm-shrinkwrap.json": "778ed66b352aca4b13547b18b640e3a3560ffeb5" | ||
"common/config/rush/npm-shrinkwrap.json": "926bee336ff380b621ace2a40039a5691fc74a71" | ||
}, | ||
"arguments": "npm run clean && npx specron compile && npx tsc " | ||
} |
{ | ||
"files": { | ||
"packages/0xcert-ethereum-erc20-contracts/.solhint.json": "c72aedffae70ae4b1e2830449ec0e140eb7fb14a", | ||
"packages/0xcert-ethereum-erc20-contracts/CHANGELOG.json": "57cf58345bb6d76a861967b8143fa194141f0b73", | ||
"packages/0xcert-ethereum-erc20-contracts/CHANGELOG.md": "2174a793525c1874c0c9819370ca7cd84fa86766", | ||
"packages/0xcert-ethereum-erc20-contracts/CHANGELOG.json": "00b9c3fd6012830f48a4295daaaa2e5a56129e21", | ||
"packages/0xcert-ethereum-erc20-contracts/CHANGELOG.md": "cd2998739e00709cca4b81aa84d71aecffd4f53a", | ||
"packages/0xcert-ethereum-erc20-contracts/README.md": "06e2df064ffa7d6321a6878eca16873f6491feca", | ||
"packages/0xcert-ethereum-erc20-contracts/nodemon.json": "82b893373db9861f1df4b55d8ea68a5d37b118de", | ||
"packages/0xcert-ethereum-erc20-contracts/package.json": "f2b857fddad72c66403cce9af7ce36a538a2d367", | ||
"packages/0xcert-ethereum-erc20-contracts/src/contracts/dapp-token.sol": "67127a5a36d018c9ae8e854a057ba14b51152a47", | ||
"packages/0xcert-ethereum-erc20-contracts/package.json": "e85cfa4e244defe9a83eba57330386098255973c", | ||
"packages/0xcert-ethereum-erc20-contracts/src/contracts/dapp-token.sol": "97c065de5d543fdf4b1f2416176b0897f64e4ea3", | ||
"packages/0xcert-ethereum-erc20-contracts/src/contracts/erc20.sol": "7063bcef324d2b1391e684b0569d0cf050c19ebe", | ||
@@ -17,3 +17,3 @@ "packages/0xcert-ethereum-erc20-contracts/src/contracts/migration-receiver.sol": "7ebb1f8896a430fc52346b82db5ea7a9a6c1257e", | ||
"packages/0xcert-ethereum-erc20-contracts/src/index.ts": "a7b884b8a2b9ec2a03c20192d83ff3d49c3b6cdd", | ||
"packages/0xcert-ethereum-erc20-contracts/src/tests/dapp-token.test.ts": "c4365547d8459022085ffc4c4fe93b3d3a601d7f", | ||
"packages/0xcert-ethereum-erc20-contracts/src/tests/dapp-token.test.ts": "962d6f31c7b41f98a6f91c6f87835c63e368c33f", | ||
"packages/0xcert-ethereum-erc20-contracts/src/tests/helpers/common.ts": "28cfef796c13a9ec6b38a6623bab6d270ac6c202", | ||
@@ -23,5 +23,5 @@ "packages/0xcert-ethereum-erc20-contracts/src/tests/token.test.ts": "efe664b4bf7ef62cfbb3e142dfc55c0d2ac5192d", | ||
"packages/0xcert-ethereum-erc20-contracts/tslint.json": "c57b3f0cdb7aa74ab2ab02888380f613589cbe66", | ||
"common/config/rush/npm-shrinkwrap.json": "778ed66b352aca4b13547b18b640e3a3560ffeb5" | ||
"common/config/rush/npm-shrinkwrap.json": "926bee336ff380b621ace2a40039a5691fc74a71" | ||
}, | ||
"arguments": "npm run lint && npm run clean && npx specron compile && npx specron test " | ||
} |
@@ -5,4 +5,4 @@ { | ||
{ | ||
"version": "2.0.0-beta2", | ||
"tag": "@0xcert/ethereum-erc20-contracts_v2.0.0-beta2", | ||
"version": "2.0.0-beta3", | ||
"tag": "@0xcert/ethereum-erc20-contracts_v2.0.0-beta3", | ||
"date": "Wed, 19 Jun 2019 10:31:05 GMT", | ||
@@ -9,0 +9,0 @@ "comments": {} |
@@ -20,3 +20,3 @@ # Change Log - @0xcert/ethereum-erc20-contracts | ||
## 2.0.0-beta2 | ||
## 2.0.0-beta3 | ||
Wed, 19 Jun 2019 10:31:05 GMT | ||
@@ -23,0 +23,0 @@ |
@@ -98,3 +98,4 @@ "use strict"; | ||
yield token.instance.methods.approve(dappToken.receipt._address, tokenAmount.toString()).send({ from: owner }); | ||
yield dappToken.instance.methods.deposit(tokenAmount.toString(), owner).send({ from: owner }); | ||
const logs = yield dappToken.instance.methods.deposit(tokenAmount.toString(), owner).send({ from: owner }); | ||
ctx.not(logs.events.Transfer, undefined); | ||
const tokenDappTokenBalance = yield token.instance.methods.balanceOf(dappToken.receipt._address).call(); | ||
@@ -121,3 +122,4 @@ const dappTokenOwnerBalance = yield dappToken.instance.methods.balanceOf(owner).call(); | ||
yield token.instance.methods.approve(dappToken.receipt._address, tokenAmount.toString()).send({ from: owner }); | ||
yield dappToken.instance.methods.deposit(tokenAmount.toString(), sara).send({ from: owner }); | ||
const logs = yield dappToken.instance.methods.deposit(tokenAmount.toString(), sara).send({ from: owner }); | ||
ctx.not(logs.events.Transfer, undefined); | ||
const tokenDappTokenBalance = yield token.instance.methods.balanceOf(dappToken.receipt._address).call(); | ||
@@ -147,3 +149,4 @@ const dappTokenOwnerBalance = yield dappToken.instance.methods.balanceOf(owner).call(); | ||
yield dappToken.instance.methods.deposit(tokenAmount.toString(), owner).send({ from: owner }); | ||
yield dappToken.instance.methods.withdraw(halfTokenAmount.toString()).send({ from: owner }); | ||
const logs = yield dappToken.instance.methods.withdraw(halfTokenAmount.toString()).send({ from: owner }); | ||
ctx.not(logs.events.Transfer, undefined); | ||
const tokenDappTokenBalance = yield token.instance.methods.balanceOf(dappToken.receipt._address).call(); | ||
@@ -245,3 +248,4 @@ const dappTokenOwnerBalance = yield dappToken.instance.methods.balanceOf(owner).call(); | ||
yield dappToken.instance.methods.setApprovedMigrator(migrationToken.receipt._address, true).send({ from: owner }); | ||
yield migrationToken.instance.methods.migrate().send({ from: owner }); | ||
const logs = yield migrationToken.instance.methods.migrate().send({ from: owner }); | ||
ctx.not(logs.events.Transfer, undefined); | ||
const tokenDappTokenBalance = yield token.instance.methods.balanceOf(dappToken.receipt._address).call(); | ||
@@ -248,0 +252,0 @@ const dappTokenOwnerBalance = yield dappToken.instance.methods.balanceOf(owner).call(); |
{ | ||
"name": "@0xcert/ethereum-erc20-contracts", | ||
"version": "2.0.0-beta2", | ||
"version": "2.0.0-beta3", | ||
"description": "Smart contract implementation of the ERC-20 standard on the Ethereum blockchain.", | ||
@@ -79,3 +79,3 @@ "scripts": { | ||
"@specron/flattener": "0.15.0", | ||
"@0xcert/ethereum-utils-contracts": "2.0.0-beta2", | ||
"@0xcert/ethereum-utils-contracts": "2.0.0-beta3", | ||
"solc": "0.6.1", | ||
@@ -82,0 +82,0 @@ "solhint": "2.3.0", |
@@ -114,3 +114,4 @@ import { Spec } from '@specron/spec'; | ||
await token.instance.methods.approve(dappToken.receipt._address, tokenAmount.toString()).send({ from: owner }); | ||
await dappToken.instance.methods.deposit(tokenAmount.toString(), owner).send({ from: owner }); | ||
const logs = await dappToken.instance.methods.deposit(tokenAmount.toString(), owner).send({ from: owner }); | ||
ctx.not(logs.events.Transfer, undefined); | ||
@@ -141,3 +142,4 @@ const tokenDappTokenBalance = await token.instance.methods.balanceOf(dappToken.receipt._address).call(); | ||
await token.instance.methods.approve(dappToken.receipt._address, tokenAmount.toString()).send({ from: owner }); | ||
await dappToken.instance.methods.deposit(tokenAmount.toString(), sara).send({ from: owner }); | ||
const logs = await dappToken.instance.methods.deposit(tokenAmount.toString(), sara).send({ from: owner }); | ||
ctx.not(logs.events.Transfer, undefined); | ||
@@ -171,3 +173,4 @@ const tokenDappTokenBalance = await token.instance.methods.balanceOf(dappToken.receipt._address).call(); | ||
await dappToken.instance.methods.deposit(tokenAmount.toString(), owner).send({ from: owner }); | ||
await dappToken.instance.methods.withdraw(halfTokenAmount.toString()).send({ from: owner }); | ||
const logs = await dappToken.instance.methods.withdraw(halfTokenAmount.toString()).send({ from: owner }); | ||
ctx.not(logs.events.Transfer, undefined); | ||
@@ -290,3 +293,4 @@ const tokenDappTokenBalance = await token.instance.methods.balanceOf(dappToken.receipt._address).call(); | ||
await migrationToken.instance.methods.migrate().send({ from: owner }); | ||
const logs = await migrationToken.instance.methods.migrate().send({ from: owner }); | ||
ctx.not(logs.events.Transfer, undefined); | ||
@@ -293,0 +297,0 @@ const tokenDappTokenBalance = await token.instance.methods.balanceOf(dappToken.receipt._address).call(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
418460
6520