Skip to content

Instantly share code, notes, and snippets.

View yuriy77k's full-sized avatar

Yuriy yuriy77k

View GitHub Profile
@yuriy77k
yuriy77k / DSToken.sol
Created March 16, 2019 17:05
Maker (MKR)
// MKR Token
// hevm: flattened sources of src/mkr-499.sol
pragma solidity ^0.4.15;
////// lib/ds-roles/lib/ds-auth/src/auth.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
@yuriy77k
yuriy77k / LuckyStrikeTokens_v2.sol
Created March 16, 2019 16:21
LuckyStrikeTokens_v2
pragma solidity 0.4.20;
/*
Lucky Strike smart contracts version: 3.2.3
*/
/*
This smart contract is intended for entertainment purposes only. Cryptocurrency gambling is illegal in many jurisdictions and users should consult their legal counsel regarding the legal status of cryptocurrency gambling in their jurisdictions.
Since developers of this smart contract are unable to determine which jurisdiction you reside in, you must check current laws including your local and state laws to find out if cryptocurrency gambling is legal in your area.
If you reside in a location where cryptocurrency gambling is illegal, please do not interact with this smart contract in any way and leave it immediately.
@yuriy77k
yuriy77k / BSB_SmartSwapETHBNB_report.md
Last active June 28, 2021 05:22
SmartSwap ETHBNB Security Audit Report

SmartSwap ETHBNB Security Audit Report

1. Summary

SmartSwap ETHBNB smart contract security audit report performed by Callisto Security Audit Department

The Smart Swap contract allows swapping ETH <> BNB and ERC20 <> BEP20 tokens by face value. It uses Oracle to get the price of tokens at the moment of swap.

2. In scope

@yuriy77k
yuriy77k / ETH_Dirham_report.md
Created March 28, 2021 14:28
Dirham Token Security Audit Report

Dirham Token Security Audit Report

1. Summary

@openzeppelin/contracts-ethereum-package Token smart contract security audit report performed by Callisto Security Audit Department

Dirham is a fiat collateralized stablecoin backed by AED. It is the native to Dirham crypto where bonds are introduced to blockchain for the first time ever. Dirham holders earn 4% interest every week. Paying interest done by calling the rebase function in smart contract.

@yuriy77k
yuriy77k / ETH_Frax_stake_v2_report.md
Created March 20, 2021 14:55
Frax-stake Security Audit Report v.2
@yuriy77k
yuriy77k / BSC_CryptoCafe_report.md
Created March 5, 2021 14:28
Crypto Cafe Security Audit Report

Crypto Cafe Security Audit Report

1. Summary

Crypto Cafe smart contract security audit report performed by Callisto Security Audit Department

The audited contract is a BEP20 token "CAFE" with a total supply 7,500,000 tokens. The entire total supply pre-mints to contract owner.

2. In scope

@yuriy77k
yuriy77k / ETH_NFTLootBox_report.md
Created February 17, 2021 07:28
NFTLootBox Security Audit Report

NFTLootBox Security Audit Report

1. Summary

NFTLootBox.com smart contract security audit report performed by Callisto Security Audit Department

Logic description by developer:

Users purchase lootboxes using their client seed. the contract doesn't use this seed, but the server (which reads the event emitted) does. Since generating random numbers is very difficult on-chain we calculate winnings server-side. once we've determined the user's winnings, they can redeem those winnings through the redeemBulk function.

@yuriy77k
yuriy77k / ETH_Dai_report.md
Created July 28, 2019 15:54
Dai Security Audit Report
@yuriy77k
yuriy77k / CLO_BullsUSD_report.md
Last active March 20, 2021 16:56
Bulls USD Security Audit Report

Bulls USD Security Audit Report

1. Summary

Bulls USD smart contract security audit report performed by Callisto Security Audit Department

The audited contract is a BEP20 token "BUSDT" (stablecoin) that will be backed with USD or equal stablecoins. The owner has rights to mint tokens in the amount of provided USD-equivalent supply.

2. In scope