Skip to content

Instantly share code, notes, and snippets.

// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.2 <0.9.0;
contract Lottery {
address public owner;
uint public ticketPrice;
uint public lotteryDuration;
uint public lastLotteryTime;
address[] public players;
address public winner;
@K-Honsu
K-Honsu / SAMPLE TOKKEN
Created March 23, 2024 14:38
FVM WORKSHOP SUBMISSION
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.5.9;
import "@0x/contracts-erc20/contracts/src/ERC20Token.sol";
/**
* @title SampleERC20
* @dev Create a sample ERC20 standard token
*/