The Algo Pool contract (AlgoPool.sol) is responsible for creating and managing mining pools.
Data stored in contract
- Address of the ERC20 AlgoToken
- Pool type (MinerPool, ReferralPool)
- List of funded miners, who already received funds from this pool (addresses)
- List of AlgoCoreTeamRole users (addresses)
- Termination state and creator's address
Transactions (cost ether)
transferToMiner reverts when called in NodeJS and Remix environment. Cause currently unknown.Issue probably occured from mixing up usage of external address with contract address.