@etherisc/gif-next 0.0.2-f2df3e2-873 → 0.0.2-f347f00-614

Sign up to get free protection for your applications and to get access to all the features.
Files changed (571) hide show
  1. package/README.md +2 -1
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +238 -167
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1378 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +117 -111
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +49 -312
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +36 -105
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +225 -2171
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +177 -41
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +378 -2689
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +228 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +643 -345
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +262 -182
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +122 -105
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3598 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  36. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  38. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +187 -0
  40. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  42. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  47. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  48. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  49. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  50. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → oracle/IOracle.sol/IOracle.json} +2 -2
  51. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  52. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -0
  53. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  54. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  55. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  56. package/artifacts/contracts/{components/Product.sol/Product.json → oracle/Oracle.sol/Oracle.json} +255 -276
  57. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  58. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  59. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  60. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  61. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
  63. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  64. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
  65. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  66. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +65 -48
  67. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  68. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +193 -103
  69. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  70. package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +290 -56
  71. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  72. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +298 -109
  73. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  74. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
  75. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
  77. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  79. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  81. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  82. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
  83. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  84. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  85. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  86. package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → product/IApplicationService.sol/IApplicationService.json} +96 -186
  87. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IClaimService.sol/IClaimService.json} +93 -258
  89. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +720 -0
  91. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  92. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +63 -141
  93. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  94. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +283 -118
  95. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  96. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +11 -61
  97. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  98. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
  99. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
  101. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  102. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
  103. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  104. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  105. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  106. package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
  107. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  108. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  109. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  110. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  112. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +179 -29
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +310 -53
  117. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  118. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +124 -0
  119. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  120. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/Registry.sol/Registry.json +415 -43
  122. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1896 -0
  124. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  125. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +367 -73
  126. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -54
  128. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  129. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +762 -103
  130. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +166 -0
  132. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  133. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +182 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  135. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  136. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  137. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +1554 -0
  138. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  139. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  140. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  141. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1747 -0
  142. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1760 -0
  144. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1838 -0
  146. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1856 -0
  148. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  149. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +139 -85
  150. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  151. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1511 -0
  152. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +796 -0
  154. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  155. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +27 -95
  156. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  157. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  158. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.json +1184 -0
  160. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  162. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  164. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  165. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +110 -84
  166. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  167. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
  168. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  169. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  170. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  171. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
  172. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  174. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  175. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  176. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  177. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
  178. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  180. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  181. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  182. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  183. package/artifacts/contracts/shared/IService.sol/IService.json +17 -6
  184. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  185. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  186. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  187. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  188. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
  189. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  190. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  191. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  192. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  193. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  194. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  195. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  196. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -22
  197. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  198. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
  199. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  200. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +70 -35
  201. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  202. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +23 -22
  203. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  204. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  205. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  206. package/artifacts/contracts/shared/Service.sol/Service.json +17 -6
  207. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  208. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  209. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  210. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  211. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  212. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  213. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  214. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  215. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  216. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  217. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  218. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  219. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  220. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  221. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  222. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  223. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  224. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  225. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  226. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  227. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  228. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  229. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2261 -0
  230. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  231. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  232. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  233. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  234. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  235. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  236. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  237. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  238. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  239. package/artifacts/contracts/{types → type}/ClaimId.sol/ClaimIdLib.json +5 -5
  240. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  242. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  243. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  244. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  245. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  246. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  247. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  248. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  249. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  250. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +186 -0
  252. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  253. package/artifacts/contracts/{types → type}/PayoutId.sol/PayoutIdLib.json +5 -5
  254. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  256. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  258. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  259. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  260. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +266 -0
  262. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  264. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  266. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  268. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  269. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  270. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  272. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  273. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +20 -7
  274. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  275. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  276. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  277. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  278. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  279. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  280. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  281. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  282. package/contracts/{components → distribution}/Distribution.sol +41 -64
  283. package/contracts/distribution/DistributionService.sol +297 -0
  284. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  285. package/contracts/{components → distribution}/IDistributionComponent.sol +11 -16
  286. package/contracts/{instance/service → distribution}/IDistributionService.sol +19 -37
  287. package/contracts/instance/BundleManager.sol +5 -5
  288. package/contracts/instance/IInstance.sol +51 -66
  289. package/contracts/instance/IInstanceService.sol +51 -22
  290. package/contracts/instance/Instance.sol +137 -184
  291. package/contracts/instance/InstanceAdmin.sol +331 -0
  292. package/contracts/instance/InstanceAuthorizationsLib.sol +377 -0
  293. package/contracts/instance/InstanceReader.sol +130 -55
  294. package/contracts/instance/InstanceService.sol +258 -297
  295. package/contracts/instance/InstanceServiceManager.sol +11 -21
  296. package/contracts/instance/InstanceStore.sol +269 -0
  297. package/contracts/instance/base/BalanceStore.sol +123 -0
  298. package/contracts/instance/base/Cloneable.sol +28 -0
  299. package/contracts/instance/base/ObjectCounter.sol +21 -0
  300. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +7 -9
  301. package/contracts/instance/module/IAccess.sol +4 -12
  302. package/contracts/instance/module/IBundle.sol +6 -9
  303. package/contracts/instance/module/IComponents.sol +21 -10
  304. package/contracts/instance/module/IDistribution.sol +7 -6
  305. package/contracts/instance/module/IPolicy.sol +22 -15
  306. package/contracts/instance/module/IRisk.sol +1 -1
  307. package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
  308. package/contracts/oracle/IOracle.sol +20 -0
  309. package/contracts/oracle/IOracleComponent.sol +32 -0
  310. package/contracts/oracle/IOracleService.sol +65 -0
  311. package/contracts/oracle/Oracle.sol +145 -0
  312. package/contracts/oracle/OracleService.sol +278 -0
  313. package/contracts/oracle/OracleServiceManager.sol +42 -0
  314. package/contracts/pool/BundleService.sol +296 -0
  315. package/contracts/pool/BundleServiceManager.sol +42 -0
  316. package/contracts/{instance/service → pool}/IBundleService.sol +33 -23
  317. package/contracts/{components → pool}/IPoolComponent.sol +16 -17
  318. package/contracts/{instance/service → pool}/IPoolService.sol +72 -21
  319. package/contracts/{components → pool}/Pool.sol +52 -55
  320. package/contracts/pool/PoolService.sol +452 -0
  321. package/contracts/pool/PoolServiceManager.sol +42 -0
  322. package/contracts/product/ApplicationService.sol +254 -0
  323. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  324. package/contracts/product/ClaimService.sol +442 -0
  325. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  326. package/contracts/{instance/service → product}/IApplicationService.sol +13 -29
  327. package/contracts/product/IClaimService.sol +99 -0
  328. package/contracts/product/IPolicyService.sol +78 -0
  329. package/contracts/product/IPricingService.sol +39 -0
  330. package/contracts/product/IProductComponent.sol +42 -0
  331. package/contracts/product/IProductService.sol +33 -0
  332. package/contracts/product/PolicyService.sol +475 -0
  333. package/contracts/product/PolicyServiceManager.sol +42 -0
  334. package/contracts/product/PricingService.sol +300 -0
  335. package/contracts/product/PricingServiceManager.sol +42 -0
  336. package/contracts/{components → product}/Product.sol +89 -83
  337. package/contracts/product/ProductService.sol +124 -0
  338. package/contracts/product/ProductServiceManager.sol +42 -0
  339. package/contracts/registry/ChainNft.sol +8 -1
  340. package/contracts/registry/IRegistry.sol +44 -21
  341. package/contracts/registry/IRegistryService.sol +37 -36
  342. package/contracts/registry/IServiceAuthorization.sol +35 -0
  343. package/contracts/registry/Registry.sol +192 -83
  344. package/contracts/registry/RegistryAdmin.sol +333 -0
  345. package/contracts/registry/RegistryService.sol +71 -87
  346. package/contracts/registry/RegistryServiceManager.sol +21 -30
  347. package/contracts/registry/ReleaseManager.sol +394 -197
  348. package/contracts/registry/ServiceAuthorization.sol +83 -0
  349. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  350. package/contracts/registry/TokenRegistry.sol +261 -62
  351. package/contracts/shared/AccessAdmin.sol +750 -0
  352. package/contracts/shared/AccessManagerCustom.sol +741 -0
  353. package/contracts/shared/AccessManagerExtended.sol +481 -0
  354. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  355. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  356. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  357. package/contracts/shared/Component.sol +281 -0
  358. package/contracts/shared/ComponentService.sol +617 -0
  359. package/contracts/shared/ComponentServiceManager.sol +35 -0
  360. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  361. package/contracts/shared/ERC165.sol +1 -1
  362. package/contracts/shared/IAccessAdmin.sol +162 -0
  363. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  364. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  365. package/contracts/{components → shared}/IComponent.sol +23 -29
  366. package/contracts/shared/IComponentService.sol +102 -0
  367. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  368. package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
  369. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  370. package/contracts/shared/INftOwnable.sol +2 -2
  371. package/contracts/shared/IPolicyHolder.sol +29 -10
  372. package/contracts/shared/IRegistryLinked.sol +0 -1
  373. package/contracts/shared/IService.sol +11 -2
  374. package/contracts/shared/IVersionable.sol +1 -1
  375. package/contracts/shared/InitializableCustom.sol +177 -0
  376. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  377. package/contracts/shared/KeyValueStore.sol +127 -0
  378. package/contracts/{instance/base → shared}/Lifecycle.sol +18 -5
  379. package/contracts/shared/NftIdSetManager.sol +65 -0
  380. package/contracts/shared/NftOwnable.sol +3 -16
  381. package/contracts/shared/PolicyHolder.sol +40 -19
  382. package/contracts/shared/ProxyManager.sol +34 -4
  383. package/contracts/shared/Registerable.sol +13 -12
  384. package/contracts/shared/RegistryLinked.sol +0 -5
  385. package/contracts/shared/Service.sol +32 -21
  386. package/contracts/shared/TokenHandler.sol +27 -2
  387. package/contracts/shared/Versionable.sol +1 -1
  388. package/contracts/staking/IStaking.sol +168 -0
  389. package/contracts/staking/IStakingService.sol +153 -0
  390. package/contracts/staking/StakeManagerLib.sol +231 -0
  391. package/contracts/staking/Staking.sol +513 -0
  392. package/contracts/staking/StakingManager.sol +54 -0
  393. package/contracts/staking/StakingReader.sol +187 -0
  394. package/contracts/staking/StakingService.sol +411 -0
  395. package/contracts/staking/StakingServiceManager.sol +44 -0
  396. package/contracts/staking/StakingStore.sol +613 -0
  397. package/contracts/staking/TargetManagerLib.sol +207 -0
  398. package/contracts/{types → type}/AddressSet.sol +1 -1
  399. package/contracts/type/Amount.sol +128 -0
  400. package/contracts/{types → type}/Blocknumber.sol +20 -3
  401. package/contracts/{types → type}/Fee.sol +24 -22
  402. package/contracts/{types → type}/NftId.sol +14 -16
  403. package/contracts/{types → type}/NftIdSet.sol +2 -2
  404. package/contracts/type/ObjectType.sol +241 -0
  405. package/contracts/{types → type}/Referral.sol +1 -1
  406. package/contracts/type/RequestId.sol +75 -0
  407. package/contracts/{types → type}/RiskId.sol +1 -1
  408. package/contracts/type/RoleId.sol +201 -0
  409. package/contracts/{types → type}/Seconds.sol +27 -0
  410. package/contracts/type/Selector.sol +102 -0
  411. package/contracts/{types → type}/StateId.sol +27 -2
  412. package/contracts/type/String.sol +53 -0
  413. package/contracts/{types → type}/Timestamp.sol +6 -2
  414. package/contracts/{types → type}/Version.sol +1 -1
  415. package/package.json +3 -3
  416. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  417. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  418. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  419. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  420. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  421. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  422. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  423. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  424. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  425. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  426. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  427. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  428. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  429. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  430. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  431. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  432. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  433. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  434. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  435. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  436. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  437. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  438. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  439. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  440. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  441. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  442. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1060
  443. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  444. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -681
  445. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  446. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1266
  447. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  448. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -725
  449. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  450. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -1040
  451. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  452. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -685
  453. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  454. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1774
  455. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  456. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -793
  457. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  458. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  459. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  460. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  461. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  462. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  463. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  464. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  465. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1511
  466. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  467. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -741
  468. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  469. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
  470. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  471. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  472. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  473. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
  474. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  475. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  476. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  477. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  478. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  479. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  480. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  481. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  482. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  483. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  484. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  485. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  486. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  487. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  488. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  489. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  490. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  491. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  492. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  493. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  494. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  495. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  496. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  497. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  498. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -185
  499. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  500. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  501. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  502. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  503. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  504. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  505. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  506. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  507. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  508. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  509. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  510. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  511. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  512. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  513. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  514. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  515. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  516. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  517. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  518. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  519. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  520. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  521. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  522. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  523. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  524. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  525. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  526. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  527. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  528. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  529. package/contracts/components/Component.sol +0 -253
  530. package/contracts/components/IProductComponent.sol +0 -40
  531. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  532. package/contracts/instance/Cloneable.sol +0 -51
  533. package/contracts/instance/InstanceAccessManager.sol +0 -527
  534. package/contracts/instance/base/ComponentService.sol +0 -121
  535. package/contracts/instance/base/KeyValueStore.sol +0 -180
  536. package/contracts/instance/module/ISetup.sol +0 -33
  537. package/contracts/instance/module/ITreasury.sol +0 -23
  538. package/contracts/instance/service/ApplicationService.sol +0 -355
  539. package/contracts/instance/service/BundleService.sol +0 -436
  540. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  541. package/contracts/instance/service/ClaimService.sol +0 -239
  542. package/contracts/instance/service/DistributionService.sol +0 -431
  543. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  544. package/contracts/instance/service/IClaimService.sol +0 -92
  545. package/contracts/instance/service/IPolicyService.sol +0 -137
  546. package/contracts/instance/service/IProductService.sol +0 -40
  547. package/contracts/instance/service/PolicyService.sol +0 -541
  548. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  549. package/contracts/instance/service/PoolService.sol +0 -303
  550. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  551. package/contracts/instance/service/ProductService.sol +0 -210
  552. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  553. package/contracts/registry/RegistryAccessManager.sol +0 -216
  554. package/contracts/shared/ContractDeployerLib.sol +0 -72
  555. package/contracts/test/TestFee.sol +0 -25
  556. package/contracts/test/TestRegisterable.sol +0 -18
  557. package/contracts/test/TestRoleId.sol +0 -14
  558. package/contracts/test/TestService.sol +0 -25
  559. package/contracts/test/TestVersion.sol +0 -44
  560. package/contracts/test/TestVersionable.sol +0 -17
  561. package/contracts/test/Usdc.sol +0 -26
  562. package/contracts/types/Amount.sol +0 -65
  563. package/contracts/types/ChainId.sol +0 -38
  564. package/contracts/types/NumberId.sol +0 -52
  565. package/contracts/types/ObjectType.sol +0 -157
  566. package/contracts/types/RoleId.sol +0 -97
  567. /package/contracts/{types → type}/ClaimId.sol +0 -0
  568. /package/contracts/{types → type}/DistributorType.sol +0 -0
  569. /package/contracts/{types → type}/Key32.sol +0 -0
  570. /package/contracts/{types → type}/PayoutId.sol +0 -0
  571. /package/contracts/{types → type}/UFixed.sol +0 -0
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0097d743c9f1859f51a737077ba376b2.json"
4
- }
@@ -1,285 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "RegistryAccessManager",
4
- "sourceName": "contracts/registry/RegistryAccessManager.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "manager",
11
- "type": "address"
12
- }
13
- ],
14
- "stateMutability": "nonpayable",
15
- "type": "constructor"
16
- },
17
- {
18
- "inputs": [
19
- {
20
- "internalType": "address",
21
- "name": "authority",
22
- "type": "address"
23
- }
24
- ],
25
- "name": "AccessManagedInvalidAuthority",
26
- "type": "error"
27
- },
28
- {
29
- "inputs": [
30
- {
31
- "internalType": "address",
32
- "name": "caller",
33
- "type": "address"
34
- },
35
- {
36
- "internalType": "uint32",
37
- "name": "delay",
38
- "type": "uint32"
39
- }
40
- ],
41
- "name": "AccessManagedRequiredDelay",
42
- "type": "error"
43
- },
44
- {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "caller",
49
- "type": "address"
50
- }
51
- ],
52
- "name": "AccessManagedUnauthorized",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [],
57
- "name": "AlreadyInitialized",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [],
62
- "name": "NotInitialized",
63
- "type": "error"
64
- },
65
- {
66
- "anonymous": false,
67
- "inputs": [
68
- {
69
- "indexed": false,
70
- "internalType": "address",
71
- "name": "authority",
72
- "type": "address"
73
- }
74
- ],
75
- "name": "AuthorityUpdated",
76
- "type": "event"
77
- },
78
- {
79
- "inputs": [],
80
- "name": "UNIQUE_ROLE_ID_MIN",
81
- "outputs": [
82
- {
83
- "internalType": "uint64",
84
- "name": "",
85
- "type": "uint64"
86
- }
87
- ],
88
- "stateMutability": "view",
89
- "type": "function"
90
- },
91
- {
92
- "inputs": [],
93
- "name": "authority",
94
- "outputs": [
95
- {
96
- "internalType": "address",
97
- "name": "",
98
- "type": "address"
99
- }
100
- ],
101
- "stateMutability": "view",
102
- "type": "function"
103
- },
104
- {
105
- "inputs": [],
106
- "name": "getAccessManager",
107
- "outputs": [
108
- {
109
- "internalType": "contract AccessManager",
110
- "name": "",
111
- "type": "address"
112
- }
113
- ],
114
- "stateMutability": "view",
115
- "type": "function"
116
- },
117
- {
118
- "inputs": [
119
- {
120
- "internalType": "address",
121
- "name": "releaseManager",
122
- "type": "address"
123
- },
124
- {
125
- "internalType": "address",
126
- "name": "tokenRegistry",
127
- "type": "address"
128
- }
129
- ],
130
- "name": "initialize",
131
- "outputs": [],
132
- "stateMutability": "nonpayable",
133
- "type": "function"
134
- },
135
- {
136
- "inputs": [],
137
- "name": "isConsumingScheduledOp",
138
- "outputs": [
139
- {
140
- "internalType": "bytes4",
141
- "name": "",
142
- "type": "bytes4"
143
- }
144
- ],
145
- "stateMutability": "view",
146
- "type": "function"
147
- },
148
- {
149
- "inputs": [
150
- {
151
- "internalType": "address",
152
- "name": "account",
153
- "type": "address"
154
- },
155
- {
156
- "internalType": "address",
157
- "name": "target",
158
- "type": "address"
159
- },
160
- {
161
- "internalType": "bytes4[]",
162
- "name": "selector",
163
- "type": "bytes4[]"
164
- }
165
- ],
166
- "name": "setAndGrantUniqueRole",
167
- "outputs": [
168
- {
169
- "internalType": "RoleId",
170
- "name": "",
171
- "type": "uint64"
172
- }
173
- ],
174
- "stateMutability": "nonpayable",
175
- "type": "function"
176
- },
177
- {
178
- "inputs": [
179
- {
180
- "internalType": "address",
181
- "name": "newAuthority",
182
- "type": "address"
183
- }
184
- ],
185
- "name": "setAuthority",
186
- "outputs": [],
187
- "stateMutability": "nonpayable",
188
- "type": "function"
189
- }
190
- ],
191
- "bytecode": "0x60a06040523480156200001157600080fd5b5060405162004681380380620046818339810160408190526200003491620004d0565b336200004081620000f2565b50306040516200005090620004c2565b6001600160a01b039091168152602001604051809103906000f0801580156200007d573d6000803e3d6000fd5b506001600160a01b03166080819052620000979062000146565b60028054600160a01b600160e01b031916613d0960a61b179055620000bb620001ca565b33620000d3620000ca6200023c565b826000620002bd565b620000ea620000e1620003cd565b836000620002bd565b5050620005c5565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60005433906001600160a01b03168114620001835760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003620001bb576040516361798f2f60e11b81526001600160a01b03831660048201526024016200017a565b620001c682620000f2565b5050565b6040805160018082528183019092526000916020808301908036833701905050905063485cc95560e01b816000815181106200020a576200020a62000502565b6001600160e01b031990921660209283029190910190910152620002393082620002336200023c565b6200040a565b50565b6040516368aebf7b60e01b81526105dc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af415801562000292573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b891906200052e565b905090565b608051604051631517388760e21b81526001600160401b03851660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156200032b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200035191906200052e565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038516602482015263ffffffff841660448201526064015b600060405180830381600087803b158015620003af57600080fd5b505af1158015620003c4573d6000803e3d6000fd5b50505050505050565b6040516368aebf7b60e01b8152610640600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162000274565b608051604051631517388760e21b81526001600160401b03831660048201526001600160a01b03909116906308d6122d908590859073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156200047c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004a291906200052e565b6040518463ffffffff1660e01b815260040162000394939291906200054e565b612e73806200180e83390190565b600060208284031215620004e357600080fd5b81516001600160a01b0381168114620004fb57600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b6001600160401b03811681146200023957600080fd5b6000602082840312156200054157600080fd5b8151620004fb8162000518565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b81811015620005a35784516001600160e01b031916835293830193918301916001016200057b565b50506001600160401b0395909516604094909401939093525091949350505050565b608051611211620005fd60003960008181610107015281816101890152818161084a01528181610a090152610ca801526112116000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c806384d349381161005b57806384d34938146100da5780638fb36037146100e45780639f4bc3c314610105578063bf7e214f1461013f57600080fd5b8063485cc9551461008257806361bc3b41146100975780637a9e5e4b146100c7575b600080fd5b610095610090366004610e2c565b610150565b005b6100aa6100a5366004610e98565b61036f565b6040516001600160401b0390911681526020015b60405180910390f35b6100956100d5366004610f83565b6103cf565b6100aa620f424081565b6100ec610449565b6040516001600160e01b031990911681526020016100be565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100be565b6000546001600160a01b0316610127565b61015d335b60003661046f565b600254600160e01b900460ff16156101875760405162dc149f60e41b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102139190610fa7565b6001600160a01b0316146102945760405162461bcd60e51b815260206004820152603b60248201527f52656769737472794163636573734d616e616765723a2072656c65617365206d60448201527f616e6167657220617574686f7269747920697320696e76616c6964000000000060648201526084015b60405180910390fd5b6001600160a01b0381166102fd5760405162461bcd60e51b815260206004820152602a60248201527f52656769737472794163636573734d616e616765723a20746f6b656e207265676044820152690697374727920697320360b41b606482015260840161028b565b600180546001600160a01b038085166001600160a01b031992831617909255600280549284169290911691909117905561033561056f565b61033d610633565b610345610754565b6103586103506107b3565b83600061082c565b50506002805460ff60e01b1916600160e01b179055565b600061037a33610155565b600254600160e01b900460ff166103a4576040516321c4e35760e21b815260040160405180910390fd5b60006103ae610953565b90506103bb8484836109e3565b6103c78186600061082c565b509392505050565b60005433906001600160a01b031681146104065760405162d1953b60e31b81526001600160a01b038216600482015260240161028b565b816001600160a01b03163b60000361043c576040516361798f2f60e11b81526001600160a01b038316600482015260240161028b565b61044582610ab2565b5050565b60008054600160a01b900460ff166104615750600090565b638fb3603760e01b5b905090565b6000806104a56104876000546001600160a01b031690565b863061049760046000898b610fc4565b6104a091610fee565b610b06565b91509150816105685763ffffffff811615610545576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906105009088908890889060040161101e565b600060405180830381600087803b15801561051a57600080fd5b505af115801561052e573d6000803e3d6000fd5b50506000805460ff60a01b19169055506105689050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161028b565b5050505050565b60408051600180825281830190925260009160208083019080368337019050509050630af43fe160e01b816000815181106105ac576105ac61105e565b6001600160e01b0319909216602092830291909101909101526001546105e3906001600160a01b0316826105de610c12565b6109e3565b63a284482460e01b816000815181106105fe576105fe61105e565b6001600160e01b031990921660209283029190910190910152600154610630906001600160a01b0316826105de610c12565b50565b60408051600180825281830190925260009160208083019080368337019050509050636141740f60e01b816000815181106106705761067061105e565b6001600160e01b0319909216602092830291909101909101526002546106a2906001600160a01b0316826105de610c4e565b63fdd9ec7d60e01b816000815181106106bd576106bd61105e565b6001600160e01b0319909216602092830291909101909101526001546106ef906001600160a01b0316826105de610c4e565b6310d6ccbf60e01b8160008151811061070a5761070a61105e565b6001600160e01b03199092166020928302919091019091015260015461073c906001600160a01b0316826105de610c4e565b610630610747610c4e565b61074f610c12565b610c8a565b604080516001808252818301909252600091602080830190803683370190505090506361bc3b4160e01b816000815181106107915761079161105e565b6001600160e01b03199092166020928302919091019091015261063030826105de5b6040516368aebf7b60e01b81526106a4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610808573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046a9190611089565b604051631517388760e21b81526001600160401b03841660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156108b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d99190611089565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038516602482015263ffffffff841660448201526064015b600060405180830381600087803b15801561093657600080fd5b505af115801561094a573d6000803e3d6000fd5b50505050505050565b600073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__6368aebf7b6002601481819054906101000a90046001600160401b031680929190610994906110a6565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b81526004016107eb91906001600160401b0391909116815260200190565b604051631517388760e21b81526001600160401b03821660048201526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906308d6122d908590859073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190611089565b6040518463ffffffff1660e01b815260040161091c939291906110da565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251610b75919061114c565b600060405180830381855afa9150503d8060008114610bb0576040519150601f19603f3d011682016040523d82523d6000602084013e610bb5565b606091505b50915091508115610c07576040815110610be75780806020019051810190610bdd919061118b565b9094509250610c07565b6020815110610c075780806020019051810190610c0491906111c0565b93505b505094509492505050565b6040516368aebf7b60e01b81526105dc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016107eb565b6040516368aebf7b60e01b8152610640600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016107eb565b604051631517388760e21b81526001600160401b03831660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330cae1879073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610d13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d379190611089565b604051631517388760e21b81526001600160401b038516600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610d8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db39190611089565b6040516001600160e01b031960e085901b1681526001600160401b03928316600482015291166024820152604401600060405180830381600087803b158015610dfb57600080fd5b505af1158015610e0f573d6000803e3d6000fd5b505050505050565b6001600160a01b038116811461063057600080fd5b60008060408385031215610e3f57600080fd5b8235610e4a81610e17565b91506020830135610e5a81610e17565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b80356001600160e01b031981168114610e9357600080fd5b919050565b600080600060608486031215610ead57600080fd5b8335610eb881610e17565b9250602084810135610ec981610e17565b925060408501356001600160401b0380821115610ee557600080fd5b818701915087601f830112610ef957600080fd5b813581811115610f0b57610f0b610e65565b8060051b604051601f19603f83011681018181108582111715610f3057610f30610e65565b60405291825284820192508381018501918a831115610f4e57600080fd5b938501935b82851015610f7357610f6485610e7b565b84529385019392850192610f53565b8096505050505050509250925092565b600060208284031215610f9557600080fd5b8135610fa081610e17565b9392505050565b600060208284031215610fb957600080fd5b8151610fa081610e17565b60008085851115610fd457600080fd5b83861115610fe157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156110165780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b600052603260045260246000fd5b6001600160401b038116811461063057600080fd5b60006020828403121561109b57600080fd5b8151610fa081611074565b60006001600160401b038083168181036110d057634e487b7160e01b600052601160045260246000fd5b6001019392505050565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b8181101561112d5784516001600160e01b03191683529383019391830191600101611107565b50508093505050506001600160401b0383166040830152949350505050565b6000825160005b8181101561116d5760208186018101518583015201611153565b506000920191825250919050565b80518015158114610e9357600080fd5b6000806040838503121561119e57600080fd5b6111a78361117b565b9150602083015163ffffffff81168114610e5a57600080fd5b6000602082840312156111d257600080fd5b610fa08261117b56fea26469706673582212200f0eda2ce9c2c3f6a802b9ee2dc7b4e7cce500b7763ef734d7be5d61a31018fb64736f6c6343000814003360806040523480156200001157600080fd5b5060405162002e7338038062002e7383398101604081905262000034916200048f565b6001600160a01b0381166200006457604051630409d6d160e11b8152600060048201526024015b60405180910390fd5b6200007360008281806200007b565b505062000519565b60006002600160401b03196001600160401b03861601620000bb5760405163061c6a4360e21b81526001600160401b03861660048201526024016200005b565b6001600160401b03851660009081526001602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115620001ba5763ffffffff85166200010a620002d2565b620001169190620004d0565b905060405180604001604052808265ffffffffffff168152602001620001488663ffffffff16620002e460201b60201c565b6001600160701b039081169091526001600160401b03891660009081526001602090815260408083206001600160a01b038c16845282529091208351815494909201519092166601000000000000026001600160a01b031990931665ffffffffffff9091161791909117905562000264565b6001600160401b03871660009081526001602090815260408083206001600160a01b038a168452909152812054620002099166010000000000009091046001600160701b0316908690620002ed565b6001600160401b03891660009081526001602090815260408083206001600160a01b038c168452909152902080546001600160701b03909316660100000000000002600160301b600160a01b03199093169290921790915590505b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b6000620002df42620003a2565b905090565b63ffffffff1690565b60008080620003056001600160701b038716620003db565b90506000620003488563ffffffff168763ffffffff168463ffffffff1611620003305760006200033c565b6200033c8885620004f9565b63ffffffff16620003fc565b905063ffffffff81166200035b620002d2565b620003679190620004d0565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b600065ffffffffffff821115620003d7576040516306dfcc6560e41b815260306004820152602481018390526044016200005b565b5090565b600080620003f26001600160701b03841662000416565b5090949350505050565b60008183116200040d57816200040f565b825b9392505050565b600080806200042f8462000429620002d2565b6200043c565b9250925092509193909250565b600080806001600160501b03602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156200047a578282826200047f565b816000805b9550955095505050509250925092565b600060208284031215620004a257600080fd5b81516001600160a01b03811681146200040f57600080fd5b634e487b7160e01b600052601160045260246000fd5b65ffffffffffff818116838216019080821115620004f257620004f2620004ba565b5092915050565b63ffffffff828116828216039080821115620004f257620004f2620004ba565b61294a80620005296000396000f3fe6080604052600436106101e35760003560e01c80636d5115bd11610102578063b700961311610095578063d22b598911610064578063d22b598914610681578063d6bb62c6146106a1578063f801a698146106c1578063fe0776f5146106fb57600080fd5b8063b7009613146105ef578063b7d2b1621461062b578063cc1b6c811461064b578063d1f856ee1461066157600080fd5b8063a166aa89116100d1578063a166aa8914610521578063a64d95ce14610574578063abd9bd2a14610594578063ac9650d8146105c257600080fd5b80636d5115bd146104ac57806375b238fc146104cc578063853551b8146104e157806394c7d7ee1461050157600080fd5b806330cae1871161017a5780634665096d116101495780634665096d146104195780634c1da1e21461042f578063529629521461044f578063530dd4561461046f57600080fd5b806330cae1871461036d5780633adc277a1461038d5780633ca7c02a146103c45780634136a33c146103df57600080fd5b806318ff183c116101b657806318ff183c146102c05780631cff79cd146102e057806325c471a0146102f35780633078f1141461031357600080fd5b806308d6122d146101e85780630b0a93ba1461020a57806312be87271461026b578063167bd395146102a0575b600080fd5b3480156101f457600080fd5b506102086102033660046121c5565b61071b565b005b34801561021657600080fd5b5061024e61022536600461222b565b6001600160401b0390811660009081526001602081905260409091200154600160401b90041690565b6040516001600160401b0390911681526020015b60405180910390f35b34801561027757600080fd5b5061028b61028636600461222b565b610776565b60405163ffffffff9091168152602001610262565b3480156102ac57600080fd5b506102086102bb366004612246565b6107b1565b3480156102cc57600080fd5b506102086102db366004612284565b6107c7565b61028b6102ee3660046122f3565b61082e565b3480156102ff57600080fd5b5061020861030e36600461235b565b61095e565b34801561031f57600080fd5b5061033361032e3660046123a0565b610980565b604051610262949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561037957600080fd5b506102086103883660046123bc565b6109e5565b34801561039957600080fd5b506103ad6103a83660046123ef565b6109f7565b60405165ffffffffffff9091168152602001610262565b3480156103d057600080fd5b5061024e6001600160401b0381565b3480156103eb57600080fd5b5061028b6103fa3660046123ef565b600090815260026020526040902054600160301b900463ffffffff1690565b34801561042557600080fd5b5062093a8061028b565b34801561043b57600080fd5b5061028b61044a366004612408565b610a2a565b34801561045b57600080fd5b5061020861046a3660046123bc565b610a58565b34801561047b57600080fd5b5061024e61048a36600461222b565b6001600160401b03908116600090815260016020819052604090912001541690565b3480156104b857600080fd5b5061024e6104c736600461243b565b610a6a565b3480156104d857600080fd5b5061024e600081565b3480156104ed57600080fd5b506102086104fc366004612469565b610aa5565b34801561050d57600080fd5b5061020861051c3660046122f3565b610b3c565b34801561052d57600080fd5b5061056461053c366004612408565b6001600160a01b0316600090815260208190526040902060010154600160701b900460ff1690565b6040519015158152602001610262565b34801561058057600080fd5b5061020861058f366004612487565b610be8565b3480156105a057600080fd5b506105b46105af3660046124b1565b610bfa565b604051908152602001610262565b3480156105ce57600080fd5b506105e26105dd366004612515565b610c33565b604051610262919061257a565b3480156105fb57600080fd5b5061060f61060a3660046125f4565b610d27565b60408051921515835263ffffffff909116602083015201610262565b34801561063757600080fd5b506102086106463660046123a0565b610dca565b34801561065757600080fd5b506206978061028b565b34801561066d57600080fd5b5061060f61067c3660046123a0565b610de1565b34801561068d57600080fd5b5061020861069c36600461263f565b610e5e565b3480156106ad57600080fd5b5061028b6106bc3660046124b1565b610e70565b3480156106cd57600080fd5b506106e16106dc36600461265d565b610fca565b6040805192835263ffffffff909116602083015201610262565b34801561070757600080fd5b506102086107163660046123a0565b61110f565b610723611138565b60005b8281101561076f5761075f85858584818110610744576107446126cf565b905060200201602081019061075991906126e5565b846111b3565b61076881612718565b9050610726565b5050505050565b6001600160401b0381166000908152600160208190526040822001546107ab90600160801b90046001600160701b0316611235565b92915050565b6107b9611138565b6107c38282611254565b5050565b6107cf611138565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b90602401600060405180830381600087803b15801561081257600080fd5b505af1158015610826573d6000803e3d6000fd5b505050505050565b600033818061083f838888886112fa565b9150915081158015610855575063ffffffff8116155b156108a8578287610866888861134d565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b60006108b684898989610bfa565b9050600063ffffffff83161515806108dd57506108d2826109f7565b65ffffffffffff1615155b156108ee576108eb82611365565b90505b6003546109048a6108ff8b8b61134d565b611465565b60038190555061094c8a8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152503492506114a7915050565b506003559450505050505b9392505050565b610966611138565b61097a838361097486610776565b84611544565b50505050565b6001600160401b03821660009081526001602090815260408083206001600160a01b03851684529091528120805465ffffffffffff8116929182918291906109d790600160301b90046001600160701b031661178f565b969991985096509350505050565b6109ed611138565b6107c382826117b2565b60008181526002602052604081205465ffffffffffff16610a1781611856565b610a215780610957565b60009392505050565b6001600160a01b0381166000908152602081905260408120600101546107ab906001600160701b0316611235565b610a60611138565b6107c38282611885565b6001600160a01b0382166000908152602081815260408083206001600160e01b0319851684529091529020546001600160401b031692915050565b610aad611138565b6001600160401b0383161580610acb57506001600160401b03838116145b15610af45760405163061c6a4360e21b81526001600160401b038416600482015260240161089f565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610b2f92919061275a565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190612776565b6001600160e01b03191614610bd457604051630641fee960e31b81526001600160a01b038216600482015260240161089f565b61076f610be385838686610bfa565b611365565b610bf0611138565b6107c38282611937565b600084848484604051602001610c139493929190612793565b604051602081830303815290604052805190602001209050949350505050565b6060816001600160401b03811115610c4d57610c4d6127c0565b604051908082528060200260200182016040528015610c8057816020015b6060815260200190600190039081610c6b5790505b50905060005b82811015610d2057610cf030858584818110610ca457610ca46126cf565b9050602002810190610cb691906127d6565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a4892505050565b828281518110610d0257610d026126cf565b60200260200101819052508080610d1890612718565b915050610c86565b5092915050565b6001600160a01b0382166000908152602081905260408120600101548190600160701b900460ff1615610d5f57506000905080610dc2565b306001600160a01b03861603610d8457610d798484611abe565b600091509150610dc2565b6000610d908585610a6a565b9050600080610d9f8389610de1565b9150915081610db057600080610dba565b63ffffffff811615815b945094505050505b935093915050565b610dd2611138565b610ddc8282611ad5565b505050565b60008067fffffffffffffffe196001600160401b03851601610e095750600190506000610e57565b600080610e168686610980565b5050915091508165ffffffffffff16600014158015610e4c5750610e38611bc2565b65ffffffffffff168265ffffffffffff1611155b93509150610e579050565b9250929050565b610e66611138565b6107c38282611bd2565b60003381610e7e858561134d565b90506000610e8e88888888610bfa565b60008181526002602052604081205491925065ffffffffffff9091169003610ecc5760405163060a299b60e41b81526004810182905260240161089f565b826001600160a01b0316886001600160a01b031614610f68576000610ef2600085610de1565b5090506000610f0d610f076102258b87610a6a565b86610de1565b50905081158015610f1c575080155b15610f6557604051630ff89d4760e21b81526001600160a01b038087166004830152808c1660248301528a1660448201526001600160e01b03198516606482015260840161089f565b50505b600081815260026020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a398975050505050505050565b6000803381610fdb828989896112fa565b91505060008163ffffffff16610fef611bc2565b610ff9919061281c565b905063ffffffff82161580611030575060008665ffffffffffff1611801561103057508065ffffffffffff168665ffffffffffff16105b156110415782896108668a8a61134d565b61105b8665ffffffffffff168265ffffffffffff16611c8f565b9550611069838a8a8a610bfa565b945061107485611ca5565b60008581526002602052604090819020805465ffffffffffff891669ffffffffffffffffffff19821617600160301b9182900463ffffffff90811660010190811692830291909117909255915190955086907f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b4906110fb908a9088908f908f908f9061283b565b60405180910390a350505094509492505050565b6001600160a01b0381163314610dd257604051635f159e6360e01b815260040160405180910390fd5b33600080611147838236611cf2565b9150915081610ddc578063ffffffff166000036111a357600061116a8136611daa565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b0382166024820152909250604401905061089f565b61097a610be38430600036610bfa565b6001600160a01b0383166000818152602081815260408083206001600160e01b0319871680855290835292819020805467ffffffffffffffff19166001600160401b038716908117909155905192835292917f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a3505050565b60008061124a836001600160701b031661178f565b5090949350505050565b306001600160a01b0383160361128857604051630b40d17960e31b81526001600160a01b038316600482015260240161089f565b6001600160a01b038216600081815260208190526040908190206001018054841515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb138906112ee90841515815260200190565b60405180910390a25050565b600080306001600160a01b0386160361132157611318868585611cf2565b91509150611344565b6004831061133d57611338868661060a878761134d565b611318565b5060009050805b94509492505050565b600061135c6004828486612881565b610957916128ab565b60008181526002602052604081205465ffffffffffff811690600160301b900463ffffffff168183036113ae5760405163060a299b60e41b81526004810185905260240161089f565b6113b6611bc2565b65ffffffffffff168265ffffffffffff1611156113e957604051630c65b5bd60e11b81526004810185905260240161089f565b6113f282611856565b1561141357604051631e2975b960e21b81526004810185905260240161089f565b600084815260026020526040808220805465ffffffffffff191690555163ffffffff83169186917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a39392505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156114cc5760405163cd78605960e01b815230600482015260240161089f565b600080856001600160a01b031684866040516114e891906128db565b60006040518083038185875af1925050503d8060008114611525576040519150601f19603f3d011682016040523d82523d6000602084013e61152a565b606091505b509150915061153a868383611f93565b9695505050505050565b600067fffffffffffffffe196001600160401b038616016115835760405163061c6a4360e21b81526001600160401b038616600482015260240161089f565b6001600160401b03851660009081526001602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115611675578463ffffffff166115cf611bc2565b6115d9919061281c565b905060405180604001604052808265ffffffffffff1681526020016116078663ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b03891660009081526001602090815260408083206001600160a01b038c1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff90911617919091179055611721565b6001600160401b03871660009081526001602090815260408083206001600160a01b038a1684529091528120546116bf91600160301b9091046001600160701b0316908690611fef565b6001600160401b03891660009081526001602090815260408083206001600160a01b038c168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b60008060006117a5846117a0611bc2565b612099565b9250925092509193909250565b6001600160401b03821615806117d057506001600160401b03828116145b156117f95760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b038281166000818152600160208190526040808320909101805467ffffffffffffffff19169486169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a35050565b6000611860611bc2565b65ffffffffffff1661187562093a808461281c565b65ffffffffffff16111592915050565b6001600160401b03821615806118a357506001600160401b03828116145b156118cc5760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b03828116600081815260016020819052604080832090910180546fffffffffffffffff00000000000000001916600160401b958716958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a35050565b67fffffffffffffffe196001600160401b038316016119745760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b0382166000908152600160208190526040822001546119ae90600160801b90046001600160701b03168362069780611fef565b6001600160401b0385166000818152600160208190526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890610b2f908590859063ffffffff92909216825265ffffffffffff16602082015260400190565b6060600080846001600160a01b031684604051611a6591906128db565b600060405180830381855af49150503d8060008114611aa0576040519150601f19603f3d011682016040523d82523d6000602084013e611aa5565b606091505b5091509150611ab5858383611f93565b95945050505050565b6000611aca8383611465565b600354149392505050565b600067fffffffffffffffe196001600160401b03841601611b145760405163061c6a4360e21b81526001600160401b038416600482015260240161089f565b6001600160401b03831660009081526001602090815260408083206001600160a01b038616845290915281205465ffffffffffff169003611b57575060006107ab565b6001600160401b03831660008181526001602090815260408083206001600160a01b038716808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a350600192915050565b6000611bcd426120ed565b905090565b6001600160a01b038216600090815260208190526040812060010154611c05906001600160701b03168362069780611fef565b6001600160a01b0385166000818152602081815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8716815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101610b2f565b6000818311611c9e5781610957565b5090919050565b60008181526002602052604090205465ffffffffffff168015801590611cd15750611ccf81611856565b155b156107c35760405163813e945960e01b81526004810183905260240161089f565b6000806004831015611d0957506000905080610dc2565b306001600160a01b03861603611d2c57610d7930611d27868661134d565b611abe565b6000806000611d3b8787611daa565b92509250925082611d555760008094509450505050610dc2565b600080611d62848b610de1565b9150915081611d7c57600080965096505050505050610dc2565b611d928363ffffffff168263ffffffff16611c8f565b63ffffffff8116159b909a5098505050505050505050565b600080806004841015611dc557506000915081905080611f8c565b6000611dd1868661134d565b90506001600160e01b031981166310a6aa3760e31b1480611e0257506001600160e01b031981166330cae18760e01b145b80611e1d57506001600160e01b0319811663294b14a960e11b145b80611e3857506001600160e01b03198116635326cae760e11b145b80611e5357506001600160e01b0319811663d22b598960e01b145b15611e6957600160008093509350935050611f8c565b6001600160e01b0319811663063fc60f60e21b1480611e9857506001600160e01b0319811663167bd39560e01b145b80611eb357506001600160e01b031981166308d6122d60e01b145b15611ef5576000611ec860246004888a612881565b810190611ed59190612408565b90506000611ee282610a2a565b60019650600095509350611f8c92505050565b6001600160e01b0319811663012e238d60e51b1480611f2457506001600160e01b03198116635be958b160e11b145b15611f7f576000611f3960246004888a612881565b810190611f46919061222b565b90506001611f70826001600160401b03908116600090815260016020819052604090912001541690565b60009450945094505050611f8c565b6000806000935093509350505b9250925092565b606082611fa857611fa382612124565b610957565b8151158015611fbf57506001600160a01b0384163b155b15611fe857604051639996b31560e01b81526001600160a01b038516600482015260240161089f565b5080610957565b6000806000612006866001600160701b0316611235565b905060006120438563ffffffff168763ffffffff168463ffffffff161161202e576000612038565b61203888856128f7565b63ffffffff16611c8f565b90508063ffffffff16612054611bc2565b61205e919061281c565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b6000808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156120d8578282826120dd565b816000805b9550955095505050509250925092565b600065ffffffffffff821115612120576040516306dfcc6560e41b8152603060048201526024810183905260440161089f565b5090565b8051156121345780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461214d57600080fd5b60008083601f84011261217757600080fd5b5081356001600160401b0381111561218e57600080fd5b6020830191508360208260051b8501011115610e5757600080fd5b80356001600160401b03811681146121c057600080fd5b919050565b600080600080606085870312156121db57600080fd5b84356121e681612150565b935060208501356001600160401b0381111561220157600080fd5b61220d87828801612165565b90945092506122209050604086016121a9565b905092959194509250565b60006020828403121561223d57600080fd5b610957826121a9565b6000806040838503121561225957600080fd5b823561226481612150565b91506020830135801515811461227957600080fd5b809150509250929050565b6000806040838503121561229757600080fd5b82356122a281612150565b9150602083013561227981612150565b60008083601f8401126122c457600080fd5b5081356001600160401b038111156122db57600080fd5b602083019150836020828501011115610e5757600080fd5b60008060006040848603121561230857600080fd5b833561231381612150565b925060208401356001600160401b0381111561232e57600080fd5b61233a868287016122b2565b9497909650939450505050565b803563ffffffff811681146121c057600080fd5b60008060006060848603121561237057600080fd5b612379846121a9565b9250602084013561238981612150565b915061239760408501612347565b90509250925092565b600080604083850312156123b357600080fd5b6122a2836121a9565b600080604083850312156123cf57600080fd5b6123d8836121a9565b91506123e6602084016121a9565b90509250929050565b60006020828403121561240157600080fd5b5035919050565b60006020828403121561241a57600080fd5b813561095781612150565b6001600160e01b03198116811461214d57600080fd5b6000806040838503121561244e57600080fd5b823561245981612150565b9150602083013561227981612425565b60008060006040848603121561247e57600080fd5b612313846121a9565b6000806040838503121561249a57600080fd5b6124a3836121a9565b91506123e660208401612347565b600080600080606085870312156124c757600080fd5b84356124d281612150565b935060208501356124e281612150565b925060408501356001600160401b038111156124fd57600080fd5b612509878288016122b2565b95989497509550505050565b6000806020838503121561252857600080fd5b82356001600160401b0381111561253e57600080fd5b61254a85828601612165565b90969095509350505050565b60005b83811015612571578181015183820152602001612559565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156125e757878503603f19018452815180518087526125c8818989018a8501612556565b601f01601f1916959095018601945092850192908501906001016125a1565b5092979650505050505050565b60008060006060848603121561260957600080fd5b833561261481612150565b9250602084013561262481612150565b9150604084013561263481612425565b809150509250925092565b6000806040838503121561265257600080fd5b82356124a381612150565b6000806000806060858703121561267357600080fd5b843561267e81612150565b935060208501356001600160401b0381111561269957600080fd5b6126a5878288016122b2565b909450925050604085013565ffffffffffff811681146126c457600080fd5b939692955090935050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156126f757600080fd5b813561095781612425565b634e487b7160e01b600052601160045260246000fd5b60006001820161272a5761272a612702565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60208152600061276e602083018486612731565b949350505050565b60006020828403121561278857600080fd5b815161095781612425565b6001600160a01b0385811682528416602082015260606040820181905260009061153a9083018486612731565b634e487b7160e01b600052604160045260246000fd5b6000808335601e198436030181126127ed57600080fd5b8301803591506001600160401b0382111561280757600080fd5b602001915036819003821315610e5757600080fd5b65ffffffffffff818116838216019080821115610d2057610d20612702565b65ffffffffffff861681526001600160a01b038581166020830152841660408201526080606082018190526000906128769083018486612731565b979650505050505050565b6000808585111561289157600080fd5b8386111561289e57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156128d35780818660040360031b1b83161692505b505092915050565b600082516128ed818460208701612556565b9190910192915050565b63ffffffff828116828216039080821115610d2057610d2061270256fea2646970667358221220852e1b06c04d0d52371fd43f8845e54b847a0e8aa854c61f246ae78531fd2ee364736f6c63430008140033",
192
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c806384d349381161005b57806384d34938146100da5780638fb36037146100e45780639f4bc3c314610105578063bf7e214f1461013f57600080fd5b8063485cc9551461008257806361bc3b41146100975780637a9e5e4b146100c7575b600080fd5b610095610090366004610e2c565b610150565b005b6100aa6100a5366004610e98565b61036f565b6040516001600160401b0390911681526020015b60405180910390f35b6100956100d5366004610f83565b6103cf565b6100aa620f424081565b6100ec610449565b6040516001600160e01b031990911681526020016100be565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100be565b6000546001600160a01b0316610127565b61015d335b60003661046f565b600254600160e01b900460ff16156101875760405162dc149f60e41b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102139190610fa7565b6001600160a01b0316146102945760405162461bcd60e51b815260206004820152603b60248201527f52656769737472794163636573734d616e616765723a2072656c65617365206d60448201527f616e6167657220617574686f7269747920697320696e76616c6964000000000060648201526084015b60405180910390fd5b6001600160a01b0381166102fd5760405162461bcd60e51b815260206004820152602a60248201527f52656769737472794163636573734d616e616765723a20746f6b656e207265676044820152690697374727920697320360b41b606482015260840161028b565b600180546001600160a01b038085166001600160a01b031992831617909255600280549284169290911691909117905561033561056f565b61033d610633565b610345610754565b6103586103506107b3565b83600061082c565b50506002805460ff60e01b1916600160e01b179055565b600061037a33610155565b600254600160e01b900460ff166103a4576040516321c4e35760e21b815260040160405180910390fd5b60006103ae610953565b90506103bb8484836109e3565b6103c78186600061082c565b509392505050565b60005433906001600160a01b031681146104065760405162d1953b60e31b81526001600160a01b038216600482015260240161028b565b816001600160a01b03163b60000361043c576040516361798f2f60e11b81526001600160a01b038316600482015260240161028b565b61044582610ab2565b5050565b60008054600160a01b900460ff166104615750600090565b638fb3603760e01b5b905090565b6000806104a56104876000546001600160a01b031690565b863061049760046000898b610fc4565b6104a091610fee565b610b06565b91509150816105685763ffffffff811615610545576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906105009088908890889060040161101e565b600060405180830381600087803b15801561051a57600080fd5b505af115801561052e573d6000803e3d6000fd5b50506000805460ff60a01b19169055506105689050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161028b565b5050505050565b60408051600180825281830190925260009160208083019080368337019050509050630af43fe160e01b816000815181106105ac576105ac61105e565b6001600160e01b0319909216602092830291909101909101526001546105e3906001600160a01b0316826105de610c12565b6109e3565b63a284482460e01b816000815181106105fe576105fe61105e565b6001600160e01b031990921660209283029190910190910152600154610630906001600160a01b0316826105de610c12565b50565b60408051600180825281830190925260009160208083019080368337019050509050636141740f60e01b816000815181106106705761067061105e565b6001600160e01b0319909216602092830291909101909101526002546106a2906001600160a01b0316826105de610c4e565b63fdd9ec7d60e01b816000815181106106bd576106bd61105e565b6001600160e01b0319909216602092830291909101909101526001546106ef906001600160a01b0316826105de610c4e565b6310d6ccbf60e01b8160008151811061070a5761070a61105e565b6001600160e01b03199092166020928302919091019091015260015461073c906001600160a01b0316826105de610c4e565b610630610747610c4e565b61074f610c12565b610c8a565b604080516001808252818301909252600091602080830190803683370190505090506361bc3b4160e01b816000815181106107915761079161105e565b6001600160e01b03199092166020928302919091019091015261063030826105de5b6040516368aebf7b60e01b81526106a4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610808573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046a9190611089565b604051631517388760e21b81526001600160401b03841660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156108b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d99190611089565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038516602482015263ffffffff841660448201526064015b600060405180830381600087803b15801561093657600080fd5b505af115801561094a573d6000803e3d6000fd5b50505050505050565b600073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__6368aebf7b6002601481819054906101000a90046001600160401b031680929190610994906110a6565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b81526004016107eb91906001600160401b0391909116815260200190565b604051631517388760e21b81526001600160401b03821660048201526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906308d6122d908590859073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a949190611089565b6040518463ffffffff1660e01b815260040161091c939291906110da565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251610b75919061114c565b600060405180830381855afa9150503d8060008114610bb0576040519150601f19603f3d011682016040523d82523d6000602084013e610bb5565b606091505b50915091508115610c07576040815110610be75780806020019051810190610bdd919061118b565b9094509250610c07565b6020815110610c075780806020019051810190610c0491906111c0565b93505b505094509492505050565b6040516368aebf7b60e01b81526105dc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016107eb565b6040516368aebf7b60e01b8152610640600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016107eb565b604051631517388760e21b81526001600160401b03831660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330cae1879073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610d13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d379190611089565b604051631517388760e21b81526001600160401b038516600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610d8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db39190611089565b6040516001600160e01b031960e085901b1681526001600160401b03928316600482015291166024820152604401600060405180830381600087803b158015610dfb57600080fd5b505af1158015610e0f573d6000803e3d6000fd5b505050505050565b6001600160a01b038116811461063057600080fd5b60008060408385031215610e3f57600080fd5b8235610e4a81610e17565b91506020830135610e5a81610e17565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b80356001600160e01b031981168114610e9357600080fd5b919050565b600080600060608486031215610ead57600080fd5b8335610eb881610e17565b9250602084810135610ec981610e17565b925060408501356001600160401b0380821115610ee557600080fd5b818701915087601f830112610ef957600080fd5b813581811115610f0b57610f0b610e65565b8060051b604051601f19603f83011681018181108582111715610f3057610f30610e65565b60405291825284820192508381018501918a831115610f4e57600080fd5b938501935b82851015610f7357610f6485610e7b565b84529385019392850192610f53565b8096505050505050509250925092565b600060208284031215610f9557600080fd5b8135610fa081610e17565b9392505050565b600060208284031215610fb957600080fd5b8151610fa081610e17565b60008085851115610fd457600080fd5b83861115610fe157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156110165780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b600052603260045260246000fd5b6001600160401b038116811461063057600080fd5b60006020828403121561109b57600080fd5b8151610fa081611074565b60006001600160401b038083168181036110d057634e487b7160e01b600052601160045260246000fd5b6001019392505050565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b8181101561112d5784516001600160e01b03191683529383019391830191600101611107565b50508093505050506001600160401b0383166040830152949350505050565b6000825160005b8181101561116d5760208186018101518583015201611153565b506000920191825250919050565b80518015158114610e9357600080fd5b6000806040838503121561119e57600080fd5b6111a78361117b565b9150602083015163ffffffff81168114610e5a57600080fd5b6000602082840312156111d257600080fd5b610fa08261117b56fea26469706673582212200f0eda2ce9c2c3f6a802b9ee2dc7b4e7cce500b7763ef734d7be5d61a31018fb64736f6c63430008140033",
193
- "linkReferences": {
194
- "contracts/types/RoleId.sol": {
195
- "RoleIdLib": [
196
- {
197
- "length": 20,
198
- "start": 598
199
- },
200
- {
201
- "length": 20,
202
- "start": 752
203
- },
204
- {
205
- "length": 20,
206
- "start": 999
207
- },
208
- {
209
- "length": 20,
210
- "start": 1089
211
- },
212
- {
213
- "length": 20,
214
- "start": 3530
215
- },
216
- {
217
- "length": 20,
218
- "start": 3704
219
- },
220
- {
221
- "length": 20,
222
- "start": 3924
223
- },
224
- {
225
- "length": 20,
226
- "start": 4147
227
- },
228
- {
229
- "length": 20,
230
- "start": 4649
231
- },
232
- {
233
- "length": 20,
234
- "start": 4709
235
- },
236
- {
237
- "length": 20,
238
- "start": 4822
239
- },
240
- {
241
- "length": 20,
242
- "start": 4946
243
- }
244
- ]
245
- }
246
- },
247
- "deployedLinkReferences": {
248
- "contracts/types/RoleId.sol": {
249
- "RoleIdLib": [
250
- {
251
- "length": 20,
252
- "start": 1997
253
- },
254
- {
255
- "length": 20,
256
- "start": 2171
257
- },
258
- {
259
- "length": 20,
260
- "start": 2391
261
- },
262
- {
263
- "length": 20,
264
- "start": 2614
265
- },
266
- {
267
- "length": 20,
268
- "start": 3116
269
- },
270
- {
271
- "length": 20,
272
- "start": 3176
273
- },
274
- {
275
- "length": 20,
276
- "start": 3289
277
- },
278
- {
279
- "length": 20,
280
- "start": 3413
281
- }
282
- ]
283
- }
284
- }
285
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0097d743c9f1859f51a737077ba376b2.json"
4
- }
@@ -1,107 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "ContractDeployerLib",
4
- "sourceName": "contracts/shared/ContractDeployerLib.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "bytes32",
10
- "name": "expectedHash",
11
- "type": "bytes32"
12
- },
13
- {
14
- "internalType": "bytes32",
15
- "name": "actualHash",
16
- "type": "bytes32"
17
- }
18
- ],
19
- "name": "ErrorCreationCodeHashMismatch",
20
- "type": "error"
21
- },
22
- {
23
- "anonymous": false,
24
- "inputs": [
25
- {
26
- "indexed": false,
27
- "internalType": "address",
28
- "name": "contractAddress",
29
- "type": "address"
30
- }
31
- ],
32
- "name": "LogContractDeployed",
33
- "type": "event"
34
- },
35
- {
36
- "inputs": [
37
- {
38
- "internalType": "bytes",
39
- "name": "byteCodeWithInitCode",
40
- "type": "bytes"
41
- },
42
- {
43
- "internalType": "bytes",
44
- "name": "encodedConstructorArguments",
45
- "type": "bytes"
46
- }
47
- ],
48
- "name": "getCreationCode",
49
- "outputs": [
50
- {
51
- "internalType": "bytes",
52
- "name": "creationCode",
53
- "type": "bytes"
54
- }
55
- ],
56
- "stateMutability": "pure",
57
- "type": "function"
58
- },
59
- {
60
- "inputs": [
61
- {
62
- "internalType": "bytes",
63
- "name": "creationCode",
64
- "type": "bytes"
65
- }
66
- ],
67
- "name": "getHash",
68
- "outputs": [
69
- {
70
- "internalType": "bytes32",
71
- "name": "hash",
72
- "type": "bytes32"
73
- }
74
- ],
75
- "stateMutability": "pure",
76
- "type": "function"
77
- },
78
- {
79
- "inputs": [
80
- {
81
- "internalType": "bytes",
82
- "name": "creationCode",
83
- "type": "bytes"
84
- },
85
- {
86
- "internalType": "bytes32",
87
- "name": "expectedHash",
88
- "type": "bytes32"
89
- }
90
- ],
91
- "name": "matchesWithHash",
92
- "outputs": [
93
- {
94
- "internalType": "bool",
95
- "name": "isMatching",
96
- "type": "bool"
97
- }
98
- ],
99
- "stateMutability": "pure",
100
- "type": "function"
101
- }
102
- ],
103
- "bytecode": "0x61041461003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80634af63f021461005b5780635617a52414610098578063b00140aa146100b8578063d77767a7146100df575b600080fd5b81801561006757600080fd5b5061007b610076366004610272565b61010c565b6040516001600160a01b0390911681526020015b60405180910390f35b6100ab6100a63660046102b7565b6101a3565b60405161008f919061033f565b6100d16100c6366004610372565b805160209091012090565b60405190815260200161008f565b6100fc6100ed366004610272565b81516020909201919091201490565b604051901515815260200161008f565b6000811561014b57825160208401208281146101495760405163063ad37560e11b8152600481018490526024810182905260440160405180910390fd5b505b8251602084016000f09050803b61016157600080fd5b6040516001600160a01b03821681527ff40020e78c6e173ba88aa2c344ed520fab87fe67b9e5aa34626af9d86a3cd47b9060200160405180910390a192915050565b606082826040516020016101b89291906103af565b604051602081830303815290604052905092915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126101f657600080fd5b813567ffffffffffffffff80821115610211576102116101cf565b604051601f8301601f19908116603f01168101908282118183101715610239576102396101cf565b8160405283815286602085880101111561025257600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561028557600080fd5b823567ffffffffffffffff81111561029c57600080fd5b6102a8858286016101e5565b95602094909401359450505050565b600080604083850312156102ca57600080fd5b823567ffffffffffffffff808211156102e257600080fd5b6102ee868387016101e5565b9350602085013591508082111561030457600080fd5b50610311858286016101e5565b9150509250929050565b60005b8381101561033657818101518382015260200161031e565b50506000910152565b602081526000825180602084015261035e81604085016020870161031b565b601f01601f19169190910160400192915050565b60006020828403121561038457600080fd5b813567ffffffffffffffff81111561039b57600080fd5b6103a7848285016101e5565b949350505050565b600083516103c181846020880161031b565b8351908301906103d581836020880161031b565b0194935050505056fea2646970667358221220f3f33921365a3b9b449ba2939e5c799ed23f2f5ebad2222e7708291ee20808a064736f6c63430008140033",
104
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80634af63f021461005b5780635617a52414610098578063b00140aa146100b8578063d77767a7146100df575b600080fd5b81801561006757600080fd5b5061007b610076366004610272565b61010c565b6040516001600160a01b0390911681526020015b60405180910390f35b6100ab6100a63660046102b7565b6101a3565b60405161008f919061033f565b6100d16100c6366004610372565b805160209091012090565b60405190815260200161008f565b6100fc6100ed366004610272565b81516020909201919091201490565b604051901515815260200161008f565b6000811561014b57825160208401208281146101495760405163063ad37560e11b8152600481018490526024810182905260440160405180910390fd5b505b8251602084016000f09050803b61016157600080fd5b6040516001600160a01b03821681527ff40020e78c6e173ba88aa2c344ed520fab87fe67b9e5aa34626af9d86a3cd47b9060200160405180910390a192915050565b606082826040516020016101b89291906103af565b604051602081830303815290604052905092915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126101f657600080fd5b813567ffffffffffffffff80821115610211576102116101cf565b604051601f8301601f19908116603f01168101908282118183101715610239576102396101cf565b8160405283815286602085880101111561025257600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561028557600080fd5b823567ffffffffffffffff81111561029c57600080fd5b6102a8858286016101e5565b95602094909401359450505050565b600080604083850312156102ca57600080fd5b823567ffffffffffffffff808211156102e257600080fd5b6102ee868387016101e5565b9350602085013591508082111561030457600080fd5b50610311858286016101e5565b9150509250929050565b60005b8381101561033657818101518382015260200161031e565b50506000910152565b602081526000825180602084015261035e81604085016020870161031b565b601f01601f19169190910160400192915050565b60006020828403121561038457600080fd5b813567ffffffffffffffff81111561039b57600080fd5b6103a7848285016101e5565b949350505050565b600083516103c181846020880161031b565b8351908301906103d581836020880161031b565b0194935050505056fea2646970667358221220f3f33921365a3b9b449ba2939e5c799ed23f2f5ebad2222e7708291ee20808a064736f6c63430008140033",
105
- "linkReferences": {},
106
- "deployedLinkReferences": {}
107
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0097d743c9f1859f51a737077ba376b2.json"
4
- }
@@ -1,119 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "TestFee",
4
- "sourceName": "contracts/test/TestFee.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "uint256",
10
- "name": "fractionalValue",
11
- "type": "uint256"
12
- },
13
- {
14
- "internalType": "int8",
15
- "name": "exponent",
16
- "type": "int8"
17
- },
18
- {
19
- "internalType": "uint256",
20
- "name": "fixedValue",
21
- "type": "uint256"
22
- }
23
- ],
24
- "name": "createFee",
25
- "outputs": [
26
- {
27
- "components": [
28
- {
29
- "internalType": "UFixed",
30
- "name": "fractionalFee",
31
- "type": "uint256"
32
- },
33
- {
34
- "internalType": "uint256",
35
- "name": "fixedFee",
36
- "type": "uint256"
37
- }
38
- ],
39
- "internalType": "struct Fee",
40
- "name": "fee",
41
- "type": "tuple"
42
- }
43
- ],
44
- "stateMutability": "pure",
45
- "type": "function"
46
- },
47
- {
48
- "inputs": [],
49
- "name": "getZeroFee",
50
- "outputs": [
51
- {
52
- "components": [
53
- {
54
- "internalType": "UFixed",
55
- "name": "fractionalFee",
56
- "type": "uint256"
57
- },
58
- {
59
- "internalType": "uint256",
60
- "name": "fixedFee",
61
- "type": "uint256"
62
- }
63
- ],
64
- "internalType": "struct Fee",
65
- "name": "fee",
66
- "type": "tuple"
67
- }
68
- ],
69
- "stateMutability": "pure",
70
- "type": "function"
71
- }
72
- ],
73
- "bytecode": "0x608060405234801561001057600080fd5b50610301806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634e3dca121461003b57806387c565861461006d575b600080fd5b61004e610049366004610217565b610075565b6040805182518152602092830151928101929092520160405180910390f35b61004e610192565b6040805180820190915260008082526020820152604051631488c84560e01b815260048101859052600084900b602482015273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa9073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101239190610255565b846040518363ffffffff1660e01b815260040161014a929190918252602082015260400190565b6040805180830381865af4158015610166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a919061026e565b949350505050565b604080518082019091526000808252602082015273__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af41580156101ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610212919061026e565b905090565b60008060006060848603121561022c57600080fd5b8335925060208401358060000b811461024457600080fd5b929592945050506040919091013590565b60006020828403121561026757600080fd5b5051919050565b60006040828403121561028057600080fd5b6040516040810181811067ffffffffffffffff821117156102b157634e487b7160e01b600052604160045260246000fd5b60405282518152602092830151928101929092525091905056fea2646970667358221220ad51c418f1e0543178527833e1b8039839cf316f063cea581690404c9cc9725164736f6c63430008140033",
74
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80634e3dca121461003b57806387c565861461006d575b600080fd5b61004e610049366004610217565b610075565b6040805182518152602092830151928101929092520160405180910390f35b61004e610192565b6040805180820190915260008082526020820152604051631488c84560e01b815260048101859052600084900b602482015273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa9073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101239190610255565b846040518363ffffffff1660e01b815260040161014a929190918252602082015260400190565b6040805180830381865af4158015610166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a919061026e565b949350505050565b604080518082019091526000808252602082015273__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af41580156101ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610212919061026e565b905090565b60008060006060848603121561022c57600080fd5b8335925060208401358060000b811461024457600080fd5b929592945050506040919091013590565b60006020828403121561026757600080fd5b5051919050565b60006040828403121561028057600080fd5b6040516040810181811067ffffffffffffffff821117156102b157634e487b7160e01b600052604160045260246000fd5b60405282518152602092830151928101929092525091905056fea2646970667358221220ad51c418f1e0543178527833e1b8039839cf316f063cea581690404c9cc9725164736f6c63430008140033",
75
- "linkReferences": {
76
- "contracts/types/Fee.sol": {
77
- "FeeLib": [
78
- {
79
- "length": 20,
80
- "start": 201
81
- },
82
- {
83
- "length": 20,
84
- "start": 456
85
- }
86
- ]
87
- },
88
- "contracts/types/UFixed.sol": {
89
- "UFixedLib": [
90
- {
91
- "length": 20,
92
- "start": 229
93
- }
94
- ]
95
- }
96
- },
97
- "deployedLinkReferences": {
98
- "contracts/types/Fee.sol": {
99
- "FeeLib": [
100
- {
101
- "length": 20,
102
- "start": 169
103
- },
104
- {
105
- "length": 20,
106
- "start": 424
107
- }
108
- ]
109
- },
110
- "contracts/types/UFixed.sol": {
111
- "UFixedLib": [
112
- {
113
- "length": 20,
114
- "start": 197
115
- }
116
- ]
117
- }
118
- }
119
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0097d743c9f1859f51a737077ba376b2.json"
4
- }