@etherisc/gif-next 0.0.2-e8ea17d-715 → 0.0.2-e8ea5fe-337

Sign up to get free protection for your applications and to get access to all the features.
Files changed (380) hide show
  1. package/README.md +19 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +2 -2
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +2 -2
  7. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  10. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  12. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +2 -2
  14. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  16. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  17. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +85 -101
  18. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  19. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +16 -16
  20. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +43 -75
  22. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +223 -105
  24. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +50 -38
  26. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +43 -37
  28. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +120 -31
  30. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  31. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  32. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  33. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  34. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  35. package/artifacts/contracts/instance/Instance.sol/Instance.json +2 -2
  36. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +54 -54
  38. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  39. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +14 -14
  40. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  41. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +238 -123
  42. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  43. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +16 -16
  44. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  45. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +9 -9
  46. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  47. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +215 -219
  48. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  50. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  52. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  53. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  54. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  55. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  56. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  57. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  63. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  64. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  65. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  66. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +59 -88
  67. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  68. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +2 -2
  69. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  70. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  71. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +30 -37
  72. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  73. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  74. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +27 -72
  75. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  76. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +2 -2
  77. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  78. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +2 -2
  79. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  80. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +55 -137
  81. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  82. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +16 -16
  83. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  84. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +391 -51
  85. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  86. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +94 -26
  87. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  88. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +205 -1
  89. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  90. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +45 -95
  91. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  92. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +220 -100
  93. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  94. package/artifacts/contracts/pool/Pool.sol/Pool.json +45 -133
  95. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  96. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +264 -136
  97. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  98. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +23 -19
  99. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  100. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +19 -38
  101. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +8 -20
  103. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  104. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +22 -78
  105. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  106. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +16 -16
  107. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  108. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +194 -72
  109. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +41 -37
  111. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  112. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +5 -0
  113. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  114. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +114 -0
  115. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  116. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +184 -119
  117. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  118. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +43 -43
  119. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  120. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +19 -37
  121. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  122. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +2 -2
  123. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  124. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +242 -209
  125. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +38 -38
  127. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  128. package/artifacts/contracts/product/PricingService.sol/PricingService.json +107 -147
  129. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +40 -60
  131. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  132. package/artifacts/contracts/product/Product.sol/Product.json +22 -78
  133. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  134. package/artifacts/contracts/product/{ProductService.sol/ProductService.json → RiskService.sol/RiskService.json} +4 -17
  135. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  136. package/artifacts/contracts/product/{ProductServiceManager.sol/ProductServiceManager.json → RiskServiceManager.sol/RiskServiceManager.json} +12 -12
  137. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  138. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  139. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1 -1
  140. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  141. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  142. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  143. package/artifacts/contracts/registry/Registry.sol/Registry.json +15 -15
  144. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  145. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +28 -28
  146. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  147. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +2 -2
  148. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +2 -2
  150. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  151. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  152. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  153. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +2 -2
  154. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  155. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
  156. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  157. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  158. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  159. package/artifacts/contracts/shared/Component.sol/Component.json +0 -64
  160. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  161. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +255 -62
  162. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  163. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +52 -32
  164. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  165. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  166. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +0 -26
  167. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  168. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +153 -0
  169. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  170. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +19 -37
  171. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  172. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  173. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  174. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  175. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  176. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  177. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  178. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +1 -1
  179. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  180. package/artifacts/contracts/shared/{ERC165.sol/ERC165.json → InitializableERC165.sol/InitializableERC165.json} +4 -4
  181. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  182. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +19 -75
  183. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  184. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  185. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  186. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  187. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  188. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  189. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  190. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  191. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  192. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
  193. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  194. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  195. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  196. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  197. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
  198. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  199. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  200. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  201. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +27 -27
  202. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  203. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  204. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +73 -93
  205. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  206. package/artifacts/contracts/staking/Staking.sol/Staking.json +77 -107
  207. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  208. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  209. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  210. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +26 -22
  211. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  212. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -6
  213. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  214. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +22 -22
  215. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  216. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +12 -12
  217. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  218. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +89 -84
  219. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  220. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  221. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  222. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  223. package/artifacts/contracts/type/Amount.sol/AmountLib.json +37 -8
  224. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  225. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  226. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  227. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  228. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  229. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  230. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  231. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  232. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  233. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  234. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  235. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  236. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  237. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  238. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  239. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  240. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  241. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  242. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  243. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  244. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  245. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  246. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  247. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  248. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  249. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  250. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  251. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  252. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  253. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  254. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  255. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  256. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  257. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  258. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  259. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  261. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +39 -2
  263. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  265. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  266. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  267. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  268. package/artifacts/contracts/{shared → upgradeability}/ProxyManager.sol/ProxyManager.json +3 -3
  269. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  270. package/artifacts/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +3 -3
  271. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  272. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  273. package/contracts/authorization/Authorization.sol +0 -1
  274. package/contracts/distribution/BasicDistribution.sol +4 -15
  275. package/contracts/distribution/BasicDistributionAuthorization.sol +5 -1
  276. package/contracts/distribution/Distribution.sol +22 -10
  277. package/contracts/distribution/DistributionService.sol +67 -33
  278. package/contracts/distribution/DistributionServiceManager.sol +2 -5
  279. package/contracts/distribution/IDistributionComponent.sol +8 -4
  280. package/contracts/distribution/IDistributionService.sol +18 -2
  281. package/contracts/instance/IInstance.sol +7 -30
  282. package/contracts/instance/Instance.sol +8 -33
  283. package/contracts/instance/InstanceAdmin.sol +23 -4
  284. package/contracts/instance/InstanceAuthorizationV3.sol +5 -3
  285. package/contracts/instance/InstanceReader.sol +32 -7
  286. package/contracts/instance/InstanceService.sol +57 -33
  287. package/contracts/instance/InstanceServiceManager.sol +2 -6
  288. package/contracts/instance/InstanceStore.sol +12 -1
  289. package/contracts/instance/base/ObjectLifecycle.sol +9 -4
  290. package/contracts/instance/module/IBundle.sol +1 -1
  291. package/contracts/instance/module/IComponents.sol +1 -7
  292. package/contracts/instance/module/IDistribution.sol +0 -1
  293. package/contracts/instance/module/IPolicy.sol +22 -22
  294. package/contracts/mock/Dip.sol +1 -1
  295. package/contracts/oracle/IOracleComponent.sol +2 -1
  296. package/contracts/oracle/Oracle.sol +16 -6
  297. package/contracts/oracle/OracleService.sol +1 -0
  298. package/contracts/oracle/OracleServiceManager.sol +2 -5
  299. package/contracts/pool/BasicPool.sol +7 -5
  300. package/contracts/pool/BasicPoolAuthorization.sol +11 -2
  301. package/contracts/pool/BundleService.sol +182 -40
  302. package/contracts/pool/BundleServiceManager.sol +2 -5
  303. package/contracts/pool/IBundleService.sol +33 -5
  304. package/contracts/pool/IPoolComponent.sol +6 -0
  305. package/contracts/pool/IPoolService.sol +36 -26
  306. package/contracts/pool/Pool.sol +39 -24
  307. package/contracts/pool/PoolService.sol +161 -103
  308. package/contracts/pool/PoolServiceManager.sol +2 -5
  309. package/contracts/product/ApplicationService.sol +51 -57
  310. package/contracts/product/ApplicationServiceManager.sol +2 -2
  311. package/contracts/product/BasicProduct.sol +3 -32
  312. package/contracts/product/BasicProductAuthorization.sol +3 -0
  313. package/contracts/product/ClaimService.sol +118 -73
  314. package/contracts/product/ClaimServiceManager.sol +2 -2
  315. package/contracts/product/IApplicationService.sol +1 -0
  316. package/contracts/product/IClaimService.sol +28 -5
  317. package/contracts/product/IPolicyService.sol +27 -32
  318. package/contracts/product/IPricingService.sol +7 -7
  319. package/contracts/product/IProductComponent.sol +1 -1
  320. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  321. package/contracts/product/PolicyService.sol +278 -180
  322. package/contracts/product/PolicyServiceManager.sol +2 -5
  323. package/contracts/product/PricingService.sol +42 -41
  324. package/contracts/product/PricingServiceManager.sol +2 -5
  325. package/contracts/product/Product.sol +67 -34
  326. package/contracts/product/{ProductService.sol → RiskService.sol} +10 -37
  327. package/contracts/product/RiskServiceManager.sol +39 -0
  328. package/contracts/registry/IRegistry.sol +1 -1
  329. package/contracts/registry/Registry.sol +1 -1
  330. package/contracts/registry/RegistryAdmin.sol +10 -1
  331. package/contracts/registry/RegistryService.sol +4 -18
  332. package/contracts/registry/RegistryServiceManager.sol +2 -2
  333. package/contracts/registry/ReleaseRegistry.sol +1 -3
  334. package/contracts/registry/ServiceAuthorizationV3.sol +2 -3
  335. package/contracts/shared/Component.sol +25 -38
  336. package/contracts/shared/ComponentService.sol +82 -22
  337. package/contracts/shared/ComponentServiceManager.sol +2 -2
  338. package/contracts/shared/ComponentVerifyingService.sol +1 -1
  339. package/contracts/shared/IComponent.sol +4 -4
  340. package/contracts/shared/IComponentService.sol +15 -9
  341. package/contracts/shared/IInstanceLinkedComponent.sol +9 -10
  342. package/contracts/shared/IService.sol +1 -1
  343. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +1 -1
  344. package/contracts/shared/InstanceLinkedComponent.sol +22 -1
  345. package/contracts/shared/NftOwnable.sol +3 -3
  346. package/contracts/shared/PolicyHolder.sol +2 -5
  347. package/contracts/shared/Service.sol +3 -4
  348. package/contracts/shared/TokenHandler.sol +100 -19
  349. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  350. package/contracts/staking/IStaking.sol +3 -2
  351. package/contracts/staking/StakeManagerLib.sol +18 -25
  352. package/contracts/staking/Staking.sol +23 -36
  353. package/contracts/staking/StakingManager.sol +2 -5
  354. package/contracts/staking/StakingReader.sol +6 -9
  355. package/contracts/staking/StakingService.sol +8 -12
  356. package/contracts/staking/StakingServiceManager.sol +2 -2
  357. package/contracts/staking/StakingStore.sol +5 -15
  358. package/contracts/staking/TargetManagerLib.sol +7 -3
  359. package/contracts/type/Amount.sol +12 -5
  360. package/contracts/type/Blocknumber.sol +7 -1
  361. package/contracts/type/ObjectType.sol +15 -11
  362. package/contracts/type/Referral.sol +1 -0
  363. package/contracts/type/Seconds.sol +21 -1
  364. package/contracts/type/StateId.sol +1 -0
  365. package/contracts/type/Timestamp.sol +11 -1
  366. package/contracts/type/UFixed.sol +29 -10
  367. package/contracts/{shared → upgradeability}/ProxyManager.sol +3 -4
  368. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  369. package/package.json +1 -1
  370. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  371. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  372. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  373. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  374. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  375. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  376. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  377. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  378. package/contracts/product/ProductServiceManager.sol +0 -42
  379. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
  380. /package/contracts/{shared → upgradeability}/Versionable.sol +0 -0
@@ -301,30 +301,30 @@
301
301
  "type": "function"
302
302
  }
303
303
  ],
304
- "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0525f906100279082610bc3565b50348015610033575f80fd5b5060405161195838038061195883398101604081905261005291610c7d565b805f61005e8282610bc3565b50610067610078565b61006f610082565b5050610e38565b565b610076600e6101dc565b5f61009b61008e610276565b610096610305565b610385565b90506100d48163b6b412ba60e01b604051806040016040528060078152602001667365744665657360c81b81525061046260201b60201c565b60408051808201909152601581527f6372656174654469737472696275746f72547970650000000000000000000000602082015261011c908290632b5198b160e01b90610462565b60408051808201909152601181527031b932b0ba32a234b9ba3934b13aba37b960791b6020820152610158908290632ee59dd760e11b90610462565b60408051808201909152601581527f7570646174654469737472696275746f7254797065000000000000000000000060208201526101a0908290633d683fd960e01b90610462565b60408051808201909152600e81526d18dc99585d19549959995c9c985b60921b60208201526101d9908290632cb305f560e11b90610462565b50565b6101d96101e7610276565b6040516311da4a5b60e31b815260ff841660048201525f602482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af415801561023d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102619190610d2d565b61027161026c610276565b61063f565b610686565b60605f805461028490610b3f565b80601f01602080910402602001604051908101604052809291908181526020018280546102b090610b3f565b80156102fb5780601f106102d2576101008083540402835291602001916102fb565b820191905f5260205f20905b8154815290600101906020018083116102de57829003601f168201915b5050505050905090565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af415801561035c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103809190610d2d565b905090565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016103be9190610d5a565b602060405180830381865af41580156103d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103fd9190610d8f565b5f8181526006602090815260408083208054600181018255908452828420600482040180546001600160401b03808b1660086003909516949094026101000a848102910219909116179055938352600782528083209383529290522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696104a38660648501610d5a565b602060405180830381865af41580156104be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104e29190610d8f565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610541573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105659190610da6565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156105bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105df9190610dcd565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b60608160405180604001604052806004815260200163526f6c6560e01b815250604051602001610670929190610e08565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906106bf908790600401610d5a565b602060405180830381865af41580156106da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106fe9190610d8f565b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6018290555f82815260036020908152604091829020805460ff1916909317909255805163bc1b392d60e01b815290519293506107d092869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af415801561079a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107be9190610d2d565b6001600160401b039081169116141590565b15610813576107de83610819565b6107ec576107ec838361085b565b5f81815260026020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b5f806001600160401b0383165f9081526005602052604090205468010000000000000000900460ff16600381111561085357610853610e24565b141592915050565b6108788261087361086a61087c565b600180866108b6565b610a15565b5050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401610341565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b0316815260200185600381111561090c5761090c610e24565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016109549190610d5a565b602060405180830381865af415801561096f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109939190610d8f565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156109df573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a039190610dcd565b64ffffffffff16905295945050505050565b600480546001810182559081047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f9081526005602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b0319909216179068010000000000000000908490811115610ac957610ac9610e24565b02179055506040820151815463ffffffff60481b1916690100000000000000000063ffffffff90921691909102178155606082015160018201556080909101516002909101805464ffffffffff191664ffffffffff9092169190911790555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610b5357607f821691505b602082108103610b7157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610bbe57805f5260205f20601f840160051c81016020851015610b9c5750805b601f840160051c820191505b81811015610bbb575f8155600101610ba8565b50505b505050565b81516001600160401b03811115610bdc57610bdc610b2b565b610bf081610bea8454610b3f565b84610b77565b6020601f821160018114610c22575f8315610c0b5750848201515b5f19600385901b1c1916600184901b178455610bbb565b5f84815260208120601f198516915b82811015610c515787850151825560209485019460019092019101610c31565b5084821015610c6e57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610c8d575f80fd5b81516001600160401b03811115610ca2575f80fd5b8201601f81018413610cb2575f80fd5b80516001600160401b03811115610ccb57610ccb610b2b565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610cf957610cf9610b2b565b604052818152828201602001861015610d10575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b5f60208284031215610d3d575f80fd5b81516001600160401b0381168114610d53575f80fd5b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610d9f575f80fd5b5051919050565b5f60208284031215610db6575f80fd5b81516001600160e01b031981168114610d53575f80fd5b5f60208284031215610ddd575f80fd5b815164ffffffffff81168114610d53575f80fd5b5f81518060208401855e5f93019283525090919050565b5f610e1c610e168386610df1565b84610df1565b949350505050565b634e487b7160e01b5f52602160045260245ffd5b610b1380610e455f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220391f7e33069e83997d495bae53e68edc5bf007d256f0296f054c2ef7fde889d764736f6c634300081a0033",
305
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220391f7e33069e83997d495bae53e68edc5bf007d256f0296f054c2ef7fde889d764736f6c634300081a0033",
304
+ "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0525f906100279082610c37565b50348015610033575f80fd5b506040516119cc3803806119cc83398101604081905261005291610cf1565b805f61005e8282610c37565b50610067610078565b61006f610082565b5050610eac565b565b610076600e610250565b5f61009b61008e6102ea565b610096610379565b6103f9565b90506100d48163b6b412ba60e01b604051806040016040528060078152602001667365744665657360c81b8152506104d660201b60201c565b60408051808201909152601581527f6372656174654469737472696275746f72547970650000000000000000000000602082015261011c908290632b5198b160e01b906104d6565b60408051808201909152601181527031b932b0ba32a234b9ba3934b13aba37b960791b6020820152610158908290632ee59dd760e11b906104d6565b60408051808201909152601581527f7570646174654469737472696275746f7254797065000000000000000000000060208201526101a0908290633d683fd960e01b906104d6565b60408051808201909152600e81526d18dc99585d19549959995c9c985b60921b60208201526101d9908290632cb305f560e11b906104d6565b60408051808201909152600c81526b77697468647261774665657360a01b60208201526102109082906301c6b21960e41b906104d6565b6040805180820190915260128152713bb4ba34323930bba1b7b6b6b4b9b9b4b7b760711b602082015261024d9082906303f38d3760e11b906104d6565b50565b61024d61025b6102ea565b6040516311da4a5b60e31b815260ff841660048201525f602482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af41580156102b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d59190610da1565b6102e56102e06102ea565b6106b3565b6106fa565b60605f80546102f890610bb3565b80601f016020809104026020016040519081016040528092919081815260200182805461032490610bb3565b801561036f5780601f106103465761010080835404028352916020019161036f565b820191905f5260205f20905b81548152906001019060200180831161035257829003601f168201915b5050505050905090565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af41580156103d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f49190610da1565b905090565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016104329190610dce565b602060405180830381865af415801561044d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104719190610e03565b5f8181526006602090815260408083208054600181018255908452828420600482040180546001600160401b03808b1660086003909516949094026101000a848102910219909116179055938352600782528083209383529290522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696105178660648501610dce565b602060405180830381865af4158015610532573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105569190610e03565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af41580156105b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d99190610e1a565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561062f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106539190610e41565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b60608160405180604001604052806004815260200163526f6c6560e01b8152506040516020016106e4929190610e7c565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610733908790600401610dce565b602060405180830381865af415801561074e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107729190610e03565b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6018290555f82815260036020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061084492869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af415801561080e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108329190610da1565b6001600160401b039081169116141590565b15610887576108528361088d565b6108605761086083836108cf565b5f81815260026020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b5f806001600160401b0383165f9081526005602052604090205468010000000000000000900460ff1660038111156108c7576108c7610e98565b141592915050565b6108ec826108e76108de6108f0565b6001808661092a565b610a89565b5050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024016103b5565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b0316815260200185600381111561098057610980610e98565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016109c89190610dce565b602060405180830381865af41580156109e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a079190610e03565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a779190610e41565b64ffffffffff16905295945050505050565b600480546001810182559081047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f9081526005602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b0319909216179068010000000000000000908490811115610b3d57610b3d610e98565b02179055506040820151815463ffffffff60481b1916690100000000000000000063ffffffff90921691909102178155606082015160018201556080909101516002909101805464ffffffffff191664ffffffffff9092169190911790555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610bc757607f821691505b602082108103610be557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610c3257805f5260205f20601f840160051c81016020851015610c105750805b601f840160051c820191505b81811015610c2f575f8155600101610c1c565b50505b505050565b81516001600160401b03811115610c5057610c50610b9f565b610c6481610c5e8454610bb3565b84610beb565b6020601f821160018114610c96575f8315610c7f5750848201515b5f19600385901b1c1916600184901b178455610c2f565b5f84815260208120601f198516915b82811015610cc55787850151825560209485019460019092019101610ca5565b5084821015610ce257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610d01575f80fd5b81516001600160401b03811115610d16575f80fd5b8201601f81018413610d26575f80fd5b80516001600160401b03811115610d3f57610d3f610b9f565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d6d57610d6d610b9f565b604052818152828201602001861015610d84575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b5f60208284031215610db1575f80fd5b81516001600160401b0381168114610dc7575f80fd5b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610e13575f80fd5b5051919050565b5f60208284031215610e2a575f80fd5b81516001600160e01b031981168114610dc7575f80fd5b5f60208284031215610e51575f80fd5b815164ffffffffff81168114610dc7575f80fd5b5f81518060208401855e5f93019283525090919050565b5f610e90610e8a8386610e65565b84610e65565b949350505050565b634e487b7160e01b5f52602160045260245ffd5b610b1380610eb95f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea26469706673582212204d8bc562c07fbdd2ab974a9a2a76536655e669b8a2a15a7cf4aa1b3ff22954b864736f6c634300081a0033",
305
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea26469706673582212204d8bc562c07fbdd2ab974a9a2a76536655e669b8a2a15a7cf4aa1b3ff22954b864736f6c634300081a0033",
306
306
  "linkReferences": {
307
307
  "contracts/type/RoleId.sol": {
308
308
  "RoleIdLib": [
309
309
  {
310
310
  "length": 20,
311
- "start": 517
311
+ "start": 633
312
312
  },
313
313
  {
314
314
  "length": 20,
315
- "start": 803
315
+ "start": 919
316
316
  },
317
317
  {
318
318
  "length": 20,
319
- "start": 1890
319
+ "start": 2006
320
320
  },
321
321
  {
322
322
  "length": 20,
323
- "start": 2196
323
+ "start": 2312
324
324
  },
325
325
  {
326
326
  "length": 20,
327
- "start": 5399
327
+ "start": 5515
328
328
  }
329
329
  ]
330
330
  },
@@ -332,7 +332,7 @@
332
332
  "SelectorLib": [
333
333
  {
334
334
  "length": 20,
335
- "start": 1289
335
+ "start": 1405
336
336
  }
337
337
  ]
338
338
  },
@@ -340,23 +340,23 @@
340
340
  "StrLib": [
341
341
  {
342
342
  "length": 20,
343
- "start": 905
343
+ "start": 1021
344
344
  },
345
345
  {
346
346
  "length": 20,
347
- "start": 1150
347
+ "start": 1266
348
348
  },
349
349
  {
350
350
  "length": 20,
351
- "start": 1687
351
+ "start": 1803
352
352
  },
353
353
  {
354
354
  "length": 20,
355
- "start": 2335
355
+ "start": 2451
356
356
  },
357
357
  {
358
358
  "length": 20,
359
- "start": 5612
359
+ "start": 5728
360
360
  }
361
361
  ]
362
362
  },
@@ -364,11 +364,11 @@
364
364
  "TimestampLib": [
365
365
  {
366
366
  "length": 20,
367
- "start": 1398
367
+ "start": 1514
368
368
  },
369
369
  {
370
370
  "length": 20,
371
- "start": 2458
371
+ "start": 2574
372
372
  }
373
373
  ]
374
374
  },
@@ -376,7 +376,7 @@
376
376
  "VersionPartLib": [
377
377
  {
378
378
  "length": 20,
379
- "start": 5091
379
+ "start": 5207
380
380
  }
381
381
  ]
382
382
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/8184b9bf6735d0fabf3de554db2eb1cf.json"
3
+ "buildInfo": "../../../build-info/e2e3b7f72e025759291be05737506c35.json"
4
4
  }
@@ -41,28 +41,6 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
- {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "target",
49
- "type": "address"
50
- }
51
- ],
52
- "name": "AddressEmptyCode",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [
57
- {
58
- "internalType": "address",
59
- "name": "account",
60
- "type": "address"
61
- }
62
- ],
63
- "name": "AddressInsufficientBalance",
64
- "type": "error"
65
- },
66
44
  {
67
45
  "inputs": [],
68
46
  "name": "ErrorComponentNameLengthZero",
@@ -90,17 +68,6 @@
90
68
  "name": "ErrorComponentNotInstance",
91
69
  "type": "error"
92
70
  },
93
- {
94
- "inputs": [
95
- {
96
- "internalType": "address",
97
- "name": "caller",
98
- "type": "address"
99
- }
100
- ],
101
- "name": "ErrorComponentNotProductService",
102
- "type": "error"
103
- },
104
71
  {
105
72
  "inputs": [],
106
73
  "name": "ErrorComponentProductNftAlreadySet",
@@ -121,32 +88,6 @@
121
88
  "name": "ErrorComponentWalletAddressZero",
122
89
  "type": "error"
123
90
  },
124
- {
125
- "inputs": [
126
- {
127
- "internalType": "address",
128
- "name": "oldWallet",
129
- "type": "address"
130
- },
131
- {
132
- "internalType": "address",
133
- "name": "newWallet",
134
- "type": "address"
135
- },
136
- {
137
- "internalType": "uint256",
138
- "name": "allowance",
139
- "type": "uint256"
140
- },
141
- {
142
- "internalType": "uint256",
143
- "name": "balance",
144
- "type": "uint256"
145
- }
146
- ],
147
- "name": "ErrorComponentWalletAllowanceTooSmall",
148
- "type": "error"
149
- },
150
91
  {
151
92
  "inputs": [],
152
93
  "name": "ErrorComponentWalletNotComponent",
@@ -228,11 +169,6 @@
228
169
  "name": "ErrorNotRegistry",
229
170
  "type": "error"
230
171
  },
231
- {
232
- "inputs": [],
233
- "name": "FailedInnerCall",
234
- "type": "error"
235
- },
236
172
  {
237
173
  "inputs": [],
238
174
  "name": "InvalidInitialization",
@@ -243,17 +179,6 @@
243
179
  "name": "NotInitializing",
244
180
  "type": "error"
245
181
  },
246
- {
247
- "inputs": [
248
- {
249
- "internalType": "address",
250
- "name": "token",
251
- "type": "address"
252
- }
253
- ],
254
- "name": "SafeERC20FailedOperation",
255
- "type": "error"
256
- },
257
182
  {
258
183
  "anonymous": false,
259
184
  "inputs": [
@@ -1182,6 +1107,49 @@
1182
1107
  "outputs": [],
1183
1108
  "stateMutability": "nonpayable",
1184
1109
  "type": "function"
1110
+ },
1111
+ {
1112
+ "inputs": [
1113
+ {
1114
+ "internalType": "NftId",
1115
+ "name": "distributorNftId",
1116
+ "type": "uint96"
1117
+ },
1118
+ {
1119
+ "internalType": "Amount",
1120
+ "name": "amount",
1121
+ "type": "uint96"
1122
+ }
1123
+ ],
1124
+ "name": "withdrawCommission",
1125
+ "outputs": [
1126
+ {
1127
+ "internalType": "Amount",
1128
+ "name": "withdrawnAmount",
1129
+ "type": "uint96"
1130
+ }
1131
+ ],
1132
+ "stateMutability": "nonpayable",
1133
+ "type": "function"
1134
+ },
1135
+ {
1136
+ "inputs": [
1137
+ {
1138
+ "internalType": "Amount",
1139
+ "name": "amount",
1140
+ "type": "uint96"
1141
+ }
1142
+ ],
1143
+ "name": "withdrawFees",
1144
+ "outputs": [
1145
+ {
1146
+ "internalType": "Amount",
1147
+ "name": "withdrawnAmount",
1148
+ "type": "uint96"
1149
+ }
1150
+ ],
1151
+ "stateMutability": "nonpayable",
1152
+ "type": "function"
1185
1153
  }
1186
1154
  ],
1187
1155
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/8184b9bf6735d0fabf3de554db2eb1cf.json"
3
+ "buildInfo": "../../../build-info/e2e3b7f72e025759291be05737506c35.json"
4
4
  }