@tokenfoundry/token-contracts
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@tokenfoundry/token-contracts", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Code for the new token foundry token using zeppeling ERC20 implementation.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/tokenfoundry/token-contracts.git", |
@@ -34,10 +34,5 @@ import expectThrow from './helpers/expectThrow'; | ||
it('should not transfer from to account because is locked', async () => { | ||
await token.approve(accounts[1], 30); | ||
await expectThrow(token.transferFrom(owner, accounts[2], 30, {from: accounts[1]})); | ||
}); | ||
it('should unlock transfer function', async () => { | ||
await token.release(); | ||
await token.Release(); | ||
@@ -58,12 +53,4 @@ let locked = await token.locked.call(); | ||
it('should transfer from to account', async () => { | ||
await token.transferFrom(owner, accounts[2], 30, {from: accounts[1]}); | ||
let balanceAccount1 = await token.balanceOf.call(accounts[2]); | ||
assert.equal(balanceAccount1.valueOf(), 30, 'should be 30'); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
39607
43
582