This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* STATICCALL Proxy | |
* | |
* It expects the input: | |
* 256 bit - address | |
* 256 bit - gas | |
* 256 bit - value | |
* n bit - calldata to be proxied | |
* | |
* And returns the output: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"reflect" | |
"fmt" | |
) | |
type GenericObj struct { | |
Overwrite interface{} `json:"overwrite"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.5; | |
import "OpenZeppelin/[email protected]/contracts/access/Ownable.sol"; | |
//NRT is like a private stock | |
//can only be traded with the issuer who remains in control of the market | |
//until he opens the redemption window | |
contract NRT is Ownable { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -*- compile-command: "nvcc -m 32 -arch sm_35 -Xptxas=-v,-abi=no -cubin sha256.cu"; -*- | |
// | |
// Copyright 2013 Allan MacKinnon <[email protected]> | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining | |
// a copy of this software and associated documentation files (the | |
// "Software"), to deal in the Software without restriction, including | |
// without limitation the rights to use, copy, modify, merge, publish, | |
// distribute, sublicense, and/or sell copies of the Software, and to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Uses construct and is a bit nicer code | |
import pytz | |
import pprint | |
import datetime | |
from construct import Int64ul, Int64sl, Struct | |
import requests | |
import base64 | |
def main(): |
OlderNewer