@etherisc/gif-next 0.0.2-eb7397c → 0.0.2-eb98db7-932

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