|
|
@ -48,6 +48,8 @@ contract('TokenVesting', function ([_, owner, beneficiary]) { |
|
|
|
balance.should.bignumber.equal(amount.mul(releaseTime - this.start).div(this.end - this.start).floor()); |
|
|
|
balance.should.bignumber.equal(amount.mul(releaseTime - this.start).div(this.end - this.start).floor()); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
it('should linearly release tokens during vesting period'); |
|
|
|
|
|
|
|
|
|
|
|
it('should have released all after end', async function () { |
|
|
|
it('should have released all after end', async function () { |
|
|
|
await increaseTimeTo(this.end); |
|
|
|
await increaseTimeTo(this.end); |
|
|
|
await this.vesting.release(this.token.address); |
|
|
|
await this.vesting.release(this.token.address); |
|
|
@ -55,4 +57,8 @@ contract('TokenVesting', function ([_, owner, beneficiary]) { |
|
|
|
balance.should.bignumber.equal(amount); |
|
|
|
balance.should.bignumber.equal(amount); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
it('should fail to be revoked by owner if revocable not set'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
it('should be emptied when revoked by owner'); |
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|