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: UNLICENSED | |
pragma solidity ^0.8.9; | |
// Uncomment this line to use console.log | |
// import "hardhat/console.sol"; | |
import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
contract Xxxxxxxxx is ERC721, 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
const ethers = require('ethers'); | |
const routerArtifact = require('@uniswap/v2-periphery/build/UniswapV2Router02.json') | |
const erc20Abi = require("../erc20.json") | |
const wethArtifact = require("../weth.json") | |
WETH_ADDRESS= '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' | |
USDT_ADDRESS= '0xdAC17F958D2ee523a2206206994597C13D831ec7' | |
ROUTER_ADDRESS= '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' | |
PAIR_ADDRESS= '0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852' |
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: GPL-3.0 | |
pragma solidity ^0.8; | |
contract FuncionesGlobales { | |
// funcion msg.sender | |
function MsgSender() public view returns(address){ | |
return msg.sender; | |
} |
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
window.onload = function () { | |
var N = navigator.appName, | |
ua = navigator.userAgent, | |
tem; | |
var M = ua.match( | |
/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i | |
); | |
if (M && (tem = ua.match(/version\/([\.\d]+)/i)) != null) M[2] = tem[1]; | |
M = M ? [M[1], M[2]] : [N, navigator.appVersion, "-?"]; | |
var browserName = M[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
[ | |
{ | |
"titulo": "Algoritmo", | |
"descripcion": | |
"Conjunto ordenado y finito de operaciones que permite hallar la soluci贸n de un problema.", | |
}, | |
{ | |
"titulo": "Algoritmo", | |
"descripcion": | |
"Conjunto ordenado y finito de operaciones que permite hallar la soluci贸n de un problema.", |
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 | |
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) | |
pragma solidity ^0.8.0; | |
import "./IERC721.sol"; | |
import "./IERC721Receiver.sol"; | |
import "./extensions/IERC721Metadata.sol"; | |
import "../../utils/Address.sol"; | |
import "../../utils/Context.sol"; |
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 Head from 'next/head' | |
import Image from 'next/image' | |
import styles from '@/styles/Home.module.css' | |
import { Contract, providers, utils } from 'ethers' | |
import React, { useEffect, useRef, useState } from 'react' | |
import web3Modal from 'web3Modal' | |
import {ABI, NFT_CONTRANCT_ADDRESS} from '../constanst' | |
export default function Home() { |
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
[{ | |
"_id" : 10990239, | |
"name" : "DAM Media: 10990239 8/14/10: A-Rod belts three home runs against Angels", | |
"itemType" : "video", | |
"prueba": "prueba", | |
"state" : "A", | |
"userDate" : "2010-08-15T00:00:00-0400", | |
"appAccountIds" : [ 14,179 ], | |
"fields" : { |
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
Organization name: [email protected] | |
Serial Key: eNrzzU/OLi0odswsqslJTa3IzHJIz03MzNFLzs+tMTQyNrcwsTQyAIEa5xpDAIFxDy8k |
NewerOlder