Skip to content

Instantly share code, notes, and snippets.

Avatar

Yuriy yuriy77k

View GitHub Profile
View Ethereum_Anonymizer.sol
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);
View Bionic_Conclusion.md

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

View TokenTrader_conclusion.md
@yuriy77k
yuriy77k / Gigzi_audit_conclusion.md
Last active Aug 13, 2018
Gigzi smart contract security audit conclusion.
View Gigzi_audit_conclusion.md

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 Aug 13, 2018
ERC20andCrowdsale conclusion
View ERC20andCrowdsale_conclusion.md
@yuriy77k
yuriy77k / CryptoAds.sol
Created Aug 14, 2018
CryptoAds smart contract
View CryptoAds.sol
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 Aug 20, 2018
Gigzi improved smart contract audit report conclusion.
View Gigzi_v2_audit_conclusion.md
@yuriy77k
yuriy77k / CryptoAds_conclusion.md
Created Aug 20, 2018
CryptoAds smart contract audit report conclusion
View CryptoAds_conclusion.md
View forze.sol
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 Sep 2, 2018
P3C Smart Contract Security Audit Report
View P3C_conclusion.md

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