@etherisc/gif-next 0.0.2-8eb96a8-113 → 0.0.2-9105e58-225

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (439) 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 +694 -35
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1400 -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} +284 -223
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +943 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +887 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +806 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1151 -146
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1067 -156
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
  26. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  28. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  30. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  32. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  42. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  44. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  45. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  46. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  47. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  48. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  49. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  50. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  51. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  52. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  53. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1779 -774
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +648 -0
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +2522 -848
  60. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  62. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1386 -0
  64. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1224 -0
  66. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +579 -0
  68. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  70. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +702 -0
  72. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  74. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  75. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  76. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  78. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  80. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  82. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  83. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  84. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  85. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  86. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  87. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  88. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  89. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  90. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  91. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  92. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  93. package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
  94. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1047 -0
  96. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +543 -0
  98. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1266 -0
  100. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +547 -0
  102. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +932 -0
  104. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +523 -0
  106. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1124 -0
  108. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +563 -0
  110. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +612 -0
  112. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  113. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +772 -0
  114. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  115. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +548 -0
  116. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  117. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +630 -0
  118. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  119. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +722 -0
  120. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  121. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +486 -0
  122. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +523 -0
  124. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  125. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1290 -0
  126. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +603 -0
  128. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  129. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +905 -0
  130. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +535 -0
  132. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  133. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +955 -0
  134. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +535 -0
  136. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  137. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  138. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  139. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +578 -29
  140. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  141. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1029 -0
  142. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  143. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  144. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  145. package/artifacts/contracts/registry/Registry.sol/Registry.json +651 -68
  146. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  147. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  148. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  149. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1355 -0
  150. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +556 -0
  152. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  153. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  154. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  155. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  156. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  157. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  158. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  159. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  160. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  161. package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +46 -74
  162. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/product/IProductService.sol/IProductService.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +68 -66
  164. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  165. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
  166. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  167. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
  168. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  169. package/artifacts/contracts/shared/IService.sol/IService.json +408 -0
  170. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  171. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  172. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  173. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  174. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  175. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  176. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +466 -0
  178. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  179. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +363 -0
  180. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  181. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  182. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  183. package/artifacts/contracts/shared/Service.sol/Service.json +575 -0
  184. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  185. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  186. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  187. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  188. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  189. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  190. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  191. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  192. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  193. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +394 -0
  194. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  195. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  196. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  197. package/artifacts/contracts/test/TestService.sol/TestService.json +707 -0
  198. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  199. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  200. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  201. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  202. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  203. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +286 -0
  204. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  205. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  206. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  207. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  208. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  210. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  212. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  214. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  216. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  218. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  219. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  220. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  221. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  222. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  223. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  224. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  225. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  226. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  227. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  228. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  229. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  230. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  231. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  232. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  233. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  234. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  235. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  236. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  237. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  238. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  239. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +77 -2
  240. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  241. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  242. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  243. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  244. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  245. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  246. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  247. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  248. package/contracts/components/Component.sol +212 -47
  249. package/contracts/components/Distribution.sol +308 -0
  250. package/contracts/components/IComponent.sol +55 -0
  251. package/contracts/components/IDistributionComponent.sol +100 -0
  252. package/contracts/components/IPoolComponent.sol +87 -0
  253. package/contracts/components/IProductComponent.sol +39 -0
  254. package/contracts/components/Pool.sol +229 -27
  255. package/contracts/components/Product.sol +243 -47
  256. package/contracts/experiment/cloning/Cloner.sol +47 -0
  257. package/contracts/instance/BundleManager.sol +125 -0
  258. package/contracts/instance/Cloneable.sol +46 -0
  259. package/contracts/instance/IInstance.sol +91 -24
  260. package/contracts/instance/IInstanceService.sol +59 -0
  261. package/contracts/instance/Instance.sol +270 -51
  262. package/contracts/instance/InstanceAccessManager.sol +297 -0
  263. package/contracts/instance/InstanceReader.sol +293 -0
  264. package/contracts/instance/InstanceService.sol +476 -0
  265. package/contracts/instance/InstanceServiceManager.sol +54 -0
  266. package/contracts/instance/ObjectManager.sol +84 -0
  267. package/contracts/instance/base/ComponentService.sol +134 -0
  268. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  269. package/contracts/instance/base/ILifecycle.sol +30 -0
  270. package/contracts/instance/base/KeyValueStore.sol +172 -0
  271. package/contracts/instance/base/Lifecycle.sol +100 -0
  272. package/contracts/instance/module/IAccess.sol +47 -0
  273. package/contracts/instance/module/IBundle.sol +20 -0
  274. package/contracts/instance/module/IDistribution.sol +39 -0
  275. package/contracts/instance/module/IPolicy.sol +47 -0
  276. package/contracts/instance/module/IRisk.sol +11 -0
  277. package/contracts/instance/module/ISetup.sol +47 -0
  278. package/contracts/instance/module/ITreasury.sol +23 -0
  279. package/contracts/instance/service/ApplicationService.sol +268 -0
  280. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  281. package/contracts/instance/service/BundleService.sol +298 -0
  282. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  283. package/contracts/instance/service/ClaimService.sol +151 -0
  284. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  285. package/contracts/instance/service/DistributionService.sol +277 -0
  286. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  287. package/contracts/instance/service/IApplicationService.sol +82 -0
  288. package/contracts/instance/service/IBundleService.sol +54 -0
  289. package/contracts/instance/service/IClaimService.sol +61 -0
  290. package/contracts/instance/service/IDistributionService.sol +65 -0
  291. package/contracts/instance/service/IPolicyService.sol +89 -0
  292. package/contracts/instance/service/IPoolService.sol +20 -0
  293. package/contracts/instance/service/IProductService.sol +40 -0
  294. package/contracts/instance/service/PolicyService.sol +474 -0
  295. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  296. package/contracts/instance/service/PoolService.sol +109 -0
  297. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  298. package/contracts/instance/service/ProductService.sol +233 -0
  299. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  300. package/contracts/registry/ChainNft.sol +129 -62
  301. package/contracts/registry/IRegistry.sol +73 -41
  302. package/contracts/registry/IRegistryService.sol +67 -0
  303. package/contracts/registry/ITransferInterceptor.sol +6 -0
  304. package/contracts/registry/Registry.sol +408 -126
  305. package/contracts/registry/RegistryAccessManager.sol +216 -0
  306. package/contracts/registry/RegistryService.sol +283 -0
  307. package/contracts/registry/RegistryServiceManager.sol +62 -0
  308. package/contracts/registry/ReleaseManager.sol +331 -0
  309. package/contracts/registry/TokenRegistry.sol +121 -0
  310. package/contracts/shared/ContractDeployerLib.sol +72 -0
  311. package/contracts/shared/ERC165.sol +27 -0
  312. package/contracts/shared/INftOwnable.sol +23 -0
  313. package/contracts/shared/IPolicyHolder.sol +26 -0
  314. package/contracts/shared/IRegisterable.sol +15 -0
  315. package/contracts/shared/IRegistryLinked.sol +12 -0
  316. package/contracts/shared/IService.sol +16 -0
  317. package/contracts/shared/IVersionable.sol +96 -0
  318. package/contracts/shared/NftOwnable.sol +120 -0
  319. package/contracts/shared/PolicyHolder.sol +81 -0
  320. package/contracts/shared/ProxyManager.sol +102 -0
  321. package/contracts/shared/Registerable.sol +78 -0
  322. package/contracts/shared/RegistryLinked.sol +48 -0
  323. package/contracts/shared/Service.sol +60 -0
  324. package/contracts/shared/TokenHandler.sol +27 -0
  325. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  326. package/contracts/shared/Versionable.sol +148 -0
  327. package/contracts/test/TestFee.sol +25 -0
  328. package/contracts/test/TestRegisterable.sol +18 -0
  329. package/contracts/test/TestRoleId.sol +14 -0
  330. package/contracts/test/TestService.sol +25 -0
  331. package/contracts/test/TestToken.sol +26 -0
  332. package/contracts/test/TestVersion.sol +44 -0
  333. package/contracts/test/TestVersionable.sol +17 -0
  334. package/contracts/test/Usdc.sol +26 -0
  335. package/contracts/types/AddressSet.sol +58 -0
  336. package/contracts/types/ClaimId.sol +52 -0
  337. package/contracts/types/DistributorType.sol +55 -0
  338. package/contracts/types/Fee.sol +44 -20
  339. package/contracts/types/Key32.sol +50 -0
  340. package/contracts/types/NftId.sol +22 -1
  341. package/contracts/types/NftIdSet.sol +62 -0
  342. package/contracts/types/NumberId.sol +52 -0
  343. package/contracts/types/ObjectType.sol +64 -15
  344. package/contracts/types/PayoutId.sol +54 -0
  345. package/contracts/types/Referral.sol +85 -0
  346. package/contracts/types/RiskId.sol +43 -0
  347. package/contracts/types/RoleId.sol +90 -0
  348. package/contracts/types/StateId.sol +18 -4
  349. package/contracts/types/Timestamp.sol +29 -4
  350. package/contracts/types/UFixed.sol +150 -31
  351. package/contracts/types/Version.sol +107 -0
  352. package/package.json +12 -5
  353. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  354. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  355. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  356. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
  357. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  358. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  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/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  411. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  412. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  413. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  414. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  415. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  416. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  417. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  418. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  419. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  420. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  421. package/contracts/components/IPool.sol +0 -15
  422. package/contracts/components/IProduct.sol +0 -16
  423. package/contracts/experiment/statemachine/README.md +0 -112
  424. package/contracts/instance/access/Access.sol +0 -165
  425. package/contracts/instance/access/IAccess.sol +0 -63
  426. package/contracts/instance/component/ComponentModule.sol +0 -274
  427. package/contracts/instance/component/IComponent.sol +0 -74
  428. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  429. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  430. package/contracts/instance/policy/IPolicy.sol +0 -50
  431. package/contracts/instance/policy/PolicyModule.sol +0 -114
  432. package/contracts/instance/pool/IPoolModule.sol +0 -23
  433. package/contracts/instance/pool/PoolModule.sol +0 -81
  434. package/contracts/instance/product/IProductService.sol +0 -36
  435. package/contracts/instance/product/ProductService.sol +0 -136
  436. package/contracts/instance/treasury/ITreasury.sol +0 -91
  437. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  438. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  439. package/contracts/registry/IChainNft.sol +0 -21
@@ -0,0 +1,1124 @@
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
+ {
170
+ "internalType": "address",
171
+ "name": "registryAddress",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "name": "ErrorRegisterableNotRegistry",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [],
180
+ "name": "InvalidInitialization",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [],
185
+ "name": "NotInitializing",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "anonymous": false,
190
+ "inputs": [
191
+ {
192
+ "indexed": false,
193
+ "internalType": "uint64",
194
+ "name": "version",
195
+ "type": "uint64"
196
+ }
197
+ ],
198
+ "name": "Initialized",
199
+ "type": "event"
200
+ },
201
+ {
202
+ "anonymous": false,
203
+ "inputs": [
204
+ {
205
+ "indexed": false,
206
+ "internalType": "Version",
207
+ "name": "version",
208
+ "type": "uint24"
209
+ },
210
+ {
211
+ "indexed": false,
212
+ "internalType": "address",
213
+ "name": "implementation",
214
+ "type": "address"
215
+ },
216
+ {
217
+ "indexed": false,
218
+ "internalType": "address",
219
+ "name": "activatedBy",
220
+ "type": "address"
221
+ }
222
+ ],
223
+ "name": "LogVersionableInitialized",
224
+ "type": "event"
225
+ },
226
+ {
227
+ "inputs": [],
228
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
229
+ "outputs": [
230
+ {
231
+ "internalType": "bytes32",
232
+ "name": "",
233
+ "type": "bytes32"
234
+ }
235
+ ],
236
+ "stateMutability": "view",
237
+ "type": "function"
238
+ },
239
+ {
240
+ "inputs": [],
241
+ "name": "REGISTERABLE_LOCATION_V1",
242
+ "outputs": [
243
+ {
244
+ "internalType": "bytes32",
245
+ "name": "",
246
+ "type": "bytes32"
247
+ }
248
+ ],
249
+ "stateMutability": "view",
250
+ "type": "function"
251
+ },
252
+ {
253
+ "inputs": [
254
+ {
255
+ "internalType": "ReferralId",
256
+ "name": "referralId",
257
+ "type": "bytes8"
258
+ },
259
+ {
260
+ "internalType": "uint256",
261
+ "name": "premiumAmount",
262
+ "type": "uint256"
263
+ }
264
+ ],
265
+ "name": "calculateFeeAmount",
266
+ "outputs": [
267
+ {
268
+ "internalType": "uint256",
269
+ "name": "feeAmount",
270
+ "type": "uint256"
271
+ }
272
+ ],
273
+ "stateMutability": "view",
274
+ "type": "function"
275
+ },
276
+ {
277
+ "inputs": [
278
+ {
279
+ "internalType": "address",
280
+ "name": "distributor",
281
+ "type": "address"
282
+ },
283
+ {
284
+ "internalType": "DistributorType",
285
+ "name": "distributorType",
286
+ "type": "bytes8"
287
+ },
288
+ {
289
+ "internalType": "bytes",
290
+ "name": "data",
291
+ "type": "bytes"
292
+ }
293
+ ],
294
+ "name": "createDistributor",
295
+ "outputs": [
296
+ {
297
+ "internalType": "NftId",
298
+ "name": "distributorNftId",
299
+ "type": "uint96"
300
+ }
301
+ ],
302
+ "stateMutability": "nonpayable",
303
+ "type": "function"
304
+ },
305
+ {
306
+ "inputs": [
307
+ {
308
+ "internalType": "string",
309
+ "name": "name",
310
+ "type": "string"
311
+ },
312
+ {
313
+ "internalType": "UFixed",
314
+ "name": "minDiscountPercentage",
315
+ "type": "uint256"
316
+ },
317
+ {
318
+ "internalType": "UFixed",
319
+ "name": "maxDiscountPercentage",
320
+ "type": "uint256"
321
+ },
322
+ {
323
+ "internalType": "UFixed",
324
+ "name": "commissionPercentage",
325
+ "type": "uint256"
326
+ },
327
+ {
328
+ "internalType": "uint32",
329
+ "name": "maxReferralCount",
330
+ "type": "uint32"
331
+ },
332
+ {
333
+ "internalType": "uint32",
334
+ "name": "maxReferralLifetime",
335
+ "type": "uint32"
336
+ },
337
+ {
338
+ "internalType": "bool",
339
+ "name": "allowSelfReferrals",
340
+ "type": "bool"
341
+ },
342
+ {
343
+ "internalType": "bool",
344
+ "name": "allowRenewals",
345
+ "type": "bool"
346
+ },
347
+ {
348
+ "internalType": "bytes",
349
+ "name": "data",
350
+ "type": "bytes"
351
+ }
352
+ ],
353
+ "name": "createDistributorType",
354
+ "outputs": [
355
+ {
356
+ "internalType": "DistributorType",
357
+ "name": "distributorType",
358
+ "type": "bytes8"
359
+ }
360
+ ],
361
+ "stateMutability": "nonpayable",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [
366
+ {
367
+ "internalType": "NftId",
368
+ "name": "distributorNftId",
369
+ "type": "uint96"
370
+ },
371
+ {
372
+ "internalType": "string",
373
+ "name": "code",
374
+ "type": "string"
375
+ },
376
+ {
377
+ "internalType": "UFixed",
378
+ "name": "discountPercentage",
379
+ "type": "uint256"
380
+ },
381
+ {
382
+ "internalType": "uint32",
383
+ "name": "maxReferrals",
384
+ "type": "uint32"
385
+ },
386
+ {
387
+ "internalType": "Timestamp",
388
+ "name": "expiryAt",
389
+ "type": "uint40"
390
+ },
391
+ {
392
+ "internalType": "bytes",
393
+ "name": "data",
394
+ "type": "bytes"
395
+ }
396
+ ],
397
+ "name": "createReferral",
398
+ "outputs": [
399
+ {
400
+ "internalType": "ReferralId",
401
+ "name": "referralId",
402
+ "type": "bytes8"
403
+ }
404
+ ],
405
+ "stateMutability": "nonpayable",
406
+ "type": "function"
407
+ },
408
+ {
409
+ "inputs": [],
410
+ "name": "getDomain",
411
+ "outputs": [
412
+ {
413
+ "internalType": "ObjectType",
414
+ "name": "",
415
+ "type": "uint8"
416
+ }
417
+ ],
418
+ "stateMutability": "pure",
419
+ "type": "function"
420
+ },
421
+ {
422
+ "inputs": [],
423
+ "name": "getInitialInfo",
424
+ "outputs": [
425
+ {
426
+ "components": [
427
+ {
428
+ "internalType": "NftId",
429
+ "name": "nftId",
430
+ "type": "uint96"
431
+ },
432
+ {
433
+ "internalType": "NftId",
434
+ "name": "parentNftId",
435
+ "type": "uint96"
436
+ },
437
+ {
438
+ "internalType": "ObjectType",
439
+ "name": "objectType",
440
+ "type": "uint8"
441
+ },
442
+ {
443
+ "internalType": "bool",
444
+ "name": "isInterceptor",
445
+ "type": "bool"
446
+ },
447
+ {
448
+ "internalType": "address",
449
+ "name": "objectAddress",
450
+ "type": "address"
451
+ },
452
+ {
453
+ "internalType": "address",
454
+ "name": "initialOwner",
455
+ "type": "address"
456
+ },
457
+ {
458
+ "internalType": "bytes",
459
+ "name": "data",
460
+ "type": "bytes"
461
+ }
462
+ ],
463
+ "internalType": "struct IRegistry.ObjectInfo",
464
+ "name": "info",
465
+ "type": "tuple"
466
+ }
467
+ ],
468
+ "stateMutability": "view",
469
+ "type": "function"
470
+ },
471
+ {
472
+ "inputs": [],
473
+ "name": "getInitializedVersion",
474
+ "outputs": [
475
+ {
476
+ "internalType": "uint64",
477
+ "name": "",
478
+ "type": "uint64"
479
+ }
480
+ ],
481
+ "stateMutability": "view",
482
+ "type": "function"
483
+ },
484
+ {
485
+ "inputs": [],
486
+ "name": "getInstanceService",
487
+ "outputs": [
488
+ {
489
+ "internalType": "contract InstanceService",
490
+ "name": "",
491
+ "type": "address"
492
+ }
493
+ ],
494
+ "stateMutability": "view",
495
+ "type": "function"
496
+ },
497
+ {
498
+ "inputs": [],
499
+ "name": "getMajorVersion",
500
+ "outputs": [
501
+ {
502
+ "internalType": "VersionPart",
503
+ "name": "majorVersion",
504
+ "type": "uint8"
505
+ }
506
+ ],
507
+ "stateMutability": "view",
508
+ "type": "function"
509
+ },
510
+ {
511
+ "inputs": [],
512
+ "name": "getNftId",
513
+ "outputs": [
514
+ {
515
+ "internalType": "NftId",
516
+ "name": "",
517
+ "type": "uint96"
518
+ }
519
+ ],
520
+ "stateMutability": "view",
521
+ "type": "function"
522
+ },
523
+ {
524
+ "inputs": [],
525
+ "name": "getOwner",
526
+ "outputs": [
527
+ {
528
+ "internalType": "address",
529
+ "name": "",
530
+ "type": "address"
531
+ }
532
+ ],
533
+ "stateMutability": "view",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [],
538
+ "name": "getRegistry",
539
+ "outputs": [
540
+ {
541
+ "internalType": "contract IRegistry",
542
+ "name": "",
543
+ "type": "address"
544
+ }
545
+ ],
546
+ "stateMutability": "view",
547
+ "type": "function"
548
+ },
549
+ {
550
+ "inputs": [],
551
+ "name": "getRegistryAddress",
552
+ "outputs": [
553
+ {
554
+ "internalType": "address",
555
+ "name": "",
556
+ "type": "address"
557
+ }
558
+ ],
559
+ "stateMutability": "view",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [],
564
+ "name": "getRegistryService",
565
+ "outputs": [
566
+ {
567
+ "internalType": "contract IRegistryService",
568
+ "name": "",
569
+ "type": "address"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [],
577
+ "name": "getVersion",
578
+ "outputs": [
579
+ {
580
+ "internalType": "Version",
581
+ "name": "",
582
+ "type": "uint24"
583
+ }
584
+ ],
585
+ "stateMutability": "pure",
586
+ "type": "function"
587
+ },
588
+ {
589
+ "inputs": [
590
+ {
591
+ "internalType": "uint256",
592
+ "name": "idx",
593
+ "type": "uint256"
594
+ }
595
+ ],
596
+ "name": "getVersion",
597
+ "outputs": [
598
+ {
599
+ "internalType": "Version",
600
+ "name": "",
601
+ "type": "uint24"
602
+ }
603
+ ],
604
+ "stateMutability": "view",
605
+ "type": "function"
606
+ },
607
+ {
608
+ "inputs": [],
609
+ "name": "getVersionCount",
610
+ "outputs": [
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "",
614
+ "type": "uint256"
615
+ }
616
+ ],
617
+ "stateMutability": "view",
618
+ "type": "function"
619
+ },
620
+ {
621
+ "inputs": [
622
+ {
623
+ "internalType": "Version",
624
+ "name": "_version",
625
+ "type": "uint24"
626
+ }
627
+ ],
628
+ "name": "getVersionInfo",
629
+ "outputs": [
630
+ {
631
+ "components": [
632
+ {
633
+ "internalType": "Version",
634
+ "name": "version",
635
+ "type": "uint24"
636
+ },
637
+ {
638
+ "internalType": "address",
639
+ "name": "implementation",
640
+ "type": "address"
641
+ },
642
+ {
643
+ "internalType": "address",
644
+ "name": "activatedBy",
645
+ "type": "address"
646
+ },
647
+ {
648
+ "internalType": "Timestamp",
649
+ "name": "activatedAt",
650
+ "type": "uint40"
651
+ },
652
+ {
653
+ "internalType": "Blocknumber",
654
+ "name": "activatedIn",
655
+ "type": "uint32"
656
+ }
657
+ ],
658
+ "internalType": "struct IVersionable.VersionInfo",
659
+ "name": "",
660
+ "type": "tuple"
661
+ }
662
+ ],
663
+ "stateMutability": "view",
664
+ "type": "function"
665
+ },
666
+ {
667
+ "inputs": [],
668
+ "name": "initializeERC165",
669
+ "outputs": [],
670
+ "stateMutability": "nonpayable",
671
+ "type": "function"
672
+ },
673
+ {
674
+ "inputs": [
675
+ {
676
+ "internalType": "address",
677
+ "name": "initialOwner",
678
+ "type": "address"
679
+ },
680
+ {
681
+ "internalType": "address",
682
+ "name": "registryAddress",
683
+ "type": "address"
684
+ }
685
+ ],
686
+ "name": "initializeNftOwnable",
687
+ "outputs": [],
688
+ "stateMutability": "nonpayable",
689
+ "type": "function"
690
+ },
691
+ {
692
+ "inputs": [
693
+ {
694
+ "internalType": "address",
695
+ "name": "registryAddress",
696
+ "type": "address"
697
+ },
698
+ {
699
+ "internalType": "NftId",
700
+ "name": "parentNftId",
701
+ "type": "uint96"
702
+ },
703
+ {
704
+ "internalType": "ObjectType",
705
+ "name": "objectType",
706
+ "type": "uint8"
707
+ },
708
+ {
709
+ "internalType": "bool",
710
+ "name": "isInterceptor",
711
+ "type": "bool"
712
+ },
713
+ {
714
+ "internalType": "address",
715
+ "name": "initialOwner",
716
+ "type": "address"
717
+ },
718
+ {
719
+ "internalType": "bytes",
720
+ "name": "data",
721
+ "type": "bytes"
722
+ }
723
+ ],
724
+ "name": "initializeRegisterable",
725
+ "outputs": [],
726
+ "stateMutability": "nonpayable",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "inputs": [
731
+ {
732
+ "internalType": "address",
733
+ "name": "registryAddress",
734
+ "type": "address"
735
+ }
736
+ ],
737
+ "name": "initializeRegistryLinked",
738
+ "outputs": [],
739
+ "stateMutability": "nonpayable",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "inputs": [
744
+ {
745
+ "internalType": "address",
746
+ "name": "registry",
747
+ "type": "address"
748
+ },
749
+ {
750
+ "internalType": "address",
751
+ "name": "initialOwner",
752
+ "type": "address"
753
+ }
754
+ ],
755
+ "name": "initializeService",
756
+ "outputs": [],
757
+ "stateMutability": "nonpayable",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [
762
+ {
763
+ "internalType": "address",
764
+ "name": "implementation",
765
+ "type": "address"
766
+ },
767
+ {
768
+ "internalType": "address",
769
+ "name": "activatedBy",
770
+ "type": "address"
771
+ },
772
+ {
773
+ "internalType": "bytes",
774
+ "name": "data",
775
+ "type": "bytes"
776
+ }
777
+ ],
778
+ "name": "initializeVersionable",
779
+ "outputs": [],
780
+ "stateMutability": "nonpayable",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "inputs": [
785
+ {
786
+ "internalType": "Version",
787
+ "name": "_version",
788
+ "type": "uint24"
789
+ }
790
+ ],
791
+ "name": "isInitialized",
792
+ "outputs": [
793
+ {
794
+ "internalType": "bool",
795
+ "name": "",
796
+ "type": "bool"
797
+ }
798
+ ],
799
+ "stateMutability": "view",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "inputs": [],
804
+ "name": "linkToRegisteredNftId",
805
+ "outputs": [],
806
+ "stateMutability": "nonpayable",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [
811
+ {
812
+ "internalType": "ReferralId",
813
+ "name": "referralId",
814
+ "type": "bytes8"
815
+ },
816
+ {
817
+ "internalType": "uint256",
818
+ "name": "premiumAmount",
819
+ "type": "uint256"
820
+ }
821
+ ],
822
+ "name": "processSale",
823
+ "outputs": [],
824
+ "stateMutability": "nonpayable",
825
+ "type": "function"
826
+ },
827
+ {
828
+ "inputs": [
829
+ {
830
+ "internalType": "address",
831
+ "name": "distributionAddress",
832
+ "type": "address"
833
+ }
834
+ ],
835
+ "name": "register",
836
+ "outputs": [
837
+ {
838
+ "internalType": "NftId",
839
+ "name": "distributionNftId",
840
+ "type": "uint96"
841
+ }
842
+ ],
843
+ "stateMutability": "nonpayable",
844
+ "type": "function"
845
+ },
846
+ {
847
+ "inputs": [
848
+ {
849
+ "internalType": "bytes4",
850
+ "name": "interfaceId",
851
+ "type": "bytes4"
852
+ }
853
+ ],
854
+ "name": "registerInterface",
855
+ "outputs": [],
856
+ "stateMutability": "nonpayable",
857
+ "type": "function"
858
+ },
859
+ {
860
+ "inputs": [
861
+ {
862
+ "components": [
863
+ {
864
+ "internalType": "UFixed",
865
+ "name": "fractionalFee",
866
+ "type": "uint256"
867
+ },
868
+ {
869
+ "internalType": "uint256",
870
+ "name": "fixedFee",
871
+ "type": "uint256"
872
+ }
873
+ ],
874
+ "internalType": "struct Fee",
875
+ "name": "distributionFee",
876
+ "type": "tuple"
877
+ }
878
+ ],
879
+ "name": "setFees",
880
+ "outputs": [],
881
+ "stateMutability": "nonpayable",
882
+ "type": "function"
883
+ },
884
+ {
885
+ "inputs": [
886
+ {
887
+ "internalType": "bytes4",
888
+ "name": "interfaceId",
889
+ "type": "bytes4"
890
+ }
891
+ ],
892
+ "name": "supportsInterface",
893
+ "outputs": [
894
+ {
895
+ "internalType": "bool",
896
+ "name": "",
897
+ "type": "bool"
898
+ }
899
+ ],
900
+ "stateMutability": "view",
901
+ "type": "function"
902
+ },
903
+ {
904
+ "inputs": [
905
+ {
906
+ "internalType": "NftId",
907
+ "name": "distributorNftId",
908
+ "type": "uint96"
909
+ },
910
+ {
911
+ "internalType": "DistributorType",
912
+ "name": "distributorType",
913
+ "type": "bytes8"
914
+ },
915
+ {
916
+ "internalType": "bytes",
917
+ "name": "data",
918
+ "type": "bytes"
919
+ }
920
+ ],
921
+ "name": "updateDistributorType",
922
+ "outputs": [],
923
+ "stateMutability": "nonpayable",
924
+ "type": "function"
925
+ },
926
+ {
927
+ "inputs": [
928
+ {
929
+ "internalType": "address",
930
+ "name": "implementation",
931
+ "type": "address"
932
+ },
933
+ {
934
+ "internalType": "address",
935
+ "name": "activatedBy",
936
+ "type": "address"
937
+ },
938
+ {
939
+ "internalType": "bytes",
940
+ "name": "data",
941
+ "type": "bytes"
942
+ }
943
+ ],
944
+ "name": "upgradeVersionable",
945
+ "outputs": [],
946
+ "stateMutability": "nonpayable",
947
+ "type": "function"
948
+ }
949
+ ],
950
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613dad80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80635ab1bd5311610125578063b68d1809116100ad578063cde749f41161007c578063cde749f4146105f0578063ea866572146105f8578063f21de1e8146104d8578063f7c34ee01461060b578063f7d39dea1461061e57600080fd5b8063b68d1809146105b8578063b88da759146105cd578063caf4e3d4146105e0578063cc9fc59a146105e857600080fd5b8063893d20e8116100f4578063893d20e8146105415780638dd2b78114610549578063946dfcfe1461055c578063ada9652e14610583578063b3c650151461059857600080fd5b80635ab1bd53146104d85780635dcb3bae146104fd578063644c45e014610510578063675393bf1461052e57600080fd5b80632a904018116101a85780633f52c0f6116101775780633f52c0f61461035b5780634420e4861461036e5780634cf30a84146103995780634d459c90146103ac5780634f421333146104c557600080fd5b80632a904018146103015780632b5198b11461031457806336fc697e146103405780633d683fd91461034857600080fd5b80631647f91e116101e45780631647f91e146102935780631eff4b22146102a6578063214cdb80146102db57806327bb7a33146102ee57600080fd5b806301ffc9a7146102165780630d8e6e2c146102585780630fec111c14610274578063138461e014610289575b600080fd5b610243610224366004612f21565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610260610631565b60405162ffffff909116815260200161024f565b61027c6106bb565b60405161024f9190612fa2565b61029161086f565b005b6102916102a136600461314f565b610a76565b6102cd7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102916102e9366004612f21565b610b7f565b6102916102fc3660046131e2565b610bac565b61029161030f36600461314f565b610c48565b610327610322366004613293565b610da2565b6040516001600160c01b0319909116815260200161024f565b610291610fe0565b610291610356366004613374565b611026565b6102916103693660046133a4565b6110c3565b61038161037c3660046133d6565b611226565b6040516001600160601b03909116815260200161024f565b6102916103a73660046133f3565b611594565b6104686103ba366004613430565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613d5883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161024f565b6102436104d3366004613430565b6115d2565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161024f565b61038161050b36600461344d565b611685565b600080516020613d18833981519152546001600160601b0316610381565b61029161053c3660046133d6565b611818565b6104e5611926565b610327610557366004613480565b611a5d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102cd565b6102cd600080516020613d1883398151915281565b6105a0611cc6565b6040516001600160401b03909116815260200161024f565b60785b60405160ff909116815260200161024f565b6102606105db366004613516565b611ce7565b6104e5611d38565b6104e5611dd5565b6105bb611dff565b61029161060636600461352f565b611e82565b61029161061936600461352f565b611ef5565b6102cd61062c3660046133f3565b611f6c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610692573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b69190613568565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061076b90613585565b80601f016020809104026020016040519081016040528092919081815260200182805461079790613585565b80156107e45780601f106107b9576101008083540402835291602001916107e4565b820191906000526020600020905b8154815290600101906020018083116107c757829003601f168201915b50505050508152505090506040518060e00160405280610802600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610853611926565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020613d1883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090291906135ca565b156109335780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109466001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561098e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b291906135ca565b6109da5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161092a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5291906135f2565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600080516020613d388339815191528054600160401b810460ff1615906001600160401b0316600081158015610aa95750825b90506000826001600160401b03166001148015610ac55750303b155b905081158015610ad3575080155b15610af15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b1b57845460ff60401b1916600160401b1785555b610b258888611fad565b610b2f878761224c565b8315610b7557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b610b87612376565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610bb4612376565b610bbe8287611ef5565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610c2e838261365e565b50610c3f6303fb044760e21b610b7f565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c6a610631565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610caa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cce9190613732565b600080516020613d388339815191528054600160401b900460ff1680610d01575080546001600160401b03808416911610155b15610d1f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d4a8585611fad565b610d53836123af565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000806000610daf6123b7565b925092505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401610ded92919061374f565b602060405180830381865af4158015610e0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2e9190613771565b6040516355ee627560e01b81526001600160c01b03198216600482015290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610e8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb1919061378e565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d91906135ca565b610fd05760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890610f9c90859085906004016137a7565b600060405180830381600087803b158015610fb657600080fd5b505af1158015610fca573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b610fe8612376565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006110306123b7565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163051cf2fd60e41b815291945092506001600160a01b03841691506351cf2fd09061108a908890859060ff90600401613895565b600060405180830381600087803b1580156110a457600080fd5b505af11580156110b8573d6000803e3d6000fd5b505050505050505050565b6000806110d06078612442565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611114573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113891906138ca565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160a060405180830381865afa15801561118e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b291906138f2565b60408181018890525163ccdcd37f60e01b81529091506001600160a01b0385169063ccdcd37f906111ec908590859060ff906004016139e3565b600060405180830381600087803b15801561120657600080fd5b505af115801561121a573d6000803e3d6000fd5b50505050505050505050565b60008080808061123f86607861123a6126e4565b61275b565b93509350935093506000611251611d38565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af11580156112a3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112cb9190810190613a6c565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561130d57600080fd5b505af1158015611321573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663f651dcac88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040160a060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139e91906138f2565b6040518363ffffffff1660e01b81526004016113bb929190613b3e565b600060405180830381600087803b1580156113d557600080fd5b505af11580156113e9573d6000803e3d6000fd5b505050506113f5611dd5565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611443573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261146b9190810190613b5b565b6040518463ffffffff1660e01b815260040161148993929190613ba3565b600060405180830381600087803b1580156114a357600080fd5b505af11580156114b7573d6000803e3d6000fd5b505050506114c3611dd5565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611511573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115399190810190613b5b565b6040518463ffffffff1660e01b815260040161155793929190613ba3565b600060405180830381600087803b15801561157157600080fd5b505af1158015611585573d6000803e3d6000fd5b50505050505050505050919050565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260640161092a565b600080600080516020613d5883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561165a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167e919061378e565b1192915050565b60008060006116926123b7565b925092505061169f611d38565b6001600160a01b03166357a8fba76040518060e001604052806116c0600090565b6001600160601b03168152602001856001600160601b031681526020016116e5607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016117449190612fa2565b6020604051808303816000875af1158015611763573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178791906135f2565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163b405b76f60e01b8152919450906001600160a01b0383169063b405b76f906117dc9087908590600401613bdf565b600060405180830381600087803b1580156117f657600080fd5b505af115801561180a573d6000803e3d6000fd5b505050505050509392505050565b611820612376565b806001600160a01b03163b6000036118565760405163fdeac91f60e01b81526001600160a01b038216600482015260240161092a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156118d0575060408051601f3d908101601f191682019092526118cd918101906135ca565b60015b6118f85760405163fdeac91f60e01b81526001600160a01b038216600482015260240161092a565b806119215760405163fdeac91f60e01b81526001600160a01b038316600482015260240161092a565b505b50565b600080600080516020613d1883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ba91906135ca565b15611a47576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4191906138ca565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000611a6a6123b7565b92509250506000885111611ac05760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4453562d3033303a434f44455f494e56414c4944000000000000604482015260640161092a565b64ffffffffff8516611b145760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4453562d3033313a4558504952595f41545f5a45524f00000000604482015260640161092a565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690611b4d9085908c9060040161374f565b602060405180830381865af4158015611b6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8e9190613771565b6040805160e0810182526001600160601b038c168152602081018b90528082018a905263ffffffff891660608201526000608082015264ffffffffff881660a082015260c0810187905290516355ee627560e01b81526001600160c01b031983166004820152919450906001600160a01b038316906354d747a89073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015611c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c69919061378e565b836040518363ffffffff1660e01b8152600401611c87929190613c01565b600060405180830381600087803b158015611ca157600080fd5b505af1158015611cb5573d6000803e3d6000fd5b505050505050509695505050505050565b60006106b6600080516020613d38833981519152546001600160401b031690565b6000600080516020613d588339815191526001018281548110611d0c57611d0c613c98565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611d4d6001546001600160a01b031690565b6001600160a01b031663d39e604360285b611d66611dff565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcf91906138ca565b92915050565b600080611dea6001546001600160a01b031690565b6001600160a01b031663d39e60436046611d5e565b6000611e09610631565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611e5e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b69190613cae565b611e8a612376565b60006078611e96611dff565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611ecb84612b35565b90506000611ede8583603c848888610bac565b611eee637b6a51fd60e01b610b7f565b5050505050565b611efd612376565b611f0681611818565b611f0e610fe0565b6001600160a01b038216611f355760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613d1883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260009060640161092a565b611fb5612376565b600080516020613d588339815191526000611fe5600080516020613d38833981519152546001600160401b031690565b90506000611ff1610631565b9050816001600160401b031660010361201e5760028301805462ffffff191662ffffff831617905561206c565b600283015462ffffff9081169082161161206c5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161092a565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612120573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121449190613ccb565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610d939083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b600080516020613d388339815191528054600160401b810460ff1615906001600160401b031660008115801561227f5750825b90506000826001600160401b0316600114801561229b5750303b155b9050811580156122a9575080155b156122c75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156122f157845460ff60401b1916600160401b1785555b600080878060200190518101906123089190613ce8565b92509050612316818a611e82565b6123266342527cdf60e01b610b7f565b50508315610c3f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b600080516020613d3883398151915254600160401b900460ff166123ad57604051631afcd79f60e31b815260040160405180910390fd5b565b610211612376565b6000806000806123c5612ba0565b92965090945090925090506123e28160785b60ff90811691161490565b61243c5760405162461bcd60e51b815260206004820152602560248201527f4552524f523a5052532d3033313a43414c4c45525f4e4f545f444953545255426044820152642aaa24a7a760d91b606482015260840161092a565b50909192565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156124d1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124f99190810190613a6c565b925061250f83604001518560ff90811691161490565b6125515760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161092a565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156125a7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125cf9190810190613a6c565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612618573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061263c91906138ca565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612689573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ad91906135ca565b156126dc57608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161092a565b505050915091565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612737573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b69190613732565b6000338180806127736001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa1580156127bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127df91906135f2565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561283a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285e91906135ca565b156128955760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440161092a565b6040516301ffc9a760e01b8152639bdd1ccd60e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa1580156128e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061290791906135ca565b61292f576040516359bff0e360e11b81526001600160a01b038916600482015260240161092a565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561296f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129979190810190613a6c565b90506129ae81604001518960ff9081169116141590565b156129ee576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640161092a565b60a08101516001600160a01b0386811690821614612a405760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640161092a565b81602001519350612a5084612e8a565b94506000612a5c611dd5565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015612abb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612adf91906135ca565b905080612b2857604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b038816604482015260640161092a565b5050505093509350935093565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612b7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcf91906135f2565b3360008080612bb76001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa158015612bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c2391906135f2565b6040516330b8415f60e01b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612c7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca291906135ca565b612cee5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5352562d3033303a43414c4c45525f554e4b4e4f574e00000000604482015260640161092a565b6000612d026001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612d51573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612d799190810190613a6c565b9050806040015192506000612d966001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612deb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e139190810190613a6c565b9050612e2581604001516123d7604690565b612e7b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5352562d3033313a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161092a565b80608001519250505090919293565b600080612e9f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612eee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f169190810190613a6c565b608001519392505050565b600060208284031215612f3357600080fd5b81356001600160e01b031981168114612f4b57600080fd5b9392505050565b60005b83811015612f6d578181015183820152602001612f55565b50506000910152565b60008151808452612f8e816020860160208601612f52565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161300b60c08401826001600160a01b03169052565b5060c083015160e080840152613025610100840182612f76565b949350505050565b6001600160a01b038116811461192357600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561307a5761307a613042565b60405290565b60405160e081016001600160401b038111828210171561307a5761307a613042565b604051601f8201601f191681016001600160401b03811182821017156130ca576130ca613042565b604052919050565b60006001600160401b038211156130eb576130eb613042565b50601f01601f191660200190565b600082601f83011261310a57600080fd5b813561311d613118826130d2565b6130a2565b81815284602083860101111561313257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561316457600080fd5b833561316f8161302d565b9250602084013561317f8161302d565b915060408401356001600160401b0381111561319a57600080fd5b6131a6868287016130f9565b9150509250925092565b6001600160601b038116811461192357600080fd5b60ff8116811461192357600080fd5b801515811461192357600080fd5b60008060008060008060c087890312156131fb57600080fd5b86356132068161302d565b95506020870135613216816131b0565b94506040870135613226816131c5565b93506060870135613236816131d4565b925060808701356132468161302d565b915060a08701356001600160401b0381111561326157600080fd5b61326d89828a016130f9565b9150509295509295509295565b803563ffffffff8116811461328e57600080fd5b919050565b60008060008060008060008060006101208a8c0312156132b257600080fd5b89356001600160401b03808211156132c957600080fd5b6132d58d838e016130f9565b9a5060208c0135995060408c0135985060608c013597506132f860808d0161327a565b965061330660a08d0161327a565b955060c08c01359150613318826131d4565b90935060e08b01359061332a826131d4565b9092506101008b0135908082111561334157600080fd5b5061334e8c828d016130f9565b9150509295985092959850929598565b6001600160c01b03198116811461192357600080fd5b60008060006060848603121561338957600080fd5b8335613394816131b0565b9250602084013561317f8161335e565b6000604082840312156133b657600080fd5b6133be613058565b82358152602083013560208201528091505092915050565b6000602082840312156133e857600080fd5b8135612f4b8161302d565b6000806040838503121561340657600080fd5b82356134118161335e565b946020939093013593505050565b62ffffff8116811461192357600080fd5b60006020828403121561344257600080fd5b8135612f4b8161341f565b60008060006060848603121561346257600080fd5b83356133948161302d565b64ffffffffff8116811461192357600080fd5b60008060008060008060c0878903121561349957600080fd5b86356134a4816131b0565b955060208701356001600160401b03808211156134c057600080fd5b6134cc8a838b016130f9565b9650604089013595506134e160608a0161327a565b9450608089013591506134f38261346d565b90925060a0880135908082111561350957600080fd5b5061326d89828a016130f9565b60006020828403121561352857600080fd5b5035919050565b6000806040838503121561354257600080fd5b823561354d8161302d565b9150602083013561355d8161302d565b809150509250929050565b60006020828403121561357a57600080fd5b8151612f4b8161341f565b600181811c9082168061359957607f821691505b6020821081036135b957634e487b7160e01b600052602260045260246000fd5b50919050565b805161328e816131d4565b6000602082840312156135dc57600080fd5b8151612f4b816131d4565b805161328e816131b0565b60006020828403121561360457600080fd5b8151612f4b816131b0565b601f82111561365957600081815260208120601f850160051c810160208610156136365750805b601f850160051c820191505b8181101561365557828155600101613642565b5050505b505050565b81516001600160401b0381111561367757613677613042565b61368b816136858454613585565b8461360f565b602080601f8311600181146136c057600084156136a85750858301515b600019600386901b1c1916600185901b178555613655565b600085815260208120601f198616915b828110156136ef578886015182559484019460019091019084016136d0565b508582101561370d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b038116811461192357600080fd5b60006020828403121561374457600080fd5b8151612f4b8161371d565b6001600160601b03831681526040602082015260006130256040830184612f76565b60006020828403121561378357600080fd5b8151612f4b8161335e565b6000602082840312156137a057600080fd5b5051919050565b82815260406020820152600082516101208060408501526137cc610160850183612f76565b91506020850151606085015260408501516080850152606085015160a0850152608085015161380360c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c085015161010061382b8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526138548282612f76565b9695505050505050565b6001600160401b0360c01b815116825260208101511515602083015260006040820151606060408501526130256060850182612f76565b6001600160601b03841681526060602082015260006138b7606083018561385e565b905060ff83166040830152949350505050565b6000602082840312156138dc57600080fd5b8151612f4b8161302d565b805161328e8161302d565b600081830360a081121561390557600080fd5b604051608081018181106001600160401b038211171561392757613927613042565b6040528351613935816131b0565b815260208401516139458161302d565b60208201526040603f198301121561395c57600080fd5b613964613058565b604085810151825260608601516020830152820152608084015191506139898261302d565b60608101919091529392505050565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152909101516060808501919091529091015116608090910152565b6001600160601b038416815260e08101613a006020830185613998565b60ff831660c0830152949350505050565b805161328e816131c5565b6000613a2a613118846130d2565b9050828152838383011115613a3e57600080fd5b612f4b836020830184612f52565b600082601f830112613a5d57600080fd5b612f4b83835160208501613a1c565b600060208284031215613a7e57600080fd5b81516001600160401b0380821115613a9557600080fd5b9083019060e08286031215613aa957600080fd5b613ab1613080565b613aba836135e7565b8152613ac8602084016135e7565b6020820152613ad960408401613a11565b6040820152613aea606084016135bf565b6060820152613afb608084016138e7565b6080820152613b0c60a084016138e7565b60a082015260c083015182811115613b2357600080fd5b613b2f87828601613a4c565b60c08301525095945050505050565b6001600160601b038316815260c08101612f4b6020830184613998565b600060208284031215613b6d57600080fd5b81516001600160401b03811115613b8357600080fd5b8201601f81018413613b9457600080fd5b61302584825160208401613a1c565b6001600160601b03841681526001600160a01b0383166020820152606060408201819052600090613bd690830184612f76565b95945050505050565b6001600160601b0383168152604060208201526000613025604083018461385e565b828152604060208201526001600160601b0382511660408201526000602083015160e06060840152613c37610120840182612f76565b90506040840151608084015263ffffffff60608501511660a08401526080840151613c6a60c085018263ffffffff169052565b5060a084015164ffffffffff1660e084015260c0840151838203603f19016101008501526138548282612f76565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613cc057600080fd5b8151612f4b816131c5565b600060208284031215613cdd57600080fd5b8151612f4b8161346d565b60008060408385031215613cfb57600080fd5b8251613d068161302d565b602084015190925061355d8161302d56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212204797e16faf4bfc30f0e4ee53397ff74aeb402327ea3a6323f6509df2fc94bca664736f6c63430008140033",
951
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102115760003560e01c80635ab1bd5311610125578063b68d1809116100ad578063cde749f41161007c578063cde749f4146105f0578063ea866572146105f8578063f21de1e8146104d8578063f7c34ee01461060b578063f7d39dea1461061e57600080fd5b8063b68d1809146105b8578063b88da759146105cd578063caf4e3d4146105e0578063cc9fc59a146105e857600080fd5b8063893d20e8116100f4578063893d20e8146105415780638dd2b78114610549578063946dfcfe1461055c578063ada9652e14610583578063b3c650151461059857600080fd5b80635ab1bd53146104d85780635dcb3bae146104fd578063644c45e014610510578063675393bf1461052e57600080fd5b80632a904018116101a85780633f52c0f6116101775780633f52c0f61461035b5780634420e4861461036e5780634cf30a84146103995780634d459c90146103ac5780634f421333146104c557600080fd5b80632a904018146103015780632b5198b11461031457806336fc697e146103405780633d683fd91461034857600080fd5b80631647f91e116101e45780631647f91e146102935780631eff4b22146102a6578063214cdb80146102db57806327bb7a33146102ee57600080fd5b806301ffc9a7146102165780630d8e6e2c146102585780630fec111c14610274578063138461e014610289575b600080fd5b610243610224366004612f21565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610260610631565b60405162ffffff909116815260200161024f565b61027c6106bb565b60405161024f9190612fa2565b61029161086f565b005b6102916102a136600461314f565b610a76565b6102cd7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102916102e9366004612f21565b610b7f565b6102916102fc3660046131e2565b610bac565b61029161030f36600461314f565b610c48565b610327610322366004613293565b610da2565b6040516001600160c01b0319909116815260200161024f565b610291610fe0565b610291610356366004613374565b611026565b6102916103693660046133a4565b6110c3565b61038161037c3660046133d6565b611226565b6040516001600160601b03909116815260200161024f565b6102916103a73660046133f3565b611594565b6104686103ba366004613430565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613d5883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161024f565b6102436104d3366004613430565b6115d2565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161024f565b61038161050b36600461344d565b611685565b600080516020613d18833981519152546001600160601b0316610381565b61029161053c3660046133d6565b611818565b6104e5611926565b610327610557366004613480565b611a5d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102cd565b6102cd600080516020613d1883398151915281565b6105a0611cc6565b6040516001600160401b03909116815260200161024f565b60785b60405160ff909116815260200161024f565b6102606105db366004613516565b611ce7565b6104e5611d38565b6104e5611dd5565b6105bb611dff565b61029161060636600461352f565b611e82565b61029161061936600461352f565b611ef5565b6102cd61062c3660046133f3565b611f6c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610692573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b69190613568565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061076b90613585565b80601f016020809104026020016040519081016040528092919081815260200182805461079790613585565b80156107e45780601f106107b9576101008083540402835291602001916107e4565b820191906000526020600020905b8154815290600101906020018083116107c757829003601f168201915b50505050508152505090506040518060e00160405280610802600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610853611926565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020613d1883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090291906135ca565b156109335780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109466001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561098e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b291906135ca565b6109da5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161092a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5291906135f2565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600080516020613d388339815191528054600160401b810460ff1615906001600160401b0316600081158015610aa95750825b90506000826001600160401b03166001148015610ac55750303b155b905081158015610ad3575080155b15610af15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b1b57845460ff60401b1916600160401b1785555b610b258888611fad565b610b2f878761224c565b8315610b7557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b610b87612376565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610bb4612376565b610bbe8287611ef5565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610c2e838261365e565b50610c3f6303fb044760e21b610b7f565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c6a610631565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610caa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cce9190613732565b600080516020613d388339815191528054600160401b900460ff1680610d01575080546001600160401b03808416911610155b15610d1f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d4a8585611fad565b610d53836123af565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000806000610daf6123b7565b925092505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401610ded92919061374f565b602060405180830381865af4158015610e0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2e9190613771565b6040516355ee627560e01b81526001600160c01b03198216600482015290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610e8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb1919061378e565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d91906135ca565b610fd05760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890610f9c90859085906004016137a7565b600060405180830381600087803b158015610fb657600080fd5b505af1158015610fca573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b610fe8612376565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006110306123b7565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163051cf2fd60e41b815291945092506001600160a01b03841691506351cf2fd09061108a908890859060ff90600401613895565b600060405180830381600087803b1580156110a457600080fd5b505af11580156110b8573d6000803e3d6000fd5b505050505050505050565b6000806110d06078612442565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611114573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113891906138ca565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160a060405180830381865afa15801561118e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b291906138f2565b60408181018890525163ccdcd37f60e01b81529091506001600160a01b0385169063ccdcd37f906111ec908590859060ff906004016139e3565b600060405180830381600087803b15801561120657600080fd5b505af115801561121a573d6000803e3d6000fd5b50505050505050505050565b60008080808061123f86607861123a6126e4565b61275b565b93509350935093506000611251611d38565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af11580156112a3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112cb9190810190613a6c565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561130d57600080fd5b505af1158015611321573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663f651dcac88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040160a060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139e91906138f2565b6040518363ffffffff1660e01b81526004016113bb929190613b3e565b600060405180830381600087803b1580156113d557600080fd5b505af11580156113e9573d6000803e3d6000fd5b505050506113f5611dd5565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611443573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261146b9190810190613b5b565b6040518463ffffffff1660e01b815260040161148993929190613ba3565b600060405180830381600087803b1580156114a357600080fd5b505af11580156114b7573d6000803e3d6000fd5b505050506114c3611dd5565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611511573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115399190810190613b5b565b6040518463ffffffff1660e01b815260040161155793929190613ba3565b600060405180830381600087803b15801561157157600080fd5b505af1158015611585573d6000803e3d6000fd5b50505050505050505050919050565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260640161092a565b600080600080516020613d5883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561165a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167e919061378e565b1192915050565b60008060006116926123b7565b925092505061169f611d38565b6001600160a01b03166357a8fba76040518060e001604052806116c0600090565b6001600160601b03168152602001856001600160601b031681526020016116e5607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016117449190612fa2565b6020604051808303816000875af1158015611763573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178791906135f2565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163b405b76f60e01b8152919450906001600160a01b0383169063b405b76f906117dc9087908590600401613bdf565b600060405180830381600087803b1580156117f657600080fd5b505af115801561180a573d6000803e3d6000fd5b505050505050509392505050565b611820612376565b806001600160a01b03163b6000036118565760405163fdeac91f60e01b81526001600160a01b038216600482015260240161092a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156118d0575060408051601f3d908101601f191682019092526118cd918101906135ca565b60015b6118f85760405163fdeac91f60e01b81526001600160a01b038216600482015260240161092a565b806119215760405163fdeac91f60e01b81526001600160a01b038316600482015260240161092a565b505b50565b600080600080516020613d1883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ba91906135ca565b15611a47576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4191906138ca565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000611a6a6123b7565b92509250506000885111611ac05760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4453562d3033303a434f44455f494e56414c4944000000000000604482015260640161092a565b64ffffffffff8516611b145760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4453562d3033313a4558504952595f41545f5a45524f00000000604482015260640161092a565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690611b4d9085908c9060040161374f565b602060405180830381865af4158015611b6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b8e9190613771565b6040805160e0810182526001600160601b038c168152602081018b90528082018a905263ffffffff891660608201526000608082015264ffffffffff881660a082015260c0810187905290516355ee627560e01b81526001600160c01b031983166004820152919450906001600160a01b038316906354d747a89073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015611c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c69919061378e565b836040518363ffffffff1660e01b8152600401611c87929190613c01565b600060405180830381600087803b158015611ca157600080fd5b505af1158015611cb5573d6000803e3d6000fd5b505050505050509695505050505050565b60006106b6600080516020613d38833981519152546001600160401b031690565b6000600080516020613d588339815191526001018281548110611d0c57611d0c613c98565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611d4d6001546001600160a01b031690565b6001600160a01b031663d39e604360285b611d66611dff565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcf91906138ca565b92915050565b600080611dea6001546001600160a01b031690565b6001600160a01b031663d39e60436046611d5e565b6000611e09610631565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611e5e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b69190613cae565b611e8a612376565b60006078611e96611dff565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611ecb84612b35565b90506000611ede8583603c848888610bac565b611eee637b6a51fd60e01b610b7f565b5050505050565b611efd612376565b611f0681611818565b611f0e610fe0565b6001600160a01b038216611f355760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613d1883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260009060640161092a565b611fb5612376565b600080516020613d588339815191526000611fe5600080516020613d38833981519152546001600160401b031690565b90506000611ff1610631565b9050816001600160401b031660010361201e5760028301805462ffffff191662ffffff831617905561206c565b600283015462ffffff9081169082161161206c5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161092a565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612120573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121449190613ccb565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610d939083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b600080516020613d388339815191528054600160401b810460ff1615906001600160401b031660008115801561227f5750825b90506000826001600160401b0316600114801561229b5750303b155b9050811580156122a9575080155b156122c75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156122f157845460ff60401b1916600160401b1785555b600080878060200190518101906123089190613ce8565b92509050612316818a611e82565b6123266342527cdf60e01b610b7f565b50508315610c3f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b600080516020613d3883398151915254600160401b900460ff166123ad57604051631afcd79f60e31b815260040160405180910390fd5b565b610211612376565b6000806000806123c5612ba0565b92965090945090925090506123e28160785b60ff90811691161490565b61243c5760405162461bcd60e51b815260206004820152602560248201527f4552524f523a5052532d3033313a43414c4c45525f4e4f545f444953545255426044820152642aaa24a7a760d91b606482015260840161092a565b50909192565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156124d1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124f99190810190613a6c565b925061250f83604001518560ff90811691161490565b6125515760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161092a565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156125a7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125cf9190810190613a6c565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612618573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061263c91906138ca565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612689573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ad91906135ca565b156126dc57608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161092a565b505050915091565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612737573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b69190613732565b6000338180806127736001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa1580156127bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127df91906135f2565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561283a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285e91906135ca565b156128955760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440161092a565b6040516301ffc9a760e01b8152639bdd1ccd60e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa1580156128e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061290791906135ca565b61292f576040516359bff0e360e11b81526001600160a01b038916600482015260240161092a565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561296f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129979190810190613a6c565b90506129ae81604001518960ff9081169116141590565b156129ee576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640161092a565b60a08101516001600160a01b0386811690821614612a405760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640161092a565b81602001519350612a5084612e8a565b94506000612a5c611dd5565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015612abb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612adf91906135ca565b905080612b2857604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b038816604482015260640161092a565b5050505093509350935093565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612b7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcf91906135f2565b3360008080612bb76001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa158015612bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c2391906135f2565b6040516330b8415f60e01b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612c7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca291906135ca565b612cee5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5352562d3033303a43414c4c45525f554e4b4e4f574e00000000604482015260640161092a565b6000612d026001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612d51573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612d799190810190613a6c565b9050806040015192506000612d966001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612deb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612e139190810190613a6c565b9050612e2581604001516123d7604690565b612e7b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5352562d3033313a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161092a565b80608001519250505090919293565b600080612e9f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612eee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f169190810190613a6c565b608001519392505050565b600060208284031215612f3357600080fd5b81356001600160e01b031981168114612f4b57600080fd5b9392505050565b60005b83811015612f6d578181015183820152602001612f55565b50506000910152565b60008151808452612f8e816020860160208601612f52565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161300b60c08401826001600160a01b03169052565b5060c083015160e080840152613025610100840182612f76565b949350505050565b6001600160a01b038116811461192357600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561307a5761307a613042565b60405290565b60405160e081016001600160401b038111828210171561307a5761307a613042565b604051601f8201601f191681016001600160401b03811182821017156130ca576130ca613042565b604052919050565b60006001600160401b038211156130eb576130eb613042565b50601f01601f191660200190565b600082601f83011261310a57600080fd5b813561311d613118826130d2565b6130a2565b81815284602083860101111561313257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561316457600080fd5b833561316f8161302d565b9250602084013561317f8161302d565b915060408401356001600160401b0381111561319a57600080fd5b6131a6868287016130f9565b9150509250925092565b6001600160601b038116811461192357600080fd5b60ff8116811461192357600080fd5b801515811461192357600080fd5b60008060008060008060c087890312156131fb57600080fd5b86356132068161302d565b95506020870135613216816131b0565b94506040870135613226816131c5565b93506060870135613236816131d4565b925060808701356132468161302d565b915060a08701356001600160401b0381111561326157600080fd5b61326d89828a016130f9565b9150509295509295509295565b803563ffffffff8116811461328e57600080fd5b919050565b60008060008060008060008060006101208a8c0312156132b257600080fd5b89356001600160401b03808211156132c957600080fd5b6132d58d838e016130f9565b9a5060208c0135995060408c0135985060608c013597506132f860808d0161327a565b965061330660a08d0161327a565b955060c08c01359150613318826131d4565b90935060e08b01359061332a826131d4565b9092506101008b0135908082111561334157600080fd5b5061334e8c828d016130f9565b9150509295985092959850929598565b6001600160c01b03198116811461192357600080fd5b60008060006060848603121561338957600080fd5b8335613394816131b0565b9250602084013561317f8161335e565b6000604082840312156133b657600080fd5b6133be613058565b82358152602083013560208201528091505092915050565b6000602082840312156133e857600080fd5b8135612f4b8161302d565b6000806040838503121561340657600080fd5b82356134118161335e565b946020939093013593505050565b62ffffff8116811461192357600080fd5b60006020828403121561344257600080fd5b8135612f4b8161341f565b60008060006060848603121561346257600080fd5b83356133948161302d565b64ffffffffff8116811461192357600080fd5b60008060008060008060c0878903121561349957600080fd5b86356134a4816131b0565b955060208701356001600160401b03808211156134c057600080fd5b6134cc8a838b016130f9565b9650604089013595506134e160608a0161327a565b9450608089013591506134f38261346d565b90925060a0880135908082111561350957600080fd5b5061326d89828a016130f9565b60006020828403121561352857600080fd5b5035919050565b6000806040838503121561354257600080fd5b823561354d8161302d565b9150602083013561355d8161302d565b809150509250929050565b60006020828403121561357a57600080fd5b8151612f4b8161341f565b600181811c9082168061359957607f821691505b6020821081036135b957634e487b7160e01b600052602260045260246000fd5b50919050565b805161328e816131d4565b6000602082840312156135dc57600080fd5b8151612f4b816131d4565b805161328e816131b0565b60006020828403121561360457600080fd5b8151612f4b816131b0565b601f82111561365957600081815260208120601f850160051c810160208610156136365750805b601f850160051c820191505b8181101561365557828155600101613642565b5050505b505050565b81516001600160401b0381111561367757613677613042565b61368b816136858454613585565b8461360f565b602080601f8311600181146136c057600084156136a85750858301515b600019600386901b1c1916600185901b178555613655565b600085815260208120601f198616915b828110156136ef578886015182559484019460019091019084016136d0565b508582101561370d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b038116811461192357600080fd5b60006020828403121561374457600080fd5b8151612f4b8161371d565b6001600160601b03831681526040602082015260006130256040830184612f76565b60006020828403121561378357600080fd5b8151612f4b8161335e565b6000602082840312156137a057600080fd5b5051919050565b82815260406020820152600082516101208060408501526137cc610160850183612f76565b91506020850151606085015260408501516080850152606085015160a0850152608085015161380360c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c085015161010061382b8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526138548282612f76565b9695505050505050565b6001600160401b0360c01b815116825260208101511515602083015260006040820151606060408501526130256060850182612f76565b6001600160601b03841681526060602082015260006138b7606083018561385e565b905060ff83166040830152949350505050565b6000602082840312156138dc57600080fd5b8151612f4b8161302d565b805161328e8161302d565b600081830360a081121561390557600080fd5b604051608081018181106001600160401b038211171561392757613927613042565b6040528351613935816131b0565b815260208401516139458161302d565b60208201526040603f198301121561395c57600080fd5b613964613058565b604085810151825260608601516020830152820152608084015191506139898261302d565b60608101919091529392505050565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152909101516060808501919091529091015116608090910152565b6001600160601b038416815260e08101613a006020830185613998565b60ff831660c0830152949350505050565b805161328e816131c5565b6000613a2a613118846130d2565b9050828152838383011115613a3e57600080fd5b612f4b836020830184612f52565b600082601f830112613a5d57600080fd5b612f4b83835160208501613a1c565b600060208284031215613a7e57600080fd5b81516001600160401b0380821115613a9557600080fd5b9083019060e08286031215613aa957600080fd5b613ab1613080565b613aba836135e7565b8152613ac8602084016135e7565b6020820152613ad960408401613a11565b6040820152613aea606084016135bf565b6060820152613afb608084016138e7565b6080820152613b0c60a084016138e7565b60a082015260c083015182811115613b2357600080fd5b613b2f87828601613a4c565b60c08301525095945050505050565b6001600160601b038316815260c08101612f4b6020830184613998565b600060208284031215613b6d57600080fd5b81516001600160401b03811115613b8357600080fd5b8201601f81018413613b9457600080fd5b61302584825160208401613a1c565b6001600160601b03841681526001600160a01b0383166020820152606060408201819052600090613bd690830184612f76565b95945050505050565b6001600160601b0383168152604060208201526000613025604083018461385e565b828152604060208201526001600160601b0382511660408201526000602083015160e06060840152613c37610120840182612f76565b90506040840151608084015263ffffffff60608501511660a08401526080840151613c6a60c085018263ffffffff169052565b5060a084015164ffffffffff1660e084015260c0840151838203603f19016101008501526138548282612f76565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613cc057600080fd5b8151612f4b816131c5565b600060208284031215613cdd57600080fd5b8151612f4b8161346d565b60008060408385031215613cfb57600080fd5b8251613d068161302d565b602084015190925061355d8161302d56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212204797e16faf4bfc30f0e4ee53397ff74aeb402327ea3a6323f6509df2fc94bca664736f6c63430008140033",
952
+ "linkReferences": {
953
+ "contracts/types/Blocknumber.sol": {
954
+ "BlocknumberLib": [
955
+ {
956
+ "length": 20,
957
+ "start": 5894
958
+ }
959
+ ]
960
+ },
961
+ "contracts/types/DistributorType.sol": {
962
+ "DistributorTypeLib": [
963
+ {
964
+ "length": 20,
965
+ "start": 3740
966
+ },
967
+ {
968
+ "length": 20,
969
+ "start": 3897
970
+ }
971
+ ]
972
+ },
973
+ "contracts/types/NftId.sol": {
974
+ "NftIdLib": [
975
+ {
976
+ "length": 20,
977
+ "start": 2442
978
+ },
979
+ {
980
+ "length": 20,
981
+ "start": 6722
982
+ },
983
+ {
984
+ "length": 20,
985
+ "start": 10470
986
+ },
987
+ {
988
+ "length": 20,
989
+ "start": 11562
990
+ }
991
+ ]
992
+ },
993
+ "contracts/types/Referral.sol": {
994
+ "ReferralLib": [
995
+ {
996
+ "length": 20,
997
+ "start": 7177
998
+ },
999
+ {
1000
+ "length": 20,
1001
+ "start": 7409
1002
+ }
1003
+ ]
1004
+ },
1005
+ "contracts/types/RoleId.sol": {
1006
+ "RoleIdLib": [
1007
+ {
1008
+ "length": 20,
1009
+ "start": 10211
1010
+ }
1011
+ ]
1012
+ },
1013
+ "contracts/types/Timestamp.sol": {
1014
+ "TimestampLib": [
1015
+ {
1016
+ "length": 20,
1017
+ "start": 8652
1018
+ }
1019
+ ]
1020
+ },
1021
+ "contracts/types/Version.sol": {
1022
+ "VersionLib": [
1023
+ {
1024
+ "length": 20,
1025
+ "start": 1854
1026
+ },
1027
+ {
1028
+ "length": 20,
1029
+ "start": 3376
1030
+ },
1031
+ {
1032
+ "length": 20,
1033
+ "start": 7946
1034
+ }
1035
+ ]
1036
+ }
1037
+ },
1038
+ "deployedLinkReferences": {
1039
+ "contracts/types/Blocknumber.sol": {
1040
+ "BlocknumberLib": [
1041
+ {
1042
+ "length": 20,
1043
+ "start": 5664
1044
+ }
1045
+ ]
1046
+ },
1047
+ "contracts/types/DistributorType.sol": {
1048
+ "DistributorTypeLib": [
1049
+ {
1050
+ "length": 20,
1051
+ "start": 3510
1052
+ },
1053
+ {
1054
+ "length": 20,
1055
+ "start": 3667
1056
+ }
1057
+ ]
1058
+ },
1059
+ "contracts/types/NftId.sol": {
1060
+ "NftIdLib": [
1061
+ {
1062
+ "length": 20,
1063
+ "start": 2212
1064
+ },
1065
+ {
1066
+ "length": 20,
1067
+ "start": 6492
1068
+ },
1069
+ {
1070
+ "length": 20,
1071
+ "start": 10240
1072
+ },
1073
+ {
1074
+ "length": 20,
1075
+ "start": 11332
1076
+ }
1077
+ ]
1078
+ },
1079
+ "contracts/types/Referral.sol": {
1080
+ "ReferralLib": [
1081
+ {
1082
+ "length": 20,
1083
+ "start": 6947
1084
+ },
1085
+ {
1086
+ "length": 20,
1087
+ "start": 7179
1088
+ }
1089
+ ]
1090
+ },
1091
+ "contracts/types/RoleId.sol": {
1092
+ "RoleIdLib": [
1093
+ {
1094
+ "length": 20,
1095
+ "start": 9981
1096
+ }
1097
+ ]
1098
+ },
1099
+ "contracts/types/Timestamp.sol": {
1100
+ "TimestampLib": [
1101
+ {
1102
+ "length": 20,
1103
+ "start": 8422
1104
+ }
1105
+ ]
1106
+ },
1107
+ "contracts/types/Version.sol": {
1108
+ "VersionLib": [
1109
+ {
1110
+ "length": 20,
1111
+ "start": 1624
1112
+ },
1113
+ {
1114
+ "length": 20,
1115
+ "start": 3146
1116
+ },
1117
+ {
1118
+ "length": 20,
1119
+ "start": 7716
1120
+ }
1121
+ ]
1122
+ }
1123
+ }
1124
+ }