-
-
Save carchrae/9f15e758e436a56460a1ec04ee3fd2c7 to your computer and use it in GitHub Desktop.
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.15+commit.bbb8e64f.js&optimize=true&gist=
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.11; | |
import 'zeppelin-solidity/contracts/token/MintableToken.sol'; | |
contract LPToken is MintableToken { | |
string public name = "Frontier LP Token"; | |
string public symbol = "FPLP"; | |
uint256 public decimals = 18; | |
} |
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.11; | |
import 'zeppelin-solidity/contracts/crowdsale/RefundableCrowdsale.sol'; | |
import './LPToken.sol'; | |
contract Syndicate is Crowdsale { | |
function Syndicate(uint256 _startBlock, uint256 _endBlock, uint256 _rate, address _wallet) Crowdsale(_startBlock, _endBlock, _rate, _wallet) { | |
} | |
// creates the token to be sold. | |
// override this method to have crowdsale of a specific MintableToken token. | |
function createTokenContract() internal returns (MintableToken) { | |
return new LPToken(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment