@gearbox-protocol/periphery-v3 1.5.2 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ import {IDegenDistributorV3} from "../interfaces/IDegenDistributorV3.sol";
13
13
  bytes32 constant AP_DEGEN_NFT = "DEGEN_NFT";
14
14
 
15
15
  contract DegenDistributorV3 is IDegenDistributorV3 {
16
- uint256 version = 3_00;
16
+ uint256 public constant version = 3_00;
17
17
 
18
18
  /// @dev Emits each time when call not by treasury
19
19
  error TreasuryOnlyException();
@@ -0,0 +1,17 @@
1
+ // SPDX-License-Identifier: BUSL-1.1
2
+ // Gearbox Protocol. Generalized leverage for DeFi protocols
3
+ // (c) Gearbox Foundation, 2024.
4
+ pragma solidity ^0.8.17;
5
+
6
+ /// @title ERC20Metadata
7
+ contract ERC20Metadata {
8
+ string public name;
9
+ string public symbol;
10
+ uint8 public immutable decimals;
11
+
12
+ constructor(string memory name_, string memory symbol_, uint8 decimals_) {
13
+ name = name_;
14
+ symbol = symbol_;
15
+ decimals = decimals_;
16
+ }
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/periphery-v3",
3
- "version": "1.5.2",
3
+ "version": "1.6.0",
4
4
  "main": "index.js",
5
5
  "repository": "git@github.com:Gearbox-protocol/periphery-v3.git",
6
6
  "author": "Mikael <26343374+0xmikko@users.noreply.github.com>",