This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.0; | |
| contract Lottery{ | |
| // varibale to store managers address | |
| address public manager; | |
| //we are storing the address of the participants | |
| address[] public participants; | |
| constructor () public { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*--CSS--*/ | |
| .block { | |
| text-align: center; | |
| vertical-align: middle; | |
| } | |
| .circle { | |
| background: #7f86ff; | |
| border-radius: 200px; | |
| color: white; | |
| height: 150px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div className="container"> | |
| <div className="col-md-12"> | |
| <div className="card text-center"> | |
| <div className="card-header"> | |
| <h1>TOTAL WINNING POOL IS </h1> | |
| <div className ="block"> | |
| <div className="circle"> | |
| <p>${this.state.total_amount}</p> | |
| </div> | |
| </div> |