@etherisc/gif-next 0.0.2-de220d6-949 → 0.0.2-e37834a-021

Sign up to get free protection for your applications and to get access to all the features.
Files changed (286) hide show
  1. package/README.md +71 -0
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +80 -41
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +445 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +43 -40
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +177 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +108 -156
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +67 -139
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +299 -84
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +250 -53
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -34
  21. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  31. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  37. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +882 -586
  39. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  40. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  41. package/artifacts/contracts/instance/Instance.sol/Instance.json +1011 -638
  42. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +139 -46
  44. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +51 -1
  46. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  48. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  50. package/artifacts/contracts/instance/base/IService.sol/IService.json +99 -55
  51. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  52. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +178 -48
  53. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  54. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +41 -23
  55. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  56. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  57. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
  58. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  59. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +135 -55
  60. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +55 -54
  65. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +56 -55
  68. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +22 -93
  70. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +22 -93
  73. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
  74. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
  75. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
  76. package/artifacts/contracts/instance/module/{compensation/ICompensation.sol/ICompensation.json → distribution/IDistribution.sol/IDistribution.json} +2 -2
  77. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
  78. package/artifacts/contracts/instance/module/{compensation/ICompensation.sol/ICompensationModule.json → distribution/IDistribution.sol/IDistributionModule.json} +2 -2
  79. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +53 -40
  82. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +53 -40
  84. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -14
  87. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  88. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -13
  89. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  91. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +104 -1
  92. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  93. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +126 -5
  94. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  95. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  96. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +326 -221
  97. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  99. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +326 -221
  101. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +251 -84
  103. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +526 -0
  105. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  106. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +99 -74
  107. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +369 -0
  109. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  110. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +158 -50
  111. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  112. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +246 -49
  113. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  114. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +230 -52
  115. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  116. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +361 -70
  117. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  118. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
  119. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  120. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  121. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +293 -40
  123. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  124. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +668 -0
  125. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  126. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  127. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  128. package/artifacts/contracts/registry/Registry.sol/Registry.json +483 -120
  129. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  130. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +885 -0
  131. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +460 -0
  133. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  134. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  135. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  136. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  137. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  139. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +43 -40
  140. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +132 -0
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  145. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +344 -0
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  147. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +76 -37
  148. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  150. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  152. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
  153. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +445 -0
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  156. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestPool.sol/TestPool.json +299 -84
  158. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +297 -58
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +93 -39
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  164. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestService.sol/TestService.json +161 -68
  166. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +89 -25
  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/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +50 -11
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  185. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
  186. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -0
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  196. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  198. package/contracts/components/BaseComponent.sol +12 -21
  199. package/contracts/components/Distribution.sol +155 -0
  200. package/contracts/components/IBaseComponent.sol +2 -2
  201. package/contracts/components/IDistributionComponent.sol +46 -0
  202. package/contracts/components/IPoolComponent.sol +15 -8
  203. package/contracts/components/IProductComponent.sol +26 -8
  204. package/contracts/components/Pool.sol +99 -27
  205. package/contracts/components/Product.sol +204 -22
  206. package/contracts/experiment/errors/Revert.sol +4 -13
  207. package/contracts/instance/IInstance.sol +10 -8
  208. package/contracts/instance/Instance.sol +25 -8
  209. package/contracts/instance/base/ComponentServiceBase.sol +13 -6
  210. package/contracts/instance/base/IInstanceBase.sol +11 -2
  211. package/contracts/instance/base/IKeyValueStore.sol +4 -3
  212. package/contracts/instance/base/InstanceBase.sol +19 -10
  213. package/contracts/instance/base/KeyValueStore.sol +12 -7
  214. package/contracts/instance/base/Lifecycle.sol +15 -10
  215. package/contracts/instance/base/ModuleBase.sol +22 -17
  216. package/contracts/instance/base/ServiceBase.sol +19 -13
  217. package/contracts/instance/module/access/Access.sol +3 -3
  218. package/contracts/instance/module/bundle/BundleModule.sol +10 -12
  219. package/contracts/instance/module/bundle/IBundle.sol +6 -11
  220. package/contracts/instance/module/component/ComponentModule.sol +34 -58
  221. package/contracts/instance/module/component/IComponent.sol +7 -32
  222. package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
  223. package/contracts/instance/module/distribution/IDistribution.sol +10 -0
  224. package/contracts/instance/module/policy/IPolicy.sol +10 -8
  225. package/contracts/instance/module/policy/PolicyModule.sol +33 -19
  226. package/contracts/instance/module/pool/IPoolModule.sol +4 -4
  227. package/contracts/instance/module/pool/PoolModule.sol +23 -15
  228. package/contracts/instance/module/risk/IRisk.sol +18 -2
  229. package/contracts/instance/module/risk/RiskModule.sol +56 -2
  230. package/contracts/instance/module/treasury/ITreasury.sol +32 -51
  231. package/contracts/instance/module/treasury/TokenHandler.sol +2 -2
  232. package/contracts/instance/module/treasury/TreasuryModule.sol +68 -89
  233. package/contracts/instance/service/ComponentOwnerService.sol +197 -95
  234. package/contracts/instance/service/DistributionService.sol +54 -0
  235. package/contracts/instance/service/IComponentOwnerService.sol +0 -2
  236. package/contracts/instance/service/IDistributionService.sol +12 -0
  237. package/contracts/instance/service/IPoolService.sol +7 -0
  238. package/contracts/instance/service/IProductService.sol +56 -7
  239. package/contracts/instance/service/PoolService.sol +49 -23
  240. package/contracts/instance/service/ProductService.sol +247 -91
  241. package/contracts/registry/ChainNft.sol +43 -15
  242. package/contracts/registry/IChainNft.sol +3 -2
  243. package/contracts/registry/IRegistry.sol +44 -28
  244. package/contracts/registry/IRegistryService.sol +29 -0
  245. package/contracts/registry/ITransferInterceptor.sol +6 -0
  246. package/contracts/registry/Registry.sol +383 -274
  247. package/contracts/registry/RegistryService.sol +375 -0
  248. package/contracts/registry/RegistryServiceManager.sol +52 -0
  249. package/contracts/shared/ContractDeployerLib.sol +72 -0
  250. package/contracts/shared/ERC165.sol +1 -1
  251. package/contracts/shared/IRegisterable.sol +7 -9
  252. package/contracts/shared/IVersionable.sol +55 -11
  253. package/contracts/shared/NftOwnable.sol +87 -0
  254. package/contracts/shared/ProxyManager.sol +103 -0
  255. package/contracts/shared/Registerable.sol +74 -43
  256. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  257. package/contracts/shared/Versionable.sol +112 -54
  258. package/contracts/test/TestDistribution.sol +22 -0
  259. package/contracts/test/TestPool.sol +7 -2
  260. package/contracts/test/TestProduct.sol +37 -7
  261. package/contracts/test/TestRegisterable.sol +5 -6
  262. package/contracts/test/TestService.sol +5 -11
  263. package/contracts/types/Fee.sol +8 -3
  264. package/contracts/types/ObjectType.sol +24 -8
  265. package/contracts/types/ReferralId.sol +48 -0
  266. package/contracts/types/RiskId.sol +43 -0
  267. package/contracts/types/RoleId.sol +2 -2
  268. package/contracts/types/Version.sol +9 -0
  269. package/package.json +1 -1
  270. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.dbg.json +0 -4
  271. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.json +0 -27
  272. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.dbg.json +0 -4
  273. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.json +0 -83
  274. package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.dbg.json +0 -4
  275. package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.json +0 -75
  276. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  277. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  278. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  279. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  280. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  281. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  282. package/contracts/experiment/errors/IncrementRevert.sol +0 -43
  283. package/contracts/experiment/statemachine/README.md +0 -112
  284. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  285. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  286. package/contracts/registry/IRegistryLinked.sol +0 -8
@@ -14,11 +14,79 @@
14
14
  "internalType": "NftId",
15
15
  "name": "registryNftId",
16
16
  "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "initialOwner",
21
+ "type": "address"
17
22
  }
18
23
  ],
19
24
  "stateMutability": "nonpayable",
20
25
  "type": "constructor"
21
26
  },
27
+ {
28
+ "inputs": [],
29
+ "name": "CollateralizationLevelIsZero",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "InvalidDistribution",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "inputs": [],
39
+ "name": "InvalidDistributionsInstance",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "InvalidInitialization",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [],
49
+ "name": "InvalidPool",
50
+ "type": "error"
51
+ },
52
+ {
53
+ "inputs": [],
54
+ "name": "InvalidPoolsInstance",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [],
59
+ "name": "InvalidToken",
60
+ "type": "error"
61
+ },
62
+ {
63
+ "inputs": [],
64
+ "name": "MissingTypeRole",
65
+ "type": "error"
66
+ },
67
+ {
68
+ "inputs": [],
69
+ "name": "NotInitializing",
70
+ "type": "error"
71
+ },
72
+ {
73
+ "inputs": [],
74
+ "name": "WalletIsZero",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "anonymous": false,
79
+ "inputs": [
80
+ {
81
+ "indexed": false,
82
+ "internalType": "uint64",
83
+ "name": "version",
84
+ "type": "uint64"
85
+ }
86
+ ],
87
+ "name": "Initialized",
88
+ "type": "event"
89
+ },
22
90
  {
23
91
  "anonymous": false,
24
92
  "inputs": [
@@ -41,7 +109,7 @@
41
109
  "type": "address"
42
110
  }
43
111
  ],
44
- "name": "LogVersionableActivated",
112
+ "name": "LogVersionableInitialized",
45
113
  "type": "event"
46
114
  },
47
115
  {
@@ -58,27 +126,64 @@
58
126
  "type": "function"
59
127
  },
60
128
  {
61
- "inputs": [
62
- {
63
- "internalType": "address",
64
- "name": "implementation",
65
- "type": "address"
66
- },
129
+ "inputs": [],
130
+ "name": "REGISTERABLE_LOCATION_V1",
131
+ "outputs": [
67
132
  {
68
- "internalType": "address",
69
- "name": "activatedBy",
70
- "type": "address"
133
+ "internalType": "bytes32",
134
+ "name": "",
135
+ "type": "bytes32"
71
136
  }
72
137
  ],
73
- "name": "activate",
74
- "outputs": [],
75
- "stateMutability": "nonpayable",
138
+ "stateMutability": "view",
76
139
  "type": "function"
77
140
  },
78
141
  {
79
142
  "inputs": [],
80
- "name": "getData",
143
+ "name": "getInitialInfo",
81
144
  "outputs": [
145
+ {
146
+ "components": [
147
+ {
148
+ "internalType": "NftId",
149
+ "name": "nftId",
150
+ "type": "uint96"
151
+ },
152
+ {
153
+ "internalType": "NftId",
154
+ "name": "parentNftId",
155
+ "type": "uint96"
156
+ },
157
+ {
158
+ "internalType": "ObjectType",
159
+ "name": "objectType",
160
+ "type": "uint8"
161
+ },
162
+ {
163
+ "internalType": "bool",
164
+ "name": "isInterceptor",
165
+ "type": "bool"
166
+ },
167
+ {
168
+ "internalType": "address",
169
+ "name": "objectAddress",
170
+ "type": "address"
171
+ },
172
+ {
173
+ "internalType": "address",
174
+ "name": "initialOwner",
175
+ "type": "address"
176
+ },
177
+ {
178
+ "internalType": "bytes",
179
+ "name": "data",
180
+ "type": "bytes"
181
+ }
182
+ ],
183
+ "internalType": "struct IRegistry.ObjectInfo",
184
+ "name": "",
185
+ "type": "tuple"
186
+ },
82
187
  {
83
188
  "internalType": "bytes",
84
189
  "name": "data",
@@ -88,6 +193,19 @@
88
193
  "stateMutability": "view",
89
194
  "type": "function"
90
195
  },
196
+ {
197
+ "inputs": [],
198
+ "name": "getInitializedVersion",
199
+ "outputs": [
200
+ {
201
+ "internalType": "uint64",
202
+ "name": "",
203
+ "type": "uint64"
204
+ }
205
+ ],
206
+ "stateMutability": "view",
207
+ "type": "function"
208
+ },
91
209
  {
92
210
  "inputs": [],
93
211
  "name": "getMajorVersion",
@@ -133,7 +251,7 @@
133
251
  "outputs": [
134
252
  {
135
253
  "internalType": "address",
136
- "name": "owner",
254
+ "name": "",
137
255
  "type": "address"
138
256
  }
139
257
  ],
@@ -142,12 +260,12 @@
142
260
  },
143
261
  {
144
262
  "inputs": [],
145
- "name": "getParentNftId",
263
+ "name": "getRegistry",
146
264
  "outputs": [
147
265
  {
148
- "internalType": "NftId",
149
- "name": "nftId",
150
- "type": "uint96"
266
+ "internalType": "contract IRegistry",
267
+ "name": "registry",
268
+ "type": "address"
151
269
  }
152
270
  ],
153
271
  "stateMutability": "view",
@@ -155,11 +273,11 @@
155
273
  },
156
274
  {
157
275
  "inputs": [],
158
- "name": "getRegistry",
276
+ "name": "getRegistryService",
159
277
  "outputs": [
160
278
  {
161
- "internalType": "contract IRegistry",
162
- "name": "registry",
279
+ "internalType": "contract IRegistryService",
280
+ "name": "",
163
281
  "type": "address"
164
282
  }
165
283
  ],
@@ -185,19 +303,6 @@
185
303
  "stateMutability": "pure",
186
304
  "type": "function"
187
305
  },
188
- {
189
- "inputs": [],
190
- "name": "getType",
191
- "outputs": [
192
- {
193
- "internalType": "ObjectType",
194
- "name": "",
195
- "type": "uint8"
196
- }
197
- ],
198
- "stateMutability": "pure",
199
- "type": "function"
200
- },
201
306
  {
202
307
  "inputs": [],
203
308
  "name": "getVersion",
@@ -289,6 +394,29 @@
289
394
  "stateMutability": "view",
290
395
  "type": "function"
291
396
  },
397
+ {
398
+ "inputs": [
399
+ {
400
+ "internalType": "address",
401
+ "name": "implementation",
402
+ "type": "address"
403
+ },
404
+ {
405
+ "internalType": "address",
406
+ "name": "activatedBy",
407
+ "type": "address"
408
+ },
409
+ {
410
+ "internalType": "bytes",
411
+ "name": "data",
412
+ "type": "bytes"
413
+ }
414
+ ],
415
+ "name": "initialize",
416
+ "outputs": [],
417
+ "stateMutability": "nonpayable",
418
+ "type": "function"
419
+ },
292
420
  {
293
421
  "inputs": [
294
422
  {
@@ -297,7 +425,7 @@
297
425
  "type": "uint24"
298
426
  }
299
427
  ],
300
- "name": "isActivated",
428
+ "name": "isInitialized",
301
429
  "outputs": [
302
430
  {
303
431
  "internalType": "bool",
@@ -321,25 +449,17 @@
321
449
  "stateMutability": "nonpayable",
322
450
  "type": "function"
323
451
  },
324
- {
325
- "inputs": [],
326
- "name": "register",
327
- "outputs": [
328
- {
329
- "internalType": "NftId",
330
- "name": "nftId",
331
- "type": "uint96"
332
- }
333
- ],
334
- "stateMutability": "nonpayable",
335
- "type": "function"
336
- },
337
452
  {
338
453
  "inputs": [
339
454
  {
340
455
  "internalType": "contract IBaseComponent",
341
456
  "name": "component",
342
457
  "type": "address"
458
+ },
459
+ {
460
+ "internalType": "ObjectType",
461
+ "name": "componentType",
462
+ "type": "uint8"
343
463
  }
344
464
  ],
345
465
  "name": "register",
@@ -384,20 +504,39 @@
384
504
  "outputs": [],
385
505
  "stateMutability": "nonpayable",
386
506
  "type": "function"
507
+ },
508
+ {
509
+ "inputs": [
510
+ {
511
+ "internalType": "address",
512
+ "name": "implementation",
513
+ "type": "address"
514
+ },
515
+ {
516
+ "internalType": "address",
517
+ "name": "activatedBy",
518
+ "type": "address"
519
+ },
520
+ {
521
+ "internalType": "bytes",
522
+ "name": "data",
523
+ "type": "bytes"
524
+ }
525
+ ],
526
+ "name": "upgrade",
527
+ "outputs": [],
528
+ "stateMutability": "nonpayable",
529
+ "type": "function"
387
530
  }
388
531
  ],
389
- "bytecode": "0x60e06040523480156200001157600080fd5b5060405162002c4038038062002c4083398101604081905262000034916200071f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055818181816001600160a01b038216620000d05760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000120573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000146919062000774565b620001945760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c7565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000212919062000774565b6200026c5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c7565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550620002bc905060003362000302565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff191660011790555050505062000818565b60006200030e620005da565b90506200031b8162000667565b156200037a5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000c7565b600254156200043b57600280546000919062000399906001906200079f565b81548110620003ac57620003ac620007c1565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050620003df82826200070d565b620004395760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000c7565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620004c54290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990620005cd9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156200063c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006629190620007d7565b905090565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015620006e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007069190620007fe565b1192915050565b62ffffff808216908316115b92915050565b600080604083850312156200073357600080fd5b82516001600160a01b03811681146200074b57600080fd5b60208401519092506001600160601b03811681146200076957600080fd5b809150509250929050565b6000602082840312156200078757600080fd5b815180151581146200079857600080fd5b9392505050565b818103818111156200071957634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215620007ea57600080fd5b815162ffffff811681146200079857600080fd5b6000602082840312156200081157600080fd5b5051919050565b60805160a05160c0516123c76200087960003960006115aa0152600061023301526000818161038f0152818161063a015281816106d301528181610d33015281816114bc0152818161152d015281816115ed01526117b601526123c76000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80634d459c90116100b85780639555c4db1161007c5780639555c4db146103e8578063a3f4df7e146103fb578063b88da7591461042f578063cde749f414610442578063f435f5a71461044a578063fc0ae0541461045d57600080fd5b80634d459c901461027e5780635ab1bd531461038d578063644c45e0146103c7578063893d20e8146103cf578063946dfcfe146103d757600080fd5b80631aa3a008116100ff5780631aa3a008146101fc5780632f6c493c1461021c57806331b62a3b146102315780633bc5de30146102575780634420e4861461026b57600080fd5b806301ffc9a71461013c5780630abd84341461017e5780630d8e6e2c1461019157806315dae03e146101ad57806317d7de7c146101c2575b600080fd5b61016961014a366004611f69565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61016961018c366004611fae565b610489565b61019961052c565b60405162ffffff9091168152602001610175565b60285b60405160ff9091168152602001610175565b604080518082019091526015815274436f6d706f6e656e744f776e65725365727669636560581b60208201525b6040516101759190612011565b6102046105b6565b6040516001600160601b039091168152602001610175565b61022f61022a366004612039565b6106af565b005b7f0000000000000000000000000000000000000000000000000000000000000000610204565b6040805160208101909152600081526101ef565b610204610279366004612039565b610ab4565b61033061028c366004611fae565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610175565b6102046114a4565b6103af61150b565b600254604051908152602001610175565b61022f6103f6366004612056565b611666565b6101ef60405180604001604052806015815260200174436f6d706f6e656e744f776e65725365727669636560581b81525081565b61019961043d36600461208f565b611674565b6101b06116b5565b61022f610458366004612039565b611792565b61047061046b3660046120b7565b611afc565b6040516001600160c01b03199091168152602001610175565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610501573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052591906120d4565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561058d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b191906120ed565b905090565b60006105c061150b565b6001600160a01b0316336001600160a01b0316146106255760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af115801561068b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b19190612121565b604051636939560f60e11b81526001600160a01b03808316600483015282916000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801561071a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073e9190612121565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610799573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bd919061213c565b6108095760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e00604482015260640161061c565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d919061215e565b90506000816001600160a01b031663f0ea17c3866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e29190612121565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401606060405180830381865afa158015610926573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094a919061217b565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cc919061213c565b610a125760405162461bcd60e51b815260206004820152601760248201527622a92927a92fa1a7a6a827a722a72a2faaa725a727aba760491b604482015260640161061c565b60645b60ff908116602083019081526040805163bd62faf760e01b815284516001600160601b0316600482015291519092166024820152908201516001600160a01b03908116604483015283169063bd62faf7906064016020604051808303816000875af1158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac9190612121565b505050505050565b600080826001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b19919061215e565b9050336001600160a01b03841614610b735760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f532d3030333a4e4f545f434f4d504f4e454e540000000000604482015260640161061c565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd7919061215e565b90506000846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d91906121f9565b90506000610c4a82611afc565b6040516399fd467760e01b81526001600160c01b0319821660048201526001600160a01b038681166024830152919250908416906399fd467790604401602060405180830381865afa158015610ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc8919061213c565b610d145760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030343a545950455f524f4c455f4d495353494e4700604482015260640161061c565b604051632210724360e11b81526001600160a01b0387811660048301527f00000000000000000000000000000000000000000000000000000000000000001690634420e486906024016020604051808303816000875af1158015610d7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da09190612121565b94506000866001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610de2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e06919061215e565b6040516345acff1560e11b81526001600160601b038816600482015260ff851660248201526001600160a01b03808316604483015291925090851690638b59fe2a90606401600060405180830381600087803b158015610e6557600080fd5b505af1158015610e79573d6000803e3d6000fd5b505050506000876001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ebd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee1919061215e565b9050610f56886001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4891906121f9565b60645b60ff90811691161490565b156111c35760008890506000816001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc49190612121565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561101f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611043919061213c565b61108f5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a434d502d3030353a504f4f4c5f554e4b4e4f574e000000000000604482015260640161061c565b6000876001600160a01b03166331e48e328b83858989896001600160a01b031663bc74aab06040518163ffffffff1660e01b81526004016040805180830381865afa1580156110e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111069190612216565b8a6001600160a01b031663daafed406040518163ffffffff1660e01b81526004016040805180830381865afa158015611143573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111679190612216565b6040518863ffffffff1660e01b81526004016111899796959493929190612273565b600060405180830381600087803b1580156111a357600080fd5b505af11580156111b7573d6000803e3d6000fd5b50505050505050611499565b61122f886001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611204573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122891906121f9565b6082610f4b565b15611499576000889050856001600160a01b031663e03eeb8589836001600160a01b03166387ef9ba06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ab919061213c565b846001600160a01b03166354afef636040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130d91906120d4565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015290151560248301526044820152606401600060405180830381600087803b15801561135b57600080fd5b505af115801561136f573d6000803e3d6000fd5b50505050856001600160a01b031663d0bb064c8984846001600160a01b0316634b270a466040518163ffffffff1660e01b81526004016040805180830381865afa1580156113c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e59190612216565b856001600160a01b031663235c36036040518163ffffffff1660e01b81526004016040805180830381865afa158015611422573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114469190612216565b6040518563ffffffff1660e01b815260040161146594939291906122e0565b600060405180830381600087803b15801561147f57600080fd5b505af1158015611493573d6000803e3d6000fd5b50505050505b505050505050919050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561068b573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015611574573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115989190612121565b90506001600160601b0381166115cf577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561163c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611660919061215e565b91505090565b6116708282611b51565b5050565b60006002828154811061168957611689612330565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171991906120ed565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561176e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b191906121f9565b604051636939560f60e11b81526001600160a01b03808316600483015282916000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156117fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118219190612121565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561187c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a0919061213c565b6118ec5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e00604482015260640161061c565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561192c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611950919061215e565b90506000816001600160a01b031663f0ea17c3866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c59190612121565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401606060405180830381865afa158015611a09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2d919061217b565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aaf919061213c565b611af55760405162461bcd60e51b815260206004820152601760248201527622a92927a92fa1a7a6a827a722a72a2faaa725a727aba760491b604482015260640161061c565b606e610a15565b6000611b09826064610f4b565b15611b1c57611b16611e1f565b92915050565b611b27826082610f4b565b15611b3457611b16611eb7565b611b3f826078610f4b565b15611b4c57611b16611f0f565b919050565b6000611b5b61052c565b9050611b6681610489565b15611bc35760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840161061c565b60025415611c82576002805460009190611bdf90600190612346565b81548110611bef57611bef612330565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050611c28828262ffffff90811691161190565b611c805760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840161061c565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101611d0b4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990611e129083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b60405163e14787cb60e01b815260206004820152601060248201526f50726f647563744f776e6572526f6c6560801b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064015b602060405180830381865af4158015611e93573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b19190612367565b60405163e14787cb60e01b815260206004820152600d60248201526c506f6f6c4f776e6572526f6c6560981b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611e76565b60405163e14787cb60e01b815260206004820152600f60248201526e4f7261636c654f776e6572526f6c6560881b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611e76565b600060208284031215611f7b57600080fd5b81356001600160e01b031981168114611f9357600080fd5b9392505050565b62ffffff81168114611fab57600080fd5b50565b600060208284031215611fc057600080fd5b8135611f9381611f9a565b6000815180845260005b81811015611ff157602081850181015186830182015201611fd5565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000611f936020830184611fcb565b6001600160a01b0381168114611fab57600080fd5b60006020828403121561204b57600080fd5b8135611f9381612024565b6000806040838503121561206957600080fd5b823561207481612024565b9150602083013561208481612024565b809150509250929050565b6000602082840312156120a157600080fd5b5035919050565b60ff81168114611fab57600080fd5b6000602082840312156120c957600080fd5b8135611f93816120a8565b6000602082840312156120e657600080fd5b5051919050565b6000602082840312156120ff57600080fd5b8151611f9381611f9a565b80516001600160601b0381168114611b4c57600080fd5b60006020828403121561213357600080fd5b611f938261210a565b60006020828403121561214e57600080fd5b81518015158114611f9357600080fd5b60006020828403121561217057600080fd5b8151611f9381612024565b60006060828403121561218d57600080fd5b6040516060810181811067ffffffffffffffff821117156121be57634e487b7160e01b600052604160045260246000fd5b6040526121ca8361210a565b815260208301516121da816120a8565b602082015260408301516121ed81612024565b60408201529392505050565b60006020828403121561220b57600080fd5b8151611f93816120a8565b60006040828403121561222857600080fd5b6040516040810181811067ffffffffffffffff8211171561225957634e487b7160e01b600052604160045260246000fd5b604052825181526020928301519281019290925250919050565b6001600160601b0388811682528781166020830152861660408201526001600160a01b0385811660608301528416608082015261012081016122c260a083018580518252602090810151910152565b825160e0830152602083015161010083015298975050505050505050565b6001600160601b03851681526001600160a01b038416602082015260c08101612316604083018580518252602090810151910152565b82516080830152602083015160a083015295945050505050565b634e487b7160e01b600052603260045260246000fd5b81810381811115611b1657634e487b7160e01b600052601160045260246000fd5b60006020828403121561237957600080fd5b81516001600160c01b031981168114611f9357600080fdfea2646970667358221220c947bc5ab2d0e42880707c5a42c01a393ad78a0faf9fb7fa2fc727af0162dbd764736f6c63430008140033",
390
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80634d459c90116100b85780639555c4db1161007c5780639555c4db146103e8578063a3f4df7e146103fb578063b88da7591461042f578063cde749f414610442578063f435f5a71461044a578063fc0ae0541461045d57600080fd5b80634d459c901461027e5780635ab1bd531461038d578063644c45e0146103c7578063893d20e8146103cf578063946dfcfe146103d757600080fd5b80631aa3a008116100ff5780631aa3a008146101fc5780632f6c493c1461021c57806331b62a3b146102315780633bc5de30146102575780634420e4861461026b57600080fd5b806301ffc9a71461013c5780630abd84341461017e5780630d8e6e2c1461019157806315dae03e146101ad57806317d7de7c146101c2575b600080fd5b61016961014a366004611f69565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61016961018c366004611fae565b610489565b61019961052c565b60405162ffffff9091168152602001610175565b60285b60405160ff9091168152602001610175565b604080518082019091526015815274436f6d706f6e656e744f776e65725365727669636560581b60208201525b6040516101759190612011565b6102046105b6565b6040516001600160601b039091168152602001610175565b61022f61022a366004612039565b6106af565b005b7f0000000000000000000000000000000000000000000000000000000000000000610204565b6040805160208101909152600081526101ef565b610204610279366004612039565b610ab4565b61033061028c366004611fae565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610175565b6102046114a4565b6103af61150b565b600254604051908152602001610175565b61022f6103f6366004612056565b611666565b6101ef60405180604001604052806015815260200174436f6d706f6e656e744f776e65725365727669636560581b81525081565b61019961043d36600461208f565b611674565b6101b06116b5565b61022f610458366004612039565b611792565b61047061046b3660046120b7565b611afc565b6040516001600160c01b03199091168152602001610175565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610501573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052591906120d4565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561058d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b191906120ed565b905090565b60006105c061150b565b6001600160a01b0316336001600160a01b0316146106255760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af115801561068b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b19190612121565b604051636939560f60e11b81526001600160a01b03808316600483015282916000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801561071a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073e9190612121565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610799573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bd919061213c565b6108095760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e00604482015260640161061c565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d919061215e565b90506000816001600160a01b031663f0ea17c3866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e29190612121565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401606060405180830381865afa158015610926573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094a919061217b565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cc919061213c565b610a125760405162461bcd60e51b815260206004820152601760248201527622a92927a92fa1a7a6a827a722a72a2faaa725a727aba760491b604482015260640161061c565b60645b60ff908116602083019081526040805163bd62faf760e01b815284516001600160601b0316600482015291519092166024820152908201516001600160a01b03908116604483015283169063bd62faf7906064016020604051808303816000875af1158015610a88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aac9190612121565b505050505050565b600080826001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b19919061215e565b9050336001600160a01b03841614610b735760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f532d3030333a4e4f545f434f4d504f4e454e540000000000604482015260640161061c565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd7919061215e565b90506000846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d91906121f9565b90506000610c4a82611afc565b6040516399fd467760e01b81526001600160c01b0319821660048201526001600160a01b038681166024830152919250908416906399fd467790604401602060405180830381865afa158015610ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc8919061213c565b610d145760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030343a545950455f524f4c455f4d495353494e4700604482015260640161061c565b604051632210724360e11b81526001600160a01b0387811660048301527f00000000000000000000000000000000000000000000000000000000000000001690634420e486906024016020604051808303816000875af1158015610d7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da09190612121565b94506000866001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610de2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e06919061215e565b6040516345acff1560e11b81526001600160601b038816600482015260ff851660248201526001600160a01b03808316604483015291925090851690638b59fe2a90606401600060405180830381600087803b158015610e6557600080fd5b505af1158015610e79573d6000803e3d6000fd5b505050506000876001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ebd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee1919061215e565b9050610f56886001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4891906121f9565b60645b60ff90811691161490565b156111c35760008890506000816001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc49190612121565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561101f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611043919061213c565b61108f5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a434d502d3030353a504f4f4c5f554e4b4e4f574e000000000000604482015260640161061c565b6000876001600160a01b03166331e48e328b83858989896001600160a01b031663bc74aab06040518163ffffffff1660e01b81526004016040805180830381865afa1580156110e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111069190612216565b8a6001600160a01b031663daafed406040518163ffffffff1660e01b81526004016040805180830381865afa158015611143573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111679190612216565b6040518863ffffffff1660e01b81526004016111899796959493929190612273565b600060405180830381600087803b1580156111a357600080fd5b505af11580156111b7573d6000803e3d6000fd5b50505050505050611499565b61122f886001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611204573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122891906121f9565b6082610f4b565b15611499576000889050856001600160a01b031663e03eeb8589836001600160a01b03166387ef9ba06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ab919061213c565b846001600160a01b03166354afef636040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130d91906120d4565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015290151560248301526044820152606401600060405180830381600087803b15801561135b57600080fd5b505af115801561136f573d6000803e3d6000fd5b50505050856001600160a01b031663d0bb064c8984846001600160a01b0316634b270a466040518163ffffffff1660e01b81526004016040805180830381865afa1580156113c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e59190612216565b856001600160a01b031663235c36036040518163ffffffff1660e01b81526004016040805180830381865afa158015611422573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114469190612216565b6040518563ffffffff1660e01b815260040161146594939291906122e0565b600060405180830381600087803b15801561147f57600080fd5b505af1158015611493573d6000803e3d6000fd5b50505050505b505050505050919050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561068b573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015611574573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115989190612121565b90506001600160601b0381166115cf577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801561163c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611660919061215e565b91505090565b6116708282611b51565b5050565b60006002828154811061168957611689612330565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171991906120ed565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561176e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b191906121f9565b604051636939560f60e11b81526001600160a01b03808316600483015282916000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156117fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118219190612121565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561187c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a0919061213c565b6118ec5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e00604482015260640161061c565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561192c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611950919061215e565b90506000816001600160a01b031663f0ea17c3866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c59190612121565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401606060405180830381865afa158015611a09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2d919061217b565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aaf919061213c565b611af55760405162461bcd60e51b815260206004820152601760248201527622a92927a92fa1a7a6a827a722a72a2faaa725a727aba760491b604482015260640161061c565b606e610a15565b6000611b09826064610f4b565b15611b1c57611b16611e1f565b92915050565b611b27826082610f4b565b15611b3457611b16611eb7565b611b3f826078610f4b565b15611b4c57611b16611f0f565b919050565b6000611b5b61052c565b9050611b6681610489565b15611bc35760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840161061c565b60025415611c82576002805460009190611bdf90600190612346565b81548110611bef57611bef612330565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050611c28828262ffffff90811691161190565b611c805760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840161061c565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101611d0b4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990611e129083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b60405163e14787cb60e01b815260206004820152601060248201526f50726f647563744f776e6572526f6c6560801b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064015b602060405180830381865af4158015611e93573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b19190612367565b60405163e14787cb60e01b815260206004820152600d60248201526c506f6f6c4f776e6572526f6c6560981b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611e76565b60405163e14787cb60e01b815260206004820152600f60248201526e4f7261636c654f776e6572526f6c6560881b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611e76565b600060208284031215611f7b57600080fd5b81356001600160e01b031981168114611f9357600080fd5b9392505050565b62ffffff81168114611fab57600080fd5b50565b600060208284031215611fc057600080fd5b8135611f9381611f9a565b6000815180845260005b81811015611ff157602081850181015186830182015201611fd5565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000611f936020830184611fcb565b6001600160a01b0381168114611fab57600080fd5b60006020828403121561204b57600080fd5b8135611f9381612024565b6000806040838503121561206957600080fd5b823561207481612024565b9150602083013561208481612024565b809150509250929050565b6000602082840312156120a157600080fd5b5035919050565b60ff81168114611fab57600080fd5b6000602082840312156120c957600080fd5b8135611f93816120a8565b6000602082840312156120e657600080fd5b5051919050565b6000602082840312156120ff57600080fd5b8151611f9381611f9a565b80516001600160601b0381168114611b4c57600080fd5b60006020828403121561213357600080fd5b611f938261210a565b60006020828403121561214e57600080fd5b81518015158114611f9357600080fd5b60006020828403121561217057600080fd5b8151611f9381612024565b60006060828403121561218d57600080fd5b6040516060810181811067ffffffffffffffff821117156121be57634e487b7160e01b600052604160045260246000fd5b6040526121ca8361210a565b815260208301516121da816120a8565b602082015260408301516121ed81612024565b60408201529392505050565b60006020828403121561220b57600080fd5b8151611f93816120a8565b60006040828403121561222857600080fd5b6040516040810181811067ffffffffffffffff8211171561225957634e487b7160e01b600052604160045260246000fd5b604052825181526020928301519281019290925250919050565b6001600160601b0388811682528781166020830152861660408201526001600160a01b0385811660608301528416608082015261012081016122c260a083018580518252602090810151910152565b825160e0830152602083015161010083015298975050505050505050565b6001600160601b03851681526001600160a01b038416602082015260c08101612316604083018580518252602090810151910152565b82516080830152602083015160a083015295945050505050565b634e487b7160e01b600052603260045260246000fd5b81810381811115611b1657634e487b7160e01b600052601160045260246000fd5b60006020828403121561237957600080fd5b81516001600160c01b031981168114611f9357600080fdfea2646970667358221220c947bc5ab2d0e42880707c5a42c01a393ad78a0faf9fb7fa2fc727af0162dbd764736f6c63430008140033",
532
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162003161380380620031618339810160408190526200003491620005a7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790556200007a620000cc565b6200008783838362000180565b6327535ccf60e01b60009081526020527fdf85129a843b1189784b76e4b72b0cde3e9c7821233b206b7eed6ac5a2fce6f7805460ff1916600117905550505062000841565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156200011d5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146200017d5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000620001bd60408051808201909152601581527f436f6d706f6e656e744f776e6572536572766963650000000000000000000000602082015290565b620001c762000240565b604051602001620001da929190620005ff565b60408051808303601f190181529190529050620001fe8484602860008686620002cd565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050565b60006200024c62000502565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620002a2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c8919062000659565b905090565b6001600160a01b038616620003295760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa15801562000377573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039d919062000685565b620003eb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000604482015260640162000320565b6001600160a01b03818116600160a01b6001600160601b0389168102919091177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa302620004bb84826200074e565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000564573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c891906200081a565b80516001600160a01b0381168114620005a257600080fd5b919050565b600080600060608486031215620005bd57600080fd5b620005c8846200058a565b60208501519093506001600160601b0381168114620005e657600080fd5b9150620005f6604085016200058a565b90509250925092565b604081526000835180604084015260005b818110156200062f576020818701810151606086840101520162000610565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b6000602082840312156200066c57600080fd5b815160ff811681146200067e57600080fd5b9392505050565b6000602082840312156200069857600080fd5b815180151581146200067e57600080fd5b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006d457607f821691505b602082108103620006f557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200074957600081815260208120601f850160051c81016020861015620007245750805b601f850160051c820191505b81811015620007455782815560010162000730565b5050505b505050565b81516001600160401b038111156200076a576200076a620006a9565b62000782816200077b8454620006bf565b84620006fb565b602080601f831160018114620007ba5760008415620007a15750858301515b600019600386901b1c1916600185901b17855562000745565b600085815260208120601f198616915b82811015620007eb57888601518255948401946001909101908401620007ca565b50858210156200080a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200082d57600080fd5b815162ffffff811681146200067e57600080fd5b61291080620008516000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063893d20e8116100b8578063b88da7591161007c578063b88da75914610442578063caf4e3d414610455578063cde749f41461045d578063cf7a1d7714610477578063f435f5a71461048a578063fc0ae0541461049d57600080fd5b8063893d20e8146103ac578063946dfcfe146103b4578063a3f4df7e146103db578063a745e3df1461040f578063b3c650151461042257600080fd5b80631eff4b221161010a5780631eff4b22146102205780632f6c493c146102435780634d459c90146102585780634f421333146103715780635ab1bd5314610384578063644c45e0146103a457600080fd5b806301ffc9a71461014757806307e49598146101895780630d8e6e2c146101b45780630fec111c146101d057806317d7de7c146101e6575b600080fd5b610174610155366004611f29565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c610197366004611f81565b6104c9565b6040516001600160601b039091168152602001610180565b6101bc6106e5565b60405162ffffff9091168152602001610180565b6101d861076f565b60405161018092919061200a565b604080518082019091526015815274436f6d706f6e656e744f776e65725365727669636560581b60208201525b60405161018091906120b1565b61023560008051602061287b83398151915281565b604051908152602001610180565b6102566102513660046120c4565b6108d2565b005b6103146102663660046120f2565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206128bb83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461037f3660046120f2565b610bf3565b61038c610ca6565b6040516001600160a01b039091168152602001610180565b61019c610cc2565b61038c610d3d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610235565b61021360405180604001604052806015815260200174436f6d706f6e656e744f776e65725365727669636560581b81525081565b61025661041d3660046121e9565b610db8565b61042a610f12565b6040516001600160401b039091168152602001610180565b6101bc61045036600461228d565b610f33565b61038c610f84565b610465611035565b60405160ff9091168152602001610180565b6102566104853660046121e9565b6110b8565b6102566104983660046120c4565b6111c1565b6104b06104ab3660046122a6565b611480565b6040516001600160c01b03199091168152602001610180565b60008060006104d6610f84565b60405163d943342d60e01b81526001600160a01b03878116600483015260ff87166024830152336044830152919091169063d943342d906064016000604051808303816000875af115801561052f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261055791908101906123fa565b60208201519193509150600061056b610ca6565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156105ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e2919081019061245d565b6080015190508060006105f488611480565b6040516399fd467760e01b81526001600160c01b0319821660048201523360248201529091506001600160a01b038316906399fd467790604401602060405180830381865afa15801561064b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066f9190612491565b15156000036106915760405163337d32e360e01b815260040160405180910390fd5b6106a388606e5b60ff90811691161490565b156106bb5785516106b6908584886114e7565b6106d9565b6106c688608c610698565b156106d95785516106d990858488611883565b50505050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a91906124ac565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909160008051602061287b83398151915290506040518060e001604052806107ce600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610838906124c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610864906124c9565b80156108b15780601f10610886576101008083540402835291602001916108b1565b820191906000526020600020905b81548152906001019060200180831161089457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b8060006108dd610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015610925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109499190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c89190612491565b610a195760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e0060448201526064015b60405180910390fd5b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7d919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610b59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7d919061253b565b90506001600160a01b03831663a238accd8260645b6040516001600160e01b031960e085901b168152600481019290925260ff166024820152604401600060405180830381600087803b158015610bd357600080fd5b505af1158015610be7573d6000803e3d6000fd5b50505050505050505050565b6000806000805160206128bb83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9f919061253b565b1192915050565b60008051602061287b833981519152546001600160a01b031690565b600060008051602061287b83398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612503565b600060008051602061287b83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a919061251e565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610dda6106e5565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3e9190612554565b60008051602061289b8339815191528054600160401b900460ff1680610e71575080546001600160401b03808416911610155b15610e8f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610eba8585611b03565b610ec383611d3e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061076a60008051602061289b833981519152546001600160401b031690565b60006000805160206128bb8339815191526001018281548110610f5857610f5861257d565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610f8f610ca6565b6001600160a01b031663a3bcd81d610fa5611035565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561100b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102f919061251e565b92915050565b600061103f6106e5565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611094573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612593565b60008051602061289b8339815191528054600160401b810460ff1615906001600160401b03166000811580156110eb5750825b90506000826001600160401b031660011480156111075750303b155b905081158015611115575080155b156111335760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561115d57845460ff60401b1916600160401b1785555b6111678888611b03565b6111718787611d3e565b83156111b757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b8060006111cc610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b79190612491565b6113035760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e006044820152606401610a10565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611343573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611367919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cd9190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611467919061253b565b90506001600160a01b03831663a238accd82606e610b92565b600061148d82606e610698565b1561149a5761102f611d46565b6114a582608c610698565b156114b25761102f611dde565b6114bd826078610698565b156114ca5761102f611e36565b6114d5826082610698565b156114e25761102f611e96565b919050565b600080828060200190518101906114fe91906125e0565b91509150600061150c610ca6565b90506001600160a01b038216611535576040516361a02c4f60e11b815260040160405180910390fd5b60408381015190516308b09a5f60e41b81526001600160a01b039182166004820152600091831690638b09a5f090602401600060405180830381865afa158015611583573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115ab919081019061245d565b90506115c981604001516115bd601e90565b60ff9081169116141590565b156115e75760405163c1ab6dc160e01b815260040160405180910390fd5b83516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611662919081019061245d565b905061167481604001516115bd608c90565b156116915760405162820f3560e61b815260040160405180910390fd5b60208101516001600160601b038981169116146116c157604051636721a3e960e11b815260040160405180910390fd5b60208501516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015611717573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261173f919081019061245d565b905061175181604001516115bd607890565b1561176f57604051630d16b83360e31b815260040160405180910390fd5b60208101516001600160601b038a811691161461179f57604051631c33ddfb60e31b815260040160405180910390fd5b604086810151905163ea5fa54b60e01b81526001600160601b038c1660048201526001600160a01b03918216602482015286821660448201529089169063ea5fa54b90606401600060405180830381600087803b1580156117ff57600080fd5b505af1158015611813573d6000803e3d6000fd5b505060405163042c74ed60e41b81526001600160a01b038b1692506342c74ed09150611845908d908a906004016126c5565b600060405180830381600087803b15801561185f57600080fd5b505af1158015611873573d6000803e3d6000fd5b5050505050505050505050505050565b60008060008380602001905181019061189c91906127ac565b50505092509250925060006118af610ca6565b90506001600160a01b0383166118d8576040516361a02c4f60e11b815260040160405180910390fd5b6040516308b09a5f60e41b81526001600160a01b03838116600483015260009190831690638b09a5f090602401600060405180830381865afa158015611922573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261194a919081019061245d565b60400151905061195b81601e6115bd565b156119795760405163c1ab6dc160e01b815260040160405180910390fd5b602085015160405163753b14a560e01b8152600481019190915273__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__9063753b14a590602401602060405180830381865af41580156119cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f39190612491565b15611a11576040516313e89cb760e31b815260040160405180910390fd5b60405163ea5fa54b60e01b81526001600160601b038a1660048201526001600160a01b038481166024830152858116604483015288169063ea5fa54b90606401600060405180830381600087803b158015611a6b57600080fd5b505af1158015611a7f573d6000803e3d6000fd5b50506040516373617bf160e01b81526001600160601b038c166004820152875115156024820152602088015160448201526001600160a01b038a1692506373617bf19150606401600060405180830381600087803b158015611ae057600080fd5b505af1158015611af4573d6000803e3d6000fd5b50505050505050505050505050565b611b0b611ef0565b6000805160206128bb8339815191526000611b3b60008051602061289b833981519152546001600160401b031690565b90506000611b476106e5565b9050816001600160401b0316600103611b745760028301805462ffffff191662ffffff8316179055611bc2565b600283015462ffffff90811690821611611bc25760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a10565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611c364290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f039083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611ef0565b60405163e14787cb60e01b815260206004820152601060248201526f50726f647563744f776e6572526f6c6560801b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064015b602060405180830381865af4158015611dba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612850565b60405163e14787cb60e01b815260206004820152600d60248201526c506f6f6c4f776e6572526f6c6560981b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b8152602060048201526015602482015274446973747269627574696f6e4f776e6572526f6c6560581b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b815260206004820152600f60248201526e4f7261636c654f776e6572526f6c6560881b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60008051602061289b83398151915254600160401b900460ff16611f2757604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215611f3b57600080fd5b81356001600160e01b031981168114611f5357600080fd5b9392505050565b6001600160a01b0381168114611f6f57600080fd5b50565b60ff81168114611f6f57600080fd5b60008060408385031215611f9457600080fd5b8235611f9f81611f5a565b91506020830135611faf81611f72565b809150509250929050565b60005b83811015611fd5578181015183820152602001611fbd565b50506000910152565b60008151808452611ff6816020860160208601611fba565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161204e60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612094610120840182611fde565b905082810360208401526120a88185611fde565b95945050505050565b602081526000611f536020830184611fde565b6000602082840312156120d657600080fd5b8135611f5381611f5a565b62ffffff81168114611f6f57600080fd5b60006020828403121561210457600080fd5b8135611f53816120e1565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156121475761214761210f565b60405290565b604080519081016001600160401b03811182821017156121475761214761210f565b60405161012081016001600160401b03811182821017156121475761214761210f565b604051601f8201601f191681016001600160401b03811182821017156121ba576121ba61210f565b604052919050565b60006001600160401b038211156121db576121db61210f565b50601f01601f191660200190565b6000806000606084860312156121fe57600080fd5b833561220981611f5a565b9250602084013561221981611f5a565b915060408401356001600160401b0381111561223457600080fd5b8401601f8101861361224557600080fd5b8035612258612253826121c2565b612192565b81815287602083850101111561226d57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561229f57600080fd5b5035919050565b6000602082840312156122b857600080fd5b8135611f5381611f72565b80516001600160601b03811681146114e257600080fd5b80516114e281611f72565b805180151581146114e257600080fd5b80516114e281611f5a565b600082601f83011261231157600080fd5b815161231f612253826121c2565b81815284602083860101111561233457600080fd5b612345826020830160208701611fba565b949350505050565b600060e0828403121561235f57600080fd5b612367612125565b9050612372826122c3565b8152612380602083016122c3565b6020820152612391604083016122da565b60408201526123a2606083016122e5565b60608201526123b3608083016122f5565b60808201526123c460a083016122f5565b60a082015260c08201516001600160401b038111156123e257600080fd5b6123ee84828501612300565b60c08301525092915050565b6000806040838503121561240d57600080fd5b82516001600160401b038082111561242457600080fd5b6124308683870161234d565b9350602085015191508082111561244657600080fd5b5061245385828601612300565b9150509250929050565b60006020828403121561246f57600080fd5b81516001600160401b0381111561248557600080fd5b6123458482850161234d565b6000602082840312156124a357600080fd5b611f53826122e5565b6000602082840312156124be57600080fd5b8151611f53816120e1565b600181811c908216806124dd57607f821691505b6020821081036124fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561251557600080fd5b611f53826122c3565b60006020828403121561253057600080fd5b8151611f5381611f5a565b60006020828403121561254d57600080fd5b5051919050565b60006020828403121561256657600080fd5b81516001600160401b0381168114611f5357600080fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125a557600080fd5b8151611f5381611f72565b6000604082840312156125c257600080fd5b6125ca61214d565b9050815181526020820151602082015292915050565b6000808284036102008112156125f557600080fd5b6101e08082121561260557600080fd5b61260d61216f565b9150612618856122c3565b8252612626602086016122c3565b6020830152612637604086016122f5565b604083015261264986606087016125b0565b606083015261265b8660a087016125b0565b608083015261266d8660e087016125b0565b60a08301526126808661012087016125b0565b60c08301526126938661016087016125b0565b60e08301526126a6866101a087016125b0565b6101008301528193506126ba8186016122f5565b925050509250929050565b6001600160601b0383811682528251166020808301919091528201516102008201906126fc60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061275e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000806000806000808688036101408112156127c757600080fd5b60408112156127d557600080fd5b506127de61214d565b6127e7886122e5565b81526020880151602082015280965050604087015161280581611f5a565b606088015190955061281681611f5a565b935061282588608089016125b0565b92506128348860c089016125b0565b91506128448861010089016125b0565b90509295509295509295565b60006020828403121561286257600080fd5b81516001600160c01b031981168114611f5357600080fdfe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220dad612ef77592cd7538f6e5e9875c6752b18662ee7948c1505bcad79eb5bfbf164736f6c63430008140033",
533
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063893d20e8116100b8578063b88da7591161007c578063b88da75914610442578063caf4e3d414610455578063cde749f41461045d578063cf7a1d7714610477578063f435f5a71461048a578063fc0ae0541461049d57600080fd5b8063893d20e8146103ac578063946dfcfe146103b4578063a3f4df7e146103db578063a745e3df1461040f578063b3c650151461042257600080fd5b80631eff4b221161010a5780631eff4b22146102205780632f6c493c146102435780634d459c90146102585780634f421333146103715780635ab1bd5314610384578063644c45e0146103a457600080fd5b806301ffc9a71461014757806307e49598146101895780630d8e6e2c146101b45780630fec111c146101d057806317d7de7c146101e6575b600080fd5b610174610155366004611f29565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c610197366004611f81565b6104c9565b6040516001600160601b039091168152602001610180565b6101bc6106e5565b60405162ffffff9091168152602001610180565b6101d861076f565b60405161018092919061200a565b604080518082019091526015815274436f6d706f6e656e744f776e65725365727669636560581b60208201525b60405161018091906120b1565b61023560008051602061287b83398151915281565b604051908152602001610180565b6102566102513660046120c4565b6108d2565b005b6103146102663660046120f2565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206128bb83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461037f3660046120f2565b610bf3565b61038c610ca6565b6040516001600160a01b039091168152602001610180565b61019c610cc2565b61038c610d3d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610235565b61021360405180604001604052806015815260200174436f6d706f6e656e744f776e65725365727669636560581b81525081565b61025661041d3660046121e9565b610db8565b61042a610f12565b6040516001600160401b039091168152602001610180565b6101bc61045036600461228d565b610f33565b61038c610f84565b610465611035565b60405160ff9091168152602001610180565b6102566104853660046121e9565b6110b8565b6102566104983660046120c4565b6111c1565b6104b06104ab3660046122a6565b611480565b6040516001600160c01b03199091168152602001610180565b60008060006104d6610f84565b60405163d943342d60e01b81526001600160a01b03878116600483015260ff87166024830152336044830152919091169063d943342d906064016000604051808303816000875af115801561052f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261055791908101906123fa565b60208201519193509150600061056b610ca6565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156105ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e2919081019061245d565b6080015190508060006105f488611480565b6040516399fd467760e01b81526001600160c01b0319821660048201523360248201529091506001600160a01b038316906399fd467790604401602060405180830381865afa15801561064b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066f9190612491565b15156000036106915760405163337d32e360e01b815260040160405180910390fd5b6106a388606e5b60ff90811691161490565b156106bb5785516106b6908584886114e7565b6106d9565b6106c688608c610698565b156106d95785516106d990858488611883565b50505050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a91906124ac565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909160008051602061287b83398151915290506040518060e001604052806107ce600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610838906124c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610864906124c9565b80156108b15780601f10610886576101008083540402835291602001916108b1565b820191906000526020600020905b81548152906001019060200180831161089457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b8060006108dd610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015610925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109499190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c89190612491565b610a195760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e0060448201526064015b60405180910390fd5b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7d919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610b59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7d919061253b565b90506001600160a01b03831663a238accd8260645b6040516001600160e01b031960e085901b168152600481019290925260ff166024820152604401600060405180830381600087803b158015610bd357600080fd5b505af1158015610be7573d6000803e3d6000fd5b50505050505050505050565b6000806000805160206128bb83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9f919061253b565b1192915050565b60008051602061287b833981519152546001600160a01b031690565b600060008051602061287b83398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612503565b600060008051602061287b83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a919061251e565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610dda6106e5565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3e9190612554565b60008051602061289b8339815191528054600160401b900460ff1680610e71575080546001600160401b03808416911610155b15610e8f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610eba8585611b03565b610ec383611d3e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061076a60008051602061289b833981519152546001600160401b031690565b60006000805160206128bb8339815191526001018281548110610f5857610f5861257d565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610f8f610ca6565b6001600160a01b031663a3bcd81d610fa5611035565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561100b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102f919061251e565b92915050565b600061103f6106e5565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611094573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612593565b60008051602061289b8339815191528054600160401b810460ff1615906001600160401b03166000811580156110eb5750825b90506000826001600160401b031660011480156111075750303b155b905081158015611115575080155b156111335760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561115d57845460ff60401b1916600160401b1785555b6111678888611b03565b6111718787611d3e565b83156111b757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b8060006111cc610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b79190612491565b6113035760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e006044820152606401610a10565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611343573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611367919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cd9190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611467919061253b565b90506001600160a01b03831663a238accd82606e610b92565b600061148d82606e610698565b1561149a5761102f611d46565b6114a582608c610698565b156114b25761102f611dde565b6114bd826078610698565b156114ca5761102f611e36565b6114d5826082610698565b156114e25761102f611e96565b919050565b600080828060200190518101906114fe91906125e0565b91509150600061150c610ca6565b90506001600160a01b038216611535576040516361a02c4f60e11b815260040160405180910390fd5b60408381015190516308b09a5f60e41b81526001600160a01b039182166004820152600091831690638b09a5f090602401600060405180830381865afa158015611583573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115ab919081019061245d565b90506115c981604001516115bd601e90565b60ff9081169116141590565b156115e75760405163c1ab6dc160e01b815260040160405180910390fd5b83516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611662919081019061245d565b905061167481604001516115bd608c90565b156116915760405162820f3560e61b815260040160405180910390fd5b60208101516001600160601b038981169116146116c157604051636721a3e960e11b815260040160405180910390fd5b60208501516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015611717573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261173f919081019061245d565b905061175181604001516115bd607890565b1561176f57604051630d16b83360e31b815260040160405180910390fd5b60208101516001600160601b038a811691161461179f57604051631c33ddfb60e31b815260040160405180910390fd5b604086810151905163ea5fa54b60e01b81526001600160601b038c1660048201526001600160a01b03918216602482015286821660448201529089169063ea5fa54b90606401600060405180830381600087803b1580156117ff57600080fd5b505af1158015611813573d6000803e3d6000fd5b505060405163042c74ed60e41b81526001600160a01b038b1692506342c74ed09150611845908d908a906004016126c5565b600060405180830381600087803b15801561185f57600080fd5b505af1158015611873573d6000803e3d6000fd5b5050505050505050505050505050565b60008060008380602001905181019061189c91906127ac565b50505092509250925060006118af610ca6565b90506001600160a01b0383166118d8576040516361a02c4f60e11b815260040160405180910390fd5b6040516308b09a5f60e41b81526001600160a01b03838116600483015260009190831690638b09a5f090602401600060405180830381865afa158015611922573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261194a919081019061245d565b60400151905061195b81601e6115bd565b156119795760405163c1ab6dc160e01b815260040160405180910390fd5b602085015160405163753b14a560e01b8152600481019190915273__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__9063753b14a590602401602060405180830381865af41580156119cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f39190612491565b15611a11576040516313e89cb760e31b815260040160405180910390fd5b60405163ea5fa54b60e01b81526001600160601b038a1660048201526001600160a01b038481166024830152858116604483015288169063ea5fa54b90606401600060405180830381600087803b158015611a6b57600080fd5b505af1158015611a7f573d6000803e3d6000fd5b50506040516373617bf160e01b81526001600160601b038c166004820152875115156024820152602088015160448201526001600160a01b038a1692506373617bf19150606401600060405180830381600087803b158015611ae057600080fd5b505af1158015611af4573d6000803e3d6000fd5b50505050505050505050505050565b611b0b611ef0565b6000805160206128bb8339815191526000611b3b60008051602061289b833981519152546001600160401b031690565b90506000611b476106e5565b9050816001600160401b0316600103611b745760028301805462ffffff191662ffffff8316179055611bc2565b600283015462ffffff90811690821611611bc25760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a10565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611c364290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f039083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611ef0565b60405163e14787cb60e01b815260206004820152601060248201526f50726f647563744f776e6572526f6c6560801b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064015b602060405180830381865af4158015611dba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612850565b60405163e14787cb60e01b815260206004820152600d60248201526c506f6f6c4f776e6572526f6c6560981b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b8152602060048201526015602482015274446973747269627574696f6e4f776e6572526f6c6560581b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b815260206004820152600f60248201526e4f7261636c654f776e6572526f6c6560881b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60008051602061289b83398151915254600160401b900460ff16611f2757604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215611f3b57600080fd5b81356001600160e01b031981168114611f5357600080fd5b9392505050565b6001600160a01b0381168114611f6f57600080fd5b50565b60ff81168114611f6f57600080fd5b60008060408385031215611f9457600080fd5b8235611f9f81611f5a565b91506020830135611faf81611f72565b809150509250929050565b60005b83811015611fd5578181015183820152602001611fbd565b50506000910152565b60008151808452611ff6816020860160208601611fba565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161204e60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612094610120840182611fde565b905082810360208401526120a88185611fde565b95945050505050565b602081526000611f536020830184611fde565b6000602082840312156120d657600080fd5b8135611f5381611f5a565b62ffffff81168114611f6f57600080fd5b60006020828403121561210457600080fd5b8135611f53816120e1565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156121475761214761210f565b60405290565b604080519081016001600160401b03811182821017156121475761214761210f565b60405161012081016001600160401b03811182821017156121475761214761210f565b604051601f8201601f191681016001600160401b03811182821017156121ba576121ba61210f565b604052919050565b60006001600160401b038211156121db576121db61210f565b50601f01601f191660200190565b6000806000606084860312156121fe57600080fd5b833561220981611f5a565b9250602084013561221981611f5a565b915060408401356001600160401b0381111561223457600080fd5b8401601f8101861361224557600080fd5b8035612258612253826121c2565b612192565b81815287602083850101111561226d57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561229f57600080fd5b5035919050565b6000602082840312156122b857600080fd5b8135611f5381611f72565b80516001600160601b03811681146114e257600080fd5b80516114e281611f72565b805180151581146114e257600080fd5b80516114e281611f5a565b600082601f83011261231157600080fd5b815161231f612253826121c2565b81815284602083860101111561233457600080fd5b612345826020830160208701611fba565b949350505050565b600060e0828403121561235f57600080fd5b612367612125565b9050612372826122c3565b8152612380602083016122c3565b6020820152612391604083016122da565b60408201526123a2606083016122e5565b60608201526123b3608083016122f5565b60808201526123c460a083016122f5565b60a082015260c08201516001600160401b038111156123e257600080fd5b6123ee84828501612300565b60c08301525092915050565b6000806040838503121561240d57600080fd5b82516001600160401b038082111561242457600080fd5b6124308683870161234d565b9350602085015191508082111561244657600080fd5b5061245385828601612300565b9150509250929050565b60006020828403121561246f57600080fd5b81516001600160401b0381111561248557600080fd5b6123458482850161234d565b6000602082840312156124a357600080fd5b611f53826122e5565b6000602082840312156124be57600080fd5b8151611f53816120e1565b600181811c908216806124dd57607f821691505b6020821081036124fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561251557600080fd5b611f53826122c3565b60006020828403121561253057600080fd5b8151611f5381611f5a565b60006020828403121561254d57600080fd5b5051919050565b60006020828403121561256657600080fd5b81516001600160401b0381168114611f5357600080fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125a557600080fd5b8151611f5381611f72565b6000604082840312156125c257600080fd5b6125ca61214d565b9050815181526020820151602082015292915050565b6000808284036102008112156125f557600080fd5b6101e08082121561260557600080fd5b61260d61216f565b9150612618856122c3565b8252612626602086016122c3565b6020830152612637604086016122f5565b604083015261264986606087016125b0565b606083015261265b8660a087016125b0565b608083015261266d8660e087016125b0565b60a08301526126808661012087016125b0565b60c08301526126938661016087016125b0565b60e08301526126a6866101a087016125b0565b6101008301528193506126ba8186016122f5565b925050509250929050565b6001600160601b0383811682528251166020808301919091528201516102008201906126fc60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061275e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000806000806000808688036101408112156127c757600080fd5b60408112156127d557600080fd5b506127de61214d565b6127e7886122e5565b81526020880151602082015280965050604087015161280581611f5a565b606088015190955061281681611f5a565b935061282588608089016125b0565b92506128348860c089016125b0565b91506128448861010089016125b0565b90509295509295509295565b60006020828403121561286257600080fd5b81516001600160c01b031981168114611f5357600080fdfe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220dad612ef77592cd7538f6e5e9875c6752b18662ee7948c1505bcad79eb5bfbf164736f6c63430008140033",
391
534
  "linkReferences": {
392
535
  "contracts/types/Blocknumber.sol": {
393
536
  "BlocknumberLib": [
394
537
  {
395
538
  "length": 20,
396
- "start": 1701
397
- },
398
- {
399
- "length": 20,
400
- "start": 3392
539
+ "start": 5266
401
540
  }
402
541
  ]
403
542
  },
@@ -405,23 +544,19 @@
405
544
  "NftIdLib": [
406
545
  {
407
546
  "length": 20,
408
- "start": 4056
409
- },
410
- {
411
- "length": 20,
412
- "start": 4583
547
+ "start": 4539
413
548
  },
414
549
  {
415
550
  "length": 20,
416
- "start": 6238
551
+ "start": 4922
417
552
  },
418
553
  {
419
554
  "length": 20,
420
- "start": 8379
555
+ "start": 6826
421
556
  },
422
557
  {
423
558
  "length": 20,
424
- "start": 8906
559
+ "start": 7204
425
560
  }
426
561
  ]
427
562
  },
@@ -429,15 +564,27 @@
429
564
  "RoleIdLib": [
430
565
  {
431
566
  "length": 20,
432
- "start": 9937
567
+ "start": 9680
433
568
  },
434
569
  {
435
570
  "length": 20,
436
- "start": 10086
571
+ "start": 9829
437
572
  },
438
573
  {
439
574
  "length": 20,
440
- "start": 10176
575
+ "start": 9925
576
+ },
577
+ {
578
+ "length": 20,
579
+ "start": 10015
580
+ }
581
+ ]
582
+ },
583
+ "contracts/types/UFixed.sol": {
584
+ "UFixedMathLib": [
585
+ {
586
+ "length": 20,
587
+ "start": 8678
441
588
  }
442
589
  ]
443
590
  },
@@ -445,15 +592,23 @@
445
592
  "VersionLib": [
446
593
  {
447
594
  "length": 20,
448
- "start": 1537
595
+ "start": 615
449
596
  },
450
597
  {
451
598
  "length": 20,
452
- "start": 3532
599
+ "start": 1321
453
600
  },
454
601
  {
455
602
  "length": 20,
456
- "start": 8109
603
+ "start": 3933
604
+ },
605
+ {
606
+ "length": 20,
607
+ "start": 5643
608
+ },
609
+ {
610
+ "length": 20,
611
+ "start": 6315
457
612
  }
458
613
  ]
459
614
  }
@@ -463,7 +618,7 @@
463
618
  "BlocknumberLib": [
464
619
  {
465
620
  "length": 20,
466
- "start": 1223
621
+ "start": 3137
467
622
  }
468
623
  ]
469
624
  },
@@ -471,23 +626,19 @@
471
626
  "NftIdLib": [
472
627
  {
473
628
  "length": 20,
474
- "start": 1887
475
- },
476
- {
477
- "length": 20,
478
- "start": 2414
629
+ "start": 2410
479
630
  },
480
631
  {
481
632
  "length": 20,
482
- "start": 4069
633
+ "start": 2793
483
634
  },
484
635
  {
485
636
  "length": 20,
486
- "start": 6210
637
+ "start": 4697
487
638
  },
488
639
  {
489
640
  "length": 20,
490
- "start": 6737
641
+ "start": 5075
491
642
  }
492
643
  ]
493
644
  },
@@ -495,15 +646,27 @@
495
646
  "RoleIdLib": [
496
647
  {
497
648
  "length": 20,
498
- "start": 7768
649
+ "start": 7551
499
650
  },
500
651
  {
501
652
  "length": 20,
502
- "start": 7917
653
+ "start": 7700
503
654
  },
504
655
  {
505
656
  "length": 20,
506
- "start": 8007
657
+ "start": 7796
658
+ },
659
+ {
660
+ "length": 20,
661
+ "start": 7886
662
+ }
663
+ ]
664
+ },
665
+ "contracts/types/UFixed.sol": {
666
+ "UFixedMathLib": [
667
+ {
668
+ "length": 20,
669
+ "start": 6549
507
670
  }
508
671
  ]
509
672
  },
@@ -511,11 +674,15 @@
511
674
  "VersionLib": [
512
675
  {
513
676
  "length": 20,
514
- "start": 1363
677
+ "start": 1804
678
+ },
679
+ {
680
+ "length": 20,
681
+ "start": 3514
515
682
  },
516
683
  {
517
684
  "length": 20,
518
- "start": 5940
685
+ "start": 4186
519
686
  }
520
687
  ]
521
688
  }