Skip to content

Instantly share code, notes, and snippets.

View KenMan79's full-sized avatar
🌎
How wonderful to speak the language of code with word of love!

Kenneth Luster KenMan79

🌎
How wonderful to speak the language of code with word of love!
View GitHub Profile
@KenMan79
KenMan79 / vanilla-js-cheatsheet.md
Created December 11, 2020 03:04 — forked from thegitfather/vanilla-js-cheatsheet.md
Vanilla JavaScript Quick Reference / Cheatsheet
@KenMan79
KenMan79 / ETH_Dai_report.md
Created June 28, 2021 03:36 — forked from yuriy77k/ETH_Dai_report.md
Dai Security Audit Report
@KenMan79
KenMan79 / ETH_NFTLootBox_report.md
Created June 28, 2021 03:36 — forked from yuriy77k/ETH_NFTLootBox_report.md
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.

@KenMan79
KenMan79 / BSC_CryptoCafe_report.md
Created June 28, 2021 03:37 — forked from yuriy77k/BSC_CryptoCafe_report.md
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

@KenMan79
KenMan79 / ETH_Frax_stake_v2_report.md
Created June 28, 2021 03:37 — forked from yuriy77k/ETH_Frax_stake_v2_report.md
Frax-stake Security Audit Report v.2
@KenMan79
KenMan79 / ETH_Dirham_report.md
Created June 28, 2021 03:38 — forked from yuriy77k/ETH_Dirham_report.md
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.

@KenMan79
KenMan79 / BSB_SmartSwapETHBNB_report.md
Created June 28, 2021 05:22 — forked from yuriy77k/BSB_SmartSwapETHBNB_report.md
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

// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
contract EthMover is Ownable {
uint public totalDonations;
@KenMan79
KenMan79 / Rinkeby.md
Created July 14, 2021 19:54 — forked from learner-long-life/Rinkeby.md
How to get on Rinkeby Testnet in less than 10 minutes

How to get on Rinkeby Testnet in less than 10 minutes

Following instructions from the excellent https://www.rinkeby.io/

Synchronizing a Full Node

A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,

@KenMan79
KenMan79 / CryptoKitties.sol
Created July 24, 2021 00:37 — forked from yogin/CryptoKitties.sol
CryptoKitties
// Copied from: https://ethfiddle.com/09YbyJRfiI
// CryptoKitties Source code
// Copied from: https://etherscan.io/address/0x06012c8cf97bead5deae237070f9587f8e7a266d#code
pragma solidity ^0.4.11;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control