biblioteca
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31881
16
105