@etherisc/gif-next 0.0.2-f7be756-963 → 0.0.2-f7c17b4-970

Sign up to get free protection for your applications and to get access to all the features.
Files changed (463) hide show
  1. package/README.md +403 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +604 -35
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1310 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +234 -239
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +877 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1029 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +740 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1253 -130
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +978 -157
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1791 -776
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +498 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +2497 -824
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1391 -0
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1035 -0
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +541 -0
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  51. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  52. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  55. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  56. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  57. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  58. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  59. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  60. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +858 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1085 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +743 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +935 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +677 -0
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +462 -0
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +622 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +398 -0
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +480 -0
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +572 -0
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +336 -0
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +373 -0
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1109 -0
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +717 -0
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +716 -0
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +766 -0
  102. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  105. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +578 -29
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +879 -0
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  111. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  112. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/Registry.sol/Registry.json +651 -68
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  115. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  117. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1166 -0
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  121. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  123. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  124. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  125. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  128. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  129. package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +46 -74
  130. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  131. package/artifacts/contracts/{instance/product/IProductService.sol/IProductService.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +68 -66
  132. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  133. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
  134. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  135. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
  136. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  137. package/artifacts/contracts/{components/IPool.sol/IPoolComponent.json → shared/IService.sol/IService.json} +120 -117
  138. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  139. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  140. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  142. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  143. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  145. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +352 -0
  148. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  149. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  150. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  151. package/artifacts/contracts/shared/Service.sol/Service.json +414 -0
  152. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  153. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  154. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  155. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  156. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  157. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  158. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  159. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  161. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +383 -0
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  163. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  164. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestService.sol/TestService.json +510 -0
  166. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  171. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
  172. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  173. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  174. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  175. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  176. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  179. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  180. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  182. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  184. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  185. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  186. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  188. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  189. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  190. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  192. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  194. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  196. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  198. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  200. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  202. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  204. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  206. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +97 -4
  208. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  209. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  210. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  212. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  214. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  216. package/contracts/components/Component.sol +195 -51
  217. package/contracts/components/Distribution.sol +308 -0
  218. package/contracts/components/IComponent.sol +68 -0
  219. package/contracts/components/IDistributionComponent.sol +100 -0
  220. package/contracts/components/IPoolComponent.sol +151 -0
  221. package/contracts/components/IProductComponent.sol +40 -0
  222. package/contracts/components/Pool.sol +356 -30
  223. package/contracts/components/Product.sol +252 -48
  224. package/contracts/instance/BundleManager.sol +125 -0
  225. package/contracts/instance/Cloneable.sol +46 -0
  226. package/contracts/instance/IInstance.sol +91 -24
  227. package/contracts/instance/IInstanceService.sol +59 -0
  228. package/contracts/instance/Instance.sol +270 -51
  229. package/contracts/instance/InstanceAccessManager.sol +297 -0
  230. package/contracts/instance/InstanceReader.sol +293 -0
  231. package/contracts/instance/InstanceService.sol +490 -0
  232. package/contracts/instance/InstanceServiceManager.sol +54 -0
  233. package/contracts/instance/ObjectManager.sol +84 -0
  234. package/contracts/instance/base/ComponentService.sol +134 -0
  235. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  236. package/contracts/instance/base/ILifecycle.sol +30 -0
  237. package/contracts/instance/base/KeyValueStore.sol +172 -0
  238. package/contracts/instance/base/Lifecycle.sol +100 -0
  239. package/contracts/instance/module/IAccess.sol +47 -0
  240. package/contracts/instance/module/IBundle.sol +21 -0
  241. package/contracts/instance/module/IDistribution.sol +39 -0
  242. package/contracts/instance/module/IPolicy.sol +48 -0
  243. package/contracts/instance/module/IRisk.sol +11 -0
  244. package/contracts/instance/module/ISetup.sol +48 -0
  245. package/contracts/instance/module/ITreasury.sol +23 -0
  246. package/contracts/instance/service/ApplicationService.sol +269 -0
  247. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  248. package/contracts/instance/service/BundleService.sol +299 -0
  249. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  250. package/contracts/instance/service/ClaimService.sol +151 -0
  251. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  252. package/contracts/instance/service/DistributionService.sol +277 -0
  253. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  254. package/contracts/instance/service/IApplicationService.sol +83 -0
  255. package/contracts/instance/service/IBundleService.sol +55 -0
  256. package/contracts/instance/service/IClaimService.sol +61 -0
  257. package/contracts/instance/service/IDistributionService.sol +65 -0
  258. package/contracts/instance/service/IPolicyService.sol +90 -0
  259. package/contracts/instance/service/IPoolService.sol +20 -0
  260. package/contracts/instance/service/IProductService.sol +40 -0
  261. package/contracts/instance/service/PolicyService.sol +476 -0
  262. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  263. package/contracts/instance/service/PoolService.sol +109 -0
  264. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  265. package/contracts/instance/service/ProductService.sol +233 -0
  266. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  267. package/contracts/registry/ChainNft.sol +129 -62
  268. package/contracts/registry/IRegistry.sol +73 -41
  269. package/contracts/registry/IRegistryService.sol +67 -0
  270. package/contracts/registry/ITransferInterceptor.sol +6 -0
  271. package/contracts/registry/Registry.sol +408 -126
  272. package/contracts/registry/RegistryAccessManager.sol +216 -0
  273. package/contracts/registry/RegistryService.sol +283 -0
  274. package/contracts/registry/RegistryServiceManager.sol +62 -0
  275. package/contracts/registry/ReleaseManager.sol +322 -0
  276. package/contracts/registry/TokenRegistry.sol +116 -0
  277. package/contracts/shared/ContractDeployerLib.sol +72 -0
  278. package/contracts/shared/ERC165.sol +27 -0
  279. package/contracts/shared/INftOwnable.sol +23 -0
  280. package/contracts/shared/IPolicyHolder.sol +26 -0
  281. package/contracts/shared/IRegisterable.sol +15 -0
  282. package/contracts/shared/IRegistryLinked.sol +12 -0
  283. package/contracts/shared/IService.sol +16 -0
  284. package/contracts/shared/IVersionable.sol +53 -0
  285. package/contracts/shared/NftOwnable.sol +120 -0
  286. package/contracts/shared/PolicyHolder.sol +81 -0
  287. package/contracts/shared/ProxyManager.sol +169 -0
  288. package/contracts/shared/Registerable.sol +74 -0
  289. package/contracts/shared/RegistryLinked.sol +48 -0
  290. package/contracts/shared/Service.sol +58 -0
  291. package/contracts/shared/TokenHandler.sol +27 -0
  292. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  293. package/contracts/shared/Versionable.sol +59 -0
  294. package/contracts/test/TestFee.sol +25 -0
  295. package/contracts/test/TestRegisterable.sol +18 -0
  296. package/contracts/test/TestRoleId.sol +14 -0
  297. package/contracts/test/TestService.sol +25 -0
  298. package/contracts/{mock/Dip.sol → test/TestToken.sol} +5 -5
  299. package/contracts/test/TestVersion.sol +44 -0
  300. package/contracts/test/TestVersionable.sol +17 -0
  301. package/contracts/{mock → test}/Usdc.sol +1 -1
  302. package/contracts/types/AddressSet.sol +58 -0
  303. package/contracts/types/ClaimId.sol +52 -0
  304. package/contracts/types/DistributorType.sol +55 -0
  305. package/contracts/types/Fee.sol +44 -20
  306. package/contracts/types/Key32.sol +50 -0
  307. package/contracts/types/NftId.sol +22 -1
  308. package/contracts/types/NftIdSet.sol +62 -0
  309. package/contracts/types/NumberId.sol +52 -0
  310. package/contracts/types/ObjectType.sol +64 -15
  311. package/contracts/types/PayoutId.sol +54 -0
  312. package/contracts/types/Referral.sol +85 -0
  313. package/contracts/types/RiskId.sol +43 -0
  314. package/contracts/types/RoleId.sol +95 -0
  315. package/contracts/types/Seconds.sol +54 -0
  316. package/contracts/types/StateId.sol +18 -4
  317. package/contracts/types/Timestamp.sol +30 -6
  318. package/contracts/types/UFixed.sol +138 -23
  319. package/contracts/types/Version.sol +107 -0
  320. package/package.json +11 -5
  321. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  322. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  323. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  324. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  325. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  326. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  328. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  330. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  332. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  334. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  336. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  338. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  340. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  342. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  344. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  346. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  348. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  350. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  352. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  354. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  356. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  358. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  359. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  361. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  362. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  363. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  364. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  365. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  366. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  367. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  368. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  369. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
  370. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  371. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  372. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  373. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  374. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  375. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  376. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  377. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  378. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  379. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  380. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  381. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  382. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  383. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  384. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  385. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  386. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  387. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  389. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  390. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  391. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  392. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  394. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  396. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  397. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  398. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  399. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  400. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  401. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  402. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  403. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  404. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  406. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  407. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  408. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  409. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  410. package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +0 -4
  411. package/artifacts/contracts/mock/Dip.sol/DIP.json +0 -338
  412. package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +0 -4
  413. package/artifacts/contracts/mock/TestPool.sol/TestPool.json +0 -294
  414. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +0 -4
  415. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +0 -384
  416. package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +0 -4
  417. package/artifacts/contracts/mock/Usdc.sol/USDC.json +0 -338
  418. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  419. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  420. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  421. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  422. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  423. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  424. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  425. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  426. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  427. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  428. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  429. package/contracts/components/IPool.sol +0 -15
  430. package/contracts/components/IProduct.sol +0 -16
  431. package/contracts/experiment/errors/Require.sol +0 -38
  432. package/contracts/experiment/errors/Revert.sol +0 -44
  433. package/contracts/experiment/inheritance/A.sol +0 -53
  434. package/contracts/experiment/inheritance/B.sol +0 -28
  435. package/contracts/experiment/inheritance/C.sol +0 -34
  436. package/contracts/experiment/inheritance/IA.sol +0 -13
  437. package/contracts/experiment/inheritance/IB.sol +0 -10
  438. package/contracts/experiment/inheritance/IC.sol +0 -12
  439. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  440. package/contracts/experiment/statemachine/ISM.sol +0 -25
  441. package/contracts/experiment/statemachine/README.md +0 -112
  442. package/contracts/experiment/statemachine/SM.sol +0 -57
  443. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  444. package/contracts/experiment/types/TypeA.sol +0 -47
  445. package/contracts/experiment/types/TypeB.sol +0 -29
  446. package/contracts/instance/access/Access.sol +0 -165
  447. package/contracts/instance/access/IAccess.sol +0 -63
  448. package/contracts/instance/component/ComponentModule.sol +0 -274
  449. package/contracts/instance/component/IComponent.sol +0 -74
  450. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  451. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  452. package/contracts/instance/policy/IPolicy.sol +0 -50
  453. package/contracts/instance/policy/PolicyModule.sol +0 -114
  454. package/contracts/instance/pool/IPoolModule.sol +0 -23
  455. package/contracts/instance/pool/PoolModule.sol +0 -81
  456. package/contracts/instance/product/IProductService.sol +0 -36
  457. package/contracts/instance/product/ProductService.sol +0 -136
  458. package/contracts/instance/treasury/ITreasury.sol +0 -91
  459. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  460. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  461. package/contracts/mock/TestPool.sol +0 -16
  462. package/contracts/mock/TestProduct.sol +0 -39
  463. package/contracts/registry/IChainNft.sol +0 -21
@@ -0,0 +1,935 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "DistributionService",
4
+ "sourceName": "contracts/instance/service/DistributionService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "component",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorComponentServiceAlreadyRegistered",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "component",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorComponentServiceComponentLocked",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "instanceNftId",
38
+ "type": "uint96"
39
+ },
40
+ {
41
+ "internalType": "RoleId",
42
+ "name": "requiredRole",
43
+ "type": "uint64"
44
+ },
45
+ {
46
+ "internalType": "address",
47
+ "name": "sender",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "name": "ErrorComponentServiceExpectedRoleMissing",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "component",
59
+ "type": "address"
60
+ },
61
+ {
62
+ "internalType": "ObjectType",
63
+ "name": "requiredType",
64
+ "type": "uint8"
65
+ },
66
+ {
67
+ "internalType": "ObjectType",
68
+ "name": "componentType",
69
+ "type": "uint8"
70
+ }
71
+ ],
72
+ "name": "ErrorComponentServiceInvalidType",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "address",
79
+ "name": "component",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorComponentServiceNotComponent",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "component",
91
+ "type": "address"
92
+ },
93
+ {
94
+ "internalType": "address",
95
+ "name": "initialOwner",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "internalType": "address",
100
+ "name": "sender",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "name": "ErrorComponentServiceSenderNotOwner",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "target",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "ErrorIAccessTargetLocked",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "NftId",
122
+ "name": "nftId",
123
+ "type": "uint96"
124
+ }
125
+ ],
126
+ "name": "ErrorNftOwnableAlreadyLinked",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "contractAddress",
134
+ "type": "address"
135
+ }
136
+ ],
137
+ "name": "ErrorNftOwnableContractNotRegistered",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "ErrorNftOwnableInitialOwnerZero",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "account",
150
+ "type": "address"
151
+ }
152
+ ],
153
+ "name": "ErrorNftOwnableNotOwner",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "address",
160
+ "name": "registryAddress",
161
+ "type": "address"
162
+ }
163
+ ],
164
+ "name": "ErrorNotRegistry",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [],
169
+ "name": "InvalidInitialization",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [],
174
+ "name": "NotInitializing",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "anonymous": false,
179
+ "inputs": [
180
+ {
181
+ "indexed": false,
182
+ "internalType": "uint64",
183
+ "name": "version",
184
+ "type": "uint64"
185
+ }
186
+ ],
187
+ "name": "Initialized",
188
+ "type": "event"
189
+ },
190
+ {
191
+ "inputs": [],
192
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
193
+ "outputs": [
194
+ {
195
+ "internalType": "bytes32",
196
+ "name": "",
197
+ "type": "bytes32"
198
+ }
199
+ ],
200
+ "stateMutability": "view",
201
+ "type": "function"
202
+ },
203
+ {
204
+ "inputs": [],
205
+ "name": "REGISTERABLE_LOCATION_V1",
206
+ "outputs": [
207
+ {
208
+ "internalType": "bytes32",
209
+ "name": "",
210
+ "type": "bytes32"
211
+ }
212
+ ],
213
+ "stateMutability": "view",
214
+ "type": "function"
215
+ },
216
+ {
217
+ "inputs": [
218
+ {
219
+ "internalType": "ReferralId",
220
+ "name": "referralId",
221
+ "type": "bytes8"
222
+ },
223
+ {
224
+ "internalType": "uint256",
225
+ "name": "premiumAmount",
226
+ "type": "uint256"
227
+ }
228
+ ],
229
+ "name": "calculateFeeAmount",
230
+ "outputs": [
231
+ {
232
+ "internalType": "uint256",
233
+ "name": "feeAmount",
234
+ "type": "uint256"
235
+ }
236
+ ],
237
+ "stateMutability": "view",
238
+ "type": "function"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "address",
244
+ "name": "distributor",
245
+ "type": "address"
246
+ },
247
+ {
248
+ "internalType": "DistributorType",
249
+ "name": "distributorType",
250
+ "type": "bytes8"
251
+ },
252
+ {
253
+ "internalType": "bytes",
254
+ "name": "data",
255
+ "type": "bytes"
256
+ }
257
+ ],
258
+ "name": "createDistributor",
259
+ "outputs": [
260
+ {
261
+ "internalType": "NftId",
262
+ "name": "distributorNftId",
263
+ "type": "uint96"
264
+ }
265
+ ],
266
+ "stateMutability": "nonpayable",
267
+ "type": "function"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "string",
273
+ "name": "name",
274
+ "type": "string"
275
+ },
276
+ {
277
+ "internalType": "UFixed",
278
+ "name": "minDiscountPercentage",
279
+ "type": "uint256"
280
+ },
281
+ {
282
+ "internalType": "UFixed",
283
+ "name": "maxDiscountPercentage",
284
+ "type": "uint256"
285
+ },
286
+ {
287
+ "internalType": "UFixed",
288
+ "name": "commissionPercentage",
289
+ "type": "uint256"
290
+ },
291
+ {
292
+ "internalType": "uint32",
293
+ "name": "maxReferralCount",
294
+ "type": "uint32"
295
+ },
296
+ {
297
+ "internalType": "uint32",
298
+ "name": "maxReferralLifetime",
299
+ "type": "uint32"
300
+ },
301
+ {
302
+ "internalType": "bool",
303
+ "name": "allowSelfReferrals",
304
+ "type": "bool"
305
+ },
306
+ {
307
+ "internalType": "bool",
308
+ "name": "allowRenewals",
309
+ "type": "bool"
310
+ },
311
+ {
312
+ "internalType": "bytes",
313
+ "name": "data",
314
+ "type": "bytes"
315
+ }
316
+ ],
317
+ "name": "createDistributorType",
318
+ "outputs": [
319
+ {
320
+ "internalType": "DistributorType",
321
+ "name": "distributorType",
322
+ "type": "bytes8"
323
+ }
324
+ ],
325
+ "stateMutability": "nonpayable",
326
+ "type": "function"
327
+ },
328
+ {
329
+ "inputs": [
330
+ {
331
+ "internalType": "NftId",
332
+ "name": "distributorNftId",
333
+ "type": "uint96"
334
+ },
335
+ {
336
+ "internalType": "string",
337
+ "name": "code",
338
+ "type": "string"
339
+ },
340
+ {
341
+ "internalType": "UFixed",
342
+ "name": "discountPercentage",
343
+ "type": "uint256"
344
+ },
345
+ {
346
+ "internalType": "uint32",
347
+ "name": "maxReferrals",
348
+ "type": "uint32"
349
+ },
350
+ {
351
+ "internalType": "Timestamp",
352
+ "name": "expiryAt",
353
+ "type": "uint40"
354
+ },
355
+ {
356
+ "internalType": "bytes",
357
+ "name": "data",
358
+ "type": "bytes"
359
+ }
360
+ ],
361
+ "name": "createReferral",
362
+ "outputs": [
363
+ {
364
+ "internalType": "ReferralId",
365
+ "name": "referralId",
366
+ "type": "bytes8"
367
+ }
368
+ ],
369
+ "stateMutability": "nonpayable",
370
+ "type": "function"
371
+ },
372
+ {
373
+ "inputs": [],
374
+ "name": "getDomain",
375
+ "outputs": [
376
+ {
377
+ "internalType": "ObjectType",
378
+ "name": "",
379
+ "type": "uint8"
380
+ }
381
+ ],
382
+ "stateMutability": "pure",
383
+ "type": "function"
384
+ },
385
+ {
386
+ "inputs": [],
387
+ "name": "getInitialInfo",
388
+ "outputs": [
389
+ {
390
+ "components": [
391
+ {
392
+ "internalType": "NftId",
393
+ "name": "nftId",
394
+ "type": "uint96"
395
+ },
396
+ {
397
+ "internalType": "NftId",
398
+ "name": "parentNftId",
399
+ "type": "uint96"
400
+ },
401
+ {
402
+ "internalType": "ObjectType",
403
+ "name": "objectType",
404
+ "type": "uint8"
405
+ },
406
+ {
407
+ "internalType": "bool",
408
+ "name": "isInterceptor",
409
+ "type": "bool"
410
+ },
411
+ {
412
+ "internalType": "address",
413
+ "name": "objectAddress",
414
+ "type": "address"
415
+ },
416
+ {
417
+ "internalType": "address",
418
+ "name": "initialOwner",
419
+ "type": "address"
420
+ },
421
+ {
422
+ "internalType": "bytes",
423
+ "name": "data",
424
+ "type": "bytes"
425
+ }
426
+ ],
427
+ "internalType": "struct IRegistry.ObjectInfo",
428
+ "name": "info",
429
+ "type": "tuple"
430
+ }
431
+ ],
432
+ "stateMutability": "view",
433
+ "type": "function"
434
+ },
435
+ {
436
+ "inputs": [],
437
+ "name": "getInstanceService",
438
+ "outputs": [
439
+ {
440
+ "internalType": "contract InstanceService",
441
+ "name": "",
442
+ "type": "address"
443
+ }
444
+ ],
445
+ "stateMutability": "view",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [],
450
+ "name": "getMajorVersion",
451
+ "outputs": [
452
+ {
453
+ "internalType": "VersionPart",
454
+ "name": "majorVersion",
455
+ "type": "uint8"
456
+ }
457
+ ],
458
+ "stateMutability": "view",
459
+ "type": "function"
460
+ },
461
+ {
462
+ "inputs": [],
463
+ "name": "getNftId",
464
+ "outputs": [
465
+ {
466
+ "internalType": "NftId",
467
+ "name": "",
468
+ "type": "uint96"
469
+ }
470
+ ],
471
+ "stateMutability": "view",
472
+ "type": "function"
473
+ },
474
+ {
475
+ "inputs": [],
476
+ "name": "getOwner",
477
+ "outputs": [
478
+ {
479
+ "internalType": "address",
480
+ "name": "",
481
+ "type": "address"
482
+ }
483
+ ],
484
+ "stateMutability": "view",
485
+ "type": "function"
486
+ },
487
+ {
488
+ "inputs": [],
489
+ "name": "getRegistry",
490
+ "outputs": [
491
+ {
492
+ "internalType": "contract IRegistry",
493
+ "name": "",
494
+ "type": "address"
495
+ }
496
+ ],
497
+ "stateMutability": "view",
498
+ "type": "function"
499
+ },
500
+ {
501
+ "inputs": [],
502
+ "name": "getRegistryAddress",
503
+ "outputs": [
504
+ {
505
+ "internalType": "address",
506
+ "name": "",
507
+ "type": "address"
508
+ }
509
+ ],
510
+ "stateMutability": "view",
511
+ "type": "function"
512
+ },
513
+ {
514
+ "inputs": [],
515
+ "name": "getRegistryService",
516
+ "outputs": [
517
+ {
518
+ "internalType": "contract IRegistryService",
519
+ "name": "",
520
+ "type": "address"
521
+ }
522
+ ],
523
+ "stateMutability": "view",
524
+ "type": "function"
525
+ },
526
+ {
527
+ "inputs": [],
528
+ "name": "getVersion",
529
+ "outputs": [
530
+ {
531
+ "internalType": "Version",
532
+ "name": "",
533
+ "type": "uint24"
534
+ }
535
+ ],
536
+ "stateMutability": "pure",
537
+ "type": "function"
538
+ },
539
+ {
540
+ "inputs": [],
541
+ "name": "initializeERC165",
542
+ "outputs": [],
543
+ "stateMutability": "nonpayable",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "inputs": [
548
+ {
549
+ "internalType": "address",
550
+ "name": "initialOwner",
551
+ "type": "address"
552
+ },
553
+ {
554
+ "internalType": "address",
555
+ "name": "registryAddress",
556
+ "type": "address"
557
+ }
558
+ ],
559
+ "name": "initializeNftOwnable",
560
+ "outputs": [],
561
+ "stateMutability": "nonpayable",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [
566
+ {
567
+ "internalType": "address",
568
+ "name": "registryAddress",
569
+ "type": "address"
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": "initialOwner",
589
+ "type": "address"
590
+ },
591
+ {
592
+ "internalType": "bytes",
593
+ "name": "registryData",
594
+ "type": "bytes"
595
+ }
596
+ ],
597
+ "name": "initializeRegisterable",
598
+ "outputs": [],
599
+ "stateMutability": "nonpayable",
600
+ "type": "function"
601
+ },
602
+ {
603
+ "inputs": [
604
+ {
605
+ "internalType": "address",
606
+ "name": "registryAddress",
607
+ "type": "address"
608
+ }
609
+ ],
610
+ "name": "initializeRegistryLinked",
611
+ "outputs": [],
612
+ "stateMutability": "nonpayable",
613
+ "type": "function"
614
+ },
615
+ {
616
+ "inputs": [
617
+ {
618
+ "internalType": "address",
619
+ "name": "registry",
620
+ "type": "address"
621
+ },
622
+ {
623
+ "internalType": "address",
624
+ "name": "initialOwner",
625
+ "type": "address"
626
+ }
627
+ ],
628
+ "name": "initializeService",
629
+ "outputs": [],
630
+ "stateMutability": "nonpayable",
631
+ "type": "function"
632
+ },
633
+ {
634
+ "inputs": [
635
+ {
636
+ "internalType": "address",
637
+ "name": "activatedBy",
638
+ "type": "address"
639
+ },
640
+ {
641
+ "internalType": "bytes",
642
+ "name": "data",
643
+ "type": "bytes"
644
+ }
645
+ ],
646
+ "name": "initializeVersionable",
647
+ "outputs": [],
648
+ "stateMutability": "nonpayable",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "inputs": [],
653
+ "name": "linkToRegisteredNftId",
654
+ "outputs": [],
655
+ "stateMutability": "nonpayable",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [
660
+ {
661
+ "internalType": "ReferralId",
662
+ "name": "referralId",
663
+ "type": "bytes8"
664
+ },
665
+ {
666
+ "internalType": "uint256",
667
+ "name": "premiumAmount",
668
+ "type": "uint256"
669
+ }
670
+ ],
671
+ "name": "processSale",
672
+ "outputs": [],
673
+ "stateMutability": "nonpayable",
674
+ "type": "function"
675
+ },
676
+ {
677
+ "inputs": [
678
+ {
679
+ "internalType": "address",
680
+ "name": "distributionAddress",
681
+ "type": "address"
682
+ }
683
+ ],
684
+ "name": "register",
685
+ "outputs": [
686
+ {
687
+ "internalType": "NftId",
688
+ "name": "distributionNftId",
689
+ "type": "uint96"
690
+ }
691
+ ],
692
+ "stateMutability": "nonpayable",
693
+ "type": "function"
694
+ },
695
+ {
696
+ "inputs": [
697
+ {
698
+ "internalType": "bytes4",
699
+ "name": "interfaceId",
700
+ "type": "bytes4"
701
+ }
702
+ ],
703
+ "name": "registerInterface",
704
+ "outputs": [],
705
+ "stateMutability": "nonpayable",
706
+ "type": "function"
707
+ },
708
+ {
709
+ "inputs": [
710
+ {
711
+ "components": [
712
+ {
713
+ "internalType": "UFixed",
714
+ "name": "fractionalFee",
715
+ "type": "uint256"
716
+ },
717
+ {
718
+ "internalType": "uint256",
719
+ "name": "fixedFee",
720
+ "type": "uint256"
721
+ }
722
+ ],
723
+ "internalType": "struct Fee",
724
+ "name": "distributionFee",
725
+ "type": "tuple"
726
+ }
727
+ ],
728
+ "name": "setFees",
729
+ "outputs": [],
730
+ "stateMutability": "nonpayable",
731
+ "type": "function"
732
+ },
733
+ {
734
+ "inputs": [
735
+ {
736
+ "internalType": "bytes4",
737
+ "name": "interfaceId",
738
+ "type": "bytes4"
739
+ }
740
+ ],
741
+ "name": "supportsInterface",
742
+ "outputs": [
743
+ {
744
+ "internalType": "bool",
745
+ "name": "",
746
+ "type": "bool"
747
+ }
748
+ ],
749
+ "stateMutability": "view",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [
754
+ {
755
+ "internalType": "NftId",
756
+ "name": "distributorNftId",
757
+ "type": "uint96"
758
+ },
759
+ {
760
+ "internalType": "DistributorType",
761
+ "name": "distributorType",
762
+ "type": "bytes8"
763
+ },
764
+ {
765
+ "internalType": "bytes",
766
+ "name": "data",
767
+ "type": "bytes"
768
+ }
769
+ ],
770
+ "name": "updateDistributorType",
771
+ "outputs": [],
772
+ "stateMutability": "nonpayable",
773
+ "type": "function"
774
+ },
775
+ {
776
+ "inputs": [
777
+ {
778
+ "internalType": "bytes",
779
+ "name": "data",
780
+ "type": "bytes"
781
+ }
782
+ ],
783
+ "name": "upgradeVersionable",
784
+ "outputs": [],
785
+ "stateMutability": "nonpayable",
786
+ "type": "function"
787
+ }
788
+ ],
789
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61375e80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80635ab1bd5311610104578063b68d1809116100a2578063ea86657211610071578063ea8665721461043b578063f21de1e814610375578063f7c34ee01461044e578063f7d39dea1461046157600080fd5b8063b68d18091461040e578063caf4e3d414610423578063cc9fc59a1461042b578063cde749f41461043357600080fd5b8063675393bf116100de578063675393bf146103cb578063893d20e8146103de5780638dd2b781146103e6578063ada9652e146103f957600080fd5b80635ab1bd53146103755780635dcb3bae1461039a578063644c45e0146103ad57600080fd5b80632b5198b11161017c5780633f52c0f61161014b5780633f52c0f6146103115780634420e4861461032457806349bb9e4b1461034f5780634cf30a841461036257600080fd5b80632b5198b1146102b7578063329d6e74146102e357806336fc697e146102f65780633d683fd9146102fe57600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed36600461291a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610474565b60405162ffffff9091168152602001610218565b6102456104fe565b604051610218919061299b565b61025a6106b2565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f36600461291a565b6108b9565b61025a6102b2366004612b7a565b6108e6565b6102ca6102c5366004612c2b565b610972565b6040516001600160c01b03199091168152602001610218565b61025a6102f1366004612cf6565b610bb0565b61025a610cfd565b61025a61030c366004612d40565b610d43565b61025a61031f366004612da1565b610de0565b610337610332366004612dd3565b610f43565b6040516001600160601b039091168152602001610218565b61025a61035d366004612df0565b6112b1565b61025a610370366004612e3f565b6113b0565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6103376103a8366004612e6b565b6113ee565b6000805160206136e9833981519152546001600160601b0316610337565b61025a6103d9366004612dd3565b611581565b61038261168f565b6102ca6103f4366004612e8b565b6117c6565b6102836000805160206136e983398151915281565b60785b60405160ff9091168152602001610218565b610382611a2f565b610382611acc565b610411611af6565b61025a610449366004612f2b565b611b6d565b61025a61045c366004612f2b565b611c05565b61028361046f366004612e3f565b611c7c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f99190612f64565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105ae90612f89565b80601f01602080910402602001604051908101604052809291908181526020018280546105da90612f89565b80156106275780601f106105fc57610100808354040283529160200191610627565b820191906000526020600020905b81548152906001019060200180831161060a57829003601f168201915b50505050508152505090506040518060e00160405280610645600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161069661168f565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206136e983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107459190612fce565b156107765780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107896001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f59190612fce565b61081d5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161076d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190612ff6565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108c1611cbd565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108ee611cbd565b6108f88287611c05565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109688382613062565b5050505050505050565b600080600061097f611cf6565b925092505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016109bd929190613121565b602060405180830381865af41580156109da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fe9190613143565b6040516355ee627560e01b81526001600160c01b03198216600482015290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610a5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a819190613160565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015610ac9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aed9190612fce565b610ba05760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890610b6c9085908590600401613179565b600060405180830381600087803b158015610b8657600080fd5b505af1158015610b9a573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610bd2610474565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c369190613245565b6000805160206137098339815191528054600160401b900460ff1680610c69575080546001600160401b03808416911610155b15610c875760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610cb183611d81565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610d05611cbd565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000610d4d611cf6565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163051cf2fd60e41b815291945092506001600160a01b03841691506351cf2fd090610da7908890859060ff90600401613299565b600060405180830381600087803b158015610dc157600080fd5b505af1158015610dd5573d6000803e3d6000fd5b505050505050505050565b600080610ded6078611d89565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5591906132ce565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160a060405180830381865afa158015610eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecf91906132f6565b60408181018890525163ccdcd37f60e01b81529091506001600160a01b0385169063ccdcd37f90610f09908590859060ff906004016133e7565b600060405180830381600087803b158015610f2357600080fd5b505af1158015610f37573d6000803e3d6000fd5b50505050505050505050565b600080808080610f5c866078610f5761202b565b6120a2565b93509350935093506000610f6e611a2f565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015610fc0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fe89190810190613470565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561102a57600080fd5b505af115801561103e573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663f651dcac88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040160a060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906132f6565b6040518363ffffffff1660e01b81526004016110d8929190613542565b600060405180830381600087803b1580156110f257600080fd5b505af1158015611106573d6000803e3d6000fd5b50505050611112611acc565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611160573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611188919081019061355f565b6040518463ffffffff1660e01b81526004016111a6939291906135a7565b600060405180830381600087803b1580156111c057600080fd5b505af11580156111d4573d6000803e3d6000fd5b505050506111e0611acc565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561122e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611256919081019061355f565b6040518463ffffffff1660e01b8152600401611274939291906135a7565b600060405180830381600087803b15801561128e57600080fd5b505af11580156112a2573d6000803e3d6000fd5b50505050505050505050919050565b6000805160206137098339815191528054600160401b810460ff1615906001600160401b03166000811580156112e45750825b90506000826001600160401b031660011480156113005750303b155b90508115801561130e575080155b1561132c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135657845460ff60401b1916600160401b1785555b611360878761247b565b83156113a757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260640161076d565b60008060006113fb611cf6565b9250925050611408611a2f565b6001600160a01b03166357a8fba76040518060e00160405280611429600090565b6001600160601b03168152602001856001600160601b0316815260200161144e607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016114ad919061299b565b6020604051808303816000875af11580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f09190612ff6565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163b405b76f60e01b8152919450906001600160a01b0383169063b405b76f9061154590879085906004016135e3565b600060405180830381600087803b15801561155f57600080fd5b505af1158015611573573d6000803e3d6000fd5b505050505050509392505050565b611589611cbd565b806001600160a01b03163b6000036115bf5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161076d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611639575060408051601f3d908101601f1916820190925261163691810190612fce565b60015b6116615760405163fdeac91f60e01b81526001600160a01b038216600482015260240161076d565b8061168a5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161076d565b505b50565b6000806000805160206136e983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156116ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117239190612fce565b156117b0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117aa91906132ce565b91505090565b54600160601b90046001600160a01b0316919050565b60008060006117d3611cf6565b925092505060008851116118295760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4453562d3033303a434f44455f494e56414c4944000000000000604482015260640161076d565b64ffffffffff851661187d5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4453562d3033313a4558504952595f41545f5a45524f00000000604482015260640161076d565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906118b69085908c90600401613121565b602060405180830381865af41580156118d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f79190613143565b6040805160e0810182526001600160601b038c168152602081018b90528082018a905263ffffffff891660608201526000608082015264ffffffffff881660a082015260c0810187905290516355ee627560e01b81526001600160c01b031983166004820152919450906001600160a01b038316906354d747a89073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156119ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d29190613160565b836040518363ffffffff1660e01b81526004016119f0929190613605565b600060405180830381600087803b158015611a0a57600080fd5b505af1158015611a1e573d6000803e3d6000fd5b505050505050509695505050505050565b600080611a446001546001600160a01b031690565b6001600160a01b031663d39e604360285b611a5d611af6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611aa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac691906132ce565b92915050565b600080611ae16001546001600160a01b031690565b6001600160a01b031663d39e60436046611a55565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611b49573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f9919061369c565b611b75611cbd565b611bf582836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb9190612ff6565b603c600085604051806020016040528060008152506108e6565b61168a637b6a51fd60e01b6108b9565b611c0d611cbd565b611c1681611581565b611c1e610cfd565b6001600160a01b038216611c455760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206136e983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260009060640161076d565b60008051602061370983398151915254600160401b900460ff16611cf457604051631afcd79f60e31b815260040160405180910390fd5b565b600080600080611d04612599565b9296509094509092509050611d218160785b60ff90811691161490565b611d7b5760405162461bcd60e51b815260206004820152602560248201527f4552524f523a5052532d3033313a43414c4c45525f4e4f545f444953545255426044820152642aaa24a7a760d91b606482015260840161076d565b50909192565b6101da611cbd565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611e18573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e409190810190613470565b9250611e5683604001518560ff90811691161490565b611e985760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161076d565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611eee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f169190810190613470565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8391906132ce565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff49190612fce565b1561202357608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161076d565b505050915091565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561207e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f99190613245565b6000338180806120ba6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015612102573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121269190612ff6565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a59190612fce565b156121dc5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440161076d565b6040516301ffc9a760e01b81526262516360e41b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015612229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224d9190612fce565b612275576040516359bff0e360e11b81526001600160a01b038916600482015260240161076d565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156122b5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122dd9190810190613470565b90506122f481604001518960ff9081169116141590565b15612334576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640161076d565b60a08101516001600160a01b03868116908216146123865760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640161076d565b8160200151935061239684612883565b945060006123a2611acc565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015612401573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124259190612fce565b90508061246e57604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b038816604482015260640161076d565b5050505093509350935093565b6000805160206137098339815191528054600160401b810460ff1615906001600160401b03166000811580156124ae5750825b90506000826001600160401b031660011480156124ca5750303b155b9050811580156124d8575080155b156124f65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561252057845460ff60401b1916600160401b1785555b6000808780602001905181019061253791906136b9565b92509050612545818a611b6d565b6125556342527cdf60e01b6108b9565b505083156113a757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161139e565b33600080806125b06001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa1580156125f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261c9190612ff6565b6040516330b8415f60e01b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269b9190612fce565b6126e75760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5352562d3033303a43414c4c45525f554e4b4e4f574e00000000604482015260640161076d565b60006126fb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561274a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127729190810190613470565b905080604001519250600061278f6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156127e4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261280c9190810190613470565b905061281e8160400151611d16604690565b6128745760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5352562d3033313a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161076d565b80608001519250505090919293565b6000806128986001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156128e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261290f9190810190613470565b608001519392505050565b60006020828403121561292c57600080fd5b81356001600160e01b03198116811461294457600080fd5b9392505050565b60005b8381101561296657818101518382015260200161294e565b50506000910152565b6000815180845261298781602086016020860161294b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612a0460c08401826001600160a01b03169052565b5060c083015160e080840152612a1e61010084018261296f565b949350505050565b6001600160a01b038116811461168c57600080fd5b6001600160601b038116811461168c57600080fd5b60ff8116811461168c57600080fd5b801515811461168c57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612aa557612aa5612a6d565b60405290565b60405160e081016001600160401b0381118282101715612aa557612aa5612a6d565b604051601f8201601f191681016001600160401b0381118282101715612af557612af5612a6d565b604052919050565b60006001600160401b03821115612b1657612b16612a6d565b50601f01601f191660200190565b600082601f830112612b3557600080fd5b8135612b48612b4382612afd565b612acd565b818152846020838601011115612b5d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215612b9357600080fd5b8635612b9e81612a26565b95506020870135612bae81612a3b565b94506040870135612bbe81612a50565b93506060870135612bce81612a5f565b92506080870135612bde81612a26565b915060a08701356001600160401b03811115612bf957600080fd5b612c0589828a01612b24565b9150509295509295509295565b803563ffffffff81168114612c2657600080fd5b919050565b60008060008060008060008060006101208a8c031215612c4a57600080fd5b89356001600160401b0380821115612c6157600080fd5b612c6d8d838e01612b24565b9a5060208c0135995060408c0135985060608c01359750612c9060808d01612c12565b9650612c9e60a08d01612c12565b955060c08c01359150612cb082612a5f565b90935060e08b013590612cc282612a5f565b9092506101008b01359080821115612cd957600080fd5b50612ce68c828d01612b24565b9150509295985092959850929598565b600060208284031215612d0857600080fd5b81356001600160401b03811115612d1e57600080fd5b612a1e84828501612b24565b6001600160c01b03198116811461168c57600080fd5b600080600060608486031215612d5557600080fd5b8335612d6081612a3b565b92506020840135612d7081612d2a565b915060408401356001600160401b03811115612d8b57600080fd5b612d9786828701612b24565b9150509250925092565b600060408284031215612db357600080fd5b612dbb612a83565b82358152602083013560208201528091505092915050565b600060208284031215612de557600080fd5b813561294481612a26565b60008060408385031215612e0357600080fd5b8235612e0e81612a26565b915060208301356001600160401b03811115612e2957600080fd5b612e3585828601612b24565b9150509250929050565b60008060408385031215612e5257600080fd5b8235612e5d81612d2a565b946020939093013593505050565b600080600060608486031215612e8057600080fd5b8335612d6081612a26565b60008060008060008060c08789031215612ea457600080fd5b8635612eaf81612a3b565b955060208701356001600160401b0380821115612ecb57600080fd5b612ed78a838b01612b24565b965060408901359550612eec60608a01612c12565b94506080890135915064ffffffffff82168214612f0857600080fd5b90925060a08801359080821115612f1e57600080fd5b50612c0589828a01612b24565b60008060408385031215612f3e57600080fd5b8235612f4981612a26565b91506020830135612f5981612a26565b809150509250929050565b600060208284031215612f7657600080fd5b815162ffffff8116811461294457600080fd5b600181811c90821680612f9d57607f821691505b602082108103612fbd57634e487b7160e01b600052602260045260246000fd5b50919050565b8051612c2681612a5f565b600060208284031215612fe057600080fd5b815161294481612a5f565b8051612c2681612a3b565b60006020828403121561300857600080fd5b815161294481612a3b565b601f82111561305d57600081815260208120601f850160051c8101602086101561303a5750805b601f850160051c820191505b8181101561305957828155600101613046565b5050505b505050565b81516001600160401b0381111561307b5761307b612a6d565b61308f816130898454612f89565b84613013565b602080601f8311600181146130c457600084156130ac5750858301515b600019600386901b1c1916600185901b178555613059565b600085815260208120601f198616915b828110156130f3578886015182559484019460019091019084016130d4565b50858210156131115787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000612a1e604083018461296f565b60006020828403121561315557600080fd5b815161294481612d2a565b60006020828403121561317257600080fd5b5051919050565b828152604060208201526000825161012080604085015261319e61016085018361296f565b91506020850151606085015260408501516080850152606085015160a085015260808501516131d560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006131fd8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152613226828261296f565b9695505050505050565b6001600160401b038116811461168c57600080fd5b60006020828403121561325757600080fd5b815161294481613230565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160606040850152612a1e606085018261296f565b6001600160601b03841681526060602082015260006132bb6060830185613262565b905060ff83166040830152949350505050565b6000602082840312156132e057600080fd5b815161294481612a26565b8051612c2681612a26565b600081830360a081121561330957600080fd5b604051608081018181106001600160401b038211171561332b5761332b612a6d565b604052835161333981612a3b565b8152602084015161334981612a26565b60208201526040603f198301121561336057600080fd5b613368612a83565b6040858101518252606086015160208301528201526080840151915061338d82612a26565b60608101919091529392505050565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152909101516060808501919091529091015116608090910152565b6001600160601b038416815260e08101613404602083018561339c565b60ff831660c0830152949350505050565b8051612c2681612a50565b600061342e612b4384612afd565b905082815283838301111561344257600080fd5b61294483602083018461294b565b600082601f83011261346157600080fd5b61294483835160208501613420565b60006020828403121561348257600080fd5b81516001600160401b038082111561349957600080fd5b9083019060e082860312156134ad57600080fd5b6134b5612aab565b6134be83612feb565b81526134cc60208401612feb565b60208201526134dd60408401613415565b60408201526134ee60608401612fc3565b60608201526134ff608084016132eb565b608082015261351060a084016132eb565b60a082015260c08301518281111561352757600080fd5b61353387828601613450565b60c08301525095945050505050565b6001600160601b038316815260c08101612944602083018461339c565b60006020828403121561357157600080fd5b81516001600160401b0381111561358757600080fd5b8201601f8101841361359857600080fd5b612a1e84825160208401613420565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906135da9083018461296f565b95945050505050565b6001600160601b0383168152604060208201526000612a1e6040830184613262565b828152604060208201526001600160601b0382511660408201526000602083015160e0606084015261363b61012084018261296f565b90506040840151608084015263ffffffff60608501511660a0840152608084015161366e60c085018263ffffffff169052565b5060a084015164ffffffffff1660e084015260c0840151838203603f1901610100850152613226828261296f565b6000602082840312156136ae57600080fd5b815161294481612a50565b600080604083850312156136cc57600080fd5b82516136d781612a26565b6020840151909250612f5981612a2656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ab3dc240e044069d9e8aa48fa3cc8fdad6062a0a1460e227771a8e1baea8367e64736f6c63430008140033",
790
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80635ab1bd5311610104578063b68d1809116100a2578063ea86657211610071578063ea8665721461043b578063f21de1e814610375578063f7c34ee01461044e578063f7d39dea1461046157600080fd5b8063b68d18091461040e578063caf4e3d414610423578063cc9fc59a1461042b578063cde749f41461043357600080fd5b8063675393bf116100de578063675393bf146103cb578063893d20e8146103de5780638dd2b781146103e6578063ada9652e146103f957600080fd5b80635ab1bd53146103755780635dcb3bae1461039a578063644c45e0146103ad57600080fd5b80632b5198b11161017c5780633f52c0f61161014b5780633f52c0f6146103115780634420e4861461032457806349bb9e4b1461034f5780634cf30a841461036257600080fd5b80632b5198b1146102b7578063329d6e74146102e357806336fc697e146102f65780633d683fd9146102fe57600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed36600461291a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610474565b60405162ffffff9091168152602001610218565b6102456104fe565b604051610218919061299b565b61025a6106b2565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f36600461291a565b6108b9565b61025a6102b2366004612b7a565b6108e6565b6102ca6102c5366004612c2b565b610972565b6040516001600160c01b03199091168152602001610218565b61025a6102f1366004612cf6565b610bb0565b61025a610cfd565b61025a61030c366004612d40565b610d43565b61025a61031f366004612da1565b610de0565b610337610332366004612dd3565b610f43565b6040516001600160601b039091168152602001610218565b61025a61035d366004612df0565b6112b1565b61025a610370366004612e3f565b6113b0565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6103376103a8366004612e6b565b6113ee565b6000805160206136e9833981519152546001600160601b0316610337565b61025a6103d9366004612dd3565b611581565b61038261168f565b6102ca6103f4366004612e8b565b6117c6565b6102836000805160206136e983398151915281565b60785b60405160ff9091168152602001610218565b610382611a2f565b610382611acc565b610411611af6565b61025a610449366004612f2b565b611b6d565b61025a61045c366004612f2b565b611c05565b61028361046f366004612e3f565b611c7c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f99190612f64565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105ae90612f89565b80601f01602080910402602001604051908101604052809291908181526020018280546105da90612f89565b80156106275780601f106105fc57610100808354040283529160200191610627565b820191906000526020600020905b81548152906001019060200180831161060a57829003601f168201915b50505050508152505090506040518060e00160405280610645600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161069661168f565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206136e983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107459190612fce565b156107765780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107896001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f59190612fce565b61081d5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161076d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190612ff6565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108c1611cbd565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108ee611cbd565b6108f88287611c05565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109688382613062565b5050505050505050565b600080600061097f611cf6565b925092505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016109bd929190613121565b602060405180830381865af41580156109da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fe9190613143565b6040516355ee627560e01b81526001600160c01b03198216600482015290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610a5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a819190613160565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015610ac9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aed9190612fce565b610ba05760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890610b6c9085908590600401613179565b600060405180830381600087803b158015610b8657600080fd5b505af1158015610b9a573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610bd2610474565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c369190613245565b6000805160206137098339815191528054600160401b900460ff1680610c69575080546001600160401b03808416911610155b15610c875760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610cb183611d81565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610d05611cbd565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000610d4d611cf6565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163051cf2fd60e41b815291945092506001600160a01b03841691506351cf2fd090610da7908890859060ff90600401613299565b600060405180830381600087803b158015610dc157600080fd5b505af1158015610dd5573d6000803e3d6000fd5b505050505050505050565b600080610ded6078611d89565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5591906132ce565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160a060405180830381865afa158015610eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecf91906132f6565b60408181018890525163ccdcd37f60e01b81529091506001600160a01b0385169063ccdcd37f90610f09908590859060ff906004016133e7565b600060405180830381600087803b158015610f2357600080fd5b505af1158015610f37573d6000803e3d6000fd5b50505050505050505050565b600080808080610f5c866078610f5761202b565b6120a2565b93509350935093506000610f6e611a2f565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015610fc0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fe89190810190613470565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561102a57600080fd5b505af115801561103e573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663f651dcac88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040160a060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906132f6565b6040518363ffffffff1660e01b81526004016110d8929190613542565b600060405180830381600087803b1580156110f257600080fd5b505af1158015611106573d6000803e3d6000fd5b50505050611112611acc565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611160573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611188919081019061355f565b6040518463ffffffff1660e01b81526004016111a6939291906135a7565b600060405180830381600087803b1580156111c057600080fd5b505af11580156111d4573d6000803e3d6000fd5b505050506111e0611acc565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561122e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611256919081019061355f565b6040518463ffffffff1660e01b8152600401611274939291906135a7565b600060405180830381600087803b15801561128e57600080fd5b505af11580156112a2573d6000803e3d6000fd5b50505050505050505050919050565b6000805160206137098339815191528054600160401b810460ff1615906001600160401b03166000811580156112e45750825b90506000826001600160401b031660011480156113005750303b155b90508115801561130e575080155b1561132c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135657845460ff60401b1916600160401b1785555b611360878761247b565b83156113a757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260640161076d565b60008060006113fb611cf6565b9250925050611408611a2f565b6001600160a01b03166357a8fba76040518060e00160405280611429600090565b6001600160601b03168152602001856001600160601b0316815260200161144e607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016114ad919061299b565b6020604051808303816000875af11580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f09190612ff6565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163b405b76f60e01b8152919450906001600160a01b0383169063b405b76f9061154590879085906004016135e3565b600060405180830381600087803b15801561155f57600080fd5b505af1158015611573573d6000803e3d6000fd5b505050505050509392505050565b611589611cbd565b806001600160a01b03163b6000036115bf5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161076d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611639575060408051601f3d908101601f1916820190925261163691810190612fce565b60015b6116615760405163fdeac91f60e01b81526001600160a01b038216600482015260240161076d565b8061168a5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161076d565b505b50565b6000806000805160206136e983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156116ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117239190612fce565b156117b0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117aa91906132ce565b91505090565b54600160601b90046001600160a01b0316919050565b60008060006117d3611cf6565b925092505060008851116118295760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4453562d3033303a434f44455f494e56414c4944000000000000604482015260640161076d565b64ffffffffff851661187d5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4453562d3033313a4558504952595f41545f5a45524f00000000604482015260640161076d565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906118b69085908c90600401613121565b602060405180830381865af41580156118d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f79190613143565b6040805160e0810182526001600160601b038c168152602081018b90528082018a905263ffffffff891660608201526000608082015264ffffffffff881660a082015260c0810187905290516355ee627560e01b81526001600160c01b031983166004820152919450906001600160a01b038316906354d747a89073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156119ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d29190613160565b836040518363ffffffff1660e01b81526004016119f0929190613605565b600060405180830381600087803b158015611a0a57600080fd5b505af1158015611a1e573d6000803e3d6000fd5b505050505050509695505050505050565b600080611a446001546001600160a01b031690565b6001600160a01b031663d39e604360285b611a5d611af6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611aa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac691906132ce565b92915050565b600080611ae16001546001600160a01b031690565b6001600160a01b031663d39e60436046611a55565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611b49573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f9919061369c565b611b75611cbd565b611bf582836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb9190612ff6565b603c600085604051806020016040528060008152506108e6565b61168a637b6a51fd60e01b6108b9565b611c0d611cbd565b611c1681611581565b611c1e610cfd565b6001600160a01b038216611c455760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206136e983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260009060640161076d565b60008051602061370983398151915254600160401b900460ff16611cf457604051631afcd79f60e31b815260040160405180910390fd5b565b600080600080611d04612599565b9296509094509092509050611d218160785b60ff90811691161490565b611d7b5760405162461bcd60e51b815260206004820152602560248201527f4552524f523a5052532d3033313a43414c4c45525f4e4f545f444953545255426044820152642aaa24a7a760d91b606482015260840161076d565b50909192565b6101da611cbd565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611e18573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e409190810190613470565b9250611e5683604001518560ff90811691161490565b611e985760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161076d565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611eee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f169190810190613470565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8391906132ce565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff49190612fce565b1561202357608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161076d565b505050915091565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561207e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f99190613245565b6000338180806120ba6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015612102573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121269190612ff6565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a59190612fce565b156121dc5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440161076d565b6040516301ffc9a760e01b81526262516360e41b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015612229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224d9190612fce565b612275576040516359bff0e360e11b81526001600160a01b038916600482015260240161076d565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156122b5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122dd9190810190613470565b90506122f481604001518960ff9081169116141590565b15612334576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640161076d565b60a08101516001600160a01b03868116908216146123865760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640161076d565b8160200151935061239684612883565b945060006123a2611acc565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015612401573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124259190612fce565b90508061246e57604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b038816604482015260640161076d565b5050505093509350935093565b6000805160206137098339815191528054600160401b810460ff1615906001600160401b03166000811580156124ae5750825b90506000826001600160401b031660011480156124ca5750303b155b9050811580156124d8575080155b156124f65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561252057845460ff60401b1916600160401b1785555b6000808780602001905181019061253791906136b9565b92509050612545818a611b6d565b6125556342527cdf60e01b6108b9565b505083156113a757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161139e565b33600080806125b06001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa1580156125f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261c9190612ff6565b6040516330b8415f60e01b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269b9190612fce565b6126e75760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5352562d3033303a43414c4c45525f554e4b4e4f574e00000000604482015260640161076d565b60006126fb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561274a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127729190810190613470565b905080604001519250600061278f6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156127e4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261280c9190810190613470565b905061281e8160400151611d16604690565b6128745760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5352562d3033313a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161076d565b80608001519250505090919293565b6000806128986001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156128e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261290f9190810190613470565b608001519392505050565b60006020828403121561292c57600080fd5b81356001600160e01b03198116811461294457600080fd5b9392505050565b60005b8381101561296657818101518382015260200161294e565b50506000910152565b6000815180845261298781602086016020860161294b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612a0460c08401826001600160a01b03169052565b5060c083015160e080840152612a1e61010084018261296f565b949350505050565b6001600160a01b038116811461168c57600080fd5b6001600160601b038116811461168c57600080fd5b60ff8116811461168c57600080fd5b801515811461168c57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612aa557612aa5612a6d565b60405290565b60405160e081016001600160401b0381118282101715612aa557612aa5612a6d565b604051601f8201601f191681016001600160401b0381118282101715612af557612af5612a6d565b604052919050565b60006001600160401b03821115612b1657612b16612a6d565b50601f01601f191660200190565b600082601f830112612b3557600080fd5b8135612b48612b4382612afd565b612acd565b818152846020838601011115612b5d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215612b9357600080fd5b8635612b9e81612a26565b95506020870135612bae81612a3b565b94506040870135612bbe81612a50565b93506060870135612bce81612a5f565b92506080870135612bde81612a26565b915060a08701356001600160401b03811115612bf957600080fd5b612c0589828a01612b24565b9150509295509295509295565b803563ffffffff81168114612c2657600080fd5b919050565b60008060008060008060008060006101208a8c031215612c4a57600080fd5b89356001600160401b0380821115612c6157600080fd5b612c6d8d838e01612b24565b9a5060208c0135995060408c0135985060608c01359750612c9060808d01612c12565b9650612c9e60a08d01612c12565b955060c08c01359150612cb082612a5f565b90935060e08b013590612cc282612a5f565b9092506101008b01359080821115612cd957600080fd5b50612ce68c828d01612b24565b9150509295985092959850929598565b600060208284031215612d0857600080fd5b81356001600160401b03811115612d1e57600080fd5b612a1e84828501612b24565b6001600160c01b03198116811461168c57600080fd5b600080600060608486031215612d5557600080fd5b8335612d6081612a3b565b92506020840135612d7081612d2a565b915060408401356001600160401b03811115612d8b57600080fd5b612d9786828701612b24565b9150509250925092565b600060408284031215612db357600080fd5b612dbb612a83565b82358152602083013560208201528091505092915050565b600060208284031215612de557600080fd5b813561294481612a26565b60008060408385031215612e0357600080fd5b8235612e0e81612a26565b915060208301356001600160401b03811115612e2957600080fd5b612e3585828601612b24565b9150509250929050565b60008060408385031215612e5257600080fd5b8235612e5d81612d2a565b946020939093013593505050565b600080600060608486031215612e8057600080fd5b8335612d6081612a26565b60008060008060008060c08789031215612ea457600080fd5b8635612eaf81612a3b565b955060208701356001600160401b0380821115612ecb57600080fd5b612ed78a838b01612b24565b965060408901359550612eec60608a01612c12565b94506080890135915064ffffffffff82168214612f0857600080fd5b90925060a08801359080821115612f1e57600080fd5b50612c0589828a01612b24565b60008060408385031215612f3e57600080fd5b8235612f4981612a26565b91506020830135612f5981612a26565b809150509250929050565b600060208284031215612f7657600080fd5b815162ffffff8116811461294457600080fd5b600181811c90821680612f9d57607f821691505b602082108103612fbd57634e487b7160e01b600052602260045260246000fd5b50919050565b8051612c2681612a5f565b600060208284031215612fe057600080fd5b815161294481612a5f565b8051612c2681612a3b565b60006020828403121561300857600080fd5b815161294481612a3b565b601f82111561305d57600081815260208120601f850160051c8101602086101561303a5750805b601f850160051c820191505b8181101561305957828155600101613046565b5050505b505050565b81516001600160401b0381111561307b5761307b612a6d565b61308f816130898454612f89565b84613013565b602080601f8311600181146130c457600084156130ac5750858301515b600019600386901b1c1916600185901b178555613059565b600085815260208120601f198616915b828110156130f3578886015182559484019460019091019084016130d4565b50858210156131115787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000612a1e604083018461296f565b60006020828403121561315557600080fd5b815161294481612d2a565b60006020828403121561317257600080fd5b5051919050565b828152604060208201526000825161012080604085015261319e61016085018361296f565b91506020850151606085015260408501516080850152606085015160a085015260808501516131d560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006131fd8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152613226828261296f565b9695505050505050565b6001600160401b038116811461168c57600080fd5b60006020828403121561325757600080fd5b815161294481613230565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160606040850152612a1e606085018261296f565b6001600160601b03841681526060602082015260006132bb6060830185613262565b905060ff83166040830152949350505050565b6000602082840312156132e057600080fd5b815161294481612a26565b8051612c2681612a26565b600081830360a081121561330957600080fd5b604051608081018181106001600160401b038211171561332b5761332b612a6d565b604052835161333981612a3b565b8152602084015161334981612a26565b60208201526040603f198301121561336057600080fd5b613368612a83565b6040858101518252606086015160208301528201526080840151915061338d82612a26565b60608101919091529392505050565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152909101516060808501919091529091015116608090910152565b6001600160601b038416815260e08101613404602083018561339c565b60ff831660c0830152949350505050565b8051612c2681612a50565b600061342e612b4384612afd565b905082815283838301111561344257600080fd5b61294483602083018461294b565b600082601f83011261346157600080fd5b61294483835160208501613420565b60006020828403121561348257600080fd5b81516001600160401b038082111561349957600080fd5b9083019060e082860312156134ad57600080fd5b6134b5612aab565b6134be83612feb565b81526134cc60208401612feb565b60208201526134dd60408401613415565b60408201526134ee60608401612fc3565b60608201526134ff608084016132eb565b608082015261351060a084016132eb565b60a082015260c08301518281111561352757600080fd5b61353387828601613450565b60c08301525095945050505050565b6001600160601b038316815260c08101612944602083018461339c565b60006020828403121561357157600080fd5b81516001600160401b0381111561358757600080fd5b8201601f8101841361359857600080fd5b612a1e84825160208401613420565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906135da9083018461296f565b95945050505050565b6001600160601b0383168152604060208201526000612a1e6040830184613262565b828152604060208201526001600160601b0382511660408201526000602083015160e0606084015261363b61012084018261296f565b90506040840151608084015263ffffffff60608501511660a0840152608084015161366e60c085018263ffffffff169052565b5060a084015164ffffffffff1660e084015260c0840151838203603f1901610100850152613226828261296f565b6000602082840312156136ae57600080fd5b815161294481612a50565b600080604083850312156136cc57600080fd5b82516136d781612a26565b6020840151909250612f5981612a2656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ab3dc240e044069d9e8aa48fa3cc8fdad6062a0a1460e227771a8e1baea8367e64736f6c63430008140033",
791
+ "linkReferences": {
792
+ "contracts/types/DistributorType.sol": {
793
+ "DistributorTypeLib": [
794
+ {
795
+ "length": 20,
796
+ "start": 2668
797
+ },
798
+ {
799
+ "length": 20,
800
+ "start": 2825
801
+ }
802
+ ]
803
+ },
804
+ "contracts/types/NftId.sol": {
805
+ "NftIdLib": [
806
+ {
807
+ "length": 20,
808
+ "start": 1997
809
+ },
810
+ {
811
+ "length": 20,
812
+ "start": 6059
813
+ },
814
+ {
815
+ "length": 20,
816
+ "start": 8749
817
+ },
818
+ {
819
+ "length": 20,
820
+ "start": 10019
821
+ }
822
+ ]
823
+ },
824
+ "contracts/types/Referral.sol": {
825
+ "ReferralLib": [
826
+ {
827
+ "length": 20,
828
+ "start": 6514
829
+ },
830
+ {
831
+ "length": 20,
832
+ "start": 6746
833
+ }
834
+ ]
835
+ },
836
+ "contracts/types/RoleId.sol": {
837
+ "RoleIdLib": [
838
+ {
839
+ "length": 20,
840
+ "start": 8490
841
+ }
842
+ ]
843
+ },
844
+ "contracts/types/Version.sol": {
845
+ "VersionLib": [
846
+ {
847
+ "length": 20,
848
+ "start": 1409
849
+ },
850
+ {
851
+ "length": 20,
852
+ "start": 3224
853
+ }
854
+ ],
855
+ "VersionPartLib": [
856
+ {
857
+ "length": 20,
858
+ "start": 7157
859
+ }
860
+ ]
861
+ }
862
+ },
863
+ "deployedLinkReferences": {
864
+ "contracts/types/DistributorType.sol": {
865
+ "DistributorTypeLib": [
866
+ {
867
+ "length": 20,
868
+ "start": 2438
869
+ },
870
+ {
871
+ "length": 20,
872
+ "start": 2595
873
+ }
874
+ ]
875
+ },
876
+ "contracts/types/NftId.sol": {
877
+ "NftIdLib": [
878
+ {
879
+ "length": 20,
880
+ "start": 1767
881
+ },
882
+ {
883
+ "length": 20,
884
+ "start": 5829
885
+ },
886
+ {
887
+ "length": 20,
888
+ "start": 8519
889
+ },
890
+ {
891
+ "length": 20,
892
+ "start": 9789
893
+ }
894
+ ]
895
+ },
896
+ "contracts/types/Referral.sol": {
897
+ "ReferralLib": [
898
+ {
899
+ "length": 20,
900
+ "start": 6284
901
+ },
902
+ {
903
+ "length": 20,
904
+ "start": 6516
905
+ }
906
+ ]
907
+ },
908
+ "contracts/types/RoleId.sol": {
909
+ "RoleIdLib": [
910
+ {
911
+ "length": 20,
912
+ "start": 8260
913
+ }
914
+ ]
915
+ },
916
+ "contracts/types/Version.sol": {
917
+ "VersionLib": [
918
+ {
919
+ "length": 20,
920
+ "start": 1179
921
+ },
922
+ {
923
+ "length": 20,
924
+ "start": 2994
925
+ }
926
+ ],
927
+ "VersionPartLib": [
928
+ {
929
+ "length": 20,
930
+ "start": 6927
931
+ }
932
+ ]
933
+ }
934
+ }
935
+ }