API
FixedSwapContract
new FixedSwapContract(web3, tokenAddress, decimals, contractAddress)
setNewOwner(address)
owner() ⇒ string
isPaused() ⇒ boolean
pauseContract() ⇒ admin
erc20() ⇒ Address
decimals() ⇒ Integer
unpauseContract() ⇒ admin
tradeValue() ⇒ Integer
startDate() ⇒ Date
endDate() ⇒ Date
isFinalized() ⇒ Boolean
individualMinimumAmount() ⇒ Integer
individualMaximumAmount() ⇒ Integer
minimumRaiseAchieved() ⇒ Boolean
minimumRaise() ⇒ Integer
tokensAllocated() ⇒ Integer
tokensForSale() ⇒ Integer
hasMinimumRaise() ⇒ Boolea
minimumReached() ⇒ Integer
tokensAvailable() ⇒ Integer
tokensLeft() ⇒ Integer
withdrawableUnsoldTokens() ⇒ Integer
withdrawableFunds() ⇒ Integer
isTokenSwapAtomic() ⇒ Boolean
hasWhitelisting() ⇒ Boolean
isWhitelisted() ⇒ Boolean
wereUnsoldTokensReedemed() ⇒ Boolean
isFunded() ⇒ Boolean
isOpen() ⇒ Boolean
hasStarted() ⇒ Boolean
hasFinalized() ⇒ Boolean
isPreStart() ⇒ Boolean
getPurchase(purchase_id) ⇒ Integer | Integer | Address | Integer | Date | Boolean | Boolean
getWhiteListedAddresses() ⇒ Array | Address
getBuyers() ⇒ Array | Integer
getPurchaseIds() ⇒ Array | Integer
getPurchaseIds(address) ⇒ Array | Integer
getETHCostFromTokens(tokenAmount) ⇒ Integer
swap(tokenAmount)
redeemTokens(purchase_id)
redeemGivenMinimumGoalNotAchieved(purchase_id)
withdrawUnsoldTokens()
withdrawFunds()
approveFundERC20()
isApproved(tokenAmount, address) ⇒ Boolean
fund(tokenAmount)
addWhitelistedAddress(Addresses)
removeWhitelistedAddress()
safePull()
removeOtherERC20Tokens(tokenAddress, toAddress)
deploy()
getOwner(Address)
getBalance(Balance)
Last updated