Skip to content
asandanov edited this page Jan 9, 2019 · 4 revisions

STO methods

addAppICOInfo

register information about STO.

Preliminary registration of information is necessary due to the limitations of the function call stack (the number of local variables is limited)

addAppICOInfo (
    uint app,                   // application ID
    string name,                // token name
    string symbol,              // token symbol
    uint startsAt,              // STO starts at
    uint numberOfPeriods,       // STO number of periods
    uint durationOfPeriod,      // STO duration of period  
    uint targetInUSD,           // STO target in USD
    string hash,                // hash of content STO in storage system
    uint32 hashType)            // default 1 - IPFS  

changeHashAppICO

change information about STO.

changeHashAppICO(
    uint app,                   // application ID
    string hash,                // hash of content STO in storage system
    uint32 hashType)            // default 1 - IPFS  

addAppICO

create application STO.

addAppICO(
    uint app,                   // application ID
    address multisigWallet,     // wallet - where will the invested funds
    uint CSID,                  // CrowdSale ID
    uint ATID)                  // AppToken ID  

delAppICO

delete application STO

delAppICO(
    uint app,                   // application ID
) 
Clone this wiki locally