Skip to content

Instantly share code, notes, and snippets.

View NBMSacha's full-sized avatar
👷
Building

Sacha Marcus NBMSacha

👷
Building
View GitHub Profile
@NBMSacha
NBMSacha / gist:86a7293da1f31b1521c9ca42fae782fe
Last active April 17, 2022 14:59
Safetin audit - GemPad - Uint optimizations
//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 April 2, 2022 10:25
Mobula's API smart-contract ABI
{
"_format": "hh-sol-artifact-1",
"contractName": "API",
"sourceName": "contracts/API.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_protocol",