@etherisc/gif-next 0.0.2-ceb30b2-601 → 0.0.2-cf22d7b-845

Sign up to get free protection for your applications and to get access to all the features.
Files changed (514) hide show
  1. package/README.md +2 -1
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +239 -155
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1349 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +118 -99
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +39 -307
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +6 -6
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +254 -2310
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +72 -22
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +397 -2818
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +204 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +507 -350
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +147 -193
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +113 -103
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3458 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -1
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol}/ObjectManager.json +3 -3
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  42. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  43. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  45. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  46. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  47. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  48. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1105 -0
  49. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  50. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +746 -0
  51. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  52. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +45 -56
  53. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  54. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +200 -97
  55. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  56. package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +144 -156
  57. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  58. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +305 -103
  59. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  60. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1432 -0
  61. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +738 -0
  63. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  64. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +834 -0
  65. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  66. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
  67. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  68. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1278 -0
  69. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +810 -0
  71. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  72. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +499 -0
  73. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/{instance/service → product}/IClaimService.sol/IClaimService.json +30 -2
  75. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  76. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +127 -71
  77. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +53 -136
  79. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  80. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +284 -106
  81. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  82. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +1 -56
  83. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  84. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1146 -0
  85. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  86. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +754 -0
  87. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  88. package/artifacts/contracts/product/PricingService.sol/PricingService.json +983 -0
  89. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  90. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +778 -0
  91. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  92. package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
  93. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  94. package/artifacts/contracts/product/ProductService.sol/ProductService.json +679 -0
  95. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +694 -0
  97. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  99. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +179 -29
  101. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +304 -52
  103. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  104. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/Registry.sol/Registry.json +415 -43
  106. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  107. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
  108. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  109. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +337 -72
  110. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +93 -41
  112. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +824 -91
  114. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  116. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -140
  118. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  119. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  120. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  121. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  122. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  123. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  124. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  125. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  126. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  128. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  129. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +143 -76
  130. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1475 -0
  132. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +788 -0
  134. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  135. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +17 -122
  136. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  137. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  138. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  139. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  140. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  142. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  143. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +114 -75
  144. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +860 -0
  146. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  148. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  149. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
  150. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  152. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
  154. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  155. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +45 -3
  156. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  157. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
  158. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  159. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  160. package/artifacts/contracts/shared/IService.sol/IService.json +7 -1
  161. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  163. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  164. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  165. package/artifacts/contracts/{components/Product.sol/Product.json → shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json} +170 -288
  166. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  167. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  168. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  169. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  170. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  171. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  172. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  173. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -9
  174. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  175. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +56 -7
  176. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  177. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +70 -22
  178. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +23 -9
  180. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  181. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  182. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  183. package/artifacts/contracts/shared/Service.sol/Service.json +7 -1
  184. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  185. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  186. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  187. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  188. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  189. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  190. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  191. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  192. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +993 -0
  193. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  194. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
  195. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  196. package/artifacts/contracts/staking/Staking.sol/Staking.json +2045 -0
  197. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  198. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +777 -0
  199. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  200. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  201. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  202. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1324 -0
  203. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  204. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +726 -0
  205. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  206. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
  207. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  208. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  209. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  210. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  211. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  212. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  213. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  214. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  215. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  216. package/artifacts/contracts/{types → type}/ClaimId.sol/ClaimIdLib.json +5 -5
  217. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  218. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  219. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  220. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  221. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  222. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  223. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  224. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  225. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  226. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  227. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  228. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  229. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  230. package/artifacts/contracts/{types → type}/PayoutId.sol/PayoutIdLib.json +5 -5
  231. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  232. package/artifacts/contracts/{types → type}/Referral.sol/ReferralLib.json +5 -5
  233. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  234. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  235. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  236. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  237. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  238. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  239. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  240. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  241. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  242. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +5 -5
  243. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  244. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  245. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  246. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  247. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  248. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  249. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  250. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  251. package/contracts/{components → distribution}/Distribution.sol +41 -64
  252. package/contracts/distribution/DistributionService.sol +298 -0
  253. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  254. package/contracts/{components → distribution}/IDistributionComponent.sol +11 -16
  255. package/contracts/{instance/service → distribution}/IDistributionService.sol +19 -37
  256. package/contracts/instance/BundleManager.sol +5 -5
  257. package/contracts/instance/IInstance.sol +45 -70
  258. package/contracts/instance/IInstanceService.sol +29 -11
  259. package/contracts/instance/Instance.sol +112 -195
  260. package/contracts/instance/InstanceAdmin.sol +331 -0
  261. package/contracts/instance/InstanceAuthorizationsLib.sol +349 -0
  262. package/contracts/instance/InstanceReader.sol +106 -58
  263. package/contracts/instance/InstanceService.sol +166 -288
  264. package/contracts/instance/InstanceServiceManager.sol +11 -21
  265. package/contracts/instance/InstanceStore.sol +260 -0
  266. package/contracts/instance/base/BalanceStore.sol +118 -0
  267. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +1 -1
  268. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +6 -6
  269. package/contracts/instance/module/IAccess.sol +4 -12
  270. package/contracts/instance/module/IBundle.sol +6 -9
  271. package/contracts/instance/module/IComponents.sol +21 -10
  272. package/contracts/instance/module/IDistribution.sol +7 -6
  273. package/contracts/instance/module/IPolicy.sol +20 -14
  274. package/contracts/instance/module/IRisk.sol +1 -1
  275. package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
  276. package/contracts/pool/BundleService.sol +296 -0
  277. package/contracts/pool/BundleServiceManager.sol +42 -0
  278. package/contracts/{instance/service → pool}/IBundleService.sol +33 -29
  279. package/contracts/{components → pool}/IPoolComponent.sol +16 -17
  280. package/contracts/{instance/service → pool}/IPoolService.sol +57 -51
  281. package/contracts/{components → pool}/Pool.sol +52 -55
  282. package/contracts/pool/PoolService.sol +453 -0
  283. package/contracts/pool/PoolServiceManager.sol +42 -0
  284. package/contracts/product/ApplicationService.sol +254 -0
  285. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  286. package/contracts/{instance/service → product}/ClaimService.sol +167 -86
  287. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  288. package/contracts/{instance/service → product}/IApplicationService.sol +13 -29
  289. package/contracts/{instance/service → product}/IClaimService.sol +18 -15
  290. package/contracts/{instance/service → product}/IPolicyService.sol +24 -26
  291. package/contracts/product/IPricingService.sol +39 -0
  292. package/contracts/product/IProductComponent.sol +42 -0
  293. package/contracts/product/IProductService.sol +33 -0
  294. package/contracts/product/PolicyService.sol +475 -0
  295. package/contracts/product/PolicyServiceManager.sol +42 -0
  296. package/contracts/product/PricingService.sol +301 -0
  297. package/contracts/product/PricingServiceManager.sol +42 -0
  298. package/contracts/{components → product}/Product.sol +83 -77
  299. package/contracts/product/ProductService.sol +124 -0
  300. package/contracts/product/ProductServiceManager.sol +42 -0
  301. package/contracts/registry/ChainNft.sol +8 -1
  302. package/contracts/registry/IRegistry.sol +44 -21
  303. package/contracts/registry/IRegistryService.sol +37 -34
  304. package/contracts/registry/Registry.sol +191 -82
  305. package/contracts/registry/RegistryAdmin.sol +237 -0
  306. package/contracts/registry/RegistryService.sol +66 -82
  307. package/contracts/registry/RegistryServiceManager.sol +21 -25
  308. package/contracts/registry/ReleaseManager.sol +458 -183
  309. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  310. package/contracts/registry/TokenRegistry.sol +261 -62
  311. package/contracts/shared/AccessManagerCustom.sol +736 -0
  312. package/contracts/shared/AccessManagerExtended.sol +470 -0
  313. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  314. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  315. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  316. package/contracts/shared/Component.sol +278 -0
  317. package/contracts/shared/ComponentService.sol +596 -0
  318. package/contracts/shared/ComponentServiceManager.sol +35 -0
  319. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  320. package/contracts/shared/ERC165.sol +1 -1
  321. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  322. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  323. package/contracts/{components → shared}/IComponent.sol +23 -29
  324. package/contracts/shared/IComponentService.sol +91 -0
  325. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  326. package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
  327. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  328. package/contracts/shared/INftOwnable.sol +2 -2
  329. package/contracts/shared/IPolicyHolder.sol +14 -7
  330. package/contracts/shared/IService.sol +2 -2
  331. package/contracts/shared/IVersionable.sol +1 -1
  332. package/contracts/shared/InitializableCustom.sol +177 -0
  333. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  334. package/contracts/shared/KeyValueStore.sol +127 -0
  335. package/contracts/{instance/base → shared}/Lifecycle.sol +9 -5
  336. package/contracts/shared/NftIdSetManager.sol +65 -0
  337. package/contracts/shared/NftOwnable.sol +3 -14
  338. package/contracts/shared/PolicyHolder.sol +32 -17
  339. package/contracts/shared/ProxyManager.sol +34 -4
  340. package/contracts/shared/Registerable.sol +3 -3
  341. package/contracts/shared/Service.sol +9 -4
  342. package/contracts/shared/TokenHandler.sol +27 -2
  343. package/contracts/shared/Versionable.sol +1 -1
  344. package/contracts/staking/IStaking.sol +168 -0
  345. package/contracts/staking/IStakingService.sol +149 -0
  346. package/contracts/staking/StakeManagerLib.sol +179 -0
  347. package/contracts/staking/Staking.sol +551 -0
  348. package/contracts/staking/StakingManager.sol +54 -0
  349. package/contracts/staking/StakingReader.sol +187 -0
  350. package/contracts/staking/StakingService.sol +406 -0
  351. package/contracts/staking/StakingServiceManager.sol +45 -0
  352. package/contracts/staking/StakingStore.sol +572 -0
  353. package/contracts/staking/TargetManagerLib.sol +207 -0
  354. package/contracts/{types → type}/AddressSet.sol +1 -1
  355. package/contracts/{types → type}/Amount.sol +59 -1
  356. package/contracts/{types → type}/Blocknumber.sol +20 -3
  357. package/contracts/{types → type}/Fee.sol +24 -22
  358. package/contracts/{types → type}/NftId.sol +14 -16
  359. package/contracts/{types → type}/NftIdSet.sol +2 -2
  360. package/contracts/{types → type}/ObjectType.sol +15 -3
  361. package/contracts/{types → type}/Referral.sol +1 -1
  362. package/contracts/{types → type}/RiskId.sol +1 -1
  363. package/contracts/{types → type}/RoleId.sol +55 -9
  364. package/contracts/{types → type}/Seconds.sol +27 -0
  365. package/contracts/{types → type}/StateId.sol +17 -4
  366. package/contracts/{types → type}/Version.sol +1 -1
  367. package/package.json +3 -3
  368. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  369. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  370. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  371. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  372. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  373. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  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/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  377. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  378. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  379. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  380. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  381. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  382. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  383. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  384. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  385. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  386. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  387. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  388. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  389. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +0 -10
  391. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  392. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  393. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  394. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1092
  395. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  396. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -672
  397. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  398. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1313
  399. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  400. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -712
  401. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  402. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -1316
  403. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  404. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -724
  405. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  406. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
  407. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  408. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -780
  409. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  410. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  412. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  413. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  414. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  415. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  416. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  417. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1153
  418. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  419. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -676
  420. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  421. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1598
  422. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  423. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -696
  424. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  425. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -864
  426. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  427. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -640
  428. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  429. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  430. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  431. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  432. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  433. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  434. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  435. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -370
  436. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  437. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  438. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  439. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -588
  440. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  441. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  442. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  443. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  444. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  445. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  446. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  447. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  448. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  449. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  450. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -209
  451. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  452. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  453. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  454. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  455. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  456. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  457. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  458. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  459. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  460. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  461. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  462. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  463. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  464. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  465. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  466. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  467. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  468. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  469. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  470. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  471. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  472. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  473. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  474. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  475. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  476. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  477. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  478. package/contracts/components/Component.sol +0 -253
  479. package/contracts/components/IProductComponent.sol +0 -40
  480. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  481. package/contracts/instance/InstanceAccessManager.sol +0 -527
  482. package/contracts/instance/base/ComponentService.sol +0 -130
  483. package/contracts/instance/base/KeyValueStore.sol +0 -149
  484. package/contracts/instance/module/ISetup.sol +0 -33
  485. package/contracts/instance/module/ITreasury.sol +0 -23
  486. package/contracts/instance/service/ApplicationService.sol +0 -356
  487. package/contracts/instance/service/BundleService.sol +0 -443
  488. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  489. package/contracts/instance/service/DistributionService.sol +0 -431
  490. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  491. package/contracts/instance/service/IProductService.sol +0 -40
  492. package/contracts/instance/service/PolicyService.sol +0 -358
  493. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  494. package/contracts/instance/service/PoolService.sol +0 -349
  495. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  496. package/contracts/instance/service/ProductService.sol +0 -210
  497. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  498. package/contracts/registry/RegistryAccessManager.sol +0 -216
  499. package/contracts/shared/ContractDeployerLib.sol +0 -72
  500. package/contracts/test/TestFee.sol +0 -25
  501. package/contracts/test/TestRegisterable.sol +0 -18
  502. package/contracts/test/TestRoleId.sol +0 -14
  503. package/contracts/test/TestService.sol +0 -25
  504. package/contracts/test/TestVersion.sol +0 -44
  505. package/contracts/test/TestVersionable.sol +0 -17
  506. package/contracts/test/Usdc.sol +0 -26
  507. package/contracts/types/ChainId.sol +0 -38
  508. package/contracts/types/NumberId.sol +0 -52
  509. /package/contracts/{types → type}/ClaimId.sol +0 -0
  510. /package/contracts/{types → type}/DistributorType.sol +0 -0
  511. /package/contracts/{types → type}/Key32.sol +0 -0
  512. /package/contracts/{types → type}/PayoutId.sol +0 -0
  513. /package/contracts/{types → type}/Timestamp.sol +0 -0
  514. /package/contracts/{types → type}/UFixed.sol +0 -0
@@ -0,0 +1,1349 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "DistributionService",
4
+ "sourceName": "contracts/distribution/DistributionService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "componentNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentVerifyingServiceComponentIsLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "componentNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "actualType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "caller",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorDistributionServiceCallerNotRegistered",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "Amount",
91
+ "name": "transferredDistributionFeeAmount",
92
+ "type": "uint96"
93
+ },
94
+ {
95
+ "internalType": "Amount",
96
+ "name": "expectedDistributionFeeAmount",
97
+ "type": "uint96"
98
+ }
99
+ ],
100
+ "name": "ErrorDistributionServiceInvalidFeeTransferred",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "address",
107
+ "name": "caller",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "name": "ErrorIDistributionServiceCallerNotDistributor",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "uint256",
118
+ "name": "commissionPercentage",
119
+ "type": "uint256"
120
+ },
121
+ {
122
+ "internalType": "uint256",
123
+ "name": "maxCommissionPercentage",
124
+ "type": "uint256"
125
+ }
126
+ ],
127
+ "name": "ErrorIDistributionServiceCommissionTooHigh",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "uint256",
134
+ "name": "maxDiscountPercentage",
135
+ "type": "uint256"
136
+ },
137
+ {
138
+ "internalType": "uint256",
139
+ "name": "discountPercentage",
140
+ "type": "uint256"
141
+ }
142
+ ],
143
+ "name": "ErrorIDistributionServiceDiscountTooHigh",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [
148
+ {
149
+ "internalType": "uint256",
150
+ "name": "minDiscountPercentage",
151
+ "type": "uint256"
152
+ },
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "discountPercentage",
156
+ "type": "uint256"
157
+ }
158
+ ],
159
+ "name": "ErrorIDistributionServiceDiscountTooLow",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "Timestamp",
166
+ "name": "expiryAt",
167
+ "type": "uint40"
168
+ }
169
+ ],
170
+ "name": "ErrorIDistributionServiceExpirationInvalid",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [
175
+ {
176
+ "internalType": "uint256",
177
+ "name": "maxReferralLifetime",
178
+ "type": "uint256"
179
+ },
180
+ {
181
+ "internalType": "uint256",
182
+ "name": "expiryAt",
183
+ "type": "uint256"
184
+ }
185
+ ],
186
+ "name": "ErrorIDistributionServiceExpiryTooLong",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "string",
193
+ "name": "code",
194
+ "type": "string"
195
+ }
196
+ ],
197
+ "name": "ErrorIDistributionServiceInvalidReferral",
198
+ "type": "error"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "internalType": "ReferralId",
204
+ "name": "referralId",
205
+ "type": "bytes8"
206
+ }
207
+ ],
208
+ "name": "ErrorIDistributionServiceInvalidReferralId",
209
+ "type": "error"
210
+ },
211
+ {
212
+ "inputs": [
213
+ {
214
+ "internalType": "uint256",
215
+ "name": "maxDiscountPercentage",
216
+ "type": "uint256"
217
+ },
218
+ {
219
+ "internalType": "uint256",
220
+ "name": "limit",
221
+ "type": "uint256"
222
+ }
223
+ ],
224
+ "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
225
+ "type": "error"
226
+ },
227
+ {
228
+ "inputs": [
229
+ {
230
+ "internalType": "uint256",
231
+ "name": "maxReferrals",
232
+ "type": "uint256"
233
+ }
234
+ ],
235
+ "name": "ErrorIDistributionServiceMaxReferralsExceeded",
236
+ "type": "error"
237
+ },
238
+ {
239
+ "inputs": [
240
+ {
241
+ "internalType": "uint256",
242
+ "name": "minFee",
243
+ "type": "uint256"
244
+ },
245
+ {
246
+ "internalType": "uint256",
247
+ "name": "limit",
248
+ "type": "uint256"
249
+ }
250
+ ],
251
+ "name": "ErrorIDistributionServiceMinFeeTooHigh",
252
+ "type": "error"
253
+ },
254
+ {
255
+ "inputs": [
256
+ {
257
+ "internalType": "NftId",
258
+ "name": "nftId",
259
+ "type": "uint96"
260
+ },
261
+ {
262
+ "internalType": "NftId",
263
+ "name": "parentNftId",
264
+ "type": "uint96"
265
+ }
266
+ ],
267
+ "name": "ErrorIDistributionServiceParentNftIdNotInstance",
268
+ "type": "error"
269
+ },
270
+ {
271
+ "inputs": [
272
+ {
273
+ "internalType": "NftId",
274
+ "name": "distributionNftId",
275
+ "type": "uint96"
276
+ },
277
+ {
278
+ "internalType": "ReferralId",
279
+ "name": "referralId",
280
+ "type": "bytes8"
281
+ }
282
+ ],
283
+ "name": "ErrorIDistributionServiceReferralInvalid",
284
+ "type": "error"
285
+ },
286
+ {
287
+ "inputs": [
288
+ {
289
+ "internalType": "NftId",
290
+ "name": "nftId",
291
+ "type": "uint96"
292
+ }
293
+ ],
294
+ "name": "ErrorNftOwnableAlreadyLinked",
295
+ "type": "error"
296
+ },
297
+ {
298
+ "inputs": [
299
+ {
300
+ "internalType": "address",
301
+ "name": "contractAddress",
302
+ "type": "address"
303
+ }
304
+ ],
305
+ "name": "ErrorNftOwnableContractNotRegistered",
306
+ "type": "error"
307
+ },
308
+ {
309
+ "inputs": [],
310
+ "name": "ErrorNftOwnableInitialOwnerZero",
311
+ "type": "error"
312
+ },
313
+ {
314
+ "inputs": [
315
+ {
316
+ "internalType": "address",
317
+ "name": "account",
318
+ "type": "address"
319
+ }
320
+ ],
321
+ "name": "ErrorNftOwnableNotOwner",
322
+ "type": "error"
323
+ },
324
+ {
325
+ "inputs": [
326
+ {
327
+ "internalType": "address",
328
+ "name": "registryAddress",
329
+ "type": "address"
330
+ }
331
+ ],
332
+ "name": "ErrorNotRegistry",
333
+ "type": "error"
334
+ },
335
+ {
336
+ "inputs": [],
337
+ "name": "ErrorServiceNotImplemented",
338
+ "type": "error"
339
+ },
340
+ {
341
+ "inputs": [],
342
+ "name": "InvalidInitialization",
343
+ "type": "error"
344
+ },
345
+ {
346
+ "inputs": [],
347
+ "name": "NotInitializing",
348
+ "type": "error"
349
+ },
350
+ {
351
+ "anonymous": false,
352
+ "inputs": [
353
+ {
354
+ "indexed": false,
355
+ "internalType": "address",
356
+ "name": "authority",
357
+ "type": "address"
358
+ }
359
+ ],
360
+ "name": "AuthorityUpdated",
361
+ "type": "event"
362
+ },
363
+ {
364
+ "anonymous": false,
365
+ "inputs": [
366
+ {
367
+ "indexed": false,
368
+ "internalType": "uint64",
369
+ "name": "version",
370
+ "type": "uint64"
371
+ }
372
+ ],
373
+ "name": "Initialized",
374
+ "type": "event"
375
+ },
376
+ {
377
+ "inputs": [],
378
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
379
+ "outputs": [
380
+ {
381
+ "internalType": "bytes32",
382
+ "name": "",
383
+ "type": "bytes32"
384
+ }
385
+ ],
386
+ "stateMutability": "view",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "REGISTERABLE_LOCATION_V1",
392
+ "outputs": [
393
+ {
394
+ "internalType": "bytes32",
395
+ "name": "",
396
+ "type": "bytes32"
397
+ }
398
+ ],
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "authority",
405
+ "outputs": [
406
+ {
407
+ "internalType": "address",
408
+ "name": "",
409
+ "type": "address"
410
+ }
411
+ ],
412
+ "stateMutability": "view",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [
417
+ {
418
+ "internalType": "address",
419
+ "name": "distributor",
420
+ "type": "address"
421
+ },
422
+ {
423
+ "internalType": "DistributorType",
424
+ "name": "distributorType",
425
+ "type": "bytes8"
426
+ },
427
+ {
428
+ "internalType": "bytes",
429
+ "name": "data",
430
+ "type": "bytes"
431
+ }
432
+ ],
433
+ "name": "createDistributor",
434
+ "outputs": [
435
+ {
436
+ "internalType": "NftId",
437
+ "name": "distributorNftId",
438
+ "type": "uint96"
439
+ }
440
+ ],
441
+ "stateMutability": "nonpayable",
442
+ "type": "function"
443
+ },
444
+ {
445
+ "inputs": [
446
+ {
447
+ "internalType": "string",
448
+ "name": "name",
449
+ "type": "string"
450
+ },
451
+ {
452
+ "internalType": "UFixed",
453
+ "name": "minDiscountPercentage",
454
+ "type": "uint256"
455
+ },
456
+ {
457
+ "internalType": "UFixed",
458
+ "name": "maxDiscountPercentage",
459
+ "type": "uint256"
460
+ },
461
+ {
462
+ "internalType": "UFixed",
463
+ "name": "commissionPercentage",
464
+ "type": "uint256"
465
+ },
466
+ {
467
+ "internalType": "uint32",
468
+ "name": "maxReferralCount",
469
+ "type": "uint32"
470
+ },
471
+ {
472
+ "internalType": "uint32",
473
+ "name": "maxReferralLifetime",
474
+ "type": "uint32"
475
+ },
476
+ {
477
+ "internalType": "bool",
478
+ "name": "allowSelfReferrals",
479
+ "type": "bool"
480
+ },
481
+ {
482
+ "internalType": "bool",
483
+ "name": "allowRenewals",
484
+ "type": "bool"
485
+ },
486
+ {
487
+ "internalType": "bytes",
488
+ "name": "data",
489
+ "type": "bytes"
490
+ }
491
+ ],
492
+ "name": "createDistributorType",
493
+ "outputs": [
494
+ {
495
+ "internalType": "DistributorType",
496
+ "name": "distributorType",
497
+ "type": "bytes8"
498
+ }
499
+ ],
500
+ "stateMutability": "nonpayable",
501
+ "type": "function"
502
+ },
503
+ {
504
+ "inputs": [
505
+ {
506
+ "internalType": "NftId",
507
+ "name": "distributorNftId",
508
+ "type": "uint96"
509
+ },
510
+ {
511
+ "internalType": "string",
512
+ "name": "code",
513
+ "type": "string"
514
+ },
515
+ {
516
+ "internalType": "UFixed",
517
+ "name": "discountPercentage",
518
+ "type": "uint256"
519
+ },
520
+ {
521
+ "internalType": "uint32",
522
+ "name": "maxReferrals",
523
+ "type": "uint32"
524
+ },
525
+ {
526
+ "internalType": "Timestamp",
527
+ "name": "expiryAt",
528
+ "type": "uint40"
529
+ },
530
+ {
531
+ "internalType": "bytes",
532
+ "name": "data",
533
+ "type": "bytes"
534
+ }
535
+ ],
536
+ "name": "createReferral",
537
+ "outputs": [
538
+ {
539
+ "internalType": "ReferralId",
540
+ "name": "referralId",
541
+ "type": "bytes8"
542
+ }
543
+ ],
544
+ "stateMutability": "nonpayable",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [],
549
+ "name": "getDomain",
550
+ "outputs": [
551
+ {
552
+ "internalType": "ObjectType",
553
+ "name": "",
554
+ "type": "uint8"
555
+ }
556
+ ],
557
+ "stateMutability": "pure",
558
+ "type": "function"
559
+ },
560
+ {
561
+ "inputs": [],
562
+ "name": "getInitialInfo",
563
+ "outputs": [
564
+ {
565
+ "components": [
566
+ {
567
+ "internalType": "NftId",
568
+ "name": "nftId",
569
+ "type": "uint96"
570
+ },
571
+ {
572
+ "internalType": "NftId",
573
+ "name": "parentNftId",
574
+ "type": "uint96"
575
+ },
576
+ {
577
+ "internalType": "ObjectType",
578
+ "name": "objectType",
579
+ "type": "uint8"
580
+ },
581
+ {
582
+ "internalType": "bool",
583
+ "name": "isInterceptor",
584
+ "type": "bool"
585
+ },
586
+ {
587
+ "internalType": "address",
588
+ "name": "objectAddress",
589
+ "type": "address"
590
+ },
591
+ {
592
+ "internalType": "address",
593
+ "name": "initialOwner",
594
+ "type": "address"
595
+ },
596
+ {
597
+ "internalType": "bytes",
598
+ "name": "data",
599
+ "type": "bytes"
600
+ }
601
+ ],
602
+ "internalType": "struct IRegistry.ObjectInfo",
603
+ "name": "info",
604
+ "type": "tuple"
605
+ }
606
+ ],
607
+ "stateMutability": "view",
608
+ "type": "function"
609
+ },
610
+ {
611
+ "inputs": [],
612
+ "name": "getNftId",
613
+ "outputs": [
614
+ {
615
+ "internalType": "NftId",
616
+ "name": "",
617
+ "type": "uint96"
618
+ }
619
+ ],
620
+ "stateMutability": "view",
621
+ "type": "function"
622
+ },
623
+ {
624
+ "inputs": [],
625
+ "name": "getOwner",
626
+ "outputs": [
627
+ {
628
+ "internalType": "address",
629
+ "name": "",
630
+ "type": "address"
631
+ }
632
+ ],
633
+ "stateMutability": "view",
634
+ "type": "function"
635
+ },
636
+ {
637
+ "inputs": [],
638
+ "name": "getRegistry",
639
+ "outputs": [
640
+ {
641
+ "internalType": "contract IRegistry",
642
+ "name": "",
643
+ "type": "address"
644
+ }
645
+ ],
646
+ "stateMutability": "view",
647
+ "type": "function"
648
+ },
649
+ {
650
+ "inputs": [],
651
+ "name": "getVersion",
652
+ "outputs": [
653
+ {
654
+ "internalType": "Version",
655
+ "name": "",
656
+ "type": "uint24"
657
+ }
658
+ ],
659
+ "stateMutability": "pure",
660
+ "type": "function"
661
+ },
662
+ {
663
+ "inputs": [],
664
+ "name": "initializeERC165",
665
+ "outputs": [],
666
+ "stateMutability": "nonpayable",
667
+ "type": "function"
668
+ },
669
+ {
670
+ "inputs": [
671
+ {
672
+ "internalType": "address",
673
+ "name": "initialOwner",
674
+ "type": "address"
675
+ },
676
+ {
677
+ "internalType": "address",
678
+ "name": "registryAddress",
679
+ "type": "address"
680
+ }
681
+ ],
682
+ "name": "initializeNftOwnable",
683
+ "outputs": [],
684
+ "stateMutability": "nonpayable",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [
689
+ {
690
+ "internalType": "address",
691
+ "name": "registryAddress",
692
+ "type": "address"
693
+ },
694
+ {
695
+ "internalType": "NftId",
696
+ "name": "parentNftId",
697
+ "type": "uint96"
698
+ },
699
+ {
700
+ "internalType": "ObjectType",
701
+ "name": "objectType",
702
+ "type": "uint8"
703
+ },
704
+ {
705
+ "internalType": "bool",
706
+ "name": "isInterceptor",
707
+ "type": "bool"
708
+ },
709
+ {
710
+ "internalType": "address",
711
+ "name": "initialOwner",
712
+ "type": "address"
713
+ },
714
+ {
715
+ "internalType": "bytes",
716
+ "name": "registryData",
717
+ "type": "bytes"
718
+ }
719
+ ],
720
+ "name": "initializeRegisterable",
721
+ "outputs": [],
722
+ "stateMutability": "nonpayable",
723
+ "type": "function"
724
+ },
725
+ {
726
+ "inputs": [
727
+ {
728
+ "internalType": "address",
729
+ "name": "registryAddress",
730
+ "type": "address"
731
+ }
732
+ ],
733
+ "name": "initializeRegistryLinked",
734
+ "outputs": [],
735
+ "stateMutability": "nonpayable",
736
+ "type": "function"
737
+ },
738
+ {
739
+ "inputs": [
740
+ {
741
+ "internalType": "address",
742
+ "name": "registry",
743
+ "type": "address"
744
+ },
745
+ {
746
+ "internalType": "address",
747
+ "name": "authority",
748
+ "type": "address"
749
+ },
750
+ {
751
+ "internalType": "address",
752
+ "name": "initialOwner",
753
+ "type": "address"
754
+ }
755
+ ],
756
+ "name": "initializeService",
757
+ "outputs": [],
758
+ "stateMutability": "nonpayable",
759
+ "type": "function"
760
+ },
761
+ {
762
+ "inputs": [
763
+ {
764
+ "internalType": "address",
765
+ "name": "activatedBy",
766
+ "type": "address"
767
+ },
768
+ {
769
+ "internalType": "bytes",
770
+ "name": "data",
771
+ "type": "bytes"
772
+ }
773
+ ],
774
+ "name": "initializeVersionable",
775
+ "outputs": [],
776
+ "stateMutability": "nonpayable",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [],
781
+ "name": "isConsumingScheduledOp",
782
+ "outputs": [
783
+ {
784
+ "internalType": "bytes4",
785
+ "name": "",
786
+ "type": "bytes4"
787
+ }
788
+ ],
789
+ "stateMutability": "view",
790
+ "type": "function"
791
+ },
792
+ {
793
+ "inputs": [],
794
+ "name": "linkToRegisteredNftId",
795
+ "outputs": [
796
+ {
797
+ "internalType": "NftId",
798
+ "name": "nftId",
799
+ "type": "uint96"
800
+ }
801
+ ],
802
+ "stateMutability": "nonpayable",
803
+ "type": "function"
804
+ },
805
+ {
806
+ "inputs": [
807
+ {
808
+ "internalType": "NftId",
809
+ "name": "distributionNftId",
810
+ "type": "uint96"
811
+ },
812
+ {
813
+ "internalType": "ReferralId",
814
+ "name": "referralId",
815
+ "type": "bytes8"
816
+ },
817
+ {
818
+ "components": [
819
+ {
820
+ "internalType": "Amount",
821
+ "name": "productFeeAmount",
822
+ "type": "uint96"
823
+ },
824
+ {
825
+ "internalType": "Amount",
826
+ "name": "distributionFeeAndCommissionAmount",
827
+ "type": "uint96"
828
+ },
829
+ {
830
+ "internalType": "Amount",
831
+ "name": "poolPremiumAndFeeAmount",
832
+ "type": "uint96"
833
+ },
834
+ {
835
+ "internalType": "uint256",
836
+ "name": "netPremiumAmount",
837
+ "type": "uint256"
838
+ },
839
+ {
840
+ "internalType": "uint256",
841
+ "name": "fullPremiumAmount",
842
+ "type": "uint256"
843
+ },
844
+ {
845
+ "internalType": "uint256",
846
+ "name": "premiumAmount",
847
+ "type": "uint256"
848
+ },
849
+ {
850
+ "internalType": "uint256",
851
+ "name": "productFeeFixAmount",
852
+ "type": "uint256"
853
+ },
854
+ {
855
+ "internalType": "uint256",
856
+ "name": "poolFeeFixAmount",
857
+ "type": "uint256"
858
+ },
859
+ {
860
+ "internalType": "uint256",
861
+ "name": "bundleFeeFixAmount",
862
+ "type": "uint256"
863
+ },
864
+ {
865
+ "internalType": "uint256",
866
+ "name": "distributionFeeFixAmount",
867
+ "type": "uint256"
868
+ },
869
+ {
870
+ "internalType": "uint256",
871
+ "name": "productFeeVarAmount",
872
+ "type": "uint256"
873
+ },
874
+ {
875
+ "internalType": "uint256",
876
+ "name": "poolFeeVarAmount",
877
+ "type": "uint256"
878
+ },
879
+ {
880
+ "internalType": "uint256",
881
+ "name": "bundleFeeVarAmount",
882
+ "type": "uint256"
883
+ },
884
+ {
885
+ "internalType": "uint256",
886
+ "name": "distributionFeeVarAmount",
887
+ "type": "uint256"
888
+ },
889
+ {
890
+ "internalType": "uint256",
891
+ "name": "distributionOwnerFeeFixAmount",
892
+ "type": "uint256"
893
+ },
894
+ {
895
+ "internalType": "uint256",
896
+ "name": "distributionOwnerFeeVarAmount",
897
+ "type": "uint256"
898
+ },
899
+ {
900
+ "internalType": "uint256",
901
+ "name": "commissionAmount",
902
+ "type": "uint256"
903
+ },
904
+ {
905
+ "internalType": "uint256",
906
+ "name": "discountAmount",
907
+ "type": "uint256"
908
+ }
909
+ ],
910
+ "internalType": "struct IPolicy.Premium",
911
+ "name": "premium",
912
+ "type": "tuple"
913
+ }
914
+ ],
915
+ "name": "processSale",
916
+ "outputs": [],
917
+ "stateMutability": "nonpayable",
918
+ "type": "function"
919
+ },
920
+ {
921
+ "inputs": [
922
+ {
923
+ "internalType": "NftId",
924
+ "name": "distributionNftId",
925
+ "type": "uint96"
926
+ },
927
+ {
928
+ "internalType": "ReferralId",
929
+ "name": "referralId",
930
+ "type": "bytes8"
931
+ }
932
+ ],
933
+ "name": "referralIsValid",
934
+ "outputs": [
935
+ {
936
+ "internalType": "bool",
937
+ "name": "isValid",
938
+ "type": "bool"
939
+ }
940
+ ],
941
+ "stateMutability": "view",
942
+ "type": "function"
943
+ },
944
+ {
945
+ "inputs": [
946
+ {
947
+ "internalType": "bytes4",
948
+ "name": "interfaceId",
949
+ "type": "bytes4"
950
+ }
951
+ ],
952
+ "name": "registerInterface",
953
+ "outputs": [],
954
+ "stateMutability": "nonpayable",
955
+ "type": "function"
956
+ },
957
+ {
958
+ "inputs": [
959
+ {
960
+ "internalType": "address",
961
+ "name": "newAuthority",
962
+ "type": "address"
963
+ }
964
+ ],
965
+ "name": "setAuthority",
966
+ "outputs": [],
967
+ "stateMutability": "nonpayable",
968
+ "type": "function"
969
+ },
970
+ {
971
+ "inputs": [
972
+ {
973
+ "internalType": "bytes4",
974
+ "name": "interfaceId",
975
+ "type": "bytes4"
976
+ }
977
+ ],
978
+ "name": "supportsInterface",
979
+ "outputs": [
980
+ {
981
+ "internalType": "bool",
982
+ "name": "",
983
+ "type": "bool"
984
+ }
985
+ ],
986
+ "stateMutability": "view",
987
+ "type": "function"
988
+ },
989
+ {
990
+ "inputs": [
991
+ {
992
+ "internalType": "bytes",
993
+ "name": "data",
994
+ "type": "bytes"
995
+ }
996
+ ],
997
+ "name": "upgradeVersionable",
998
+ "outputs": [],
999
+ "stateMutability": "nonpayable",
1000
+ "type": "function"
1001
+ }
1002
+ ],
1003
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614cb680620000e66000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80635dcb3bae116100de5780638e32e97911610097578063ada9652e11610071578063ada9652e146103c2578063b68d1809146103d7578063bf7e214f146103e6578063f7c34ee0146103ee57600080fd5b80638e32e9791461037b5780638fb360371461038e578063ab54c545146103af57600080fd5b80635dcb3bae14610309578063644c45e01461031c578063675393bf1461033a5780637a9e5e4b1461034d578063893d20e8146103605780638dd2b7811461036857600080fd5b806325d073841161014b578063329d6e7411610125578063329d6e74146102b657806336fc697e146102c957806349bb9e4b146102d15780635ab1bd53146102e457600080fd5b806325d073841461027057806327bb7a33146102835780632b5198b11461029657600080fd5b806301ffc9a7146101935780630d8e6e2c146101d55780630fec111c146101f1578063138461e0146102065780631eff4b2214610226578063214cdb801461025b575b600080fd5b6101c06101a13660046137fe565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101dd610401565b60405162ffffff90911681526020016101cc565b6101f961048b565b6040516101cc9190613878565b61020e61061c565b6040516001600160601b0390911681526020016101cc565b61024d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b61026e6102693660046137fe565b610627565b005b6101c061027e36600461393e565b610654565b61026e610291366004613b29565b610a9a565b6102a96102a4366004613bd3565b610b3f565b6040516101cc9190613c9f565b61026e6102c4366004613cb4565b6110f7565b61026e611244565b61026e6102df366004613ce8565b61128a565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b61020e610317366004613d2d565b611389565b600080516020614c21833981519152546001600160601b031661020e565b61026e610348366004613d8e565b611674565b61026e61035b366004613d8e565b611782565b6102f1611805565b6102a9610376366004613dbe565b61193c565b61026e610389366004613e58565b6121a8565b6103966123e1565b6040516001600160e01b031990911681526020016101cc565b61026e6103bd366004613ea3565b612419565b61024d600080516020614c2183398151915281565b604051607881526020016101cc565b6102f1612992565b61026e6103fc366004613fe0565b6129ae565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610462573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610486919061400e565b905090565b6104936137c0565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561050c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610530919061403e565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610578611805565b6001600160a01b031681526020018260010180546105959061405b565b80601f01602080910402602001604051908101604052809291908181526020018280546105c19061405b565b801561060e5780601f106105e35761010080835404028352916020019161060e565b820191906000526020600020905b8154815290600101906020018083116105f157829003601f168201915b505050505081525091505090565b600061048630612a25565b61062f612c26565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051630a4d29dd60e31b81526001600160601b038316600482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156106af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d391906140a0565b8061075b5750604051637bc32ecf60e01b815273__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf9061071a906001600160c01b0319861690600401613c9f565b602060405180830381865af4158015610737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075b91906140a0565b1561076857506000610a94565b600061077384612c5f565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d991906140bd565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016108049190613c9f565b600060405180830381865afa158015610821573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108499190810190614135565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156108a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cb91906140a0565b156108db57600092505050610a94565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095b91906140a0565b80610a6d575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156109bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e191906140a0565b8015610a6d5750610a6d73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a589190614213565b8260a0015164ffffffffff9081169116111590565b9250828015610a8f5750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b610aa2612c26565b610aac82876129ae565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610b358382614276565b5050505050505050565b60008080610b4d6078612d88565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb691906140bd565b90506000610bc48285612f25565b90506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2a91906140bd565b6040516302d764c760e21b81526001600160601b03841660048201526001600160a01b039190911690630b5d931c9060240161020060405180830381865afa158015610c7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9e9190614383565b60a08101515160405163771602f760e01b81526004810191909152602481018e905290915060009073__$bf7bc340cbb9229ef1de2c568356e67902$__9063771602f790604401602060405180830381865af4158015610d02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d269190614443565b60808301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$bf7bc340cbb9229ef1de2c568356e67902$__9063b67d77c590604401602060405180830381865af4158015610d8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dae9190614443565b90508e73__$bf7bc340cbb9229ef1de2c568356e67902$__6321e5749b9091836040518363ffffffff1660e01b8152600401610df4929190918252602082015260400190565b602060405180830381865af4158015610e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3591906140a0565b15610f51578e73__$bf7bc340cbb9229ef1de2c568356e67902$__6344aa683690916040518263ffffffff1660e01b8152600401610e7591815260200190565b602060405180830381865af4158015610e92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb69190614443565b604051632255341b60e11b81526004810183905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015610f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2a9190614443565b60405163e2ed03dd60e01b8152600481019290925260248201526044015b60405180910390fd5b5050505073__$1919c6d2c69d787ccb2653a371d7e5737d$__63578c3039848f6040518363ffffffff1660e01b8152600401610f8e92919061445c565b602060405180830381865af4158015610fab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcf919061447e565b935060006040518061012001604052808f81526020018e81526020018d81526020018c81526020018b63ffffffff1681526020018a63ffffffff16815260200189151581526020018815158152602001878152509050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611063573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108791906140bd565b6001600160a01b03166330a130ba86836040518363ffffffff1660e01b81526004016110b492919061449b565b600060405180830381600087803b1580156110ce57600080fd5b505af11580156110e2573d6000803e3d6000fd5b50505050505050509998505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c611119610401565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611159573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117d919061455e565b600080516020614c618339815191528054600160401b900460ff16806111b0575080546001600160401b03808416911610155b156111ce5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556111f883612fa8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61124c612c26565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020614c618339815191528054600160401b810460ff1615906001600160401b03166000811580156112bd5750825b90506000826001600160401b031660011480156112d95750303b155b9050811580156112e7575080155b156113055760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561132f57845460ff60401b1916600160401b1785555b6113398787612fb0565b831561138057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b600080806113976078612d88565b6004546040805160e0810180835263bc1b392d60e01b905290519496509194506001600160a01b0316926357a8fba79250819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af4158015611408573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142c919061403e565b6001600160601b03168152602001856001600160601b03168152602001611451607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016114b09190613878565b6020604051808303816000875af11580156114cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f3919061403e565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561156a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061158e919061403e565b6001600160601b03168152602001600063ffffffff168152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160b91906140bd565b6001600160a01b0316637cca112485836040518363ffffffff1660e01b81526004016116389291906145ed565b600060405180830381600087803b15801561165257600080fd5b505af1158015611666573d6000803e3d6000fd5b505050505050509392505050565b61167c612c26565b806001600160a01b03163b6000036116b25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f48565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa92505050801561172c575060408051601f3d908101601f19168201909252611729918101906140a0565b60015b6117545760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f48565b8061177d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610f48565b505b50565b3361178b612992565b6001600160a01b0316816001600160a01b0316146117c65760405162d1953b60e31b81526001600160a01b0382166004820152602401610f48565b816001600160a01b03163b6000036117fc576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f48565b61177d82613155565b600080600080516020614c2183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611875573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189991906140a0565b15611926576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156118fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192091906140bd565b91505090565b54600160601b90046001600160a01b0316919050565b6000808061194a6078612d88565b925050915087516000036119735787604051634fad6a5360e11b8152600401610f48919061461a565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156119c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ed91906140a0565b15611a145760405163df85467b60e01b815264ffffffffff86166004820152602401610f48565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7891906140bd565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611acb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611af3919081019061462d565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c690611b26908590600401613c9f565b600060405180830381865afa158015611b43573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b6b91908101906146ec565b90508863ffffffff16816080015163ffffffff161015611bac576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610f48565b60208101518a1015611cc8576020810151604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c329190614443565b604051632255341b60e11b8152600481018c905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca69190614443565b6040516338a25a8b60e21b815260048101929092526024820152604401610f48565b60408101518a1115611de4576040818101519051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611d2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4e9190614443565b604051632255341b60e11b8152600481018c905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611d9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc29190614443565b604051631e1ea4f360e31b815260048101929092526024820152604401610f48565b8060a0015163ffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5c9190614213565b604051633682752160e21b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015611eb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed79190614443565b604051633682752160e21b815264ffffffffff8b16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015611f2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f519190614443565b611f5b91906147f9565b11156120075760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015611fbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe09190614443565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610f48565b604051631f849e6b60e11b815273__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906120409088908f9060040161445c565b602060405180830381865af415801561205d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612081919061447e565b955060006040518060e001604052808e6001600160601b031681526020018d81526020018c81526020018b63ffffffff168152602001600063ffffffff1681526020018a64ffffffffff168152602001898152509050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612115573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213991906140bd565b6001600160a01b031663ca0e7f0888836040518363ffffffff1660e01b8152600401612166929190614888565b600060405180830381600087803b15801561218057600080fd5b505af1158015612194573d6000803e3d6000fd5b505050505050505050509695505050505050565b6121b0612c26565b61223083846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612216919061403e565b603c60008560405180602001604052806000815250610a9a565b6001600160a01b0382161561224d57612248826131b6565b6123bc565b60006122616001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156122c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e591906148b8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561232a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234e91906140bd565b90506123ba816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612391573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123b591906140bd565b6131b6565b505b6123cc634a531f3360e01b610627565b6123dc63b68d180960e01b610627565b505050565b600080516020614c41833981519152805460009190600160a01b900460ff1661240b576000611920565b638fb3603760e01b91505090565b612425336000366131c7565b600061243084612c5f565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612472573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249691906140bd565b90506000826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124fc91906140bd565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866101e00151876101c0015161253091906148d5565b6040518263ffffffff1660e01b815260040161254e91815260200190565b602060405180830381865af415801561256b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061258f919061403e565b905061259b8787610654565b156128a457610200850151604051632620eecb60e11b815260009173__$3bac17678db7ae928afa209f2f44deec9c$__91634c41dd96916125e29160040190815260200190565b602060405180830381865af41580156125ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612623919061403e565b6002546040516374933c2f60e01b81529192506001600160a01b0316906374933c2f9061265a9086908c90869088906004016148e8565b600060405180830381600087803b15801561267457600080fd5b505af1158015612688573d6000803e3d6000fd5b5050604051631d3be47760e01b8152600092506001600160a01b0387169150631d3be477906126bb908b90600401613c9f565b600060405180830381865afa1580156126d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127009190810190614135565b9050600181608001818151612715919061491a565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038516906361105e0e9061274f908b90859060ff9060040161493e565b600060405180830381600087803b15801561276957600080fd5b505af115801561277d573d6000803e3d6000fd5b505082516040516313d8ebc960e11b81526001600160601b039091166004820152600092506001600160a01b03881691506327b1d79290602401600060405180830381865afa1580156127d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127fc919081019061462d565b905061280c8160600151846132cd565b6001600160601b031660608201526080810180516001919061282f90839061491a565b63ffffffff169052508151604051631e40b36360e01b81526001600160a01b03871691631e40b3639161286a9190859060ff90600401614976565b600060405180830381600087803b15801561288457600080fd5b505af1158015612898573d6000803e3d6000fd5b50505050505050611380565b600260009054906101000a90046001600160a01b03166001600160a01b03166374933c2f838973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612913573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612937919061403e565b856040518563ffffffff1660e01b815260040161295794939291906148e8565b600060405180830381600087803b15801561297157600080fd5b505af1158015612985573d6000803e3d6000fd5b5050505050505050505050565b600080516020614c41833981519152546001600160a01b031690565b6129b6612c26565b6129bf81611674565b6129c7611244565b6001600160a01b0382166129ee5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020614c2183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080600080516020614c2183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ab991906140a0565b15612ae55780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610f48565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b5d91906140a0565b612b855760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610f48565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015612bd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bfd919061403e565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b600080516020614c6183398151915254600160401b900460ff16612c5d57604051631afcd79f60e31b815260040160405180910390fd5b565b600080612c746001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612cc3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ceb9190810190614998565b6020015190506000612d056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612d7c9190810190614998565b60800151949350505050565b6000612d926137c0565b6000612da66001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015612dec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e10919061403e565b9250612e1c838561335b565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e8691906140bd565b608083015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa158015612ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ef591906140a0565b15612f1e57604051637d71120960e11b81526001600160601b0384166004820152602401610f48565b9193909250565b60405163f0ea17c360e01b81526001600160601b03821660048201526000906001600160a01b0384169063f0ea17c390602401600060405180830381865afa158015612f75573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f9d9190810190614a38565b602001519392505050565b61018e612c26565b600080516020614c618339815191528054600160401b810460ff1615906001600160401b0316600081158015612fe35750825b90506000826001600160401b03166001148015612fff5750303b155b90508115801561300d575080155b1561302b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561305557845460ff60401b1916600160401b1785555b6000808780602001905181019061306c9190614b0c565b9250905061307c8160008b6121a8565b61308b6064613501565b613501565b600280546001600160a01b0319166001600160a01b03929092169190911790556130b6613086604690565b600380546001600160a01b0319166001600160a01b03929092169190911790556130e1613086602890565b600480546001600160a01b0319166001600160a01b03929092169190911790556131116375cca25f60e01b610627565b5050831561138057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611377565b600080516020614c4183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6131be612c26565b61177f8161360e565b600080516020614c418339815191526000806132026131e4612992565b87306131f4600460008a8c614b3b565b6131fd91614b65565b61361f565b91509150816132c55763ffffffff8116156132a257825460ff60a01b1916600160a01b178355613230612992565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161325f93929190614b95565b600060405180830381600087803b15801561327957600080fd5b505af115801561328d573d6000803e3d6000fd5b5050845460ff60a01b19168555506132c59050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f48565b505050505050565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015613330573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613354919061403e565b9392505050565b6133636137c0565b6000806133786001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa1580156133c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133f09190810190614998565b925060ff841660641461344e57604083015160ff85811691161461344957604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610f48565b6134ea565b613469836040015161345e606e90565b60ff90811691161490565b8061347f575061347f836040015161345e608c90565b806134955750613495836040015161345e607890565b806134ab57506134ab836040015161345e608290565b6134ea57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610f48565b6134f7836020015161372b565b9150509250929050565b60006135156001546001600160a01b031690565b6001600160a01b031663d39e60438361352c610401565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015613581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135a591906148b8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156135ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9491906140bd565b613616612c26565b61177f81613155565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161368e9190614bd5565b600060405180830381855afa9150503d80600081146136c9576040519150601f19603f3d011682016040523d82523d6000602084013e6136ce565b606091505b5091509150811561372057604081511061370057808060200190518101906136f69190614bf1565b9094509250613720565b6020815110613720578080602001905181019061371d91906140a0565b93505b505094509492505050565b600061373f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561378e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526137b69190810190614998565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561381057600080fd5b81356001600160e01b03198116811461335457600080fd5b60005b8381101561384357818101518382015260200161382b565b50506000910152565b60008151808452613864816020860160208601613828565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516138e160c08401826001600160a01b03169052565b5060c083015160e0808401526138fb61010084018261384c565b949350505050565b6001600160601b038116811461177f57600080fd5b803561392381613903565b919050565b6001600160c01b03198116811461177f57600080fd5b6000806040838503121561395157600080fd5b823561395c81613903565b9150602083013561396c81613928565b809150509250929050565b6001600160a01b038116811461177f57600080fd5b60ff8116811461177f57600080fd5b801515811461177f57600080fd5b80356139238161399b565b634e487b7160e01b600052604160045260246000fd5b60405161024081016001600160401b03811182821017156139ed576139ed6139b4565b60405290565b60405160e081016001600160401b03811182821017156139ed576139ed6139b4565b60405161012081016001600160401b03811182821017156139ed576139ed6139b4565b60405160a081016001600160401b03811182821017156139ed576139ed6139b4565b60405160c081016001600160401b03811182821017156139ed576139ed6139b4565b604051601f8201601f191681016001600160401b0381118282101715613aa457613aa46139b4565b604052919050565b60006001600160401b03821115613ac557613ac56139b4565b50601f01601f191660200190565b600082601f830112613ae457600080fd5b8135613af7613af282613aac565b613a7c565b818152846020838601011115613b0c57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613b4257600080fd5b8635613b4d81613977565b95506020870135613b5d81613903565b94506040870135613b6d8161398c565b93506060870135613b7d8161399b565b92506080870135613b8d81613977565b915060a08701356001600160401b03811115613ba857600080fd5b613bb489828a01613ad3565b9150509295509295509295565b63ffffffff8116811461177f57600080fd5b60008060008060008060008060006101208a8c031215613bf257600080fd5b89356001600160401b0380821115613c0957600080fd5b613c158d838e01613ad3565b9a5060208c0135995060408c0135985060608c0135975060808c01359150613c3c82613bc1565b90955060a08b013590613c4e82613bc1565b819550613c5d60c08d016139a9565b9450613c6b60e08d016139a9565b93506101008c0135915080821115613c8257600080fd5b50613c8f8c828d01613ad3565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215613cc657600080fd5b81356001600160401b03811115613cdc57600080fd5b6138fb84828501613ad3565b60008060408385031215613cfb57600080fd5b8235613d0681613977565b915060208301356001600160401b03811115613d2157600080fd5b6134f785828601613ad3565b600080600060608486031215613d4257600080fd5b8335613d4d81613977565b92506020840135613d5d81613928565b915060408401356001600160401b03811115613d7857600080fd5b613d8486828701613ad3565b9150509250925092565b600060208284031215613da057600080fd5b813561335481613977565b64ffffffffff8116811461177f57600080fd5b60008060008060008060c08789031215613dd757600080fd5b8635613de281613903565b955060208701356001600160401b0380821115613dfe57600080fd5b613e0a8a838b01613ad3565b96506040890135955060608901359150613e2382613bc1565b909350608088013590613e3582613dab565b90925060a08801359080821115613e4b57600080fd5b50613bb489828a01613ad3565b600080600060608486031215613e6d57600080fd5b8335613e7881613977565b92506020840135613e8881613977565b91506040840135613e9881613977565b809150509250925092565b6000806000838503610280811215613eba57600080fd5b8435613ec581613903565b93506020850135613ed581613928565b9250610240603f198201811315613eeb57600080fd5b613ef36139ca565b9150613f0160408701613918565b8252613f0f60608701613918565b6020830152613f2060808701613918565b604083015260a0860135606083015260c0860135608083015260e086013560a08301526101008087013560c08401526101208088013560e085015261014080890135838601526101609250828901358286015261018091508189013581860152506101a080890135838601526101c0925082890135828601526101e0915081890135818601525061020080890135838601526102209250828901358286015283890135818601525050610260870135818401525050809150509250925092565b60008060408385031215613ff357600080fd5b8235613ffe81613977565b9150602083013561396c81613977565b60006020828403121561402057600080fd5b815162ffffff8116811461335457600080fd5b805161392381613903565b60006020828403121561405057600080fd5b815161335481613903565b600181811c9082168061406f57607f821691505b60208210810361408f57634e487b7160e01b600052602260045260246000fd5b50919050565b80516139238161399b565b6000602082840312156140b257600080fd5b81516133548161399b565b6000602082840312156140cf57600080fd5b815161335481613977565b600082601f8301126140eb57600080fd5b81516140f9613af282613aac565b81815284602083860101111561410e57600080fd5b6138fb826020830160208701613828565b805161392381613bc1565b805161392381613dab565b60006020828403121561414757600080fd5b81516001600160401b038082111561415e57600080fd5b9083019060e0828603121561417257600080fd5b61417a6139f3565b61418383614033565b815260208301518281111561419757600080fd5b6141a3878286016140da565b602083015250604083015160408201526141bf6060840161411f565b60608201526141d06080840161411f565b60808201526141e160a0840161412a565b60a082015260c0830151828111156141f857600080fd5b614204878286016140da565b60c08301525095945050505050565b60006020828403121561422557600080fd5b815161335481613dab565b601f8211156123dc57600081815260208120601f850160051c810160208610156142575750805b601f850160051c820191505b818110156132c557828155600101614263565b81516001600160401b0381111561428f5761428f6139b4565b6142a38161429d845461405b565b84614230565b602080601f8311600181146142d857600084156142c05750858301515b600019600386901b1c1916600185901b1785556132c5565b600085815260208120601f198616915b82811015614307578886015182559484019460019091019084016142e8565b50858210156143255787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006040828403121561434757600080fd5b604051604081018181106001600160401b0382111715614369576143696139b4565b604052825181526020928301519281019290925250919050565b6000610200828403121561439657600080fd5b61439e613a15565b6143a783614033565b81526143b560208401614033565b60208201526143c78460408501614335565b60408201526143d98460808501614335565b60608201526143eb8460c08501614335565b60808201526101006143ff85828601614335565b60a0830152614412856101408601614335565b60c0830152614425856101808601614335565b60e0830152614438856101c08601614335565b908201529392505050565b60006020828403121561445557600080fd5b5051919050565b6001600160601b03831681526040602082015260006138fb604083018461384c565b60006020828403121561449057600080fd5b815161335481613928565b6001600160401b0360c01b8316815260406020820152600082516101208060408501526144cc61016085018361384c565b91506020850151606085015260408501516080850152606085015160a0850152608085015161450360c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c085015161010061452b8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152614554828261384c565b9695505050505050565b60006020828403121561457057600080fd5b81516001600160401b038116811461335457600080fd5b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a060408501526145be60a085018261384c565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b03831681526040602082015260006138fb6040830184614587565b805161392381613977565b602081526000613354602083018461384c565b60006020828403121561463f57600080fd5b81516001600160401b038082111561465657600080fd5b9083019060a0828603121561466a57600080fd5b614672613a38565b825161467d81613928565b8152602083015161468d8161399b565b60208201526040830151828111156146a457600080fd5b6146b0878286016140da565b604083015250606083015191506146c682613903565b816060820152608083015192506146dc83613bc1565b6080810192909252509392505050565b6000602082840312156146fe57600080fd5b81516001600160401b038082111561471557600080fd5b90830190610120828603121561472a57600080fd5b614732613a15565b82518281111561474157600080fd5b61474d878286016140da565b82525060208301516020820152604083015160408201526060830151606082015261477a6080840161411f565b608082015261478b60a0840161411f565b60a082015261479c60c08401614095565b60c08201526147ad60e08401614095565b60e082015261010080840151838111156147c657600080fd5b6147d2888287016140da565b918301919091525095945050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610a9457610a946147e3565b6001600160601b0381511682526000602082015160e0602085015261483460e085018261384c565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152610a8f828261384c565b6001600160401b0360c01b831681526040602082015260006138fb604083018461480c565b80516139238161398c565b6000602082840312156148ca57600080fd5b81516133548161398c565b80820180821115610a9457610a946147e3565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b63ffffffff818116838216019080821115614937576149376147e3565b5092915050565b6001600160401b0360c01b84168152606060208201526000614963606083018561480c565b905060ff83166040830152949350505050565b6001600160601b03841681526060602082015260006149636060830185614587565b6000602082840312156149aa57600080fd5b81516001600160401b03808211156149c157600080fd5b9083019060e082860312156149d557600080fd5b6149dd6139f3565b6149e683614033565b81526149f460208401614033565b6020820152614a05604084016148ad565b6040820152614a1660608401614095565b6060820152614a276080840161460f565b60808201526141e160a0840161460f565b600060208284031215614a4a57600080fd5b81516001600160401b0380821115614a6157600080fd5b9083019060c08286031215614a7557600080fd5b614a7d613a5a565b825182811115614a8c57600080fd5b614a98878286016140da565b825250614aa760208401614033565b6020820152614ab86040840161460f565b6040820152614ac96060840161460f565b6060820152614ada6080840161460f565b608082015260a083015182811115614af157600080fd5b614afd878286016140da565b60a08301525095945050505050565b60008060408385031215614b1f57600080fd5b8251614b2a81613977565b602084015190925061396c81613977565b60008085851115614b4b57600080fd5b83861115614b5857600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015614b8d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251614be7818460208701613828565b9190910192915050565b60008060408385031215614c0457600080fd5b8251614c0f8161399b565b602084015190925061396c81613bc156fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220426a0cf828653affd987d71f8cc417b34cf8b5b1602bd5c46effbe767b6cab1c64736f6c63430008140033",
1004
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80635dcb3bae116100de5780638e32e97911610097578063ada9652e11610071578063ada9652e146103c2578063b68d1809146103d7578063bf7e214f146103e6578063f7c34ee0146103ee57600080fd5b80638e32e9791461037b5780638fb360371461038e578063ab54c545146103af57600080fd5b80635dcb3bae14610309578063644c45e01461031c578063675393bf1461033a5780637a9e5e4b1461034d578063893d20e8146103605780638dd2b7811461036857600080fd5b806325d073841161014b578063329d6e7411610125578063329d6e74146102b657806336fc697e146102c957806349bb9e4b146102d15780635ab1bd53146102e457600080fd5b806325d073841461027057806327bb7a33146102835780632b5198b11461029657600080fd5b806301ffc9a7146101935780630d8e6e2c146101d55780630fec111c146101f1578063138461e0146102065780631eff4b2214610226578063214cdb801461025b575b600080fd5b6101c06101a13660046137fe565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101dd610401565b60405162ffffff90911681526020016101cc565b6101f961048b565b6040516101cc9190613878565b61020e61061c565b6040516001600160601b0390911681526020016101cc565b61024d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b61026e6102693660046137fe565b610627565b005b6101c061027e36600461393e565b610654565b61026e610291366004613b29565b610a9a565b6102a96102a4366004613bd3565b610b3f565b6040516101cc9190613c9f565b61026e6102c4366004613cb4565b6110f7565b61026e611244565b61026e6102df366004613ce8565b61128a565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b61020e610317366004613d2d565b611389565b600080516020614c21833981519152546001600160601b031661020e565b61026e610348366004613d8e565b611674565b61026e61035b366004613d8e565b611782565b6102f1611805565b6102a9610376366004613dbe565b61193c565b61026e610389366004613e58565b6121a8565b6103966123e1565b6040516001600160e01b031990911681526020016101cc565b61026e6103bd366004613ea3565b612419565b61024d600080516020614c2183398151915281565b604051607881526020016101cc565b6102f1612992565b61026e6103fc366004613fe0565b6129ae565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610462573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610486919061400e565b905090565b6104936137c0565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561050c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610530919061403e565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610578611805565b6001600160a01b031681526020018260010180546105959061405b565b80601f01602080910402602001604051908101604052809291908181526020018280546105c19061405b565b801561060e5780601f106105e35761010080835404028352916020019161060e565b820191906000526020600020905b8154815290600101906020018083116105f157829003601f168201915b505050505081525091505090565b600061048630612a25565b61062f612c26565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051630a4d29dd60e31b81526001600160601b038316600482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156106af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d391906140a0565b8061075b5750604051637bc32ecf60e01b815273__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf9061071a906001600160c01b0319861690600401613c9f565b602060405180830381865af4158015610737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075b91906140a0565b1561076857506000610a94565b600061077384612c5f565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d991906140bd565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016108049190613c9f565b600060405180830381865afa158015610821573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108499190810190614135565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156108a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cb91906140a0565b156108db57600092505050610a94565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095b91906140a0565b80610a6d575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156109bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e191906140a0565b8015610a6d5750610a6d73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a589190614213565b8260a0015164ffffffffff9081169116111590565b9250828015610a8f5750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b610aa2612c26565b610aac82876129ae565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610b358382614276565b5050505050505050565b60008080610b4d6078612d88565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb691906140bd565b90506000610bc48285612f25565b90506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2a91906140bd565b6040516302d764c760e21b81526001600160601b03841660048201526001600160a01b039190911690630b5d931c9060240161020060405180830381865afa158015610c7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9e9190614383565b60a08101515160405163771602f760e01b81526004810191909152602481018e905290915060009073__$bf7bc340cbb9229ef1de2c568356e67902$__9063771602f790604401602060405180830381865af4158015610d02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d269190614443565b60808301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$bf7bc340cbb9229ef1de2c568356e67902$__9063b67d77c590604401602060405180830381865af4158015610d8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dae9190614443565b90508e73__$bf7bc340cbb9229ef1de2c568356e67902$__6321e5749b9091836040518363ffffffff1660e01b8152600401610df4929190918252602082015260400190565b602060405180830381865af4158015610e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3591906140a0565b15610f51578e73__$bf7bc340cbb9229ef1de2c568356e67902$__6344aa683690916040518263ffffffff1660e01b8152600401610e7591815260200190565b602060405180830381865af4158015610e92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb69190614443565b604051632255341b60e11b81526004810183905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015610f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2a9190614443565b60405163e2ed03dd60e01b8152600481019290925260248201526044015b60405180910390fd5b5050505073__$1919c6d2c69d787ccb2653a371d7e5737d$__63578c3039848f6040518363ffffffff1660e01b8152600401610f8e92919061445c565b602060405180830381865af4158015610fab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcf919061447e565b935060006040518061012001604052808f81526020018e81526020018d81526020018c81526020018b63ffffffff1681526020018a63ffffffff16815260200189151581526020018815158152602001878152509050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611063573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108791906140bd565b6001600160a01b03166330a130ba86836040518363ffffffff1660e01b81526004016110b492919061449b565b600060405180830381600087803b1580156110ce57600080fd5b505af11580156110e2573d6000803e3d6000fd5b50505050505050509998505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c611119610401565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611159573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117d919061455e565b600080516020614c618339815191528054600160401b900460ff16806111b0575080546001600160401b03808416911610155b156111ce5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556111f883612fa8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61124c612c26565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020614c618339815191528054600160401b810460ff1615906001600160401b03166000811580156112bd5750825b90506000826001600160401b031660011480156112d95750303b155b9050811580156112e7575080155b156113055760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561132f57845460ff60401b1916600160401b1785555b6113398787612fb0565b831561138057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b600080806113976078612d88565b6004546040805160e0810180835263bc1b392d60e01b905290519496509194506001600160a01b0316926357a8fba79250819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af4158015611408573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142c919061403e565b6001600160601b03168152602001856001600160601b03168152602001611451607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016114b09190613878565b6020604051808303816000875af11580156114cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f3919061403e565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561156a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061158e919061403e565b6001600160601b03168152602001600063ffffffff168152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160b91906140bd565b6001600160a01b0316637cca112485836040518363ffffffff1660e01b81526004016116389291906145ed565b600060405180830381600087803b15801561165257600080fd5b505af1158015611666573d6000803e3d6000fd5b505050505050509392505050565b61167c612c26565b806001600160a01b03163b6000036116b25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f48565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa92505050801561172c575060408051601f3d908101601f19168201909252611729918101906140a0565b60015b6117545760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f48565b8061177d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610f48565b505b50565b3361178b612992565b6001600160a01b0316816001600160a01b0316146117c65760405162d1953b60e31b81526001600160a01b0382166004820152602401610f48565b816001600160a01b03163b6000036117fc576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f48565b61177d82613155565b600080600080516020614c2183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611875573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189991906140a0565b15611926576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156118fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192091906140bd565b91505090565b54600160601b90046001600160a01b0316919050565b6000808061194a6078612d88565b925050915087516000036119735787604051634fad6a5360e11b8152600401610f48919061461a565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156119c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ed91906140a0565b15611a145760405163df85467b60e01b815264ffffffffff86166004820152602401610f48565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7891906140bd565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015611acb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611af3919081019061462d565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c690611b26908590600401613c9f565b600060405180830381865afa158015611b43573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b6b91908101906146ec565b90508863ffffffff16816080015163ffffffff161015611bac576080810151604051636fcee12560e01b815263ffffffff9091166004820152602401610f48565b60208101518a1015611cc8576020810151604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c329190614443565b604051632255341b60e11b8152600481018c905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca69190614443565b6040516338a25a8b60e21b815260048101929092526024820152604401610f48565b60408101518a1115611de4576040818101519051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611d2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4e9190614443565b604051632255341b60e11b8152600481018c905273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611d9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc29190614443565b604051631e1ea4f360e31b815260048101929092526024820152604401610f48565b8060a0015163ffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5c9190614213565b604051633682752160e21b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015611eb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed79190614443565b604051633682752160e21b815264ffffffffff8b16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015611f2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f519190614443565b611f5b91906147f9565b11156120075760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015611fbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe09190614443565b6040516331fa6ab160e11b815263ffffffff90921660048301526024820152604401610f48565b604051631f849e6b60e11b815273__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906120409088908f9060040161445c565b602060405180830381865af415801561205d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612081919061447e565b955060006040518060e001604052808e6001600160601b031681526020018d81526020018c81526020018b63ffffffff168152602001600063ffffffff1681526020018a64ffffffffff168152602001898152509050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612115573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213991906140bd565b6001600160a01b031663ca0e7f0888836040518363ffffffff1660e01b8152600401612166929190614888565b600060405180830381600087803b15801561218057600080fd5b505af1158015612194573d6000803e3d6000fd5b505050505050505050509695505050505050565b6121b0612c26565b61223083846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612216919061403e565b603c60008560405180602001604052806000815250610a9a565b6001600160a01b0382161561224d57612248826131b6565b6123bc565b60006122616001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156122c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e591906148b8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561232a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234e91906140bd565b90506123ba816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612391573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123b591906140bd565b6131b6565b505b6123cc634a531f3360e01b610627565b6123dc63b68d180960e01b610627565b505050565b600080516020614c41833981519152805460009190600160a01b900460ff1661240b576000611920565b638fb3603760e01b91505090565b612425336000366131c7565b600061243084612c5f565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612472573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249691906140bd565b90506000826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124fc91906140bd565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866101e00151876101c0015161253091906148d5565b6040518263ffffffff1660e01b815260040161254e91815260200190565b602060405180830381865af415801561256b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061258f919061403e565b905061259b8787610654565b156128a457610200850151604051632620eecb60e11b815260009173__$3bac17678db7ae928afa209f2f44deec9c$__91634c41dd96916125e29160040190815260200190565b602060405180830381865af41580156125ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612623919061403e565b6002546040516374933c2f60e01b81529192506001600160a01b0316906374933c2f9061265a9086908c90869088906004016148e8565b600060405180830381600087803b15801561267457600080fd5b505af1158015612688573d6000803e3d6000fd5b5050604051631d3be47760e01b8152600092506001600160a01b0387169150631d3be477906126bb908b90600401613c9f565b600060405180830381865afa1580156126d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127009190810190614135565b9050600181608001818151612715919061491a565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038516906361105e0e9061274f908b90859060ff9060040161493e565b600060405180830381600087803b15801561276957600080fd5b505af115801561277d573d6000803e3d6000fd5b505082516040516313d8ebc960e11b81526001600160601b039091166004820152600092506001600160a01b03881691506327b1d79290602401600060405180830381865afa1580156127d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127fc919081019061462d565b905061280c8160600151846132cd565b6001600160601b031660608201526080810180516001919061282f90839061491a565b63ffffffff169052508151604051631e40b36360e01b81526001600160a01b03871691631e40b3639161286a9190859060ff90600401614976565b600060405180830381600087803b15801561288457600080fd5b505af1158015612898573d6000803e3d6000fd5b50505050505050611380565b600260009054906101000a90046001600160a01b03166001600160a01b03166374933c2f838973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612913573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612937919061403e565b856040518563ffffffff1660e01b815260040161295794939291906148e8565b600060405180830381600087803b15801561297157600080fd5b505af1158015612985573d6000803e3d6000fd5b5050505050505050505050565b600080516020614c41833981519152546001600160a01b031690565b6129b6612c26565b6129bf81611674565b6129c7611244565b6001600160a01b0382166129ee5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020614c2183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080600080516020614c2183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ab991906140a0565b15612ae55780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610f48565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b5d91906140a0565b612b855760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610f48565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015612bd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bfd919061403e565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b600080516020614c6183398151915254600160401b900460ff16612c5d57604051631afcd79f60e31b815260040160405180910390fd5b565b600080612c746001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612cc3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ceb9190810190614998565b6020015190506000612d056001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612d7c9190810190614998565b60800151949350505050565b6000612d926137c0565b6000612da66001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015612dec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e10919061403e565b9250612e1c838561335b565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e8691906140bd565b608083015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa158015612ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ef591906140a0565b15612f1e57604051637d71120960e11b81526001600160601b0384166004820152602401610f48565b9193909250565b60405163f0ea17c360e01b81526001600160601b03821660048201526000906001600160a01b0384169063f0ea17c390602401600060405180830381865afa158015612f75573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f9d9190810190614a38565b602001519392505050565b61018e612c26565b600080516020614c618339815191528054600160401b810460ff1615906001600160401b0316600081158015612fe35750825b90506000826001600160401b03166001148015612fff5750303b155b90508115801561300d575080155b1561302b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561305557845460ff60401b1916600160401b1785555b6000808780602001905181019061306c9190614b0c565b9250905061307c8160008b6121a8565b61308b6064613501565b613501565b600280546001600160a01b0319166001600160a01b03929092169190911790556130b6613086604690565b600380546001600160a01b0319166001600160a01b03929092169190911790556130e1613086602890565b600480546001600160a01b0319166001600160a01b03929092169190911790556131116375cca25f60e01b610627565b5050831561138057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611377565b600080516020614c4183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6131be612c26565b61177f8161360e565b600080516020614c418339815191526000806132026131e4612992565b87306131f4600460008a8c614b3b565b6131fd91614b65565b61361f565b91509150816132c55763ffffffff8116156132a257825460ff60a01b1916600160a01b178355613230612992565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161325f93929190614b95565b600060405180830381600087803b15801561327957600080fd5b505af115801561328d573d6000803e3d6000fd5b5050845460ff60a01b19168555506132c59050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f48565b505050505050565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015613330573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613354919061403e565b9392505050565b6133636137c0565b6000806133786001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa1580156133c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133f09190810190614998565b925060ff841660641461344e57604083015160ff85811691161461344957604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610f48565b6134ea565b613469836040015161345e606e90565b60ff90811691161490565b8061347f575061347f836040015161345e608c90565b806134955750613495836040015161345e607890565b806134ab57506134ab836040015161345e608290565b6134ea57604080840151905163b83d92cb60e01b81526001600160601b038716600482015260ff80871660248301529091166044820152606401610f48565b6134f7836020015161372b565b9150509250929050565b60006135156001546001600160a01b031690565b6001600160a01b031663d39e60438361352c610401565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015613581573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135a591906148b8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156135ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9491906140bd565b613616612c26565b61177f81613155565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161368e9190614bd5565b600060405180830381855afa9150503d80600081146136c9576040519150601f19603f3d011682016040523d82523d6000602084013e6136ce565b606091505b5091509150811561372057604081511061370057808060200190518101906136f69190614bf1565b9094509250613720565b6020815110613720578080602001905181019061371d91906140a0565b93505b505094509492505050565b600061373f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561378e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526137b69190810190614998565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561381057600080fd5b81356001600160e01b03198116811461335457600080fd5b60005b8381101561384357818101518382015260200161382b565b50506000910152565b60008151808452613864816020860160208601613828565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516138e160c08401826001600160a01b03169052565b5060c083015160e0808401526138fb61010084018261384c565b949350505050565b6001600160601b038116811461177f57600080fd5b803561392381613903565b919050565b6001600160c01b03198116811461177f57600080fd5b6000806040838503121561395157600080fd5b823561395c81613903565b9150602083013561396c81613928565b809150509250929050565b6001600160a01b038116811461177f57600080fd5b60ff8116811461177f57600080fd5b801515811461177f57600080fd5b80356139238161399b565b634e487b7160e01b600052604160045260246000fd5b60405161024081016001600160401b03811182821017156139ed576139ed6139b4565b60405290565b60405160e081016001600160401b03811182821017156139ed576139ed6139b4565b60405161012081016001600160401b03811182821017156139ed576139ed6139b4565b60405160a081016001600160401b03811182821017156139ed576139ed6139b4565b60405160c081016001600160401b03811182821017156139ed576139ed6139b4565b604051601f8201601f191681016001600160401b0381118282101715613aa457613aa46139b4565b604052919050565b60006001600160401b03821115613ac557613ac56139b4565b50601f01601f191660200190565b600082601f830112613ae457600080fd5b8135613af7613af282613aac565b613a7c565b818152846020838601011115613b0c57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613b4257600080fd5b8635613b4d81613977565b95506020870135613b5d81613903565b94506040870135613b6d8161398c565b93506060870135613b7d8161399b565b92506080870135613b8d81613977565b915060a08701356001600160401b03811115613ba857600080fd5b613bb489828a01613ad3565b9150509295509295509295565b63ffffffff8116811461177f57600080fd5b60008060008060008060008060006101208a8c031215613bf257600080fd5b89356001600160401b0380821115613c0957600080fd5b613c158d838e01613ad3565b9a5060208c0135995060408c0135985060608c0135975060808c01359150613c3c82613bc1565b90955060a08b013590613c4e82613bc1565b819550613c5d60c08d016139a9565b9450613c6b60e08d016139a9565b93506101008c0135915080821115613c8257600080fd5b50613c8f8c828d01613ad3565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b600060208284031215613cc657600080fd5b81356001600160401b03811115613cdc57600080fd5b6138fb84828501613ad3565b60008060408385031215613cfb57600080fd5b8235613d0681613977565b915060208301356001600160401b03811115613d2157600080fd5b6134f785828601613ad3565b600080600060608486031215613d4257600080fd5b8335613d4d81613977565b92506020840135613d5d81613928565b915060408401356001600160401b03811115613d7857600080fd5b613d8486828701613ad3565b9150509250925092565b600060208284031215613da057600080fd5b813561335481613977565b64ffffffffff8116811461177f57600080fd5b60008060008060008060c08789031215613dd757600080fd5b8635613de281613903565b955060208701356001600160401b0380821115613dfe57600080fd5b613e0a8a838b01613ad3565b96506040890135955060608901359150613e2382613bc1565b909350608088013590613e3582613dab565b90925060a08801359080821115613e4b57600080fd5b50613bb489828a01613ad3565b600080600060608486031215613e6d57600080fd5b8335613e7881613977565b92506020840135613e8881613977565b91506040840135613e9881613977565b809150509250925092565b6000806000838503610280811215613eba57600080fd5b8435613ec581613903565b93506020850135613ed581613928565b9250610240603f198201811315613eeb57600080fd5b613ef36139ca565b9150613f0160408701613918565b8252613f0f60608701613918565b6020830152613f2060808701613918565b604083015260a0860135606083015260c0860135608083015260e086013560a08301526101008087013560c08401526101208088013560e085015261014080890135838601526101609250828901358286015261018091508189013581860152506101a080890135838601526101c0925082890135828601526101e0915081890135818601525061020080890135838601526102209250828901358286015283890135818601525050610260870135818401525050809150509250925092565b60008060408385031215613ff357600080fd5b8235613ffe81613977565b9150602083013561396c81613977565b60006020828403121561402057600080fd5b815162ffffff8116811461335457600080fd5b805161392381613903565b60006020828403121561405057600080fd5b815161335481613903565b600181811c9082168061406f57607f821691505b60208210810361408f57634e487b7160e01b600052602260045260246000fd5b50919050565b80516139238161399b565b6000602082840312156140b257600080fd5b81516133548161399b565b6000602082840312156140cf57600080fd5b815161335481613977565b600082601f8301126140eb57600080fd5b81516140f9613af282613aac565b81815284602083860101111561410e57600080fd5b6138fb826020830160208701613828565b805161392381613bc1565b805161392381613dab565b60006020828403121561414757600080fd5b81516001600160401b038082111561415e57600080fd5b9083019060e0828603121561417257600080fd5b61417a6139f3565b61418383614033565b815260208301518281111561419757600080fd5b6141a3878286016140da565b602083015250604083015160408201526141bf6060840161411f565b60608201526141d06080840161411f565b60808201526141e160a0840161412a565b60a082015260c0830151828111156141f857600080fd5b614204878286016140da565b60c08301525095945050505050565b60006020828403121561422557600080fd5b815161335481613dab565b601f8211156123dc57600081815260208120601f850160051c810160208610156142575750805b601f850160051c820191505b818110156132c557828155600101614263565b81516001600160401b0381111561428f5761428f6139b4565b6142a38161429d845461405b565b84614230565b602080601f8311600181146142d857600084156142c05750858301515b600019600386901b1c1916600185901b1785556132c5565b600085815260208120601f198616915b82811015614307578886015182559484019460019091019084016142e8565b50858210156143255787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006040828403121561434757600080fd5b604051604081018181106001600160401b0382111715614369576143696139b4565b604052825181526020928301519281019290925250919050565b6000610200828403121561439657600080fd5b61439e613a15565b6143a783614033565b81526143b560208401614033565b60208201526143c78460408501614335565b60408201526143d98460808501614335565b60608201526143eb8460c08501614335565b60808201526101006143ff85828601614335565b60a0830152614412856101408601614335565b60c0830152614425856101808601614335565b60e0830152614438856101c08601614335565b908201529392505050565b60006020828403121561445557600080fd5b5051919050565b6001600160601b03831681526040602082015260006138fb604083018461384c565b60006020828403121561449057600080fd5b815161335481613928565b6001600160401b0360c01b8316815260406020820152600082516101208060408501526144cc61016085018361384c565b91506020850151606085015260408501516080850152606085015160a0850152608085015161450360c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c085015161010061452b8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152614554828261384c565b9695505050505050565b60006020828403121561457057600080fd5b81516001600160401b038116811461335457600080fd5b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a060408501526145be60a085018261384c565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b03831681526040602082015260006138fb6040830184614587565b805161392381613977565b602081526000613354602083018461384c565b60006020828403121561463f57600080fd5b81516001600160401b038082111561465657600080fd5b9083019060a0828603121561466a57600080fd5b614672613a38565b825161467d81613928565b8152602083015161468d8161399b565b60208201526040830151828111156146a457600080fd5b6146b0878286016140da565b604083015250606083015191506146c682613903565b816060820152608083015192506146dc83613bc1565b6080810192909252509392505050565b6000602082840312156146fe57600080fd5b81516001600160401b038082111561471557600080fd5b90830190610120828603121561472a57600080fd5b614732613a15565b82518281111561474157600080fd5b61474d878286016140da565b82525060208301516020820152604083015160408201526060830151606082015261477a6080840161411f565b608082015261478b60a0840161411f565b60a082015261479c60c08401614095565b60c08201526147ad60e08401614095565b60e082015261010080840151838111156147c657600080fd5b6147d2888287016140da565b918301919091525095945050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610a9457610a946147e3565b6001600160601b0381511682526000602082015160e0602085015261483460e085018261384c565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c0860152610a8f828261384c565b6001600160401b0360c01b831681526040602082015260006138fb604083018461480c565b80516139238161398c565b6000602082840312156148ca57600080fd5b81516133548161398c565b80820180821115610a9457610a946147e3565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b63ffffffff818116838216019080821115614937576149376147e3565b5092915050565b6001600160401b0360c01b84168152606060208201526000614963606083018561480c565b905060ff83166040830152949350505050565b6001600160601b03841681526060602082015260006149636060830185614587565b6000602082840312156149aa57600080fd5b81516001600160401b03808211156149c157600080fd5b9083019060e082860312156149d557600080fd5b6149dd6139f3565b6149e683614033565b81526149f460208401614033565b6020820152614a05604084016148ad565b6040820152614a1660608401614095565b6060820152614a276080840161460f565b60808201526141e160a0840161460f565b600060208284031215614a4a57600080fd5b81516001600160401b0380821115614a6157600080fd5b9083019060c08286031215614a7557600080fd5b614a7d613a5a565b825182811115614a8c57600080fd5b614a98878286016140da565b825250614aa760208401614033565b6020820152614ab86040840161460f565b6040820152614ac96060840161460f565b6060820152614ada6080840161460f565b608082015260a083015182811115614af157600080fd5b614afd878286016140da565b60a08301525095945050505050565b60008060408385031215614b1f57600080fd5b8251614b2a81613977565b602084015190925061396c81613977565b60008085851115614b4b57600080fd5b83861115614b5857600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015614b8d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251614be7818460208701613828565b9190910192915050565b60008060408385031215614c0457600080fd5b8251614c0f8161399b565b602084015190925061396c81613bc156fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220426a0cf828653affd987d71f8cc417b34cf8b5b1602bd5c46effbe767b6cab1c64736f6c63430008140033",
1005
+ "linkReferences": {
1006
+ "contracts/type/Amount.sol": {
1007
+ "AmountLib": [
1008
+ {
1009
+ "length": 20,
1010
+ "start": 5641
1011
+ },
1012
+ {
1013
+ "length": 20,
1014
+ "start": 9704
1015
+ },
1016
+ {
1017
+ "length": 20,
1018
+ "start": 9886
1019
+ },
1020
+ {
1021
+ "length": 20,
1022
+ "start": 10674
1023
+ },
1024
+ {
1025
+ "length": 20,
1026
+ "start": 13276
1027
+ }
1028
+ ]
1029
+ },
1030
+ "contracts/type/DistributorType.sol": {
1031
+ "DistributorTypeLib": [
1032
+ {
1033
+ "length": 20,
1034
+ "start": 4157
1035
+ }
1036
+ ]
1037
+ },
1038
+ "contracts/type/NftId.sol": {
1039
+ "NftIdLib": [
1040
+ {
1041
+ "length": 20,
1042
+ "start": 1451
1043
+ },
1044
+ {
1045
+ "length": 20,
1046
+ "start": 1883
1047
+ },
1048
+ {
1049
+ "length": 20,
1050
+ "start": 2387
1051
+ },
1052
+ {
1053
+ "length": 20,
1054
+ "start": 5298
1055
+ },
1056
+ {
1057
+ "length": 20,
1058
+ "start": 6433
1059
+ },
1060
+ {
1061
+ "length": 20,
1062
+ "start": 11073
1063
+ }
1064
+ ]
1065
+ },
1066
+ "contracts/type/Referral.sol": {
1067
+ "ReferralLib": [
1068
+ {
1069
+ "length": 20,
1070
+ "start": 1998
1071
+ },
1072
+ {
1073
+ "length": 20,
1074
+ "start": 8444
1075
+ }
1076
+ ]
1077
+ },
1078
+ "contracts/type/Timestamp.sol": {
1079
+ "TimestampLib": [
1080
+ {
1081
+ "length": 20,
1082
+ "start": 2531
1083
+ },
1084
+ {
1085
+ "length": 20,
1086
+ "start": 2665
1087
+ },
1088
+ {
1089
+ "length": 20,
1090
+ "start": 2771
1091
+ },
1092
+ {
1093
+ "length": 20,
1094
+ "start": 6773
1095
+ },
1096
+ {
1097
+ "length": 20,
1098
+ "start": 7895
1099
+ },
1100
+ {
1101
+ "length": 20,
1102
+ "start": 8031
1103
+ },
1104
+ {
1105
+ "length": 20,
1106
+ "start": 8153
1107
+ },
1108
+ {
1109
+ "length": 20,
1110
+ "start": 8296
1111
+ }
1112
+ ]
1113
+ },
1114
+ "contracts/type/UFixed.sol": {
1115
+ "UFixedLib": [
1116
+ {
1117
+ "length": 20,
1118
+ "start": 3502
1119
+ },
1120
+ {
1121
+ "length": 20,
1122
+ "start": 3638
1123
+ },
1124
+ {
1125
+ "length": 20,
1126
+ "start": 3737
1127
+ },
1128
+ {
1129
+ "length": 20,
1130
+ "start": 3875
1131
+ },
1132
+ {
1133
+ "length": 20,
1134
+ "start": 4018
1135
+ },
1136
+ {
1137
+ "length": 20,
1138
+ "start": 7354
1139
+ },
1140
+ {
1141
+ "length": 20,
1142
+ "start": 7470
1143
+ },
1144
+ {
1145
+ "length": 20,
1146
+ "start": 7638
1147
+ },
1148
+ {
1149
+ "length": 20,
1150
+ "start": 7754
1151
+ }
1152
+ ]
1153
+ },
1154
+ "contracts/type/Version.sol": {
1155
+ "VersionLib": [
1156
+ {
1157
+ "length": 20,
1158
+ "start": 1294
1159
+ },
1160
+ {
1161
+ "length": 20,
1162
+ "start": 4575
1163
+ },
1164
+ {
1165
+ "length": 20,
1166
+ "start": 13869
1167
+ }
1168
+ ],
1169
+ "VersionPartLib": [
1170
+ {
1171
+ "length": 20,
1172
+ "start": 9069
1173
+ }
1174
+ ]
1175
+ }
1176
+ },
1177
+ "deployedLinkReferences": {
1178
+ "contracts/type/Amount.sol": {
1179
+ "AmountLib": [
1180
+ {
1181
+ "length": 20,
1182
+ "start": 5411
1183
+ },
1184
+ {
1185
+ "length": 20,
1186
+ "start": 9474
1187
+ },
1188
+ {
1189
+ "length": 20,
1190
+ "start": 9656
1191
+ },
1192
+ {
1193
+ "length": 20,
1194
+ "start": 10444
1195
+ },
1196
+ {
1197
+ "length": 20,
1198
+ "start": 13046
1199
+ }
1200
+ ]
1201
+ },
1202
+ "contracts/type/DistributorType.sol": {
1203
+ "DistributorTypeLib": [
1204
+ {
1205
+ "length": 20,
1206
+ "start": 3927
1207
+ }
1208
+ ]
1209
+ },
1210
+ "contracts/type/NftId.sol": {
1211
+ "NftIdLib": [
1212
+ {
1213
+ "length": 20,
1214
+ "start": 1221
1215
+ },
1216
+ {
1217
+ "length": 20,
1218
+ "start": 1653
1219
+ },
1220
+ {
1221
+ "length": 20,
1222
+ "start": 2157
1223
+ },
1224
+ {
1225
+ "length": 20,
1226
+ "start": 5068
1227
+ },
1228
+ {
1229
+ "length": 20,
1230
+ "start": 6203
1231
+ },
1232
+ {
1233
+ "length": 20,
1234
+ "start": 10843
1235
+ }
1236
+ ]
1237
+ },
1238
+ "contracts/type/Referral.sol": {
1239
+ "ReferralLib": [
1240
+ {
1241
+ "length": 20,
1242
+ "start": 1768
1243
+ },
1244
+ {
1245
+ "length": 20,
1246
+ "start": 8214
1247
+ }
1248
+ ]
1249
+ },
1250
+ "contracts/type/Timestamp.sol": {
1251
+ "TimestampLib": [
1252
+ {
1253
+ "length": 20,
1254
+ "start": 2301
1255
+ },
1256
+ {
1257
+ "length": 20,
1258
+ "start": 2435
1259
+ },
1260
+ {
1261
+ "length": 20,
1262
+ "start": 2541
1263
+ },
1264
+ {
1265
+ "length": 20,
1266
+ "start": 6543
1267
+ },
1268
+ {
1269
+ "length": 20,
1270
+ "start": 7665
1271
+ },
1272
+ {
1273
+ "length": 20,
1274
+ "start": 7801
1275
+ },
1276
+ {
1277
+ "length": 20,
1278
+ "start": 7923
1279
+ },
1280
+ {
1281
+ "length": 20,
1282
+ "start": 8066
1283
+ }
1284
+ ]
1285
+ },
1286
+ "contracts/type/UFixed.sol": {
1287
+ "UFixedLib": [
1288
+ {
1289
+ "length": 20,
1290
+ "start": 3272
1291
+ },
1292
+ {
1293
+ "length": 20,
1294
+ "start": 3408
1295
+ },
1296
+ {
1297
+ "length": 20,
1298
+ "start": 3507
1299
+ },
1300
+ {
1301
+ "length": 20,
1302
+ "start": 3645
1303
+ },
1304
+ {
1305
+ "length": 20,
1306
+ "start": 3788
1307
+ },
1308
+ {
1309
+ "length": 20,
1310
+ "start": 7124
1311
+ },
1312
+ {
1313
+ "length": 20,
1314
+ "start": 7240
1315
+ },
1316
+ {
1317
+ "length": 20,
1318
+ "start": 7408
1319
+ },
1320
+ {
1321
+ "length": 20,
1322
+ "start": 7524
1323
+ }
1324
+ ]
1325
+ },
1326
+ "contracts/type/Version.sol": {
1327
+ "VersionLib": [
1328
+ {
1329
+ "length": 20,
1330
+ "start": 1064
1331
+ },
1332
+ {
1333
+ "length": 20,
1334
+ "start": 4345
1335
+ },
1336
+ {
1337
+ "length": 20,
1338
+ "start": 13639
1339
+ }
1340
+ ],
1341
+ "VersionPartLib": [
1342
+ {
1343
+ "length": 20,
1344
+ "start": 8839
1345
+ }
1346
+ ]
1347
+ }
1348
+ }
1349
+ }