From c3d2a2c58a71b4cd14593579ee2b24dc013781e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferit=20Tun=C3=A7er?= Date: Wed, 21 Nov 2018 22:37:22 +0300 Subject: [PATCH] fix(locked-token): fix openzeppelin reference --- .../standard/arbitration/ArbitrableTokens/LockedToken.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/standard/arbitration/ArbitrableTokens/LockedToken.sol b/contracts/standard/arbitration/ArbitrableTokens/LockedToken.sol index 2581fd39..37ca7352 100644 --- a/contracts/standard/arbitration/ArbitrableTokens/LockedToken.sol +++ b/contracts/standard/arbitration/ArbitrableTokens/LockedToken.sol @@ -6,14 +6,14 @@ pragma solidity ^0.4.15; -import "openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol"; +import "openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol"; /** @title Locked Token * @dev A token when created coins are locked and unlock accross time. * Note that we use steps for one month. In the future, when float are available, we could use law of exponential decay to avoid steps and have a smoothed unlocking. */ -contract LockedToken is MintableToken { +contract LockedToken is ERC20Mintable { uint public lockMultiplierPerMillionPerMonth; // The amount we must multiply the locked balance each month. uint constant LOCK_DIVISOR = 1E6; mapping (address => uint) public lastUnlock; // Last time tokens were unlocked.