You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@tokenfoundry/token-contracts

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tokenfoundry/token-contracts - npm Package Compare versions

Comparing version

to
0.0.3

2

package.json
{
"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