@etherisc/gif-next 0.0.2-be8b468-276 → 0.0.2-bfb44e0-483

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. package/README.md +136 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +897 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +972 -209
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → components/IComponent.sol/IComponent.json} +191 -152
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +752 -6
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +676 -31
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +661 -5
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +875 -299
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +695 -180
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  33. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  39. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  40. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  41. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  42. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
  43. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  44. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2056 -113
  45. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  46. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +214 -20
  47. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  48. package/artifacts/contracts/instance/Instance.sol/Instance.json +559 -752
  49. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  50. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
  51. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  52. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +179 -76
  53. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  54. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +550 -77
  55. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  56. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +194 -32
  57. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  58. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  59. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  60. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/base/ComponentService.sol/ComponentService.json} +321 -9
  61. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  62. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  63. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  64. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
  65. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  66. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  69. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1117 -0
  77. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1318 -0
  79. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +586 -0
  81. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +576 -41
  83. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +198 -24
  85. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +223 -51
  87. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +798 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +229 -19
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +784 -0
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +34 -83
  95. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +44 -246
  97. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1378 -0
  99. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +642 -0
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +957 -0
  103. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +574 -0
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +1007 -0
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +574 -0
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +208 -224
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +240 -94
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +222 -330
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +221 -107
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +181 -105
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +150 -29
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +37 -0
  133. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +18 -5
  137. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  138. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +69 -0
  139. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  140. package/artifacts/contracts/shared/IService.sol/IService.json +32 -19
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +156 -11
  145. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  146. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +269 -0
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +156 -6
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +152 -11
  151. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  152. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +105 -0
  153. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  154. package/artifacts/contracts/shared/Service.sol/Service.json +178 -19
  155. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  156. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  157. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  158. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -2
  160. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +152 -11
  163. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  165. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestService.sol/TestService.json +196 -37
  167. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -8
  171. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  172. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  184. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  187. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
  189. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  191. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  193. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  199. package/contracts/components/Component.sol +236 -0
  200. package/contracts/components/Distribution.sol +198 -66
  201. package/contracts/components/IComponent.sol +50 -0
  202. package/contracts/components/IDistributionComponent.sol +58 -4
  203. package/contracts/components/IPoolComponent.sol +54 -29
  204. package/contracts/components/IProductComponent.sol +7 -3
  205. package/contracts/components/Pool.sol +153 -157
  206. package/contracts/components/Product.sol +109 -128
  207. package/contracts/instance/BundleManager.sol +125 -0
  208. package/contracts/instance/Cloneable.sol +46 -0
  209. package/contracts/instance/IInstance.sol +63 -10
  210. package/contracts/instance/IInstanceService.sol +33 -4
  211. package/contracts/instance/Instance.sol +104 -266
  212. package/contracts/instance/InstanceAccessManager.sol +87 -78
  213. package/contracts/instance/InstanceReader.sol +29 -26
  214. package/contracts/instance/InstanceService.sol +361 -90
  215. package/contracts/instance/InstanceServiceManager.sol +10 -12
  216. package/contracts/instance/ObjectManager.sol +84 -0
  217. package/contracts/instance/base/ComponentService.sol +134 -0
  218. package/contracts/instance/module/IAccess.sol +27 -18
  219. package/contracts/instance/module/IBundle.sol +1 -0
  220. package/contracts/instance/module/ISetup.sol +7 -3
  221. package/contracts/instance/service/ApplicationService.sol +268 -0
  222. package/contracts/instance/service/BundleService.sol +298 -0
  223. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  224. package/contracts/instance/service/DistributionService.sol +214 -36
  225. package/contracts/instance/service/DistributionServiceManager.sol +10 -12
  226. package/contracts/instance/service/IApplicationService.sol +82 -0
  227. package/contracts/instance/service/IBundleService.sol +54 -0
  228. package/contracts/instance/service/IDistributionService.sol +53 -0
  229. package/contracts/instance/service/IPolicyService.sol +88 -0
  230. package/contracts/instance/service/IPoolService.sol +6 -23
  231. package/contracts/instance/service/IProductService.sol +6 -73
  232. package/contracts/instance/service/PolicyService.sol +524 -0
  233. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  234. package/contracts/instance/service/PoolService.sol +109 -0
  235. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  236. package/contracts/instance/service/ProductService.sol +233 -0
  237. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  238. package/contracts/registry/ChainNft.sol +1 -1
  239. package/contracts/registry/IRegistry.sol +38 -33
  240. package/contracts/registry/IRegistryService.sol +45 -13
  241. package/contracts/registry/Registry.sol +223 -250
  242. package/contracts/registry/RegistryAccessManager.sol +216 -0
  243. package/contracts/registry/RegistryService.sol +86 -224
  244. package/contracts/registry/RegistryServiceManager.sol +18 -36
  245. package/contracts/registry/ReleaseManager.sol +332 -0
  246. package/contracts/registry/TokenRegistry.sol +11 -9
  247. package/contracts/shared/ERC165.sol +12 -11
  248. package/contracts/shared/INftOwnable.sol +12 -6
  249. package/contracts/shared/IPolicyHolder.sol +26 -0
  250. package/contracts/shared/IRegisterable.sol +4 -6
  251. package/contracts/shared/IRegistryLinked.sol +15 -0
  252. package/contracts/shared/IService.sol +2 -1
  253. package/contracts/shared/IVersionable.sol +2 -2
  254. package/contracts/shared/NftOwnable.sol +114 -60
  255. package/contracts/shared/PolicyHolder.sol +81 -0
  256. package/contracts/shared/ProxyManager.sol +6 -5
  257. package/contracts/shared/Registerable.sol +15 -24
  258. package/contracts/shared/RegistryLinked.sol +64 -0
  259. package/contracts/shared/Service.sol +19 -13
  260. package/contracts/shared/Versionable.sol +3 -2
  261. package/contracts/test/TestRegisterable.sol +1 -1
  262. package/contracts/test/TestService.sol +4 -3
  263. package/contracts/types/DistributorType.sol +2 -2
  264. package/contracts/types/NftIdSet.sol +26 -24
  265. package/contracts/types/ObjectType.sol +6 -2
  266. package/contracts/types/RoleId.sol +10 -8
  267. package/package.json +3 -3
  268. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  269. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  270. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  271. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  272. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  273. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  274. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  275. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  276. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  277. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  278. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  279. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  280. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  281. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  282. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  283. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  284. package/contracts/components/BaseComponent.sol +0 -91
  285. package/contracts/components/IBaseComponent.sol +0 -25
  286. package/contracts/instance/AccessManagedSimple.sol +0 -115
  287. package/contracts/instance/AccessManagerSimple.sol +0 -692
  288. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  289. package/contracts/instance/base/ComponentServiceBase.sol +0 -39
  290. package/contracts/instance/base/IInstanceBase.sol +0 -23
  291. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  292. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  293. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -5,19 +5,81 @@
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
8
  {
14
9
  "internalType": "NftId",
15
- "name": "instanceNftId",
10
+ "name": "bundleNftId",
16
11
  "type": "uint96"
17
12
  }
18
13
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
14
+ "name": "getBundleInfo",
15
+ "outputs": [
16
+ {
17
+ "components": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "poolNftId",
21
+ "type": "uint96"
22
+ },
23
+ {
24
+ "components": [
25
+ {
26
+ "internalType": "UFixed",
27
+ "name": "fractionalFee",
28
+ "type": "uint256"
29
+ },
30
+ {
31
+ "internalType": "uint256",
32
+ "name": "fixedFee",
33
+ "type": "uint256"
34
+ }
35
+ ],
36
+ "internalType": "struct Fee",
37
+ "name": "fee",
38
+ "type": "tuple"
39
+ },
40
+ {
41
+ "internalType": "bytes",
42
+ "name": "filter",
43
+ "type": "bytes"
44
+ },
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "capitalAmount",
48
+ "type": "uint256"
49
+ },
50
+ {
51
+ "internalType": "uint256",
52
+ "name": "lockedAmount",
53
+ "type": "uint256"
54
+ },
55
+ {
56
+ "internalType": "uint256",
57
+ "name": "balanceAmount",
58
+ "type": "uint256"
59
+ },
60
+ {
61
+ "internalType": "uint256",
62
+ "name": "lifetime",
63
+ "type": "uint256"
64
+ },
65
+ {
66
+ "internalType": "Timestamp",
67
+ "name": "expiredAt",
68
+ "type": "uint40"
69
+ },
70
+ {
71
+ "internalType": "Timestamp",
72
+ "name": "closedAt",
73
+ "type": "uint40"
74
+ }
75
+ ],
76
+ "internalType": "struct IBundle.BundleInfo",
77
+ "name": "info",
78
+ "type": "tuple"
79
+ }
80
+ ],
81
+ "stateMutability": "view",
82
+ "type": "function"
21
83
  },
22
84
  {
23
85
  "inputs": [
@@ -82,11 +144,6 @@
82
144
  "name": "distributionFee",
83
145
  "type": "tuple"
84
146
  },
85
- {
86
- "internalType": "bool",
87
- "name": "isIntercepting",
88
- "type": "bool"
89
- },
90
147
  {
91
148
  "internalType": "address",
92
149
  "name": "wallet",
@@ -216,19 +273,6 @@
216
273
  "stateMutability": "view",
217
274
  "type": "function"
218
275
  },
219
- {
220
- "inputs": [],
221
- "name": "getInstanceNftId",
222
- "outputs": [
223
- {
224
- "internalType": "NftId",
225
- "name": "nftId",
226
- "type": "uint96"
227
- }
228
- ],
229
- "stateMutability": "view",
230
- "type": "function"
231
- },
232
276
  {
233
277
  "inputs": [],
234
278
  "name": "getInstanceStore",
@@ -389,6 +433,25 @@
389
433
  "stateMutability": "view",
390
434
  "type": "function"
391
435
  },
436
+ {
437
+ "inputs": [
438
+ {
439
+ "internalType": "NftId",
440
+ "name": "policyNftId",
441
+ "type": "uint96"
442
+ }
443
+ ],
444
+ "name": "getPolicyState",
445
+ "outputs": [
446
+ {
447
+ "internalType": "StateId",
448
+ "name": "state",
449
+ "type": "uint8"
450
+ }
451
+ ],
452
+ "stateMutability": "view",
453
+ "type": "function"
454
+ },
392
455
  {
393
456
  "inputs": [
394
457
  {
@@ -411,11 +474,31 @@
411
474
  "name": "tokenHandler",
412
475
  "type": "address"
413
476
  },
477
+ {
478
+ "internalType": "bool",
479
+ "name": "isInterceptingBundleTransfers",
480
+ "type": "bool"
481
+ },
482
+ {
483
+ "internalType": "bool",
484
+ "name": "isExternallyManaged",
485
+ "type": "bool"
486
+ },
487
+ {
488
+ "internalType": "bool",
489
+ "name": "isVerifyingApplications",
490
+ "type": "bool"
491
+ },
414
492
  {
415
493
  "internalType": "UFixed",
416
494
  "name": "collateralizationLevel",
417
495
  "type": "uint256"
418
496
  },
497
+ {
498
+ "internalType": "UFixed",
499
+ "name": "retentionLevel",
500
+ "type": "uint256"
501
+ },
419
502
  {
420
503
  "components": [
421
504
  {
@@ -467,11 +550,6 @@
467
550
  "name": "performanceFee",
468
551
  "type": "tuple"
469
552
  },
470
- {
471
- "internalType": "bool",
472
- "name": "isIntercepting",
473
- "type": "bool"
474
- },
475
553
  {
476
554
  "internalType": "address",
477
555
  "name": "wallet",
@@ -619,6 +697,16 @@
619
697
  "internalType": "struct Fee",
620
698
  "name": "performanceFee",
621
699
  "type": "tuple"
700
+ },
701
+ {
702
+ "internalType": "bool",
703
+ "name": "isIntercepting",
704
+ "type": "bool"
705
+ },
706
+ {
707
+ "internalType": "address",
708
+ "name": "wallet",
709
+ "type": "address"
622
710
  }
623
711
  ],
624
712
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -886,9 +974,9 @@
886
974
  "type": "address"
887
975
  },
888
976
  {
889
- "internalType": "NftId",
890
- "name": "instanceNftId",
891
- "type": "uint96"
977
+ "internalType": "address",
978
+ "name": "instance",
979
+ "type": "address"
892
980
  }
893
981
  ],
894
982
  "name": "initialize",
@@ -896,6 +984,25 @@
896
984
  "stateMutability": "nonpayable",
897
985
  "type": "function"
898
986
  },
987
+ {
988
+ "inputs": [
989
+ {
990
+ "internalType": "NftId",
991
+ "name": "poolNftId",
992
+ "type": "uint96"
993
+ }
994
+ ],
995
+ "name": "toBundleKey",
996
+ "outputs": [
997
+ {
998
+ "internalType": "Key32",
999
+ "name": "",
1000
+ "type": "bytes32"
1001
+ }
1002
+ ],
1003
+ "stateMutability": "pure",
1004
+ "type": "function"
1005
+ },
899
1006
  {
900
1007
  "inputs": [
901
1008
  {
@@ -1078,14 +1185,14 @@
1078
1185
  "type": "function"
1079
1186
  }
1080
1187
  ],
1081
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002f3c38038062002f3c83398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b61293780620006056000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220ac331863c1ee13cf434ba24d3f0671504b26692a4d5105dd885332b2286df41564736f6c63430008140033",
1082
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220ac331863c1ee13cf434ba24d3f0671504b26692a4d5105dd885332b2286df41564736f6c63430008140033",
1188
+ "bytecode": "0x608060405234801561001057600080fd5b50612e51806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063bd7d9d8511610097578063dd26287a11610071578063dd26287a146104e3578063de7b5d14146104f6578063f2b246c314610507578063f7f318d31461052757600080fd5b8063bd7d9d8514610492578063d06458c6146104b2578063d4cda0d8146104d257600080fd5b80639ad69c67116100d35780639ad69c671461036c578063a310e2a3146103d0578063a5961b4c146103fb578063b82d7ef51461046857600080fd5b8063887b1fa9146103075780639096a1f31461032757806390af70641461034c57600080fd5b806344aa68361161016657806355e343a91161014057806355e343a9146102ae57806364eb3a9b146102ce5780637bfd3217146102e15780637e54602a146102f457600080fd5b806344aa6836146102665780634793b4ab14610279578063485cc9551461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc36600461193e565b61053a565b6040519081526020015b60405180910390f35b6101e76101e236600461198d565b6105c0565b6040516101cb91906119fa565b6101c1610202366004611aaa565b610712565b61021a610215366004611aaa565b6107b2565b6040516101cb9190611ac7565b6101c1610235366004611aaa565b61086c565b61024d610248366004611c72565b610899565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d04565b610916565b61028c610287366004611aaa565b610951565b6040516101cb9190611d1d565b6102ac6102a7366004611de6565b6109f7565b005b6102c16102bc366004611aaa565b610b02565b6040516101cb9190611e14565b6101c16102dc366004611aaa565b610ba8565b6101c16102ef366004611aaa565b610bd5565b6101c1610302366004611aaa565b610c02565b61031a61031536600461198d565b610c2f565b6040516101cb9190611f01565b61033a610335366004611aaa565b610d58565b60405160ff90911681526020016101cb565b61035f61035a366004611aaa565b610dd4565b6040516101cb9190611f2f565b61037f61037a366004611aaa565b610f2d565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091529092015116608082015260a0016101cb565b6103e36103de366004611aaa565b610fd3565b6040516001600160a01b0390911681526020016101cb565b61040e610409366004611d04565b611081565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047b61047636600461198d565b611115565b6040805192835260ff9091166020830152016101cb565b6104a56104a0366004611aaa565b6113bd565b6040516101cb9190612059565b6104c56104c036600461198d565b6114db565b6040516101cb919061219a565b6002546001600160a01b03166103e3565b6101c16104f1366004611aaa565b61164e565b6001546001600160a01b03166103e3565b61051a610515366004611aaa565b61167b565b6040516101cb919061224a565b6101c1610535366004611aaa565b6117c3565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b9919061234c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b919061234c565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee91908101906123aa565b80519091501561070c57808060200190518101906105b99190612420565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac919061234c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107eb85610c02565b6040518263ffffffff1660e01b815260040161080991815260200190565b600060405180830381865afa158015610826573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084e91908101906123aa565b80519091501561070c57808060200190518101906105b99190612519565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861073b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d590869086906004016125bf565b602060405180830381865af41580156108f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b991906125e1565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161076b565b6109596117f0565b6002546000906001600160a01b03166354f6127f610976856117c3565b6040518263ffffffff1660e01b815260040161099491815260200190565b600060405180830381865afa1580156109b1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109d991908101906123aa565b80519091501561070c57808060200190518101906105b9919061262e565b60005460ff1615610a595760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216610aaf5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401610a50565b60008054600180546001600160a01b039485166001600160a01b0319918216811783556002805490921617905560ff199390941661010002929092166001600160a81b0319909216919091179091179055565b610b0a61186e565b6002546000906001600160a01b03166354f6127f610b278561164e565b6040518263ffffffff1660e01b8152600401610b4591815260200190565b600060405180830381865afa158015610b62573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b8a91908101906123aa565b80519091501561070c57808060200190518101906105b99190612719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361073b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61073b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61073b565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610cb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd7919061234c565b6040518263ffffffff1660e01b8152600401610cf591815260200190565b600060405180830381865afa158015610d12573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3a91908101906123aa565b80519091501561070c57808060200190518101906105b991906127ea565b6001546000906001600160a01b03166309648a9d610d7584610ba8565b6040518263ffffffff1660e01b8152600401610d9391815260200190565b602060405180830381865afa158015610db0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac9190612878565b610e8f604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850190945281845283015290610120820190815260006020820181905260409091015290565b6002546000906001600160a01b03166354f6127f610eac85610bd5565b6040518263ffffffff1660e01b8152600401610eca91815260200190565b600060405180830381865afa158015610ee7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f0f91908101906123aa565b80519091501561070c57808060200190518101906105b99190612895565b610f356118f6565b6002546000906001600160a01b03166354f6127f610f528561086c565b6040518263ffffffff1660e01b8152600401610f7091815260200190565b600060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fb591908101906123aa565b80519091501561070c57808060200190518101906105b9919061298c565b60025460009081906001600160a01b03166354f6127f610ff285610712565b6040518263ffffffff1660e01b815260040161101091815260200190565b600060405180830381865afa15801561102d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261105591908101906123aa565b80519091501561070c576000818060200190518101906110759190612a0f565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156110f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac9190612ae0565b6000806000611123846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611182573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a69190612b77565b156112255773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611218919061234c565b60645b9250925050915091565b6112a98160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611276573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129a9190612b92565b64ffffffffff90811691161090565b156113225773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131b919061234c565b606e61121b565b806060015163ffffffff16816080015163ffffffff16106113b15773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113aa919061234c565b607861121b565b6040810151600a61121b565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61145a85610ba8565b6040518263ffffffff1660e01b815260040161147891815260200190565b600060405180830381865afa158015611495573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114bd91908101906123aa565b80519091501561070c57808060200190518101906105b99190612bbf565b61153a60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af41580156115a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cd919061234c565b6040518263ffffffff1660e01b81526004016115eb91815260200190565b600060405180830381865afa158015611608573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261163091908101906123aa565b80519091501561070c57808060200190518101906105b99190612d24565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61073b565b611725604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61174285610712565b6040518263ffffffff1660e01b815260040161176091815260200190565b600060405180830381865afa15801561177d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117a591908101906123aa565b80519091501561070c57808060200190518101906105b99190612a0f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61073b565b60405180610120016040528060006001600160601b03168152602001611829604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c083018290528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b8152600060209091015290565b604051806080016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e9604051806040016040528060008152602001600081525090565b6000806040838503121561195157600080fd5b8235915060208301358060000b811461196957600080fd5b809150509250929050565b6001600160c01b03198116811461198a57600080fd5b50565b60006020828403121561199f57600080fd5b81356105b981611974565b60005b838110156119c55781810151838201526020016119ad565b50506000910152565b600081518084526119e68160208601602086016119aa565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a2a6101008401826119ce565b90506040840151606084015263ffffffff60608501511660808401526080840151611a5d60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a8c82826119ce565b95945050505050565b6001600160601b038116811461198a57600080fd5b600060208284031215611abc57600080fd5b81356105b981611a95565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b0460808401826119ce565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b4457611b44611b0c565b60405290565b604080519081016001600160401b0381118282101715611b4457611b44611b0c565b60405161012081016001600160401b0381118282101715611b4457611b44611b0c565b60405161016081016001600160401b0381118282101715611b4457611b44611b0c565b60405161018081016001600160401b0381118282101715611b4457611b44611b0c565b60405161014081016001600160401b0381118282101715611b4457611b44611b0c565b60405161020081016001600160401b0381118282101715611b4457611b44611b0c565b604051601f8201601f191681016001600160401b0381118282101715611c4357611c43611b0c565b604052919050565b60006001600160401b03821115611c6457611c64611b0c565b50601f01601f191660200190565b60008060408385031215611c8557600080fd5b8235611c9081611a95565b915060208301356001600160401b03811115611cab57600080fd5b8301601f81018513611cbc57600080fd5b8035611ccf611cca82611c4b565b611c1b565b818152866020838501011115611ce457600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d1657600080fd5b5035919050565b60208152611d376020820183516001600160601b03169052565b60006020830151611d55604084018280518252602090810151910152565b506040830151610140806080850152611d726101608501836119ce565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611dba61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461198a57600080fd5b60008060408385031215611df957600080fd5b8235611e0481611dd1565b9150602083013561196981611dd1565b81516001600160601b031681526101c081016020830151611e4060208401826001600160a01b03169052565b506040830151611e54604084018215159052565b506060830151611e68606084018215159052565b506080830151611e7c608084018215159052565b5060a083015160a083015260c083015160c083015260e0830151611ead60e084018280518252602090810151910152565b50610100830151610120611ecd8185018380518252602090810151910152565b840151805161016085015260200151610180840152506101408301516001600160a01b0381166101a08401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b0460608401826119ce565b81516001600160a01b0316815261024081016020830151611f5b60208401826001600160a01b03169052565b506040830151611f7660408401826001600160601b03169052565b506060830151611f9160608401826001600160601b03169052565b506080830151611fae608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611fe48185018380518252602090810151910152565b60e085015191506101406120048186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152611efa565b602081526120736020820183516001600160601b03169052565b6000602083015161208f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526121076102208601846119ce565b9250808601519050610140601f19868503018187015261212784836119ce565b9350808701519150506101606121428187018361ffff169052565b86015190506101806121598682018361ffff169052565b8601516101a08681019190915286015190506101c06121808187018364ffffffffff169052565b86015190506101e0611dba8682018364ffffffffff169052565b60208152600082516101208060208501526121b96101408501836119ce565b915060208501516040850152604085015160608501526060850151608085015260808501516121f060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006122268187018315159052565b860151858403601f190183870152905061224083826119ce565b9695505050505050565b81516001600160a01b031681526102008101602083015161227660208401826001600160a01b03169052565b50604083015161229160408401826001600160601b03169052565b5060608301516122ac60608401826001600160601b03169052565b5060808301516122c9608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122ff8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611efa565b60006020828403121561235e57600080fd5b5051919050565b600082601f83011261237657600080fd5b8151612384611cca82611c4b565b81815284602083860101111561239957600080fd5b611b048260208301602087016119aa565b6000602082840312156123bc57600080fd5b81516001600160401b038111156123d257600080fd5b611b0484828501612365565b80516123e981611a95565b919050565b63ffffffff8116811461198a57600080fd5b80516123e9816123ee565b805164ffffffffff811681146123e957600080fd5b60006020828403121561243257600080fd5b81516001600160401b038082111561244957600080fd5b9083019060e0828603121561245d57600080fd5b612465611b22565b61246e836123de565b815260208301518281111561248257600080fd5b61248e87828601612365565b602083015250604083015160408201526124aa60608401612400565b60608201526124bb60808401612400565b60808201526124cc60a0840161240b565b60a082015260c0830151828111156124e357600080fd5b6124ef87828601612365565b60c08301525095945050505050565b80516123e981611974565b805180151581146123e957600080fd5b60006020828403121561252b57600080fd5b81516001600160401b038082111561254257600080fd5b908301906060828603121561255657600080fd5b60405160608101818110838211171561257157612571611b0c565b604052825161257f81611974565b815261258d60208401612509565b60208201526040830151828111156125a457600080fd5b6125b087828601612365565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b0460408301846119ce565b6000602082840312156125f357600080fd5b81516105b981611974565b60006040828403121561261057600080fd5b612618611b4a565b9050815181526020820151602082015292915050565b60006020828403121561264057600080fd5b81516001600160401b038082111561265757600080fd5b90830190610140828603121561266c57600080fd5b612674611b6c565b61267d836123de565b815261268c86602085016125fe565b60208201526060830151828111156126a357600080fd5b6126af87828601612365565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506126ed82840161240b565b60e08201526126ff610120840161240b565b91810191909152949350505050565b80516123e981611dd1565b60006101c0828403121561272c57600080fd5b612734611b8f565b61273d836123de565b815261274b6020840161270e565b602082015261275c60408401612509565b604082015261276d60608401612509565b606082015261277e60808401612509565b608082015260a083015160a082015260c083015160c08201526127a48460e085016125fe565b60e08201526101206127b8858286016125fe565b6101008301526127cc8561016086016125fe565b908201526127dd6101a0840161270e565b6101408201529392505050565b6000602082840312156127fc57600080fd5b81516001600160401b038082111561281357600080fd5b908301906040828603121561282757600080fd5b61282f611b4a565b825161283a81611a95565b815260208301518281111561284e57600080fd5b61285a87828601612365565b60208301525095945050505050565b60ff8116811461198a57600080fd5b60006020828403121561288a57600080fd5b81516105b981612869565b600061024082840312156128a857600080fd5b6128b0611bb2565b6128b98361270e565b81526128c76020840161270e565b60208201526128d8604084016123de565b60408201526128e9606084016123de565b60608201526128fb84608085016125fe565b608082015261290d8460c085016125fe565b60a0820152610100612921858286016125fe565b60c0830152610140612935868287016125fe565b60e08401526129488661018087016125fe565b8284015261295a866101c087016125fe565b61012084015261296d6102008601612509565b908301525061297f610220840161270e565b6101608201529392505050565b600060a0828403121561299e57600080fd5b604051608081018181106001600160401b03821117156129c0576129c0611b0c565b60405282516129ce81611a95565b815260208301516129de81611dd1565b60208201526129f084604085016125fe565b60408201526080830151612a0381611dd1565b60608201529392505050565b60006102008284031215612a2257600080fd5b612a2a611bd5565b612a338361270e565b8152612a416020840161270e565b6020820152612a52604084016123de565b6040820152612a63606084016123de565b6060820152612a7584608085016125fe565b6080820152612a878460c085016125fe565b60a0820152610100612a9b858286016125fe565b60c0830152612aae8561014086016125fe565b60e0830152612ac18561018086016125fe565b90820152612ad3846101c085016125fe565b6101208201529392505050565b600060a08284031215612af257600080fd5b60405160a081018181106001600160401b0382111715612b1457612b14611b0c565b6040528251612b2281612869565b81526020830151612b3281612869565b60208201526040830151612b4581611dd1565b60408201526060830151612b58816123ee565b60608201526080830151612b6b816123ee565b60808201529392505050565b600060208284031215612b8957600080fd5b6105b982612509565b600060208284031215612ba457600080fd5b6105b98261240b565b805161ffff811681146123e957600080fd5b600060208284031215612bd157600080fd5b81516001600160401b0380821115612be857600080fd5b908301906102008286031215612bfd57600080fd5b612c05611bf8565b612c0e836123de565b8152612c1c602084016123de565b6020820152612c2d604084016124fe565b6040820152612c3e606084016124fe565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612c7f57600080fd5b612c8b88828701612365565b8284015250506101208084015183811115612ca557600080fd5b612cb188828701612365565b8284015250506101409150612cc7828401612bad565b828201526101609150612cdb828401612bad565b82820152610180915081830151828201526101a09150612cfc82840161240b565b828201526101c09150612d1082840161240b565b828201526101e091506126ff82840161240b565b600060208284031215612d3657600080fd5b81516001600160401b0380821115612d4d57600080fd5b908301906101208286031215612d6257600080fd5b612d6a611b6c565b825182811115612d7957600080fd5b612d8587828601612365565b825250602083015160208201526040830151604082015260608301516060820152612db260808401612400565b6080820152612dc360a08401612400565b60a0820152612dd460c08401612509565b60c0820152612de560e08401612509565b60e08201526101008084015183811115612dfe57600080fd5b612e0a88828701612365565b91830191909152509594505050505056fea264697066735822122074a211dd38aa1fca1ac0ab3b2eccc5148c2c2847a178359cfa9ab2c63807f58464736f6c63430008140033",
1189
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063bd7d9d8511610097578063dd26287a11610071578063dd26287a146104e3578063de7b5d14146104f6578063f2b246c314610507578063f7f318d31461052757600080fd5b8063bd7d9d8514610492578063d06458c6146104b2578063d4cda0d8146104d257600080fd5b80639ad69c67116100d35780639ad69c671461036c578063a310e2a3146103d0578063a5961b4c146103fb578063b82d7ef51461046857600080fd5b8063887b1fa9146103075780639096a1f31461032757806390af70641461034c57600080fd5b806344aa68361161016657806355e343a91161014057806355e343a9146102ae57806364eb3a9b146102ce5780637bfd3217146102e15780637e54602a146102f457600080fd5b806344aa6836146102665780634793b4ab14610279578063485cc9551461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc36600461193e565b61053a565b6040519081526020015b60405180910390f35b6101e76101e236600461198d565b6105c0565b6040516101cb91906119fa565b6101c1610202366004611aaa565b610712565b61021a610215366004611aaa565b6107b2565b6040516101cb9190611ac7565b6101c1610235366004611aaa565b61086c565b61024d610248366004611c72565b610899565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d04565b610916565b61028c610287366004611aaa565b610951565b6040516101cb9190611d1d565b6102ac6102a7366004611de6565b6109f7565b005b6102c16102bc366004611aaa565b610b02565b6040516101cb9190611e14565b6101c16102dc366004611aaa565b610ba8565b6101c16102ef366004611aaa565b610bd5565b6101c1610302366004611aaa565b610c02565b61031a61031536600461198d565b610c2f565b6040516101cb9190611f01565b61033a610335366004611aaa565b610d58565b60405160ff90911681526020016101cb565b61035f61035a366004611aaa565b610dd4565b6040516101cb9190611f2f565b61037f61037a366004611aaa565b610f2d565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091529092015116608082015260a0016101cb565b6103e36103de366004611aaa565b610fd3565b6040516001600160a01b0390911681526020016101cb565b61040e610409366004611d04565b611081565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047b61047636600461198d565b611115565b6040805192835260ff9091166020830152016101cb565b6104a56104a0366004611aaa565b6113bd565b6040516101cb9190612059565b6104c56104c036600461198d565b6114db565b6040516101cb919061219a565b6002546001600160a01b03166103e3565b6101c16104f1366004611aaa565b61164e565b6001546001600160a01b03166103e3565b61051a610515366004611aaa565b61167b565b6040516101cb919061224a565b6101c1610535366004611aaa565b6117c3565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b9919061234c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b919061234c565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee91908101906123aa565b80519091501561070c57808060200190518101906105b99190612420565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac919061234c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107eb85610c02565b6040518263ffffffff1660e01b815260040161080991815260200190565b600060405180830381865afa158015610826573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084e91908101906123aa565b80519091501561070c57808060200190518101906105b99190612519565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861073b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d590869086906004016125bf565b602060405180830381865af41580156108f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b991906125e1565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161076b565b6109596117f0565b6002546000906001600160a01b03166354f6127f610976856117c3565b6040518263ffffffff1660e01b815260040161099491815260200190565b600060405180830381865afa1580156109b1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109d991908101906123aa565b80519091501561070c57808060200190518101906105b9919061262e565b60005460ff1615610a595760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216610aaf5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401610a50565b60008054600180546001600160a01b039485166001600160a01b0319918216811783556002805490921617905560ff199390941661010002929092166001600160a81b0319909216919091179091179055565b610b0a61186e565b6002546000906001600160a01b03166354f6127f610b278561164e565b6040518263ffffffff1660e01b8152600401610b4591815260200190565b600060405180830381865afa158015610b62573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b8a91908101906123aa565b80519091501561070c57808060200190518101906105b99190612719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361073b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61073b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61073b565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610cb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd7919061234c565b6040518263ffffffff1660e01b8152600401610cf591815260200190565b600060405180830381865afa158015610d12573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3a91908101906123aa565b80519091501561070c57808060200190518101906105b991906127ea565b6001546000906001600160a01b03166309648a9d610d7584610ba8565b6040518263ffffffff1660e01b8152600401610d9391815260200190565b602060405180830381865afa158015610db0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac9190612878565b610e8f604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850190945281845283015290610120820190815260006020820181905260409091015290565b6002546000906001600160a01b03166354f6127f610eac85610bd5565b6040518263ffffffff1660e01b8152600401610eca91815260200190565b600060405180830381865afa158015610ee7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f0f91908101906123aa565b80519091501561070c57808060200190518101906105b99190612895565b610f356118f6565b6002546000906001600160a01b03166354f6127f610f528561086c565b6040518263ffffffff1660e01b8152600401610f7091815260200190565b600060405180830381865afa158015610f8d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fb591908101906123aa565b80519091501561070c57808060200190518101906105b9919061298c565b60025460009081906001600160a01b03166354f6127f610ff285610712565b6040518263ffffffff1660e01b815260040161101091815260200190565b600060405180830381865afa15801561102d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261105591908101906123aa565b80519091501561070c576000818060200190518101906110759190612a0f565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156110f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac9190612ae0565b6000806000611123846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611182573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a69190612b77565b156112255773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611218919061234c565b60645b9250925050915091565b6112a98160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611276573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129a9190612b92565b64ffffffffff90811691161090565b156113225773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131b919061234c565b606e61121b565b806060015163ffffffff16816080015163ffffffff16106113b15773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113aa919061234c565b607861121b565b6040810151600a61121b565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61145a85610ba8565b6040518263ffffffff1660e01b815260040161147891815260200190565b600060405180830381865afa158015611495573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114bd91908101906123aa565b80519091501561070c57808060200190518101906105b99190612bbf565b61153a60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af41580156115a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cd919061234c565b6040518263ffffffff1660e01b81526004016115eb91815260200190565b600060405180830381865afa158015611608573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261163091908101906123aa565b80519091501561070c57808060200190518101906105b99190612d24565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61073b565b611725604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61174285610712565b6040518263ffffffff1660e01b815260040161176091815260200190565b600060405180830381865afa15801561177d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117a591908101906123aa565b80519091501561070c57808060200190518101906105b99190612a0f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61073b565b60405180610120016040528060006001600160601b03168152602001611829604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c083018290528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b8152600060209091015290565b604051806080016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e9604051806040016040528060008152602001600081525090565b6000806040838503121561195157600080fd5b8235915060208301358060000b811461196957600080fd5b809150509250929050565b6001600160c01b03198116811461198a57600080fd5b50565b60006020828403121561199f57600080fd5b81356105b981611974565b60005b838110156119c55781810151838201526020016119ad565b50506000910152565b600081518084526119e68160208601602086016119aa565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a2a6101008401826119ce565b90506040840151606084015263ffffffff60608501511660808401526080840151611a5d60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a8c82826119ce565b95945050505050565b6001600160601b038116811461198a57600080fd5b600060208284031215611abc57600080fd5b81356105b981611a95565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b0460808401826119ce565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b4457611b44611b0c565b60405290565b604080519081016001600160401b0381118282101715611b4457611b44611b0c565b60405161012081016001600160401b0381118282101715611b4457611b44611b0c565b60405161016081016001600160401b0381118282101715611b4457611b44611b0c565b60405161018081016001600160401b0381118282101715611b4457611b44611b0c565b60405161014081016001600160401b0381118282101715611b4457611b44611b0c565b60405161020081016001600160401b0381118282101715611b4457611b44611b0c565b604051601f8201601f191681016001600160401b0381118282101715611c4357611c43611b0c565b604052919050565b60006001600160401b03821115611c6457611c64611b0c565b50601f01601f191660200190565b60008060408385031215611c8557600080fd5b8235611c9081611a95565b915060208301356001600160401b03811115611cab57600080fd5b8301601f81018513611cbc57600080fd5b8035611ccf611cca82611c4b565b611c1b565b818152866020838501011115611ce457600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d1657600080fd5b5035919050565b60208152611d376020820183516001600160601b03169052565b60006020830151611d55604084018280518252602090810151910152565b506040830151610140806080850152611d726101608501836119ce565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611dba61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461198a57600080fd5b60008060408385031215611df957600080fd5b8235611e0481611dd1565b9150602083013561196981611dd1565b81516001600160601b031681526101c081016020830151611e4060208401826001600160a01b03169052565b506040830151611e54604084018215159052565b506060830151611e68606084018215159052565b506080830151611e7c608084018215159052565b5060a083015160a083015260c083015160c083015260e0830151611ead60e084018280518252602090810151910152565b50610100830151610120611ecd8185018380518252602090810151910152565b840151805161016085015260200151610180840152506101408301516001600160a01b0381166101a08401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b0460608401826119ce565b81516001600160a01b0316815261024081016020830151611f5b60208401826001600160a01b03169052565b506040830151611f7660408401826001600160601b03169052565b506060830151611f9160608401826001600160601b03169052565b506080830151611fae608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611fe48185018380518252602090810151910152565b60e085015191506101406120048186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152611efa565b602081526120736020820183516001600160601b03169052565b6000602083015161208f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526121076102208601846119ce565b9250808601519050610140601f19868503018187015261212784836119ce565b9350808701519150506101606121428187018361ffff169052565b86015190506101806121598682018361ffff169052565b8601516101a08681019190915286015190506101c06121808187018364ffffffffff169052565b86015190506101e0611dba8682018364ffffffffff169052565b60208152600082516101208060208501526121b96101408501836119ce565b915060208501516040850152604085015160608501526060850151608085015260808501516121f060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006122268187018315159052565b860151858403601f190183870152905061224083826119ce565b9695505050505050565b81516001600160a01b031681526102008101602083015161227660208401826001600160a01b03169052565b50604083015161229160408401826001600160601b03169052565b5060608301516122ac60608401826001600160601b03169052565b5060808301516122c9608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122ff8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611efa565b60006020828403121561235e57600080fd5b5051919050565b600082601f83011261237657600080fd5b8151612384611cca82611c4b565b81815284602083860101111561239957600080fd5b611b048260208301602087016119aa565b6000602082840312156123bc57600080fd5b81516001600160401b038111156123d257600080fd5b611b0484828501612365565b80516123e981611a95565b919050565b63ffffffff8116811461198a57600080fd5b80516123e9816123ee565b805164ffffffffff811681146123e957600080fd5b60006020828403121561243257600080fd5b81516001600160401b038082111561244957600080fd5b9083019060e0828603121561245d57600080fd5b612465611b22565b61246e836123de565b815260208301518281111561248257600080fd5b61248e87828601612365565b602083015250604083015160408201526124aa60608401612400565b60608201526124bb60808401612400565b60808201526124cc60a0840161240b565b60a082015260c0830151828111156124e357600080fd5b6124ef87828601612365565b60c08301525095945050505050565b80516123e981611974565b805180151581146123e957600080fd5b60006020828403121561252b57600080fd5b81516001600160401b038082111561254257600080fd5b908301906060828603121561255657600080fd5b60405160608101818110838211171561257157612571611b0c565b604052825161257f81611974565b815261258d60208401612509565b60208201526040830151828111156125a457600080fd5b6125b087828601612365565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b0460408301846119ce565b6000602082840312156125f357600080fd5b81516105b981611974565b60006040828403121561261057600080fd5b612618611b4a565b9050815181526020820151602082015292915050565b60006020828403121561264057600080fd5b81516001600160401b038082111561265757600080fd5b90830190610140828603121561266c57600080fd5b612674611b6c565b61267d836123de565b815261268c86602085016125fe565b60208201526060830151828111156126a357600080fd5b6126af87828601612365565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506126ed82840161240b565b60e08201526126ff610120840161240b565b91810191909152949350505050565b80516123e981611dd1565b60006101c0828403121561272c57600080fd5b612734611b8f565b61273d836123de565b815261274b6020840161270e565b602082015261275c60408401612509565b604082015261276d60608401612509565b606082015261277e60808401612509565b608082015260a083015160a082015260c083015160c08201526127a48460e085016125fe565b60e08201526101206127b8858286016125fe565b6101008301526127cc8561016086016125fe565b908201526127dd6101a0840161270e565b6101408201529392505050565b6000602082840312156127fc57600080fd5b81516001600160401b038082111561281357600080fd5b908301906040828603121561282757600080fd5b61282f611b4a565b825161283a81611a95565b815260208301518281111561284e57600080fd5b61285a87828601612365565b60208301525095945050505050565b60ff8116811461198a57600080fd5b60006020828403121561288a57600080fd5b81516105b981612869565b600061024082840312156128a857600080fd5b6128b0611bb2565b6128b98361270e565b81526128c76020840161270e565b60208201526128d8604084016123de565b60408201526128e9606084016123de565b60608201526128fb84608085016125fe565b608082015261290d8460c085016125fe565b60a0820152610100612921858286016125fe565b60c0830152610140612935868287016125fe565b60e08401526129488661018087016125fe565b8284015261295a866101c087016125fe565b61012084015261296d6102008601612509565b908301525061297f610220840161270e565b6101608201529392505050565b600060a0828403121561299e57600080fd5b604051608081018181106001600160401b03821117156129c0576129c0611b0c565b60405282516129ce81611a95565b815260208301516129de81611dd1565b60208201526129f084604085016125fe565b60408201526080830151612a0381611dd1565b60608201529392505050565b60006102008284031215612a2257600080fd5b612a2a611bd5565b612a338361270e565b8152612a416020840161270e565b6020820152612a52604084016123de565b6040820152612a63606084016123de565b6060820152612a7584608085016125fe565b6080820152612a878460c085016125fe565b60a0820152610100612a9b858286016125fe565b60c0830152612aae8561014086016125fe565b60e0830152612ac18561018086016125fe565b90820152612ad3846101c085016125fe565b6101208201529392505050565b600060a08284031215612af257600080fd5b60405160a081018181106001600160401b0382111715612b1457612b14611b0c565b6040528251612b2281612869565b81526020830151612b3281612869565b60208201526040830151612b4581611dd1565b60408201526060830151612b58816123ee565b60608201526080830151612b6b816123ee565b60808201529392505050565b600060208284031215612b8957600080fd5b6105b982612509565b600060208284031215612ba457600080fd5b6105b98261240b565b805161ffff811681146123e957600080fd5b600060208284031215612bd157600080fd5b81516001600160401b0380821115612be857600080fd5b908301906102008286031215612bfd57600080fd5b612c05611bf8565b612c0e836123de565b8152612c1c602084016123de565b6020820152612c2d604084016124fe565b6040820152612c3e606084016124fe565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612c7f57600080fd5b612c8b88828701612365565b8284015250506101208084015183811115612ca557600080fd5b612cb188828701612365565b8284015250506101409150612cc7828401612bad565b828201526101609150612cdb828401612bad565b82820152610180915081830151828201526101a09150612cfc82840161240b565b828201526101c09150612d1082840161240b565b828201526101e091506126ff82840161240b565b600060208284031215612d3657600080fd5b81516001600160401b0380821115612d4d57600080fd5b908301906101208286031215612d6257600080fd5b612d6a611b6c565b825182811115612d7957600080fd5b612d8587828601612365565b825250602083015160208201526040830151604082015260608301516060820152612db260808401612400565b6080820152612dc360a08401612400565b60a0820152612dd460c08401612509565b60c0820152612de560e08401612509565b60e08201526101008084015183811115612dfe57600080fd5b612e0a88828701612365565b91830191909152509594505050505056fea264697066735822122074a211dd38aa1fca1ac0ab3b2eccc5148c2c2847a178359cfa9ab2c63807f58464736f6c63430008140033",
1083
1190
  "linkReferences": {
1084
1191
  "contracts/types/DistributorType.sol": {
1085
1192
  "DistributorTypeLib": [
1086
1193
  {
1087
1194
  "length": 20,
1088
- "start": 6188
1195
+ "start": 5519
1089
1196
  }
1090
1197
  ]
1091
1198
  },
@@ -1093,35 +1200,31 @@
1093
1200
  "NftIdLib": [
1094
1201
  {
1095
1202
  "length": 20,
1096
- "start": 289
1097
- },
1098
- {
1099
- "length": 20,
1100
- "start": 3257
1203
+ "start": 1846
1101
1204
  },
1102
1205
  {
1103
1206
  "length": 20,
1104
- "start": 3597
1207
+ "start": 2192
1105
1208
  },
1106
1209
  {
1107
1210
  "length": 20,
1108
- "start": 3992
1211
+ "start": 3020
1109
1212
  },
1110
1213
  {
1111
1214
  "length": 20,
1112
- "start": 4037
1215
+ "start": 3065
1113
1216
  },
1114
1217
  {
1115
1218
  "length": 20,
1116
- "start": 4082
1219
+ "start": 3110
1117
1220
  },
1118
1221
  {
1119
1222
  "length": 20,
1120
- "start": 6415
1223
+ "start": 5746
1121
1224
  },
1122
1225
  {
1123
1226
  "length": 20,
1124
- "start": 6670
1227
+ "start": 6119
1125
1228
  }
1126
1229
  ]
1127
1230
  },
@@ -1129,11 +1232,11 @@
1129
1232
  "ReferralLib": [
1130
1233
  {
1131
1234
  "length": 20,
1132
- "start": 3017
1235
+ "start": 1613
1133
1236
  },
1134
1237
  {
1135
1238
  "length": 20,
1136
- "start": 3656
1239
+ "start": 2251
1137
1240
  }
1138
1241
  ]
1139
1242
  },
@@ -1141,7 +1244,7 @@
1141
1244
  "RiskIdLib": [
1142
1245
  {
1143
1246
  "length": 20,
1144
- "start": 4197
1247
+ "start": 3225
1145
1248
  }
1146
1249
  ]
1147
1250
  },
@@ -1149,11 +1252,11 @@
1149
1252
  "TimestampLib": [
1150
1253
  {
1151
1254
  "length": 20,
1152
- "start": 5125
1255
+ "start": 4456
1153
1256
  },
1154
1257
  {
1155
1258
  "length": 20,
1156
- "start": 5356
1259
+ "start": 4687
1157
1260
  }
1158
1261
  ]
1159
1262
  },
@@ -1161,23 +1264,23 @@
1161
1264
  "UFixedLib": [
1162
1265
  {
1163
1266
  "length": 20,
1164
- "start": 2805
1267
+ "start": 1403
1165
1268
  },
1166
1269
  {
1167
1270
  "length": 20,
1168
- "start": 3788
1271
+ "start": 2383
1169
1272
  },
1170
1273
  {
1171
1274
  "length": 20,
1172
- "start": 5226
1275
+ "start": 4557
1173
1276
  },
1174
1277
  {
1175
1278
  "length": 20,
1176
- "start": 5485
1279
+ "start": 4816
1177
1280
  },
1178
1281
  {
1179
1282
  "length": 20,
1180
- "start": 5628
1283
+ "start": 4959
1181
1284
  }
1182
1285
  ]
1183
1286
  }
@@ -1187,7 +1290,7 @@
1187
1290
  "DistributorTypeLib": [
1188
1291
  {
1189
1292
  "length": 20,
1190
- "start": 4647
1293
+ "start": 5487
1191
1294
  }
1192
1295
  ]
1193
1296
  },
@@ -1195,31 +1298,31 @@
1195
1298
  "NftIdLib": [
1196
1299
  {
1197
1300
  "length": 20,
1198
- "start": 1716
1301
+ "start": 1814
1199
1302
  },
1200
1303
  {
1201
1304
  "length": 20,
1202
- "start": 2056
1305
+ "start": 2160
1203
1306
  },
1204
1307
  {
1205
1308
  "length": 20,
1206
- "start": 2451
1309
+ "start": 2988
1207
1310
  },
1208
1311
  {
1209
1312
  "length": 20,
1210
- "start": 2496
1313
+ "start": 3033
1211
1314
  },
1212
1315
  {
1213
1316
  "length": 20,
1214
- "start": 2541
1317
+ "start": 3078
1215
1318
  },
1216
1319
  {
1217
1320
  "length": 20,
1218
- "start": 4874
1321
+ "start": 5714
1219
1322
  },
1220
1323
  {
1221
1324
  "length": 20,
1222
- "start": 5129
1325
+ "start": 6087
1223
1326
  }
1224
1327
  ]
1225
1328
  },
@@ -1227,11 +1330,11 @@
1227
1330
  "ReferralLib": [
1228
1331
  {
1229
1332
  "length": 20,
1230
- "start": 1476
1333
+ "start": 1581
1231
1334
  },
1232
1335
  {
1233
1336
  "length": 20,
1234
- "start": 2115
1337
+ "start": 2219
1235
1338
  }
1236
1339
  ]
1237
1340
  },
@@ -1239,7 +1342,7 @@
1239
1342
  "RiskIdLib": [
1240
1343
  {
1241
1344
  "length": 20,
1242
- "start": 2656
1345
+ "start": 3193
1243
1346
  }
1244
1347
  ]
1245
1348
  },
@@ -1247,11 +1350,11 @@
1247
1350
  "TimestampLib": [
1248
1351
  {
1249
1352
  "length": 20,
1250
- "start": 3584
1353
+ "start": 4424
1251
1354
  },
1252
1355
  {
1253
1356
  "length": 20,
1254
- "start": 3815
1357
+ "start": 4655
1255
1358
  }
1256
1359
  ]
1257
1360
  },
@@ -1259,23 +1362,23 @@
1259
1362
  "UFixedLib": [
1260
1363
  {
1261
1364
  "length": 20,
1262
- "start": 1264
1365
+ "start": 1371
1263
1366
  },
1264
1367
  {
1265
1368
  "length": 20,
1266
- "start": 2247
1369
+ "start": 2351
1267
1370
  },
1268
1371
  {
1269
1372
  "length": 20,
1270
- "start": 3685
1373
+ "start": 4525
1271
1374
  },
1272
1375
  {
1273
1376
  "length": 20,
1274
- "start": 3944
1377
+ "start": 4784
1275
1378
  },
1276
1379
  {
1277
1380
  "length": 20,
1278
- "start": 4087
1381
+ "start": 4927
1279
1382
  }
1280
1383
  ]
1281
1384
  }