BlockLimitedCrowdsale is a crowdsale contract. * Crowdsales have a start and end block numbers, where investors can make token purchases and the crowdsale will assign them tokens based on a token per exchange rate. * See ChronoMintCrowdsale.
/contracts/crowdsale/crowdsales/BlockLimitedCrowdsale.sol

constructor

BlockLimitedCrowdsale

inputs0address_serviceProvider
inputs1bytes32_symbol
inputs2address_priceTicker
event

MintTokenEvent 2912ae33

inputs0addresssender
inputs1addressbeneficiary
inputs2uint256amount
event

NewFund 00e069a4

inputs0addresssender
inputs1addressfund
event

NewRefund 0ca340c7

inputs0addresssender
inputs1addressinvestor
inputs2uint256value
inputs3bytes32currencyCode
event

NewSaleDone 0fe32763

inputs0addresssender
inputs1addressinvestor
inputs2uint256value
inputs3bytes32currencyCode
event

PriceRequestFailed bd690f6d

inputs0addresssender
inputs1addressinvestor
inputs2uint256value
inputs3bytes32currencyCode
inputs4bytes32query
event

PriceRequested 5e131299

inputs0addresssender
inputs1addressinvestor
inputs2uint256value
inputs3bytes32currencyCode
inputs4bytes32query
event

ReceivedERC20 d1ba297d

inputs0addresssender
inputs1addressinvestor
inputs2uint256erc20Value
inputs3bytes32symbol
event

ReceivedEther eeec398a

inputs0addresssender
inputs1addressinvestor
inputs2uint256weiValue
event

RefundedERC20 3bfaaea2

inputs0addresssender
inputs1addressinvestor
inputs2uint256erc20Value
inputs3bytes32symbol
event

RefundedEther 26fc102d

inputs0addresssender
inputs1addressinvestor
inputs2uint256weiValue
event

SaleAgentDeleted abca56d1

inputs0addresssender
inputs1addresssaleAgent
inputs2bytes32symbol
event

SaleAgentRegistered 3dbb1ba7

inputs0addresssender
inputs1addresssaleAgent
inputs2bytes32symbol
event

WithdrawEther db35132c

inputs0addresssender
inputs1uint256amout
event

WithdrawToken 03723885

inputs0addresssender
inputs1addressholder
inputs2uint256amount
function

addSalesAgent c18c35da

Allow SaleAgent to sale tokens.

inputs0address_salesAgent
inputs1bytes32_currencyCode
function

changeContractOwnership 557f4bc9

Prepares ownership pass. * Can only be called by current owner.

inputs0address_to

address of the next owner. 0x0 is not allowed.

outputs0bool
function

claimContractOwnership 4592cd1d

Finalize ownership pass. * Can only be called by pending owner.

outputs0bool
function, constant

config 79502c55

function, constant

contractOwner ce606ee0

function

destroy 83197ef0

Destroy the Crowdsale contract. Throws if the Crowdsale is not ended yet.

function

disableERC20Sale f07d76f1

Deny to receive ERC20 token with given symbols.

inputs0bytes32[]blackList
function

disableEtherSale 522d8083

Disable Ether sale

function, constant

donations 5471b709

inputs0bytes32
inputs1address
function

enableERC20Sale 4b6585f1

Allow to receive ERC20 token with given symbols.

inputs0bytes32[]whiteList
function

enableEtherSale 7123778e

Enable Ether sale

inputs0address_fund
function, constant

fund b60d4288

function, constant

getGoal b97a7d24

Returns Crowdsale goal.

function, constant

getPriceTicker 7ea91547

Returns priceTicker address.

function, constant

getSalesAgent bfd7ae77

Returns salesAgent by given _symbol.

inputs0bytes32_symbol
function, constant

getSymbol 15070401

Returns token's symbol;

function, constant

getTokenSymbol 81a73ad5

Returns token symbol by given address.

inputs0address_token
function, constant

getTokensSold ee7c0db0

How many tokens are sold.

function, constant

hasEnded ecb70fb7

function

init 65ef326c

inputs0bytes32_currencyCode
inputs1uint256_minValue
inputs2uint256_maxValue
inputs3uint256_exchangeRate
inputs4uint256_exchangeRateDecimals
inputs5uint256_startBlock
inputs6uint256_stopBlock
function, constant

isFailed f4163340

function, constant

isRunning 2014e5d1

function, constant

isSuccessed 692a1960

See BaseCrowdsale

function, constant

lookupBounty 8fe858d9

function, constant

lookupERC20Service fc09e493

function, constant

lookupService b0744a60

inputs0bytes32_identifier
function, constant

pendingContractOwner 5aa77d3c

function, constant

raised 2bac85ad

inputs0bytes32
function

receivePrice f50bf029

Only PriceTicker is permited to execute this function.

inputs0bytes32queryId
inputs1uint256price
inputs2uint256decimals
function

refund 37b6ee7e

Refunds donated fund.

inputs0address_investor
inputs1bytes32_currencyCode
function

refund 590e1ae3

Investors can claim refund (only Ether deposit). * Note that any refunds from proxy buyers should be handled separately, and not through this contract.

function, payable

refundERC20 6e94a629

Investors can claim refund (only ERC20 deposit). * Note that any refunds from proxy buyers should be handled separately, and not through this contract.

inputs0address_token
function

removeSalesAgent 4207ad67

Deny SaleAgent to sale tokens.

inputs0address_salesAgent
inputs1bytes32_currencyCode
function, payable

sale 7507db0a

This function mints the tokens and moves the crowdsale needle. * Amount of minted tokens is calculated according to a price provided by PriceTicker, and an exchangeRate given during initialization. * This function is permited only for Sale Agent and can be executed only when crawdsale is running. * Sale Agent must send some wei, because of price fetching is not free.

inputs0address_investor
inputs1uint256_value
inputs2bytes32_currencyCode
function, constant

salesAgents 8522585a

inputs0bytes32
function, payable

sellERC20 c91122d0

Receive ERC20 Token and send bounty. * ERC20 sale must be enabled to token with given symbol.

inputs0address_token
function

setPriceTicker 5e8fac66

Setter for PriceTicker

inputs0address_priceTicker
function

transferContractOwnership a843c51f

Direct ownership pass without change/claim pattern. Can be invoked only by current contract owner

inputs0address_to

the next contract owner

outputs0bool
function

withdraw 3ccfd60b

Withdrawal Ether balance on successfull finish

function

withdrawnTokens d8f9659b

inputs0address[]tokens
inputs1address_to