Skip to content

Instantly share code, notes, and snippets.

View atarpara's full-sized avatar

Akshay Tarpara atarpara

View GitHub Profile
@0xA5DF
0xA5DF / !README.md
Last active February 23, 2024 12:20
Estimate C4 payout

Alternatives

I noticed there's a better alternative here

About

This is a script that can be used to estimate your rewards form HMs submissions on C4. In order to use it fill out in the .env file:

  • HMS_POT - the HM awards for the contest
  • CONTEST_NAME - can be also partial name, but best to use the full name to avoid dupes (e.g. 2024-01-renft)
  • GH_ACCESS_TOKEN - it has to be a classic token with the repo scope permissions, not a fine-grained token. The fine-grained tokens don't support reading private repos that you don't own.
@Vectorized
Vectorized / YulSnippets.sol
Last active April 29, 2023 21:55
Solidity Yul Assembly Snippets
// SPDX-License-Identifier: MIT
// Author: vectorized.eth
pragma solidity ^0.8.0;
pragma abicoder v2;
// DISCLAIMER:
// This is experimental software and is provided on an "as is" and "as available" basis.
// We do not give any warranties and will not be liable for any loss incurred through any use of this codebase.
library Base64 {