Skip to content

Instantly share code, notes, and snippets.

View developerfred's full-sized avatar
🎯
Focusing

codingsh developerfred

🎯
Focusing
View GitHub Profile
{
"name": "Mask Network",
"logoURI": "https://raw.githubusercontent.com/DimensionDev/Maskbook-Website/master/img/MB--CircleCanvas--WhiteOverBlue.svg",
"keywords": [
"browser extension",
"web3",
"peer to peer",
"encryption",
"cryptography",
"gundb",
@developerfred
developerfred / arbitrum.md
Created November 15, 2021 01:18
$SARCO on arbitrum.io Rinkeby

$SARCO on arbitrum.io Rinkeby

https://testnet.arbiscan.io/

Setting allowance on gateway
Allowance successfully set — L1 tx hash: 0xb1ce2ae1a9757a68fda1733796c3c8139e6bea80c80dd946856ff197a8f476d2
Depositing / deploying standard token contract:
L1 deposit txn confirmed — L1 txn hash: 0x47f43d678d1a0fb113823eeb3a0eb11b76bfcb41c2bc4d91d49ac1b9773631f0
Waiting for L2 txn; this takes ~10 minutes; waiting for L2 txn hash: 0x52b96edcac0d42ce4ff3661392fb3131589a9797cdda48f7619f0b48b0518bbf
Done; your token is deployed on L2 at 0xf00dD64B2A7c9205575F8719B8d692536a2d6321
@developerfred
developerfred / goToOito.md
Created October 26, 2021 22:58
Oito.work | Dapp Developer Interface
@developerfred
developerfred / contracts.sol
Last active September 15, 2021 17:40
Gnosis Safe Deploy - Fuse Network
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: division by zero");
return a / b;
}
{
"ethereum": {
"smartContractEvents": [
{
"transaction": {
"hash": "0xd191ceacc1bb15faf93379716a90e7a0ea772fb228f0277305323f6ab8ac08f7"
},
"block": {
"height": 5373657,
"timestamp": {
@developerfred
developerfred / DSProxy.sol
Created October 24, 2020 13:13
Flash Loan one transaction 20 GWEI
/**
*Submitted for verification at Etherscan.io on 2018-09-06
*/
// proxy.sol - execute actions atomically through the proxy's identity
// Copyright (C) 2017 DappHub, LLC
// 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
@developerfred
developerfred / yearn.finance
Created October 20, 2020 23:56
yearn.finance Holders
This file has been truncated, but you can view the full file.
{
"asset": "0x96d62cdcd1cc49cb6ee99c867cb8812bea86b9fa",
"wallets":
"ba37b002abafdd8e89a1995da52740bbc013d992",
"3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be",
"3dfd23a6c5e8bbcfc9581d2e864a68feb6a076d3",
"e93381fb4c4f14bda253907b18fad305d799241a",
"088ee5007c98a9677165d78dd2109ae4a3d04d0c",
"2fdbadf3c4d5a8666bc06645b8358ab803996e28",
"bcd5000f5c522856e710c5d274bb672b2f2eefbf",
@developerfred
developerfred / MKR_holders.csv
Created October 20, 2020 13:02 — forked from gane5h/MKR_holders.csv
MKR balance storage slot writes
We can't make this file beautiful and searchable because it's too large.
"block_signed_at","address","balance"
"2019-11-30 21:43:30+00","2d1d6d5deae5cc68d893a73781dd573fde302796",1227556400000000000
"2019-11-30 21:43:30+00","2b5634c42055806a59e9107ed44d43c426e58258",239060270600000000000
"2019-11-30 21:33:10+00","39755357759ce0d7f32dc8dc45414cca409ae24e",437140390807426204185
"2019-11-30 21:33:10+00","69076e44a9c70a67d5b79d95795aba299083c275",5878988991879486728884
"2019-11-30 21:33:10+00","e54365c85ca9b7e3ef68c5bed244dc10330bb264",0
"2019-11-30 21:32:32+00","ac8d6652067ca9b33bd15eeeeb01102d2d2cfc64",843100000000000000
"2019-11-30 21:29:27+00","2c4bd064b998838076fa341a83d007fc2fa50957",2964877658410763648961
"2019-11-30 21:29:27+00","9ba4ae48b8ca9e98e511b3371a4d454d1a3e1003",0
"2019-11-30 21:17:29+00","6cc5f688a315f3dc28a7781717a9a798a59fda7b",2633319886385353620901
@developerfred
developerfred / MKR_holders.csv
Created October 20, 2020 13:02 — forked from gane5h/MKR_holders.csv
MKR balance storage slot writes
We can't make this file beautiful and searchable because it's too large.
"block_signed_at","address","balance"
"2019-11-30 21:43:30+00","2d1d6d5deae5cc68d893a73781dd573fde302796",1227556400000000000
"2019-11-30 21:43:30+00","2b5634c42055806a59e9107ed44d43c426e58258",239060270600000000000
"2019-11-30 21:33:10+00","39755357759ce0d7f32dc8dc45414cca409ae24e",437140390807426204185
"2019-11-30 21:33:10+00","69076e44a9c70a67d5b79d95795aba299083c275",5878988991879486728884
"2019-11-30 21:33:10+00","e54365c85ca9b7e3ef68c5bed244dc10330bb264",0
"2019-11-30 21:32:32+00","ac8d6652067ca9b33bd15eeeeb01102d2d2cfc64",843100000000000000
"2019-11-30 21:29:27+00","2c4bd064b998838076fa341a83d007fc2fa50957",2964877658410763648961
"2019-11-30 21:29:27+00","9ba4ae48b8ca9e98e511b3371a4d454d1a3e1003",0
"2019-11-30 21:17:29+00","6cc5f688a315f3dc28a7781717a9a798a59fda7b",2633319886385353620901
@developerfred
developerfred / noCash Rinkeby
Last active October 18, 2020 15:18
NocashRinkeby
Starting migrations...
======================
> Network name: 'rinkeby'
> Network id: 4
> Block gas limit: 10000000 (0x989680)
2_deploy_contracts.js
=====================