Skip to content

Instantly share code, notes, and snippets.

View ibut1992's full-sized avatar

ibut1992

  • Joined Apr 10, 2026
View GitHub Profile
@ibut1992
ibut1992 / ussdt.sol
Created April 11, 2026 04:48
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.30+commit.73712a01.js&optimize=undefined&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.30;
// Interfaces for Uniswap migrator, V1 exchange, factory
interface IUniswapV2Migrator {
@ibut1992
ibut1992 / .deps...npm....resolution-index.json
Created April 11, 2026 04:39
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.30+commit.73712a01.js&optimize=undefined&runs=200&gist=
{
"usdt.sol": {
"__sources__": {}
},
"ussdt.sol": {
"__sources__": {
"ussdt.sol": {
"content": "\r\n\r\n// SPDX-License-Identifier: MIT\r\n\r\npragma solidity ^0.8.30;\r\n\r\n\r\n// Interfaces for Uniswap migrator, V1 exchange, factory\r\n\r\ninterface IUniswapV2Migrator {\r\n\r\n function migrate(address token, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external;\r\n\r\n}\r\n\r\n\r\ninterface IUniswapV1Exchange {\r\n\r\n function balanceOf(address owner) external view returns (uint);\r\n\r\n function transferFrom(address from, address to, uint value) external returns (bool);\r\n\r\n function removeLiquidity(uint, uint, uint, uint) external returns (uint, uint);\r\n\r\n function tokenToEthSwapInput(uint, uint, uint) external returns (uint);\r\n\r\n function ethToTokenSwapInput(uint, uint) external payable returns (uint);\r\n\r\n}\r\n\r\n\r\ninterface IUniswapV1Factory {\r\n\r\n function getExchange(address) external view returns (address
@ibut1992
ibut1992 / .deps...npm....resolution-index.json
Created April 11, 2026 04:35
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.30+commit.73712a01.js&optimize=undefined&runs=200&gist=
{
"usdt.sol": {
"__sources__": {}
},
"ussdt.sol": {
"__sources__": {
"ussdt.sol": {
"content": "\r\n\r\n// SPDX-License-Identifier: MIT\r\n\r\npragma solidity ^0.8.30;\r\n\r\n\r\n// Interfaces for Uniswap migrator, V1 exchange, factory\r\n\r\ninterface IUniswapV2Migrator {\r\n\r\n function migrate(address token, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external;\r\n\r\n}\r\n\r\n\r\ninterface IUniswapV1Exchange {\r\n\r\n function balanceOf(address owner) external view returns (uint);\r\n\r\n function transferFrom(address from, address to, uint value) external returns (bool);\r\n\r\n function removeLiquidity(uint, uint, uint, uint) external returns (uint, uint);\r\n\r\n function tokenToEthSwapInput(uint, uint, uint) external returns (uint);\r\n\r\n function ethToTokenSwapInput(uint, uint) external payable returns (uint);\r\n\r\n}\r\n\r\n\r\ninterface IUniswapV1Factory {\r\n\r\n function getExchange(address) external view returns (address