@etherisc/gif-next 0.0.2-bb1081a-994 → 0.0.2-bc0a9a8-101

Sign up to get free protection for your applications and to get access to all the features.
Files changed (570) hide show
  1. package/README.md +10 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1416 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1349 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +398 -276
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +814 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +68 -54
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +268 -1576
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +296 -211
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +455 -2542
  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 +204 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +609 -425
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +464 -375
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +368 -107
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3458 -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 +6 -1
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  42. package/artifacts/contracts/instance/module/{ISetup.sol/ISetup.json → IComponents.sol/IComponents.json} +2 -2
  43. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  46. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  47. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  48. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  49. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1105 -0
  50. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  51. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +746 -0
  52. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  53. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +256 -346
  54. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  55. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +448 -290
  56. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  57. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1065 -0
  58. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  59. package/artifacts/contracts/pool/Pool.sol/Pool.json +1565 -0
  60. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1432 -0
  62. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +738 -0
  64. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  65. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +834 -0
  66. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
  68. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1278 -0
  70. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +810 -0
  72. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  73. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +203 -235
  74. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +759 -0
  76. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  77. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +244 -303
  78. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  79. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +263 -221
  80. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  81. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +370 -281
  82. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  83. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IProductService.sol/IProductService.json} +116 -170
  84. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1146 -0
  86. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +754 -0
  88. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PricingService.sol/PricingService.json +983 -0
  90. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +778 -0
  92. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  93. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → product/Product.sol/Product.json} +822 -220
  94. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  95. package/artifacts/contracts/product/ProductService.sol/ProductService.json +679 -0
  96. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +694 -0
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  99. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +203 -21
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +349 -220
  104. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  105. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  106. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/Registry.sol/Registry.json +440 -36
  108. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  109. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
  110. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +480 -265
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +340 -95
  114. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +834 -89
  116. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +349 -82
  120. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  121. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  122. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  123. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  124. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  125. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  126. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  130. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  131. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/Component.sol/Component.json} +361 -271
  132. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  133. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1475 -0
  134. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +788 -0
  136. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  137. package/artifacts/contracts/{components/IComponent.sol/IComponent.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +209 -185
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  140. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  142. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  144. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  145. package/artifacts/contracts/{components/Component.sol/Component.json → shared/IComponent.sol/IComponent.json} +205 -187
  146. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +860 -0
  148. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  149. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +221 -211
  150. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
  152. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  153. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  154. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  155. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  156. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  157. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  158. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -30
  160. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  161. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  162. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  163. package/artifacts/contracts/shared/IService.sol/IService.json +75 -158
  164. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  166. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  167. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  168. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  169. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
  170. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  171. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  172. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  173. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  174. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  175. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  176. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  177. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +108 -35
  178. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  179. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  180. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  181. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +330 -75
  182. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  183. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +131 -60
  184. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  185. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  186. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  187. package/artifacts/contracts/shared/Service.sol/Service.json +178 -160
  188. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  189. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  190. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  191. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  192. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  194. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  195. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  196. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  197. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +993 -0
  198. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  199. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
  200. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  201. package/artifacts/contracts/staking/Staking.sol/Staking.json +2045 -0
  202. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  203. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +777 -0
  204. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  205. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  206. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  207. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1324 -0
  208. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  209. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +726 -0
  210. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  211. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
  212. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  213. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  214. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  215. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  216. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  217. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  218. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  219. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  220. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  221. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  222. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  223. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  224. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  226. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  227. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  228. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  229. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  230. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  231. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  232. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  233. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  234. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  235. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  236. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  237. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  238. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  239. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  240. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  242. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  243. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  244. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  245. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  246. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  247. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  248. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  249. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  250. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  251. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  252. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  253. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  254. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  255. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  256. package/contracts/distribution/Distribution.sol +261 -0
  257. package/contracts/distribution/DistributionService.sol +298 -0
  258. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  259. package/contracts/distribution/IDistributionComponent.sol +66 -0
  260. package/contracts/distribution/IDistributionService.sol +81 -0
  261. package/contracts/instance/BundleManager.sol +15 -14
  262. package/contracts/instance/IInstance.sol +53 -46
  263. package/contracts/instance/IInstanceService.sol +58 -17
  264. package/contracts/instance/Instance.sol +145 -179
  265. package/contracts/instance/InstanceAdmin.sol +331 -0
  266. package/contracts/instance/InstanceAuthorizationsLib.sol +349 -0
  267. package/contracts/instance/InstanceReader.sol +135 -63
  268. package/contracts/instance/InstanceService.sol +250 -250
  269. package/contracts/instance/InstanceServiceManager.sol +12 -22
  270. package/contracts/instance/InstanceStore.sol +260 -0
  271. package/contracts/instance/base/BalanceStore.sol +118 -0
  272. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  273. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +12 -14
  274. package/contracts/instance/module/IAccess.sol +19 -21
  275. package/contracts/instance/module/IBundle.sol +8 -8
  276. package/contracts/instance/module/IComponents.sol +52 -0
  277. package/contracts/instance/module/IDistribution.sol +7 -4
  278. package/contracts/instance/module/IPolicy.sol +56 -17
  279. package/contracts/instance/module/IRisk.sol +1 -1
  280. package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
  281. package/contracts/pool/BundleService.sol +296 -0
  282. package/contracts/pool/BundleServiceManager.sol +42 -0
  283. package/contracts/pool/IBundleService.sol +106 -0
  284. package/contracts/pool/IPoolComponent.sol +112 -0
  285. package/contracts/pool/IPoolService.sol +150 -0
  286. package/contracts/pool/Pool.sol +299 -0
  287. package/contracts/pool/PoolService.sol +453 -0
  288. package/contracts/pool/PoolServiceManager.sol +42 -0
  289. package/contracts/product/ApplicationService.sol +254 -0
  290. package/contracts/product/ApplicationServiceManager.sol +38 -0
  291. package/contracts/product/ClaimService.sol +442 -0
  292. package/contracts/product/ClaimServiceManager.sol +38 -0
  293. package/contracts/product/IApplicationService.sol +62 -0
  294. package/contracts/product/IClaimService.sol +93 -0
  295. package/contracts/product/IPolicyService.sol +78 -0
  296. package/contracts/product/IPricingService.sol +39 -0
  297. package/contracts/product/IProductComponent.sol +42 -0
  298. package/contracts/product/IProductService.sol +33 -0
  299. package/contracts/product/PolicyService.sol +475 -0
  300. package/contracts/product/PolicyServiceManager.sol +42 -0
  301. package/contracts/product/PricingService.sol +301 -0
  302. package/contracts/product/PricingServiceManager.sol +42 -0
  303. package/contracts/product/Product.sol +377 -0
  304. package/contracts/product/ProductService.sol +124 -0
  305. package/contracts/product/ProductServiceManager.sol +42 -0
  306. package/contracts/registry/ChainNft.sol +16 -1
  307. package/contracts/registry/IRegistry.sol +47 -21
  308. package/contracts/registry/IRegistryService.sol +42 -38
  309. package/contracts/registry/ITransferInterceptor.sol +1 -0
  310. package/contracts/registry/Registry.sol +220 -96
  311. package/contracts/registry/RegistryAdmin.sol +237 -0
  312. package/contracts/registry/RegistryService.sol +108 -104
  313. package/contracts/registry/RegistryServiceManager.sol +22 -26
  314. package/contracts/registry/ReleaseManager.sol +458 -191
  315. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  316. package/contracts/registry/TokenRegistry.sol +263 -60
  317. package/contracts/shared/AccessManagerCustom.sol +736 -0
  318. package/contracts/shared/AccessManagerExtended.sol +470 -0
  319. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  320. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  321. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  322. package/contracts/shared/Component.sol +278 -0
  323. package/contracts/shared/ComponentService.sol +596 -0
  324. package/contracts/shared/ComponentServiceManager.sol +35 -0
  325. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  326. package/contracts/shared/ERC165.sol +15 -13
  327. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  328. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  329. package/contracts/shared/IComponent.sol +70 -0
  330. package/contracts/shared/IComponentService.sol +91 -0
  331. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  332. package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
  333. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  334. package/contracts/shared/INftOwnable.sol +13 -12
  335. package/contracts/shared/IPolicyHolder.sol +45 -0
  336. package/contracts/shared/IRegisterable.sol +3 -3
  337. package/contracts/shared/IRegistryLinked.sol +11 -0
  338. package/contracts/shared/IService.sol +7 -5
  339. package/contracts/shared/IVersionable.sol +5 -48
  340. package/contracts/shared/InitializableCustom.sol +177 -0
  341. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  342. package/contracts/shared/KeyValueStore.sol +127 -0
  343. package/contracts/{instance/base → shared}/Lifecycle.sol +28 -7
  344. package/contracts/shared/NftIdSetManager.sol +65 -0
  345. package/contracts/shared/NftOwnable.sol +59 -91
  346. package/contracts/shared/PolicyHolder.sol +102 -0
  347. package/contracts/shared/ProxyManager.sol +131 -26
  348. package/contracts/shared/Registerable.sol +19 -30
  349. package/contracts/shared/RegistryLinked.sol +43 -0
  350. package/contracts/shared/Service.sol +38 -21
  351. package/contracts/shared/TokenHandler.sol +37 -6
  352. package/contracts/shared/Versionable.sol +4 -92
  353. package/contracts/staking/IStaking.sol +168 -0
  354. package/contracts/staking/IStakingService.sol +149 -0
  355. package/contracts/staking/StakeManagerLib.sol +179 -0
  356. package/contracts/staking/Staking.sol +551 -0
  357. package/contracts/staking/StakingManager.sol +54 -0
  358. package/contracts/staking/StakingReader.sol +187 -0
  359. package/contracts/staking/StakingService.sol +406 -0
  360. package/contracts/staking/StakingServiceManager.sol +45 -0
  361. package/contracts/staking/StakingStore.sol +572 -0
  362. package/contracts/staking/TargetManagerLib.sol +207 -0
  363. package/contracts/{types → type}/AddressSet.sol +1 -1
  364. package/contracts/type/Amount.sol +128 -0
  365. package/contracts/{types → type}/Blocknumber.sol +21 -3
  366. package/contracts/type/ClaimId.sol +75 -0
  367. package/contracts/{types → type}/DistributorType.sol +2 -2
  368. package/contracts/{types → type}/Fee.sol +33 -23
  369. package/contracts/{types → type}/NftId.sol +21 -15
  370. package/contracts/{types → type}/NftIdSet.sol +2 -2
  371. package/contracts/{types → type}/ObjectType.sol +26 -9
  372. package/contracts/type/PayoutId.sol +82 -0
  373. package/contracts/{types → type}/Referral.sol +5 -1
  374. package/contracts/{types → type}/RiskId.sol +1 -1
  375. package/contracts/type/RoleId.sol +143 -0
  376. package/contracts/type/Seconds.sol +81 -0
  377. package/contracts/{types → type}/StateId.sol +24 -6
  378. package/contracts/{types → type}/Timestamp.sol +18 -13
  379. package/contracts/{types → type}/UFixed.sol +1 -0
  380. package/contracts/{types → type}/Version.sol +2 -1
  381. package/package.json +5 -5
  382. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  383. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  384. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  385. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  386. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  387. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  388. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  389. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  390. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  391. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  392. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  393. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  394. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  395. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  396. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  397. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  398. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  399. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  400. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  401. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  402. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  403. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  404. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  405. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  406. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  407. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  408. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  409. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  410. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  411. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  412. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  413. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  414. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  415. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  416. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  417. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  418. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  419. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  420. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  421. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  422. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  423. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  424. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  425. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  426. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  427. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  428. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  429. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  430. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  431. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1034
  432. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  433. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  434. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  435. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +0 -603
  436. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  437. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  438. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  439. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  440. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  441. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  442. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  443. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  444. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  445. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  446. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1167
  447. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  448. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -449
  449. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  450. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -772
  451. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  452. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -437
  453. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  454. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  455. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  456. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  457. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  458. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  459. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1227
  460. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  461. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -505
  462. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  463. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -806
  464. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  465. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -437
  466. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  467. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -856
  468. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  469. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -437
  470. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  471. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  472. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  473. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  474. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  475. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  476. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  477. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -313
  478. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  479. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  480. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  481. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -608
  482. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  483. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  484. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  485. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  486. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  487. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  488. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  489. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  490. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  491. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  492. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  493. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  494. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  495. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  496. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  497. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  498. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  499. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  500. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  501. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  502. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  503. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  504. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  505. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  506. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  507. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  508. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  509. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  510. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  511. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  512. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  513. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  514. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  515. package/contracts/components/Component.sol +0 -247
  516. package/contracts/components/Distribution.sol +0 -143
  517. package/contracts/components/IComponent.sol +0 -50
  518. package/contracts/components/IDistributionComponent.sol +0 -47
  519. package/contracts/components/IPoolComponent.sol +0 -77
  520. package/contracts/components/IProductComponent.sol +0 -39
  521. package/contracts/components/Pool.sol +0 -257
  522. package/contracts/components/Product.sol +0 -263
  523. package/contracts/experiment/cloning/Cloner.sol +0 -47
  524. package/contracts/experiment/errors/Require.sol +0 -38
  525. package/contracts/experiment/errors/Revert.sol +0 -44
  526. package/contracts/experiment/inheritance/A.sol +0 -53
  527. package/contracts/experiment/inheritance/B.sol +0 -28
  528. package/contracts/experiment/inheritance/C.sol +0 -34
  529. package/contracts/experiment/inheritance/IA.sol +0 -13
  530. package/contracts/experiment/inheritance/IB.sol +0 -10
  531. package/contracts/experiment/inheritance/IC.sol +0 -12
  532. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  533. package/contracts/experiment/statemachine/ISM.sol +0 -25
  534. package/contracts/experiment/statemachine/SM.sol +0 -57
  535. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  536. package/contracts/experiment/types/TypeA.sol +0 -47
  537. package/contracts/experiment/types/TypeB.sol +0 -29
  538. package/contracts/instance/InstanceAccessManager.sol +0 -298
  539. package/contracts/instance/base/ComponentService.sol +0 -134
  540. package/contracts/instance/base/KeyValueStore.sol +0 -172
  541. package/contracts/instance/module/ISetup.sol +0 -46
  542. package/contracts/instance/module/ITreasury.sol +0 -23
  543. package/contracts/instance/service/BundleService.sol +0 -299
  544. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  545. package/contracts/instance/service/DistributionService.sol +0 -106
  546. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  547. package/contracts/instance/service/IBundleService.sol +0 -54
  548. package/contracts/instance/service/IDistributionService.sol +0 -12
  549. package/contracts/instance/service/IPolicyService.sol +0 -94
  550. package/contracts/instance/service/IPoolService.sol +0 -20
  551. package/contracts/instance/service/IProductService.sol +0 -40
  552. package/contracts/instance/service/PolicyService.sol +0 -519
  553. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  554. package/contracts/instance/service/PoolService.sol +0 -109
  555. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  556. package/contracts/instance/service/ProductService.sol +0 -232
  557. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  558. package/contracts/registry/RegistryAccessManager.sol +0 -216
  559. package/contracts/shared/ContractDeployerLib.sol +0 -72
  560. package/contracts/test/TestFee.sol +0 -25
  561. package/contracts/test/TestRegisterable.sol +0 -18
  562. package/contracts/test/TestRoleId.sol +0 -14
  563. package/contracts/test/TestService.sol +0 -25
  564. package/contracts/test/TestVersion.sol +0 -44
  565. package/contracts/test/TestVersionable.sol +0 -17
  566. package/contracts/test/Usdc.sol +0 -26
  567. package/contracts/types/ChainId.sol +0 -38
  568. package/contracts/types/NumberId.sol +0 -52
  569. package/contracts/types/RoleId.sol +0 -90
  570. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -3,6 +3,35 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "targetNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "getBalanceAmount",
25
+ "outputs": [
26
+ {
27
+ "internalType": "Amount",
28
+ "name": "",
29
+ "type": "uint96"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ },
6
35
  {
7
36
  "inputs": [
8
37
  {
@@ -43,24 +72,9 @@
43
72
  "type": "bytes"
44
73
  },
45
74
  {
46
- "internalType": "uint256",
47
- "name": "capitalAmount",
48
- "type": "uint256"
49
- },
50
- {
51
- "internalType": "uint256",
52
- "name": "lockedAmount",
53
- "type": "uint256"
54
- },
55
- {
56
- "internalType": "uint256",
57
- "name": "balanceAmount",
58
- "type": "uint256"
59
- },
60
- {
61
- "internalType": "uint256",
75
+ "internalType": "Seconds",
62
76
  "name": "lifetime",
63
- "type": "uint256"
77
+ "type": "uint40"
64
78
  },
65
79
  {
66
80
  "internalType": "Timestamp",
@@ -84,21 +98,82 @@
84
98
  {
85
99
  "inputs": [
86
100
  {
87
- "internalType": "ReferralId",
88
- "name": "referralId",
89
- "type": "bytes8"
101
+ "internalType": "NftId",
102
+ "name": "policyNftId",
103
+ "type": "uint96"
104
+ },
105
+ {
106
+ "internalType": "ClaimId",
107
+ "name": "claimId",
108
+ "type": "uint16"
90
109
  }
91
110
  ],
92
- "name": "getDiscountPercentage",
111
+ "name": "getClaimInfo",
93
112
  "outputs": [
94
113
  {
95
- "internalType": "UFixed",
96
- "name": "discountPercentage",
97
- "type": "uint256"
114
+ "components": [
115
+ {
116
+ "internalType": "Amount",
117
+ "name": "claimAmount",
118
+ "type": "uint96"
119
+ },
120
+ {
121
+ "internalType": "Amount",
122
+ "name": "paidAmount",
123
+ "type": "uint96"
124
+ },
125
+ {
126
+ "internalType": "uint8",
127
+ "name": "payoutsCount",
128
+ "type": "uint8"
129
+ },
130
+ {
131
+ "internalType": "uint8",
132
+ "name": "openPayoutsCount",
133
+ "type": "uint8"
134
+ },
135
+ {
136
+ "internalType": "bytes",
137
+ "name": "submissionData",
138
+ "type": "bytes"
139
+ },
140
+ {
141
+ "internalType": "bytes",
142
+ "name": "processData",
143
+ "type": "bytes"
144
+ },
145
+ {
146
+ "internalType": "Timestamp",
147
+ "name": "closedAt",
148
+ "type": "uint40"
149
+ }
150
+ ],
151
+ "internalType": "struct IPolicy.ClaimInfo",
152
+ "name": "info",
153
+ "type": "tuple"
154
+ }
155
+ ],
156
+ "stateMutability": "view",
157
+ "type": "function"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "NftId",
163
+ "name": "policyNftId",
164
+ "type": "uint96"
98
165
  },
99
166
  {
100
- "internalType": "ReferralStatus",
101
- "name": "status",
167
+ "internalType": "ClaimId",
168
+ "name": "claimId",
169
+ "type": "uint16"
170
+ }
171
+ ],
172
+ "name": "getClaimState",
173
+ "outputs": [
174
+ {
175
+ "internalType": "StateId",
176
+ "name": "state",
102
177
  "type": "uint8"
103
178
  }
104
179
  ],
@@ -109,53 +184,46 @@
109
184
  "inputs": [
110
185
  {
111
186
  "internalType": "NftId",
112
- "name": "distributionNftId",
187
+ "name": "componentNftId",
113
188
  "type": "uint96"
114
189
  }
115
190
  ],
116
- "name": "getDistributionSetupInfo",
191
+ "name": "getComponentInfo",
117
192
  "outputs": [
118
193
  {
119
194
  "components": [
195
+ {
196
+ "internalType": "string",
197
+ "name": "name",
198
+ "type": "string"
199
+ },
120
200
  {
121
201
  "internalType": "NftId",
122
202
  "name": "productNftId",
123
203
  "type": "uint96"
124
204
  },
125
205
  {
126
- "internalType": "contract TokenHandler",
127
- "name": "tokenHandler",
206
+ "internalType": "contract IERC20Metadata",
207
+ "name": "token",
128
208
  "type": "address"
129
209
  },
130
210
  {
131
- "components": [
132
- {
133
- "internalType": "UFixed",
134
- "name": "fractionalFee",
135
- "type": "uint256"
136
- },
137
- {
138
- "internalType": "uint256",
139
- "name": "fixedFee",
140
- "type": "uint256"
141
- }
142
- ],
143
- "internalType": "struct Fee",
144
- "name": "distributionFee",
145
- "type": "tuple"
146
- },
147
- {
148
- "internalType": "bool",
149
- "name": "isIntercepting",
150
- "type": "bool"
211
+ "internalType": "contract TokenHandler",
212
+ "name": "tokenHandler",
213
+ "type": "address"
151
214
  },
152
215
  {
153
216
  "internalType": "address",
154
217
  "name": "wallet",
155
218
  "type": "address"
219
+ },
220
+ {
221
+ "internalType": "bytes",
222
+ "name": "data",
223
+ "type": "bytes"
156
224
  }
157
225
  ],
158
- "internalType": "struct ISetup.DistributionSetupInfo",
226
+ "internalType": "struct IComponents.ComponentInfo",
159
227
  "name": "info",
160
228
  "type": "tuple"
161
229
  }
@@ -163,6 +231,30 @@
163
231
  "stateMutability": "view",
164
232
  "type": "function"
165
233
  },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "ReferralId",
238
+ "name": "referralId",
239
+ "type": "bytes8"
240
+ }
241
+ ],
242
+ "name": "getDiscountPercentage",
243
+ "outputs": [
244
+ {
245
+ "internalType": "UFixed",
246
+ "name": "discountPercentage",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "ReferralStatus",
251
+ "name": "status",
252
+ "type": "uint8"
253
+ }
254
+ ],
255
+ "stateMutability": "view",
256
+ "type": "function"
257
+ },
166
258
  {
167
259
  "inputs": [
168
260
  {
@@ -189,6 +281,16 @@
189
281
  "internalType": "bytes",
190
282
  "name": "data",
191
283
  "type": "bytes"
284
+ },
285
+ {
286
+ "internalType": "Amount",
287
+ "name": "commissionAmount",
288
+ "type": "uint96"
289
+ },
290
+ {
291
+ "internalType": "uint32",
292
+ "name": "numPoliciesSold",
293
+ "type": "uint32"
192
294
  }
193
295
  ],
194
296
  "internalType": "struct IDistribution.DistributorInfo",
@@ -265,6 +367,25 @@
265
367
  "stateMutability": "view",
266
368
  "type": "function"
267
369
  },
370
+ {
371
+ "inputs": [
372
+ {
373
+ "internalType": "NftId",
374
+ "name": "targetNftId",
375
+ "type": "uint96"
376
+ }
377
+ ],
378
+ "name": "getFeeAmount",
379
+ "outputs": [
380
+ {
381
+ "internalType": "Amount",
382
+ "name": "",
383
+ "type": "uint96"
384
+ }
385
+ ],
386
+ "stateMutability": "view",
387
+ "type": "function"
388
+ },
268
389
  {
269
390
  "inputs": [],
270
391
  "name": "getInstance",
@@ -291,6 +412,25 @@
291
412
  "stateMutability": "view",
292
413
  "type": "function"
293
414
  },
415
+ {
416
+ "inputs": [
417
+ {
418
+ "internalType": "NftId",
419
+ "name": "targetNftId",
420
+ "type": "uint96"
421
+ }
422
+ ],
423
+ "name": "getLockedAmount",
424
+ "outputs": [
425
+ {
426
+ "internalType": "Amount",
427
+ "name": "",
428
+ "type": "uint96"
429
+ }
430
+ ],
431
+ "stateMutability": "view",
432
+ "type": "function"
433
+ },
294
434
  {
295
435
  "inputs": [
296
436
  {
@@ -313,11 +453,6 @@
313
453
  "name": "state",
314
454
  "type": "uint8"
315
455
  },
316
- {
317
- "internalType": "address",
318
- "name": "updatedBy",
319
- "type": "address"
320
- },
321
456
  {
322
457
  "internalType": "Blocknumber",
323
458
  "name": "updatedIn",
@@ -337,6 +472,76 @@
337
472
  "stateMutability": "view",
338
473
  "type": "function"
339
474
  },
475
+ {
476
+ "inputs": [
477
+ {
478
+ "internalType": "NftId",
479
+ "name": "policyNftId",
480
+ "type": "uint96"
481
+ },
482
+ {
483
+ "internalType": "PayoutId",
484
+ "name": "payoutId",
485
+ "type": "uint24"
486
+ }
487
+ ],
488
+ "name": "getPayoutInfo",
489
+ "outputs": [
490
+ {
491
+ "components": [
492
+ {
493
+ "internalType": "ClaimId",
494
+ "name": "claimId",
495
+ "type": "uint16"
496
+ },
497
+ {
498
+ "internalType": "Amount",
499
+ "name": "amount",
500
+ "type": "uint96"
501
+ },
502
+ {
503
+ "internalType": "bytes",
504
+ "name": "data",
505
+ "type": "bytes"
506
+ },
507
+ {
508
+ "internalType": "Timestamp",
509
+ "name": "paidAt",
510
+ "type": "uint40"
511
+ }
512
+ ],
513
+ "internalType": "struct IPolicy.PayoutInfo",
514
+ "name": "info",
515
+ "type": "tuple"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [
523
+ {
524
+ "internalType": "NftId",
525
+ "name": "policyNftId",
526
+ "type": "uint96"
527
+ },
528
+ {
529
+ "internalType": "PayoutId",
530
+ "name": "payoutId",
531
+ "type": "uint24"
532
+ }
533
+ ],
534
+ "name": "getPayoutState",
535
+ "outputs": [
536
+ {
537
+ "internalType": "StateId",
538
+ "name": "state",
539
+ "type": "uint8"
540
+ }
541
+ ],
542
+ "stateMutability": "view",
543
+ "type": "function"
544
+ },
340
545
  {
341
546
  "inputs": [
342
547
  {
@@ -370,24 +575,24 @@
370
575
  "type": "bytes8"
371
576
  },
372
577
  {
373
- "internalType": "uint256",
578
+ "internalType": "Amount",
374
579
  "name": "sumInsuredAmount",
375
- "type": "uint256"
580
+ "type": "uint96"
376
581
  },
377
582
  {
378
- "internalType": "uint256",
583
+ "internalType": "Amount",
379
584
  "name": "premiumAmount",
380
- "type": "uint256"
585
+ "type": "uint96"
381
586
  },
382
587
  {
383
- "internalType": "uint256",
588
+ "internalType": "Amount",
384
589
  "name": "premiumPaidAmount",
385
- "type": "uint256"
590
+ "type": "uint96"
386
591
  },
387
592
  {
388
- "internalType": "uint256",
593
+ "internalType": "Seconds",
389
594
  "name": "lifetime",
390
- "type": "uint256"
595
+ "type": "uint40"
391
596
  },
392
597
  {
393
598
  "internalType": "bytes",
@@ -396,7 +601,7 @@
396
601
  },
397
602
  {
398
603
  "internalType": "bytes",
399
- "name": "policyData",
604
+ "name": "processData",
400
605
  "type": "bytes"
401
606
  },
402
607
  {
@@ -410,9 +615,14 @@
410
615
  "type": "uint16"
411
616
  },
412
617
  {
413
- "internalType": "uint256",
618
+ "internalType": "Amount",
619
+ "name": "claimAmount",
620
+ "type": "uint96"
621
+ },
622
+ {
623
+ "internalType": "Amount",
414
624
  "name": "payoutAmount",
415
- "type": "uint256"
625
+ "type": "uint96"
416
626
  },
417
627
  {
418
628
  "internalType": "Timestamp",
@@ -465,7 +675,7 @@
465
675
  "type": "uint96"
466
676
  }
467
677
  ],
468
- "name": "getPoolSetupInfo",
678
+ "name": "getPoolInfo",
469
679
  "outputs": [
470
680
  {
471
681
  "components": [
@@ -475,69 +685,23 @@
475
685
  "type": "uint96"
476
686
  },
477
687
  {
478
- "internalType": "contract TokenHandler",
479
- "name": "tokenHandler",
480
- "type": "address"
481
- },
482
- {
483
- "internalType": "UFixed",
484
- "name": "collateralizationLevel",
485
- "type": "uint256"
486
- },
487
- {
488
- "components": [
489
- {
490
- "internalType": "UFixed",
491
- "name": "fractionalFee",
492
- "type": "uint256"
493
- },
494
- {
495
- "internalType": "uint256",
496
- "name": "fixedFee",
497
- "type": "uint256"
498
- }
499
- ],
500
- "internalType": "struct Fee",
501
- "name": "poolFee",
502
- "type": "tuple"
688
+ "internalType": "RoleId",
689
+ "name": "bundleOwnerRole",
690
+ "type": "uint64"
503
691
  },
504
692
  {
505
- "components": [
506
- {
507
- "internalType": "UFixed",
508
- "name": "fractionalFee",
509
- "type": "uint256"
510
- },
511
- {
512
- "internalType": "uint256",
513
- "name": "fixedFee",
514
- "type": "uint256"
515
- }
516
- ],
517
- "internalType": "struct Fee",
518
- "name": "stakingFee",
519
- "type": "tuple"
693
+ "internalType": "Amount",
694
+ "name": "maxCapitalAmount",
695
+ "type": "uint96"
520
696
  },
521
697
  {
522
- "components": [
523
- {
524
- "internalType": "UFixed",
525
- "name": "fractionalFee",
526
- "type": "uint256"
527
- },
528
- {
529
- "internalType": "uint256",
530
- "name": "fixedFee",
531
- "type": "uint256"
532
- }
533
- ],
534
- "internalType": "struct Fee",
535
- "name": "performanceFee",
536
- "type": "tuple"
698
+ "internalType": "bool",
699
+ "name": "isInterceptingBundleTransfers",
700
+ "type": "bool"
537
701
  },
538
702
  {
539
703
  "internalType": "bool",
540
- "name": "isIntercepting",
704
+ "name": "isExternallyManaged",
541
705
  "type": "bool"
542
706
  },
543
707
  {
@@ -546,101 +710,14 @@
546
710
  "type": "bool"
547
711
  },
548
712
  {
549
- "internalType": "address",
550
- "name": "wallet",
551
- "type": "address"
552
- }
553
- ],
554
- "internalType": "struct ISetup.PoolSetupInfo",
555
- "name": "info",
556
- "type": "tuple"
557
- }
558
- ],
559
- "stateMutability": "view",
560
- "type": "function"
561
- },
562
- {
563
- "inputs": [
564
- {
565
- "internalType": "NftId",
566
- "name": "productNftId",
567
- "type": "uint96"
568
- }
569
- ],
570
- "name": "getProductSetupInfo",
571
- "outputs": [
572
- {
573
- "components": [
574
- {
575
- "internalType": "contract IERC20Metadata",
576
- "name": "token",
577
- "type": "address"
578
- },
579
- {
580
- "internalType": "contract TokenHandler",
581
- "name": "tokenHandler",
582
- "type": "address"
583
- },
584
- {
585
- "internalType": "NftId",
586
- "name": "distributionNftId",
587
- "type": "uint96"
588
- },
589
- {
590
- "internalType": "NftId",
591
- "name": "poolNftId",
592
- "type": "uint96"
593
- },
594
- {
595
- "components": [
596
- {
597
- "internalType": "UFixed",
598
- "name": "fractionalFee",
599
- "type": "uint256"
600
- },
601
- {
602
- "internalType": "uint256",
603
- "name": "fixedFee",
604
- "type": "uint256"
605
- }
606
- ],
607
- "internalType": "struct Fee",
608
- "name": "distributionFee",
609
- "type": "tuple"
610
- },
611
- {
612
- "components": [
613
- {
614
- "internalType": "UFixed",
615
- "name": "fractionalFee",
616
- "type": "uint256"
617
- },
618
- {
619
- "internalType": "uint256",
620
- "name": "fixedFee",
621
- "type": "uint256"
622
- }
623
- ],
624
- "internalType": "struct Fee",
625
- "name": "productFee",
626
- "type": "tuple"
713
+ "internalType": "UFixed",
714
+ "name": "collateralizationLevel",
715
+ "type": "uint256"
627
716
  },
628
717
  {
629
- "components": [
630
- {
631
- "internalType": "UFixed",
632
- "name": "fractionalFee",
633
- "type": "uint256"
634
- },
635
- {
636
- "internalType": "uint256",
637
- "name": "fixedFee",
638
- "type": "uint256"
639
- }
640
- ],
641
- "internalType": "struct Fee",
642
- "name": "processingFee",
643
- "type": "tuple"
718
+ "internalType": "UFixed",
719
+ "name": "retentionLevel",
720
+ "type": "uint256"
644
721
  },
645
722
  {
646
723
  "components": [
@@ -691,128 +768,12 @@
691
768
  ],
692
769
  "internalType": "struct Fee",
693
770
  "name": "performanceFee",
694
- "type": "tuple"
695
- },
696
- {
697
- "internalType": "bool",
698
- "name": "isIntercepting",
699
- "type": "bool"
700
- },
701
- {
702
- "internalType": "address",
703
- "name": "wallet",
704
- "type": "address"
705
- }
706
- ],
707
- "internalType": "struct ISetup.ProductSetupInfo",
708
- "name": "info",
709
- "type": "tuple"
710
- }
711
- ],
712
- "stateMutability": "view",
713
- "type": "function"
714
- },
715
- {
716
- "inputs": [
717
- {
718
- "internalType": "ReferralId",
719
- "name": "referralId",
720
- "type": "bytes8"
721
- }
722
- ],
723
- "name": "getReferralInfo",
724
- "outputs": [
725
- {
726
- "components": [
727
- {
728
- "internalType": "NftId",
729
- "name": "distributorNftId",
730
- "type": "uint96"
731
- },
732
- {
733
- "internalType": "string",
734
- "name": "referralCode",
735
- "type": "string"
736
- },
737
- {
738
- "internalType": "UFixed",
739
- "name": "discountPercentage",
740
- "type": "uint256"
741
- },
742
- {
743
- "internalType": "uint32",
744
- "name": "maxReferrals",
745
- "type": "uint32"
746
- },
747
- {
748
- "internalType": "uint32",
749
- "name": "usedReferrals",
750
- "type": "uint32"
751
- },
752
- {
753
- "internalType": "Timestamp",
754
- "name": "expiryAt",
755
- "type": "uint40"
756
- },
757
- {
758
- "internalType": "bytes",
759
- "name": "data",
760
- "type": "bytes"
761
- }
762
- ],
763
- "internalType": "struct IDistribution.ReferralInfo",
764
- "name": "info",
765
- "type": "tuple"
766
- }
767
- ],
768
- "stateMutability": "view",
769
- "type": "function"
770
- },
771
- {
772
- "inputs": [
773
- {
774
- "internalType": "RiskId",
775
- "name": "riskId",
776
- "type": "bytes8"
777
- }
778
- ],
779
- "name": "getRiskInfo",
780
- "outputs": [
781
- {
782
- "components": [
783
- {
784
- "internalType": "NftId",
785
- "name": "productNftId",
786
- "type": "uint96"
787
- },
788
- {
789
- "internalType": "bytes",
790
- "name": "data",
791
- "type": "bytes"
792
- }
793
- ],
794
- "internalType": "struct IRisk.RiskInfo",
795
- "name": "info",
796
- "type": "tuple"
797
- }
798
- ],
799
- "stateMutability": "view",
800
- "type": "function"
801
- },
802
- {
803
- "inputs": [
804
- {
805
- "internalType": "NftId",
806
- "name": "productNftId",
807
- "type": "uint96"
808
- }
809
- ],
810
- "name": "getTokenHandler",
811
- "outputs": [
812
- {
813
- "internalType": "address",
814
- "name": "tokenHandler",
815
- "type": "address"
771
+ "type": "tuple"
772
+ }
773
+ ],
774
+ "internalType": "struct IComponents.PoolInfo",
775
+ "name": "info",
776
+ "type": "tuple"
816
777
  }
817
778
  ],
818
779
  "stateMutability": "view",
@@ -826,20 +787,10 @@
826
787
  "type": "uint96"
827
788
  }
828
789
  ],
829
- "name": "getTreasuryInfo",
790
+ "name": "getProductInfo",
830
791
  "outputs": [
831
792
  {
832
793
  "components": [
833
- {
834
- "internalType": "contract IERC20Metadata",
835
- "name": "token",
836
- "type": "address"
837
- },
838
- {
839
- "internalType": "contract TokenHandler",
840
- "name": "tokenHandler",
841
- "type": "address"
842
- },
843
794
  {
844
795
  "internalType": "NftId",
845
796
  "name": "distributionNftId",
@@ -864,7 +815,7 @@
864
815
  }
865
816
  ],
866
817
  "internalType": "struct Fee",
867
- "name": "distributionFee",
818
+ "name": "productFee",
868
819
  "type": "tuple"
869
820
  },
870
821
  {
@@ -881,7 +832,7 @@
881
832
  }
882
833
  ],
883
834
  "internalType": "struct Fee",
884
- "name": "productFee",
835
+ "name": "processingFee",
885
836
  "type": "tuple"
886
837
  },
887
838
  {
@@ -898,7 +849,24 @@
898
849
  }
899
850
  ],
900
851
  "internalType": "struct Fee",
901
- "name": "processingFee",
852
+ "name": "distributionFee",
853
+ "type": "tuple"
854
+ },
855
+ {
856
+ "components": [
857
+ {
858
+ "internalType": "UFixed",
859
+ "name": "fractionalFee",
860
+ "type": "uint256"
861
+ },
862
+ {
863
+ "internalType": "uint256",
864
+ "name": "fixedFee",
865
+ "type": "uint256"
866
+ }
867
+ ],
868
+ "internalType": "struct Fee",
869
+ "name": "minDistributionOwnerFee",
902
870
  "type": "tuple"
903
871
  },
904
872
  {
@@ -953,7 +921,94 @@
953
921
  "type": "tuple"
954
922
  }
955
923
  ],
956
- "internalType": "struct ITreasury.TreasuryInfo",
924
+ "internalType": "struct IComponents.ProductInfo",
925
+ "name": "info",
926
+ "type": "tuple"
927
+ }
928
+ ],
929
+ "stateMutability": "view",
930
+ "type": "function"
931
+ },
932
+ {
933
+ "inputs": [
934
+ {
935
+ "internalType": "ReferralId",
936
+ "name": "referralId",
937
+ "type": "bytes8"
938
+ }
939
+ ],
940
+ "name": "getReferralInfo",
941
+ "outputs": [
942
+ {
943
+ "components": [
944
+ {
945
+ "internalType": "NftId",
946
+ "name": "distributorNftId",
947
+ "type": "uint96"
948
+ },
949
+ {
950
+ "internalType": "string",
951
+ "name": "referralCode",
952
+ "type": "string"
953
+ },
954
+ {
955
+ "internalType": "UFixed",
956
+ "name": "discountPercentage",
957
+ "type": "uint256"
958
+ },
959
+ {
960
+ "internalType": "uint32",
961
+ "name": "maxReferrals",
962
+ "type": "uint32"
963
+ },
964
+ {
965
+ "internalType": "uint32",
966
+ "name": "usedReferrals",
967
+ "type": "uint32"
968
+ },
969
+ {
970
+ "internalType": "Timestamp",
971
+ "name": "expiryAt",
972
+ "type": "uint40"
973
+ },
974
+ {
975
+ "internalType": "bytes",
976
+ "name": "data",
977
+ "type": "bytes"
978
+ }
979
+ ],
980
+ "internalType": "struct IDistribution.ReferralInfo",
981
+ "name": "info",
982
+ "type": "tuple"
983
+ }
984
+ ],
985
+ "stateMutability": "view",
986
+ "type": "function"
987
+ },
988
+ {
989
+ "inputs": [
990
+ {
991
+ "internalType": "RiskId",
992
+ "name": "riskId",
993
+ "type": "bytes8"
994
+ }
995
+ ],
996
+ "name": "getRiskInfo",
997
+ "outputs": [
998
+ {
999
+ "components": [
1000
+ {
1001
+ "internalType": "NftId",
1002
+ "name": "productNftId",
1003
+ "type": "uint96"
1004
+ },
1005
+ {
1006
+ "internalType": "bytes",
1007
+ "name": "data",
1008
+ "type": "bytes"
1009
+ }
1010
+ ],
1011
+ "internalType": "struct IRisk.RiskInfo",
957
1012
  "name": "info",
958
1013
  "type": "tuple"
959
1014
  }
@@ -963,11 +1018,25 @@
963
1018
  },
964
1019
  {
965
1020
  "inputs": [
1021
+ {
1022
+ "internalType": "NftId",
1023
+ "name": "componentNftId",
1024
+ "type": "uint96"
1025
+ }
1026
+ ],
1027
+ "name": "getTokenHandler",
1028
+ "outputs": [
966
1029
  {
967
1030
  "internalType": "address",
968
- "name": "registry",
1031
+ "name": "tokenHandler",
969
1032
  "type": "address"
970
- },
1033
+ }
1034
+ ],
1035
+ "stateMutability": "view",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
971
1040
  {
972
1041
  "internalType": "address",
973
1042
  "name": "instance",
@@ -979,6 +1048,25 @@
979
1048
  "stateMutability": "nonpayable",
980
1049
  "type": "function"
981
1050
  },
1051
+ {
1052
+ "inputs": [
1053
+ {
1054
+ "internalType": "NftId",
1055
+ "name": "policyNftId",
1056
+ "type": "uint96"
1057
+ }
1058
+ ],
1059
+ "name": "policyIsCloseable",
1060
+ "outputs": [
1061
+ {
1062
+ "internalType": "bool",
1063
+ "name": "isCloseable",
1064
+ "type": "bool"
1065
+ }
1066
+ ],
1067
+ "stateMutability": "view",
1068
+ "type": "function"
1069
+ },
982
1070
  {
983
1071
  "inputs": [
984
1072
  {
@@ -998,6 +1086,25 @@
998
1086
  "stateMutability": "pure",
999
1087
  "type": "function"
1000
1088
  },
1089
+ {
1090
+ "inputs": [
1091
+ {
1092
+ "internalType": "NftId",
1093
+ "name": "componentNftId",
1094
+ "type": "uint96"
1095
+ }
1096
+ ],
1097
+ "name": "toComponentKey",
1098
+ "outputs": [
1099
+ {
1100
+ "internalType": "Key32",
1101
+ "name": "",
1102
+ "type": "bytes32"
1103
+ }
1104
+ ],
1105
+ "stateMutability": "pure",
1106
+ "type": "function"
1107
+ },
1001
1108
  {
1002
1109
  "inputs": [
1003
1110
  {
@@ -1136,25 +1243,6 @@
1136
1243
  "stateMutability": "pure",
1137
1244
  "type": "function"
1138
1245
  },
1139
- {
1140
- "inputs": [
1141
- {
1142
- "internalType": "NftId",
1143
- "name": "productNftId",
1144
- "type": "uint96"
1145
- }
1146
- ],
1147
- "name": "toTreasuryKey",
1148
- "outputs": [
1149
- {
1150
- "internalType": "Key32",
1151
- "name": "",
1152
- "type": "bytes32"
1153
- }
1154
- ],
1155
- "stateMutability": "pure",
1156
- "type": "function"
1157
- },
1158
1246
  {
1159
1247
  "inputs": [
1160
1248
  {
@@ -1180,200 +1268,296 @@
1180
1268
  "type": "function"
1181
1269
  }
1182
1270
  ],
1183
- "bytecode": "0x608060405234801561001057600080fd5b50612dd0806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063bd7d9d8511610097578063dd26287a11610071578063dd26287a146104f1578063de7b5d1414610504578063f2b246c314610515578063f7f318d31461053557600080fd5b8063bd7d9d85146104a0578063d06458c6146104c0578063d4cda0d8146104e057600080fd5b80639ad69c67116100d35780639ad69c671461036c578063a310e2a3146103de578063a5961b4c14610409578063b82d7ef51461047657600080fd5b8063887b1fa9146103075780639096a1f31461032757806390af70641461034c57600080fd5b806344aa68361161016657806355e343a91161014057806355e343a9146102ae57806364eb3a9b146102ce5780637bfd3217146102e15780637e54602a146102f457600080fd5b806344aa6836146102665780634793b4ab14610279578063485cc9551461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc36600461193c565b610548565b6040519081526020015b60405180910390f35b6101e76101e236600461198b565b6105ce565b6040516101cb91906119f8565b6101c1610202366004611aa8565b610720565b61021a610215366004611aa8565b6107c0565b6040516101cb9190611ac5565b6101c1610235366004611aa8565b61087a565b61024d610248366004611c6f565b6108a7565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d01565b610924565b61028c610287366004611aa8565b61095f565b6040516101cb9190611d1a565b6102ac6102a7366004611de3565b610a05565b005b6102c16102bc366004611aa8565b610b10565b6040516101cb9190611e11565b6101c16102dc366004611aa8565b610c28565b6101c16102ef366004611aa8565b610c55565b6101c1610302366004611aa8565b610c82565b61031a61031536600461198b565b610caf565b6040516101cb9190611ed1565b61033a610335366004611aa8565b610dd8565b60405160ff90911681526020016101cb565b61035f61035a366004611aa8565b610e54565b6040516101cb9190611eff565b61037f61037a366004611aa8565b610efa565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103f16103ec366004611aa8565b610fa0565b6040516001600160a01b0390911681526020016101cb565b61041c610417366004611d01565b61104e565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61048961048436600461198b565b6110e2565b6040805192835260ff9091166020830152016101cb565b6104b36104ae366004611aa8565b61138a565b6040516101cb9190612029565b6104d36104ce36600461198b565b6114a8565b6040516101cb919061216a565b6002546001600160a01b03166103f1565b6101c16104ff366004611aa8565b61161b565b6001546001600160a01b03166103f1565b610528610523366004611aa8565b611648565b6040516101cb919061221a565b6101c1610543366004611aa8565b611790565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c7919061231c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610675573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610699919061231c565b6040518263ffffffff1660e01b81526004016106b791815260200190565b600060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106fc919081019061237a565b80519091501561071a57808060200190518101906105c791906123f0565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061231c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107f985610c82565b6040518263ffffffff1660e01b815260040161081791815260200190565b600060405180830381865afa158015610834573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261085c919081019061237a565b80519091501561071a57808060200190518101906105c791906124e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610749565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108e3908690869060040161258f565b602060405180830381865af4158015610900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c791906125b1565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610779565b6109676117bd565b6002546000906001600160a01b03166354f6127f61098485611790565b6040518263ffffffff1660e01b81526004016109a291815260200190565b600060405180830381865afa1580156109bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e7919081019061237a565b80519091501561071a57808060200190518101906105c791906125fe565b60005460ff1615610a675760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216610abd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401610a5e565b60008054600180546001600160a01b039485166001600160a01b0319918216811783556002805490921617905560ff199390941661010002929092166001600160a81b0319909216919091179091179055565b610b8a60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ba78561161b565b6040518263ffffffff1660e01b8152600401610bc591815260200190565b600060405180830381865afa158015610be2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0a919081019061237a565b80519091501561071a57808060200190518101906105c791906126e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610749565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d57919061231c565b6040518263ffffffff1660e01b8152600401610d7591815260200190565b600060405180830381865afa158015610d92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dba919081019061237a565b80519091501561071a57808060200190518101906105c7919061279e565b6001546000906001600160a01b03166309648a9d610df584610c28565b6040518263ffffffff1660e01b8152600401610e1391815260200190565b602060405180830381865afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061282c565b610e5c61183b565b6002546000906001600160a01b03166354f6127f610e7985610c55565b6040518263ffffffff1660e01b8152600401610e9791815260200190565b600060405180830381865afa158015610eb4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edc919081019061237a565b80519091501561071a57808060200190518101906105c79190612849565b610f026118f4565b6002546000906001600160a01b03166354f6127f610f1f8561087a565b6040518263ffffffff1660e01b8152600401610f3d91815260200190565b600060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f82919081019061237a565b80519091501561071a57808060200190518101906105c79190612940565b60025460009081906001600160a01b03166354f6127f610fbf85610720565b6040518263ffffffff1660e01b8152600401610fdd91815260200190565b600060405180830381865afa158015610ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611022919081019061237a565b80519091501561071a5760008180602001905181019061104291906129b7565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba9190612a88565b60008060006110f0846105ce565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561114f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111739190612af6565b156111f25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e5919061231c565b60645b9250925050915091565b6112768160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112679190612b11565b64ffffffffff90811691161090565b156112ef5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e8919061231c565b606e6111e8565b806060015163ffffffff16816080015163ffffffff161061137e5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611377919061231c565b60786111e8565b6040810151600a6111e8565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61142785610c28565b6040518263ffffffff1660e01b815260040161144591815260200190565b600060405180830381865afa158015611462573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261148a919081019061237a565b80519091501561071a57808060200190518101906105c79190612b3e565b61150760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159a919061231c565b6040518263ffffffff1660e01b81526004016115b891815260200190565b600060405180830381865afa1580156115d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115fd919081019061237a565b80519091501561071a57808060200190518101906105c79190612ca3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610749565b6116f2604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61170f85610720565b6040518263ffffffff1660e01b815260040161172d91815260200190565b600060405180830381865afa15801561174a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611772919081019061237a565b80519091501561071a57808060200190518101906105c791906129b7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610749565b60405180610120016040528060006001600160601b031681526020016117f6604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e0604051806040016040528060008152602001600081525090565b6000806040838503121561194f57600080fd5b8235915060208301358060000b811461196757600080fd5b809150509250929050565b6001600160c01b03198116811461198857600080fd5b50565b60006020828403121561199d57600080fd5b81356105c781611972565b60005b838110156119c35781810151838201526020016119ab565b50506000910152565b600081518084526119e48160208601602086016119a8565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a286101008401826119cc565b90506040840151606084015263ffffffff60608501511660808401526080840151611a5b60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a8a82826119cc565b95945050505050565b6001600160601b038116811461198857600080fd5b600060208284031215611aba57600080fd5b81356105c781611a93565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b0260808401826119cc565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b4257611b42611b0a565b60405290565b604080519081016001600160401b0381118282101715611b4257611b42611b0a565b60405161012081016001600160401b0381118282101715611b4257611b42611b0a565b60405161018081016001600160401b0381118282101715611b4257611b42611b0a565b60405160a081016001600160401b0381118282101715611b4257611b42611b0a565b60405161014081016001600160401b0381118282101715611b4257611b42611b0a565b60405161020081016001600160401b0381118282101715611b4257611b42611b0a565b604051601f8201601f191681016001600160401b0381118282101715611c4057611c40611b0a565b604052919050565b60006001600160401b03821115611c6157611c61611b0a565b50601f01601f191660200190565b60008060408385031215611c8257600080fd5b8235611c8d81611a93565b915060208301356001600160401b03811115611ca857600080fd5b8301601f81018513611cb957600080fd5b8035611ccc611cc782611c48565b611c18565b818152866020838501011115611ce157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d1357600080fd5b5035919050565b60208152611d346020820183516001600160601b03169052565b60006020830151611d52604084018280518252602090810151910152565b506040830151610140806080850152611d6f6101608501836119cc565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611db761012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461198857600080fd5b60008060408385031215611df657600080fd5b8235611e0181611dce565b9150602083013561196781611dce565b81516001600160601b03168152602080830151610180830191611e3e908401826001600160a01b03169052565b50604083015160408301526060830151611e65606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b0260608401826119cc565b81516001600160a01b0316815261024081016020830151611f2b60208401826001600160a01b03169052565b506040830151611f4660408401826001600160601b03169052565b506060830151611f6160608401826001600160601b03169052565b506080830151611f7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611fb48185018380518252602090810151910152565b60e08501519150610140611fd48186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152611eca565b602081526120436020820183516001600160601b03169052565b6000602083015161205f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120d76102208601846119cc565b9250808601519050610140601f1986850301818701526120f784836119cc565b9350808701519150506101606121128187018361ffff169052565b86015190506101806121298682018361ffff169052565b8601516101a08681019190915286015190506101c06121508187018364ffffffffff169052565b86015190506101e0611db78682018364ffffffffff169052565b60208152600082516101208060208501526121896101408501836119cc565b915060208501516040850152604085015160608501526060850151608085015260808501516121c060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121f68187018315159052565b860151858403601f190183870152905061221083826119cc565b9695505050505050565b81516001600160a01b031681526102008101602083015161224660208401826001600160a01b03169052565b50604083015161226160408401826001600160601b03169052565b50606083015161227c60608401826001600160601b03169052565b506080830151612299608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122cf8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611eca565b60006020828403121561232e57600080fd5b5051919050565b600082601f83011261234657600080fd5b8151612354611cc782611c48565b81815284602083860101111561236957600080fd5b611b028260208301602087016119a8565b60006020828403121561238c57600080fd5b81516001600160401b038111156123a257600080fd5b611b0284828501612335565b80516123b981611a93565b919050565b63ffffffff8116811461198857600080fd5b80516123b9816123be565b805164ffffffffff811681146123b957600080fd5b60006020828403121561240257600080fd5b81516001600160401b038082111561241957600080fd5b9083019060e0828603121561242d57600080fd5b612435611b20565b61243e836123ae565b815260208301518281111561245257600080fd5b61245e87828601612335565b6020830152506040830151604082015261247a606084016123d0565b606082015261248b608084016123d0565b608082015261249c60a084016123db565b60a082015260c0830151828111156124b357600080fd5b6124bf87828601612335565b60c08301525095945050505050565b80516123b981611972565b805180151581146123b957600080fd5b6000602082840312156124fb57600080fd5b81516001600160401b038082111561251257600080fd5b908301906060828603121561252657600080fd5b60405160608101818110838211171561254157612541611b0a565b604052825161254f81611972565b815261255d602084016124d9565b602082015260408301518281111561257457600080fd5b61258087828601612335565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b0260408301846119cc565b6000602082840312156125c357600080fd5b81516105c781611972565b6000604082840312156125e057600080fd5b6125e8611b48565b9050815181526020820151602082015292915050565b60006020828403121561261057600080fd5b81516001600160401b038082111561262757600080fd5b90830190610140828603121561263c57600080fd5b612644611b6a565b61264d836123ae565b815261265c86602085016125ce565b602082015260608301518281111561267357600080fd5b61267f87828601612335565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506126bd8284016123db565b60e08201526126cf61012084016123db565b91810191909152949350505050565b80516123b981611dce565b600061018082840312156126fc57600080fd5b612704611b6a565b61270d836123ae565b815261271b602084016126de565b60208201526040830151604082015261273784606085016125ce565b60608201526127498460a085016125ce565b608082015261275b8460e085016125ce565b60a082015261276d61012084016124d9565b60c082015261277f61014084016124d9565b60e082015261279161016084016126de565b6101008201529392505050565b6000602082840312156127b057600080fd5b81516001600160401b03808211156127c757600080fd5b90830190604082860312156127db57600080fd5b6127e3611b48565b82516127ee81611a93565b815260208301518281111561280257600080fd5b61280e87828601612335565b60208301525095945050505050565b60ff8116811461198857600080fd5b60006020828403121561283e57600080fd5b81516105c78161281d565b6000610240828403121561285c57600080fd5b612864611b8d565b61286d836126de565b815261287b602084016126de565b602082015261288c604084016123ae565b604082015261289d606084016123ae565b60608201526128af84608085016125ce565b60808201526128c18460c085016125ce565b60a08201526101006128d5858286016125ce565b60c08301526101406128e9868287016125ce565b60e08401526128fc8661018087016125ce565b8284015261290e866101c087016125ce565b61012084015261292161020086016124d9565b908301525061293361022084016126de565b6101608201529392505050565b600060c0828403121561295257600080fd5b61295a611bb0565b825161296581611a93565b8152602083015161297581611dce565b602082015261298784604085016125ce565b6040820152612998608084016124d9565b606082015260a08301516129ab81611dce565b60808201529392505050565b600061020082840312156129ca57600080fd5b6129d2611bd2565b6129db836126de565b81526129e9602084016126de565b60208201526129fa604084016123ae565b6040820152612a0b606084016123ae565b6060820152612a1d84608085016125ce565b6080820152612a2f8460c085016125ce565b60a0820152610100612a43858286016125ce565b60c0830152612a568561014086016125ce565b60e0830152612a698561018086016125ce565b90820152612a7b846101c085016125ce565b6101208201529392505050565b600060a08284031215612a9a57600080fd5b612aa2611bb0565b8251612aad8161281d565b81526020830151612abd8161281d565b60208201526040830151612ad081611dce565b60408201526060830151612ae3816123be565b606082015260808301516129ab816123be565b600060208284031215612b0857600080fd5b6105c7826124d9565b600060208284031215612b2357600080fd5b6105c7826123db565b805161ffff811681146123b957600080fd5b600060208284031215612b5057600080fd5b81516001600160401b0380821115612b6757600080fd5b908301906102008286031215612b7c57600080fd5b612b84611bf5565b612b8d836123ae565b8152612b9b602084016123ae565b6020820152612bac604084016124ce565b6040820152612bbd606084016124ce565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612bfe57600080fd5b612c0a88828701612335565b8284015250506101208084015183811115612c2457600080fd5b612c3088828701612335565b8284015250506101409150612c46828401612b2c565b828201526101609150612c5a828401612b2c565b82820152610180915081830151828201526101a09150612c7b8284016123db565b828201526101c09150612c8f8284016123db565b828201526101e091506126cf8284016123db565b600060208284031215612cb557600080fd5b81516001600160401b0380821115612ccc57600080fd5b908301906101208286031215612ce157600080fd5b612ce9611b6a565b825182811115612cf857600080fd5b612d0487828601612335565b825250602083015160208201526040830151604082015260608301516060820152612d31608084016123d0565b6080820152612d4260a084016123d0565b60a0820152612d5360c084016124d9565b60c0820152612d6460e084016124d9565b60e08201526101008084015183811115612d7d57600080fd5b612d8988828701612335565b91830191909152509594505050505056fea264697066735822122041a7bf34618c14f1681ef9f12865d9da847d726494b8c31460a4416924c8ead964736f6c63430008140033",
1184
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063bd7d9d8511610097578063dd26287a11610071578063dd26287a146104f1578063de7b5d1414610504578063f2b246c314610515578063f7f318d31461053557600080fd5b8063bd7d9d85146104a0578063d06458c6146104c0578063d4cda0d8146104e057600080fd5b80639ad69c67116100d35780639ad69c671461036c578063a310e2a3146103de578063a5961b4c14610409578063b82d7ef51461047657600080fd5b8063887b1fa9146103075780639096a1f31461032757806390af70641461034c57600080fd5b806344aa68361161016657806355e343a91161014057806355e343a9146102ae57806364eb3a9b146102ce5780637bfd3217146102e15780637e54602a146102f457600080fd5b806344aa6836146102665780634793b4ab14610279578063485cc9551461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc36600461193c565b610548565b6040519081526020015b60405180910390f35b6101e76101e236600461198b565b6105ce565b6040516101cb91906119f8565b6101c1610202366004611aa8565b610720565b61021a610215366004611aa8565b6107c0565b6040516101cb9190611ac5565b6101c1610235366004611aa8565b61087a565b61024d610248366004611c6f565b6108a7565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d01565b610924565b61028c610287366004611aa8565b61095f565b6040516101cb9190611d1a565b6102ac6102a7366004611de3565b610a05565b005b6102c16102bc366004611aa8565b610b10565b6040516101cb9190611e11565b6101c16102dc366004611aa8565b610c28565b6101c16102ef366004611aa8565b610c55565b6101c1610302366004611aa8565b610c82565b61031a61031536600461198b565b610caf565b6040516101cb9190611ed1565b61033a610335366004611aa8565b610dd8565b60405160ff90911681526020016101cb565b61035f61035a366004611aa8565b610e54565b6040516101cb9190611eff565b61037f61037a366004611aa8565b610efa565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103f16103ec366004611aa8565b610fa0565b6040516001600160a01b0390911681526020016101cb565b61041c610417366004611d01565b61104e565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61048961048436600461198b565b6110e2565b6040805192835260ff9091166020830152016101cb565b6104b36104ae366004611aa8565b61138a565b6040516101cb9190612029565b6104d36104ce36600461198b565b6114a8565b6040516101cb919061216a565b6002546001600160a01b03166103f1565b6101c16104ff366004611aa8565b61161b565b6001546001600160a01b03166103f1565b610528610523366004611aa8565b611648565b6040516101cb919061221a565b6101c1610543366004611aa8565b611790565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c7919061231c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610675573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610699919061231c565b6040518263ffffffff1660e01b81526004016106b791815260200190565b600060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106fc919081019061237a565b80519091501561071a57808060200190518101906105c791906123f0565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061231c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107f985610c82565b6040518263ffffffff1660e01b815260040161081791815260200190565b600060405180830381865afa158015610834573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261085c919081019061237a565b80519091501561071a57808060200190518101906105c791906124e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610749565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108e3908690869060040161258f565b602060405180830381865af4158015610900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c791906125b1565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610779565b6109676117bd565b6002546000906001600160a01b03166354f6127f61098485611790565b6040518263ffffffff1660e01b81526004016109a291815260200190565b600060405180830381865afa1580156109bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e7919081019061237a565b80519091501561071a57808060200190518101906105c791906125fe565b60005460ff1615610a675760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216610abd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401610a5e565b60008054600180546001600160a01b039485166001600160a01b0319918216811783556002805490921617905560ff199390941661010002929092166001600160a81b0319909216919091179091179055565b610b8a60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ba78561161b565b6040518263ffffffff1660e01b8152600401610bc591815260200190565b600060405180830381865afa158015610be2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0a919081019061237a565b80519091501561071a57808060200190518101906105c791906126e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610749565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d57919061231c565b6040518263ffffffff1660e01b8152600401610d7591815260200190565b600060405180830381865afa158015610d92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dba919081019061237a565b80519091501561071a57808060200190518101906105c7919061279e565b6001546000906001600160a01b03166309648a9d610df584610c28565b6040518263ffffffff1660e01b8152600401610e1391815260200190565b602060405180830381865afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061282c565b610e5c61183b565b6002546000906001600160a01b03166354f6127f610e7985610c55565b6040518263ffffffff1660e01b8152600401610e9791815260200190565b600060405180830381865afa158015610eb4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edc919081019061237a565b80519091501561071a57808060200190518101906105c79190612849565b610f026118f4565b6002546000906001600160a01b03166354f6127f610f1f8561087a565b6040518263ffffffff1660e01b8152600401610f3d91815260200190565b600060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f82919081019061237a565b80519091501561071a57808060200190518101906105c79190612940565b60025460009081906001600160a01b03166354f6127f610fbf85610720565b6040518263ffffffff1660e01b8152600401610fdd91815260200190565b600060405180830381865afa158015610ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611022919081019061237a565b80519091501561071a5760008180602001905181019061104291906129b7565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba9190612a88565b60008060006110f0846105ce565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561114f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111739190612af6565b156111f25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e5919061231c565b60645b9250925050915091565b6112768160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112679190612b11565b64ffffffffff90811691161090565b156112ef5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e8919061231c565b606e6111e8565b806060015163ffffffff16816080015163ffffffff161061137e5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611377919061231c565b60786111e8565b6040810151600a6111e8565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61142785610c28565b6040518263ffffffff1660e01b815260040161144591815260200190565b600060405180830381865afa158015611462573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261148a919081019061237a565b80519091501561071a57808060200190518101906105c79190612b3e565b61150760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159a919061231c565b6040518263ffffffff1660e01b81526004016115b891815260200190565b600060405180830381865afa1580156115d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115fd919081019061237a565b80519091501561071a57808060200190518101906105c79190612ca3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610749565b6116f2604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61170f85610720565b6040518263ffffffff1660e01b815260040161172d91815260200190565b600060405180830381865afa15801561174a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611772919081019061237a565b80519091501561071a57808060200190518101906105c791906129b7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610749565b60405180610120016040528060006001600160601b031681526020016117f6604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e0604051806040016040528060008152602001600081525090565b6000806040838503121561194f57600080fd5b8235915060208301358060000b811461196757600080fd5b809150509250929050565b6001600160c01b03198116811461198857600080fd5b50565b60006020828403121561199d57600080fd5b81356105c781611972565b60005b838110156119c35781810151838201526020016119ab565b50506000910152565b600081518084526119e48160208601602086016119a8565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a286101008401826119cc565b90506040840151606084015263ffffffff60608501511660808401526080840151611a5b60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a8a82826119cc565b95945050505050565b6001600160601b038116811461198857600080fd5b600060208284031215611aba57600080fd5b81356105c781611a93565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b0260808401826119cc565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b4257611b42611b0a565b60405290565b604080519081016001600160401b0381118282101715611b4257611b42611b0a565b60405161012081016001600160401b0381118282101715611b4257611b42611b0a565b60405161018081016001600160401b0381118282101715611b4257611b42611b0a565b60405160a081016001600160401b0381118282101715611b4257611b42611b0a565b60405161014081016001600160401b0381118282101715611b4257611b42611b0a565b60405161020081016001600160401b0381118282101715611b4257611b42611b0a565b604051601f8201601f191681016001600160401b0381118282101715611c4057611c40611b0a565b604052919050565b60006001600160401b03821115611c6157611c61611b0a565b50601f01601f191660200190565b60008060408385031215611c8257600080fd5b8235611c8d81611a93565b915060208301356001600160401b03811115611ca857600080fd5b8301601f81018513611cb957600080fd5b8035611ccc611cc782611c48565b611c18565b818152866020838501011115611ce157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d1357600080fd5b5035919050565b60208152611d346020820183516001600160601b03169052565b60006020830151611d52604084018280518252602090810151910152565b506040830151610140806080850152611d6f6101608501836119cc565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611db761012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461198857600080fd5b60008060408385031215611df657600080fd5b8235611e0181611dce565b9150602083013561196781611dce565b81516001600160601b03168152602080830151610180830191611e3e908401826001600160a01b03169052565b50604083015160408301526060830151611e65606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b0260608401826119cc565b81516001600160a01b0316815261024081016020830151611f2b60208401826001600160a01b03169052565b506040830151611f4660408401826001600160601b03169052565b506060830151611f6160608401826001600160601b03169052565b506080830151611f7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611fb48185018380518252602090810151910152565b60e08501519150610140611fd48186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152611eca565b602081526120436020820183516001600160601b03169052565b6000602083015161205f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120d76102208601846119cc565b9250808601519050610140601f1986850301818701526120f784836119cc565b9350808701519150506101606121128187018361ffff169052565b86015190506101806121298682018361ffff169052565b8601516101a08681019190915286015190506101c06121508187018364ffffffffff169052565b86015190506101e0611db78682018364ffffffffff169052565b60208152600082516101208060208501526121896101408501836119cc565b915060208501516040850152604085015160608501526060850151608085015260808501516121c060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121f68187018315159052565b860151858403601f190183870152905061221083826119cc565b9695505050505050565b81516001600160a01b031681526102008101602083015161224660208401826001600160a01b03169052565b50604083015161226160408401826001600160601b03169052565b50606083015161227c60608401826001600160601b03169052565b506080830151612299608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122cf8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611eca565b60006020828403121561232e57600080fd5b5051919050565b600082601f83011261234657600080fd5b8151612354611cc782611c48565b81815284602083860101111561236957600080fd5b611b028260208301602087016119a8565b60006020828403121561238c57600080fd5b81516001600160401b038111156123a257600080fd5b611b0284828501612335565b80516123b981611a93565b919050565b63ffffffff8116811461198857600080fd5b80516123b9816123be565b805164ffffffffff811681146123b957600080fd5b60006020828403121561240257600080fd5b81516001600160401b038082111561241957600080fd5b9083019060e0828603121561242d57600080fd5b612435611b20565b61243e836123ae565b815260208301518281111561245257600080fd5b61245e87828601612335565b6020830152506040830151604082015261247a606084016123d0565b606082015261248b608084016123d0565b608082015261249c60a084016123db565b60a082015260c0830151828111156124b357600080fd5b6124bf87828601612335565b60c08301525095945050505050565b80516123b981611972565b805180151581146123b957600080fd5b6000602082840312156124fb57600080fd5b81516001600160401b038082111561251257600080fd5b908301906060828603121561252657600080fd5b60405160608101818110838211171561254157612541611b0a565b604052825161254f81611972565b815261255d602084016124d9565b602082015260408301518281111561257457600080fd5b61258087828601612335565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b0260408301846119cc565b6000602082840312156125c357600080fd5b81516105c781611972565b6000604082840312156125e057600080fd5b6125e8611b48565b9050815181526020820151602082015292915050565b60006020828403121561261057600080fd5b81516001600160401b038082111561262757600080fd5b90830190610140828603121561263c57600080fd5b612644611b6a565b61264d836123ae565b815261265c86602085016125ce565b602082015260608301518281111561267357600080fd5b61267f87828601612335565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506126bd8284016123db565b60e08201526126cf61012084016123db565b91810191909152949350505050565b80516123b981611dce565b600061018082840312156126fc57600080fd5b612704611b6a565b61270d836123ae565b815261271b602084016126de565b60208201526040830151604082015261273784606085016125ce565b60608201526127498460a085016125ce565b608082015261275b8460e085016125ce565b60a082015261276d61012084016124d9565b60c082015261277f61014084016124d9565b60e082015261279161016084016126de565b6101008201529392505050565b6000602082840312156127b057600080fd5b81516001600160401b03808211156127c757600080fd5b90830190604082860312156127db57600080fd5b6127e3611b48565b82516127ee81611a93565b815260208301518281111561280257600080fd5b61280e87828601612335565b60208301525095945050505050565b60ff8116811461198857600080fd5b60006020828403121561283e57600080fd5b81516105c78161281d565b6000610240828403121561285c57600080fd5b612864611b8d565b61286d836126de565b815261287b602084016126de565b602082015261288c604084016123ae565b604082015261289d606084016123ae565b60608201526128af84608085016125ce565b60808201526128c18460c085016125ce565b60a08201526101006128d5858286016125ce565b60c08301526101406128e9868287016125ce565b60e08401526128fc8661018087016125ce565b8284015261290e866101c087016125ce565b61012084015261292161020086016124d9565b908301525061293361022084016126de565b6101608201529392505050565b600060c0828403121561295257600080fd5b61295a611bb0565b825161296581611a93565b8152602083015161297581611dce565b602082015261298784604085016125ce565b6040820152612998608084016124d9565b606082015260a08301516129ab81611dce565b60808201529392505050565b600061020082840312156129ca57600080fd5b6129d2611bd2565b6129db836126de565b81526129e9602084016126de565b60208201526129fa604084016123ae565b6040820152612a0b606084016123ae565b6060820152612a1d84608085016125ce565b6080820152612a2f8460c085016125ce565b60a0820152610100612a43858286016125ce565b60c0830152612a568561014086016125ce565b60e0830152612a698561018086016125ce565b90820152612a7b846101c085016125ce565b6101208201529392505050565b600060a08284031215612a9a57600080fd5b612aa2611bb0565b8251612aad8161281d565b81526020830151612abd8161281d565b60208201526040830151612ad081611dce565b60408201526060830151612ae3816123be565b606082015260808301516129ab816123be565b600060208284031215612b0857600080fd5b6105c7826124d9565b600060208284031215612b2357600080fd5b6105c7826123db565b805161ffff811681146123b957600080fd5b600060208284031215612b5057600080fd5b81516001600160401b0380821115612b6757600080fd5b908301906102008286031215612b7c57600080fd5b612b84611bf5565b612b8d836123ae565b8152612b9b602084016123ae565b6020820152612bac604084016124ce565b6040820152612bbd606084016124ce565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612bfe57600080fd5b612c0a88828701612335565b8284015250506101208084015183811115612c2457600080fd5b612c3088828701612335565b8284015250506101409150612c46828401612b2c565b828201526101609150612c5a828401612b2c565b82820152610180915081830151828201526101a09150612c7b8284016123db565b828201526101c09150612c8f8284016123db565b828201526101e091506126cf8284016123db565b600060208284031215612cb557600080fd5b81516001600160401b0380821115612ccc57600080fd5b908301906101208286031215612ce157600080fd5b612ce9611b6a565b825182811115612cf857600080fd5b612d0487828601612335565b825250602083015160208201526040830151604082015260608301516060820152612d31608084016123d0565b6080820152612d4260a084016123d0565b60a0820152612d5360c084016124d9565b60c0820152612d6460e084016124d9565b60e08201526101008084015183811115612d7d57600080fd5b612d8988828701612335565b91830191909152509594505050505056fea264697066735822122041a7bf34618c14f1681ef9f12865d9da847d726494b8c31460a4416924c8ead964736f6c63430008140033",
1271
+ "bytecode": "0x608060405234801561001057600080fd5b50613853806100206000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80637bfd32171161011a578063b82d7ef5116100ad578063d4cda0d81161007c578063d4cda0d814610595578063dd26287a146105a6578063de7b5d14146105b9578063f0ea17c3146105cf578063f7f318d3146105ef57600080fd5b8063b82d7ef514610516578063bd7d9d8514610540578063c4d66de814610560578063d06458c61461057557600080fd5b80639096a1f3116100e95780639096a1f31461045b578063a310e2a31461046e578063a5961b4c14610499578063a7ef3d21146104f657600080fd5b80637bfd3217146104025780637e54602a14610415578063887b1fa9146104285780638eb9000d1461044857600080fd5b80633f093cd61161019d57806357f80bbf1161016c57806357f80bbf146103745780635da894021461039457806364eb3a9b146103b957806375d357df146103cc57806378ae9350146103ef57600080fd5b80633f093cd61461030257806344aa68361461032e5780634793b4ab146103415780634fb784f51461036157600080fd5b8063228e42ec116101d9578063228e42ec1461029c57806327b1d792146102af57806335898f5d146102cf57806339bb60cd146102e257600080fd5b80630232ca491461020b5780630b5d931c1461023b5780631488c8451461025b5780631d3be4771461027c575b600080fd5b61021e6102193660046120f1565b610602565b6040516001600160601b0390911681526020015b60405180910390f35b61024e6102493660046120f1565b61067f565b604051610232919061210e565b61026e6102693660046121f1565b610732565b604051908152602001610232565b61028f61028a36600461223d565b6107b1565b60405161023291906122aa565b61021e6102aa3660046120f1565b6108fd565b6102c26102bd3660046120f1565b610937565b6040516102329190612345565b61026e6102dd3660046120f1565b610a01565b6102f56102f03660046123b2565b610a9b565b60405161023291906123e8565b6103156103103660046125c8565b610bed565b6040516001600160c01b03199091168152602001610232565b61026e61033c36600461265a565b610c6a565b61035461034f3660046120f1565b610ca5565b6040516102329190612673565b61026e61036f3660046120f1565b610d4b565b6103876103823660046120f1565b610d78565b60405161023291906126f9565b6103a76103a23660046123b2565b610e1e565b60405160ff9091168152602001610232565b61026e6103c73660046120f1565b610f1b565b6103df6103da3660046120f1565b610f48565b6040519015158152602001610232565b6103a76103fd3660046127fc565b6111d7565b61026e6104103660046120f1565b611237565b61026e6104233660046120f1565b611264565b61043b61043636600461223d565b611291565b604051610232919061282a565b61021e6104563660046120f1565b6113ba565b6103a76104693660046120f1565b6113f4565b61048161047c3660046120f1565b611470565b6040516001600160a01b039091168152602001610232565b6104ac6104a736600461265a565b61151e565b6040516102329190600060808201905060ff835116825260ff6020840151166020830152604083015163ffffffff8082166040850152806060860151166060850152505092915050565b6105096105043660046127fc565b6115ab565b6040516102329190612860565b61052961052436600461223d565b611700565b6040805192835260ff909116602083015201610232565b61055361054e3660046120f1565b6119a8565b6040516102329190612900565b61057361056e366004612ac6565b611ace565b005b61058861058336600461223d565b611be7565b6040516102329190612ae3565b6001546001600160a01b0316610481565b61026e6105b43660046120f1565b611d5a565b60005461010090046001600160a01b0316610481565b6105e26105dd3660046120f1565b611d87565b6040516102329190612b93565b61026e6105fd3660046120f1565b611e55565b600154604051630232ca4960e01b81526001600160601b03831660048201526000916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610655573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190612c1d565b92915050565b610687611f09565b6001546000906001600160a01b03166354f6127f6106a485611237565b6040518263ffffffff1660e01b81526004016106c291815260200190565b600060405180830381865afa1580156106df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107079190810190612c7f565b80519091501561072c57808060200190518101906107259190612ce3565b9392505050565b50919050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561078d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190612da3565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610858573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087c9190612da3565b6040518263ffffffff1660e01b815260040161089a91815260200190565b600060405180830381865afa1580156108b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108df9190810190612c7f565b80519091501561072c57808060200190518101906107259190612df7565b6001546040516308a390bb60e21b81526001600160601b03831660048201526000916001600160a01b03169063228e42ec90602401610638565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f61098085611264565b6040518263ffffffff1660e01b815260040161099e91815260200190565b600060405180830381865afa1580156109bb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e39190810190612c7f565b80519091501561072c57808060200190518101906107259190612ef0565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660785b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190612da3565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5d9190612da3565b6040518263ffffffff1660e01b8152600401610b7b91815260200190565b600060405180830381865afa158015610b98573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc09190810190612c7f565b805190915015610be65780806020019051810190610bde9190612fb8565b915050610679565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610c299086908690600401613061565b602060405180830381865af4158015610c46573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190613083565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610a5a565b610cad612023565b6001546000906001600160a01b03166354f6127f610cca85611e55565b6040518263ffffffff1660e01b8152600401610ce891815260200190565b600060405180830381865afa158015610d05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d2d9190810190612c7f565b80519091501561072c578080602001905181019061072591906130a0565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166064610a2a565b610d8061207e565b6001546000906001600160a01b03166354f6127f610d9d85611d5a565b6040518263ffffffff1660e01b8152600401610dbb91815260200190565b600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e009190810190612c7f565b80519091501561072c57808060200190518101906107259190613180565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610e98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebc9190612da3565b6040518263ffffffff1660e01b8152600401610eda91815260200190565b602060405180830381865afa158015610ef7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610725919061325f565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610a2a565b600080610f54836119a8565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610fb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd6919061327c565b15610fe45750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611041573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611065919061327c565b156110735750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156110d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f4919061327c565b156111025750600092915050565b61016081015161ffff161561111a5750600092915050565b61112d8161018001518260800151611e82565b1561113b5750600192915050565b6111c073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ab9190613297565b826101e0015164ffffffffff90811691161090565b156111ce5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e7b565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610a2a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610a2a565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113399190612da3565b6040518263ffffffff1660e01b815260040161135791815260200190565b600060405180830381865afa158015611374573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261139c9190810190612c7f565b80519091501561072c578080602001905181019061072591906132b4565b600154604051638eb9000d60e01b81526001600160601b03831660048201526000916001600160a01b031690638eb9000d90602401610638565b6001546000906001600160a01b03166309648a9d61141184610f1b565b6040518263ffffffff1660e01b815260040161142f91815260200190565b602060405180830381865afa15801561144c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610679919061325f565b60015460009081906001600160a01b03166354f6127f61148f85610d4b565b6040518263ffffffff1660e01b81526004016114ad91815260200190565b600060405180830381865afa1580156114ca573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114f29190810190612c7f565b80519091501561072c57600081806020019051810190611512919061333e565b60600151949350505050565b604080516080810182526000808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190613412565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af415801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167f9190612da3565b6040518263ffffffff1660e01b815260040161169d91815260200190565b600060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116e29190810190612c7f565b805190915015610be65780806020019051810190610bde9190613479565b600080600061170e846107b1565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561176d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611791919061327c565b156118105773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156117df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118039190612da3565b60645b9250925050915091565b6118948160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611861573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118859190613297565b64ffffffffff90811691161090565b1561190d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119069190612da3565b606e611806565b806060015163ffffffff16816080015163ffffffff161061199c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119959190612da3565b6078611806565b6040810151600a611806565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f611a4d85610f1b565b6040518263ffffffff1660e01b8152600401611a6b91815260200190565b600060405180830381865afa158015611a88573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ab09190810190612c7f565b80519091501561072c5780806020019051810190610725919061355e565b60005460ff1615611af25760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611b1957604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb79190613709565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611c4660405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd99190612da3565b6040518263ffffffff1660e01b8152600401611cf791815260200190565b600060405180830381865afa158015611d14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3c9190810190612c7f565b80519091501561072c57808060200190518101906107259190613726565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610a2a565b6040805160c08101825260608082526000602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f611dd485610d4b565b6040518263ffffffff1660e01b8152600401611df291815260200190565b600060405180830381865afa158015611e0f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e379190810190612c7f565b80519091501561072c5780806020019051810190610725919061333e565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610a2a565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611ee5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610725919061327c565b60405180610120016040528060006001600160601b0316815260200160006001600160601b03168152602001611f52604051806040016040528060008152602001600081525090565b8152602001611f74604051806040016040528060008152602001600081525090565b8152602001611f96604051806040016040528060008152602001600081525090565b8152602001611fb8604051806040016040528060008152602001600081525090565b8152602001611fda604051806040016040528060008152602001600081525090565b8152602001611ffc604051806040016040528060008152602001600081525090565b815260200161201e604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b0316815260200161205b604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e08301829052835180850190945281845283015290610100820190611fda565b6001600160601b03811681146120ee57600080fd5b50565b60006020828403121561210357600080fd5b8135610725816120d9565b81516001600160601b0316815260208083015161020083019161213b908401826001600160601b03169052565b506040830151612158604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006121a58185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610be6565b6000806040838503121561220457600080fd5b8235915060208301358060000b811461221c57600080fd5b809150509250929050565b6001600160c01b0319811681146120ee57600080fd5b60006020828403121561224f57600080fd5b813561072581612227565b60005b8381101561227557818101518382015260200161225d565b50506000910152565b6000815180845261229681602086016020860161225a565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526122da61010084018261227e565b90506040840151606084015263ffffffff6060850151166080840152608084015161230d60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261233c828261227e565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261238360c084018261227e565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156123c557600080fd5b82356123d0816120d9565b9150602083013562ffffff8116811461221c57600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261242560a084018261227e565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561247a5761247a612442565b60405290565b60405161012081016001600160401b038111828210171561247a5761247a612442565b60405160e081016001600160401b038111828210171561247a5761247a612442565b60405160a081016001600160401b038111828210171561247a5761247a612442565b604051608081016001600160401b038111828210171561247a5761247a612442565b60405160c081016001600160401b038111828210171561247a5761247a612442565b60405161016081016001600160401b038111828210171561247a5761247a612442565b60405161022081016001600160401b038111828210171561247a5761247a612442565b604051601f8201601f191681016001600160401b038111828210171561259957612599612442565b604052919050565b60006001600160401b038211156125ba576125ba612442565b50601f01601f191660200190565b600080604083850312156125db57600080fd5b82356125e6816120d9565b915060208301356001600160401b0381111561260157600080fd5b8301601f8101851361261257600080fd5b8035612625612620826125a1565b612571565b81815286602083850101111561263a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561266c57600080fd5b5035919050565b602081526001600160601b038251166020820152600060208301516126a5604084018280518252602090810151910152565b50604083015160e060808401526126c061010084018261227e565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c08101602083015161272560208401826001600160401b03169052565b50604083015161274060408401826001600160601b03169052565b506060830151612754606084018215159052565b506080830151612768608084018215159052565b5060a083015161277c60a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516127ae8285018280518252602090810151910152565b50506101208301516101406127cf8185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610be6565b61ffff811681146120ee57600080fd5b6000806040838503121561280f57600080fd5b823561281a816120d9565b9150602083013561221c816127ec565b602081526001600160601b03825116602082015260006020830151604080840152612858606084018261227e565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516128a5608084018260ff169052565b50608083015160e060a08401526128c061010084018261227e565b905060a0840151601f198483030160c08501526128dd828261227e565b91505060c08401516128f860e085018264ffffffffff169052565b509392505050565b6020815261291a6020820183516001600160601b03169052565b6000602083015161293660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006129bc8185018364ffffffffff169052565b8085015191505061022061012081818601526129dc61024086018461227e565b9250808601519050610140601f1986850301818701526129fc848361227e565b935080870151915050610160612a178187018361ffff169052565b8601519050610180612a2e8682018361ffff169052565b86015190506101a0612a4a868201836001600160601b03169052565b86015190506101c0612a66868201836001600160601b03169052565b86015190506101e0612a808682018364ffffffffff169052565b8601519050610200612a9a8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b03811681146120ee57600080fd5b600060208284031215612ad857600080fd5b813561072581612ab1565b6020815260008251610120806020850152612b0261014085018361227e565b91506020850151604085015260408501516060850152606085015160808501526080850151612b3960a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612b6f8187018315159052565b860151858403601f1901838701529050612b89838261227e565b9695505050505050565b602081526000825160c06020840152612baf60e084018261227e565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c085015261233c828261227e565b8051612c18816120d9565b919050565b600060208284031215612c2f57600080fd5b8151610725816120d9565b600082601f830112612c4b57600080fd5b8151612c59612620826125a1565b818152846020838601011115612c6e57600080fd5b61285882602083016020870161225a565b600060208284031215612c9157600080fd5b81516001600160401b03811115612ca757600080fd5b61285884828501612c3a565b600060408284031215612cc557600080fd5b612ccd612458565b9050815181526020820151602082015292915050565b60006102008284031215612cf657600080fd5b612cfe612480565b612d0783612c0d565b8152612d1560208401612c0d565b6020820152612d278460408501612cb3565b6040820152612d398460808501612cb3565b6060820152612d4b8460c08501612cb3565b6080820152610100612d5f85828601612cb3565b60a0830152612d72856101408601612cb3565b60c0830152612d85856101808601612cb3565b60e0830152612d98856101c08601612cb3565b908201529392505050565b600060208284031215612db557600080fd5b5051919050565b63ffffffff811681146120ee57600080fd5b8051612c1881612dbc565b64ffffffffff811681146120ee57600080fd5b8051612c1881612dd9565b600060208284031215612e0957600080fd5b81516001600160401b0380821115612e2057600080fd5b9083019060e08286031215612e3457600080fd5b612e3c6124a3565b612e4583612c0d565b8152602083015182811115612e5957600080fd5b612e6587828601612c3a565b60208301525060408301516040820152612e8160608401612dce565b6060820152612e9260808401612dce565b6080820152612ea360a08401612dec565b60a082015260c083015182811115612eba57600080fd5b612ec687828601612c3a565b60c08301525095945050505050565b8051612c1881612227565b80518015158114612c1857600080fd5b600060208284031215612f0257600080fd5b81516001600160401b0380821115612f1957600080fd5b9083019060a08286031215612f2d57600080fd5b612f356124c5565b8251612f4081612227565b8152612f4e60208401612ee0565b6020820152604083015182811115612f6557600080fd5b612f7187828601612c3a565b60408301525060608301519150612f87826120d9565b81606082015260808301519250612f9d83612dbc565b6080810192909252509392505050565b8051612c18816127ec565b600060208284031215612fca57600080fd5b81516001600160401b0380821115612fe157600080fd5b9083019060808286031215612ff557600080fd5b612ffd6124e7565b8251613008816127ec565b81526020830151613018816120d9565b602082015260408301518281111561302f57600080fd5b61303b87828601612c3a565b6040830152506060830151925061305183612dd9565b6060810192909252509392505050565b6001600160601b0383168152604060208201526000612858604083018461227e565b60006020828403121561309557600080fd5b815161072581612227565b6000602082840312156130b257600080fd5b81516001600160401b03808211156130c957600080fd5b9083019060e082860312156130dd57600080fd5b6130e5612509565b82516130f0816120d9565b81526130ff8660208501612cb3565b602082015260608301518281111561311657600080fd5b61312287828601612c3a565b6040830152506080830151915061313882612dd9565b81606082015261314a60a08401612dec565b608082015261315b60c08401612dec565b60a082015295945050505050565b80516001600160401b0381168114612c1857600080fd5b60006101c0828403121561319357600080fd5b61319b61252b565b6131a483612c0d565b81526131b260208401613169565b60208201526131c360408401612c0d565b60408201526131d460608401612ee0565b60608201526131e560808401612ee0565b60808201526131f660a08401612ee0565b60a082015260c083015160c082015260e083015160e082015261010061321e85828601612cb3565b9082015261014061323185858301612cb3565b610120830152612d98856101808601612cb3565b60ff811681146120ee57600080fd5b8051612c1881613245565b60006020828403121561327157600080fd5b815161072581613245565b60006020828403121561328e57600080fd5b61072582612ee0565b6000602082840312156132a957600080fd5b815161072581612dd9565b6000602082840312156132c657600080fd5b81516001600160401b03808211156132dd57600080fd5b90830190604082860312156132f157600080fd5b6132f9612458565b8251613304816120d9565b815260208301518281111561331857600080fd5b61332487828601612c3a565b60208301525095945050505050565b8051612c1881612ab1565b60006020828403121561335057600080fd5b81516001600160401b038082111561336757600080fd5b9083019060c0828603121561337b57600080fd5b613383612509565b82518281111561339257600080fd5b61339e87828601612c3a565b8252506133ad60208401612c0d565b60208201526133be60408401613333565b60408201526133cf60608401613333565b60608201526133e060808401613333565b608082015260a0830151828111156133f757600080fd5b61340387828601612c3a565b60a08301525095945050505050565b60006080828403121561342457600080fd5b61342c6124e7565b825161343781613245565b8152602083015161344781613245565b6020820152604083015161345a81612dbc565b6040820152606083015161346d81612dbc565b60608201529392505050565b60006020828403121561348b57600080fd5b81516001600160401b03808211156134a257600080fd5b9083019060e082860312156134b657600080fd5b6134be6124a3565b6134c783612c0d565b81526134d560208401612c0d565b60208201526134e660408401613254565b60408201526134f760608401613254565b606082015260808301518281111561350e57600080fd5b61351a87828601612c3a565b60808301525060a08301518281111561353257600080fd5b61353e87828601612c3a565b60a08301525061355060c08401612dec565b60c082015295945050505050565b60006020828403121561357057600080fd5b81516001600160401b038082111561358757600080fd5b90830190610220828603121561359c57600080fd5b6135a461254e565b6135ad83612c0d565b81526135bb60208401612c0d565b60208201526135cc60408401612ed5565b60408201526135dd60608401612ed5565b60608201526135ee60808401612c0d565b60808201526135ff60a08401612c0d565b60a082015261361060c08401612c0d565b60c082015261362160e08401612dec565b60e0820152610100808401518381111561363a57600080fd5b61364688828701612c3a565b828401525050610120808401518381111561366057600080fd5b61366c88828701612c3a565b8284015250506101409150613682828401612fad565b828201526101609150613696828401612fad565b8282015261018091506136aa828401612c0d565b828201526101a091506136be828401612c0d565b828201526101c091506136d2828401612dec565b828201526101e091506136e6828401612dec565b8282015261020091506136fa828401612dec565b91810191909152949350505050565b60006020828403121561371b57600080fd5b815161072581612ab1565b60006020828403121561373857600080fd5b81516001600160401b038082111561374f57600080fd5b90830190610120828603121561376457600080fd5b61376c612480565b82518281111561377b57600080fd5b61378787828601612c3a565b8252506020830151602082015260408301516040820152606083015160608201526137b460808401612dce565b60808201526137c560a08401612dce565b60a08201526137d660c08401612ee0565b60c08201526137e760e08401612ee0565b60e0820152610100808401518381111561380057600080fd5b61380c88828701612c3a565b91830191909152509594505050505056fea26469706673582212207aa4193b549e3824d7b75ffbed8543066757962cb73192c11439d91168c3e5ed64736f6c63430008140033",
1272
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102065760003560e01c80637bfd32171161011a578063b82d7ef5116100ad578063d4cda0d81161007c578063d4cda0d814610595578063dd26287a146105a6578063de7b5d14146105b9578063f0ea17c3146105cf578063f7f318d3146105ef57600080fd5b8063b82d7ef514610516578063bd7d9d8514610540578063c4d66de814610560578063d06458c61461057557600080fd5b80639096a1f3116100e95780639096a1f31461045b578063a310e2a31461046e578063a5961b4c14610499578063a7ef3d21146104f657600080fd5b80637bfd3217146104025780637e54602a14610415578063887b1fa9146104285780638eb9000d1461044857600080fd5b80633f093cd61161019d57806357f80bbf1161016c57806357f80bbf146103745780635da894021461039457806364eb3a9b146103b957806375d357df146103cc57806378ae9350146103ef57600080fd5b80633f093cd61461030257806344aa68361461032e5780634793b4ab146103415780634fb784f51461036157600080fd5b8063228e42ec116101d9578063228e42ec1461029c57806327b1d792146102af57806335898f5d146102cf57806339bb60cd146102e257600080fd5b80630232ca491461020b5780630b5d931c1461023b5780631488c8451461025b5780631d3be4771461027c575b600080fd5b61021e6102193660046120f1565b610602565b6040516001600160601b0390911681526020015b60405180910390f35b61024e6102493660046120f1565b61067f565b604051610232919061210e565b61026e6102693660046121f1565b610732565b604051908152602001610232565b61028f61028a36600461223d565b6107b1565b60405161023291906122aa565b61021e6102aa3660046120f1565b6108fd565b6102c26102bd3660046120f1565b610937565b6040516102329190612345565b61026e6102dd3660046120f1565b610a01565b6102f56102f03660046123b2565b610a9b565b60405161023291906123e8565b6103156103103660046125c8565b610bed565b6040516001600160c01b03199091168152602001610232565b61026e61033c36600461265a565b610c6a565b61035461034f3660046120f1565b610ca5565b6040516102329190612673565b61026e61036f3660046120f1565b610d4b565b6103876103823660046120f1565b610d78565b60405161023291906126f9565b6103a76103a23660046123b2565b610e1e565b60405160ff9091168152602001610232565b61026e6103c73660046120f1565b610f1b565b6103df6103da3660046120f1565b610f48565b6040519015158152602001610232565b6103a76103fd3660046127fc565b6111d7565b61026e6104103660046120f1565b611237565b61026e6104233660046120f1565b611264565b61043b61043636600461223d565b611291565b604051610232919061282a565b61021e6104563660046120f1565b6113ba565b6103a76104693660046120f1565b6113f4565b61048161047c3660046120f1565b611470565b6040516001600160a01b039091168152602001610232565b6104ac6104a736600461265a565b61151e565b6040516102329190600060808201905060ff835116825260ff6020840151166020830152604083015163ffffffff8082166040850152806060860151166060850152505092915050565b6105096105043660046127fc565b6115ab565b6040516102329190612860565b61052961052436600461223d565b611700565b6040805192835260ff909116602083015201610232565b61055361054e3660046120f1565b6119a8565b6040516102329190612900565b61057361056e366004612ac6565b611ace565b005b61058861058336600461223d565b611be7565b6040516102329190612ae3565b6001546001600160a01b0316610481565b61026e6105b43660046120f1565b611d5a565b60005461010090046001600160a01b0316610481565b6105e26105dd3660046120f1565b611d87565b6040516102329190612b93565b61026e6105fd3660046120f1565b611e55565b600154604051630232ca4960e01b81526001600160601b03831660048201526000916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610655573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190612c1d565b92915050565b610687611f09565b6001546000906001600160a01b03166354f6127f6106a485611237565b6040518263ffffffff1660e01b81526004016106c291815260200190565b600060405180830381865afa1580156106df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107079190810190612c7f565b80519091501561072c57808060200190518101906107259190612ce3565b9392505050565b50919050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561078d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190612da3565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610858573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087c9190612da3565b6040518263ffffffff1660e01b815260040161089a91815260200190565b600060405180830381865afa1580156108b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108df9190810190612c7f565b80519091501561072c57808060200190518101906107259190612df7565b6001546040516308a390bb60e21b81526001600160601b03831660048201526000916001600160a01b03169063228e42ec90602401610638565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f61098085611264565b6040518263ffffffff1660e01b815260040161099e91815260200190565b600060405180830381865afa1580156109bb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e39190810190612c7f565b80519091501561072c57808060200190518101906107259190612ef0565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660785b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190612da3565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5d9190612da3565b6040518263ffffffff1660e01b8152600401610b7b91815260200190565b600060405180830381865afa158015610b98573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc09190810190612c7f565b805190915015610be65780806020019051810190610bde9190612fb8565b915050610679565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610c299086908690600401613061565b602060405180830381865af4158015610c46573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190613083565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610a5a565b610cad612023565b6001546000906001600160a01b03166354f6127f610cca85611e55565b6040518263ffffffff1660e01b8152600401610ce891815260200190565b600060405180830381865afa158015610d05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d2d9190810190612c7f565b80519091501561072c578080602001905181019061072591906130a0565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166064610a2a565b610d8061207e565b6001546000906001600160a01b03166354f6127f610d9d85611d5a565b6040518263ffffffff1660e01b8152600401610dbb91815260200190565b600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e009190810190612c7f565b80519091501561072c57808060200190518101906107259190613180565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610e98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebc9190612da3565b6040518263ffffffff1660e01b8152600401610eda91815260200190565b602060405180830381865afa158015610ef7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610725919061325f565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610a2a565b600080610f54836119a8565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610fb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd6919061327c565b15610fe45750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611041573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611065919061327c565b156110735750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156110d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f4919061327c565b156111025750600092915050565b61016081015161ffff161561111a5750600092915050565b61112d8161018001518260800151611e82565b1561113b5750600192915050565b6111c073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ab9190613297565b826101e0015164ffffffffff90811691161090565b156111ce5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e7b565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610a2a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610a2a565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113399190612da3565b6040518263ffffffff1660e01b815260040161135791815260200190565b600060405180830381865afa158015611374573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261139c9190810190612c7f565b80519091501561072c578080602001905181019061072591906132b4565b600154604051638eb9000d60e01b81526001600160601b03831660048201526000916001600160a01b031690638eb9000d90602401610638565b6001546000906001600160a01b03166309648a9d61141184610f1b565b6040518263ffffffff1660e01b815260040161142f91815260200190565b602060405180830381865afa15801561144c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610679919061325f565b60015460009081906001600160a01b03166354f6127f61148f85610d4b565b6040518263ffffffff1660e01b81526004016114ad91815260200190565b600060405180830381865afa1580156114ca573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114f29190810190612c7f565b80519091501561072c57600081806020019051810190611512919061333e565b60600151949350505050565b604080516080810182526000808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190613412565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af415801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167f9190612da3565b6040518263ffffffff1660e01b815260040161169d91815260200190565b600060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116e29190810190612c7f565b805190915015610be65780806020019051810190610bde9190613479565b600080600061170e846107b1565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561176d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611791919061327c565b156118105773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156117df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118039190612da3565b60645b9250925050915091565b6118948160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611861573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118859190613297565b64ffffffffff90811691161090565b1561190d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119069190612da3565b606e611806565b806060015163ffffffff16816080015163ffffffff161061199c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119959190612da3565b6078611806565b6040810151600a611806565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f611a4d85610f1b565b6040518263ffffffff1660e01b8152600401611a6b91815260200190565b600060405180830381865afa158015611a88573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ab09190810190612c7f565b80519091501561072c5780806020019051810190610725919061355e565b60005460ff1615611af25760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611b1957604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb79190613709565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611c4660405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd99190612da3565b6040518263ffffffff1660e01b8152600401611cf791815260200190565b600060405180830381865afa158015611d14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3c9190810190612c7f565b80519091501561072c57808060200190518101906107259190613726565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610a2a565b6040805160c08101825260608082526000602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f611dd485610d4b565b6040518263ffffffff1660e01b8152600401611df291815260200190565b600060405180830381865afa158015611e0f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e379190810190612c7f565b80519091501561072c5780806020019051810190610725919061333e565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610a2a565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611ee5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610725919061327c565b60405180610120016040528060006001600160601b0316815260200160006001600160601b03168152602001611f52604051806040016040528060008152602001600081525090565b8152602001611f74604051806040016040528060008152602001600081525090565b8152602001611f96604051806040016040528060008152602001600081525090565b8152602001611fb8604051806040016040528060008152602001600081525090565b8152602001611fda604051806040016040528060008152602001600081525090565b8152602001611ffc604051806040016040528060008152602001600081525090565b815260200161201e604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b0316815260200161205b604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e08301829052835180850190945281845283015290610100820190611fda565b6001600160601b03811681146120ee57600080fd5b50565b60006020828403121561210357600080fd5b8135610725816120d9565b81516001600160601b0316815260208083015161020083019161213b908401826001600160601b03169052565b506040830151612158604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006121a58185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610be6565b6000806040838503121561220457600080fd5b8235915060208301358060000b811461221c57600080fd5b809150509250929050565b6001600160c01b0319811681146120ee57600080fd5b60006020828403121561224f57600080fd5b813561072581612227565b60005b8381101561227557818101518382015260200161225d565b50506000910152565b6000815180845261229681602086016020860161225a565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526122da61010084018261227e565b90506040840151606084015263ffffffff6060850151166080840152608084015161230d60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261233c828261227e565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261238360c084018261227e565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156123c557600080fd5b82356123d0816120d9565b9150602083013562ffffff8116811461221c57600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261242560a084018261227e565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561247a5761247a612442565b60405290565b60405161012081016001600160401b038111828210171561247a5761247a612442565b60405160e081016001600160401b038111828210171561247a5761247a612442565b60405160a081016001600160401b038111828210171561247a5761247a612442565b604051608081016001600160401b038111828210171561247a5761247a612442565b60405160c081016001600160401b038111828210171561247a5761247a612442565b60405161016081016001600160401b038111828210171561247a5761247a612442565b60405161022081016001600160401b038111828210171561247a5761247a612442565b604051601f8201601f191681016001600160401b038111828210171561259957612599612442565b604052919050565b60006001600160401b038211156125ba576125ba612442565b50601f01601f191660200190565b600080604083850312156125db57600080fd5b82356125e6816120d9565b915060208301356001600160401b0381111561260157600080fd5b8301601f8101851361261257600080fd5b8035612625612620826125a1565b612571565b81815286602083850101111561263a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561266c57600080fd5b5035919050565b602081526001600160601b038251166020820152600060208301516126a5604084018280518252602090810151910152565b50604083015160e060808401526126c061010084018261227e565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c08101602083015161272560208401826001600160401b03169052565b50604083015161274060408401826001600160601b03169052565b506060830151612754606084018215159052565b506080830151612768608084018215159052565b5060a083015161277c60a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516127ae8285018280518252602090810151910152565b50506101208301516101406127cf8185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610be6565b61ffff811681146120ee57600080fd5b6000806040838503121561280f57600080fd5b823561281a816120d9565b9150602083013561221c816127ec565b602081526001600160601b03825116602082015260006020830151604080840152612858606084018261227e565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516128a5608084018260ff169052565b50608083015160e060a08401526128c061010084018261227e565b905060a0840151601f198483030160c08501526128dd828261227e565b91505060c08401516128f860e085018264ffffffffff169052565b509392505050565b6020815261291a6020820183516001600160601b03169052565b6000602083015161293660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006129bc8185018364ffffffffff169052565b8085015191505061022061012081818601526129dc61024086018461227e565b9250808601519050610140601f1986850301818701526129fc848361227e565b935080870151915050610160612a178187018361ffff169052565b8601519050610180612a2e8682018361ffff169052565b86015190506101a0612a4a868201836001600160601b03169052565b86015190506101c0612a66868201836001600160601b03169052565b86015190506101e0612a808682018364ffffffffff169052565b8601519050610200612a9a8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b03811681146120ee57600080fd5b600060208284031215612ad857600080fd5b813561072581612ab1565b6020815260008251610120806020850152612b0261014085018361227e565b91506020850151604085015260408501516060850152606085015160808501526080850151612b3960a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612b6f8187018315159052565b860151858403601f1901838701529050612b89838261227e565b9695505050505050565b602081526000825160c06020840152612baf60e084018261227e565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c085015261233c828261227e565b8051612c18816120d9565b919050565b600060208284031215612c2f57600080fd5b8151610725816120d9565b600082601f830112612c4b57600080fd5b8151612c59612620826125a1565b818152846020838601011115612c6e57600080fd5b61285882602083016020870161225a565b600060208284031215612c9157600080fd5b81516001600160401b03811115612ca757600080fd5b61285884828501612c3a565b600060408284031215612cc557600080fd5b612ccd612458565b9050815181526020820151602082015292915050565b60006102008284031215612cf657600080fd5b612cfe612480565b612d0783612c0d565b8152612d1560208401612c0d565b6020820152612d278460408501612cb3565b6040820152612d398460808501612cb3565b6060820152612d4b8460c08501612cb3565b6080820152610100612d5f85828601612cb3565b60a0830152612d72856101408601612cb3565b60c0830152612d85856101808601612cb3565b60e0830152612d98856101c08601612cb3565b908201529392505050565b600060208284031215612db557600080fd5b5051919050565b63ffffffff811681146120ee57600080fd5b8051612c1881612dbc565b64ffffffffff811681146120ee57600080fd5b8051612c1881612dd9565b600060208284031215612e0957600080fd5b81516001600160401b0380821115612e2057600080fd5b9083019060e08286031215612e3457600080fd5b612e3c6124a3565b612e4583612c0d565b8152602083015182811115612e5957600080fd5b612e6587828601612c3a565b60208301525060408301516040820152612e8160608401612dce565b6060820152612e9260808401612dce565b6080820152612ea360a08401612dec565b60a082015260c083015182811115612eba57600080fd5b612ec687828601612c3a565b60c08301525095945050505050565b8051612c1881612227565b80518015158114612c1857600080fd5b600060208284031215612f0257600080fd5b81516001600160401b0380821115612f1957600080fd5b9083019060a08286031215612f2d57600080fd5b612f356124c5565b8251612f4081612227565b8152612f4e60208401612ee0565b6020820152604083015182811115612f6557600080fd5b612f7187828601612c3a565b60408301525060608301519150612f87826120d9565b81606082015260808301519250612f9d83612dbc565b6080810192909252509392505050565b8051612c18816127ec565b600060208284031215612fca57600080fd5b81516001600160401b0380821115612fe157600080fd5b9083019060808286031215612ff557600080fd5b612ffd6124e7565b8251613008816127ec565b81526020830151613018816120d9565b602082015260408301518281111561302f57600080fd5b61303b87828601612c3a565b6040830152506060830151925061305183612dd9565b6060810192909252509392505050565b6001600160601b0383168152604060208201526000612858604083018461227e565b60006020828403121561309557600080fd5b815161072581612227565b6000602082840312156130b257600080fd5b81516001600160401b03808211156130c957600080fd5b9083019060e082860312156130dd57600080fd5b6130e5612509565b82516130f0816120d9565b81526130ff8660208501612cb3565b602082015260608301518281111561311657600080fd5b61312287828601612c3a565b6040830152506080830151915061313882612dd9565b81606082015261314a60a08401612dec565b608082015261315b60c08401612dec565b60a082015295945050505050565b80516001600160401b0381168114612c1857600080fd5b60006101c0828403121561319357600080fd5b61319b61252b565b6131a483612c0d565b81526131b260208401613169565b60208201526131c360408401612c0d565b60408201526131d460608401612ee0565b60608201526131e560808401612ee0565b60808201526131f660a08401612ee0565b60a082015260c083015160c082015260e083015160e082015261010061321e85828601612cb3565b9082015261014061323185858301612cb3565b610120830152612d98856101808601612cb3565b60ff811681146120ee57600080fd5b8051612c1881613245565b60006020828403121561327157600080fd5b815161072581613245565b60006020828403121561328e57600080fd5b61072582612ee0565b6000602082840312156132a957600080fd5b815161072581612dd9565b6000602082840312156132c657600080fd5b81516001600160401b03808211156132dd57600080fd5b90830190604082860312156132f157600080fd5b6132f9612458565b8251613304816120d9565b815260208301518281111561331857600080fd5b61332487828601612c3a565b60208301525095945050505050565b8051612c1881612ab1565b60006020828403121561335057600080fd5b81516001600160401b038082111561336757600080fd5b9083019060c0828603121561337b57600080fd5b613383612509565b82518281111561339257600080fd5b61339e87828601612c3a565b8252506133ad60208401612c0d565b60208201526133be60408401613333565b60408201526133cf60608401613333565b60608201526133e060808401613333565b608082015260a0830151828111156133f757600080fd5b61340387828601612c3a565b60a08301525095945050505050565b60006080828403121561342457600080fd5b61342c6124e7565b825161343781613245565b8152602083015161344781613245565b6020820152604083015161345a81612dbc565b6040820152606083015161346d81612dbc565b60608201529392505050565b60006020828403121561348b57600080fd5b81516001600160401b03808211156134a257600080fd5b9083019060e082860312156134b657600080fd5b6134be6124a3565b6134c783612c0d565b81526134d560208401612c0d565b60208201526134e660408401613254565b60408201526134f760608401613254565b606082015260808301518281111561350e57600080fd5b61351a87828601612c3a565b60808301525060a08301518281111561353257600080fd5b61353e87828601612c3a565b60a08301525061355060c08401612dec565b60c082015295945050505050565b60006020828403121561357057600080fd5b81516001600160401b038082111561358757600080fd5b90830190610220828603121561359c57600080fd5b6135a461254e565b6135ad83612c0d565b81526135bb60208401612c0d565b60208201526135cc60408401612ed5565b60408201526135dd60608401612ed5565b60608201526135ee60808401612c0d565b60808201526135ff60a08401612c0d565b60a082015261361060c08401612c0d565b60c082015261362160e08401612dec565b60e0820152610100808401518381111561363a57600080fd5b61364688828701612c3a565b828401525050610120808401518381111561366057600080fd5b61366c88828701612c3a565b8284015250506101409150613682828401612fad565b828201526101609150613696828401612fad565b8282015261018091506136aa828401612c0d565b828201526101a091506136be828401612c0d565b828201526101c091506136d2828401612dec565b828201526101e091506136e6828401612dec565b8282015261020091506136fa828401612dec565b91810191909152949350505050565b60006020828403121561371b57600080fd5b815161072581612ab1565b60006020828403121561373857600080fd5b81516001600160401b038082111561374f57600080fd5b90830190610120828603121561376457600080fd5b61376c612480565b82518281111561377b57600080fd5b61378787828601612c3a565b8252506020830151602082015260408301516040820152606083015160608201526137b460808401612dce565b60808201526137c560a08401612dce565b60a08201526137d660c08401612ee0565b60c08201526137e760e08401612ee0565b60e0820152610100808401518381111561380057600080fd5b61380c88828701612c3a565b91830191909152509594505050505056fea26469706673582212207aa4193b549e3824d7b75ffbed8543066757962cb73192c11439d91168c3e5ed64736f6c63430008140033",
1185
1273
  "linkReferences": {
1186
- "contracts/types/DistributorType.sol": {
1274
+ "contracts/type/Amount.sol": {
1275
+ "AmountLib": [
1276
+ {
1277
+ "length": 20,
1278
+ "start": 7883
1279
+ }
1280
+ ]
1281
+ },
1282
+ "contracts/type/ClaimId.sol": {
1283
+ "ClaimIdLib": [
1284
+ {
1285
+ "length": 20,
1286
+ "start": 4661
1287
+ },
1288
+ {
1289
+ "length": 20,
1290
+ "start": 5697
1291
+ }
1292
+ ]
1293
+ },
1294
+ "contracts/type/DistributorType.sol": {
1187
1295
  "DistributorTypeLib": [
1188
1296
  {
1189
1297
  "length": 20,
1190
- "start": 5468
1298
+ "start": 7323
1191
1299
  }
1192
1300
  ]
1193
1301
  },
1194
- "contracts/types/NftId.sol": {
1302
+ "contracts/type/NftId.sol": {
1195
1303
  "NftIdLib": [
1196
1304
  {
1197
1305
  "length": 20,
1198
- "start": 1860
1306
+ "start": 2597
1307
+ },
1308
+ {
1309
+ "length": 20,
1310
+ "start": 3439
1311
+ },
1312
+ {
1313
+ "length": 20,
1314
+ "start": 3903
1199
1315
  },
1200
1316
  {
1201
1317
  "length": 20,
1202
- "start": 2206
1318
+ "start": 3992
1203
1319
  },
1204
1320
  {
1205
1321
  "length": 20,
1206
- "start": 3148
1322
+ "start": 4699
1207
1323
  },
1208
1324
  {
1209
1325
  "length": 20,
1210
- "start": 3193
1326
+ "start": 4744
1211
1327
  },
1212
1328
  {
1213
1329
  "length": 20,
1214
- "start": 3238
1330
+ "start": 7550
1215
1331
  },
1216
1332
  {
1217
1333
  "length": 20,
1218
- "start": 5695
1334
+ "start": 7801
1335
+ }
1336
+ ]
1337
+ },
1338
+ "contracts/type/PayoutId.sol": {
1339
+ "PayoutIdLib": [
1340
+ {
1341
+ "length": 20,
1342
+ "start": 2847
1219
1343
  },
1220
1344
  {
1221
1345
  "length": 20,
1222
- "start": 6068
1346
+ "start": 3709
1223
1347
  }
1224
1348
  ]
1225
1349
  },
1226
- "contracts/types/Referral.sol": {
1350
+ "contracts/type/Referral.sol": {
1227
1351
  "ReferralLib": [
1228
1352
  {
1229
1353
  "length": 20,
1230
- "start": 1627
1354
+ "start": 2110
1231
1355
  },
1232
1356
  {
1233
1357
  "length": 20,
1234
- "start": 2265
1358
+ "start": 3103
1235
1359
  }
1236
1360
  ]
1237
1361
  },
1238
- "contracts/types/RiskId.sol": {
1362
+ "contracts/type/RiskId.sol": {
1239
1363
  "RiskIdLib": [
1240
1364
  {
1241
1365
  "length": 20,
1242
- "start": 3353
1366
+ "start": 4859
1243
1367
  }
1244
1368
  ]
1245
1369
  },
1246
- "contracts/types/Timestamp.sol": {
1370
+ "contracts/type/Timestamp.sol": {
1247
1371
  "TimestampLib": [
1248
1372
  {
1249
1373
  "length": 20,
1250
- "start": 4405
1374
+ "start": 4135
1375
+ },
1376
+ {
1377
+ "length": 20,
1378
+ "start": 4278
1379
+ },
1380
+ {
1381
+ "length": 20,
1382
+ "start": 4448
1251
1383
  },
1252
1384
  {
1253
1385
  "length": 20,
1254
- "start": 4636
1386
+ "start": 5971
1387
+ },
1388
+ {
1389
+ "length": 20,
1390
+ "start": 6202
1255
1391
  }
1256
1392
  ]
1257
1393
  },
1258
- "contracts/types/UFixed.sol": {
1394
+ "contracts/type/UFixed.sol": {
1259
1395
  "UFixedLib": [
1260
1396
  {
1261
1397
  "length": 20,
1262
- "start": 1417
1398
+ "start": 1907
1263
1399
  },
1264
1400
  {
1265
1401
  "length": 20,
1266
- "start": 2397
1402
+ "start": 3235
1267
1403
  },
1268
1404
  {
1269
1405
  "length": 20,
1270
- "start": 4506
1406
+ "start": 6072
1271
1407
  },
1272
1408
  {
1273
1409
  "length": 20,
1274
- "start": 4765
1410
+ "start": 6331
1275
1411
  },
1276
1412
  {
1277
1413
  "length": 20,
1278
- "start": 4908
1414
+ "start": 6474
1279
1415
  }
1280
1416
  ]
1281
1417
  }
1282
1418
  },
1283
1419
  "deployedLinkReferences": {
1284
- "contracts/types/DistributorType.sol": {
1420
+ "contracts/type/Amount.sol": {
1421
+ "AmountLib": [
1422
+ {
1423
+ "length": 20,
1424
+ "start": 7851
1425
+ }
1426
+ ]
1427
+ },
1428
+ "contracts/type/ClaimId.sol": {
1429
+ "ClaimIdLib": [
1430
+ {
1431
+ "length": 20,
1432
+ "start": 4629
1433
+ },
1434
+ {
1435
+ "length": 20,
1436
+ "start": 5665
1437
+ }
1438
+ ]
1439
+ },
1440
+ "contracts/type/DistributorType.sol": {
1285
1441
  "DistributorTypeLib": [
1286
1442
  {
1287
1443
  "length": 20,
1288
- "start": 5436
1444
+ "start": 7291
1289
1445
  }
1290
1446
  ]
1291
1447
  },
1292
- "contracts/types/NftId.sol": {
1448
+ "contracts/type/NftId.sol": {
1293
1449
  "NftIdLib": [
1294
1450
  {
1295
1451
  "length": 20,
1296
- "start": 1828
1452
+ "start": 2565
1453
+ },
1454
+ {
1455
+ "length": 20,
1456
+ "start": 3407
1457
+ },
1458
+ {
1459
+ "length": 20,
1460
+ "start": 3871
1297
1461
  },
1298
1462
  {
1299
1463
  "length": 20,
1300
- "start": 2174
1464
+ "start": 3960
1301
1465
  },
1302
1466
  {
1303
1467
  "length": 20,
1304
- "start": 3116
1468
+ "start": 4667
1305
1469
  },
1306
1470
  {
1307
1471
  "length": 20,
1308
- "start": 3161
1472
+ "start": 4712
1309
1473
  },
1310
1474
  {
1311
1475
  "length": 20,
1312
- "start": 3206
1476
+ "start": 7518
1313
1477
  },
1314
1478
  {
1315
1479
  "length": 20,
1316
- "start": 5663
1480
+ "start": 7769
1481
+ }
1482
+ ]
1483
+ },
1484
+ "contracts/type/PayoutId.sol": {
1485
+ "PayoutIdLib": [
1486
+ {
1487
+ "length": 20,
1488
+ "start": 2815
1317
1489
  },
1318
1490
  {
1319
1491
  "length": 20,
1320
- "start": 6036
1492
+ "start": 3677
1321
1493
  }
1322
1494
  ]
1323
1495
  },
1324
- "contracts/types/Referral.sol": {
1496
+ "contracts/type/Referral.sol": {
1325
1497
  "ReferralLib": [
1326
1498
  {
1327
1499
  "length": 20,
1328
- "start": 1595
1500
+ "start": 2078
1329
1501
  },
1330
1502
  {
1331
1503
  "length": 20,
1332
- "start": 2233
1504
+ "start": 3071
1333
1505
  }
1334
1506
  ]
1335
1507
  },
1336
- "contracts/types/RiskId.sol": {
1508
+ "contracts/type/RiskId.sol": {
1337
1509
  "RiskIdLib": [
1338
1510
  {
1339
1511
  "length": 20,
1340
- "start": 3321
1512
+ "start": 4827
1341
1513
  }
1342
1514
  ]
1343
1515
  },
1344
- "contracts/types/Timestamp.sol": {
1516
+ "contracts/type/Timestamp.sol": {
1345
1517
  "TimestampLib": [
1346
1518
  {
1347
1519
  "length": 20,
1348
- "start": 4373
1520
+ "start": 4103
1521
+ },
1522
+ {
1523
+ "length": 20,
1524
+ "start": 4246
1525
+ },
1526
+ {
1527
+ "length": 20,
1528
+ "start": 4416
1529
+ },
1530
+ {
1531
+ "length": 20,
1532
+ "start": 5939
1349
1533
  },
1350
1534
  {
1351
1535
  "length": 20,
1352
- "start": 4604
1536
+ "start": 6170
1353
1537
  }
1354
1538
  ]
1355
1539
  },
1356
- "contracts/types/UFixed.sol": {
1540
+ "contracts/type/UFixed.sol": {
1357
1541
  "UFixedLib": [
1358
1542
  {
1359
1543
  "length": 20,
1360
- "start": 1385
1544
+ "start": 1875
1361
1545
  },
1362
1546
  {
1363
1547
  "length": 20,
1364
- "start": 2365
1548
+ "start": 3203
1365
1549
  },
1366
1550
  {
1367
1551
  "length": 20,
1368
- "start": 4474
1552
+ "start": 6040
1369
1553
  },
1370
1554
  {
1371
1555
  "length": 20,
1372
- "start": 4733
1556
+ "start": 6299
1373
1557
  },
1374
1558
  {
1375
1559
  "length": 20,
1376
- "start": 4876
1560
+ "start": 6442
1377
1561
  }
1378
1562
  ]
1379
1563
  }