Total missed: 2
Total guesses: 6158
First guess: spend
- ⬜⬜🟩🟩🟩: quack
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.20; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
/// @title CurrencyCoin Interface | |
/// @notice Interface for interacting with the CurrencyCoin contract | |
interface CurrencyCoin { |
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.30; | |
import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
import "@openzeppelin/contracts/security/Pausable.sol"; | |
import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; | |
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.20; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
/** | |
* @title Interface for the external CurrencyCoin contract. | |
* @dev This interface defines the functions that the WrappedCurrencyCoin contract | |
* will call on the original 2015 Currency.sol contract. |
//Most, basic default, standardised Token contract. | |
//Based on standardised APIs & slightly extended. https://github.com/ethereum/wiki/wiki/Standardized_Contract_APIs | |
//adds AddressApproval & AddressApprovalOnce events | |
//approve & approveOnce works on premise that approved always takes precedence. | |
//adds unapprove to basic coin interface. | |
contract Coin { | |
function sendCoin(uint _value, address _to) returns (bool _success) {} | |
function sendCoinFrom(address _from, uint _value, address _to) returns (bool _success) {} | |
function coinBalance() constant returns (uint _r) {} |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.20; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
interface CurrencyCoin { | |
function coinBalanceOf(address _owner) external returns (uint256); | |
function sendCoin(uint256 _amount, address _receiver) external; |
Contract at 0x318143cFd742FB637f4833FF0EAfEe66c9a35327 | |
Created: (Aug-25-2015 02:58:28 AM UTC) | |
Solidity version: 0.1.3-0/.-/clang/int linked to libethereum-0.9.92-0/.-/clang/int | |
Change to: v0.1.3+commit.028f561d tested on 3.5 | |
Text Wrap Enable Optimization | |
https://chriseth.github.io/browser-solidity/#version=soljson-v0.3.5+commit.5f97274a.js&optimize=true | |
Bytecode: |
// Submitted to Etherscan.io for verification for contract at 0x8494F777d13503BE928BB22b1F4ae3289E634FD3 | |
/* rfikki was here in 2015 */ | |
contract currency { | |
struct Account { | |
uint balance; | |
mapping ( address => uint) withdrawers; | |
} |
// Doku see https://drive.google.com/file/d/0Bzjj9RC5wV6KRndsd1FQOGFPb0E/view?usp=sharing | |
contract FinneyDonationGamble { | |
// Basics | |
address foundation = 0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae; | |
// History | |
uint256 Bets_total_number; // Number of bets | |
uint256 Bets_since_last_win; // Number of bets since last win | |
uint256 Sum_of_Payouts; // Sum pay out | |
uint256 Sum_of_Donations; // Sum donations |
/** | |
*Code author/customizations by rfikki - [email protected] | |
*Created for illustration only | |
*Using OpenZeppelin as basis | |
*To be submitted for verification at Etherscan.io on 2023-xx-xx | |
*/ | |
// File: @openzeppelin/contracts/utils/Context.sol | |
Total missed: 2
Total guesses: 6158
First guess: spend