import { BigNumber } from 'bignumber.js' ; import * as Web3 from 'web3' ; import * as truffle from 'truffle-contract' ; export namespace MintableToken { export interface Contract { address : string ; mint : { ( to , amount , options ? ) : Promise < truffle . TransactionResult > ; call ( to , amount , options ? ) : Promise < void > ; estimateGas ( to , amount , options ? ) : Promise < number > ; } ; finishMinting : { ( options ? ) : Promise < truffle . TransactionResult > ; call ( options ? ) : Promise < void > ; estimateGas ( options ? ) : Promise < number > ; } ; approve : { ( receiver , value , options ? ) : Promise < truffle . TransactionResult > ; call ( receiver , value , options ? ) : Promise < void > ; estimateGas ( receiver , value , options ? ) : Promise < number > ; } ; block : { ( to , from , options ? ) : Promise < truffle . TransactionResult > ; call ( to , from , options ? ) : Promise < void > ; estimateGas ( to , from , options ? ) : Promise < number > ; } ; unblock : { ( to , from , options ? ) : Promise < truffle . TransactionResult > ; call ( to , from , options ? ) : Promise < void > ; estimateGas ( to , from , options ? ) : Promise < number > ; } ; balanceOf : { ( address ) : Promise < BigNumber > ; call ( address ) : Promise < BigNumber > ; } ; } } export default MintableToken ;