STO module for private presales (PreSaleSTO.sol)
Last updated
Was this helpful?
Last updated
Was this helpful?
View Source:
↗ Extends: ,
PreSaleSTO
Events
Constructor
Arguments
Name
Type
Description
_securityToken
address
Address of the security token
_polyToken
address
Function used to initialize the different variables
Arguments
Name
Type
Description
_endTime
uint256
Unix timestamp at which offering ends
This function returns the signature of the configure function
Arguments
Name
Type
Description
Returns the total no. of investors
Arguments
Name
Type
Description
Returns the total no. of tokens sold
Arguments
Name
Type
Description
Returns the permissions flag that are associated with STO
Arguments
Name
Type
Description
Function used to allocate tokens to the investor
Arguments
Name
Type
Description
_investor
address
Address of the investor
_amount
uint256
No. of tokens to be transferred to the investor
_etherContributed
uint256
How much ETH was contributed
_polyContributed
uint256
How much POLY was contributed
Function used to allocate tokens to multiple investors
Arguments
Name
Type
Description
_investors
address[]
Array of address of the investors
_amounts
uint256[]
Array of no. of tokens to be transferred to the investors
_etherContributed
uint256[]
Array of amount of ETH contributed by each investor
_polyContributed
uint256[]
Array of amount of POLY contributed by each investor
⤾ overrides
⤾ overrides
⤾ overrides