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
// ILista.java | |
package interfaces; | |
public interface ILista<T> { | |
void insertarPrimero(INodo<T> nodo); | |
void insertarUltimo(INodo<T> nodo); | |
void insertarPosicion(INodo<T> nodo, int pos); | |
INodo<T> eliminarPrimero(); | |
INodo<T> eliminarUltimo(); |
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
{ | |
token0: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', | |
token1: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', | |
fee: 500, | |
tickLower: 204854, | |
tickUpper: 205054, | |
amount0Desired: '10000', | |
amount1Desired: '7950866837399', | |
amount0Min: 0, | |
amount1Min: 0, |
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
import { ethers } from 'ethers' | |
import * as dotenv from "dotenv"; | |
dotenv.config(); | |
// configuramos el provider de alchemy para conectarnos a la red de ethereum | |
const apikey = process.env.ALCHEMY_API_KEY || ""; | |
const provider = new ethers.providers.AlchemyProvider('homestead', apikey); | |
const poolAddress = '0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8' |
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
import { ethers } from 'ethers' | |
import { Pool } from '@uniswap/v3-sdk' | |
import { Token } from '@uniswap/sdk-core' | |
import { abi as IUniswapV3PoolABI } from '@uniswap/v3-core/artifacts/contracts/interfaces/IUniswapV3Pool.sol/IUniswapV3Pool.json' | |
const provider = new ethers.providers.AlchemyProvider('homestead', "apikey"); | |
const poolAddress = '0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8'; | |
const poolContract = new ethers.Contract(poolAddress, IUniswapV3PoolABI, provider); | |
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
global: | |
checkNewVersion: true | |
sendAnonymousUsage: false | |
log: | |
level: ERROR # DEBUG, INFO, WARNING, ERROR, CRITICAL | |
format: common # common, json, logfmt | |
filePath: /var/log/traefik/traefik.log | |
api: |
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
{ | |
"default_data": { | |
"host_id": 1, | |
"color_id": 4, | |
"chasis": "AJ37D3DDJ3D2SDDDS", | |
"marca": "Ford", | |
"modelo": "Fiesta", | |
"ano": 2013, | |
"motor": "1.6", | |
"combustible": "Diesel", |