Skip to content

Instantly share code, notes, and snippets.

View gorbunovperm's full-sized avatar

Aleksandr Gorbunov gorbunovperm

View GitHub Profile
@gorbunovperm
gorbunovperm / Sparkle.sol
Created February 24, 2019 04:20 — forked from yuriy77k/Sparkle.sol
Sparkle
pragma solidity 0.4.25;
// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
/**
* @title ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/20
*/
interface IERC20 {
function totalSupply() external view returns (uint256);
@gorbunovperm
gorbunovperm / easyinvestup.sol
Last active November 2, 2018 11:44 — forked from yuriy77k/easyinvestup.sol
easyinvestup
pragma solidity ^0.4.24;
/***********************************************************
* Easy Investment UP Contract
* - GAIN 4.5% PER 24 HOURS (every 5900 blocks) 60 days
* - GAIN 5% PER 24 HOURS (every 5900 blocks) 40 days
* - GAIN 5.3% PER 24 HOURS (every 5900 blocks) 30 days
* - GAIN 6.5% PER 24 HOURS (every 5900 blocks) 20 days
* - GAIN 9.3% PER 24 HOURS (every 5900 blocks) 12 days
*
pragma solidity ^0.4.20;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b);
@gorbunovperm
gorbunovperm / ETC_multisig_wallet_audit_report.md
Created July 1, 2018 04:55 — forked from Dexaran/ETC_multisig_wallet_audit_report.md
Ethereum CLassic multisig wallet audit report.

Ethereum Classic Multisig Wallet audit report.

Summary

This is the report from a security audit performed on Ethereum Classic Multisig Wallet by Dexaran. This contracts are a version of OpenZeppelin Multisig Wallet.

The audit focused primarily on the security of funds and fault tolerance of the multisig wallet. The main intention of this multisig wallet is to serve as an official storage of funds donated for ETC development.

In scope