Stefan  Harris

Stefan Harris

1617110663

The Uniswap V3 Revolution | Ethereum & DeFi News

The Uniswap V3 Revolution | Ethereum & DeFi News

#ethereum #defi

What is GEEK

Buddha Community

The Uniswap V3 Revolution | Ethereum & DeFi News
Stefan  Harris

Stefan Harris

1617110663

The Uniswap V3 Revolution | Ethereum & DeFi News

The Uniswap V3 Revolution | Ethereum & DeFi News

#ethereum #defi

Best of Crypto

Best of Crypto

1657186860

Uniswap Info V3 | Interface for Uniswap V3 Analytics

Uniswap Info V3

An open sourced interface for Uniswap V3 analytics.

Info URL: https://info.uniswap.org/#/

Development

Install Dependencies

yarn

Run

yarn start

Contributions

Please open all pull requests against the master branch. CI checks will run against all PRs.

Download Details:
Author: Uniswap
Source Code: https://github.com/Uniswap/v3-info
License: GPL-3.0 license

#uniswap #blockchain #ethereum #defi #typescript

Best of Crypto

Best of Crypto

1657208940

Uniswap V3 Periphery | Peripheral Smart Contracts for Uniswap V3

Uniswap V3 Periphery

This repository contains the periphery smart contracts for the Uniswap V3 Protocol. For the lower level core contracts, see the uniswap-v3-core repository.

Bug bounty

This repository is subject to the Uniswap V3 bug bounty program, per the terms defined here.

Local deployment

In order to deploy this code to a local testnet, you should install the npm package @uniswap/v3-periphery and import bytecode imported from artifacts located at @uniswap/v3-periphery/artifacts/contracts/*/*.json. For example:

import {
  abi as SWAP_ROUTER_ABI,
  bytecode as SWAP_ROUTER_BYTECODE,
} from '@uniswap/v3-periphery/artifacts/contracts/SwapRouter.sol/SwapRouter.json'

// deploy the bytecode

This will ensure that you are testing against the same bytecode that is deployed to mainnet and public testnets, and all Uniswap code will correctly interoperate with your local deployment.

Using solidity interfaces

The Uniswap v3 periphery interfaces are available for import into solidity smart contracts via the npm artifact @uniswap/v3-periphery, e.g.:

import '@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol';

contract MyContract {
  ISwapRouter router;

  function doSomethingWithSwapRouter() {
    // router.exactInput(...);
  }
}

Download Details:
Author: Uniswap
Source Code: https://github.com/Uniswap/v3-periphery
License: GPL-2.0 license

#uniswap #blockchain #ethereum #defi #smartcontract #typescript #solidity

Best of Crypto

Best of Crypto

1657223700

Uniswap V3 Core | Core Smart Contracts Of Uniswap V3

Uniswap V3

This repository contains the core smart contracts for the Uniswap V3 Protocol. For higher level contracts, see the uniswap-v3-periphery repository.

Bug bounty

This repository is subject to the Uniswap V3 bug bounty program, per the terms defined here.

Local deployment

In order to deploy this code to a local testnet, you should install the npm package @uniswap/v3-core and import the factory bytecode located at @uniswap/v3-core/artifacts/contracts/UniswapV3Factory.sol/UniswapV3Factory.json. For example:

import {
  abi as FACTORY_ABI,
  bytecode as FACTORY_BYTECODE,
} from '@uniswap/v3-core/artifacts/contracts/UniswapV3Factory.sol/UniswapV3Factory.json'

// deploy the bytecode

This will ensure that you are testing against the same bytecode that is deployed to mainnet and public testnets, and all Uniswap code will correctly interoperate with your local deployment.

Using solidity interfaces

The Uniswap v3 interfaces are available for import into solidity smart contracts via the npm artifact @uniswap/v3-core, e.g.:

import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';

contract MyContract {
  IUniswapV3Pool pool;

  function doSomethingWithPool() {
    // pool.swap(...);
  }
}

Download Details:
Author: Uniswap
Source Code: https://github.com/Uniswap/v3-core
License: View license

#uniswap #blockchain #ethereum #defi #smartcontract #typescript #solidity

Best of Crypto

Best of Crypto

1657279200

Uniswap V3 Staker | Canonical Liquidity Mining Contract for Uniswap V3

uniswap-v3-staker

This is the canonical staking contract designed for Uniswap V3.

Deployments

Note that the v1.0.0 release is susceptible to a high-difficulty, never-exploited vulnerability. For this reason, please use the v1.0.2 release, deployed and verified on Etherscan on all networks at the address: 0xe34139463bA50bD61336E0c446Bd8C0867c6fE65:

NetworkExplorer
Mainnethttps://etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65
Rinkebyhttps://rinkeby.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65
Kovanhttps://kovan.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65
Ropstenhttps://ropsten.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65
Goerlihttps://goerli.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65
Arbitrum Rinkebyhttps://testnet.arbiscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65
Arbitrum Onehttps://arbiscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65
Optimismhttps://optimistic.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65
Optimism Kovanhttps://kovan-optimistic.etherscan.io/address/0xe34139463bA50bD61336E0c446Bd8C0867c6fE65

⚠️DEPRECATED⚠️: For historical verification purposes only, the staker at tag v1.0.0 was deployed at the address: 0x1f98407aaB862CdDeF78Ed252D6f557aA5b0f00d

Links:

Development and Testing

$ yarn
$ yarn test

Gas Snapshots

# if gas snapshots need to be updated
$ UPDATE_SNAPSHOT=1 yarn test

Contract Sizing

$ yarn size-contracts

Download Details:
Author: Uniswap
Source Code: https://github.com/Uniswap/v3-staker
License: GPL-3.0 license

#uniswap #blockchain #ethereum #defi #smartcontract #typescript #solidity