Skip to content

Instantly share code, notes, and snippets.

View jparklev's full-sized avatar

Josh Levine jparklev

View GitHub Profile
Wallet: 0xC9c46610A37fD7240Dc3eb05d60f7fb513f8e4af
symbiotic: 0
ethena: 0
karak: 0
zircuit: 0
Wallet: 0x5Cd29EeDd6f03BF60E087CB52aDca595cb1a68af
symbiotic: 0
ethena: 0
zircuit: 0
{
"0xC9c46610A37fD7240Dc3eb05d60f7fb513f8e4af": {
"zircuit": "0"
},
"0x74F7B610938A4A0DE3904930f02B467a80328Ba9": {
"zircuit": "45493365210515245"
},
"0x5Cd29EeDd6f03BF60E087CB52aDca595cb1a68af": {
"zircuit": "0"
},
@jparklev
jparklev / merklize.ts
Last active August 27, 2024 19:07
Rumpel Merklization
import { Address, encodePacked, keccak256 } from "viem";
import { MerkleTree } from "merkletreejs";
const solidityKeccak256 = (types: string[], values: any[]) => {
return keccak256(encodePacked(types, values));
};
export type Distribution = {
[user: Address]: {
contract Store {
mapping(bytes4 => uint256) public store;
function set(bytes4 key, uint256 value) external {
store[key] = value;
}
function get(bytes4 key) external returns (uint256) {
return store[key];
}

Keybase proof

I hereby claim:

  • I am jparklev on github.
  • I am jparklev (https://keybase.io/jparklev) on keybase.
  • I have a public key ASDT_c2W_sCmthMYgJZ-9HfAetcltafFAgVeila2HDtUowo

To claim this, I am signing this object:

@jparklev
jparklev / index.html
Created January 17, 2018 08:56
Statechart Visualizer (Alpha)
<div id="app"></div>
<!-- <div id="cy"></div> -->
@jparklev
jparklev / .block
Last active September 5, 2017 22:31
fresh block
license: mit