0x

TokenSale

0xd4fd252d7d2c9479a8d616f510eac6243b5dddf9
EtherToken
fallback

(fallback)

Inputs

(void)

Outputs

(void)
TokenSale
function

changeRegistrationStatus

Restricted (onlyOwner, saleNotInitialized)

Inputs

ParameterTypeDescription
targetaddress
isRegisteredbool

Outputs

(void)
function

changeRegistrationStatuses

Restricted (onlyOwner, saleNotInitialized)

Inputs

ParameterTypeDescription
targetsaddress[]
isRegisteredbool

Outputs

(void)
function

initializeSale

Restricted (saleNotInitialized, onlyOwner, validStartTime, validBaseEthCapPerAddress)

Inputs

ParameterTypeDescription
orderAddressesaddress[5]
orderValuesuint256[6]
vuint8
rbytes32
sbytes32
_startTimeInSecuint256
_baseEthCapPerAddressuint256

Outputs

(void)
function

fillOrderWithEth

Restricted (saleStarted, saleNotFinished, onlyRegistered)

Inputs

(void)

Outputs

(void)
function

getOrderMakerTokenAmount

Inputs

(void)

Outputs

TypeDescription
uint256
function

getOrderHash

Inputs

(void)

Outputs

TypeDescription
bytes32
function

isValidSignature

Inputs

ParameterTypeDescription
pubKeyaddress
hashbytes32
vuint8
rbytes32
sbytes32

Outputs

TypeDescription
bool
function

getEthCapPerAddress

Inputs

(void)

Outputs

TypeDescription
uint256
function

getOrderTakerTokenAmount

Inputs

(void)

Outputs

TypeDescription
uint256
constructor

TokenSale

Inputs

ParameterTypeDescription
_exchangeaddress
_protocolTokenaddress
_ethTokenaddress

Outputs

(void)
event

SaleFinished

Inputs

ParameterTypeDescription
endTimeInSecuint256

Outputs

(void)
event

SaleInitialized

Inputs

ParameterTypeDescription
startTimeInSecuint256

Outputs

(void)
function

isSaleInitialized

Inputs

(void)

Outputs

TypeDescription
bool
function

transferOwnership

Inputs

ParameterTypeDescription
newOwneraddress

Outputs

(void)
function

TIME_PERIOD_IN_SEC

Inputs

(void)

Outputs

TypeDescription
uint256
function

baseEthCapPerAddress

Inputs

(void)

Outputs

TypeDescription
uint256
function

registered

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
bool
function

startTimeInSec

Inputs

(void)

Outputs

TypeDescription
uint256
function

contributed

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
uint256
function

owner

Inputs

(void)

Outputs

TypeDescription
address
function

isSaleFinished

Inputs

(void)

Outputs

TypeDescription
bool