@etherisc/gif-next 0.0.2-d5522f6-712 → 0.0.2-d59d51e-694

Sign up to get free protection for your applications and to get access to all the features.
Files changed (572) hide show
  1. package/README.md +8 -13
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1410 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1343 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +799 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +969 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +808 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +73 -83
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +275 -1359
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +306 -216
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +446 -2536
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +479 -178
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +132 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +485 -337
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +466 -366
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +348 -93
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3468 -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 +58 -75
  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 +1091 -0
  50. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  51. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +723 -0
  52. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  53. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +257 -293
  54. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  55. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1148 -0
  56. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  57. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1044 -0
  58. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  59. package/artifacts/contracts/pool/Pool.sol/Pool.json +1559 -0
  60. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1411 -0
  62. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +719 -0
  64. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  65. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +820 -0
  66. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +699 -0
  68. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1264 -0
  70. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +787 -0
  72. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  73. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +218 -191
  74. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  76. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  77. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +237 -307
  78. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  79. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IPricingService.sol/IPricingService.json} +251 -257
  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} +442 -228
  82. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  83. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → product/IProductService.sol/IProductService.json} +123 -139
  84. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1132 -0
  86. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +731 -0
  88. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PricingService.sol/PricingService.json +969 -0
  90. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +755 -0
  92. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  93. package/artifacts/contracts/product/Product.sol/Product.json +1391 -0
  94. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  95. package/artifacts/contracts/product/ProductService.sol/ProductService.json +673 -0
  96. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +675 -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 +269 -15
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +343 -226
  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 +396 -35
  108. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  109. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +95 -58
  110. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +491 -288
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +334 -80
  114. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +699 -94
  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 +354 -98
  120. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  121. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  122. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  123. package/artifacts/contracts/{components/Pool.sol/Pool.json → shared/Component.sol/Component.json} +409 -361
  124. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  125. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1461 -0
  126. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +765 -0
  128. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +188 -200
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  132. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  133. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IComponent.sol/IComponent.json} +268 -125
  134. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +854 -0
  136. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  137. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +239 -215
  138. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  139. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +51 -21
  140. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  141. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  142. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  144. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  146. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  147. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  148. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +35 -0
  150. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  151. package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
  152. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  154. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  155. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1030 -0
  156. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  157. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +581 -0
  158. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  159. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  160. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  161. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  162. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  163. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +109 -29
  164. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  165. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -61
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -53
  170. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  171. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  172. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  173. package/artifacts/contracts/shared/Service.sol/Service.json +173 -153
  174. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  175. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  176. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  177. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  178. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  180. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  181. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1435 -0
  182. package/artifacts/contracts/staking/IStakingManager.sol/IStakingManager.dbg.json +4 -0
  183. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → staking/IStakingManager.sol/IStakingManager.json} +10 -10
  184. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  185. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +884 -0
  186. package/artifacts/contracts/staking/IStakingStore.sol/IStakingStore.dbg.json +4 -0
  187. package/artifacts/contracts/staking/IStakingStore.sol/IStakingStore.json +357 -0
  188. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  189. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +402 -0
  190. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  191. package/artifacts/contracts/staking/Staking.sol/Staking.json +2002 -0
  192. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  193. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +748 -0
  194. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  195. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +368 -0
  196. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  197. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1207 -0
  198. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  199. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  200. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  201. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1690 -0
  202. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  203. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +494 -0
  204. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  205. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  206. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  207. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  208. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  209. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  210. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  211. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  212. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  213. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  214. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  215. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  216. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  217. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  218. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  219. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +185 -0
  220. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  221. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  222. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  223. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  224. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  226. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  227. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  228. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  229. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  230. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  231. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  232. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +174 -0
  234. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  235. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  236. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  238. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  239. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  240. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  242. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  243. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  244. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  245. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  246. package/contracts/distribution/Distribution.sol +263 -0
  247. package/contracts/distribution/DistributionService.sol +298 -0
  248. package/contracts/{instance/service → distribution}/DistributionServiceManager.sol +15 -12
  249. package/contracts/distribution/IDistributionComponent.sol +66 -0
  250. package/contracts/distribution/IDistributionService.sol +81 -0
  251. package/contracts/instance/BundleManager.sol +22 -25
  252. package/contracts/instance/IInstance.sol +60 -45
  253. package/contracts/instance/IInstanceService.sol +58 -15
  254. package/contracts/instance/Instance.sol +148 -196
  255. package/contracts/instance/InstanceAccessManager.sol +406 -166
  256. package/contracts/instance/InstanceAuthorizationsLib.sol +336 -0
  257. package/contracts/instance/InstanceReader.sol +136 -85
  258. package/contracts/instance/InstanceService.sol +259 -237
  259. package/contracts/instance/InstanceServiceManager.sol +12 -22
  260. package/contracts/instance/InstanceStore.sol +260 -0
  261. package/contracts/instance/base/BalanceStore.sol +118 -0
  262. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  263. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +16 -35
  264. package/contracts/instance/module/IAccess.sol +24 -18
  265. package/contracts/instance/module/IBundle.sol +8 -8
  266. package/contracts/instance/module/IComponents.sol +52 -0
  267. package/contracts/instance/module/IDistribution.sol +7 -4
  268. package/contracts/instance/module/IPolicy.sol +56 -17
  269. package/contracts/instance/module/IRisk.sol +1 -1
  270. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  271. package/contracts/pool/BundleService.sol +296 -0
  272. package/contracts/pool/BundleServiceManager.sol +42 -0
  273. package/contracts/pool/IBundleService.sol +106 -0
  274. package/contracts/pool/IPoolComponent.sol +112 -0
  275. package/contracts/pool/IPoolService.sol +147 -0
  276. package/contracts/pool/Pool.sol +299 -0
  277. package/contracts/pool/PoolService.sol +424 -0
  278. package/contracts/pool/PoolServiceManager.sol +42 -0
  279. package/contracts/product/ApplicationService.sol +254 -0
  280. package/contracts/product/ApplicationServiceManager.sol +38 -0
  281. package/contracts/product/ClaimService.sol +437 -0
  282. package/contracts/product/ClaimServiceManager.sol +38 -0
  283. package/contracts/product/IApplicationService.sol +62 -0
  284. package/contracts/product/IClaimService.sol +93 -0
  285. package/contracts/product/IPolicyService.sol +78 -0
  286. package/contracts/product/IPricingService.sol +39 -0
  287. package/contracts/product/IProductComponent.sol +42 -0
  288. package/contracts/product/IProductService.sol +33 -0
  289. package/contracts/product/PolicyService.sol +473 -0
  290. package/contracts/product/PolicyServiceManager.sol +42 -0
  291. package/contracts/product/PricingService.sol +301 -0
  292. package/contracts/product/PricingServiceManager.sol +42 -0
  293. package/contracts/product/Product.sol +377 -0
  294. package/contracts/product/ProductService.sol +124 -0
  295. package/contracts/product/ProductServiceManager.sol +42 -0
  296. package/contracts/registry/ChainNft.sol +15 -1
  297. package/contracts/registry/IRegistry.sol +57 -23
  298. package/contracts/registry/IRegistryService.sol +44 -34
  299. package/contracts/registry/ITransferInterceptor.sol +1 -0
  300. package/contracts/registry/Registry.sol +295 -113
  301. package/contracts/registry/RegistryAccessManager.sol +105 -119
  302. package/contracts/registry/RegistryService.sol +115 -168
  303. package/contracts/registry/RegistryServiceManager.sol +28 -18
  304. package/contracts/registry/ReleaseManager.sol +419 -204
  305. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  306. package/contracts/registry/TokenRegistry.sol +302 -58
  307. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  308. package/contracts/shared/Component.sol +286 -0
  309. package/contracts/shared/ComponentService.sol +595 -0
  310. package/contracts/shared/ComponentServiceManager.sol +35 -0
  311. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  312. package/contracts/shared/ERC165.sol +14 -12
  313. package/contracts/shared/IComponent.sol +74 -0
  314. package/contracts/shared/IComponentService.sol +91 -0
  315. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  316. package/contracts/{instance/base → shared}/IKeyValueStore.sol +14 -10
  317. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  318. package/contracts/shared/INftOwnable.sol +12 -11
  319. package/contracts/shared/IPolicyHolder.sol +45 -0
  320. package/contracts/shared/IRegisterable.sol +4 -6
  321. package/contracts/shared/IRegistryLinked.sol +11 -0
  322. package/contracts/shared/IService.sol +6 -4
  323. package/contracts/shared/IVersionable.sol +5 -48
  324. package/contracts/shared/InstanceLinkedComponent.sol +145 -0
  325. package/contracts/shared/KeyValueStore.sol +130 -0
  326. package/contracts/{instance/base → shared}/Lifecycle.sol +28 -7
  327. package/contracts/shared/NftIdSetManager.sol +65 -0
  328. package/contracts/shared/NftOwnable.sol +64 -80
  329. package/contracts/shared/PolicyHolder.sol +101 -0
  330. package/contracts/shared/ProxyManager.sol +126 -25
  331. package/contracts/shared/Registerable.sol +26 -41
  332. package/contracts/shared/RegistryLinked.sol +43 -0
  333. package/contracts/shared/Service.sol +41 -22
  334. package/contracts/shared/TokenHandler.sol +37 -6
  335. package/contracts/shared/Versionable.sol +4 -92
  336. package/contracts/staking/IStaking.sol +152 -0
  337. package/contracts/staking/IStakingManager.sol +15 -0
  338. package/contracts/staking/IStakingService.sol +162 -0
  339. package/contracts/staking/IStakingStore.sol +130 -0
  340. package/contracts/staking/StakeManagerLib.sol +156 -0
  341. package/contracts/staking/Staking.sol +502 -0
  342. package/contracts/staking/StakingManager.sol +65 -0
  343. package/contracts/staking/StakingReader.sol +147 -0
  344. package/contracts/staking/StakingService.sol +375 -0
  345. package/contracts/staking/StakingServiceManager.sol +44 -0
  346. package/contracts/staking/StakingStore.sol +329 -0
  347. package/contracts/staking/TargetManagerLib.sol +179 -0
  348. package/contracts/type/Amount.sol +114 -0
  349. package/contracts/{types → type}/Blocknumber.sol +20 -2
  350. package/contracts/type/ClaimId.sol +75 -0
  351. package/contracts/{types → type}/DistributorType.sol +2 -2
  352. package/contracts/{types → type}/Fee.sol +32 -22
  353. package/contracts/{types → type}/NftId.sol +17 -11
  354. package/contracts/{types → type}/NftIdSet.sol +1 -1
  355. package/contracts/{types → type}/ObjectType.sol +26 -9
  356. package/contracts/type/PayoutId.sol +82 -0
  357. package/contracts/{types → type}/Referral.sol +4 -0
  358. package/contracts/type/RoleId.sol +143 -0
  359. package/contracts/type/Seconds.sol +71 -0
  360. package/contracts/{types → type}/StateId.sol +24 -6
  361. package/contracts/{types → type}/Timestamp.sol +18 -13
  362. package/contracts/{types → type}/UFixed.sol +1 -0
  363. package/contracts/{types → type}/Version.sol +1 -0
  364. package/package.json +3 -3
  365. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  366. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  367. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  368. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  369. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  370. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  371. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  372. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  373. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  374. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  375. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  376. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  377. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  378. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  379. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  380. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  381. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  382. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  383. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  384. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  385. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  386. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  387. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  388. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  389. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  390. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  391. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  392. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  393. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  394. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  395. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  396. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  397. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  398. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  399. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  400. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  401. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  402. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  403. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  404. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  405. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  406. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  407. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  408. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  409. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  410. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  411. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  412. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  413. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  414. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  415. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  416. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  417. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  418. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  419. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  420. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  421. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  422. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  423. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  424. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  425. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  426. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  427. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -429
  428. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  429. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  430. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  431. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  432. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  433. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  434. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  435. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  436. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  437. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1031
  438. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  439. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
  440. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  441. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  442. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  443. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
  444. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  445. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
  446. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  447. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  448. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  449. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  450. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  451. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  452. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -499
  453. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  454. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  455. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1156
  456. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  457. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
  458. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  459. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  460. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  461. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
  462. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  463. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  464. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  465. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  466. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  467. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  468. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  469. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  470. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  471. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  472. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  473. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  474. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  475. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  476. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  477. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  478. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  479. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  480. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  481. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  482. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  483. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  484. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  485. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  486. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  487. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  488. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  489. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  490. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  491. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  492. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  493. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  494. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  495. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  496. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  497. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  498. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  499. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  500. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  501. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  502. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  503. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  504. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  505. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  506. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  507. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  508. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  509. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  510. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  511. package/contracts/components/BaseComponent.sol +0 -159
  512. package/contracts/components/Distribution.sol +0 -164
  513. package/contracts/components/IBaseComponent.sol +0 -34
  514. package/contracts/components/IDistributionComponent.sol +0 -44
  515. package/contracts/components/IPoolComponent.sol +0 -66
  516. package/contracts/components/IProductComponent.sol +0 -35
  517. package/contracts/components/Pool.sol +0 -272
  518. package/contracts/components/Product.sol +0 -301
  519. package/contracts/experiment/cloning/Cloner.sol +0 -47
  520. package/contracts/experiment/errors/Require.sol +0 -38
  521. package/contracts/experiment/errors/Revert.sol +0 -44
  522. package/contracts/experiment/inheritance/A.sol +0 -53
  523. package/contracts/experiment/inheritance/B.sol +0 -28
  524. package/contracts/experiment/inheritance/C.sol +0 -34
  525. package/contracts/experiment/inheritance/IA.sol +0 -13
  526. package/contracts/experiment/inheritance/IB.sol +0 -10
  527. package/contracts/experiment/inheritance/IC.sol +0 -12
  528. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  529. package/contracts/experiment/statemachine/ISM.sol +0 -25
  530. package/contracts/experiment/statemachine/SM.sol +0 -57
  531. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  532. package/contracts/experiment/types/TypeA.sol +0 -47
  533. package/contracts/experiment/types/TypeB.sol +0 -29
  534. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  535. package/contracts/instance/IInstanceBase.sol +0 -26
  536. package/contracts/instance/InstanceBase.sol +0 -41
  537. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  538. package/contracts/instance/base/IInstanceBase.sol +0 -23
  539. package/contracts/instance/base/KeyValueStore.sol +0 -172
  540. package/contracts/instance/module/ISetup.sol +0 -46
  541. package/contracts/instance/module/ITreasury.sol +0 -23
  542. package/contracts/instance/service/BundleService.sol +0 -294
  543. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  544. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  545. package/contracts/instance/service/DistributionService.sol +0 -120
  546. package/contracts/instance/service/IBundleService.sol +0 -44
  547. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  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 -539
  553. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  554. package/contracts/instance/service/PoolService.sol +0 -145
  555. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  556. package/contracts/instance/service/ProductService.sol +0 -213
  557. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  558. package/contracts/shared/ContractDeployerLib.sol +0 -72
  559. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  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/TestToken.sol +0 -26
  565. package/contracts/test/TestVersion.sol +0 -44
  566. package/contracts/test/TestVersionable.sol +0 -17
  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}/AddressSet.sol +0 -0
  571. /package/contracts/{types → type}/Key32.sol +0 -0
  572. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -3,21 +3,34 @@
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
+ },
6
16
  {
7
17
  "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
18
  {
14
19
  "internalType": "NftId",
15
- "name": "instanceNftId",
20
+ "name": "targetNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "getBalanceAmount",
25
+ "outputs": [
26
+ {
27
+ "internalType": "Amount",
28
+ "name": "",
16
29
  "type": "uint96"
17
30
  }
18
31
  ],
19
32
  "stateMutability": "nonpayable",
20
- "type": "constructor"
33
+ "type": "function"
21
34
  },
22
35
  {
23
36
  "inputs": [
@@ -59,24 +72,9 @@
59
72
  "type": "bytes"
60
73
  },
61
74
  {
62
- "internalType": "uint256",
63
- "name": "capitalAmount",
64
- "type": "uint256"
65
- },
66
- {
67
- "internalType": "uint256",
68
- "name": "lockedAmount",
69
- "type": "uint256"
70
- },
71
- {
72
- "internalType": "uint256",
73
- "name": "balanceAmount",
74
- "type": "uint256"
75
- },
76
- {
77
- "internalType": "uint256",
75
+ "internalType": "Seconds",
78
76
  "name": "lifetime",
79
- "type": "uint256"
77
+ "type": "uint40"
80
78
  },
81
79
  {
82
80
  "internalType": "Timestamp",
@@ -100,21 +98,82 @@
100
98
  {
101
99
  "inputs": [
102
100
  {
103
- "internalType": "ReferralId",
104
- "name": "referralId",
105
- "type": "bytes8"
101
+ "internalType": "NftId",
102
+ "name": "policyNftId",
103
+ "type": "uint96"
104
+ },
105
+ {
106
+ "internalType": "ClaimId",
107
+ "name": "claimId",
108
+ "type": "uint16"
106
109
  }
107
110
  ],
108
- "name": "getDiscountPercentage",
111
+ "name": "getClaimInfo",
109
112
  "outputs": [
110
113
  {
111
- "internalType": "UFixed",
112
- "name": "discountPercentage",
113
- "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"
114
165
  },
115
166
  {
116
- "internalType": "ReferralStatus",
117
- "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",
118
177
  "type": "uint8"
119
178
  }
120
179
  ],
@@ -125,53 +184,46 @@
125
184
  "inputs": [
126
185
  {
127
186
  "internalType": "NftId",
128
- "name": "distributionNftId",
187
+ "name": "componentNftId",
129
188
  "type": "uint96"
130
189
  }
131
190
  ],
132
- "name": "getDistributionSetupInfo",
191
+ "name": "getComponentInfo",
133
192
  "outputs": [
134
193
  {
135
194
  "components": [
195
+ {
196
+ "internalType": "string",
197
+ "name": "name",
198
+ "type": "string"
199
+ },
136
200
  {
137
201
  "internalType": "NftId",
138
202
  "name": "productNftId",
139
203
  "type": "uint96"
140
204
  },
141
205
  {
142
- "internalType": "contract TokenHandler",
143
- "name": "tokenHandler",
206
+ "internalType": "contract IERC20Metadata",
207
+ "name": "token",
144
208
  "type": "address"
145
209
  },
146
210
  {
147
- "components": [
148
- {
149
- "internalType": "UFixed",
150
- "name": "fractionalFee",
151
- "type": "uint256"
152
- },
153
- {
154
- "internalType": "uint256",
155
- "name": "fixedFee",
156
- "type": "uint256"
157
- }
158
- ],
159
- "internalType": "struct Fee",
160
- "name": "distributionFee",
161
- "type": "tuple"
162
- },
163
- {
164
- "internalType": "bool",
165
- "name": "isIntercepting",
166
- "type": "bool"
211
+ "internalType": "contract TokenHandler",
212
+ "name": "tokenHandler",
213
+ "type": "address"
167
214
  },
168
215
  {
169
216
  "internalType": "address",
170
217
  "name": "wallet",
171
218
  "type": "address"
219
+ },
220
+ {
221
+ "internalType": "bytes",
222
+ "name": "data",
223
+ "type": "bytes"
172
224
  }
173
225
  ],
174
- "internalType": "struct ISetup.DistributionSetupInfo",
226
+ "internalType": "struct IComponents.ComponentInfo",
175
227
  "name": "info",
176
228
  "type": "tuple"
177
229
  }
@@ -179,6 +231,30 @@
179
231
  "stateMutability": "view",
180
232
  "type": "function"
181
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
+ },
182
258
  {
183
259
  "inputs": [
184
260
  {
@@ -205,6 +281,16 @@
205
281
  "internalType": "bytes",
206
282
  "name": "data",
207
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"
208
294
  }
209
295
  ],
210
296
  "internalType": "struct IDistribution.DistributorInfo",
@@ -282,26 +368,32 @@
282
368
  "type": "function"
283
369
  },
284
370
  {
285
- "inputs": [],
286
- "name": "getInstance",
371
+ "inputs": [
372
+ {
373
+ "internalType": "NftId",
374
+ "name": "targetNftId",
375
+ "type": "uint96"
376
+ }
377
+ ],
378
+ "name": "getFeeAmount",
287
379
  "outputs": [
288
380
  {
289
- "internalType": "contract IInstance",
290
- "name": "instance",
291
- "type": "address"
381
+ "internalType": "Amount",
382
+ "name": "",
383
+ "type": "uint96"
292
384
  }
293
385
  ],
294
- "stateMutability": "view",
386
+ "stateMutability": "nonpayable",
295
387
  "type": "function"
296
388
  },
297
389
  {
298
390
  "inputs": [],
299
- "name": "getInstanceNftId",
391
+ "name": "getInstance",
300
392
  "outputs": [
301
393
  {
302
- "internalType": "NftId",
303
- "name": "nftId",
304
- "type": "uint96"
394
+ "internalType": "contract IInstance",
395
+ "name": "instance",
396
+ "type": "address"
305
397
  }
306
398
  ],
307
399
  "stateMutability": "view",
@@ -320,6 +412,25 @@
320
412
  "stateMutability": "view",
321
413
  "type": "function"
322
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": "nonpayable",
432
+ "type": "function"
433
+ },
323
434
  {
324
435
  "inputs": [
325
436
  {
@@ -366,6 +477,76 @@
366
477
  "stateMutability": "view",
367
478
  "type": "function"
368
479
  },
480
+ {
481
+ "inputs": [
482
+ {
483
+ "internalType": "NftId",
484
+ "name": "policyNftId",
485
+ "type": "uint96"
486
+ },
487
+ {
488
+ "internalType": "PayoutId",
489
+ "name": "payoutId",
490
+ "type": "uint24"
491
+ }
492
+ ],
493
+ "name": "getPayoutInfo",
494
+ "outputs": [
495
+ {
496
+ "components": [
497
+ {
498
+ "internalType": "ClaimId",
499
+ "name": "claimId",
500
+ "type": "uint16"
501
+ },
502
+ {
503
+ "internalType": "Amount",
504
+ "name": "amount",
505
+ "type": "uint96"
506
+ },
507
+ {
508
+ "internalType": "bytes",
509
+ "name": "data",
510
+ "type": "bytes"
511
+ },
512
+ {
513
+ "internalType": "Timestamp",
514
+ "name": "paidAt",
515
+ "type": "uint40"
516
+ }
517
+ ],
518
+ "internalType": "struct IPolicy.PayoutInfo",
519
+ "name": "info",
520
+ "type": "tuple"
521
+ }
522
+ ],
523
+ "stateMutability": "view",
524
+ "type": "function"
525
+ },
526
+ {
527
+ "inputs": [
528
+ {
529
+ "internalType": "NftId",
530
+ "name": "policyNftId",
531
+ "type": "uint96"
532
+ },
533
+ {
534
+ "internalType": "PayoutId",
535
+ "name": "payoutId",
536
+ "type": "uint24"
537
+ }
538
+ ],
539
+ "name": "getPayoutState",
540
+ "outputs": [
541
+ {
542
+ "internalType": "StateId",
543
+ "name": "state",
544
+ "type": "uint8"
545
+ }
546
+ ],
547
+ "stateMutability": "view",
548
+ "type": "function"
549
+ },
369
550
  {
370
551
  "inputs": [
371
552
  {
@@ -399,24 +580,24 @@
399
580
  "type": "bytes8"
400
581
  },
401
582
  {
402
- "internalType": "uint256",
583
+ "internalType": "Amount",
403
584
  "name": "sumInsuredAmount",
404
- "type": "uint256"
585
+ "type": "uint96"
405
586
  },
406
587
  {
407
- "internalType": "uint256",
588
+ "internalType": "Amount",
408
589
  "name": "premiumAmount",
409
- "type": "uint256"
590
+ "type": "uint96"
410
591
  },
411
592
  {
412
- "internalType": "uint256",
593
+ "internalType": "Amount",
413
594
  "name": "premiumPaidAmount",
414
- "type": "uint256"
595
+ "type": "uint96"
415
596
  },
416
597
  {
417
- "internalType": "uint256",
598
+ "internalType": "Seconds",
418
599
  "name": "lifetime",
419
- "type": "uint256"
600
+ "type": "uint40"
420
601
  },
421
602
  {
422
603
  "internalType": "bytes",
@@ -425,7 +606,7 @@
425
606
  },
426
607
  {
427
608
  "internalType": "bytes",
428
- "name": "policyData",
609
+ "name": "processData",
429
610
  "type": "bytes"
430
611
  },
431
612
  {
@@ -439,9 +620,14 @@
439
620
  "type": "uint16"
440
621
  },
441
622
  {
442
- "internalType": "uint256",
623
+ "internalType": "Amount",
624
+ "name": "claimAmount",
625
+ "type": "uint96"
626
+ },
627
+ {
628
+ "internalType": "Amount",
443
629
  "name": "payoutAmount",
444
- "type": "uint256"
630
+ "type": "uint96"
445
631
  },
446
632
  {
447
633
  "internalType": "Timestamp",
@@ -494,7 +680,7 @@
494
680
  "type": "uint96"
495
681
  }
496
682
  ],
497
- "name": "getPoolSetupInfo",
683
+ "name": "getPoolInfo",
498
684
  "outputs": [
499
685
  {
500
686
  "components": [
@@ -504,15 +690,40 @@
504
690
  "type": "uint96"
505
691
  },
506
692
  {
507
- "internalType": "contract TokenHandler",
508
- "name": "tokenHandler",
509
- "type": "address"
693
+ "internalType": "RoleId",
694
+ "name": "bundleOwnerRole",
695
+ "type": "uint64"
696
+ },
697
+ {
698
+ "internalType": "Amount",
699
+ "name": "maxCapitalAmount",
700
+ "type": "uint96"
701
+ },
702
+ {
703
+ "internalType": "bool",
704
+ "name": "isInterceptingBundleTransfers",
705
+ "type": "bool"
706
+ },
707
+ {
708
+ "internalType": "bool",
709
+ "name": "isExternallyManaged",
710
+ "type": "bool"
711
+ },
712
+ {
713
+ "internalType": "bool",
714
+ "name": "isVerifyingApplications",
715
+ "type": "bool"
510
716
  },
511
717
  {
512
718
  "internalType": "UFixed",
513
719
  "name": "collateralizationLevel",
514
720
  "type": "uint256"
515
721
  },
722
+ {
723
+ "internalType": "UFixed",
724
+ "name": "retentionLevel",
725
+ "type": "uint256"
726
+ },
516
727
  {
517
728
  "components": [
518
729
  {
@@ -563,24 +774,9 @@
563
774
  "internalType": "struct Fee",
564
775
  "name": "performanceFee",
565
776
  "type": "tuple"
566
- },
567
- {
568
- "internalType": "bool",
569
- "name": "isIntercepting",
570
- "type": "bool"
571
- },
572
- {
573
- "internalType": "bool",
574
- "name": "isConfirmingApplication",
575
- "type": "bool"
576
- },
577
- {
578
- "internalType": "address",
579
- "name": "wallet",
580
- "type": "address"
581
777
  }
582
778
  ],
583
- "internalType": "struct ISetup.PoolSetupInfo",
779
+ "internalType": "struct IComponents.PoolInfo",
584
780
  "name": "info",
585
781
  "type": "tuple"
586
782
  }
@@ -596,20 +792,10 @@
596
792
  "type": "uint96"
597
793
  }
598
794
  ],
599
- "name": "getProductSetupInfo",
795
+ "name": "getProductInfo",
600
796
  "outputs": [
601
797
  {
602
798
  "components": [
603
- {
604
- "internalType": "contract IERC20Metadata",
605
- "name": "token",
606
- "type": "address"
607
- },
608
- {
609
- "internalType": "contract TokenHandler",
610
- "name": "tokenHandler",
611
- "type": "address"
612
- },
613
799
  {
614
800
  "internalType": "NftId",
615
801
  "name": "distributionNftId",
@@ -634,7 +820,24 @@
634
820
  }
635
821
  ],
636
822
  "internalType": "struct Fee",
637
- "name": "distributionFee",
823
+ "name": "productFee",
824
+ "type": "tuple"
825
+ },
826
+ {
827
+ "components": [
828
+ {
829
+ "internalType": "UFixed",
830
+ "name": "fractionalFee",
831
+ "type": "uint256"
832
+ },
833
+ {
834
+ "internalType": "uint256",
835
+ "name": "fixedFee",
836
+ "type": "uint256"
837
+ }
838
+ ],
839
+ "internalType": "struct Fee",
840
+ "name": "processingFee",
638
841
  "type": "tuple"
639
842
  },
640
843
  {
@@ -651,7 +854,7 @@
651
854
  }
652
855
  ],
653
856
  "internalType": "struct Fee",
654
- "name": "productFee",
857
+ "name": "distributionFee",
655
858
  "type": "tuple"
656
859
  },
657
860
  {
@@ -668,7 +871,7 @@
668
871
  }
669
872
  ],
670
873
  "internalType": "struct Fee",
671
- "name": "processingFee",
874
+ "name": "minDistributionOwnerFee",
672
875
  "type": "tuple"
673
876
  },
674
877
  {
@@ -721,19 +924,9 @@
721
924
  "internalType": "struct Fee",
722
925
  "name": "performanceFee",
723
926
  "type": "tuple"
724
- },
725
- {
726
- "internalType": "bool",
727
- "name": "isIntercepting",
728
- "type": "bool"
729
- },
730
- {
731
- "internalType": "address",
732
- "name": "wallet",
733
- "type": "address"
734
927
  }
735
928
  ],
736
- "internalType": "struct ISetup.ProductSetupInfo",
929
+ "internalType": "struct IComponents.ProductInfo",
737
930
  "name": "info",
738
931
  "type": "tuple"
739
932
  }
@@ -832,7 +1025,7 @@
832
1025
  "inputs": [
833
1026
  {
834
1027
  "internalType": "NftId",
835
- "name": "productNftId",
1028
+ "name": "componentNftId",
836
1029
  "type": "uint96"
837
1030
  }
838
1031
  ],
@@ -847,144 +1040,33 @@
847
1040
  "stateMutability": "view",
848
1041
  "type": "function"
849
1042
  },
1043
+ {
1044
+ "inputs": [
1045
+ {
1046
+ "internalType": "address",
1047
+ "name": "instance",
1048
+ "type": "address"
1049
+ }
1050
+ ],
1051
+ "name": "initialize",
1052
+ "outputs": [],
1053
+ "stateMutability": "nonpayable",
1054
+ "type": "function"
1055
+ },
850
1056
  {
851
1057
  "inputs": [
852
1058
  {
853
1059
  "internalType": "NftId",
854
- "name": "productNftId",
1060
+ "name": "policyNftId",
855
1061
  "type": "uint96"
856
1062
  }
857
1063
  ],
858
- "name": "getTreasuryInfo",
1064
+ "name": "policyIsCloseable",
859
1065
  "outputs": [
860
1066
  {
861
- "components": [
862
- {
863
- "internalType": "contract IERC20Metadata",
864
- "name": "token",
865
- "type": "address"
866
- },
867
- {
868
- "internalType": "contract TokenHandler",
869
- "name": "tokenHandler",
870
- "type": "address"
871
- },
872
- {
873
- "internalType": "NftId",
874
- "name": "distributionNftId",
875
- "type": "uint96"
876
- },
877
- {
878
- "internalType": "NftId",
879
- "name": "poolNftId",
880
- "type": "uint96"
881
- },
882
- {
883
- "components": [
884
- {
885
- "internalType": "UFixed",
886
- "name": "fractionalFee",
887
- "type": "uint256"
888
- },
889
- {
890
- "internalType": "uint256",
891
- "name": "fixedFee",
892
- "type": "uint256"
893
- }
894
- ],
895
- "internalType": "struct Fee",
896
- "name": "distributionFee",
897
- "type": "tuple"
898
- },
899
- {
900
- "components": [
901
- {
902
- "internalType": "UFixed",
903
- "name": "fractionalFee",
904
- "type": "uint256"
905
- },
906
- {
907
- "internalType": "uint256",
908
- "name": "fixedFee",
909
- "type": "uint256"
910
- }
911
- ],
912
- "internalType": "struct Fee",
913
- "name": "productFee",
914
- "type": "tuple"
915
- },
916
- {
917
- "components": [
918
- {
919
- "internalType": "UFixed",
920
- "name": "fractionalFee",
921
- "type": "uint256"
922
- },
923
- {
924
- "internalType": "uint256",
925
- "name": "fixedFee",
926
- "type": "uint256"
927
- }
928
- ],
929
- "internalType": "struct Fee",
930
- "name": "processingFee",
931
- "type": "tuple"
932
- },
933
- {
934
- "components": [
935
- {
936
- "internalType": "UFixed",
937
- "name": "fractionalFee",
938
- "type": "uint256"
939
- },
940
- {
941
- "internalType": "uint256",
942
- "name": "fixedFee",
943
- "type": "uint256"
944
- }
945
- ],
946
- "internalType": "struct Fee",
947
- "name": "poolFee",
948
- "type": "tuple"
949
- },
950
- {
951
- "components": [
952
- {
953
- "internalType": "UFixed",
954
- "name": "fractionalFee",
955
- "type": "uint256"
956
- },
957
- {
958
- "internalType": "uint256",
959
- "name": "fixedFee",
960
- "type": "uint256"
961
- }
962
- ],
963
- "internalType": "struct Fee",
964
- "name": "stakingFee",
965
- "type": "tuple"
966
- },
967
- {
968
- "components": [
969
- {
970
- "internalType": "UFixed",
971
- "name": "fractionalFee",
972
- "type": "uint256"
973
- },
974
- {
975
- "internalType": "uint256",
976
- "name": "fixedFee",
977
- "type": "uint256"
978
- }
979
- ],
980
- "internalType": "struct Fee",
981
- "name": "performanceFee",
982
- "type": "tuple"
983
- }
984
- ],
985
- "internalType": "struct ITreasury.TreasuryInfo",
986
- "name": "info",
987
- "type": "tuple"
1067
+ "internalType": "bool",
1068
+ "name": "isCloseable",
1069
+ "type": "bool"
988
1070
  }
989
1071
  ],
990
1072
  "stateMutability": "view",
@@ -992,31 +1074,32 @@
992
1074
  },
993
1075
  {
994
1076
  "inputs": [
995
- {
996
- "internalType": "address",
997
- "name": "registry",
998
- "type": "address"
999
- },
1000
1077
  {
1001
1078
  "internalType": "NftId",
1002
- "name": "instanceNftId",
1079
+ "name": "poolNftId",
1003
1080
  "type": "uint96"
1004
1081
  }
1005
1082
  ],
1006
- "name": "initialize",
1007
- "outputs": [],
1008
- "stateMutability": "nonpayable",
1083
+ "name": "toBundleKey",
1084
+ "outputs": [
1085
+ {
1086
+ "internalType": "Key32",
1087
+ "name": "",
1088
+ "type": "bytes32"
1089
+ }
1090
+ ],
1091
+ "stateMutability": "pure",
1009
1092
  "type": "function"
1010
1093
  },
1011
1094
  {
1012
1095
  "inputs": [
1013
1096
  {
1014
1097
  "internalType": "NftId",
1015
- "name": "poolNftId",
1098
+ "name": "componentNftId",
1016
1099
  "type": "uint96"
1017
1100
  }
1018
1101
  ],
1019
- "name": "toBundleKey",
1102
+ "name": "toComponentKey",
1020
1103
  "outputs": [
1021
1104
  {
1022
1105
  "internalType": "Key32",
@@ -1165,25 +1248,6 @@
1165
1248
  "stateMutability": "pure",
1166
1249
  "type": "function"
1167
1250
  },
1168
- {
1169
- "inputs": [
1170
- {
1171
- "internalType": "NftId",
1172
- "name": "productNftId",
1173
- "type": "uint96"
1174
- }
1175
- ],
1176
- "name": "toTreasuryKey",
1177
- "outputs": [
1178
- {
1179
- "internalType": "Key32",
1180
- "name": "",
1181
- "type": "bytes32"
1182
- }
1183
- ],
1184
- "stateMutability": "pure",
1185
- "type": "function"
1186
- },
1187
1251
  {
1188
1252
  "inputs": [
1189
1253
  {
@@ -1209,212 +1273,296 @@
1209
1273
  "type": "function"
1210
1274
  }
1211
1275
  ],
1212
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620036ab380380620036ab83398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b6130a680620006056000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80639096a1f3116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610525578063f2a413741461053d578063f2b246c314610552578063f7f318d31461057257600080fd5b8063d06458c6146104e1578063d4cda0d814610501578063dd26287a1461051257600080fd5b8063a310e2a3116100d3578063a310e2a3146103ff578063a5961b4c1461042a578063b82d7ef514610497578063bd7d9d85146104c157600080fd5b80639096a1f31461034857806390af70641461036d5780639ad69c671461038d57600080fd5b80634793b4ab116101665780637bfd3217116101405780637bfd3217146102e75780637e54602a146102fa5780637e7986691461030d578063887b1fa91461032857600080fd5b80634793b4ab1461029457806355e343a9146102b457806364eb3a9b146102d457600080fd5b806327b1d792116101a257806327b1d7921461022257806335898f5d146102425780633f093cd61461025557806344aa68361461028157600080fd5b80631488c845146101c95780631d3be477146101ef57806325d037431461020f575b600080fd5b6101dc6101d7366004611b67565b610585565b6040519081526020015b60405180910390f35b6102026101fd366004611bb6565b61060b565b6040516101e69190611c23565b6101dc61021d366004611cd3565b61075d565b610235610230366004611cd3565b6107fd565b6040516101e69190611cf0565b6101dc610250366004611cd3565b6108b7565b610268610263366004611e9a565b6108e4565b6040516001600160c01b031990911681526020016101e6565b6101dc61028f366004611f2c565b610961565b6102a76102a2366004611cd3565b61099c565b6040516101e69190611f45565b6102c76102c2366004611cd3565b610a42565b6040516101e69190611ff9565b6101dc6102e2366004611cd3565b610b5a565b6101dc6102f5366004611cd3565b610b87565b6101dc610308366004611cd3565b610bb4565b6001546040516001600160601b0390911681526020016101e6565b61033b610336366004611bb6565b610be1565b6040516101e691906120b9565b61035b610356366004611cd3565b610d0a565b60405160ff90911681526020016101e6565b61038061037b366004611cd3565b610d8d565b6040516101e691906120e7565b6103a061039b366004611cd3565b610e33565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101e6565b61041261040d366004611cd3565b610ed9565b6040516001600160a01b0390911681526020016101e6565b61043d610438366004611f2c565b610f87565b6040516101e69190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a5366004611bb6565b61101b565b6040805192835260ff9091166020830152016101e6565b6104d46104cf366004611cd3565b6112c3565b6040516101e69190612211565b6104f46104ef366004611bb6565b6113e1565b6040516101e69190612352565b6002546001600160a01b0316610412565b6101dc610520366004611cd3565b611554565b600154600160601b90046001600160a01b0316610412565b61055061054b366004612417565b611581565b005b610565610560366004611cd3565b611873565b6040516101e69190612445565b6101dc610580366004611cd3565b6119bb565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106049190612547565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d69190612547565b6040518263ffffffff1660e01b81526004016106f491815260200190565b600060405180830381865afa158015610711573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261073991908101906125a5565b8051909150156107575780806020019051810190610604919061261b565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612547565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f61083685610bb4565b6040518263ffffffff1660e01b815260040161085491815260200190565b600060405180830381865afa158015610871573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261089991908101906125a5565b80519091501561075757808060200190518101906106049190612714565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610786565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092090869086906004016127ba565b602060405180830381865af415801561093d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060491906127dc565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107b6565b6109a46119e8565b6002546000906001600160a01b03166354f6127f6109c1856119bb565b6040518263ffffffff1660e01b81526004016109df91815260200190565b600060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2491908101906125a5565b80519091501561075757808060200190518101906106049190612829565b610abc60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ad985611554565b6040518263ffffffff1660e01b8152600401610af791815260200190565b600060405180830381865afa158015610b14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b3c91908101906125a5565b80519091501561075757808060200190518101906106049190612914565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610786565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610786565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610786565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610c65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c899190612547565b6040518263ffffffff1660e01b8152600401610ca791815260200190565b600060405180830381865afa158015610cc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cec91908101906125a5565b805190915015610757578080602001905181019061060491906129c9565b600154600090600160601b90046001600160a01b03166309648a9d610d2e84610b5a565b6040518263ffffffff1660e01b8152600401610d4c91815260200190565b602060405180830381865afa158015610d69573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612a62565b610d95611a66565b6002546000906001600160a01b03166354f6127f610db285610b87565b6040518263ffffffff1660e01b8152600401610dd091815260200190565b600060405180830381865afa158015610ded573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1591908101906125a5565b80519091501561075757808060200190518101906106049190612a7f565b610e3b611b1f565b6002546000906001600160a01b03166354f6127f610e58856108b7565b6040518263ffffffff1660e01b8152600401610e7691815260200190565b600060405180830381865afa158015610e93573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ebb91908101906125a5565b80519091501561075757808060200190518101906106049190612b76565b60025460009081906001600160a01b03166354f6127f610ef88561075d565b6040518263ffffffff1660e01b8152600401610f1691815260200190565b600060405180830381865afa158015610f33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5b91908101906125a5565b80519091501561075757600081806020019051810190610f7b9190612bed565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ff7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612cbe565b60008060006110298461060b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611088573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ac9190612d2c565b1561112b5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111e9190612547565b60645b9250925050915091565b6111af8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561117c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a09190612d47565b64ffffffffff90811691161090565b156112285773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112219190612547565b606e611121565b806060015163ffffffff16816080015163ffffffff16106112b75773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561128c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b09190612547565b6078611121565b6040810151600a611121565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61136085610b5a565b6040518263ffffffff1660e01b815260040161137e91815260200190565b600060405180830381865afa15801561139b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113c391908101906125a5565b80519091501561075757808060200190518101906106049190612d74565b61144060405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af41580156114af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d39190612547565b6040518263ffffffff1660e01b81526004016114f191815260200190565b600060405180830381865afa15801561150e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261153691908101906125a5565b80519091501561075757808060200190518101906106049190612ed9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610786565b60005460ff16156115e35760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166116395760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f000000000060448201526064016115da565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b59190612d2c565b6117015760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f0000000000000060448201526064016115da565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561178c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117b49190810190612fd0565b90506117d181604001516117c6604690565b60ff90811691161490565b6118275760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b60648201526084016115da565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61191d604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61193a8561075d565b6040518263ffffffff1660e01b815260040161195891815260200190565b600060405180830381865afa158015611975573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261199d91908101906125a5565b80519091501561075757808060200190518101906106049190612bed565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610786565b60405180610120016040528060006001600160601b03168152602001611a21604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611b0b604051806040016040528060008152602001600081525090565b60008060408385031215611b7a57600080fd5b8235915060208301358060000b8114611b9257600080fd5b809150509250929050565b6001600160c01b031981168114611bb357600080fd5b50565b600060208284031215611bc857600080fd5b813561060481611b9d565b60005b83811015611bee578181015183820152602001611bd6565b50506000910152565b60008151808452611c0f816020860160208601611bd3565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c53610100840182611bf7565b90506040840151606084015263ffffffff60608501511660808401526080840151611c8660a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611cb58282611bf7565b95945050505050565b6001600160601b0381168114611bb357600080fd5b600060208284031215611ce557600080fd5b813561060481611cbe565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611d2d6080840182611bf7565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611d6d57611d6d611d35565b60405290565b604080519081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161012081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161018081016001600160401b0381118282101715611d6d57611d6d611d35565b60405160a081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161014081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161020081016001600160401b0381118282101715611d6d57611d6d611d35565b604051601f8201601f191681016001600160401b0381118282101715611e6b57611e6b611d35565b604052919050565b60006001600160401b03821115611e8c57611e8c611d35565b50601f01601f191660200190565b60008060408385031215611ead57600080fd5b8235611eb881611cbe565b915060208301356001600160401b03811115611ed357600080fd5b8301601f81018513611ee457600080fd5b8035611ef7611ef282611e73565b611e43565b818152866020838501011115611f0c57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611f3e57600080fd5b5035919050565b60208152611f5f6020820183516001600160601b03169052565b60006020830151611f7d604084018280518252602090810151910152565b506040830151610140806080850152611f9a610160850183611bf7565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611fe261012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b03168152602080830151610180830191612026908401826001600160a01b03169052565b5060408301516040830152606083015161204d606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611d2d6060840182611bf7565b81516001600160a01b031681526102408101602083015161211360208401826001600160a01b03169052565b50604083015161212e60408401826001600160601b03169052565b50606083015161214960608401826001600160601b03169052565b506080830151612166608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061219c8185018380518252602090810151910152565b60e085015191506101406121bc8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b0381166102208401526120b2565b6020815261222b6020820183516001600160601b03169052565b6000602083015161224760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526122bf610220860184611bf7565b9250808601519050610140601f1986850301818701526122df8483611bf7565b9350808701519150506101606122fa8187018361ffff169052565b86015190506101806123118682018361ffff169052565b8601516101a08681019190915286015190506101c06123388187018364ffffffffff169052565b86015190506101e0611fe28682018364ffffffffff169052565b6020815260008251610120806020850152612371610140850183611bf7565b915060208501516040850152604085015160608501526060850151608085015260808501516123a860a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006123de8187018315159052565b860151858403601f19018387015290506123f88382611bf7565b9695505050505050565b6001600160a01b0381168114611bb357600080fd5b6000806040838503121561242a57600080fd5b823561243581612402565b91506020830135611b9281611cbe565b81516001600160a01b031681526102008101602083015161247160208401826001600160a01b03169052565b50604083015161248c60408401826001600160601b03169052565b5060608301516124a760608401826001600160601b03169052565b5060808301516124c4608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006124fa8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506120b2565b60006020828403121561255957600080fd5b5051919050565b600082601f83011261257157600080fd5b815161257f611ef282611e73565b81815284602083860101111561259457600080fd5b611d2d826020830160208701611bd3565b6000602082840312156125b757600080fd5b81516001600160401b038111156125cd57600080fd5b611d2d84828501612560565b80516125e481611cbe565b919050565b63ffffffff81168114611bb357600080fd5b80516125e4816125e9565b805164ffffffffff811681146125e457600080fd5b60006020828403121561262d57600080fd5b81516001600160401b038082111561264457600080fd5b9083019060e0828603121561265857600080fd5b612660611d4b565b612669836125d9565b815260208301518281111561267d57600080fd5b61268987828601612560565b602083015250604083015160408201526126a5606084016125fb565b60608201526126b6608084016125fb565b60808201526126c760a08401612606565b60a082015260c0830151828111156126de57600080fd5b6126ea87828601612560565b60c08301525095945050505050565b80516125e481611b9d565b805180151581146125e457600080fd5b60006020828403121561272657600080fd5b81516001600160401b038082111561273d57600080fd5b908301906060828603121561275157600080fd5b60405160608101818110838211171561276c5761276c611d35565b604052825161277a81611b9d565b815261278860208401612704565b602082015260408301518281111561279f57600080fd5b6127ab87828601612560565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611d2d6040830184611bf7565b6000602082840312156127ee57600080fd5b815161060481611b9d565b60006040828403121561280b57600080fd5b612813611d73565b9050815181526020820151602082015292915050565b60006020828403121561283b57600080fd5b81516001600160401b038082111561285257600080fd5b90830190610140828603121561286757600080fd5b61286f611d95565b612878836125d9565b815261288786602085016127f9565b602082015260608301518281111561289e57600080fd5b6128aa87828601612560565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506128e8828401612606565b60e08201526128fa6101208401612606565b91810191909152949350505050565b80516125e481612402565b6000610180828403121561292757600080fd5b61292f611d95565b612938836125d9565b815261294660208401612909565b60208201526040830151604082015261296284606085016127f9565b60608201526129748460a085016127f9565b60808201526129868460e085016127f9565b60a08201526129986101208401612704565b60c08201526129aa6101408401612704565b60e08201526129bc6101608401612909565b6101008201529392505050565b6000602082840312156129db57600080fd5b81516001600160401b03808211156129f257600080fd5b9083019060408286031215612a0657600080fd5b612a0e611d73565b8251612a1981611cbe565b8152602083015182811115612a2d57600080fd5b612a3987828601612560565b60208301525095945050505050565b60ff81168114611bb357600080fd5b80516125e481612a48565b600060208284031215612a7457600080fd5b815161060481612a48565b60006102408284031215612a9257600080fd5b612a9a611db8565b612aa383612909565b8152612ab160208401612909565b6020820152612ac2604084016125d9565b6040820152612ad3606084016125d9565b6060820152612ae584608085016127f9565b6080820152612af78460c085016127f9565b60a0820152610100612b0b858286016127f9565b60c0830152610140612b1f868287016127f9565b60e0840152612b328661018087016127f9565b82840152612b44866101c087016127f9565b610120840152612b576102008601612704565b9083015250612b696102208401612909565b6101608201529392505050565b600060c08284031215612b8857600080fd5b612b90611ddb565b8251612b9b81611cbe565b81526020830151612bab81612402565b6020820152612bbd84604085016127f9565b6040820152612bce60808401612704565b606082015260a0830151612be181612402565b60808201529392505050565b60006102008284031215612c0057600080fd5b612c08611dfd565b612c1183612909565b8152612c1f60208401612909565b6020820152612c30604084016125d9565b6040820152612c41606084016125d9565b6060820152612c5384608085016127f9565b6080820152612c658460c085016127f9565b60a0820152610100612c79858286016127f9565b60c0830152612c8c8561014086016127f9565b60e0830152612c9f8561018086016127f9565b90820152612cb1846101c085016127f9565b6101208201529392505050565b600060a08284031215612cd057600080fd5b612cd8611ddb565b8251612ce381612a48565b81526020830151612cf381612a48565b60208201526040830151612d0681612402565b60408201526060830151612d19816125e9565b60608201526080830151612be1816125e9565b600060208284031215612d3e57600080fd5b61060482612704565b600060208284031215612d5957600080fd5b61060482612606565b805161ffff811681146125e457600080fd5b600060208284031215612d8657600080fd5b81516001600160401b0380821115612d9d57600080fd5b908301906102008286031215612db257600080fd5b612dba611e20565b612dc3836125d9565b8152612dd1602084016125d9565b6020820152612de2604084016126f9565b6040820152612df3606084016126f9565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612e3457600080fd5b612e4088828701612560565b8284015250506101208084015183811115612e5a57600080fd5b612e6688828701612560565b8284015250506101409150612e7c828401612d62565b828201526101609150612e90828401612d62565b82820152610180915081830151828201526101a09150612eb1828401612606565b828201526101c09150612ec5828401612606565b828201526101e091506128fa828401612606565b600060208284031215612eeb57600080fd5b81516001600160401b0380821115612f0257600080fd5b908301906101208286031215612f1757600080fd5b612f1f611d95565b825182811115612f2e57600080fd5b612f3a87828601612560565b825250602083015160208201526040830151604082015260608301516060820152612f67608084016125fb565b6080820152612f7860a084016125fb565b60a0820152612f8960c08401612704565b60c0820152612f9a60e08401612704565b60e08201526101008084015183811115612fb357600080fd5b612fbf88828701612560565b918301919091525095945050505050565b600060208284031215612fe257600080fd5b81516001600160401b0380821115612ff957600080fd5b9083019060e0828603121561300d57600080fd5b613015611d4b565b61301e836125d9565b815261302c602084016125d9565b602082015261303d60408401612a57565b604082015261304e60608401612704565b606082015261305f60808401612909565b60808201526126c760a0840161290956fea2646970667358221220e439ada156072f0af69819c768e3bd3028bc1e13db4405b2f2904e58553ad92a64736f6c63430008140033",
1213
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80639096a1f3116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610525578063f2a413741461053d578063f2b246c314610552578063f7f318d31461057257600080fd5b8063d06458c6146104e1578063d4cda0d814610501578063dd26287a1461051257600080fd5b8063a310e2a3116100d3578063a310e2a3146103ff578063a5961b4c1461042a578063b82d7ef514610497578063bd7d9d85146104c157600080fd5b80639096a1f31461034857806390af70641461036d5780639ad69c671461038d57600080fd5b80634793b4ab116101665780637bfd3217116101405780637bfd3217146102e75780637e54602a146102fa5780637e7986691461030d578063887b1fa91461032857600080fd5b80634793b4ab1461029457806355e343a9146102b457806364eb3a9b146102d457600080fd5b806327b1d792116101a257806327b1d7921461022257806335898f5d146102425780633f093cd61461025557806344aa68361461028157600080fd5b80631488c845146101c95780631d3be477146101ef57806325d037431461020f575b600080fd5b6101dc6101d7366004611b67565b610585565b6040519081526020015b60405180910390f35b6102026101fd366004611bb6565b61060b565b6040516101e69190611c23565b6101dc61021d366004611cd3565b61075d565b610235610230366004611cd3565b6107fd565b6040516101e69190611cf0565b6101dc610250366004611cd3565b6108b7565b610268610263366004611e9a565b6108e4565b6040516001600160c01b031990911681526020016101e6565b6101dc61028f366004611f2c565b610961565b6102a76102a2366004611cd3565b61099c565b6040516101e69190611f45565b6102c76102c2366004611cd3565b610a42565b6040516101e69190611ff9565b6101dc6102e2366004611cd3565b610b5a565b6101dc6102f5366004611cd3565b610b87565b6101dc610308366004611cd3565b610bb4565b6001546040516001600160601b0390911681526020016101e6565b61033b610336366004611bb6565b610be1565b6040516101e691906120b9565b61035b610356366004611cd3565b610d0a565b60405160ff90911681526020016101e6565b61038061037b366004611cd3565b610d8d565b6040516101e691906120e7565b6103a061039b366004611cd3565b610e33565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101e6565b61041261040d366004611cd3565b610ed9565b6040516001600160a01b0390911681526020016101e6565b61043d610438366004611f2c565b610f87565b6040516101e69190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104aa6104a5366004611bb6565b61101b565b6040805192835260ff9091166020830152016101e6565b6104d46104cf366004611cd3565b6112c3565b6040516101e69190612211565b6104f46104ef366004611bb6565b6113e1565b6040516101e69190612352565b6002546001600160a01b0316610412565b6101dc610520366004611cd3565b611554565b600154600160601b90046001600160a01b0316610412565b61055061054b366004612417565b611581565b005b610565610560366004611cd3565b611873565b6040516101e69190612445565b6101dc610580366004611cd3565b6119bb565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106049190612547565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156106b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d69190612547565b6040518263ffffffff1660e01b81526004016106f491815260200190565b600060405180830381865afa158015610711573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261073991908101906125a5565b8051909150156107575780806020019051810190610604919061261b565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612547565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f61083685610bb4565b6040518263ffffffff1660e01b815260040161085491815260200190565b600060405180830381865afa158015610871573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261089991908101906125a5565b80519091501561075757808060200190518101906106049190612714565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610786565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092090869086906004016127ba565b602060405180830381865af415801561093d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060491906127dc565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016107b6565b6109a46119e8565b6002546000906001600160a01b03166354f6127f6109c1856119bb565b6040518263ffffffff1660e01b81526004016109df91815260200190565b600060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2491908101906125a5565b80519091501561075757808060200190518101906106049190612829565b610abc60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ad985611554565b6040518263ffffffff1660e01b8152600401610af791815260200190565b600060405180830381865afa158015610b14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b3c91908101906125a5565b80519091501561075757808060200190518101906106049190612914565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610786565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610786565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610786565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610c65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c899190612547565b6040518263ffffffff1660e01b8152600401610ca791815260200190565b600060405180830381865afa158015610cc4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cec91908101906125a5565b805190915015610757578080602001905181019061060491906129c9565b600154600090600160601b90046001600160a01b03166309648a9d610d2e84610b5a565b6040518263ffffffff1660e01b8152600401610d4c91815260200190565b602060405180830381865afa158015610d69573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612a62565b610d95611a66565b6002546000906001600160a01b03166354f6127f610db285610b87565b6040518263ffffffff1660e01b8152600401610dd091815260200190565b600060405180830381865afa158015610ded573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1591908101906125a5565b80519091501561075757808060200190518101906106049190612a7f565b610e3b611b1f565b6002546000906001600160a01b03166354f6127f610e58856108b7565b6040518263ffffffff1660e01b8152600401610e7691815260200190565b600060405180830381865afa158015610e93573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ebb91908101906125a5565b80519091501561075757808060200190518101906106049190612b76565b60025460009081906001600160a01b03166354f6127f610ef88561075d565b6040518263ffffffff1660e01b8152600401610f1691815260200190565b600060405180830381865afa158015610f33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f5b91908101906125a5565b80519091501561075757600081806020019051810190610f7b9190612bed565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ff7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f79190612cbe565b60008060006110298461060b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611088573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ac9190612d2c565b1561112b5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111e9190612547565b60645b9250925050915091565b6111af8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561117c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a09190612d47565b64ffffffffff90811691161090565b156112285773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112219190612547565b606e611121565b806060015163ffffffff16816080015163ffffffff16106112b75773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561128c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b09190612547565b6078611121565b6040810151600a611121565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61136085610b5a565b6040518263ffffffff1660e01b815260040161137e91815260200190565b600060405180830381865afa15801561139b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113c391908101906125a5565b80519091501561075757808060200190518101906106049190612d74565b61144060405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af41580156114af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d39190612547565b6040518263ffffffff1660e01b81526004016114f191815260200190565b600060405180830381865afa15801561150e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261153691908101906125a5565b80519091501561075757808060200190518101906106049190612ed9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610786565b60005460ff16156115e35760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166116395760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f000000000060448201526064016115da565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b59190612d2c565b6117015760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f0000000000000060448201526064016115da565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561178c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117b49190810190612fd0565b90506117d181604001516117c6604690565b60ff90811691161490565b6118275760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b60648201526084016115da565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61191d604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61193a8561075d565b6040518263ffffffff1660e01b815260040161195891815260200190565b600060405180830381865afa158015611975573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261199d91908101906125a5565b80519091501561075757808060200190518101906106049190612bed565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610786565b60405180610120016040528060006001600160601b03168152602001611a21604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611b0b604051806040016040528060008152602001600081525090565b60008060408385031215611b7a57600080fd5b8235915060208301358060000b8114611b9257600080fd5b809150509250929050565b6001600160c01b031981168114611bb357600080fd5b50565b600060208284031215611bc857600080fd5b813561060481611b9d565b60005b83811015611bee578181015183820152602001611bd6565b50506000910152565b60008151808452611c0f816020860160208601611bd3565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c53610100840182611bf7565b90506040840151606084015263ffffffff60608501511660808401526080840151611c8660a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611cb58282611bf7565b95945050505050565b6001600160601b0381168114611bb357600080fd5b600060208284031215611ce557600080fd5b813561060481611cbe565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611d2d6080840182611bf7565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611d6d57611d6d611d35565b60405290565b604080519081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161012081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161018081016001600160401b0381118282101715611d6d57611d6d611d35565b60405160a081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161014081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161020081016001600160401b0381118282101715611d6d57611d6d611d35565b604051601f8201601f191681016001600160401b0381118282101715611e6b57611e6b611d35565b604052919050565b60006001600160401b03821115611e8c57611e8c611d35565b50601f01601f191660200190565b60008060408385031215611ead57600080fd5b8235611eb881611cbe565b915060208301356001600160401b03811115611ed357600080fd5b8301601f81018513611ee457600080fd5b8035611ef7611ef282611e73565b611e43565b818152866020838501011115611f0c57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611f3e57600080fd5b5035919050565b60208152611f5f6020820183516001600160601b03169052565b60006020830151611f7d604084018280518252602090810151910152565b506040830151610140806080850152611f9a610160850183611bf7565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611fe261012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b03168152602080830151610180830191612026908401826001600160a01b03169052565b5060408301516040830152606083015161204d606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611d2d6060840182611bf7565b81516001600160a01b031681526102408101602083015161211360208401826001600160a01b03169052565b50604083015161212e60408401826001600160601b03169052565b50606083015161214960608401826001600160601b03169052565b506080830151612166608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061219c8185018380518252602090810151910152565b60e085015191506101406121bc8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b0381166102208401526120b2565b6020815261222b6020820183516001600160601b03169052565b6000602083015161224760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526122bf610220860184611bf7565b9250808601519050610140601f1986850301818701526122df8483611bf7565b9350808701519150506101606122fa8187018361ffff169052565b86015190506101806123118682018361ffff169052565b8601516101a08681019190915286015190506101c06123388187018364ffffffffff169052565b86015190506101e0611fe28682018364ffffffffff169052565b6020815260008251610120806020850152612371610140850183611bf7565b915060208501516040850152604085015160608501526060850151608085015260808501516123a860a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006123de8187018315159052565b860151858403601f19018387015290506123f88382611bf7565b9695505050505050565b6001600160a01b0381168114611bb357600080fd5b6000806040838503121561242a57600080fd5b823561243581612402565b91506020830135611b9281611cbe565b81516001600160a01b031681526102008101602083015161247160208401826001600160a01b03169052565b50604083015161248c60408401826001600160601b03169052565b5060608301516124a760608401826001600160601b03169052565b5060808301516124c4608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006124fa8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506120b2565b60006020828403121561255957600080fd5b5051919050565b600082601f83011261257157600080fd5b815161257f611ef282611e73565b81815284602083860101111561259457600080fd5b611d2d826020830160208701611bd3565b6000602082840312156125b757600080fd5b81516001600160401b038111156125cd57600080fd5b611d2d84828501612560565b80516125e481611cbe565b919050565b63ffffffff81168114611bb357600080fd5b80516125e4816125e9565b805164ffffffffff811681146125e457600080fd5b60006020828403121561262d57600080fd5b81516001600160401b038082111561264457600080fd5b9083019060e0828603121561265857600080fd5b612660611d4b565b612669836125d9565b815260208301518281111561267d57600080fd5b61268987828601612560565b602083015250604083015160408201526126a5606084016125fb565b60608201526126b6608084016125fb565b60808201526126c760a08401612606565b60a082015260c0830151828111156126de57600080fd5b6126ea87828601612560565b60c08301525095945050505050565b80516125e481611b9d565b805180151581146125e457600080fd5b60006020828403121561272657600080fd5b81516001600160401b038082111561273d57600080fd5b908301906060828603121561275157600080fd5b60405160608101818110838211171561276c5761276c611d35565b604052825161277a81611b9d565b815261278860208401612704565b602082015260408301518281111561279f57600080fd5b6127ab87828601612560565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611d2d6040830184611bf7565b6000602082840312156127ee57600080fd5b815161060481611b9d565b60006040828403121561280b57600080fd5b612813611d73565b9050815181526020820151602082015292915050565b60006020828403121561283b57600080fd5b81516001600160401b038082111561285257600080fd5b90830190610140828603121561286757600080fd5b61286f611d95565b612878836125d9565b815261288786602085016127f9565b602082015260608301518281111561289e57600080fd5b6128aa87828601612560565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506128e8828401612606565b60e08201526128fa6101208401612606565b91810191909152949350505050565b80516125e481612402565b6000610180828403121561292757600080fd5b61292f611d95565b612938836125d9565b815261294660208401612909565b60208201526040830151604082015261296284606085016127f9565b60608201526129748460a085016127f9565b60808201526129868460e085016127f9565b60a08201526129986101208401612704565b60c08201526129aa6101408401612704565b60e08201526129bc6101608401612909565b6101008201529392505050565b6000602082840312156129db57600080fd5b81516001600160401b03808211156129f257600080fd5b9083019060408286031215612a0657600080fd5b612a0e611d73565b8251612a1981611cbe565b8152602083015182811115612a2d57600080fd5b612a3987828601612560565b60208301525095945050505050565b60ff81168114611bb357600080fd5b80516125e481612a48565b600060208284031215612a7457600080fd5b815161060481612a48565b60006102408284031215612a9257600080fd5b612a9a611db8565b612aa383612909565b8152612ab160208401612909565b6020820152612ac2604084016125d9565b6040820152612ad3606084016125d9565b6060820152612ae584608085016127f9565b6080820152612af78460c085016127f9565b60a0820152610100612b0b858286016127f9565b60c0830152610140612b1f868287016127f9565b60e0840152612b328661018087016127f9565b82840152612b44866101c087016127f9565b610120840152612b576102008601612704565b9083015250612b696102208401612909565b6101608201529392505050565b600060c08284031215612b8857600080fd5b612b90611ddb565b8251612b9b81611cbe565b81526020830151612bab81612402565b6020820152612bbd84604085016127f9565b6040820152612bce60808401612704565b606082015260a0830151612be181612402565b60808201529392505050565b60006102008284031215612c0057600080fd5b612c08611dfd565b612c1183612909565b8152612c1f60208401612909565b6020820152612c30604084016125d9565b6040820152612c41606084016125d9565b6060820152612c5384608085016127f9565b6080820152612c658460c085016127f9565b60a0820152610100612c79858286016127f9565b60c0830152612c8c8561014086016127f9565b60e0830152612c9f8561018086016127f9565b90820152612cb1846101c085016127f9565b6101208201529392505050565b600060a08284031215612cd057600080fd5b612cd8611ddb565b8251612ce381612a48565b81526020830151612cf381612a48565b60208201526040830151612d0681612402565b60408201526060830151612d19816125e9565b60608201526080830151612be1816125e9565b600060208284031215612d3e57600080fd5b61060482612704565b600060208284031215612d5957600080fd5b61060482612606565b805161ffff811681146125e457600080fd5b600060208284031215612d8657600080fd5b81516001600160401b0380821115612d9d57600080fd5b908301906102008286031215612db257600080fd5b612dba611e20565b612dc3836125d9565b8152612dd1602084016125d9565b6020820152612de2604084016126f9565b6040820152612df3606084016126f9565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612e3457600080fd5b612e4088828701612560565b8284015250506101208084015183811115612e5a57600080fd5b612e6688828701612560565b8284015250506101409150612e7c828401612d62565b828201526101609150612e90828401612d62565b82820152610180915081830151828201526101a09150612eb1828401612606565b828201526101c09150612ec5828401612606565b828201526101e091506128fa828401612606565b600060208284031215612eeb57600080fd5b81516001600160401b0380821115612f0257600080fd5b908301906101208286031215612f1757600080fd5b612f1f611d95565b825182811115612f2e57600080fd5b612f3a87828601612560565b825250602083015160208201526040830151604082015260608301516060820152612f67608084016125fb565b6080820152612f7860a084016125fb565b60a0820152612f8960c08401612704565b60c0820152612f9a60e08401612704565b60e08201526101008084015183811115612fb357600080fd5b612fbf88828701612560565b918301919091525095945050505050565b600060208284031215612fe257600080fd5b81516001600160401b0380821115612ff957600080fd5b9083019060e0828603121561300d57600080fd5b613015611d4b565b61301e836125d9565b815261302c602084016125d9565b602082015261303d60408401612a57565b604082015261304e60608401612704565b606082015261305f60808401612909565b60808201526126c760a0840161290956fea2646970667358221220e439ada156072f0af69819c768e3bd3028bc1e13db4405b2f2904e58553ad92a64736f6c63430008140033",
1276
+ "bytecode": "0x608060405234801561001057600080fd5b50613871806100206000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80637bfd32171161011a578063b82d7ef5116100ad578063d4cda0d81161007c578063d4cda0d8146105a5578063dd26287a146105b6578063de7b5d14146105c9578063f0ea17c3146105df578063f7f318d3146105ff57600080fd5b8063b82d7ef514610526578063bd7d9d8514610550578063c4d66de814610570578063d06458c61461058557600080fd5b80639096a1f3116100e95780639096a1f31461045b578063a310e2a31461046e578063a5961b4c14610499578063a7ef3d211461050657600080fd5b80637bfd3217146104025780637e54602a14610415578063887b1fa9146104285780638eb9000d1461044857600080fd5b80633f093cd61161019d57806357f80bbf1161016c57806357f80bbf146103745780635da894021461039457806364eb3a9b146103b957806375d357df146103cc57806378ae9350146103ef57600080fd5b80633f093cd61461030257806344aa68361461032e5780634793b4ab146103415780634fb784f51461036157600080fd5b8063228e42ec116101d9578063228e42ec1461029c57806327b1d792146102af57806335898f5d146102cf57806339bb60cd146102e257600080fd5b80630232ca491461020b5780630b5d931c1461023b5780631488c8451461025b5780631d3be4771461027c575b600080fd5b61021e610219366004612108565b610612565b6040516001600160601b0390911681526020015b60405180910390f35b61024e610249366004612108565b61068f565b6040516102329190612125565b61026e610269366004612208565b610742565b604051908152602001610232565b61028f61028a366004612254565b6107c1565b60405161023291906122c1565b61021e6102aa366004612108565b61090d565b6102c26102bd366004612108565b610947565b604051610232919061235c565b61026e6102dd366004612108565b610a11565b6102f56102f03660046123c9565b610aab565b60405161023291906123ff565b6103156103103660046125bd565b610bfd565b6040516001600160c01b03199091168152602001610232565b61026e61033c36600461264f565b610c7a565b61035461034f366004612108565b610cb5565b6040516102329190612668565b61026e61036f366004612108565b610d5b565b610387610382366004612108565b610d88565b60405161023291906126ee565b6103a76103a23660046123c9565b610e2e565b60405160ff9091168152602001610232565b61026e6103c7366004612108565b610f2b565b6103df6103da366004612108565b610f58565b6040519015158152602001610232565b6103a76103fd3660046127f1565b6111e7565b61026e610410366004612108565b611247565b61026e610423366004612108565b611274565b61043b610436366004612254565b6112a1565b604051610232919061281f565b61021e610456366004612108565b6113ca565b6103a7610469366004612108565b611404565b61048161047c366004612108565b611480565b6040516001600160a01b039091168152602001610232565b6104ac6104a736600461264f565b61152e565b6040516102329190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6105196105143660046127f1565b6115c2565b6040516102329190612855565b610539610534366004612254565b611717565b6040805192835260ff909116602083015201610232565b61056361055e366004612108565b6119bf565b60405161023291906128f5565b61058361057e366004612abb565b611ae5565b005b610598610593366004612254565b611bfe565b6040516102329190612ad8565b6001546001600160a01b0316610481565b61026e6105c4366004612108565b611d71565b60005461010090046001600160a01b0316610481565b6105f26105ed366004612108565b611d9e565b6040516102329190612b88565b61026e61060d366004612108565b611e6c565b600154604051630232ca4960e01b81526001600160601b03831660048201526000916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610665573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106899190612c12565b92915050565b610697611f20565b6001546000906001600160a01b03166354f6127f6106b485611247565b6040518263ffffffff1660e01b81526004016106d291815260200190565b600060405180830381865afa1580156106ef573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107179190810190612c74565b80519091501561073c57808060200190518101906107359190612cd8565b9392505050565b50919050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561079d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107359190612d98565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610868573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088c9190612d98565b6040518263ffffffff1660e01b81526004016108aa91815260200190565b600060405180830381865afa1580156108c7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108ef9190810190612c74565b80519091501561073c57808060200190518101906107359190612dec565b6001546040516308a390bb60e21b81526001600160601b03831660048201526000916001600160a01b03169063228e42ec90602401610648565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f61099085611274565b6040518263ffffffff1660e01b81526004016109ae91815260200190565b600060405180830381865afa1580156109cb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109f39190810190612c74565b80519091501561073c57808060200190518101906107359190612ee5565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660785b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610a87573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106899190612d98565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610b49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6d9190612d98565b6040518263ffffffff1660e01b8152600401610b8b91815260200190565b600060405180830381865afa158015610ba8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bd09190810190612c74565b805190915015610bf65780806020019051810190610bee9190612fad565b915050610689565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610c39908690869060040161306c565b602060405180830381865af4158015610c56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610735919061308e565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610a6a565b610cbd61203a565b6001546000906001600160a01b03166354f6127f610cda85611e6c565b6040518263ffffffff1660e01b8152600401610cf891815260200190565b600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d9190810190612c74565b80519091501561073c578080602001905181019061073591906130ab565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166064610a3a565b610d90612095565b6001546000906001600160a01b03166354f6127f610dad85611d71565b6040518263ffffffff1660e01b8152600401610dcb91815260200190565b600060405180830381865afa158015610de8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e109190810190612c74565b80519091501561073c5780806020019051810190610735919061318b565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecc9190612d98565b6040518263ffffffff1660e01b8152600401610eea91815260200190565b602060405180830381865afa158015610f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610735919061326a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610a3a565b600080610f64836119bf565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610fc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe69190613287565b15610ff45750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611051573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110759190613287565b156110835750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156110e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111049190613287565b156111125750600092915050565b61016081015161ffff161561112a5750600092915050565b61113d8161018001518260800151611e99565b1561114b5750600192915050565b6111d073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611197573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bb91906132a2565b826101e0015164ffffffffff90811691161090565b156111de5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e8b565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610a3a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610a3a565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611325573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113499190612d98565b6040518263ffffffff1660e01b815260040161136791815260200190565b600060405180830381865afa158015611384573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113ac9190810190612c74565b80519091501561073c578080602001905181019061073591906132bf565b600154604051638eb9000d60e01b81526001600160601b03831660048201526000916001600160a01b031690638eb9000d90602401610648565b6001546000906001600160a01b03166309648a9d61142184610f2b565b6040518263ffffffff1660e01b815260040161143f91815260200190565b602060405180830381865afa15801561145c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610689919061326a565b60015460009081906001600160a01b03166354f6127f61149f85610d5b565b6040518263ffffffff1660e01b81526004016114bd91815260200190565b600060405180830381865afa1580156114da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115029190810190612c74565b80519091501561073c576000818060200190518101906115229190613349565b60600151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa15801561159e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610689919061341d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611672573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116969190612d98565b6040518263ffffffff1660e01b81526004016116b491815260200190565b600060405180830381865afa1580156116d1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116f99190810190612c74565b805190915015610bf65780806020019051810190610bee9190613497565b6000806000611725846107c1565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a89190613287565b156118275773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156117f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181a9190612d98565b60645b9250925050915091565b6118ab8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189c91906132a2565b64ffffffffff90811691161090565b156119245773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191d9190612d98565b606e61181d565b806060015163ffffffff16816080015163ffffffff16106119b35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ac9190612d98565b607861181d565b6040810151600a61181d565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f611a6485610f2b565b6040518263ffffffff1660e01b8152600401611a8291815260200190565b600060405180830381865afa158015611a9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ac79190810190612c74565b80519091501561073c5780806020019051810190610735919061357c565b60005460ff1615611b095760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611b3057604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bce9190613727565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611c5d60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cf09190612d98565b6040518263ffffffff1660e01b8152600401611d0e91815260200190565b600060405180830381865afa158015611d2b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d539190810190612c74565b80519091501561073c57808060200190518101906107359190613744565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610a3a565b6040805160c08101825260608082526000602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f611deb85610d5b565b6040518263ffffffff1660e01b8152600401611e0991815260200190565b600060405180830381865afa158015611e26573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e4e9190810190612c74565b80519091501561073c57808060200190518101906107359190613349565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610a3a565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611efc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107359190613287565b60405180610120016040528060006001600160601b0316815260200160006001600160601b03168152602001611f69604051806040016040528060008152602001600081525090565b8152602001611f8b604051806040016040528060008152602001600081525090565b8152602001611fad604051806040016040528060008152602001600081525090565b8152602001611fcf604051806040016040528060008152602001600081525090565b8152602001611ff1604051806040016040528060008152602001600081525090565b8152602001612013604051806040016040528060008152602001600081525090565b8152602001612035604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b03168152602001612072604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e08301829052835180850190945281845283015290610100820190611ff1565b6001600160601b038116811461210557600080fd5b50565b60006020828403121561211a57600080fd5b8135610735816120f0565b81516001600160601b03168152602080830151610200830191612152908401826001600160601b03169052565b50604083015161216f604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006121bc8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610bf6565b6000806040838503121561221b57600080fd5b8235915060208301358060000b811461223357600080fd5b809150509250929050565b6001600160c01b03198116811461210557600080fd5b60006020828403121561226657600080fd5b81356107358161223e565b60005b8381101561228c578181015183820152602001612274565b50506000910152565b600081518084526122ad816020860160208601612271565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526122f1610100840182612295565b90506040840151606084015263ffffffff6060850151166080840152608084015161232460a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526123538282612295565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261239a60c0840182612295565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156123dc57600080fd5b82356123e7816120f0565b9150602083013562ffffff8116811461223357600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261243c60a0840182612295565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561249157612491612459565b60405290565b60405161012081016001600160401b038111828210171561249157612491612459565b60405160e081016001600160401b038111828210171561249157612491612459565b60405160a081016001600160401b038111828210171561249157612491612459565b60405160c081016001600160401b038111828210171561249157612491612459565b60405161016081016001600160401b038111828210171561249157612491612459565b60405161022081016001600160401b038111828210171561249157612491612459565b604051601f8201601f191681016001600160401b038111828210171561258e5761258e612459565b604052919050565b60006001600160401b038211156125af576125af612459565b50601f01601f191660200190565b600080604083850312156125d057600080fd5b82356125db816120f0565b915060208301356001600160401b038111156125f657600080fd5b8301601f8101851361260757600080fd5b803561261a61261582612596565b612566565b81815286602083850101111561262f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561266157600080fd5b5035919050565b602081526001600160601b0382511660208201526000602083015161269a604084018280518252602090810151910152565b50604083015160e060808401526126b5610100840182612295565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c08101602083015161271a60208401826001600160401b03169052565b50604083015161273560408401826001600160601b03169052565b506060830151612749606084018215159052565b50608083015161275d608084018215159052565b5060a083015161277160a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516127a38285018280518252602090810151910152565b50506101208301516101406127c48185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610bf6565b61ffff8116811461210557600080fd5b6000806040838503121561280457600080fd5b823561280f816120f0565b91506020830135612233816127e1565b602081526001600160601b0382511660208201526000602083015160408084015261284d6060840182612295565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015161289a608084018260ff169052565b50608083015160e060a08401526128b5610100840182612295565b905060a0840151601f198483030160c08501526128d28282612295565b91505060c08401516128ed60e085018264ffffffffff169052565b509392505050565b6020815261290f6020820183516001600160601b03169052565b6000602083015161292b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006129b18185018364ffffffffff169052565b8085015191505061022061012081818601526129d1610240860184612295565b9250808601519050610140601f1986850301818701526129f18483612295565b935080870151915050610160612a0c8187018361ffff169052565b8601519050610180612a238682018361ffff169052565b86015190506101a0612a3f868201836001600160601b03169052565b86015190506101c0612a5b868201836001600160601b03169052565b86015190506101e0612a758682018364ffffffffff169052565b8601519050610200612a8f8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461210557600080fd5b600060208284031215612acd57600080fd5b813561073581612aa6565b6020815260008251610120806020850152612af7610140850183612295565b91506020850151604085015260408501516060850152606085015160808501526080850151612b2e60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612b648187018315159052565b860151858403601f1901838701529050612b7e8382612295565b9695505050505050565b602081526000825160c06020840152612ba460e0840182612295565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c08501526123538282612295565b8051612c0d816120f0565b919050565b600060208284031215612c2457600080fd5b8151610735816120f0565b600082601f830112612c4057600080fd5b8151612c4e61261582612596565b818152846020838601011115612c6357600080fd5b61284d826020830160208701612271565b600060208284031215612c8657600080fd5b81516001600160401b03811115612c9c57600080fd5b61284d84828501612c2f565b600060408284031215612cba57600080fd5b612cc261246f565b9050815181526020820151602082015292915050565b60006102008284031215612ceb57600080fd5b612cf3612497565b612cfc83612c02565b8152612d0a60208401612c02565b6020820152612d1c8460408501612ca8565b6040820152612d2e8460808501612ca8565b6060820152612d408460c08501612ca8565b6080820152610100612d5485828601612ca8565b60a0830152612d67856101408601612ca8565b60c0830152612d7a856101808601612ca8565b60e0830152612d8d856101c08601612ca8565b908201529392505050565b600060208284031215612daa57600080fd5b5051919050565b63ffffffff8116811461210557600080fd5b8051612c0d81612db1565b64ffffffffff8116811461210557600080fd5b8051612c0d81612dce565b600060208284031215612dfe57600080fd5b81516001600160401b0380821115612e1557600080fd5b9083019060e08286031215612e2957600080fd5b612e316124ba565b612e3a83612c02565b8152602083015182811115612e4e57600080fd5b612e5a87828601612c2f565b60208301525060408301516040820152612e7660608401612dc3565b6060820152612e8760808401612dc3565b6080820152612e9860a08401612de1565b60a082015260c083015182811115612eaf57600080fd5b612ebb87828601612c2f565b60c08301525095945050505050565b8051612c0d8161223e565b80518015158114612c0d57600080fd5b600060208284031215612ef757600080fd5b81516001600160401b0380821115612f0e57600080fd5b9083019060a08286031215612f2257600080fd5b612f2a6124dc565b8251612f358161223e565b8152612f4360208401612ed5565b6020820152604083015182811115612f5a57600080fd5b612f6687828601612c2f565b60408301525060608301519150612f7c826120f0565b81606082015260808301519250612f9283612db1565b6080810192909252509392505050565b8051612c0d816127e1565b600060208284031215612fbf57600080fd5b81516001600160401b0380821115612fd657600080fd5b9083019060808286031215612fea57600080fd5b60405160808101818110838211171561300557613005612459565b6040528251613013816127e1565b81526020830151613023816120f0565b602082015260408301518281111561303a57600080fd5b61304687828601612c2f565b6040830152506060830151925061305c83612dce565b6060810192909252509392505050565b6001600160601b038316815260406020820152600061284d6040830184612295565b6000602082840312156130a057600080fd5b81516107358161223e565b6000602082840312156130bd57600080fd5b81516001600160401b03808211156130d457600080fd5b9083019060e082860312156130e857600080fd5b6130f06124fe565b82516130fb816120f0565b815261310a8660208501612ca8565b602082015260608301518281111561312157600080fd5b61312d87828601612c2f565b6040830152506080830151915061314382612dce565b81606082015261315560a08401612de1565b608082015261316660c08401612de1565b60a082015295945050505050565b80516001600160401b0381168114612c0d57600080fd5b60006101c0828403121561319e57600080fd5b6131a6612520565b6131af83612c02565b81526131bd60208401613174565b60208201526131ce60408401612c02565b60408201526131df60608401612ed5565b60608201526131f060808401612ed5565b608082015261320160a08401612ed5565b60a082015260c083015160c082015260e083015160e082015261010061322985828601612ca8565b9082015261014061323c85858301612ca8565b610120830152612d8d856101808601612ca8565b60ff8116811461210557600080fd5b8051612c0d81613250565b60006020828403121561327c57600080fd5b815161073581613250565b60006020828403121561329957600080fd5b61073582612ed5565b6000602082840312156132b457600080fd5b815161073581612dce565b6000602082840312156132d157600080fd5b81516001600160401b03808211156132e857600080fd5b90830190604082860312156132fc57600080fd5b61330461246f565b825161330f816120f0565b815260208301518281111561332357600080fd5b61332f87828601612c2f565b60208301525095945050505050565b8051612c0d81612aa6565b60006020828403121561335b57600080fd5b81516001600160401b038082111561337257600080fd5b9083019060c0828603121561338657600080fd5b61338e6124fe565b82518281111561339d57600080fd5b6133a987828601612c2f565b8252506133b860208401612c02565b60208201526133c96040840161333e565b60408201526133da6060840161333e565b60608201526133eb6080840161333e565b608082015260a08301518281111561340257600080fd5b61340e87828601612c2f565b60a08301525095945050505050565b600060a0828403121561342f57600080fd5b6134376124dc565b825161344281613250565b8152602083015161345281613250565b6020820152604083015161346581612aa6565b6040820152606083015161347881612db1565b6060820152608083015161348b81612db1565b60808201529392505050565b6000602082840312156134a957600080fd5b81516001600160401b03808211156134c057600080fd5b9083019060e082860312156134d457600080fd5b6134dc6124ba565b6134e583612c02565b81526134f360208401612c02565b60208201526135046040840161325f565b60408201526135156060840161325f565b606082015260808301518281111561352c57600080fd5b61353887828601612c2f565b60808301525060a08301518281111561355057600080fd5b61355c87828601612c2f565b60a08301525061356e60c08401612de1565b60c082015295945050505050565b60006020828403121561358e57600080fd5b81516001600160401b03808211156135a557600080fd5b9083019061022082860312156135ba57600080fd5b6135c2612543565b6135cb83612c02565b81526135d960208401612c02565b60208201526135ea60408401612eca565b60408201526135fb60608401612eca565b606082015261360c60808401612c02565b608082015261361d60a08401612c02565b60a082015261362e60c08401612c02565b60c082015261363f60e08401612de1565b60e0820152610100808401518381111561365857600080fd5b61366488828701612c2f565b828401525050610120808401518381111561367e57600080fd5b61368a88828701612c2f565b82840152505061014091506136a0828401612fa2565b8282015261016091506136b4828401612fa2565b8282015261018091506136c8828401612c02565b828201526101a091506136dc828401612c02565b828201526101c091506136f0828401612de1565b828201526101e09150613704828401612de1565b828201526102009150613718828401612de1565b91810191909152949350505050565b60006020828403121561373957600080fd5b815161073581612aa6565b60006020828403121561375657600080fd5b81516001600160401b038082111561376d57600080fd5b90830190610120828603121561378257600080fd5b61378a612497565b82518281111561379957600080fd5b6137a587828601612c2f565b8252506020830151602082015260408301516040820152606083015160608201526137d260808401612dc3565b60808201526137e360a08401612dc3565b60a08201526137f460c08401612ed5565b60c082015261380560e08401612ed5565b60e0820152610100808401518381111561381e57600080fd5b61382a88828701612c2f565b91830191909152509594505050505056fea2646970667358221220d6bfb49af1a98bf314cc3aad89c0303e46e2cb8b91f70c68eee8f0e122aa5d6264736f6c63430008140033",
1277
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102065760003560e01c80637bfd32171161011a578063b82d7ef5116100ad578063d4cda0d81161007c578063d4cda0d8146105a5578063dd26287a146105b6578063de7b5d14146105c9578063f0ea17c3146105df578063f7f318d3146105ff57600080fd5b8063b82d7ef514610526578063bd7d9d8514610550578063c4d66de814610570578063d06458c61461058557600080fd5b80639096a1f3116100e95780639096a1f31461045b578063a310e2a31461046e578063a5961b4c14610499578063a7ef3d211461050657600080fd5b80637bfd3217146104025780637e54602a14610415578063887b1fa9146104285780638eb9000d1461044857600080fd5b80633f093cd61161019d57806357f80bbf1161016c57806357f80bbf146103745780635da894021461039457806364eb3a9b146103b957806375d357df146103cc57806378ae9350146103ef57600080fd5b80633f093cd61461030257806344aa68361461032e5780634793b4ab146103415780634fb784f51461036157600080fd5b8063228e42ec116101d9578063228e42ec1461029c57806327b1d792146102af57806335898f5d146102cf57806339bb60cd146102e257600080fd5b80630232ca491461020b5780630b5d931c1461023b5780631488c8451461025b5780631d3be4771461027c575b600080fd5b61021e610219366004612108565b610612565b6040516001600160601b0390911681526020015b60405180910390f35b61024e610249366004612108565b61068f565b6040516102329190612125565b61026e610269366004612208565b610742565b604051908152602001610232565b61028f61028a366004612254565b6107c1565b60405161023291906122c1565b61021e6102aa366004612108565b61090d565b6102c26102bd366004612108565b610947565b604051610232919061235c565b61026e6102dd366004612108565b610a11565b6102f56102f03660046123c9565b610aab565b60405161023291906123ff565b6103156103103660046125bd565b610bfd565b6040516001600160c01b03199091168152602001610232565b61026e61033c36600461264f565b610c7a565b61035461034f366004612108565b610cb5565b6040516102329190612668565b61026e61036f366004612108565b610d5b565b610387610382366004612108565b610d88565b60405161023291906126ee565b6103a76103a23660046123c9565b610e2e565b60405160ff9091168152602001610232565b61026e6103c7366004612108565b610f2b565b6103df6103da366004612108565b610f58565b6040519015158152602001610232565b6103a76103fd3660046127f1565b6111e7565b61026e610410366004612108565b611247565b61026e610423366004612108565b611274565b61043b610436366004612254565b6112a1565b604051610232919061281f565b61021e610456366004612108565b6113ca565b6103a7610469366004612108565b611404565b61048161047c366004612108565b611480565b6040516001600160a01b039091168152602001610232565b6104ac6104a736600461264f565b61152e565b6040516102329190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6105196105143660046127f1565b6115c2565b6040516102329190612855565b610539610534366004612254565b611717565b6040805192835260ff909116602083015201610232565b61056361055e366004612108565b6119bf565b60405161023291906128f5565b61058361057e366004612abb565b611ae5565b005b610598610593366004612254565b611bfe565b6040516102329190612ad8565b6001546001600160a01b0316610481565b61026e6105c4366004612108565b611d71565b60005461010090046001600160a01b0316610481565b6105f26105ed366004612108565b611d9e565b6040516102329190612b88565b61026e61060d366004612108565b611e6c565b600154604051630232ca4960e01b81526001600160601b03831660048201526000916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610665573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106899190612c12565b92915050565b610697611f20565b6001546000906001600160a01b03166354f6127f6106b485611247565b6040518263ffffffff1660e01b81526004016106d291815260200190565b600060405180830381865afa1580156106ef573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107179190810190612c74565b80519091501561073c57808060200190518101906107359190612cd8565b9392505050565b50919050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561079d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107359190612d98565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610868573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088c9190612d98565b6040518263ffffffff1660e01b81526004016108aa91815260200190565b600060405180830381865afa1580156108c7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108ef9190810190612c74565b80519091501561073c57808060200190518101906107359190612dec565b6001546040516308a390bb60e21b81526001600160601b03831660048201526000916001600160a01b03169063228e42ec90602401610648565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f61099085611274565b6040518263ffffffff1660e01b81526004016109ae91815260200190565b600060405180830381865afa1580156109cb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109f39190810190612c74565b80519091501561073c57808060200190518101906107359190612ee5565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660785b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610a87573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106899190612d98565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610b49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6d9190612d98565b6040518263ffffffff1660e01b8152600401610b8b91815260200190565b600060405180830381865afa158015610ba8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bd09190810190612c74565b805190915015610bf65780806020019051810190610bee9190612fad565b915050610689565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610c39908690869060040161306c565b602060405180830381865af4158015610c56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610735919061308e565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610a6a565b610cbd61203a565b6001546000906001600160a01b03166354f6127f610cda85611e6c565b6040518263ffffffff1660e01b8152600401610cf891815260200190565b600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d9190810190612c74565b80519091501561073c578080602001905181019061073591906130ab565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166064610a3a565b610d90612095565b6001546000906001600160a01b03166354f6127f610dad85611d71565b6040518263ffffffff1660e01b8152600401610dcb91815260200190565b600060405180830381865afa158015610de8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e109190810190612c74565b80519091501561073c5780806020019051810190610735919061318b565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610ea8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecc9190612d98565b6040518263ffffffff1660e01b8152600401610eea91815260200190565b602060405180830381865afa158015610f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610735919061326a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610a3a565b600080610f64836119bf565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610fc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe69190613287565b15610ff45750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611051573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110759190613287565b156110835750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156110e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111049190613287565b156111125750600092915050565b61016081015161ffff161561112a5750600092915050565b61113d8161018001518260800151611e99565b1561114b5750600192915050565b6111d073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611197573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bb91906132a2565b826101e0015164ffffffffff90811691161090565b156111de5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e8b565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610a3a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610a3a565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611325573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113499190612d98565b6040518263ffffffff1660e01b815260040161136791815260200190565b600060405180830381865afa158015611384573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113ac9190810190612c74565b80519091501561073c578080602001905181019061073591906132bf565b600154604051638eb9000d60e01b81526001600160601b03831660048201526000916001600160a01b031690638eb9000d90602401610648565b6001546000906001600160a01b03166309648a9d61142184610f2b565b6040518263ffffffff1660e01b815260040161143f91815260200190565b602060405180830381865afa15801561145c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610689919061326a565b60015460009081906001600160a01b03166354f6127f61149f85610d5b565b6040518263ffffffff1660e01b81526004016114bd91815260200190565b600060405180830381865afa1580156114da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115029190810190612c74565b80519091501561073c576000818060200190518101906115229190613349565b60600151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa15801561159e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610689919061341d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611672573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116969190612d98565b6040518263ffffffff1660e01b81526004016116b491815260200190565b600060405180830381865afa1580156116d1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116f99190810190612c74565b805190915015610bf65780806020019051810190610bee9190613497565b6000806000611725846107c1565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a89190613287565b156118275773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156117f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181a9190612d98565b60645b9250925050915091565b6118ab8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189c91906132a2565b64ffffffffff90811691161090565b156119245773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191d9190612d98565b606e61181d565b806060015163ffffffff16816080015163ffffffff16106119b35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ac9190612d98565b607861181d565b6040810151600a61181d565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f611a6485610f2b565b6040518263ffffffff1660e01b8152600401611a8291815260200190565b600060405180830381865afa158015611a9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ac79190810190612c74565b80519091501561073c5780806020019051810190610735919061357c565b60005460ff1615611b095760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611b3057604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bce9190613727565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611c5d60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cf09190612d98565b6040518263ffffffff1660e01b8152600401611d0e91815260200190565b600060405180830381865afa158015611d2b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d539190810190612c74565b80519091501561073c57808060200190518101906107359190613744565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610a3a565b6040805160c08101825260608082526000602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f611deb85610d5b565b6040518263ffffffff1660e01b8152600401611e0991815260200190565b600060405180830381865afa158015611e26573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e4e9190810190612c74565b80519091501561073c57808060200190518101906107359190613349565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610a3a565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611efc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107359190613287565b60405180610120016040528060006001600160601b0316815260200160006001600160601b03168152602001611f69604051806040016040528060008152602001600081525090565b8152602001611f8b604051806040016040528060008152602001600081525090565b8152602001611fad604051806040016040528060008152602001600081525090565b8152602001611fcf604051806040016040528060008152602001600081525090565b8152602001611ff1604051806040016040528060008152602001600081525090565b8152602001612013604051806040016040528060008152602001600081525090565b8152602001612035604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b03168152602001612072604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e08301829052835180850190945281845283015290610100820190611ff1565b6001600160601b038116811461210557600080fd5b50565b60006020828403121561211a57600080fd5b8135610735816120f0565b81516001600160601b03168152602080830151610200830191612152908401826001600160601b03169052565b50604083015161216f604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006121bc8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610bf6565b6000806040838503121561221b57600080fd5b8235915060208301358060000b811461223357600080fd5b809150509250929050565b6001600160c01b03198116811461210557600080fd5b60006020828403121561226657600080fd5b81356107358161223e565b60005b8381101561228c578181015183820152602001612274565b50506000910152565b600081518084526122ad816020860160208601612271565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526122f1610100840182612295565b90506040840151606084015263ffffffff6060850151166080840152608084015161232460a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526123538282612295565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261239a60c0840182612295565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156123dc57600080fd5b82356123e7816120f0565b9150602083013562ffffff8116811461223357600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261243c60a0840182612295565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561249157612491612459565b60405290565b60405161012081016001600160401b038111828210171561249157612491612459565b60405160e081016001600160401b038111828210171561249157612491612459565b60405160a081016001600160401b038111828210171561249157612491612459565b60405160c081016001600160401b038111828210171561249157612491612459565b60405161016081016001600160401b038111828210171561249157612491612459565b60405161022081016001600160401b038111828210171561249157612491612459565b604051601f8201601f191681016001600160401b038111828210171561258e5761258e612459565b604052919050565b60006001600160401b038211156125af576125af612459565b50601f01601f191660200190565b600080604083850312156125d057600080fd5b82356125db816120f0565b915060208301356001600160401b038111156125f657600080fd5b8301601f8101851361260757600080fd5b803561261a61261582612596565b612566565b81815286602083850101111561262f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561266157600080fd5b5035919050565b602081526001600160601b0382511660208201526000602083015161269a604084018280518252602090810151910152565b50604083015160e060808401526126b5610100840182612295565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c08101602083015161271a60208401826001600160401b03169052565b50604083015161273560408401826001600160601b03169052565b506060830151612749606084018215159052565b50608083015161275d608084018215159052565b5060a083015161277160a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516127a38285018280518252602090810151910152565b50506101208301516101406127c48185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610bf6565b61ffff8116811461210557600080fd5b6000806040838503121561280457600080fd5b823561280f816120f0565b91506020830135612233816127e1565b602081526001600160601b0382511660208201526000602083015160408084015261284d6060840182612295565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015161289a608084018260ff169052565b50608083015160e060a08401526128b5610100840182612295565b905060a0840151601f198483030160c08501526128d28282612295565b91505060c08401516128ed60e085018264ffffffffff169052565b509392505050565b6020815261290f6020820183516001600160601b03169052565b6000602083015161292b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006129b18185018364ffffffffff169052565b8085015191505061022061012081818601526129d1610240860184612295565b9250808601519050610140601f1986850301818701526129f18483612295565b935080870151915050610160612a0c8187018361ffff169052565b8601519050610180612a238682018361ffff169052565b86015190506101a0612a3f868201836001600160601b03169052565b86015190506101c0612a5b868201836001600160601b03169052565b86015190506101e0612a758682018364ffffffffff169052565b8601519050610200612a8f8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461210557600080fd5b600060208284031215612acd57600080fd5b813561073581612aa6565b6020815260008251610120806020850152612af7610140850183612295565b91506020850151604085015260408501516060850152606085015160808501526080850151612b2e60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612b648187018315159052565b860151858403601f1901838701529050612b7e8382612295565b9695505050505050565b602081526000825160c06020840152612ba460e0840182612295565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c08501526123538282612295565b8051612c0d816120f0565b919050565b600060208284031215612c2457600080fd5b8151610735816120f0565b600082601f830112612c4057600080fd5b8151612c4e61261582612596565b818152846020838601011115612c6357600080fd5b61284d826020830160208701612271565b600060208284031215612c8657600080fd5b81516001600160401b03811115612c9c57600080fd5b61284d84828501612c2f565b600060408284031215612cba57600080fd5b612cc261246f565b9050815181526020820151602082015292915050565b60006102008284031215612ceb57600080fd5b612cf3612497565b612cfc83612c02565b8152612d0a60208401612c02565b6020820152612d1c8460408501612ca8565b6040820152612d2e8460808501612ca8565b6060820152612d408460c08501612ca8565b6080820152610100612d5485828601612ca8565b60a0830152612d67856101408601612ca8565b60c0830152612d7a856101808601612ca8565b60e0830152612d8d856101c08601612ca8565b908201529392505050565b600060208284031215612daa57600080fd5b5051919050565b63ffffffff8116811461210557600080fd5b8051612c0d81612db1565b64ffffffffff8116811461210557600080fd5b8051612c0d81612dce565b600060208284031215612dfe57600080fd5b81516001600160401b0380821115612e1557600080fd5b9083019060e08286031215612e2957600080fd5b612e316124ba565b612e3a83612c02565b8152602083015182811115612e4e57600080fd5b612e5a87828601612c2f565b60208301525060408301516040820152612e7660608401612dc3565b6060820152612e8760808401612dc3565b6080820152612e9860a08401612de1565b60a082015260c083015182811115612eaf57600080fd5b612ebb87828601612c2f565b60c08301525095945050505050565b8051612c0d8161223e565b80518015158114612c0d57600080fd5b600060208284031215612ef757600080fd5b81516001600160401b0380821115612f0e57600080fd5b9083019060a08286031215612f2257600080fd5b612f2a6124dc565b8251612f358161223e565b8152612f4360208401612ed5565b6020820152604083015182811115612f5a57600080fd5b612f6687828601612c2f565b60408301525060608301519150612f7c826120f0565b81606082015260808301519250612f9283612db1565b6080810192909252509392505050565b8051612c0d816127e1565b600060208284031215612fbf57600080fd5b81516001600160401b0380821115612fd657600080fd5b9083019060808286031215612fea57600080fd5b60405160808101818110838211171561300557613005612459565b6040528251613013816127e1565b81526020830151613023816120f0565b602082015260408301518281111561303a57600080fd5b61304687828601612c2f565b6040830152506060830151925061305c83612dce565b6060810192909252509392505050565b6001600160601b038316815260406020820152600061284d6040830184612295565b6000602082840312156130a057600080fd5b81516107358161223e565b6000602082840312156130bd57600080fd5b81516001600160401b03808211156130d457600080fd5b9083019060e082860312156130e857600080fd5b6130f06124fe565b82516130fb816120f0565b815261310a8660208501612ca8565b602082015260608301518281111561312157600080fd5b61312d87828601612c2f565b6040830152506080830151915061314382612dce565b81606082015261315560a08401612de1565b608082015261316660c08401612de1565b60a082015295945050505050565b80516001600160401b0381168114612c0d57600080fd5b60006101c0828403121561319e57600080fd5b6131a6612520565b6131af83612c02565b81526131bd60208401613174565b60208201526131ce60408401612c02565b60408201526131df60608401612ed5565b60608201526131f060808401612ed5565b608082015261320160a08401612ed5565b60a082015260c083015160c082015260e083015160e082015261010061322985828601612ca8565b9082015261014061323c85858301612ca8565b610120830152612d8d856101808601612ca8565b60ff8116811461210557600080fd5b8051612c0d81613250565b60006020828403121561327c57600080fd5b815161073581613250565b60006020828403121561329957600080fd5b61073582612ed5565b6000602082840312156132b457600080fd5b815161073581612dce565b6000602082840312156132d157600080fd5b81516001600160401b03808211156132e857600080fd5b90830190604082860312156132fc57600080fd5b61330461246f565b825161330f816120f0565b815260208301518281111561332357600080fd5b61332f87828601612c2f565b60208301525095945050505050565b8051612c0d81612aa6565b60006020828403121561335b57600080fd5b81516001600160401b038082111561337257600080fd5b9083019060c0828603121561338657600080fd5b61338e6124fe565b82518281111561339d57600080fd5b6133a987828601612c2f565b8252506133b860208401612c02565b60208201526133c96040840161333e565b60408201526133da6060840161333e565b60608201526133eb6080840161333e565b608082015260a08301518281111561340257600080fd5b61340e87828601612c2f565b60a08301525095945050505050565b600060a0828403121561342f57600080fd5b6134376124dc565b825161344281613250565b8152602083015161345281613250565b6020820152604083015161346581612aa6565b6040820152606083015161347881612db1565b6060820152608083015161348b81612db1565b60808201529392505050565b6000602082840312156134a957600080fd5b81516001600160401b03808211156134c057600080fd5b9083019060e082860312156134d457600080fd5b6134dc6124ba565b6134e583612c02565b81526134f360208401612c02565b60208201526135046040840161325f565b60408201526135156060840161325f565b606082015260808301518281111561352c57600080fd5b61353887828601612c2f565b60808301525060a08301518281111561355057600080fd5b61355c87828601612c2f565b60a08301525061356e60c08401612de1565b60c082015295945050505050565b60006020828403121561358e57600080fd5b81516001600160401b03808211156135a557600080fd5b9083019061022082860312156135ba57600080fd5b6135c2612543565b6135cb83612c02565b81526135d960208401612c02565b60208201526135ea60408401612eca565b60408201526135fb60608401612eca565b606082015261360c60808401612c02565b608082015261361d60a08401612c02565b60a082015261362e60c08401612c02565b60c082015261363f60e08401612de1565b60e0820152610100808401518381111561365857600080fd5b61366488828701612c2f565b828401525050610120808401518381111561367e57600080fd5b61368a88828701612c2f565b82840152505061014091506136a0828401612fa2565b8282015261016091506136b4828401612fa2565b8282015261018091506136c8828401612c02565b828201526101a091506136dc828401612c02565b828201526101c091506136f0828401612de1565b828201526101e09150613704828401612de1565b828201526102009150613718828401612de1565b91810191909152949350505050565b60006020828403121561373957600080fd5b815161073581612aa6565b60006020828403121561375657600080fd5b81516001600160401b038082111561376d57600080fd5b90830190610120828603121561378257600080fd5b61378a612497565b82518281111561379957600080fd5b6137a587828601612c2f565b8252506020830151602082015260408301516040820152606083015160608201526137d260808401612dc3565b60808201526137e360a08401612dc3565b60a08201526137f460c08401612ed5565b60c082015261380560e08401612ed5565b60e0820152610100808401518381111561381e57600080fd5b61382a88828701612c2f565b91830191909152509594505050505056fea2646970667358221220d6bfb49af1a98bf314cc3aad89c0303e46e2cb8b91f70c68eee8f0e122aa5d6264736f6c63430008140033",
1214
1278
  "linkReferences": {
1215
- "contracts/types/DistributorType.sol": {
1279
+ "contracts/type/Amount.sol": {
1280
+ "AmountLib": [
1281
+ {
1282
+ "length": 20,
1283
+ "start": 7906
1284
+ }
1285
+ ]
1286
+ },
1287
+ "contracts/type/ClaimId.sol": {
1288
+ "ClaimIdLib": [
1289
+ {
1290
+ "length": 20,
1291
+ "start": 4677
1292
+ },
1293
+ {
1294
+ "length": 20,
1295
+ "start": 5720
1296
+ }
1297
+ ]
1298
+ },
1299
+ "contracts/type/DistributorType.sol": {
1216
1300
  "DistributorTypeLib": [
1217
1301
  {
1218
1302
  "length": 20,
1219
- "start": 6778
1303
+ "start": 7346
1220
1304
  }
1221
1305
  ]
1222
1306
  },
1223
- "contracts/types/NftId.sol": {
1307
+ "contracts/type/NftId.sol": {
1224
1308
  "NftIdLib": [
1225
1309
  {
1226
1310
  "length": 20,
1227
- "start": 289
1311
+ "start": 2613
1228
1312
  },
1229
1313
  {
1230
1314
  "length": 20,
1231
- "start": 3430
1315
+ "start": 3455
1232
1316
  },
1233
1317
  {
1234
1318
  "length": 20,
1235
- "start": 3776
1319
+ "start": 3919
1236
1320
  },
1237
1321
  {
1238
1322
  "length": 20,
1239
- "start": 4451
1323
+ "start": 4008
1240
1324
  },
1241
1325
  {
1242
1326
  "length": 20,
1243
- "start": 4496
1327
+ "start": 4715
1244
1328
  },
1245
1329
  {
1246
1330
  "length": 20,
1247
- "start": 4541
1331
+ "start": 4760
1248
1332
  },
1249
1333
  {
1250
1334
  "length": 20,
1251
- "start": 7005
1335
+ "start": 7573
1252
1336
  },
1253
1337
  {
1254
1338
  "length": 20,
1255
- "start": 7260
1339
+ "start": 7824
1340
+ }
1341
+ ]
1342
+ },
1343
+ "contracts/type/PayoutId.sol": {
1344
+ "PayoutIdLib": [
1345
+ {
1346
+ "length": 20,
1347
+ "start": 2863
1256
1348
  },
1257
1349
  {
1258
1350
  "length": 20,
1259
- "start": 8132
1351
+ "start": 3725
1260
1352
  }
1261
1353
  ]
1262
1354
  },
1263
- "contracts/types/Referral.sol": {
1355
+ "contracts/type/Referral.sol": {
1264
1356
  "ReferralLib": [
1265
1357
  {
1266
1358
  "length": 20,
1267
- "start": 3197
1359
+ "start": 2126
1268
1360
  },
1269
1361
  {
1270
1362
  "length": 20,
1271
- "start": 3835
1363
+ "start": 3119
1272
1364
  }
1273
1365
  ]
1274
1366
  },
1275
- "contracts/types/RiskId.sol": {
1367
+ "contracts/type/RiskId.sol": {
1276
1368
  "RiskIdLib": [
1277
1369
  {
1278
1370
  "length": 20,
1279
- "start": 4656
1371
+ "start": 4875
1280
1372
  }
1281
1373
  ]
1282
1374
  },
1283
- "contracts/types/Timestamp.sol": {
1375
+ "contracts/type/Timestamp.sol": {
1284
1376
  "TimestampLib": [
1285
1377
  {
1286
1378
  "length": 20,
1287
- "start": 5715
1379
+ "start": 4151
1380
+ },
1381
+ {
1382
+ "length": 20,
1383
+ "start": 4294
1384
+ },
1385
+ {
1386
+ "length": 20,
1387
+ "start": 4464
1388
+ },
1389
+ {
1390
+ "length": 20,
1391
+ "start": 5994
1288
1392
  },
1289
1393
  {
1290
1394
  "length": 20,
1291
- "start": 5946
1395
+ "start": 6225
1292
1396
  }
1293
1397
  ]
1294
1398
  },
1295
- "contracts/types/UFixed.sol": {
1399
+ "contracts/type/UFixed.sol": {
1296
1400
  "UFixedLib": [
1297
1401
  {
1298
1402
  "length": 20,
1299
- "start": 2987
1403
+ "start": 1923
1300
1404
  },
1301
1405
  {
1302
1406
  "length": 20,
1303
- "start": 3967
1407
+ "start": 3251
1304
1408
  },
1305
1409
  {
1306
1410
  "length": 20,
1307
- "start": 5816
1411
+ "start": 6095
1308
1412
  },
1309
1413
  {
1310
1414
  "length": 20,
1311
- "start": 6075
1415
+ "start": 6354
1312
1416
  },
1313
1417
  {
1314
1418
  "length": 20,
1315
- "start": 6218
1419
+ "start": 6497
1316
1420
  }
1317
1421
  ]
1318
1422
  }
1319
1423
  },
1320
1424
  "deployedLinkReferences": {
1321
- "contracts/types/DistributorType.sol": {
1425
+ "contracts/type/Amount.sol": {
1426
+ "AmountLib": [
1427
+ {
1428
+ "length": 20,
1429
+ "start": 7874
1430
+ }
1431
+ ]
1432
+ },
1433
+ "contracts/type/ClaimId.sol": {
1434
+ "ClaimIdLib": [
1435
+ {
1436
+ "length": 20,
1437
+ "start": 4645
1438
+ },
1439
+ {
1440
+ "length": 20,
1441
+ "start": 5688
1442
+ }
1443
+ ]
1444
+ },
1445
+ "contracts/type/DistributorType.sol": {
1322
1446
  "DistributorTypeLib": [
1323
1447
  {
1324
1448
  "length": 20,
1325
- "start": 5237
1449
+ "start": 7314
1326
1450
  }
1327
1451
  ]
1328
1452
  },
1329
- "contracts/types/NftId.sol": {
1453
+ "contracts/type/NftId.sol": {
1330
1454
  "NftIdLib": [
1331
1455
  {
1332
1456
  "length": 20,
1333
- "start": 1889
1457
+ "start": 2581
1458
+ },
1459
+ {
1460
+ "length": 20,
1461
+ "start": 3423
1334
1462
  },
1335
1463
  {
1336
1464
  "length": 20,
1337
- "start": 2235
1465
+ "start": 3887
1338
1466
  },
1339
1467
  {
1340
1468
  "length": 20,
1341
- "start": 2910
1469
+ "start": 3976
1342
1470
  },
1343
1471
  {
1344
1472
  "length": 20,
1345
- "start": 2955
1473
+ "start": 4683
1346
1474
  },
1347
1475
  {
1348
1476
  "length": 20,
1349
- "start": 3000
1477
+ "start": 4728
1350
1478
  },
1351
1479
  {
1352
1480
  "length": 20,
1353
- "start": 5464
1481
+ "start": 7541
1354
1482
  },
1355
1483
  {
1356
1484
  "length": 20,
1357
- "start": 5719
1485
+ "start": 7792
1486
+ }
1487
+ ]
1488
+ },
1489
+ "contracts/type/PayoutId.sol": {
1490
+ "PayoutIdLib": [
1491
+ {
1492
+ "length": 20,
1493
+ "start": 2831
1358
1494
  },
1359
1495
  {
1360
1496
  "length": 20,
1361
- "start": 6591
1497
+ "start": 3693
1362
1498
  }
1363
1499
  ]
1364
1500
  },
1365
- "contracts/types/Referral.sol": {
1501
+ "contracts/type/Referral.sol": {
1366
1502
  "ReferralLib": [
1367
1503
  {
1368
1504
  "length": 20,
1369
- "start": 1656
1505
+ "start": 2094
1370
1506
  },
1371
1507
  {
1372
1508
  "length": 20,
1373
- "start": 2294
1509
+ "start": 3087
1374
1510
  }
1375
1511
  ]
1376
1512
  },
1377
- "contracts/types/RiskId.sol": {
1513
+ "contracts/type/RiskId.sol": {
1378
1514
  "RiskIdLib": [
1379
1515
  {
1380
1516
  "length": 20,
1381
- "start": 3115
1517
+ "start": 4843
1382
1518
  }
1383
1519
  ]
1384
1520
  },
1385
- "contracts/types/Timestamp.sol": {
1521
+ "contracts/type/Timestamp.sol": {
1386
1522
  "TimestampLib": [
1387
1523
  {
1388
1524
  "length": 20,
1389
- "start": 4174
1525
+ "start": 4119
1526
+ },
1527
+ {
1528
+ "length": 20,
1529
+ "start": 4262
1530
+ },
1531
+ {
1532
+ "length": 20,
1533
+ "start": 4432
1390
1534
  },
1391
1535
  {
1392
1536
  "length": 20,
1393
- "start": 4405
1537
+ "start": 5962
1538
+ },
1539
+ {
1540
+ "length": 20,
1541
+ "start": 6193
1394
1542
  }
1395
1543
  ]
1396
1544
  },
1397
- "contracts/types/UFixed.sol": {
1545
+ "contracts/type/UFixed.sol": {
1398
1546
  "UFixedLib": [
1399
1547
  {
1400
1548
  "length": 20,
1401
- "start": 1446
1549
+ "start": 1891
1402
1550
  },
1403
1551
  {
1404
1552
  "length": 20,
1405
- "start": 2426
1553
+ "start": 3219
1406
1554
  },
1407
1555
  {
1408
1556
  "length": 20,
1409
- "start": 4275
1557
+ "start": 6063
1410
1558
  },
1411
1559
  {
1412
1560
  "length": 20,
1413
- "start": 4534
1561
+ "start": 6322
1414
1562
  },
1415
1563
  {
1416
1564
  "length": 20,
1417
- "start": 4677
1565
+ "start": 6465
1418
1566
  }
1419
1567
  ]
1420
1568
  }