Vesting contract allows to lock in DGTX tokens and withdraw them in portions according to the predefined scheme. The planned amount to lock-in is 100,000,000 DGTX.
- Vesting contract is ownable.
- Owner can send DGTX to the contract.
- Contract locks-in received tokens, they are inaccessible.
- Owner can withdraw tokens up to the amount defined by the vesting schedule (see below).
- Owner can transfer ownership over the contract.
On July 15 2018 25% of tokens locked in the contract become available. Further, after every quarter of the year the contract unlocks 6.25% of the tokens it is holding.
npm install
npm run truffle compile
To deploy contracts to Ethereum network
Edit truffle-config.js
for proper network, like:
module.exports = {
networks: {
ropsten: {
network_id: 3,
host: "192.168.88.242",
port: 8546,
gas: 4600000,
gasPrice: 5000000000
}
...
And run
npm run truffle migrate
To run test run
npm run test
To run test coverage run
npm run coverage
Folder test/DGTX
is DGTX token source code from repo.