@etherisc/gif-next 0.0.2-be8b468-276 → 0.0.2-c15bb6f-257

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  2. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  3. package/artifacts/contracts/components/Distribution.sol/Distribution.json +4 -4
  4. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  5. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  9. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  10. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  11. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  12. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  13. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  14. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  16. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  30. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +1 -1
  31. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +1 -1
  32. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +1 -1
  33. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  34. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  36. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  38. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  39. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +50 -10
  40. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  41. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +26 -6
  42. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  55. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  56. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  57. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +18 -23
  58. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +10 -10
  60. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  61. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  62. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  64. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  65. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  66. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  67. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  68. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  69. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  70. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  72. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  73. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  74. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  75. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  76. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  77. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  78. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  79. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  80. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  81. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +1 -1
  82. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  83. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  84. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  85. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  86. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  87. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  88. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  89. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  90. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  91. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  92. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  93. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  94. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  95. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  96. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  97. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  98. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  99. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  100. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  101. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  102. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  103. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  104. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  105. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  106. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  107. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  108. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  109. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  110. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  111. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  112. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  113. package/contracts/components/Distribution.sol +1 -1
  114. package/contracts/instance/InstanceService.sol +18 -19
  115. package/contracts/instance/service/DistributionService.sol +3 -3
  116. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/e699570ad48a26ed8744892e7f745983.json"
4
4
  }
@@ -127,7 +127,7 @@ contract Distribution is
127
127
  TokenHandler(address(_token)),
128
128
  _initialDistributionFee,
129
129
  _isVerifying,
130
- address(0) // TODO: use correct wallet
130
+ address(this)
131
131
  );
132
132
  }
133
133
 
@@ -16,7 +16,7 @@ import {IService} from "../shared/IService.sol";
16
16
  import {ContractDeployerLib} from "../shared/ContractDeployerLib.sol";
17
17
  import {NftId, NftIdLib, zeroNftId} from "../../contracts/types/NftId.sol";
18
18
  import {VersionLib} from "../types/Version.sol";
19
- import {ADMIN_ROLE, INSTANCE_SERVICE_ROLE} from "../types/RoleId.sol";
19
+ import {ADMIN_ROLE, INSTANCE_SERVICE_ROLE, DISTRIBUTION_SERVICE_ROLE} from "../types/RoleId.sol";
20
20
 
21
21
  contract InstanceService is Service, IInstanceService {
22
22
 
@@ -44,8 +44,10 @@ contract InstanceService is Service, IInstanceService {
44
44
  address registryServiceAddress = registry.getServiceAddress("RegistryService", VersionLib.toVersion(3, 0, 0).toMajorPart());
45
45
  RegistryService registryService = RegistryService(registryServiceAddress);
46
46
 
47
+ // initially set the authority of the access managar to this (being the instance service).
48
+ // This will allow the instance service to bootstrap the authorizations of the instance
49
+ // and then transfer the ownership of the access manager to the instance owner once everything is setup
47
50
  clonedAccessManager = AccessManagerSimple(Clones.clone(_accessManagerMaster));
48
- // initial as this
49
51
  clonedAccessManager.initialize(address(this));
50
52
 
51
53
  clonedInstance = Instance(Clones.clone(_instanceMaster));
@@ -56,28 +58,29 @@ contract InstanceService is Service, IInstanceService {
56
58
  clonedInstanceReader = InstanceReader(Clones.clone(address(_instanceReaderMaster)));
57
59
  clonedInstanceReader.initialize(_registryAddress, instanceNftId);
58
60
 
59
- _grantAuthorizations(clonedAccessManager, clonedInstance);
61
+ _grantInitialAuthorizations(clonedAccessManager, clonedInstance);
60
62
 
61
63
  clonedInstance.setInstanceReader(clonedInstanceReader);
62
64
 
63
- // switch instance ownership to instance owner
65
+ // to complete setup switch instance ownership to the instance owner
66
+ // TODO: use a role less powerful than admin, maybe INSTANCE_ADMIN (does not exist yet)
64
67
  clonedAccessManager.grantRole(ADMIN_ROLE().toInt(), instanceOwner, 0);
65
68
  clonedAccessManager.revokeRole(ADMIN_ROLE().toInt(), address(this));
66
69
 
67
70
  emit LogInstanceCloned(address(clonedAccessManager), address(clonedInstance), address(clonedInstanceReader), instanceNftId);
68
71
  }
69
72
 
70
- function _grantAuthorizations(AccessManagerSimple clonedAccessManager, Instance clonedInstance) internal {
71
- // grant initial permissions (if any)
72
-
73
- // example
74
- // clonedAccessManager.grantRole(INSTANCE_SERVICE_ROLE().toInt(), address(this), 0);
75
- // bytes4[] memory instanceSetInstanceReaderSelectors = new bytes4[](1);
76
- // instanceSetInstanceReaderSelectors[0] = clonedInstance.setInstanceReader.selector;
77
- // clonedAccessManager.setTargetFunctionRole(
78
- // address(clonedInstance),
79
- // instanceSetInstanceReaderSelectors,
80
- // INSTANCE_SERVICE_ROLE().toInt());
73
+ function _grantInitialAuthorizations(AccessManagerSimple clonedAccessManager, Instance clonedInstance) internal {
74
+ address distributionServiceAddress = _registry.getServiceAddress("DistributionService", VersionLib.toVersion(3, 0, 0).toMajorPart());
75
+
76
+ clonedAccessManager.grantRole(DISTRIBUTION_SERVICE_ROLE().toInt(), distributionServiceAddress, 0);
77
+ bytes4[] memory instanceDistributionServiceSelectors = new bytes4[](2);
78
+ instanceDistributionServiceSelectors[0] = clonedInstance.createDistributionSetup.selector;
79
+ instanceDistributionServiceSelectors[1] = clonedInstance.updateDistributionSetup.selector;
80
+ clonedAccessManager.setTargetFunctionRole(
81
+ address(clonedInstance),
82
+ instanceDistributionServiceSelectors,
83
+ DISTRIBUTION_SERVICE_ROLE().toInt());
81
84
  }
82
85
 
83
86
  function setAccessManagerMaster(address accessManagerMaster) external {
@@ -145,10 +148,6 @@ contract InstanceService is Service, IInstanceService {
145
148
  address initialOwner = address(0);
146
149
  (_registryAddress, initialOwner) = abi.decode(data, (address, address));
147
150
 
148
- // // TODO register instance in registry
149
- IRegistry registry = IRegistry(_registryAddress);
150
- NftId registryNftId = registry.getNftId(_registryAddress);
151
-
152
151
  _initializeService(_registryAddress, initialOwner);
153
152
 
154
153
  _registerInterface(type(IService).interfaceId);
@@ -59,12 +59,12 @@ contract DistributionService is
59
59
  return NAME;
60
60
  }
61
61
 
62
- function register(address distributionComponentAddress, address componentOwner)
62
+ function register(address distributionComponentAddress)
63
63
  external
64
- // TODO restricted
65
64
  returns (NftId distributionNftId)
66
65
  {
67
- // TODO validate permission of componentOwner
66
+ address componentOwner = msg.sender;
67
+ // TODO validate permission of componentOwner. check if componentOwner has correct permission on instance via InstanceService - DISTRIBUTION_OWNER
68
68
  Distribution distribution = Distribution(distributionComponentAddress);
69
69
  IRegistryService registryService = getRegistryService();
70
70
  (IRegistry.ObjectInfo memory distributionObjInfo, ) = registryService.registerDistribution(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etherisc/gif-next",
3
- "version": "0.0.2-be8b468-276",
3
+ "version": "0.0.2-c15bb6f-257",
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": {