Skip to content

Instantly share code, notes, and snippets.

Avatar
👷
Building

Sacha Marcus NBMSacha

👷
Building
View GitHub Profile
@NBMSacha
NBMSacha / gist:86a7293da1f31b1521c9ca42fae782fe
Last active Apr 17, 2022
Safetin audit - GemPad - Uint optimizations
View gist:86a7293da1f31b1521c9ca42fae782fe
//l 366
uint16 constant maxFeeLimit = 300;
//l 367
uint8 constant maxProtectBlockLimit = 30;
//l 373
uint8 private _protectBlockLiquidityFee;
//l 374
uint8 private _protectBlockRewardFee;
//l 375
uint8 private _protectBlockMarketingFee;
@NBMSacha
NBMSacha / API.json
Created Apr 2, 2022
Mobula's API smart-contract ABI
View API.json
{
"_format": "hh-sol-artifact-1",
"contractName": "API",
"sourceName": "contracts/API.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_protocol",