@etherisc/gif-next 0.0.2-0b2f4ae → 0.0.2-2013ab6

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.
Files changed (57) hide show
  1. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  2. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +1 -1
  3. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +1 -1
  4. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
  5. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  6. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  7. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  8. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  9. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  10. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  11. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  12. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  13. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  14. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  16. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  19. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  20. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  21. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
  22. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
  23. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
  24. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
  25. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  26. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  27. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
  28. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
  29. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
  30. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  31. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
  32. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
  33. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  34. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  35. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  36. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  37. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  38. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  39. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
  40. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
  42. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
  43. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  44. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  45. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +1 -1
  46. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
  47. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  48. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
  49. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
  50. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  51. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
  52. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  53. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  54. package/package.json +1 -1
  55. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  56. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -10
  57. package/contracts/types/Timestamp.sol +0 -55
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
3
+ "buildInfo": "../../../build-info/3e916db2bcd09918b64d4a7861dc5159.json"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etherisc/gif-next",
3
- "version": "0.0.2-0b2f4ae",
3
+ "version": "0.0.2-2013ab6",
4
4
  "description": "This is the repository for the next version of the Generic Insurance Framework (GIF) smart contracts. ",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/2d1ea90c6dad4fecab23a693e200cedd.json"
4
- }
@@ -1,10 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "TimestampLib",
4
- "sourceName": "contracts/types/Timestamp.sol",
5
- "abi": [],
6
- "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122096ad50d3b3ac7bf536d5949f277ae110adb5cc8a16e16bfd7ff790528cc2fd9164736f6c63430008140033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122096ad50d3b3ac7bf536d5949f277ae110adb5cc8a16e16bfd7ff790528cc2fd9164736f6c63430008140033",
8
- "linkReferences": {},
9
- "deployedLinkReferences": {}
10
- }
@@ -1,55 +0,0 @@
1
- // SPDX-License-Identifier: Apache-2.0
2
- pragma solidity ^0.8.19;
3
-
4
- type Timestamp is uint40;
5
-
6
- using {
7
- gtTimestamp as >,
8
- gteTimestamp as >=,
9
- ltTimestamp as <,
10
- lteTimestamp as <=,
11
- eqTimestamp as ==,
12
- neTimestamp as !=
13
- } for Timestamp global;
14
-
15
- /// @dev return true if Timestamp a is after Timestamp b
16
- function gtTimestamp(Timestamp a, Timestamp b) pure returns(bool) { return Timestamp.unwrap(a) > Timestamp.unwrap(b); }
17
- /// @dev return true if Timestamp a is after or equal to Timestamp b
18
- function gteTimestamp(Timestamp a, Timestamp b) pure returns(bool) { return Timestamp.unwrap(a) >= Timestamp.unwrap(b); }
19
-
20
- /// @dev return true if Timestamp a is before Timestamp b
21
- function ltTimestamp(Timestamp a, Timestamp b) pure returns(bool) { return Timestamp.unwrap(a) < Timestamp.unwrap(b); }
22
- /// @dev return true if Timestamp a is before or equal to Timestamp b
23
- function lteTimestamp(Timestamp a, Timestamp b) pure returns(bool) { return Timestamp.unwrap(a) <= Timestamp.unwrap(b); }
24
-
25
- /// @dev return true if Timestamp a is equal to Timestamp b
26
- function eqTimestamp(Timestamp a, Timestamp b) pure returns(bool) { return Timestamp.unwrap(a) == Timestamp.unwrap(b); }
27
- /// @dev return true if Timestamp a is not equal to Timestamp b
28
- function neTimestamp(Timestamp a, Timestamp b) pure returns(bool) { return Timestamp.unwrap(a) != Timestamp.unwrap(b); }
29
-
30
- /// @dev Converts the uint256 to a Timestamp.
31
- function toTimestamp(uint256 timestamp) pure returns(Timestamp) { return Timestamp.wrap(uint40(timestamp));}
32
-
33
- function blockTimestamp() view returns(Timestamp) { return toTimestamp(block.timestamp); }
34
-
35
- /// @dev Return the Timestamp zero (0)
36
- function zeroTimestamp() pure returns(Timestamp) { return toTimestamp(0); }
37
-
38
- library TimestampLib {
39
- /// @dev return true if Timestamp a is after Timestamp b
40
- function gt(Timestamp a, Timestamp b) internal pure returns(bool isAfter) { return gtTimestamp(a, b); }
41
- /// @dev return true if Timestamp a is after or the same than Timestamp b
42
- function gte(Timestamp a, Timestamp b) internal pure returns(bool isAfterOrSame) { return gteTimestamp(a, b); }
43
-
44
- /// @dev return true if Timestamp a is before Timestamp b
45
- function lt(Timestamp a, Timestamp b) internal pure returns(bool isBefore) { return ltTimestamp(a, b); }
46
- /// @dev return true if Timestamp a is before or the same than Timestamp b
47
- function lte(Timestamp a, Timestamp b) internal pure returns(bool isBeforeOrSame) { return lteTimestamp(a, b); }
48
-
49
- /// @dev return true if Timestamp a is equal to Timestamp b
50
- function eq(Timestamp a, Timestamp b) internal pure returns(bool isSame) { return eqTimestamp(a, b); }
51
- /// @dev return true if Timestamp a is not equal to Timestamp b
52
- function ne(Timestamp a, Timestamp b) internal pure returns(bool isDifferent) { return neTimestamp(a, b); }
53
-
54
- function toInt(Timestamp timestamp) internal pure returns(uint256) { return uint256(uint40(Timestamp.unwrap(timestamp))); }
55
- }