Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

biblioteca

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

biblioteca - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

contracts/ERC20/UniswapV3FeeToken.sol

14

package.json
{
"name": "biblioteca",
"version": "0.0.5",
"version": "0.0.6",
"keywords": [
"solidity",
"ethereum",
"smart",
"contracts",
"security",
"filosofia",
"codigo",
"filosofía",
"código",
"biblioteca"
],
"devDependencies": {

@@ -5,0 +17,0 @@ "@ethersproject/abi": "^5.7.0",

@@ -61,3 +61,3 @@ # Biblioteca

```
```solidity
// SPDX-License-Identifier: MIT

@@ -83,2 +83,25 @@ pragma solidity 0.8.17;

}
```
### Uniswap V3 Fee Token
```solidity
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
import "biblioteca/contracts/ERC20/UniswapV3FeeToken.sol";
contract MyUniswapV3FeeToken is UniswapV3FeeToken
{
constructor() UniswapV3FeeToken(
"My Token", "MTKN", // Name and Symbol
1_000_000_000 ether, // 1 billion supply
msg.sender, // Vault Address
100, 200, // Fees: 1% buy 2% P2P
0xC36442b4a4522E871399CD717aBDD847Ab11FE88, // Uniswap V3 NonfungiblePositionManager Address
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, // Base token: WETH
1000) // Initial rate: 1 Base Tokens = 1000 tokens
{
}
}
```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc