Skip to content

Instantly share code, notes, and snippets.

@engn33r
engn33r / privacy.md
Last active January 17, 2025 09:27
Privacy Policy

Twyne Privacy Policy

Updated and effective: 17 January 2025

Introduction

The Twyne Foundation is committed to protecting and respecting your privacy. This Privacy Policy (the “Policy”) describes how Twyne and its affiliates (“we”, “us”, or “our”), might collect, use, and/or share your personal data when you access our company websites, including but not limited to, twyne.xyz (including the Twyne app) and its sub-domains, and all of our other properties, products, and services (collectively the “Services”).

For the purposes of this Policy, personal data is any data related to an identified or identifiable individual. Your use of the Services is subject to this Policy as well as our Terms of Use. If you do not agree with the terms of this Policy, do not access or use these Services, or any other aspect of our business.

@engn33r
engn33r / risk.md
Last active January 17, 2025 09:28
Risk Disclosure

Twyne Protocol Risk Disclosures

Updated and effective: 17 January 2025

I. Introduction

Purpose: This Risk Disclosure document is designed to inform users of the products, (including the Twyne Protocol, the EVC and the EVK), services and related information and materials offered by the Twyne Foundation, which includes twyne.xyz, app.twyne.xyz and the interface and related services that facilitate interaction with the Twyne Protocol (the "Protocol"), and including any vaults created by third parties using any the EVC or EVK, and derivative and ancillary products related thereto (collectively known as the "Products"),of the potential risks associated with using the Twyne Protocol (defined as including any product, service or application built using or incorporating any aspects of the protocol, including using any code, software, application or function published by or enabled by the Twyne, irrespective of the party or person who has deployed, designed, permitted access to, or in any way utilised

@engn33r
engn33r / tos.md
Last active January 17, 2025 09:28
Twyne Terms of Use

Twyne Products and Protocol Terms of Use

Updated and effective: 17 January 2025

1. Introduction and Agreement

1.1 Welcome and Overview

Welcome! These Terms of Use ("Terms") govern your access to and use of the products, services and related information and materials (collectively, the "Products") offered by The Twyne Protocol ("Company," "we," "us," or "our"), which includes twyne.xyz, app.twyne.xyz and the interface and related services that facilitate interaction with the Twyne Protocol (the "Protocol"). You understand and acknowledge that the Protocol is not a Product and we do not control the Protocol. See Section 4 below titled "Products vs. Protocol" for an overview.

@engn33r
engn33r / vulncreate2detector.sh
Last active December 26, 2023 22:44
Detect contracts vulnerable to CREATE2 manipulation
#!/bin/bash
# This script is a hacked together PoC, don't trust it to work well
# For proper detection of vulnerable contracts, recursive testing must be performed because CREATE2 in a contract's ancestry could be problematic: https://medium.com/@jason.carver/defend-against-wild-magic-in-the-next-ethereum-upgrade-b008247839d2#3f90
# Improved tool and full research coming from yAcademy next month: https://twitter.com/yAcademyDAO
contract_addr="0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852" # default value is a uniswap V2 pair from https://v2.info.uniswap.org/pairs
etherscan_api_key=""
if [[ -z "$etherscan_api_key" ]]; then