RICO_GuidLine_API
API Lists
function init(tokenAddr, totalSupply, tobAmountToken, tobAmountWei, PoDCapToken, PoDCapWei, PoDAddr, projectOwner);
This function implement initialize RICO Framework and deploy all dependency contracts.
table: params
name type description
tokenAddr address tokenAddr is a Address of token Contract. if you can use 0x0, will be create new Token contract.
totalSupply uint256 totalSupply is a params maximum supply quantities in Token strategy. literal ether mean 10**18 on EVM execution. this case is decimals equal 18, this token available ether literal.400000 ether mean that 400,000 Token will be mint.
tobAmountToken uint256 TOB executes meaning the token generated by the tender offer is locked for a certain period of time and can not be issued freely. and TOB price defined by this token structure. people ask the question that token price is so cheaper ? but we claim that token price will touch the honestly price based on the prediction market action. if the owner buying so cheaper price. but token has been locked by contract. project owner has huge positive reputation rather than many conventional ICOs strategy allocations.
tobAmountWei uint256 Project TOB Cap o ETH.
PoDCapToken uint256 Proof of Doantaion (PoD) is a reservation of Token mint. if donate to project, ether wire defined in EVM executes. params proxy to Dutch Auction contract in RICO contract.
PoDCapWei uint256 Project HardCap of ETH.
PoDAddr address PoD Contract's address. sample be in /PoDs
projectOwner address projcetOwner is a params of responsible token manager in RICO concept.if Ethereum address is checksumed, it may unmatch address that unable checksumed while the EVM operate codes.
function initTokenData(name, symbol, decimals)
EIP-20 is a TokenStandard Format on the Ethereum Blockchain. string is a type in solidity. length <= 32bytes. name is a represent of Project name. sybmol is a represent of Project ticker symbol. decimals is a represent of token multiplexer 1 token = 1*10^multiplexer. e.g. "Responsible ICO Token" ,"RIT","18".
table: params
name string setting of token name.
symbol string setting of token symbol.
decimals uint8 setting of token decimals.
function addTokenRound(roundSupply, execTime, to);
Round is most important precept that mean token distribution program. it least one needs to be defined on RICO token structure.