I hereby claim:
- I am flygoing on github.
- I am flygoing (https://keybase.io/flygoing) on keybase.
- I have a public key whose fingerprint is 8069 E626 9401 3B7C 1BF8 D3EC F4F1 5379 982F AB12
To claim this, I am signing this object:
borrowRatePerBlock = 73932656935 / 10 ^ 18 = 0.00000007393 | |
#Compounds calculations (this matches exactly what they display on their site) | |
compoundsBlockTime = 15 | |
compoundsAverageBlocksPerYear = 60 / compoundBlockTime * 60 * 24 * 365 | |
nonCompoundedInterest = (borrowRatePerBlock) * blocksPerYear = 0.15543601794 | |
pragma solidity 0.5.7; | |
pragma experimental ABIEncoderV2; | |
import { IERC20 } from "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol"; | |
import { SafeMath } from "openzeppelin-solidity/contracts/math/SafeMath.sol"; | |
import { IHumanityRegistry } from "./interface/IHumanityRegistry.sol"; | |
import { CompoundPoolingBank } from "./CompoundPoolingBank.sol"; | |
/** |
pragma experimental ABIEncoderV2; | |
pragma solidity ^0.4.23; | |
contract BattleHash { | |
uint256 public numGames; | |
modifier validShot(uint256 gameId) { | |
Game storage game = games[gameId]; | |
address lastShooter = getLastShooter(game); |
I hereby claim:
To claim this, I am signing this object:
pragma solidity ^0.4.11; | |
contract BackwardsCompatibleApprove { | |
struct Allowance { | |
uint amount; | |
bool used; | |
} | |
pragma solidity ^0.4.11; | |
contract BackwardsCompatibleApprove { | |
struct Allowance { | |
uint amount; | |
bool used; | |
} | |
bool isPrime(int n) { | |
//two is the only even prime | |
if (n == 2) { | |
return true; | |
} | |
//all less than two or divisable by two are not primes | |
if (n < 2 || n % 2 == 0) { | |
return false; | |
} | |
if(n%2==0){ |