Skip to content

Instantly share code, notes, and snippets.

View yuriy77k's full-sized avatar

Yuriy yuriy77k

View GitHub Profile
@yuriy77k
yuriy77k / Ethereum_Anonymizer.sol
Created July 19, 2018 11:41
Ethereum Anonymizer
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);
@yuriy77k
yuriy77k / Bionic_Conclusion.md
Created August 11, 2018 11:59
Bionic Conclusion

BNC token security audit report performed by Callisto Security Audit Department

1. Conclusion:

No critical issue. This contract can be considered safe to be deployed. However, as highlighted users can accidentally send their tokens to 0x0 address.

2. Medium severity issues:

2.1. Token Transfer to Address 0x0

@yuriy77k
yuriy77k / TokenTrader_conclusion.md
Created July 27, 2018 20:21
TokenTrader conclusion.
@yuriy77k
yuriy77k / Gigzi_audit_conclusion.md
Last active August 13, 2018 11:11
Gigzi smart contract security audit conclusion.

Gigzi smart contract security audit conclusion: bug fixing is necessary.

Critical issue:

  • Fees Avoidance. User can direct call transferFromAndCall or transferAndCall implemented in OpenZeppelin ERC827Token to transfer token without fee collection and possible manipulation of the reward since it the reward won't be updated.

Medium severity issues:

  • FeeableToken contract overload transfer and transferFrom methods, if a user directly call these functions to transfer tokens, it can lead to lost tokens issue.
@yuriy77k
yuriy77k / ERC20andCrowdsale_conclusion.md
Last active August 13, 2018 11:12
ERC20andCrowdsale conclusion
@yuriy77k
yuriy77k / CryptoAds.sol
Created August 14, 2018 18:58
CryptoAds smart contract
pragma solidity ^0.4.16;
/*
* Abstract Token Smart Contract. Copyright © 2017 by ABDK Consulting.
* Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com>
*/
pragma solidity ^0.4.20;
/*
* EIP-20 Standard Token Smart Contract Interface.
@yuriy77k
yuriy77k / Gigzi_v2_audit_conclusion.md
Created August 20, 2018 18:08
Gigzi improved smart contract audit report conclusion.
@yuriy77k
yuriy77k / CryptoAds_conclusion.md
Created August 20, 2018 19:14
CryptoAds smart contract audit report conclusion
@yuriy77k
yuriy77k / forze.sol
Created September 1, 2018 19:57
FORZE
pragma solidity ^0.4.8;
/**
* Math operations with safety checks
*/
contract SafeMath {
function safeMul(uint256 a, uint256 b) internal returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
@yuriy77k
yuriy77k / P3C_conclusion.md
Created September 2, 2018 18:37
P3C Smart Contract Security Audit Report

P3C Smart Contract security audit report performed by Callisto Security Audit Department

1. Conclusion:

The audit, conducted on P3C contract, concluded that the contract is safe to be used. Graphical analysis and the definition domains of the functions used for conversion (tokens to ether and ether to tokens) showed positive results. However, for better analysis the contract developers should provide the community with a white paper describing every aspect of the contract especial the conversion algorithms.

2. Low severity issues:

2.1. Known Issue of ERC20 Standard