@totems/evm 1.0.0 → 1.0.1

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.
@@ -1,7 +1,7 @@
1
1
  // SPDX-License-Identifier: AGPL-3.0-only
2
2
  pragma solidity ^0.8.28;
3
3
 
4
- import "../library/ITotemTypes.sol";
4
+ import "../interfaces/ITotemTypes.sol";
5
5
 
6
6
  library Errors {
7
7
  error Unauthorized();
@@ -1,11 +1,11 @@
1
1
  // SPDX-License-Identifier: AGPL-3.0-only
2
2
  pragma solidity ^0.8.28;
3
3
 
4
- import "../shared/ReentrancyGuard.sol";
5
- import "../library/ITotemTypes.sol";
6
- import "../shared/Shared.sol";
7
- import "../totems/Errors.sol";
8
- import {IMod} from "../interfaces/TotemMod.sol";
4
+ import "./ReentrancyGuard.sol";
5
+ import "../interfaces/ITotemTypes.sol";
6
+ import "./Shared.sol";
7
+ import "./Errors.sol";
8
+ import {IMod} from "../mods/TotemMod.sol";
9
9
 
10
10
  /**
11
11
  * @title ModMarket
@@ -1,7 +1,7 @@
1
1
  // SPDX-License-Identifier: AGPL-3.0-only
2
2
  pragma solidity ^0.8.28;
3
3
 
4
- import "../library/ITotemTypes.sol";
4
+ import "../interfaces/ITotemTypes.sol";
5
5
 
6
6
  /**
7
7
  * @title Shared
@@ -2,12 +2,12 @@
2
2
  pragma solidity ^0.8.28;
3
3
 
4
4
  import "../interfaces/IMarket.sol";
5
- import "../interfaces/TotemMod.sol";
5
+ import "../mods/TotemMod.sol";
6
6
  import "../interfaces/IRelayFactory.sol";
7
- import "../library/ITotemTypes.sol";
8
- import "../library/TotemsLibrary.sol";
9
- import "../shared/Shared.sol";
10
- import "../shared/ReentrancyGuard.sol";
7
+ import "../interfaces/ITotemTypes.sol";
8
+ import "../mods/TotemsLibrary.sol";
9
+ import "./Shared.sol";
10
+ import "./ReentrancyGuard.sol";
11
11
  import "./Errors.sol";
12
12
 
13
13
  /**
@@ -3,7 +3,7 @@
3
3
  // Generated from ModMarket
4
4
  pragma solidity ^0.8.28;
5
5
 
6
- import "../library/ITotemTypes.sol";
6
+ import "./ITotemTypes.sol";
7
7
 
8
8
  interface IMarket {
9
9
  // ==================== FUNCTIONS ====================
@@ -3,7 +3,7 @@
3
3
  // Generated from Totems
4
4
  pragma solidity ^0.8.28;
5
5
 
6
- import "../library/ITotemTypes.sol";
6
+ import "./ITotemTypes.sol";
7
7
 
8
8
  interface ITotems {
9
9
  // ==================== FUNCTIONS ====================
package/mods/TotemMod.sol CHANGED
@@ -1,8 +1,8 @@
1
1
  // SPDX-License-Identifier: MIT
2
2
  pragma solidity ^0.8.28;
3
3
 
4
- import "../library/ITotemTypes.sol";
5
- import {TotemsLibrary} from "../library/TotemsLibrary.sol";
4
+ import "../interfaces/ITotemTypes.sol";
5
+ import {TotemsLibrary} from "./TotemsLibrary.sol";
6
6
 
7
7
  interface ITotemsProxyModGetter {
8
8
  function getProxyMod() external view returns (address);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@totems/evm",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Totems EVM smart contracts for building modular token systems",
5
5
  "author": "nsjames",
6
6
  "license": "MIT & AGPL-3.0",