@etherisc/gif-next 0.0.2-f7be756-963 → 0.0.2-f7bec40-735

Sign up to get free protection for your applications and to get access to all the features.
Files changed (492) hide show
  1. package/README.md +337 -19
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +698 -30
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1376 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1095 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +861 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1214 -135
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1008 -156
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +312 -1138
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +616 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +441 -1229
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
  30. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +979 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +656 -0
  38. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  39. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
  40. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  41. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  42. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  46. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  47. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  48. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
  50. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
  52. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  54. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  55. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  56. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  57. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  58. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  60. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  62. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  63. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  64. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  65. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  66. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
  68. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +918 -0
  70. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  72. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1288 -0
  74. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  76. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  78. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  80. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1556 -0
  82. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  84. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +493 -0
  86. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +735 -0
  88. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  90. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +840 -0
  92. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  96. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.json +510 -0
  98. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +442 -0
  100. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
  102. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  104. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1622 -0
  106. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  108. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
  110. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  112. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  113. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  114. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  116. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +252 -2
  118. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +595 -27
  120. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  121. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +858 -0
  122. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  123. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  124. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  125. package/artifacts/contracts/registry/Registry.sol/Registry.json +652 -50
  126. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  127. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  128. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  129. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1150 -0
  130. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +657 -0
  132. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  133. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  135. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  136. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  137. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  138. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  139. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  140. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  141. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  142. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
  144. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  146. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +175 -0
  148. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  149. package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +11 -11
  150. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  151. package/artifacts/contracts/shared/IService.sol/IService.json +327 -0
  152. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  154. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  155. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
  156. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  157. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  158. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  159. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
  160. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  161. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +339 -0
  162. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  163. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  164. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  165. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +256 -220
  166. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  167. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
  168. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  169. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  170. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  171. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  172. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  174. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +370 -0
  176. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  177. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  178. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  179. package/artifacts/contracts/test/TestService.sol/TestService.json +588 -0
  180. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  181. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  182. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  183. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  184. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  185. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
  186. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  187. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  188. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  189. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  190. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  192. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  194. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  197. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  198. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  199. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/Fee.sol/FeeLib.json +312 -0
  201. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  202. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  203. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
  205. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  206. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  207. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  209. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  210. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  211. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  212. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  213. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  214. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  215. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  216. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  217. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  218. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  219. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  220. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  221. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  222. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  223. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  224. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +110 -4
  225. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  226. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  227. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  228. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  229. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  230. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  231. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  232. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  233. package/contracts/components/Component.sol +245 -50
  234. package/contracts/components/Distribution.sol +285 -0
  235. package/contracts/components/IComponent.sol +90 -0
  236. package/contracts/components/IDistributionComponent.sol +71 -0
  237. package/contracts/components/IPoolComponent.sol +114 -0
  238. package/contracts/components/IProductComponent.sol +41 -0
  239. package/contracts/components/Pool.sol +280 -30
  240. package/contracts/components/Product.sol +337 -51
  241. package/contracts/instance/BundleManager.sol +126 -0
  242. package/contracts/instance/Cloneable.sol +51 -0
  243. package/contracts/instance/IInstance.sol +74 -22
  244. package/contracts/instance/IInstanceService.sol +73 -0
  245. package/contracts/instance/Instance.sol +210 -53
  246. package/contracts/instance/InstanceAccessManager.sol +541 -0
  247. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  248. package/contracts/instance/InstanceReader.sol +368 -0
  249. package/contracts/instance/InstanceService.sol +308 -0
  250. package/contracts/instance/InstanceServiceManager.sol +54 -0
  251. package/contracts/instance/InstanceStore.sol +212 -0
  252. package/contracts/instance/ObjectManager.sol +82 -0
  253. package/contracts/instance/base/ComponentService.sol +148 -0
  254. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  255. package/contracts/instance/base/ILifecycle.sol +30 -0
  256. package/contracts/instance/base/KeyValueStore.sol +149 -0
  257. package/contracts/instance/base/Lifecycle.sol +120 -0
  258. package/contracts/instance/module/IAccess.sol +54 -0
  259. package/contracts/instance/module/IBundle.sol +23 -0
  260. package/contracts/instance/module/IComponents.sol +41 -0
  261. package/contracts/instance/module/IDistribution.sol +42 -0
  262. package/contracts/instance/module/IPolicy.sol +77 -0
  263. package/contracts/instance/module/IRisk.sol +11 -0
  264. package/contracts/instance/module/ISetup.sol +33 -0
  265. package/contracts/instance/module/ITreasury.sol +23 -0
  266. package/contracts/instance/service/ApplicationService.sol +186 -0
  267. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  268. package/contracts/instance/service/BundleService.sol +382 -0
  269. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  270. package/contracts/instance/service/ClaimService.sol +437 -0
  271. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  272. package/contracts/instance/service/DistributionService.sol +348 -0
  273. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  274. package/contracts/instance/service/IApplicationService.sol +62 -0
  275. package/contracts/instance/service/IBundleService.sol +118 -0
  276. package/contracts/instance/service/IClaimService.sol +90 -0
  277. package/contracts/instance/service/IDistributionService.sol +87 -0
  278. package/contracts/instance/service/IPolicyService.sol +80 -0
  279. package/contracts/instance/service/IPoolService.sol +114 -0
  280. package/contracts/instance/service/IPricingService.sol +37 -0
  281. package/contracts/instance/service/IProductService.sol +40 -0
  282. package/contracts/instance/service/PolicyService.sol +376 -0
  283. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  284. package/contracts/instance/service/PoolService.sol +403 -0
  285. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  286. package/contracts/instance/service/PricingService.sol +275 -0
  287. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  288. package/contracts/instance/service/ProductService.sol +210 -0
  289. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  290. package/contracts/registry/ChainNft.sol +137 -62
  291. package/contracts/registry/IRegistry.sol +75 -41
  292. package/contracts/registry/IRegistryService.sol +66 -0
  293. package/contracts/registry/ITransferInterceptor.sol +7 -0
  294. package/contracts/registry/Registry.sol +413 -128
  295. package/contracts/registry/RegistryAccessManager.sol +216 -0
  296. package/contracts/registry/RegistryService.sol +286 -0
  297. package/contracts/registry/RegistryServiceManager.sol +62 -0
  298. package/contracts/registry/ReleaseManager.sol +324 -0
  299. package/contracts/registry/TokenRegistry.sol +116 -0
  300. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  301. package/contracts/shared/ContractDeployerLib.sol +72 -0
  302. package/contracts/shared/ERC165.sol +27 -0
  303. package/contracts/shared/INftOwnable.sol +23 -0
  304. package/contracts/shared/IPolicyHolder.sol +40 -0
  305. package/contracts/shared/IRegisterable.sol +15 -0
  306. package/contracts/shared/IRegistryLinked.sol +11 -0
  307. package/contracts/shared/IService.sol +18 -0
  308. package/contracts/shared/IVersionable.sol +53 -0
  309. package/contracts/shared/NftOwnable.sol +118 -0
  310. package/contracts/shared/PolicyHolder.sol +94 -0
  311. package/contracts/shared/ProxyManager.sol +169 -0
  312. package/contracts/shared/Registerable.sol +75 -0
  313. package/contracts/shared/RegistryLinked.sol +43 -0
  314. package/contracts/shared/Service.sol +72 -0
  315. package/contracts/shared/TokenHandler.sol +35 -0
  316. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  317. package/contracts/shared/Versionable.sol +59 -0
  318. package/contracts/test/TestFee.sol +25 -0
  319. package/contracts/test/TestRegisterable.sol +18 -0
  320. package/contracts/test/TestRoleId.sol +14 -0
  321. package/contracts/test/TestService.sol +25 -0
  322. package/contracts/{mock/Dip.sol → test/TestToken.sol} +5 -5
  323. package/contracts/test/TestVersion.sol +44 -0
  324. package/contracts/test/TestVersionable.sol +17 -0
  325. package/contracts/{mock → test}/Usdc.sol +1 -1
  326. package/contracts/types/AddressSet.sol +58 -0
  327. package/contracts/types/Amount.sol +109 -0
  328. package/contracts/types/Blocknumber.sol +1 -0
  329. package/contracts/types/ClaimId.sol +75 -0
  330. package/contracts/types/DistributorType.sol +55 -0
  331. package/contracts/types/Fee.sol +53 -20
  332. package/contracts/types/Key32.sol +50 -0
  333. package/contracts/types/NftId.sol +30 -1
  334. package/contracts/types/NftIdSet.sol +62 -0
  335. package/contracts/types/NumberId.sol +52 -0
  336. package/contracts/types/ObjectType.sol +69 -15
  337. package/contracts/types/PayoutId.sol +82 -0
  338. package/contracts/types/Referral.sol +89 -0
  339. package/contracts/types/RiskId.sol +43 -0
  340. package/contracts/types/RoleId.sol +97 -0
  341. package/contracts/types/Seconds.sol +54 -0
  342. package/contracts/types/StateId.sol +23 -4
  343. package/contracts/types/Timestamp.sol +36 -6
  344. package/contracts/types/UFixed.sol +139 -23
  345. package/contracts/types/Version.sol +108 -0
  346. package/package.json +11 -5
  347. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  348. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  349. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  350. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
  351. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  352. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  353. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  355. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  357. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  359. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  361. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  363. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  365. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  367. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  369. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  370. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  371. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  372. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  373. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  374. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  375. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  376. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  377. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  378. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  379. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  380. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  381. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  382. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  383. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  384. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  385. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  386. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  387. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  388. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  389. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  390. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  391. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  392. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  394. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
  396. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  397. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  398. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  399. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  400. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  401. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  403. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  404. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  405. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  406. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  407. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  408. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  409. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  410. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  411. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  412. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  413. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  414. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  415. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  416. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  417. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  418. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  419. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  420. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  421. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  422. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  423. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  424. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  425. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
  426. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  427. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  428. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  429. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  430. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  431. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  432. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  433. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  434. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  435. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  436. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  437. package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +0 -4
  438. package/artifacts/contracts/mock/Dip.sol/DIP.json +0 -338
  439. package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +0 -4
  440. package/artifacts/contracts/mock/TestPool.sol/TestPool.json +0 -294
  441. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +0 -4
  442. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +0 -384
  443. package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +0 -4
  444. package/artifacts/contracts/mock/Usdc.sol/USDC.json +0 -338
  445. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  446. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  447. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  448. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  449. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  450. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  451. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  452. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  453. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  454. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  455. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  456. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  457. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  458. package/contracts/components/IPool.sol +0 -15
  459. package/contracts/components/IProduct.sol +0 -16
  460. package/contracts/experiment/errors/Require.sol +0 -38
  461. package/contracts/experiment/errors/Revert.sol +0 -44
  462. package/contracts/experiment/inheritance/A.sol +0 -53
  463. package/contracts/experiment/inheritance/B.sol +0 -28
  464. package/contracts/experiment/inheritance/C.sol +0 -34
  465. package/contracts/experiment/inheritance/IA.sol +0 -13
  466. package/contracts/experiment/inheritance/IB.sol +0 -10
  467. package/contracts/experiment/inheritance/IC.sol +0 -12
  468. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  469. package/contracts/experiment/statemachine/ISM.sol +0 -25
  470. package/contracts/experiment/statemachine/README.md +0 -112
  471. package/contracts/experiment/statemachine/SM.sol +0 -57
  472. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  473. package/contracts/experiment/types/TypeA.sol +0 -47
  474. package/contracts/experiment/types/TypeB.sol +0 -29
  475. package/contracts/instance/access/Access.sol +0 -165
  476. package/contracts/instance/access/IAccess.sol +0 -63
  477. package/contracts/instance/component/ComponentModule.sol +0 -274
  478. package/contracts/instance/component/IComponent.sol +0 -74
  479. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  480. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  481. package/contracts/instance/policy/IPolicy.sol +0 -50
  482. package/contracts/instance/policy/PolicyModule.sol +0 -114
  483. package/contracts/instance/pool/IPoolModule.sol +0 -23
  484. package/contracts/instance/pool/PoolModule.sol +0 -81
  485. package/contracts/instance/product/IProductService.sol +0 -36
  486. package/contracts/instance/product/ProductService.sol +0 -136
  487. package/contracts/instance/treasury/ITreasury.sol +0 -91
  488. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  489. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  490. package/contracts/mock/TestPool.sol +0 -16
  491. package/contracts/mock/TestProduct.sol +0 -39
  492. package/contracts/registry/IChainNft.sol +0 -21
@@ -7,573 +7,132 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
13
- {
14
- "internalType": "address",
15
- "name": "componentOwnerService",
16
- "type": "address"
17
- },
18
- {
19
- "internalType": "address",
20
- "name": "productService",
21
- "type": "address"
22
- }
23
- ],
24
- "stateMutability": "nonpayable",
25
- "type": "constructor"
26
- },
27
- {
28
- "inputs": [
29
- {
30
- "internalType": "NftId",
31
- "name": "nftId",
32
- "type": "uint96"
33
- },
34
- {
35
- "internalType": "ObjectType",
36
- "name": "objectType",
37
- "type": "uint8"
38
- },
39
- {
40
- "internalType": "StateId",
41
- "name": "fromStateId",
42
- "type": "uint8"
43
- },
44
- {
45
- "internalType": "StateId",
46
- "name": "toStateId",
47
- "type": "uint8"
48
- }
49
- ],
50
- "name": "ErrorInvalidStateTransition",
51
- "type": "error"
52
- },
53
- {
54
- "inputs": [
55
- {
56
- "internalType": "NftId",
57
- "name": "nftId",
58
- "type": "uint96"
59
- },
60
- {
61
- "internalType": "ObjectType",
62
- "name": "objectType",
63
- "type": "uint8"
64
- }
65
- ],
66
- "name": "ErrorNoLifecycle",
67
- "type": "error"
68
- },
69
- {
70
- "anonymous": false,
71
- "inputs": [
72
- {
73
- "indexed": false,
74
- "internalType": "bytes32",
75
- "name": "role",
76
- "type": "bytes32"
77
- },
78
- {
79
- "indexed": false,
80
- "internalType": "address",
81
- "name": "member",
82
- "type": "address"
83
- },
84
- {
85
- "indexed": false,
86
- "internalType": "bool",
87
- "name": "isMember",
88
- "type": "bool"
89
- }
90
- ],
91
- "name": "LogAccessRoleGranted",
92
- "type": "event"
93
- },
94
- {
95
- "anonymous": false,
96
- "inputs": [
97
- {
98
- "indexed": false,
99
- "internalType": "NftId",
100
- "name": "nftId",
101
- "type": "uint96"
102
- },
103
- {
104
- "indexed": false,
105
- "internalType": "StateId",
106
- "name": "fromStateId",
107
- "type": "uint8"
108
- },
109
- {
110
- "indexed": false,
111
- "internalType": "StateId",
112
- "name": "toStateId",
113
- "type": "uint8"
114
- }
115
- ],
116
- "name": "LogBundleStateChanged",
117
- "type": "event"
118
- },
119
- {
120
- "anonymous": false,
121
- "inputs": [
122
- {
123
- "indexed": false,
124
- "internalType": "NftId",
125
- "name": "nftId",
126
- "type": "uint96"
127
- },
128
- {
129
- "indexed": false,
130
- "internalType": "ObjectType",
131
- "name": "objectType",
132
- "type": "uint8"
133
- },
134
- {
135
- "indexed": false,
136
- "internalType": "StateId",
137
- "name": "fromStateId",
138
- "type": "uint8"
139
- },
140
- {
141
- "indexed": false,
142
- "internalType": "StateId",
143
- "name": "toStateId",
144
- "type": "uint8"
145
- }
146
- ],
147
- "name": "LogComponentStateChanged",
148
- "type": "event"
149
- },
150
- {
151
- "anonymous": false,
152
- "inputs": [
153
- {
154
- "indexed": false,
155
- "internalType": "uint256",
156
- "name": "idx",
157
- "type": "uint256"
158
- },
159
- {
160
- "indexed": false,
161
- "internalType": "address",
162
- "name": "module",
163
- "type": "address"
164
- },
165
- {
166
- "indexed": false,
167
- "internalType": "string",
168
- "name": "comment",
169
- "type": "string"
170
- }
171
- ],
172
- "name": "LogDebug",
173
- "type": "event"
174
- },
175
- {
176
- "anonymous": false,
177
- "inputs": [
178
- {
179
- "indexed": false,
180
- "internalType": "NftId",
181
- "name": "nftId",
182
- "type": "uint96"
183
- },
184
- {
185
- "indexed": false,
186
- "internalType": "StateId",
187
- "name": "fromStateId",
188
- "type": "uint8"
189
- },
190
- {
191
- "indexed": false,
192
- "internalType": "StateId",
193
- "name": "toStateId",
194
- "type": "uint8"
195
- }
196
- ],
197
- "name": "LogPolicyStateChanged",
198
- "type": "event"
199
- },
200
- {
201
- "inputs": [],
202
- "name": "INITIAL_CAPITAL",
203
- "outputs": [
204
- {
205
- "internalType": "uint256",
206
- "name": "",
207
- "type": "uint256"
208
- }
209
- ],
210
- "stateMutability": "view",
211
- "type": "function"
212
- },
213
- {
214
- "inputs": [],
215
- "name": "INITIAL_LOCKED_CAPITAL",
216
- "outputs": [
217
- {
218
- "internalType": "uint256",
219
- "name": "",
220
- "type": "uint256"
221
- }
222
- ],
223
- "stateMutability": "view",
224
- "type": "function"
225
- },
226
- {
227
- "inputs": [],
228
- "name": "ORACLE_OWNER",
229
- "outputs": [
230
- {
231
- "internalType": "string",
232
- "name": "",
233
- "type": "string"
234
- }
235
- ],
236
- "stateMutability": "view",
237
- "type": "function"
238
- },
239
- {
240
- "inputs": [],
241
- "name": "ORACLE_OWNER_ROLE",
242
- "outputs": [
243
- {
244
- "internalType": "bytes32",
245
- "name": "role",
246
- "type": "bytes32"
247
- }
248
- ],
249
- "stateMutability": "view",
250
- "type": "function"
251
- },
252
- {
253
- "inputs": [],
254
- "name": "POOL_OWNER",
255
- "outputs": [
256
- {
257
- "internalType": "string",
258
- "name": "",
259
- "type": "string"
260
- }
261
- ],
262
- "stateMutability": "view",
263
- "type": "function"
264
- },
265
- {
266
- "inputs": [],
267
- "name": "POOL_OWNER_ROLE",
268
- "outputs": [
269
- {
270
- "internalType": "bytes32",
271
- "name": "role",
272
- "type": "bytes32"
273
- }
274
- ],
275
- "stateMutability": "view",
276
- "type": "function"
277
- },
278
- {
279
- "inputs": [],
280
- "name": "PRODUCT_OWNER",
281
- "outputs": [
282
- {
283
- "internalType": "string",
284
- "name": "",
285
- "type": "string"
286
- }
287
- ],
288
- "stateMutability": "view",
289
- "type": "function"
290
- },
291
- {
292
- "inputs": [],
293
- "name": "PRODUCT_OWNER_ROLE",
294
- "outputs": [
295
- {
296
- "internalType": "bytes32",
297
- "name": "role",
298
- "type": "bytes32"
299
- }
300
- ],
301
- "stateMutability": "view",
302
- "type": "function"
303
- },
304
- {
305
- "inputs": [
306
- {
307
- "internalType": "NftId",
308
- "name": "nftId",
309
- "type": "uint96"
310
- }
311
- ],
312
- "name": "activate",
313
- "outputs": [],
314
- "stateMutability": "nonpayable",
315
- "type": "function"
316
- },
317
- {
318
- "inputs": [
319
- {
320
- "internalType": "uint256",
321
- "name": "amount",
322
- "type": "uint256"
323
- },
324
- {
325
- "components": [
326
- {
327
- "internalType": "UFixed",
328
- "name": "fractionalFee",
329
- "type": "uint256"
330
- },
331
- {
332
- "internalType": "uint256",
333
- "name": "fixedFee",
334
- "type": "uint256"
335
- }
336
- ],
337
- "internalType": "struct Fee",
338
- "name": "fee",
339
- "type": "tuple"
340
- }
341
- ],
342
- "name": "calculateFeeAmount",
343
- "outputs": [
344
- {
345
- "internalType": "uint256",
346
- "name": "feeAmount",
347
- "type": "uint256"
348
- },
349
- {
350
- "internalType": "uint256",
351
- "name": "netAmount",
352
- "type": "uint256"
353
- }
354
- ],
355
- "stateMutability": "pure",
356
- "type": "function"
357
- },
358
- {
359
- "inputs": [
360
- {
361
- "internalType": "NftId",
362
- "name": "nftId",
363
- "type": "uint96"
364
- },
365
- {
366
- "internalType": "ObjectType",
367
- "name": "objectType",
368
- "type": "uint8"
369
- },
370
- {
371
- "internalType": "StateId",
372
- "name": "fromId",
373
- "type": "uint8"
374
- },
375
- {
376
- "internalType": "StateId",
377
- "name": "toId",
378
- "type": "uint8"
379
- }
380
- ],
381
- "name": "checkAndLogTransition",
382
- "outputs": [
383
- {
384
- "internalType": "StateId",
385
- "name": "",
386
- "type": "uint8"
387
- }
388
- ],
389
- "stateMutability": "nonpayable",
390
- "type": "function"
391
- },
392
- {
393
- "inputs": [],
394
- "name": "components",
395
- "outputs": [
396
- {
397
- "internalType": "uint256",
398
- "name": "numberOfCompnents",
399
- "type": "uint256"
400
- }
401
- ],
402
- "stateMutability": "view",
403
- "type": "function"
404
- },
405
- {
406
- "inputs": [
407
- {
408
- "components": [
409
- {
410
- "internalType": "NftId",
411
- "name": "nftId",
412
- "type": "uint96"
413
- },
414
- {
415
- "internalType": "NftId",
416
- "name": "parentNftId",
417
- "type": "uint96"
418
- },
419
- {
420
- "internalType": "ObjectType",
421
- "name": "objectType",
422
- "type": "uint8"
423
- },
424
- {
425
- "internalType": "address",
426
- "name": "objectAddress",
427
- "type": "address"
428
- },
429
- {
430
- "internalType": "address",
431
- "name": "initialOwner",
432
- "type": "address"
433
- }
434
- ],
435
- "internalType": "struct IRegistry.RegistryInfo",
436
- "name": "productInfo",
437
- "type": "tuple"
438
- },
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
439
19
  {
440
20
  "internalType": "address",
441
- "name": "applicationOwner",
21
+ "name": "caller",
442
22
  "type": "address"
443
23
  },
444
24
  {
445
- "internalType": "uint256",
446
- "name": "sumInsuredAmount",
447
- "type": "uint256"
448
- },
449
- {
450
- "internalType": "uint256",
451
- "name": "premiumAmount",
452
- "type": "uint256"
453
- },
454
- {
455
- "internalType": "uint256",
456
- "name": "lifetime",
457
- "type": "uint256"
458
- },
459
- {
460
- "internalType": "NftId",
461
- "name": "bundleNftId",
462
- "type": "uint96"
463
- }
464
- ],
465
- "name": "createApplication",
466
- "outputs": [
467
- {
468
- "internalType": "NftId",
469
- "name": "nftId",
470
- "type": "uint96"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
471
28
  }
472
29
  ],
473
- "stateMutability": "nonpayable",
474
- "type": "function"
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
475
32
  },
476
33
  {
477
34
  "inputs": [
478
35
  {
479
- "internalType": "string",
480
- "name": "roleName",
481
- "type": "string"
482
- }
483
- ],
484
- "name": "createRole",
485
- "outputs": [
486
- {
487
- "internalType": "bytes32",
488
- "name": "role",
489
- "type": "bytes32"
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
490
39
  }
491
40
  ],
492
- "stateMutability": "nonpayable",
493
- "type": "function"
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
494
43
  },
495
44
  {
496
45
  "inputs": [
497
46
  {
498
- "internalType": "bytes32",
499
- "name": "role",
500
- "type": "bytes32"
47
+ "internalType": "address",
48
+ "name": "instanceBundleManager",
49
+ "type": "address"
501
50
  }
502
51
  ],
503
- "name": "disableRole",
504
- "outputs": [],
505
- "stateMutability": "nonpayable",
506
- "type": "function"
52
+ "name": "ErrorInstanceBundleManagerAlreadySet",
53
+ "type": "error"
507
54
  },
508
55
  {
509
56
  "inputs": [
510
57
  {
511
- "internalType": "bytes32",
512
- "name": "role",
513
- "type": "bytes32"
58
+ "internalType": "address",
59
+ "name": "instanceAuthority",
60
+ "type": "address"
514
61
  }
515
62
  ],
516
- "name": "enableRole",
517
- "outputs": [],
518
- "stateMutability": "nonpayable",
519
- "type": "function"
63
+ "name": "ErrorInstanceBundleManagerAuthorityMismatch",
64
+ "type": "error"
520
65
  },
521
66
  {
522
67
  "inputs": [
523
68
  {
524
- "internalType": "NftId",
525
- "name": "nftId",
526
- "type": "uint96"
69
+ "internalType": "address",
70
+ "name": "instance",
71
+ "type": "address"
527
72
  }
528
73
  ],
529
- "name": "getBundleNftForPolicy",
530
- "outputs": [
74
+ "name": "ErrorInstanceBundleManagerInstanceMismatch",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
531
79
  {
532
- "internalType": "NftId",
533
- "name": "bundleNft",
534
- "type": "uint96"
80
+ "internalType": "address",
81
+ "name": "instanceAccessManager",
82
+ "type": "address"
535
83
  }
536
84
  ],
537
- "stateMutability": "view",
538
- "type": "function"
85
+ "name": "ErrorInstanceInstanceAccessManagerAlreadySet",
86
+ "type": "error"
539
87
  },
540
88
  {
541
89
  "inputs": [
542
90
  {
543
91
  "internalType": "address",
544
- "name": "componentAddress",
92
+ "name": "instanceAuthority",
545
93
  "type": "address"
546
94
  }
547
95
  ],
548
- "name": "getComponentId",
549
- "outputs": [
96
+ "name": "ErrorInstanceInstanceAccessManagerAuthorityMismatch",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ErrorInstanceInstanceAccessManagerZero",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
550
106
  {
551
- "internalType": "NftId",
552
- "name": "componentNftId",
553
- "type": "uint96"
107
+ "internalType": "address",
108
+ "name": "instanceAuthority",
109
+ "type": "address"
554
110
  }
555
111
  ],
556
- "stateMutability": "view",
557
- "type": "function"
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
113
+ "type": "error"
558
114
  },
559
115
  {
560
116
  "inputs": [
561
117
  {
562
- "internalType": "uint256",
563
- "name": "idx",
564
- "type": "uint256"
118
+ "internalType": "address",
119
+ "name": "instanceStore",
120
+ "type": "address"
565
121
  }
566
122
  ],
567
- "name": "getComponentId",
568
- "outputs": [
123
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
569
128
  {
570
- "internalType": "NftId",
571
- "name": "componentNftId",
572
- "type": "uint96"
129
+ "internalType": "address",
130
+ "name": "instanceAuthority",
131
+ "type": "address"
573
132
  }
574
133
  ],
575
- "stateMutability": "view",
576
- "type": "function"
134
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
135
+ "type": "error"
577
136
  },
578
137
  {
579
138
  "inputs": [
@@ -583,100 +142,91 @@
583
142
  "type": "uint96"
584
143
  }
585
144
  ],
586
- "name": "getComponentInfo",
587
- "outputs": [
145
+ "name": "ErrorNftOwnableAlreadyLinked",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [
588
150
  {
589
- "components": [
590
- {
591
- "internalType": "NftId",
592
- "name": "nftId",
593
- "type": "uint96"
594
- },
595
- {
596
- "internalType": "StateId",
597
- "name": "state",
598
- "type": "uint8"
599
- },
600
- {
601
- "internalType": "contract IERC20Metadata",
602
- "name": "token",
603
- "type": "address"
604
- }
605
- ],
606
- "internalType": "struct IComponent.ComponentInfo",
607
- "name": "",
608
- "type": "tuple"
151
+ "internalType": "address",
152
+ "name": "contractAddress",
153
+ "type": "address"
609
154
  }
610
155
  ],
611
- "stateMutability": "view",
612
- "type": "function"
156
+ "name": "ErrorNftOwnableContractNotRegistered",
157
+ "type": "error"
613
158
  },
614
159
  {
615
160
  "inputs": [],
616
- "name": "getComponentOwnerService",
617
- "outputs": [
161
+ "name": "ErrorNftOwnableInitialOwnerZero",
162
+ "type": "error"
163
+ },
164
+ {
165
+ "inputs": [
618
166
  {
619
- "internalType": "contract IComponentOwnerService",
620
- "name": "",
167
+ "internalType": "address",
168
+ "name": "account",
621
169
  "type": "address"
622
170
  }
623
171
  ],
624
- "stateMutability": "view",
625
- "type": "function"
172
+ "name": "ErrorNftOwnableNotOwner",
173
+ "type": "error"
626
174
  },
627
175
  {
628
- "inputs": [],
629
- "name": "getData",
630
- "outputs": [
176
+ "inputs": [
631
177
  {
632
- "internalType": "bytes",
633
- "name": "data",
634
- "type": "bytes"
178
+ "internalType": "address",
179
+ "name": "registryAddress",
180
+ "type": "address"
635
181
  }
636
182
  ],
637
- "stateMutability": "pure",
638
- "type": "function"
183
+ "name": "ErrorNotRegistry",
184
+ "type": "error"
639
185
  },
640
186
  {
641
187
  "inputs": [],
642
- "name": "getInitialOwner",
643
- "outputs": [
188
+ "name": "InvalidInitialization",
189
+ "type": "error"
190
+ },
191
+ {
192
+ "inputs": [],
193
+ "name": "NotInitializing",
194
+ "type": "error"
195
+ },
196
+ {
197
+ "anonymous": false,
198
+ "inputs": [
644
199
  {
200
+ "indexed": false,
645
201
  "internalType": "address",
646
- "name": "deployer",
202
+ "name": "authority",
647
203
  "type": "address"
648
204
  }
649
205
  ],
650
- "stateMutability": "view",
651
- "type": "function"
206
+ "name": "AuthorityUpdated",
207
+ "type": "event"
652
208
  },
653
209
  {
210
+ "anonymous": false,
654
211
  "inputs": [
655
212
  {
656
- "internalType": "ObjectType",
657
- "name": "objectType",
658
- "type": "uint8"
659
- }
660
- ],
661
- "name": "getInitialState",
662
- "outputs": [
663
- {
664
- "internalType": "StateId",
665
- "name": "",
666
- "type": "uint8"
213
+ "indexed": false,
214
+ "internalType": "uint64",
215
+ "name": "version",
216
+ "type": "uint64"
667
217
  }
668
218
  ],
669
- "stateMutability": "view",
670
- "type": "function"
219
+ "name": "Initialized",
220
+ "type": "event"
671
221
  },
672
222
  {
673
223
  "inputs": [],
674
- "name": "getNftId",
224
+ "name": "GIF_MAJOR_VERSION",
675
225
  "outputs": [
676
226
  {
677
- "internalType": "NftId",
678
- "name": "nftId",
679
- "type": "uint96"
227
+ "internalType": "uint256",
228
+ "name": "",
229
+ "type": "uint256"
680
230
  }
681
231
  ],
682
232
  "stateMutability": "view",
@@ -684,12 +234,12 @@
684
234
  },
685
235
  {
686
236
  "inputs": [],
687
- "name": "getOwner",
237
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
688
238
  "outputs": [
689
239
  {
690
- "internalType": "address",
691
- "name": "owner",
692
- "type": "address"
240
+ "internalType": "bytes32",
241
+ "name": "",
242
+ "type": "bytes32"
693
243
  }
694
244
  ],
695
245
  "stateMutability": "view",
@@ -697,88 +247,25 @@
697
247
  },
698
248
  {
699
249
  "inputs": [],
700
- "name": "getParentNftId",
250
+ "name": "REGISTERABLE_LOCATION_V1",
701
251
  "outputs": [
702
252
  {
703
- "internalType": "NftId",
253
+ "internalType": "bytes32",
704
254
  "name": "",
705
- "type": "uint96"
255
+ "type": "bytes32"
706
256
  }
707
257
  ],
708
- "stateMutability": "pure",
258
+ "stateMutability": "view",
709
259
  "type": "function"
710
260
  },
711
261
  {
712
- "inputs": [
713
- {
714
- "internalType": "NftId",
715
- "name": "nftId",
716
- "type": "uint96"
717
- }
718
- ],
719
- "name": "getPolicyInfo",
262
+ "inputs": [],
263
+ "name": "authority",
720
264
  "outputs": [
721
265
  {
722
- "components": [
723
- {
724
- "internalType": "NftId",
725
- "name": "nftId",
726
- "type": "uint96"
727
- },
728
- {
729
- "internalType": "StateId",
730
- "name": "state",
731
- "type": "uint8"
732
- },
733
- {
734
- "internalType": "uint256",
735
- "name": "sumInsuredAmount",
736
- "type": "uint256"
737
- },
738
- {
739
- "internalType": "uint256",
740
- "name": "premiumAmount",
741
- "type": "uint256"
742
- },
743
- {
744
- "internalType": "uint256",
745
- "name": "premiumPaidAmount",
746
- "type": "uint256"
747
- },
748
- {
749
- "internalType": "uint256",
750
- "name": "lifetime",
751
- "type": "uint256"
752
- },
753
- {
754
- "internalType": "uint256",
755
- "name": "createdAt",
756
- "type": "uint256"
757
- },
758
- {
759
- "internalType": "uint256",
760
- "name": "updatedAt",
761
- "type": "uint256"
762
- },
763
- {
764
- "internalType": "uint256",
765
- "name": "activatedAt",
766
- "type": "uint256"
767
- },
768
- {
769
- "internalType": "uint256",
770
- "name": "expiredAt",
771
- "type": "uint256"
772
- },
773
- {
774
- "internalType": "uint256",
775
- "name": "closedAt",
776
- "type": "uint256"
777
- }
778
- ],
779
- "internalType": "struct IPolicy.PolicyInfo",
780
- "name": "info",
781
- "type": "tuple"
266
+ "internalType": "address",
267
+ "name": "",
268
+ "type": "address"
782
269
  }
783
270
  ],
784
271
  "stateMutability": "view",
@@ -787,99 +274,58 @@
787
274
  {
788
275
  "inputs": [
789
276
  {
790
- "internalType": "NftId",
791
- "name": "nftId",
792
- "type": "uint96"
277
+ "internalType": "string",
278
+ "name": "roleName",
279
+ "type": "string"
280
+ },
281
+ {
282
+ "internalType": "string",
283
+ "name": "adminName",
284
+ "type": "string"
793
285
  }
794
286
  ],
795
- "name": "getPoolInfo",
287
+ "name": "createRole",
796
288
  "outputs": [
797
289
  {
798
- "components": [
799
- {
800
- "internalType": "NftId",
801
- "name": "nftId",
802
- "type": "uint96"
803
- },
804
- {
805
- "internalType": "uint256",
806
- "name": "capital",
807
- "type": "uint256"
808
- },
809
- {
810
- "internalType": "uint256",
811
- "name": "lockedCapital",
812
- "type": "uint256"
813
- }
814
- ],
815
- "internalType": "struct IPool.PoolInfo",
816
- "name": "info",
817
- "type": "tuple"
290
+ "internalType": "RoleId",
291
+ "name": "roleId",
292
+ "type": "uint64"
293
+ },
294
+ {
295
+ "internalType": "RoleId",
296
+ "name": "admin",
297
+ "type": "uint64"
818
298
  }
819
299
  ],
820
- "stateMutability": "view",
300
+ "stateMutability": "nonpayable",
821
301
  "type": "function"
822
302
  },
823
303
  {
824
304
  "inputs": [
825
305
  {
826
- "internalType": "NftId",
827
- "name": "poolNftId",
828
- "type": "uint96"
306
+ "internalType": "address",
307
+ "name": "target",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "internalType": "string",
312
+ "name": "name",
313
+ "type": "string"
829
314
  }
830
315
  ],
831
- "name": "getPoolSetup",
316
+ "name": "createTarget",
317
+ "outputs": [],
318
+ "stateMutability": "nonpayable",
319
+ "type": "function"
320
+ },
321
+ {
322
+ "inputs": [],
323
+ "name": "getBundleManager",
832
324
  "outputs": [
833
325
  {
834
- "components": [
835
- {
836
- "internalType": "NftId",
837
- "name": "poolNftId",
838
- "type": "uint96"
839
- },
840
- {
841
- "internalType": "address",
842
- "name": "wallet",
843
- "type": "address"
844
- },
845
- {
846
- "components": [
847
- {
848
- "internalType": "UFixed",
849
- "name": "fractionalFee",
850
- "type": "uint256"
851
- },
852
- {
853
- "internalType": "uint256",
854
- "name": "fixedFee",
855
- "type": "uint256"
856
- }
857
- ],
858
- "internalType": "struct Fee",
859
- "name": "stakingFee",
860
- "type": "tuple"
861
- },
862
- {
863
- "components": [
864
- {
865
- "internalType": "UFixed",
866
- "name": "fractionalFee",
867
- "type": "uint256"
868
- },
869
- {
870
- "internalType": "uint256",
871
- "name": "fixedFee",
872
- "type": "uint256"
873
- }
874
- ],
875
- "internalType": "struct Fee",
876
- "name": "performanceFee",
877
- "type": "tuple"
878
- }
879
- ],
880
- "internalType": "struct ITreasuryModule.PoolSetup",
881
- "name": "setup",
882
- "type": "tuple"
326
+ "internalType": "contract BundleManager",
327
+ "name": "",
328
+ "type": "address"
883
329
  }
884
330
  ],
885
331
  "stateMutability": "view",
@@ -887,10 +333,10 @@
887
333
  },
888
334
  {
889
335
  "inputs": [],
890
- "name": "getProductService",
336
+ "name": "getBundleService",
891
337
  "outputs": [
892
338
  {
893
- "internalType": "contract IProductService",
339
+ "internalType": "contract IBundleService",
894
340
  "name": "",
895
341
  "type": "address"
896
342
  }
@@ -899,84 +345,62 @@
899
345
  "type": "function"
900
346
  },
901
347
  {
902
- "inputs": [
348
+ "inputs": [],
349
+ "name": "getDistributionService",
350
+ "outputs": [
903
351
  {
904
- "internalType": "NftId",
905
- "name": "productNftId",
906
- "type": "uint96"
352
+ "internalType": "contract IDistributionService",
353
+ "name": "",
354
+ "type": "address"
907
355
  }
908
356
  ],
909
- "name": "getProductSetup",
357
+ "stateMutability": "view",
358
+ "type": "function"
359
+ },
360
+ {
361
+ "inputs": [],
362
+ "name": "getInitialInfo",
910
363
  "outputs": [
911
364
  {
912
365
  "components": [
913
366
  {
914
367
  "internalType": "NftId",
915
- "name": "productNftId",
368
+ "name": "nftId",
916
369
  "type": "uint96"
917
370
  },
918
371
  {
919
372
  "internalType": "NftId",
920
- "name": "distributorNftId",
373
+ "name": "parentNftId",
921
374
  "type": "uint96"
922
375
  },
923
376
  {
924
- "internalType": "NftId",
925
- "name": "poolNftId",
926
- "type": "uint96"
377
+ "internalType": "ObjectType",
378
+ "name": "objectType",
379
+ "type": "uint8"
927
380
  },
928
381
  {
929
- "internalType": "contract IERC20",
930
- "name": "token",
931
- "type": "address"
382
+ "internalType": "bool",
383
+ "name": "isInterceptor",
384
+ "type": "bool"
932
385
  },
933
386
  {
934
- "internalType": "contract TokenHandler",
935
- "name": "tokenHandler",
387
+ "internalType": "address",
388
+ "name": "objectAddress",
936
389
  "type": "address"
937
390
  },
938
391
  {
939
392
  "internalType": "address",
940
- "name": "wallet",
393
+ "name": "initialOwner",
941
394
  "type": "address"
942
395
  },
943
396
  {
944
- "components": [
945
- {
946
- "internalType": "UFixed",
947
- "name": "fractionalFee",
948
- "type": "uint256"
949
- },
950
- {
951
- "internalType": "uint256",
952
- "name": "fixedFee",
953
- "type": "uint256"
954
- }
955
- ],
956
- "internalType": "struct Fee",
957
- "name": "policyFee",
958
- "type": "tuple"
959
- },
960
- {
961
- "components": [
962
- {
963
- "internalType": "UFixed",
964
- "name": "fractionalFee",
965
- "type": "uint256"
966
- },
967
- {
968
- "internalType": "uint256",
969
- "name": "fixedFee",
970
- "type": "uint256"
971
- }
972
- ],
973
- "internalType": "struct Fee",
974
- "name": "processingFee",
975
- "type": "tuple"
397
+ "internalType": "bytes",
398
+ "name": "data",
399
+ "type": "bytes"
976
400
  }
977
401
  ],
978
- "internalType": "struct ITreasuryModule.ProductSetup",
979
- "name": "setup",
402
+ "internalType": "struct IRegistry.ObjectInfo",
403
+ "name": "info",
980
404
  "type": "tuple"
981
405
  }
982
406
  ],
@@ -985,11 +409,11 @@
985
409
  },
986
410
  {
987
411
  "inputs": [],
988
- "name": "getRegistry",
412
+ "name": "getInstanceAccessManager",
989
413
  "outputs": [
990
414
  {
991
- "internalType": "contract IRegistry",
992
- "name": "registry",
415
+ "internalType": "contract InstanceAccessManager",
416
+ "name": "",
993
417
  "type": "address"
994
418
  }
995
419
  ],
@@ -997,19 +421,13 @@
997
421
  "type": "function"
998
422
  },
999
423
  {
1000
- "inputs": [
1001
- {
1002
- "internalType": "uint256",
1003
- "name": "idx",
1004
- "type": "uint256"
1005
- }
1006
- ],
1007
- "name": "getRole",
424
+ "inputs": [],
425
+ "name": "getInstanceReader",
1008
426
  "outputs": [
1009
427
  {
1010
- "internalType": "bytes32",
1011
- "name": "role",
1012
- "type": "bytes32"
428
+ "internalType": "contract InstanceReader",
429
+ "name": "",
430
+ "type": "address"
1013
431
  }
1014
432
  ],
1015
433
  "stateMutability": "view",
@@ -1017,109 +435,63 @@
1017
435
  },
1018
436
  {
1019
437
  "inputs": [],
1020
- "name": "getRoleCount",
438
+ "name": "getInstanceStore",
1021
439
  "outputs": [
1022
440
  {
1023
- "internalType": "uint256",
1024
- "name": "roles",
1025
- "type": "uint256"
441
+ "internalType": "contract InstanceStore",
442
+ "name": "",
443
+ "type": "address"
1026
444
  }
1027
445
  ],
1028
446
  "stateMutability": "view",
1029
447
  "type": "function"
1030
448
  },
1031
449
  {
1032
- "inputs": [
1033
- {
1034
- "internalType": "string",
1035
- "name": "roleName",
1036
- "type": "string"
1037
- }
1038
- ],
1039
- "name": "getRoleForName",
450
+ "inputs": [],
451
+ "name": "getMajorVersion",
1040
452
  "outputs": [
1041
453
  {
1042
- "internalType": "bytes32",
1043
- "name": "role",
1044
- "type": "bytes32"
454
+ "internalType": "VersionPart",
455
+ "name": "majorVersion",
456
+ "type": "uint8"
1045
457
  }
1046
458
  ],
1047
459
  "stateMutability": "pure",
1048
460
  "type": "function"
1049
461
  },
1050
462
  {
1051
- "inputs": [
1052
- {
1053
- "internalType": "ObjectType",
1054
- "name": "cType",
1055
- "type": "uint8"
1056
- }
1057
- ],
1058
- "name": "getRoleForType",
463
+ "inputs": [],
464
+ "name": "getNftId",
1059
465
  "outputs": [
1060
466
  {
1061
- "internalType": "bytes32",
1062
- "name": "role",
1063
- "type": "bytes32"
467
+ "internalType": "NftId",
468
+ "name": "",
469
+ "type": "uint96"
1064
470
  }
1065
471
  ],
1066
472
  "stateMutability": "view",
1067
473
  "type": "function"
1068
474
  },
1069
475
  {
1070
- "inputs": [
1071
- {
1072
- "internalType": "bytes32",
1073
- "name": "role",
1074
- "type": "bytes32"
1075
- }
1076
- ],
1077
- "name": "getRoleInfo",
476
+ "inputs": [],
477
+ "name": "getOwner",
1078
478
  "outputs": [
1079
479
  {
1080
- "components": [
1081
- {
1082
- "internalType": "bytes32",
1083
- "name": "id",
1084
- "type": "bytes32"
1085
- },
1086
- {
1087
- "internalType": "string",
1088
- "name": "name",
1089
- "type": "string"
1090
- },
1091
- {
1092
- "internalType": "bool",
1093
- "name": "isActive",
1094
- "type": "bool"
1095
- }
1096
- ],
1097
- "internalType": "struct IAccess.RoleInfo",
1098
- "name": "info",
1099
- "type": "tuple"
480
+ "internalType": "address",
481
+ "name": "",
482
+ "type": "address"
1100
483
  }
1101
484
  ],
1102
485
  "stateMutability": "view",
1103
486
  "type": "function"
1104
487
  },
1105
488
  {
1106
- "inputs": [
1107
- {
1108
- "internalType": "bytes32",
1109
- "name": "role",
1110
- "type": "bytes32"
1111
- },
1112
- {
1113
- "internalType": "uint256",
1114
- "name": "idx",
1115
- "type": "uint256"
1116
- }
1117
- ],
1118
- "name": "getRoleMember",
489
+ "inputs": [],
490
+ "name": "getPolicyService",
1119
491
  "outputs": [
1120
492
  {
1121
- "internalType": "address",
1122
- "name": "roleMembers",
493
+ "internalType": "contract IPolicyService",
494
+ "name": "",
1123
495
  "type": "address"
1124
496
  }
1125
497
  ],
@@ -1127,37 +499,25 @@
1127
499
  "type": "function"
1128
500
  },
1129
501
  {
1130
- "inputs": [
1131
- {
1132
- "internalType": "bytes32",
1133
- "name": "role",
1134
- "type": "bytes32"
1135
- }
1136
- ],
1137
- "name": "getRoleMemberCount",
502
+ "inputs": [],
503
+ "name": "getPoolService",
1138
504
  "outputs": [
1139
505
  {
1140
- "internalType": "uint256",
1141
- "name": "roleMembers",
1142
- "type": "uint256"
506
+ "internalType": "contract IPoolService",
507
+ "name": "",
508
+ "type": "address"
1143
509
  }
1144
510
  ],
1145
511
  "stateMutability": "view",
1146
512
  "type": "function"
1147
513
  },
1148
514
  {
1149
- "inputs": [
1150
- {
1151
- "internalType": "NftId",
1152
- "name": "productNftId",
1153
- "type": "uint96"
1154
- }
1155
- ],
1156
- "name": "getTokenHandler",
515
+ "inputs": [],
516
+ "name": "getProductService",
1157
517
  "outputs": [
1158
518
  {
1159
- "internalType": "contract TokenHandler",
1160
- "name": "tokenHandler",
519
+ "internalType": "contract IProductService",
520
+ "name": "",
1161
521
  "type": "address"
1162
522
  }
1163
523
  ],
@@ -1166,27 +526,27 @@
1166
526
  },
1167
527
  {
1168
528
  "inputs": [],
1169
- "name": "getType",
529
+ "name": "getRegistry",
1170
530
  "outputs": [
1171
531
  {
1172
- "internalType": "ObjectType",
1173
- "name": "objectType",
1174
- "type": "uint8"
532
+ "internalType": "contract IRegistry",
533
+ "name": "",
534
+ "type": "address"
1175
535
  }
1176
536
  ],
1177
- "stateMutability": "pure",
537
+ "stateMutability": "view",
1178
538
  "type": "function"
1179
539
  },
1180
540
  {
1181
541
  "inputs": [
1182
542
  {
1183
- "internalType": "bytes32",
1184
- "name": "role",
1185
- "type": "bytes32"
543
+ "internalType": "RoleId",
544
+ "name": "roleId",
545
+ "type": "uint64"
1186
546
  },
1187
547
  {
1188
548
  "internalType": "address",
1189
- "name": "member",
549
+ "name": "account",
1190
550
  "type": "address"
1191
551
  }
1192
552
  ],
@@ -1198,91 +558,136 @@
1198
558
  {
1199
559
  "inputs": [
1200
560
  {
1201
- "internalType": "bytes32",
1202
- "name": "role",
1203
- "type": "bytes32"
561
+ "internalType": "address",
562
+ "name": "authority",
563
+ "type": "address"
1204
564
  },
1205
565
  {
1206
566
  "internalType": "address",
1207
- "name": "member",
567
+ "name": "registryAddress",
568
+ "type": "address"
569
+ },
570
+ {
571
+ "internalType": "address",
572
+ "name": "initialOwner",
1208
573
  "type": "address"
1209
574
  }
1210
575
  ],
1211
- "name": "hasRole",
1212
- "outputs": [
576
+ "name": "initialize",
577
+ "outputs": [],
578
+ "stateMutability": "nonpayable",
579
+ "type": "function"
580
+ },
581
+ {
582
+ "inputs": [],
583
+ "name": "initializeERC165",
584
+ "outputs": [],
585
+ "stateMutability": "nonpayable",
586
+ "type": "function"
587
+ },
588
+ {
589
+ "inputs": [
590
+ {
591
+ "internalType": "address",
592
+ "name": "initialOwner",
593
+ "type": "address"
594
+ },
595
+ {
596
+ "internalType": "address",
597
+ "name": "registryAddress",
598
+ "type": "address"
599
+ }
600
+ ],
601
+ "name": "initializeNftOwnable",
602
+ "outputs": [],
603
+ "stateMutability": "nonpayable",
604
+ "type": "function"
605
+ },
606
+ {
607
+ "inputs": [
608
+ {
609
+ "internalType": "address",
610
+ "name": "registryAddress",
611
+ "type": "address"
612
+ },
613
+ {
614
+ "internalType": "NftId",
615
+ "name": "parentNftId",
616
+ "type": "uint96"
617
+ },
618
+ {
619
+ "internalType": "ObjectType",
620
+ "name": "objectType",
621
+ "type": "uint8"
622
+ },
1213
623
  {
1214
624
  "internalType": "bool",
1215
- "name": "",
625
+ "name": "isInterceptor",
1216
626
  "type": "bool"
627
+ },
628
+ {
629
+ "internalType": "address",
630
+ "name": "initialOwner",
631
+ "type": "address"
632
+ },
633
+ {
634
+ "internalType": "bytes",
635
+ "name": "registryData",
636
+ "type": "bytes"
1217
637
  }
1218
638
  ],
1219
- "stateMutability": "view",
639
+ "name": "initializeRegisterable",
640
+ "outputs": [],
641
+ "stateMutability": "nonpayable",
1220
642
  "type": "function"
1221
643
  },
1222
644
  {
1223
- "inputs": [],
1224
- "name": "isRegisterable",
1225
- "outputs": [
645
+ "inputs": [
1226
646
  {
1227
- "internalType": "bool",
1228
- "name": "",
1229
- "type": "bool"
647
+ "internalType": "address",
648
+ "name": "registryAddress",
649
+ "type": "address"
1230
650
  }
1231
651
  ],
1232
- "stateMutability": "pure",
652
+ "name": "initializeRegistryLinked",
653
+ "outputs": [],
654
+ "stateMutability": "nonpayable",
1233
655
  "type": "function"
1234
656
  },
1235
657
  {
1236
658
  "inputs": [],
1237
- "name": "isRegistered",
659
+ "name": "isConsumingScheduledOp",
1238
660
  "outputs": [
1239
661
  {
1240
- "internalType": "bool",
662
+ "internalType": "bytes4",
1241
663
  "name": "",
1242
- "type": "bool"
664
+ "type": "bytes4"
1243
665
  }
1244
666
  ],
1245
667
  "stateMutability": "view",
1246
668
  "type": "function"
1247
669
  },
1248
670
  {
1249
- "inputs": [
1250
- {
1251
- "internalType": "ObjectType",
1252
- "name": "objectType",
1253
- "type": "uint8"
1254
- },
1255
- {
1256
- "internalType": "StateId",
1257
- "name": "fromId",
1258
- "type": "uint8"
1259
- },
1260
- {
1261
- "internalType": "StateId",
1262
- "name": "toId",
1263
- "type": "uint8"
1264
- }
1265
- ],
1266
- "name": "isValidTransition",
1267
- "outputs": [
1268
- {
1269
- "internalType": "bool",
1270
- "name": "",
1271
- "type": "bool"
1272
- }
1273
- ],
1274
- "stateMutability": "view",
671
+ "inputs": [],
672
+ "name": "linkToRegisteredNftId",
673
+ "outputs": [],
674
+ "stateMutability": "nonpayable",
1275
675
  "type": "function"
1276
676
  },
1277
677
  {
1278
678
  "inputs": [
1279
679
  {
1280
- "internalType": "NftId",
1281
- "name": "nftId",
1282
- "type": "uint96"
680
+ "internalType": "address",
681
+ "name": "to",
682
+ "type": "address"
683
+ },
684
+ {
685
+ "internalType": "uint256",
686
+ "name": "tokenId",
687
+ "type": "uint256"
1283
688
  }
1284
689
  ],
1285
- "name": "processPremium",
690
+ "name": "nftMint",
1286
691
  "outputs": [],
1287
692
  "stateMutability": "nonpayable",
1288
693
  "type": "function"
@@ -1290,62 +695,66 @@
1290
695
  {
1291
696
  "inputs": [
1292
697
  {
1293
- "internalType": "NftId",
1294
- "name": "policyNftId",
1295
- "type": "uint96"
698
+ "internalType": "address",
699
+ "name": "from",
700
+ "type": "address"
1296
701
  },
1297
702
  {
1298
- "internalType": "NftId",
1299
- "name": "productNftId",
1300
- "type": "uint96"
703
+ "internalType": "address",
704
+ "name": "to",
705
+ "type": "address"
706
+ },
707
+ {
708
+ "internalType": "uint256",
709
+ "name": "tokenId",
710
+ "type": "uint256"
1301
711
  }
1302
712
  ],
1303
- "name": "processPremium",
713
+ "name": "nftTransferFrom",
1304
714
  "outputs": [],
1305
715
  "stateMutability": "nonpayable",
1306
716
  "type": "function"
1307
717
  },
1308
718
  {
1309
- "inputs": [],
1310
- "name": "register",
1311
- "outputs": [
719
+ "inputs": [
1312
720
  {
1313
- "internalType": "NftId",
1314
- "name": "nftId",
1315
- "type": "uint96"
721
+ "internalType": "bytes4",
722
+ "name": "interfaceId",
723
+ "type": "bytes4"
1316
724
  }
1317
725
  ],
726
+ "name": "registerInterface",
727
+ "outputs": [],
1318
728
  "stateMutability": "nonpayable",
1319
729
  "type": "function"
1320
730
  },
1321
731
  {
1322
732
  "inputs": [
1323
733
  {
1324
- "internalType": "contract IComponentContract",
1325
- "name": "component",
1326
- "type": "address"
1327
- }
1328
- ],
1329
- "name": "registerComponent",
1330
- "outputs": [
734
+ "internalType": "RoleId",
735
+ "name": "roleId",
736
+ "type": "uint64"
737
+ },
1331
738
  {
1332
- "internalType": "NftId",
1333
- "name": "nftId",
1334
- "type": "uint96"
739
+ "internalType": "address",
740
+ "name": "account",
741
+ "type": "address"
1335
742
  }
1336
743
  ],
744
+ "name": "revokeRole",
745
+ "outputs": [],
1337
746
  "stateMutability": "nonpayable",
1338
747
  "type": "function"
1339
748
  },
1340
749
  {
1341
750
  "inputs": [
1342
751
  {
1343
- "internalType": "NftId",
1344
- "name": "nftId",
1345
- "type": "uint96"
752
+ "internalType": "address",
753
+ "name": "newAuthority",
754
+ "type": "address"
1346
755
  }
1347
756
  ],
1348
- "name": "registerPool",
757
+ "name": "setAuthority",
1349
758
  "outputs": [],
1350
759
  "stateMutability": "nonpayable",
1351
760
  "type": "function"
@@ -1353,51 +762,12 @@
1353
762
  {
1354
763
  "inputs": [
1355
764
  {
1356
- "internalType": "NftId",
1357
- "name": "poolNftId",
1358
- "type": "uint96"
1359
- },
1360
- {
1361
- "internalType": "address",
1362
- "name": "wallet",
765
+ "internalType": "contract BundleManager",
766
+ "name": "bundleManager",
1363
767
  "type": "address"
1364
- },
1365
- {
1366
- "components": [
1367
- {
1368
- "internalType": "UFixed",
1369
- "name": "fractionalFee",
1370
- "type": "uint256"
1371
- },
1372
- {
1373
- "internalType": "uint256",
1374
- "name": "fixedFee",
1375
- "type": "uint256"
1376
- }
1377
- ],
1378
- "internalType": "struct Fee",
1379
- "name": "stakingFee",
1380
- "type": "tuple"
1381
- },
1382
- {
1383
- "components": [
1384
- {
1385
- "internalType": "UFixed",
1386
- "name": "fractionalFee",
1387
- "type": "uint256"
1388
- },
1389
- {
1390
- "internalType": "uint256",
1391
- "name": "fixedFee",
1392
- "type": "uint256"
1393
- }
1394
- ],
1395
- "internalType": "struct Fee",
1396
- "name": "performanceFee",
1397
- "type": "tuple"
1398
768
  }
1399
769
  ],
1400
- "name": "registerPool",
770
+ "name": "setBundleManager",
1401
771
  "outputs": [],
1402
772
  "stateMutability": "nonpayable",
1403
773
  "type": "function"
@@ -1405,66 +775,12 @@
1405
775
  {
1406
776
  "inputs": [
1407
777
  {
1408
- "internalType": "NftId",
1409
- "name": "productNftId",
1410
- "type": "uint96"
1411
- },
1412
- {
1413
- "internalType": "NftId",
1414
- "name": "distributorNftId",
1415
- "type": "uint96"
1416
- },
1417
- {
1418
- "internalType": "NftId",
1419
- "name": "poolNftId",
1420
- "type": "uint96"
1421
- },
1422
- {
1423
- "internalType": "contract IERC20",
1424
- "name": "token",
1425
- "type": "address"
1426
- },
1427
- {
1428
- "internalType": "address",
1429
- "name": "wallet",
778
+ "internalType": "contract InstanceAccessManager",
779
+ "name": "accessManager",
1430
780
  "type": "address"
1431
- },
1432
- {
1433
- "components": [
1434
- {
1435
- "internalType": "UFixed",
1436
- "name": "fractionalFee",
1437
- "type": "uint256"
1438
- },
1439
- {
1440
- "internalType": "uint256",
1441
- "name": "fixedFee",
1442
- "type": "uint256"
1443
- }
1444
- ],
1445
- "internalType": "struct Fee",
1446
- "name": "policyFee",
1447
- "type": "tuple"
1448
- },
1449
- {
1450
- "components": [
1451
- {
1452
- "internalType": "UFixed",
1453
- "name": "fractionalFee",
1454
- "type": "uint256"
1455
- },
1456
- {
1457
- "internalType": "uint256",
1458
- "name": "fixedFee",
1459
- "type": "uint256"
1460
- }
1461
- ],
1462
- "internalType": "struct Fee",
1463
- "name": "processingFee",
1464
- "type": "tuple"
1465
781
  }
1466
782
  ],
1467
- "name": "registerProduct",
783
+ "name": "setInstanceAccessManager",
1468
784
  "outputs": [],
1469
785
  "stateMutability": "nonpayable",
1470
786
  "type": "function"
@@ -1472,17 +788,12 @@
1472
788
  {
1473
789
  "inputs": [
1474
790
  {
1475
- "internalType": "bytes32",
1476
- "name": "role",
1477
- "type": "bytes32"
1478
- },
1479
- {
1480
- "internalType": "address",
1481
- "name": "member",
791
+ "internalType": "contract InstanceReader",
792
+ "name": "instanceReader",
1482
793
  "type": "address"
1483
794
  }
1484
795
  ],
1485
- "name": "revokeRole",
796
+ "name": "setInstanceReader",
1486
797
  "outputs": [],
1487
798
  "stateMutability": "nonpayable",
1488
799
  "type": "function"
@@ -1490,82 +801,35 @@
1490
801
  {
1491
802
  "inputs": [
1492
803
  {
1493
- "components": [
1494
- {
1495
- "internalType": "NftId",
1496
- "name": "nftId",
1497
- "type": "uint96"
1498
- },
1499
- {
1500
- "internalType": "StateId",
1501
- "name": "state",
1502
- "type": "uint8"
1503
- },
1504
- {
1505
- "internalType": "contract IERC20Metadata",
1506
- "name": "token",
1507
- "type": "address"
1508
- }
1509
- ],
1510
- "internalType": "struct IComponent.ComponentInfo",
1511
- "name": "info",
1512
- "type": "tuple"
1513
- }
1514
- ],
1515
- "name": "setComponentInfo",
1516
- "outputs": [
1517
- {
1518
- "internalType": "NftId",
1519
- "name": "nftId",
1520
- "type": "uint96"
804
+ "internalType": "contract InstanceStore",
805
+ "name": "instanceStore",
806
+ "type": "address"
1521
807
  }
1522
808
  ],
809
+ "name": "setInstanceStore",
810
+ "outputs": [],
1523
811
  "stateMutability": "nonpayable",
1524
812
  "type": "function"
1525
813
  },
1526
814
  {
1527
815
  "inputs": [
1528
816
  {
1529
- "internalType": "NftId",
1530
- "name": "poolNftId",
1531
- "type": "uint96"
817
+ "internalType": "string",
818
+ "name": "targetName",
819
+ "type": "string"
1532
820
  },
1533
821
  {
1534
- "components": [
1535
- {
1536
- "internalType": "UFixed",
1537
- "name": "fractionalFee",
1538
- "type": "uint256"
1539
- },
1540
- {
1541
- "internalType": "uint256",
1542
- "name": "fixedFee",
1543
- "type": "uint256"
1544
- }
1545
- ],
1546
- "internalType": "struct Fee",
1547
- "name": "stakingFee",
1548
- "type": "tuple"
822
+ "internalType": "bytes4[]",
823
+ "name": "selectors",
824
+ "type": "bytes4[]"
1549
825
  },
1550
826
  {
1551
- "components": [
1552
- {
1553
- "internalType": "UFixed",
1554
- "name": "fractionalFee",
1555
- "type": "uint256"
1556
- },
1557
- {
1558
- "internalType": "uint256",
1559
- "name": "fixedFee",
1560
- "type": "uint256"
1561
- }
1562
- ],
1563
- "internalType": "struct Fee",
1564
- "name": "performanceFee",
1565
- "type": "tuple"
827
+ "internalType": "RoleId",
828
+ "name": "roleId",
829
+ "type": "uint64"
1566
830
  }
1567
831
  ],
1568
- "name": "setPoolFees",
832
+ "name": "setTargetFunctionRole",
1569
833
  "outputs": [],
1570
834
  "stateMutability": "nonpayable",
1571
835
  "type": "function"
@@ -1573,46 +837,17 @@
1573
837
  {
1574
838
  "inputs": [
1575
839
  {
1576
- "internalType": "NftId",
1577
- "name": "productNftId",
1578
- "type": "uint96"
1579
- },
1580
- {
1581
- "components": [
1582
- {
1583
- "internalType": "UFixed",
1584
- "name": "fractionalFee",
1585
- "type": "uint256"
1586
- },
1587
- {
1588
- "internalType": "uint256",
1589
- "name": "fixedFee",
1590
- "type": "uint256"
1591
- }
1592
- ],
1593
- "internalType": "struct Fee",
1594
- "name": "policyFee",
1595
- "type": "tuple"
840
+ "internalType": "address",
841
+ "name": "target",
842
+ "type": "address"
1596
843
  },
1597
844
  {
1598
- "components": [
1599
- {
1600
- "internalType": "UFixed",
1601
- "name": "fractionalFee",
1602
- "type": "uint256"
1603
- },
1604
- {
1605
- "internalType": "uint256",
1606
- "name": "fixedFee",
1607
- "type": "uint256"
1608
- }
1609
- ],
1610
- "internalType": "struct Fee",
1611
- "name": "processingFee",
1612
- "type": "tuple"
845
+ "internalType": "bool",
846
+ "name": "locked",
847
+ "type": "bool"
1613
848
  }
1614
849
  ],
1615
- "name": "setProductFees",
850
+ "name": "setTargetLocked",
1616
851
  "outputs": [],
1617
852
  "stateMutability": "nonpayable",
1618
853
  "type": "function"
@@ -1620,62 +855,51 @@
1620
855
  {
1621
856
  "inputs": [
1622
857
  {
1623
- "internalType": "NftId",
1624
- "name": "policyNftId",
1625
- "type": "uint96"
1626
- },
858
+ "internalType": "bytes4",
859
+ "name": "interfaceId",
860
+ "type": "bytes4"
861
+ }
862
+ ],
863
+ "name": "supportsInterface",
864
+ "outputs": [
1627
865
  {
1628
- "internalType": "NftId",
1629
- "name": "productNftId",
1630
- "type": "uint96"
866
+ "internalType": "bool",
867
+ "name": "",
868
+ "type": "bool"
1631
869
  }
1632
870
  ],
1633
- "name": "underwrite",
1634
- "outputs": [],
1635
- "stateMutability": "nonpayable",
871
+ "stateMutability": "view",
1636
872
  "type": "function"
1637
873
  }
1638
874
  ],
1639
- "bytecode": "0x60e06040523480156200001157600080fd5b5060405162005cd538038062005cd58339810160408190526200003491620007e6565b600080546001600160a01b0385166001600160a01b031991821617909155600180549091163317905560408051808201909152600c81526b283937b23ab1ba27bbb732b960a11b602082015281908190819085906200009390620001cd565b60805260408051808201909152600b81526a27b930b1b632a7bbb732b960a91b6020820152620000c390620001cd565b60a0526040805180820190915260098152682837b7b627bbb732b960b91b6020820152620000f190620001cd565b60c05262000100603c620001fe565b6200010c6046620001fe565b620001186050620001fe565b620001226200032f565b6200012c620004e6565b600c8054306001600160a01b03199182168117909255600d8054821683179055600e8054821683179055600f805482166001600160a01b0394851617905560128054821683179055601380548216948416949094179093556015805484168217905560168054841682179055601780548416948316949094179093556018805483169490911693909317909255601c805490921617905550620009f1915050565b60408051606081018252600080825260208201849052600192820192909252620001f781620006d3565b9392505050565b60ff81166000908152600660209081526040808320805460ff191660649081179091556007835281842090845290915281206001916200023c606e90565b60ff908116825260208083019390935260409182016000908120805460ff19169515159590951790945584168352600790915281206001916200027d606e90565b60ff1660ff1681526020019081526020016000206000620002a36200077460201b60201c565b60ff908116825260208083019390935260409182016000908120805460ff1916951515959095179094558416835260079091528120600191620002e4606e90565b60ff1660ff16815260200190815260200160002060006200030a6200077e60201b60201c565b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b6051600090815260066020527fcb597e9f5a977b393256a78f10901ff1c47d61d9edca5c808980ac693ea31f47805460ff1916606417905560019060079062000376605190565b60ff1660ff16815260200190815260200160002060006200039c6200077460201b60201c565b60ff1660ff1681526020019081526020016000206000620003c26200077960201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600790620003f6605190565b60ff1660ff16815260200190815260200160002060006200041c6200077960201b60201c565b60ff1660ff1681526020019081526020016000206000620004426200077460201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060079062000476605190565b60ff1660ff16815260200190815260200160002060006200049c6200077960201b60201c565b60ff1660ff1681526020019081526020016000206000620004c26200078360201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b605a600090815260066020527f1727c0104c2870c3003671480695f7dab262614528b49265008e76fd3d48c5fe805460ff1916600a1790556001906007906200052d605a90565b60ff1660ff1681526020019081526020016000206000620005536200078860201b60201c565b60ff1660ff1681526020019081526020016000206000620005796200078d60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600790620005ad605a90565b60ff1660ff1681526020019081526020016000206000620005d36200078860201b60201c565b60ff1660ff1681526020019081526020016000206000620005f96200079260201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906007906200062d605a90565b60ff1660ff1681526020019081526020016000206000620006536200078860201b60201c565b60ff1660ff1681526020019081526020016000206000620006796200077460201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600790620006ad605a90565b60ff1660ff16815260200190815260200160002060006200049c6200077460201b60201c565b80518062000726576020820151620006eb9062000797565b808352600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0181905590505b600081815260026020908152604090912083518155908301518391906001820190620007539082620008d5565b50604091909101516002909101805460ff1916911515919091179055919050565b606490565b606e90565b60d290565b60c890565b600a90565b601490565b601e90565b600081604051602001620007ac9190620009a1565b604051602081830303815290604052805190602001209050919050565b80516001600160a01b0381168114620007e157600080fd5b919050565b600080600060608486031215620007fc57600080fd5b6200080784620007c9565b92506200081760208501620007c9565b91506200082760408501620007c9565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200085b57607f821691505b6020821081036200087c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008d057600081815260208120601f850160051c81016020861015620008ab5750805b601f850160051c820191505b81811015620008cc57828155600101620008b7565b5050505b505050565b81516001600160401b03811115620008f157620008f162000830565b620009098162000902845462000846565b8462000882565b602080601f831160018114620009415760008415620009285750858301515b600019600386901b1c1916600185901b178555620008cc565b600085815260208120601f198616915b82811015620009725788860151825594840194600190910190840162000951565b5085821015620009915787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620009d057858101830151858201604001528201620009b2565b506000604082860101526040601f19601f8301168501019250505092915050565b60805160a05160c0516152b462000a21600039600061057f015260006104ed015260006106db01526152b46000f3fe60806040523480156200001157600080fd5b5060043610620003e55760003560e01c80637ff826131162000211578063bd7d9d851162000125578063e9e96c7011620000bb578063f174ce191162000086578063f174ce191462000b8f578063f274e87d1462000bbb578063fb2cb1011462000be8578063fc0ae0541462000bfa57600080fd5b8063e9e96c701462000a87578063eb71e8c41462000a9e578063eb7f494d1462000ac7578063f0ea17c31462000ade57600080fd5b8063ca38559811620000fc578063ca3855981462000978578063d0bb064c146200098f578063d547741f1462000a1f578063dc261c3a1462000a3657600080fd5b8063bd7d9d851462000915578063be409a11146200093b578063ca15c873146200096157600080fd5b80639cad005211620001a7578063b90915521162000172578063b909155214620008b3578063ba62fbe414620008de578063bce3952314620008e7578063bd62faf714620008fe57600080fd5b80639cad00521462000836578063a310e2a3146200084d578063a7f3669b1462000885578063af17d38a146200089c57600080fd5b80638aa03b6b11620001e85780638aa03b6b14620007895780639010d07c146200079257806391d1485414620007a957806393865aec14620007e557600080fd5b80637ff82613146200075f57806383d333191462000776578063893d20e8146200077f57600080fd5b80633300a8a811620003095780636078a3b2116200029f5780636fa29853116200026a5780636fa29853146200071757806379e829d014620007295780637c4a13b114620007315780637fec8b31146200074857600080fd5b80636078a3b214620006b8578063644c45e014620006cf5780636c137ea914620006d95780636ce5caea146200070057600080fd5b80634fd077f511620002e05780634fd077f514620006265780635312fdc2146200064c57806357f80bbf14620006635780635ab1bd5314620006a657600080fd5b80633300a8a814620005a45780633bc5de3014620005ca5780634288121d146200060057600080fd5b806322366844116200037f5780632f2ff15d11620003565780632f2ff15d146200054757806331b62a3b146200055e57806331e48e32146200056657806332e3a6e9146200057d57600080fd5b80632236684414620004d05780632a5f6e8514620004eb5780632b1c7f73146200051257600080fd5b806313f7dcfc11620003c057806313f7dcfc146200048e57806315dae03e14620004a75780631aa3a00814620004af5780632064717e14620004b957600080fd5b806301ed760414620003ea57806302393c4114620004365780630d3581811462000452575b600080fd5b62000419620003fb3660046200417b565b6001600160601b039081166000908152601160205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b620004436402540be40081565b6040519081526020016200042d565b6200047b62000463366004620041ab565b60ff9081166000908152600660205260409020541690565b60405160ff90911681526020016200042d565b620004a56200049f3660046200417b565b62000c11565b005b60326200047b565b6200041962000c76565b62000419620004ca366004620042a4565b62000d42565b620004da620010f7565b60405190151581526020016200042d565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620004196200052336600462004380565b6001600160a01b03166000908152600960205260409020546001600160601b031690565b620004a562000558366004620043a0565b620011ef565b600062000419565b620004a56200057736600462004406565b620013fb565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620005bb620005b53660046200417b565b62001537565b6040516200042d9190620044a8565b620005f1604080516000602082015260609101604051602081830303815290604052905090565b6040516200042d91906200454f565b6018546001600160a01b03165b6040516001600160a01b0390911681526020016200042d565b6200063d620006373660046200417b565b620015bd565b6040516200042d919062004564565b620004436200065d36600462004619565b62001675565b6200067a620006743660046200417b565b6200169f565b6040805182516001600160601b031681526020808401519082015291810151908201526060016200042d565b6000546001600160a01b03166200060d565b62000419620006c936600462004380565b62001711565b6200041962002190565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620004a56200071136600462004633565b620021da565b600f546001600160a01b03166200060d565b6001620004da565b620004a56200074236600462004619565b62002602565b620004196200075936600462004619565b620027e5565b620004a5620007703660046200417b565b6200282d565b60035462000443565b6200060d6200293c565b62000443600081565b6200060d620007a336600462004666565b62002a4c565b620004da620007ba366004620043a0565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b620004a5620007f636600462004689565b6001600160601b039092166000908152601b6020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b6200044362000847366004620046d7565b62002a6f565b6200060d6200085e3660046200417b565b6001600160601b03166000908152601960205260409020600201546001600160a01b031690565b6200047b6200089636600462004792565b62002aa1565b62000443620008ad366004620046d7565b62002c6a565b620005f16040518060400160405280600b81526020016a27b930b1b632a7bbb732b960a91b81525081565b600a5462000443565b620004a5620008f836600462004633565b62002d17565b620004196200090f366004620047f7565b6200300e565b6200092c620009263660046200417b565b620033dd565b6040516200042d919062004873565b620009526200094c36600462004619565b620034e8565b6040516200042d919062004901565b620004436200097236600462004619565b620035d5565b620004a5620009893660046200417b565b620035ee565b620004a5620009a036600462004941565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601b81529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b620004a562000a30366004620043a0565b62003734565b620004a562000a4736600462004689565b6001600160601b03909216600090815260196020908152604090912082516004820155918101516005830155825160068301559190910151600790910155565b620004da62000a98366004620049a4565b6200386b565b620005f1604051806040016040528060098152602001682837b7b627bbb732b960b91b81525081565b620004a562000ad836600462004619565b6200389f565b62000b5762000aef3660046200417b565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152600883528390208351918201845280549485168252600160601b90940460ff16918101919091526001909201546001600160a01b03169082015290565b6040805182516001600160601b0316815260208084015160ff1690820152918101516001600160a01b0316908201526060016200042d565b620005f16040518060400160405280600c81526020016b283937b23ab1ba27bbb732b960a11b81525081565b62000bd262000bcc366004620049f6565b62003a7d565b604080519283526020830191909152016200042d565b6001546001600160a01b03166200060d565b6200044362000c0b366004620041ab565b62003bb0565b6013546001600160a01b0316331462000c475760405162461bcd60e51b815260040162000c3e9062004a26565b60405180910390fd5b6001600160601b031660009081526010602052604090206002810154600382015542600690910155565b905090565b600080546001600160a01b031662000cd15760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000604482015260640162000c3e565b600054604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801562000d1c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c71919062004a74565b6013546000906001600160a01b0316331462000d725760405162461bcd60e51b815260040162000c3e9062004a26565b6040516330b8415f60e01b81526001600160601b038316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000dcb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000df1919062004a94565b50306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000e31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e57919062004ab8565b6001600160a01b0316631d1b0cac886000015162000e73605a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526001600160a01b03891660448201526064016020604051808303816000875af115801562000ed1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ef7919062004a74565b6040805161016081019091526001600160601b03821681526012549192509060208201906001600160a01b0316630d358181605a6040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562000f6a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f90919062004ae5565b60ff168152602001868152602001858152602001600081526020018481526020014281526020014281526020016000815260200160008152602001600081525060106000836001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a81548160ff021916908360ff16021790555060408201518160010155606082015181600201556080820151816003015560a0820151816004015560c0820151816005015560e082015181600601556101008201518160070155610120820151816008015561014082015181600901559050508160116000836001600160601b03166001600160601b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055509695505050505050565b60008054604051636939560f60e11b815230600482015282916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562001141573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001167919062004a74565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620011c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011e9919062004a94565b91505090565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200122e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001254919062004ab8565b6001600160a01b0316336001600160a01b031614620012875760405162461bcd60e51b815260040162000c3e9062004b12565b6000828152600260205260409020548214620012e65760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a41434d2d3031303a524f4c455f4e4f545f4558495354494e4700604482015260640162000c3e565b6000828152600260208190526040909120015460ff166200134a5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a41434d2d3031313a524f4c455f4e4f545f414354495645000000604482015260640162000c3e565b60008281526004602090815260408083206001600160a01b03851684528252808320805460ff19166001179055848352600590915290206200138d908262003cce565b5060008281526004602090815260408083206001600160a01b038516808552908352928190205481518681529283019390935260ff90921615158183015290517f9a2df6ca1a9ab5e734f2f076b73fd00974eca8e06b9895f8f4eaebb590cc09a59181900360600190a15050565b6000846040516200140c9062004089565b6001600160a01b039091168152602001604051809103906000f08015801562001439573d6000803e3d6000fd5b5060408051610100810182526001600160601b039a8b16808252998b166020808301918252998c168284019081526001600160a01b03998a1660608401908152948a1660808401908152988a1660a0840190815260c0840198895260e0840197885260009c8d5260198c5293909b20915182549151908d166001600160c01b031990921691909117600160601b918d1682021782559951925192909a169187169098021760018901555091516002870180546001600160a01b03199081169286169290921790559451600387018054909616931692909217909355518051600485015581015160058401559051805160068401550151600790910155565b6200154162004097565b506001600160601b039081166000908152601b6020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b620015c762004108565b506001600160601b0390811660009081526019602090815260409182902082516101008101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b03950485166060820152600282015485166080820152600382015490941660a0850152825180840184526004820154815260058201548184015260c0850152825180840190935260068101548352600701549082015260e082015290565b6000600382815481106200168d576200168d62004b49565b90600052602060002001549050919050565b620016cd604051806060016040528060006001600160601b0316815260200160008152602001600081525090565b506001600160601b03908116600090815260146020908152604091829020825160608101845281549094168452600181015491840191909152600201549082015290565b600f546000906001600160a01b03163314620017705760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000c3e565b6000826001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620017b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017d7919062004ae5565b90506000620017e68262003bb0565b9050306001600160a01b03166391d1485482866001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001837573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200185d919062004ab8565b6040516001600160e01b031960e085901b16815260048101929092526001600160a01b03166024820152604401602060405180830381865afa158015620018a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018ce919062004a94565b6200191c5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030343a545950455f524f4c455f4d495353494e4700604482015260640162000c3e565b306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200195b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001981919062004ab8565b604051632210724360e11b81526001600160a01b0386811660048301529190911690634420e486906024016020604051808303816000875af1158015620019cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019f2919062004a74565b92506000846001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a35573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a5b919062004ab8565b90506000856001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a9e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ac4919062004ab8565b604080516060810182526001600160601b0388168152600c549151630d35818160e01b815260ff881660048201529293509160208301916001600160a01b031690630d35818190602401602060405180830381865afa15801562001b2c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b52919062004ae5565b60ff90811682526001600160a01b038086166020938401526001600160601b03808a166000908152600885526040908190208651815488880151909616600160601b026cffffffffffffffffffffffffff1990961693169290921793909317815593820151600190940180549482166001600160a01b0319909516949094179093558051630aed701f60e11b8152905162001c45938a16926315dae03e92600480820193918290030181865afa15801562001c11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c37919062004ae5565b603c5b60ff90811691161490565b1562001edb5760008690506000816001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c91573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cb7919062004a74565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001d13573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d39919062004a94565b62001d875760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a434d502d3030353a504f4f4c5f554e4b4e4f574e000000000000604482015260640162000c3e565b6000600d60009054906101000a90046001600160a01b03166001600160a01b03166331e48e328983858989896001600160a01b031663bc74aab06040518163ffffffff1660e01b81526004016040805180830381865afa15801562001df0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e16919062004b92565b8a6001600160a01b031663daafed406040518163ffffffff1660e01b81526004016040805180830381865afa15801562001e54573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e7a919062004b92565b6040518863ffffffff1660e01b815260040162001e9e979695949392919062004bb1565b600060405180830381600087803b15801562001eb957600080fd5b505af115801562001ece573d6000803e3d6000fd5b50505050505050620020ff565b62001f4c866001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001f1e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f44919062004ae5565b605062001c3a565b15620020ff57600e546040516319470ab360e31b81526001600160601b038716600482015287916001600160a01b03169063ca38559890602401600060405180830381600087803b15801562001fa157600080fd5b505af115801562001fb6573d6000803e3d6000fd5b50505050600d60009054906101000a90046001600160a01b03166001600160a01b031663d0bb064c8784846001600160a01b0316634b270a466040518163ffffffff1660e01b81526004016040805180830381865afa1580156200201e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002044919062004b92565b856001600160a01b031663235c36036040518163ffffffff1660e01b81526004016040805180830381865afa15801562002082573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020a8919062004b92565b6040518563ffffffff1660e01b8152600401620020c9949392919062004c1f565b600060405180830381600087803b158015620020e457600080fd5b505af1158015620020f9573d6000803e3d6000fd5b50505050505b505050506001600160a01b0391909116600090815260096020526040812080546bffffffffffffffffffffffff19166001600160601b03848116918217909255600a805460018181018355919094527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a86002850401805494909116600c026101000a92830219909316910217905590565b60008054604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801562000d1c573d6000803e3d6000fd5b601c5460405163bd7d9d8560e01b81526001600160601b03841660048201526000916001600160a01b03169063bd7d9d859060240161016060405180830381865afa1580156200222e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002254919062004c70565b80519091506001600160601b03848116911614620022b55760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5452532d3032303a504f4c4943595f554e4b4e4f574e00000000604482015260640162000c3e565b6001600160601b03808316600090815260196020908152604080832081516101008101835281548087168252600160601b908190048716828601526001830154968716828501526001600160a01b039604861660608201526002820154861660808201908152600383015490961660a082015282518084018452600480840154825260058401548287015260c083019190915283518085018552600684015481526007909301548386015260e082019290925294518251635ab1bd5360e01b815292519094933093635ab1bd539381810193918290030181865afa158015620023a2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023c8919062004ab8565b60405163df33330b60e01b81526001600160601b03881660048201526001600160a01b03919091169063df33330b90602401602060405180830381865afa15801562002418573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200243e919062004ab8565b6040848101516001600160601b03166000908152601b602052205460c0850151919250600160601b90046001600160a01b0316906200247d9062003ce5565b15620024fc5760608501516040516317d5759960e31b81526001600160a01b038481166004830152838116602483015260448201929092529084169063beabacc890606401600060405180830381600087803b158015620024dd57600080fd5b505af1158015620024f2573d6000803e3d6000fd5b50505050620025f9565b6000806200251387606001518760c0015162003a7d565b60a08801516040516317d5759960e31b81526001600160a01b03888116600483015291821660248201526044810184905292945090925086169063beabacc890606401600060405180830381600087803b1580156200257157600080fd5b505af115801562002586573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0387811660048301528681166024830152604482018590528816925063beabacc89150606401600060405180830381600087803b158015620025dd57600080fd5b505af1158015620025f2573d6000803e3d6000fd5b5050505050505b50505050505050565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002641573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002667919062004ab8565b6001600160a01b0316336001600160a01b0316146200269a5760405162461bcd60e51b815260040162000c3e9062004b12565b60006002600083815260200190815260200160002060405180606001604052908160008201548152602001600182018054620026d69062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620027049062004d18565b8015620027555780601f10620027295761010080835404028352916020019162002755565b820191906000526020600020905b8154815290600101906020018083116200273757829003601f168201915b50505091835250506002919091015460ff16151560209091015280519091508214620027ce5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a414f532d3030313a524f4c455f444f45535f4e4f545f455849536044820152601560fa1b606482015260840162000c3e565b60006040820152620027e08162003cfd565b505050565b6000600a8281548110620027fd57620027fd62004b49565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b6013546001600160a01b031633146200285a5760405162461bcd60e51b815260040162000c3e9062004a26565b6001600160601b0381166000908152601060205260409020426007820181905560048201546200288a9162004d6a565b60088201556012546001600160a01b031663a7f3669b83605a8454600160601b900460ff16620028b8606490565b6040518563ffffffff1660e01b8152600401620028d9949392919062004d80565b6020604051808303816000875af1158015620028f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200291f919062004ae5565b815460ff91909116600160601b0260ff60601b1990911617905550565b60008054604051636939560f60e11b815230600482015282916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562002986573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029ac919062004a74565b60005460405163df33330b60e01b81526001600160601b03831660048201529192506001600160a01b03169063df33330b90602401602060405180830381865afa158015620029ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a25919062004ab8565b91506001600160a01b03821662002a48576001546001600160a01b0316620011e9565b5090565b600082815260056020526040812062002a66908362003d9d565b90505b92915050565b60008160405160200162002a8491906200454f565b604051602081830303815290604052805190602001209050919050565b60ff808416600090815260076020908152604080832086851684528252808320858516845290915281205490911662002af75784848484604051630cdd837760e21b815260040162000c3e949392919062004d80565b62002b0484605a62001c3a565b1562002b6157604080516001600160601b038716815260ff80861660208301528416918101919091527f3453c320908f5844705a0f2acbb230412df911a60544eca9236d16f5f9f1f6f6906060015b60405180910390a162002c62565b62002b6e84605162001c3a565b1562002bc257604080516001600160601b038716815260ff80861660208301528416918101919091527f92e25bf636cb4bfa6edf8b4fa57c0d64b6d959e3c6376d17c9bcc168fe36be199060600162002b53565b62002bcf84603c62001c3a565b8062002be3575062002be384604662001c3a565b8062002bf7575062002bf784605062001c3a565b1562002c34577fcc75054af33cdb7ef0c6dd9d4cb6f22e1dc2d22204db49d769d5da19579fb84e8585858560405162002b53949392919062004d80565b60405163024acc7560e21b81526001600160601b038616600482015260ff8516602482015260440162000c3e565b509392505050565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002cab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cd1919062004ab8565b6001600160a01b0316336001600160a01b03161462002d045760405162461bcd60e51b815260040162000c3e9062004b12565b62002d0f8262003dab565b90505b919050565b6017546001600160a01b0316331462002d445760405162461bcd60e51b815260040162000c3e9062004a26565b60155460405163bd7d9d8560e01b81526001600160601b03841660048201526000916001600160a01b03169063bd7d9d859060240161016060405180830381865afa15801562002d98573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002dbe919062004c70565b80519091506001600160601b0384811691161462002e1f5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a504c2d3030323a504f4c4943595f554e4b4e4f574e0000000000604482015260640162000c3e565b601654604051634fd077f560e01b81526001600160601b03841660048201526000916001600160a01b031690634fd077f59060240161014060405180830381865afa15801562002e73573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e99919062004dac565b80519091506001600160601b0384811691161462002f055760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c2d3030333a50524f445543545f53455455505f4d495353496044820152614e4760f01b606482015260840162000c3e565b6040818101516001600160601b0380821660008181526014602052939093208054929390929091161462002f7c5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a504c2d3030343a504f4f4c5f554e4b4e4f574e00000000000000604482015260640162000c3e565b83604001518160020154826001015462002f97919062004e68565b101562002fe75760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a504c2d3030353a43415041434954595f544f4f5f4c4f57000000604482015260640162000c3e565b836040015181600201600082825462003001919062004d6a565b9091555050505050505050565b600f546000906001600160a01b031633146200306d5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000c3e565b5080516040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620030c9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030ef919062004a94565b80156200318e57506001600160601b038181166000818152600860205260409081902054905163c4cade9d60e01b815292166004830152602482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90604401602060405180830381865af415801562003168573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200318e919062004a94565b620031dc5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030363a434f4d504f4e454e545f554e4b4e4f574e00604482015260640162000c3e565b6000306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200321d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003243919062004ab8565b604051634c3371cd60e01b81526001600160601b03841660048201526001600160a01b039190911690634c3371cd9060240160a060405180830381865afa15801562003293573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620032b9919062004e7e565b604090810151600c546001600160601b038516600090815260086020908152908490205490870151935163a7f3669b60e01b81529294506001600160a01b039091169263a7f3669b92620033209287928792600160601b90920460ff169160040162004d80565b6020604051808303816000875af115801562003340573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003366919062004ae5565b50506001600160601b03808216600090815260086020908152604091829020855181549287015160ff16600160601b026cffffffffffffffffffffffffff1990931694169390931717825590920151600190920180546001600160a01b039093166001600160a01b03199093169290921790915590565b6200344760405180610160016040528060006001600160601b03168152602001600060ff1681526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b506001600160601b0390811660009081526010602090815260409182902082516101608101845281549485168152600160601b90940460ff16918401919091526001810154918301919091526002810154606083015260038101546080830152600481015460a0830152600581015460c0830152600681015460e0830152600781015461010083015260088101546101208301526009015461014082015290565b60408051606080820183526000808352602080840183905283850182905285825260028152908490208451928301909452835482526001840180549394929391840191620035369062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620035649062004d18565b8015620035b55780601f106200358957610100808354040283529160200191620035b5565b820191906000526020600020905b8154815290600101906020018083116200359757829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b600081815260056020526040812062002d0f9062003dd5565b6001600160601b0381811660009081526014602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156200365a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003680919062004a94565b620036ce5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3030313a414c52454144595f4352454154454400000000604482015260640162000c3e565b604080516060810182526001600160601b039283168082526402540be40060208084019182526000848601818152938152601490915293909320915182546bffffffffffffffffffffffff19169416939093178155905160018201559051600290910155565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003773573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003799919062004ab8565b6001600160a01b0316336001600160a01b031614620037cc5760405162461bcd60e51b815260040162000c3e9062004b12565b60008281526002602052604090205482146200382b5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a41434d2d3032303a524f4c455f4e4f545f4558495354494e4700604482015260640162000c3e565b60008281526004602090815260408083206001600160a01b03851684528252808320805460ff1916905584835260059091529020620027e0908262003de0565b60ff8084166000908152600760209081526040808320868516845282528083208585168452909152902054165b9392505050565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620038de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003904919062004ab8565b6001600160a01b0316336001600160a01b031614620039375760405162461bcd60e51b815260040162000c3e9062004b12565b60006002600083815260200190815260200160002060405180606001604052908160008201548152602001600182018054620039739062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620039a19062004d18565b8015620039f25780601f10620039c657610100808354040283529160200191620039f2565b820191906000526020600020905b815481529060010190602001808311620039d457829003601f168201915b50505091835250506002919091015460ff1615156020909101528051909150821462003a6b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a414f532d3030323a524f4c455f444f45535f4e4f545f455849536044820152601560fa1b606482015260840162000c3e565b60016040820152620027e08162003cfd565b600080600062003b0c73__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__6392ae8ce0876040518263ffffffff1660e01b815260040162003ac091815260200190565b602060405180830381865af415801562003ade573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b04919062004f05565b855162003df7565b602085015160405163682d822960e11b8152600481018390529192509073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__9063d05b045290602401602060405180830381865af415801562003b66573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b8c919062004f05565b62003b98919062004d6a565b925062003ba6838662004e68565b9150509250929050565b600062003bbf82603c62001c3a565b1562003c2a57306001600160a01b0316636c137ea96040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d0f919062004f05565b62003c3782605062001c3a565b1562003c7c57306001600160a01b03166332e3a6e96040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b62003c8982604662001c3a565b1562002d1257306001600160a01b0316632a5f6e856040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b600062002a66836001600160a01b03841662003e0e565b60008160200151600014801562002d0f575050511590565b80518062003d4f5762003d14826020015162002a6f565b808352600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0181905590505b60008181526002602090815260409091208351815590830151839190600182019062003d7c908262004f71565b50604091909101516002909101805460ff1916911515919091179055919050565b600062002a66838362003e60565b60408051606081018252600080825260208201849052600192820192909252620038988162003cfd565b600062002d0f825490565b600062002a66836001600160a01b03841662003e8d565b600062002a668383670de0b6b3a764000062003f98565b600081815260018301602052604081205462003e575750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562002a69565b50600062002a69565b600082600001828154811062003e7a5762003e7a62004b49565b9060005260206000200154905092915050565b6000818152600183016020526040812054801562003f8657600062003eb460018362004e68565b855490915060009062003eca9060019062004e68565b905081811462003f3657600086600001828154811062003eee5762003eee62004b49565b906000526020600020015490508087600001848154811062003f145762003f1462004b49565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062003f4a5762003f4a6200503e565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062002a69565b600091505062002a69565b5092915050565b600080806000198587098587029250828110838203039150508060000362003fd75783828162003fcc5762003fcc62005054565b049250505062003898565b808411620040205760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640162000c3e565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b610214806200506b83390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b03168152602001620040e0604051806040016040528060008152602001600081525090565b815260200162004103604051806040016040528060008152602001600081525090565b905290565b604080516101008101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301529060c0820190620040e0565b6001600160601b03811681146200416b57600080fd5b50565b803562002d128162004155565b6000602082840312156200418e57600080fd5b8135620038988162004155565b60ff811681146200416b57600080fd5b600060208284031215620041be57600080fd5b813562003898816200419b565b634e487b7160e01b600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715620042075762004207620041cb565b60405290565b6040805190810167ffffffffffffffff81118282101715620042075762004207620041cb565b604051610160810167ffffffffffffffff81118282101715620042075762004207620041cb565b604051610100810167ffffffffffffffff81118282101715620042075762004207620041cb565b6001600160a01b03811681146200416b57600080fd5b803562002d128162004281565b600080600080600080868803610140811215620042c057600080fd5b60a0811215620042cf57600080fd5b50620042da620041e1565b8735620042e78162004155565b81526020880135620042f98162004155565b602082015260408801356200430e816200419b565b60408201526060880135620043238162004281565b60608201526080880135620043388162004281565b608082015295506200434d60a0880162004297565b945060c0870135935060e0870135925061010087013591506200437461012088016200416e565b90509295509295509295565b6000602082840312156200439357600080fd5b8135620038988162004281565b60008060408385031215620043b457600080fd5b823591506020830135620043c88162004281565b809150509250929050565b600060408284031215620043e657600080fd5b620043f06200420d565b9050813581526020820135602082015292915050565b6000806000806000806000610120888a0312156200442357600080fd5b8735620044308162004155565b96506020880135620044428162004155565b95506040880135620044548162004155565b94506060880135620044668162004281565b93506080880135620044788162004281565b9250620044898960a08a01620043d3565b91506200449a8960e08a01620043d3565b905092959891949750929550565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c0830191620044ea9084018280518252602090810151910152565b50606083015180516080840152602081015160a084015262003f91565b6000815180845260005b818110156200452f5760208185018101518683018201520162004511565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062002a66602083018462004507565b81516001600160601b039081168252602080840151821690830152604080840151909116908201526060808301516001600160a01b031690820152608080830151610140830191620045c0908401826001600160a01b03169052565b5060a0830151620045dc60a08401826001600160a01b03169052565b5060c0830151620045fa60c084018280518252602090810151910152565b5060e08301518051610100840152602081015161012084015262003f91565b6000602082840312156200462c57600080fd5b5035919050565b600080604083850312156200464757600080fd5b8235620046548162004155565b91506020830135620043c88162004155565b600080604083850312156200467a57600080fd5b50508035926020909101359150565b600080600060a084860312156200469f57600080fd5b8335620046ac8162004155565b9250620046bd8560208601620043d3565b9150620046ce8560608601620043d3565b90509250925092565b600060208284031215620046ea57600080fd5b813567ffffffffffffffff808211156200470357600080fd5b818401915084601f8301126200471857600080fd5b8135818111156200472d576200472d620041cb565b604051601f8201601f19908116603f01168101908382118183101715620047585762004758620041cb565b816040528281528760208487010111156200477257600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008060008060808587031215620047a957600080fd5b8435620047b68162004155565b93506020850135620047c8816200419b565b92506040850135620047da816200419b565b91506060850135620047ec816200419b565b939692955090935050565b6000606082840312156200480a57600080fd5b6040516060810181811067ffffffffffffffff82111715620048305762004830620041cb565b6040528235620048408162004155565b8152602083013562004852816200419b565b60208201526040830135620048678162004281565b60408201529392505050565b81516001600160601b03168152610160810160208301516200489a602084018260ff169052565b5060408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010080840151818401525061012080840151818401525061014080840151818401525092915050565b6020815281516020820152600060208301516060604084015262004929608084018262004507565b90506040840151151560608401528091505092915050565b60008060008060c085870312156200495857600080fd5b8435620049658162004155565b93506020850135620049778162004281565b9250620049888660408701620043d3565b9150620049998660808701620043d3565b905092959194509250565b600080600060608486031215620049ba57600080fd5b8335620049c7816200419b565b92506020840135620049d9816200419b565b91506040840135620049eb816200419b565b809150509250925092565b6000806060838503121562004a0a57600080fd5b8235915062004a1d8460208501620043d3565b90509250929050565b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b805162002d128162004155565b60006020828403121562004a8757600080fd5b8151620038988162004155565b60006020828403121562004aa757600080fd5b815180151581146200389857600080fd5b60006020828403121562004acb57600080fd5b8151620038988162004281565b805162002d12816200419b565b60006020828403121562004af857600080fd5b815162003898816200419b565b805162002d128162004281565b60208082526017908201527f4552524f523a41434d2d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006040828403121562004b7257600080fd5b62004b7c6200420d565b9050815181526020820151602082015292915050565b60006040828403121562004ba557600080fd5b62002a66838362004b5f565b6001600160601b0388811682528781166020830152861660408201526001600160a01b03858116606083015284166080820152610120810162004c0160a083018580518252602090810151910152565b825160e0830152602083015161010083015298975050505050505050565b6001600160601b03851681526001600160a01b038416602082015260c0810162004c56604083018580518252602090810151910152565b82516080830152602083015160a083015295945050505050565b6000610160828403121562004c8457600080fd5b62004c8e62004233565b62004c998362004a67565b815262004ca96020840162004ad8565b602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152506101208084015181830152506101408084015181830152508091505092915050565b600181811c9082168062004d2d57607f821691505b60208210810362004d4e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111562002a695762002a6962004d54565b6001600160601b0394909416845260ff9283166020850152908216604084015216606082015260800190565b6000610140828403121562004dc057600080fd5b62004dca6200425a565b825162004dd78162004155565b815262004de76020840162004a67565b602082015262004dfa6040840162004a67565b604082015262004e0d6060840162004b05565b606082015262004e206080840162004b05565b608082015262004e3360a0840162004b05565b60a082015262004e478460c0850162004b5f565b60c082015262004e5c84610100850162004b5f565b60e08201529392505050565b8181038181111562002a695762002a6962004d54565b600060a0828403121562004e9157600080fd5b62004e9b620041e1565b825162004ea88162004155565b8152602083015162004eba8162004155565b6020820152604083015162004ecf816200419b565b6040820152606083015162004ee48162004281565b6060820152608083015162004ef98162004281565b60808201529392505050565b60006020828403121562004f1857600080fd5b5051919050565b601f821115620027e057600081815260208120601f850160051c8101602086101562004f485750805b601f850160051c820191505b8181101562004f695782815560010162004f54565b505050505050565b815167ffffffffffffffff81111562004f8e5762004f8e620041cb565b62004fa68162004f9f845462004d18565b8462004f1f565b602080601f83116001811462004fde576000841562004fc55750858301515b600019600386901b1c1916600185901b17855562004f69565b600085815260208120601f198616915b828110156200500f5788860151825594840194600190910190840162004fee565b50858210156200502e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe608060405234801561001057600080fd5b5060405161021438038061021483398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610181806100936000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063beabacc814610030575b600080fd5b61004361003e3660046100e6565b610045565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052909116906323b872dd906064016020604051808303816000875af11580156100a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c49190610122565b50505050565b80356001600160a01b03811681146100e157600080fd5b919050565b6000806000606084860312156100fb57600080fd5b610104846100ca565b9250610112602085016100ca565b9150604084013590509250925092565b60006020828403121561013457600080fd5b8151801515811461014457600080fd5b939250505056fea2646970667358221220562140f71a9543b09bbf1c4e06df85e2834d2a68a92d2ce61eaa7f03c34c465864736f6c63430008140033a26469706673582212202190b39837bbd0f1c3a219391aa64bfbb33164b5ad27b890d8030e8585a2b2dc64736f6c63430008140033",
1640
- "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620003e55760003560e01c80637ff826131162000211578063bd7d9d851162000125578063e9e96c7011620000bb578063f174ce191162000086578063f174ce191462000b8f578063f274e87d1462000bbb578063fb2cb1011462000be8578063fc0ae0541462000bfa57600080fd5b8063e9e96c701462000a87578063eb71e8c41462000a9e578063eb7f494d1462000ac7578063f0ea17c31462000ade57600080fd5b8063ca38559811620000fc578063ca3855981462000978578063d0bb064c146200098f578063d547741f1462000a1f578063dc261c3a1462000a3657600080fd5b8063bd7d9d851462000915578063be409a11146200093b578063ca15c873146200096157600080fd5b80639cad005211620001a7578063b90915521162000172578063b909155214620008b3578063ba62fbe414620008de578063bce3952314620008e7578063bd62faf714620008fe57600080fd5b80639cad00521462000836578063a310e2a3146200084d578063a7f3669b1462000885578063af17d38a146200089c57600080fd5b80638aa03b6b11620001e85780638aa03b6b14620007895780639010d07c146200079257806391d1485414620007a957806393865aec14620007e557600080fd5b80637ff82613146200075f57806383d333191462000776578063893d20e8146200077f57600080fd5b80633300a8a811620003095780636078a3b2116200029f5780636fa29853116200026a5780636fa29853146200071757806379e829d014620007295780637c4a13b114620007315780637fec8b31146200074857600080fd5b80636078a3b214620006b8578063644c45e014620006cf5780636c137ea914620006d95780636ce5caea146200070057600080fd5b80634fd077f511620002e05780634fd077f514620006265780635312fdc2146200064c57806357f80bbf14620006635780635ab1bd5314620006a657600080fd5b80633300a8a814620005a45780633bc5de3014620005ca5780634288121d146200060057600080fd5b806322366844116200037f5780632f2ff15d11620003565780632f2ff15d146200054757806331b62a3b146200055e57806331e48e32146200056657806332e3a6e9146200057d57600080fd5b80632236684414620004d05780632a5f6e8514620004eb5780632b1c7f73146200051257600080fd5b806313f7dcfc11620003c057806313f7dcfc146200048e57806315dae03e14620004a75780631aa3a00814620004af5780632064717e14620004b957600080fd5b806301ed760414620003ea57806302393c4114620004365780630d3581811462000452575b600080fd5b62000419620003fb3660046200417b565b6001600160601b039081166000908152601160205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b620004436402540be40081565b6040519081526020016200042d565b6200047b62000463366004620041ab565b60ff9081166000908152600660205260409020541690565b60405160ff90911681526020016200042d565b620004a56200049f3660046200417b565b62000c11565b005b60326200047b565b6200041962000c76565b62000419620004ca366004620042a4565b62000d42565b620004da620010f7565b60405190151581526020016200042d565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620004196200052336600462004380565b6001600160a01b03166000908152600960205260409020546001600160601b031690565b620004a562000558366004620043a0565b620011ef565b600062000419565b620004a56200057736600462004406565b620013fb565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620005bb620005b53660046200417b565b62001537565b6040516200042d9190620044a8565b620005f1604080516000602082015260609101604051602081830303815290604052905090565b6040516200042d91906200454f565b6018546001600160a01b03165b6040516001600160a01b0390911681526020016200042d565b6200063d620006373660046200417b565b620015bd565b6040516200042d919062004564565b620004436200065d36600462004619565b62001675565b6200067a620006743660046200417b565b6200169f565b6040805182516001600160601b031681526020808401519082015291810151908201526060016200042d565b6000546001600160a01b03166200060d565b62000419620006c936600462004380565b62001711565b6200041962002190565b7f000000000000000000000000000000000000000000000000000000000000000062000443565b620004a56200071136600462004633565b620021da565b600f546001600160a01b03166200060d565b6001620004da565b620004a56200074236600462004619565b62002602565b620004196200075936600462004619565b620027e5565b620004a5620007703660046200417b565b6200282d565b60035462000443565b6200060d6200293c565b62000443600081565b6200060d620007a336600462004666565b62002a4c565b620004da620007ba366004620043a0565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b620004a5620007f636600462004689565b6001600160601b039092166000908152601b6020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b6200044362000847366004620046d7565b62002a6f565b6200060d6200085e3660046200417b565b6001600160601b03166000908152601960205260409020600201546001600160a01b031690565b6200047b6200089636600462004792565b62002aa1565b62000443620008ad366004620046d7565b62002c6a565b620005f16040518060400160405280600b81526020016a27b930b1b632a7bbb732b960a91b81525081565b600a5462000443565b620004a5620008f836600462004633565b62002d17565b620004196200090f366004620047f7565b6200300e565b6200092c620009263660046200417b565b620033dd565b6040516200042d919062004873565b620009526200094c36600462004619565b620034e8565b6040516200042d919062004901565b620004436200097236600462004619565b620035d5565b620004a5620009893660046200417b565b620035ee565b620004a5620009a036600462004941565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601b81529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b620004a562000a30366004620043a0565b62003734565b620004a562000a4736600462004689565b6001600160601b03909216600090815260196020908152604090912082516004820155918101516005830155825160068301559190910151600790910155565b620004da62000a98366004620049a4565b6200386b565b620005f1604051806040016040528060098152602001682837b7b627bbb732b960b91b81525081565b620004a562000ad836600462004619565b6200389f565b62000b5762000aef3660046200417b565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152600883528390208351918201845280549485168252600160601b90940460ff16918101919091526001909201546001600160a01b03169082015290565b6040805182516001600160601b0316815260208084015160ff1690820152918101516001600160a01b0316908201526060016200042d565b620005f16040518060400160405280600c81526020016b283937b23ab1ba27bbb732b960a11b81525081565b62000bd262000bcc366004620049f6565b62003a7d565b604080519283526020830191909152016200042d565b6001546001600160a01b03166200060d565b6200044362000c0b366004620041ab565b62003bb0565b6013546001600160a01b0316331462000c475760405162461bcd60e51b815260040162000c3e9062004a26565b60405180910390fd5b6001600160601b031660009081526010602052604090206002810154600382015542600690910155565b905090565b600080546001600160a01b031662000cd15760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000604482015260640162000c3e565b600054604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801562000d1c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c71919062004a74565b6013546000906001600160a01b0316331462000d725760405162461bcd60e51b815260040162000c3e9062004a26565b6040516330b8415f60e01b81526001600160601b038316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000dcb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000df1919062004a94565b50306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000e31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e57919062004ab8565b6001600160a01b0316631d1b0cac886000015162000e73605a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526001600160a01b03891660448201526064016020604051808303816000875af115801562000ed1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ef7919062004a74565b6040805161016081019091526001600160601b03821681526012549192509060208201906001600160a01b0316630d358181605a6040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865afa15801562000f6a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f90919062004ae5565b60ff168152602001868152602001858152602001600081526020018481526020014281526020014281526020016000815260200160008152602001600081525060106000836001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a81548160ff021916908360ff16021790555060408201518160010155606082015181600201556080820151816003015560a0820151816004015560c0820151816005015560e082015181600601556101008201518160070155610120820151816008015561014082015181600901559050508160116000836001600160601b03166001600160601b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055509695505050505050565b60008054604051636939560f60e11b815230600482015282916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562001141573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001167919062004a74565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620011c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011e9919062004a94565b91505090565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200122e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001254919062004ab8565b6001600160a01b0316336001600160a01b031614620012875760405162461bcd60e51b815260040162000c3e9062004b12565b6000828152600260205260409020548214620012e65760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a41434d2d3031303a524f4c455f4e4f545f4558495354494e4700604482015260640162000c3e565b6000828152600260208190526040909120015460ff166200134a5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a41434d2d3031313a524f4c455f4e4f545f414354495645000000604482015260640162000c3e565b60008281526004602090815260408083206001600160a01b03851684528252808320805460ff19166001179055848352600590915290206200138d908262003cce565b5060008281526004602090815260408083206001600160a01b038516808552908352928190205481518681529283019390935260ff90921615158183015290517f9a2df6ca1a9ab5e734f2f076b73fd00974eca8e06b9895f8f4eaebb590cc09a59181900360600190a15050565b6000846040516200140c9062004089565b6001600160a01b039091168152602001604051809103906000f08015801562001439573d6000803e3d6000fd5b5060408051610100810182526001600160601b039a8b16808252998b166020808301918252998c168284019081526001600160a01b03998a1660608401908152948a1660808401908152988a1660a0840190815260c0840198895260e0840197885260009c8d5260198c5293909b20915182549151908d166001600160c01b031990921691909117600160601b918d1682021782559951925192909a169187169098021760018901555091516002870180546001600160a01b03199081169286169290921790559451600387018054909616931692909217909355518051600485015581015160058401559051805160068401550151600790910155565b6200154162004097565b506001600160601b039081166000908152601b6020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b620015c762004108565b506001600160601b0390811660009081526019602090815260409182902082516101008101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b03950485166060820152600282015485166080820152600382015490941660a0850152825180840184526004820154815260058201548184015260c0850152825180840190935260068101548352600701549082015260e082015290565b6000600382815481106200168d576200168d62004b49565b90600052602060002001549050919050565b620016cd604051806060016040528060006001600160601b0316815260200160008152602001600081525090565b506001600160601b03908116600090815260146020908152604091829020825160608101845281549094168452600181015491840191909152600201549082015290565b600f546000906001600160a01b03163314620017705760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000c3e565b6000826001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620017b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017d7919062004ae5565b90506000620017e68262003bb0565b9050306001600160a01b03166391d1485482866001600160a01b031663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001837573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200185d919062004ab8565b6040516001600160e01b031960e085901b16815260048101929092526001600160a01b03166024820152604401602060405180830381865afa158015620018a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620018ce919062004a94565b6200191c5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030343a545950455f524f4c455f4d495353494e4700604482015260640162000c3e565b306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200195b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001981919062004ab8565b604051632210724360e11b81526001600160a01b0386811660048301529190911690634420e486906024016020604051808303816000875af1158015620019cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019f2919062004a74565b92506000846001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a35573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a5b919062004ab8565b90506000856001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a9e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ac4919062004ab8565b604080516060810182526001600160601b0388168152600c549151630d35818160e01b815260ff881660048201529293509160208301916001600160a01b031690630d35818190602401602060405180830381865afa15801562001b2c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b52919062004ae5565b60ff90811682526001600160a01b038086166020938401526001600160601b03808a166000908152600885526040908190208651815488880151909616600160601b026cffffffffffffffffffffffffff1990961693169290921793909317815593820151600190940180549482166001600160a01b0319909516949094179093558051630aed701f60e11b8152905162001c45938a16926315dae03e92600480820193918290030181865afa15801562001c11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c37919062004ae5565b603c5b60ff90811691161490565b1562001edb5760008690506000816001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c91573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001cb7919062004a74565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001d13573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d39919062004a94565b62001d875760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a434d502d3030353a504f4f4c5f554e4b4e4f574e000000000000604482015260640162000c3e565b6000600d60009054906101000a90046001600160a01b03166001600160a01b03166331e48e328983858989896001600160a01b031663bc74aab06040518163ffffffff1660e01b81526004016040805180830381865afa15801562001df0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e16919062004b92565b8a6001600160a01b031663daafed406040518163ffffffff1660e01b81526004016040805180830381865afa15801562001e54573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e7a919062004b92565b6040518863ffffffff1660e01b815260040162001e9e979695949392919062004bb1565b600060405180830381600087803b15801562001eb957600080fd5b505af115801562001ece573d6000803e3d6000fd5b50505050505050620020ff565b62001f4c866001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001f1e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f44919062004ae5565b605062001c3a565b15620020ff57600e546040516319470ab360e31b81526001600160601b038716600482015287916001600160a01b03169063ca38559890602401600060405180830381600087803b15801562001fa157600080fd5b505af115801562001fb6573d6000803e3d6000fd5b50505050600d60009054906101000a90046001600160a01b03166001600160a01b031663d0bb064c8784846001600160a01b0316634b270a466040518163ffffffff1660e01b81526004016040805180830381865afa1580156200201e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002044919062004b92565b856001600160a01b031663235c36036040518163ffffffff1660e01b81526004016040805180830381865afa15801562002082573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020a8919062004b92565b6040518563ffffffff1660e01b8152600401620020c9949392919062004c1f565b600060405180830381600087803b158015620020e457600080fd5b505af1158015620020f9573d6000803e3d6000fd5b50505050505b505050506001600160a01b0391909116600090815260096020526040812080546bffffffffffffffffffffffff19166001600160601b03848116918217909255600a805460018181018355919094527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a86002850401805494909116600c026101000a92830219909316910217905590565b60008054604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801562000d1c573d6000803e3d6000fd5b601c5460405163bd7d9d8560e01b81526001600160601b03841660048201526000916001600160a01b03169063bd7d9d859060240161016060405180830381865afa1580156200222e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002254919062004c70565b80519091506001600160601b03848116911614620022b55760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5452532d3032303a504f4c4943595f554e4b4e4f574e00000000604482015260640162000c3e565b6001600160601b03808316600090815260196020908152604080832081516101008101835281548087168252600160601b908190048716828601526001830154968716828501526001600160a01b039604861660608201526002820154861660808201908152600383015490961660a082015282518084018452600480840154825260058401548287015260c083019190915283518085018552600684015481526007909301548386015260e082019290925294518251635ab1bd5360e01b815292519094933093635ab1bd539381810193918290030181865afa158015620023a2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023c8919062004ab8565b60405163df33330b60e01b81526001600160601b03881660048201526001600160a01b03919091169063df33330b90602401602060405180830381865afa15801562002418573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200243e919062004ab8565b6040848101516001600160601b03166000908152601b602052205460c0850151919250600160601b90046001600160a01b0316906200247d9062003ce5565b15620024fc5760608501516040516317d5759960e31b81526001600160a01b038481166004830152838116602483015260448201929092529084169063beabacc890606401600060405180830381600087803b158015620024dd57600080fd5b505af1158015620024f2573d6000803e3d6000fd5b50505050620025f9565b6000806200251387606001518760c0015162003a7d565b60a08801516040516317d5759960e31b81526001600160a01b03888116600483015291821660248201526044810184905292945090925086169063beabacc890606401600060405180830381600087803b1580156200257157600080fd5b505af115801562002586573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0387811660048301528681166024830152604482018590528816925063beabacc89150606401600060405180830381600087803b158015620025dd57600080fd5b505af1158015620025f2573d6000803e3d6000fd5b5050505050505b50505050505050565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002641573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002667919062004ab8565b6001600160a01b0316336001600160a01b0316146200269a5760405162461bcd60e51b815260040162000c3e9062004b12565b60006002600083815260200190815260200160002060405180606001604052908160008201548152602001600182018054620026d69062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620027049062004d18565b8015620027555780601f10620027295761010080835404028352916020019162002755565b820191906000526020600020905b8154815290600101906020018083116200273757829003601f168201915b50505091835250506002919091015460ff16151560209091015280519091508214620027ce5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a414f532d3030313a524f4c455f444f45535f4e4f545f455849536044820152601560fa1b606482015260840162000c3e565b60006040820152620027e08162003cfd565b505050565b6000600a8281548110620027fd57620027fd62004b49565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b6013546001600160a01b031633146200285a5760405162461bcd60e51b815260040162000c3e9062004a26565b6001600160601b0381166000908152601060205260409020426007820181905560048201546200288a9162004d6a565b60088201556012546001600160a01b031663a7f3669b83605a8454600160601b900460ff16620028b8606490565b6040518563ffffffff1660e01b8152600401620028d9949392919062004d80565b6020604051808303816000875af1158015620028f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200291f919062004ae5565b815460ff91909116600160601b0260ff60601b1990911617905550565b60008054604051636939560f60e11b815230600482015282916001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562002986573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029ac919062004a74565b60005460405163df33330b60e01b81526001600160601b03831660048201529192506001600160a01b03169063df33330b90602401602060405180830381865afa158015620029ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a25919062004ab8565b91506001600160a01b03821662002a48576001546001600160a01b0316620011e9565b5090565b600082815260056020526040812062002a66908362003d9d565b90505b92915050565b60008160405160200162002a8491906200454f565b604051602081830303815290604052805190602001209050919050565b60ff808416600090815260076020908152604080832086851684528252808320858516845290915281205490911662002af75784848484604051630cdd837760e21b815260040162000c3e949392919062004d80565b62002b0484605a62001c3a565b1562002b6157604080516001600160601b038716815260ff80861660208301528416918101919091527f3453c320908f5844705a0f2acbb230412df911a60544eca9236d16f5f9f1f6f6906060015b60405180910390a162002c62565b62002b6e84605162001c3a565b1562002bc257604080516001600160601b038716815260ff80861660208301528416918101919091527f92e25bf636cb4bfa6edf8b4fa57c0d64b6d959e3c6376d17c9bcc168fe36be199060600162002b53565b62002bcf84603c62001c3a565b8062002be3575062002be384604662001c3a565b8062002bf7575062002bf784605062001c3a565b1562002c34577fcc75054af33cdb7ef0c6dd9d4cb6f22e1dc2d22204db49d769d5da19579fb84e8585858560405162002b53949392919062004d80565b60405163024acc7560e21b81526001600160601b038616600482015260ff8516602482015260440162000c3e565b509392505050565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002cab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cd1919062004ab8565b6001600160a01b0316336001600160a01b03161462002d045760405162461bcd60e51b815260040162000c3e9062004b12565b62002d0f8262003dab565b90505b919050565b6017546001600160a01b0316331462002d445760405162461bcd60e51b815260040162000c3e9062004a26565b60155460405163bd7d9d8560e01b81526001600160601b03841660048201526000916001600160a01b03169063bd7d9d859060240161016060405180830381865afa15801562002d98573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002dbe919062004c70565b80519091506001600160601b0384811691161462002e1f5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a504c2d3030323a504f4c4943595f554e4b4e4f574e0000000000604482015260640162000c3e565b601654604051634fd077f560e01b81526001600160601b03841660048201526000916001600160a01b031690634fd077f59060240161014060405180830381865afa15801562002e73573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e99919062004dac565b80519091506001600160601b0384811691161462002f055760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c2d3030333a50524f445543545f53455455505f4d495353496044820152614e4760f01b606482015260840162000c3e565b6040818101516001600160601b0380821660008181526014602052939093208054929390929091161462002f7c5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a504c2d3030343a504f4f4c5f554e4b4e4f574e00000000000000604482015260640162000c3e565b83604001518160020154826001015462002f97919062004e68565b101562002fe75760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a504c2d3030353a43415041434954595f544f4f5f4c4f57000000604482015260640162000c3e565b836040015181600201600082825462003001919062004d6a565b9091555050505050505050565b600f546000906001600160a01b031633146200306d5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000c3e565b5080516040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620030c9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030ef919062004a94565b80156200318e57506001600160601b038181166000818152600860205260409081902054905163c4cade9d60e01b815292166004830152602482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90604401602060405180830381865af415801562003168573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200318e919062004a94565b620031dc5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030363a434f4d504f4e454e545f554e4b4e4f574e00604482015260640162000c3e565b6000306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200321d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003243919062004ab8565b604051634c3371cd60e01b81526001600160601b03841660048201526001600160a01b039190911690634c3371cd9060240160a060405180830381865afa15801562003293573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620032b9919062004e7e565b604090810151600c546001600160601b038516600090815260086020908152908490205490870151935163a7f3669b60e01b81529294506001600160a01b039091169263a7f3669b92620033209287928792600160601b90920460ff169160040162004d80565b6020604051808303816000875af115801562003340573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003366919062004ae5565b50506001600160601b03808216600090815260086020908152604091829020855181549287015160ff16600160601b026cffffffffffffffffffffffffff1990931694169390931717825590920151600190920180546001600160a01b039093166001600160a01b03199093169290921790915590565b6200344760405180610160016040528060006001600160601b03168152602001600060ff1681526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b506001600160601b0390811660009081526010602090815260409182902082516101608101845281549485168152600160601b90940460ff16918401919091526001810154918301919091526002810154606083015260038101546080830152600481015460a0830152600581015460c0830152600681015460e0830152600781015461010083015260088101546101208301526009015461014082015290565b60408051606080820183526000808352602080840183905283850182905285825260028152908490208451928301909452835482526001840180549394929391840191620035369062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620035649062004d18565b8015620035b55780601f106200358957610100808354040283529160200191620035b5565b820191906000526020600020905b8154815290600101906020018083116200359757829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b600081815260056020526040812062002d0f9062003dd5565b6001600160601b0381811660009081526014602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156200365a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003680919062004a94565b620036ce5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3030313a414c52454144595f4352454154454400000000604482015260640162000c3e565b604080516060810182526001600160601b039283168082526402540be40060208084019182526000848601818152938152601490915293909320915182546bffffffffffffffffffffffff19169416939093178155905160018201559051600290910155565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003773573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003799919062004ab8565b6001600160a01b0316336001600160a01b031614620037cc5760405162461bcd60e51b815260040162000c3e9062004b12565b60008281526002602052604090205482146200382b5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a41434d2d3032303a524f4c455f4e4f545f4558495354494e4700604482015260640162000c3e565b60008281526004602090815260408083206001600160a01b03851684528252808320805460ff1916905584835260059091529020620027e0908262003de0565b60ff8084166000908152600760209081526040808320868516845282528083208585168452909152902054165b9392505050565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620038de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003904919062004ab8565b6001600160a01b0316336001600160a01b031614620039375760405162461bcd60e51b815260040162000c3e9062004b12565b60006002600083815260200190815260200160002060405180606001604052908160008201548152602001600182018054620039739062004d18565b80601f0160208091040260200160405190810160405280929190818152602001828054620039a19062004d18565b8015620039f25780601f10620039c657610100808354040283529160200191620039f2565b820191906000526020600020905b815481529060010190602001808311620039d457829003601f168201915b50505091835250506002919091015460ff1615156020909101528051909150821462003a6b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a414f532d3030323a524f4c455f444f45535f4e4f545f455849536044820152601560fa1b606482015260840162000c3e565b60016040820152620027e08162003cfd565b600080600062003b0c73__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__6392ae8ce0876040518263ffffffff1660e01b815260040162003ac091815260200190565b602060405180830381865af415801562003ade573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b04919062004f05565b855162003df7565b602085015160405163682d822960e11b8152600481018390529192509073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__9063d05b045290602401602060405180830381865af415801562003b66573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003b8c919062004f05565b62003b98919062004d6a565b925062003ba6838662004e68565b9150509250929050565b600062003bbf82603c62001c3a565b1562003c2a57306001600160a01b0316636c137ea96040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d0f919062004f05565b62003c3782605062001c3a565b1562003c7c57306001600160a01b03166332e3a6e96040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b62003c8982604662001c3a565b1562002d1257306001600160a01b0316632a5f6e856040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003c04573d6000803e3d6000fd5b600062002a66836001600160a01b03841662003e0e565b60008160200151600014801562002d0f575050511590565b80518062003d4f5762003d14826020015162002a6f565b808352600380546001810182556000919091527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0181905590505b60008181526002602090815260409091208351815590830151839190600182019062003d7c908262004f71565b50604091909101516002909101805460ff1916911515919091179055919050565b600062002a66838362003e60565b60408051606081018252600080825260208201849052600192820192909252620038988162003cfd565b600062002d0f825490565b600062002a66836001600160a01b03841662003e8d565b600062002a668383670de0b6b3a764000062003f98565b600081815260018301602052604081205462003e575750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562002a69565b50600062002a69565b600082600001828154811062003e7a5762003e7a62004b49565b9060005260206000200154905092915050565b6000818152600183016020526040812054801562003f8657600062003eb460018362004e68565b855490915060009062003eca9060019062004e68565b905081811462003f3657600086600001828154811062003eee5762003eee62004b49565b906000526020600020015490508087600001848154811062003f145762003f1462004b49565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062003f4a5762003f4a6200503e565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062002a69565b600091505062002a69565b5092915050565b600080806000198587098587029250828110838203039150508060000362003fd75783828162003fcc5762003fcc62005054565b049250505062003898565b808411620040205760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640162000c3e565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b610214806200506b83390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b03168152602001620040e0604051806040016040528060008152602001600081525090565b815260200162004103604051806040016040528060008152602001600081525090565b905290565b604080516101008101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301529060c0820190620040e0565b6001600160601b03811681146200416b57600080fd5b50565b803562002d128162004155565b6000602082840312156200418e57600080fd5b8135620038988162004155565b60ff811681146200416b57600080fd5b600060208284031215620041be57600080fd5b813562003898816200419b565b634e487b7160e01b600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715620042075762004207620041cb565b60405290565b6040805190810167ffffffffffffffff81118282101715620042075762004207620041cb565b604051610160810167ffffffffffffffff81118282101715620042075762004207620041cb565b604051610100810167ffffffffffffffff81118282101715620042075762004207620041cb565b6001600160a01b03811681146200416b57600080fd5b803562002d128162004281565b600080600080600080868803610140811215620042c057600080fd5b60a0811215620042cf57600080fd5b50620042da620041e1565b8735620042e78162004155565b81526020880135620042f98162004155565b602082015260408801356200430e816200419b565b60408201526060880135620043238162004281565b60608201526080880135620043388162004281565b608082015295506200434d60a0880162004297565b945060c0870135935060e0870135925061010087013591506200437461012088016200416e565b90509295509295509295565b6000602082840312156200439357600080fd5b8135620038988162004281565b60008060408385031215620043b457600080fd5b823591506020830135620043c88162004281565b809150509250929050565b600060408284031215620043e657600080fd5b620043f06200420d565b9050813581526020820135602082015292915050565b6000806000806000806000610120888a0312156200442357600080fd5b8735620044308162004155565b96506020880135620044428162004155565b95506040880135620044548162004155565b94506060880135620044668162004281565b93506080880135620044788162004281565b9250620044898960a08a01620043d3565b91506200449a8960e08a01620043d3565b905092959891949750929550565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c0830191620044ea9084018280518252602090810151910152565b50606083015180516080840152602081015160a084015262003f91565b6000815180845260005b818110156200452f5760208185018101518683018201520162004511565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062002a66602083018462004507565b81516001600160601b039081168252602080840151821690830152604080840151909116908201526060808301516001600160a01b031690820152608080830151610140830191620045c0908401826001600160a01b03169052565b5060a0830151620045dc60a08401826001600160a01b03169052565b5060c0830151620045fa60c084018280518252602090810151910152565b5060e08301518051610100840152602081015161012084015262003f91565b6000602082840312156200462c57600080fd5b5035919050565b600080604083850312156200464757600080fd5b8235620046548162004155565b91506020830135620043c88162004155565b600080604083850312156200467a57600080fd5b50508035926020909101359150565b600080600060a084860312156200469f57600080fd5b8335620046ac8162004155565b9250620046bd8560208601620043d3565b9150620046ce8560608601620043d3565b90509250925092565b600060208284031215620046ea57600080fd5b813567ffffffffffffffff808211156200470357600080fd5b818401915084601f8301126200471857600080fd5b8135818111156200472d576200472d620041cb565b604051601f8201601f19908116603f01168101908382118183101715620047585762004758620041cb565b816040528281528760208487010111156200477257600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008060008060808587031215620047a957600080fd5b8435620047b68162004155565b93506020850135620047c8816200419b565b92506040850135620047da816200419b565b91506060850135620047ec816200419b565b939692955090935050565b6000606082840312156200480a57600080fd5b6040516060810181811067ffffffffffffffff82111715620048305762004830620041cb565b6040528235620048408162004155565b8152602083013562004852816200419b565b60208201526040830135620048678162004281565b60408201529392505050565b81516001600160601b03168152610160810160208301516200489a602084018260ff169052565b5060408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010080840151818401525061012080840151818401525061014080840151818401525092915050565b6020815281516020820152600060208301516060604084015262004929608084018262004507565b90506040840151151560608401528091505092915050565b60008060008060c085870312156200495857600080fd5b8435620049658162004155565b93506020850135620049778162004281565b9250620049888660408701620043d3565b9150620049998660808701620043d3565b905092959194509250565b600080600060608486031215620049ba57600080fd5b8335620049c7816200419b565b92506020840135620049d9816200419b565b91506040840135620049eb816200419b565b809150509250925092565b6000806060838503121562004a0a57600080fd5b8235915062004a1d8460208501620043d3565b90509250929050565b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b805162002d128162004155565b60006020828403121562004a8757600080fd5b8151620038988162004155565b60006020828403121562004aa757600080fd5b815180151581146200389857600080fd5b60006020828403121562004acb57600080fd5b8151620038988162004281565b805162002d12816200419b565b60006020828403121562004af857600080fd5b815162003898816200419b565b805162002d128162004281565b60208082526017908201527f4552524f523a41434d2d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006040828403121562004b7257600080fd5b62004b7c6200420d565b9050815181526020820151602082015292915050565b60006040828403121562004ba557600080fd5b62002a66838362004b5f565b6001600160601b0388811682528781166020830152861660408201526001600160a01b03858116606083015284166080820152610120810162004c0160a083018580518252602090810151910152565b825160e0830152602083015161010083015298975050505050505050565b6001600160601b03851681526001600160a01b038416602082015260c0810162004c56604083018580518252602090810151910152565b82516080830152602083015160a083015295945050505050565b6000610160828403121562004c8457600080fd5b62004c8e62004233565b62004c998362004a67565b815262004ca96020840162004ad8565b602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152506101208084015181830152506101408084015181830152508091505092915050565b600181811c9082168062004d2d57607f821691505b60208210810362004d4e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111562002a695762002a6962004d54565b6001600160601b0394909416845260ff9283166020850152908216604084015216606082015260800190565b6000610140828403121562004dc057600080fd5b62004dca6200425a565b825162004dd78162004155565b815262004de76020840162004a67565b602082015262004dfa6040840162004a67565b604082015262004e0d6060840162004b05565b606082015262004e206080840162004b05565b608082015262004e3360a0840162004b05565b60a082015262004e478460c0850162004b5f565b60c082015262004e5c84610100850162004b5f565b60e08201529392505050565b8181038181111562002a695762002a6962004d54565b600060a0828403121562004e9157600080fd5b62004e9b620041e1565b825162004ea88162004155565b8152602083015162004eba8162004155565b6020820152604083015162004ecf816200419b565b6040820152606083015162004ee48162004281565b6060820152608083015162004ef98162004281565b60808201529392505050565b60006020828403121562004f1857600080fd5b5051919050565b601f821115620027e057600081815260208120601f850160051c8101602086101562004f485750805b601f850160051c820191505b8181101562004f695782815560010162004f54565b505050505050565b815167ffffffffffffffff81111562004f8e5762004f8e620041cb565b62004fa68162004f9f845462004d18565b8462004f1f565b602080601f83116001811462004fde576000841562004fc55750858301515b600019600386901b1c1916600185901b17855562004f69565b600085815260208120601f198616915b828110156200500f5788860151825594840194600190910190840162004fee565b50858210156200502e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe608060405234801561001057600080fd5b5060405161021438038061021483398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610181806100936000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063beabacc814610030575b600080fd5b61004361003e3660046100e6565b610045565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052909116906323b872dd906064016020604051808303816000875af11580156100a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c49190610122565b50505050565b80356001600160a01b03811681146100e157600080fd5b919050565b6000806000606084860312156100fb57600080fd5b610104846100ca565b9250610112602085016100ca565b9150604084013590509250925092565b60006020828403121561013457600080fd5b8151801515811461014457600080fd5b939250505056fea2646970667358221220562140f71a9543b09bbf1c4e06df85e2834d2a68a92d2ce61eaa7f03c34c465864736f6c63430008140033a26469706673582212202190b39837bbd0f1c3a219391aa64bfbb33164b5ad27b890d8030e8585a2b2dc64736f6c63430008140033",
875
+ "bytecode": "0x608060405234801561001057600080fd5b5061288f806100206000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063ca600b1c116100b8578063e5f6cd271161007c578063e5f6cd2714610530578063e7f7fb8614610541578063f7bc431c14610554578063f7c34ee014610567578063fed3d63f1461057a57600080fd5b8063ca600b1c146104c2578063cde749f4146104ca578063d2192dbf146104e4578063d4cda0d814610517578063e1033e7d1461052857600080fd5b8063b428b0b0116100ff578063b428b0b01461046e578063b7d2b16214610481578063bb1e0e5914610494578063bf7e214f146104a7578063c0c53b8b146104af57600080fd5b80637a9e5e4b1461040a578063868923131461041d578063893d20e8146104305780638fb3603714610438578063ada9652e1461045957600080fd5b806329db8c3d116101c95780635fa8aad41161018d5780635fa8aad4146103a357806361f5f420146103b6578063644c45e0146103c7578063675393bf146103ef5780636b9bf08b1461040257600080fd5b806329db8c3d1461035c57806336fc697e1461036f578063422c9d00146103775780634288121d1461038a5780635ab1bd531461039257600080fd5b80631eff4b22116102105780631eff4b22146102e6578063214cdb801461031b5780632449aea81461032e5780632781d4431461034157806327bb7a331461034957600080fd5b806301ffc9a71461024d57806302cd30711461028f5780630f749a89146102b45780630fec111c146102c9578063138461e0146102de575b600080fd5b61027a61025b366004611ead565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6102c76102c2366004611ee4565b610582565b005b6102d161069d565b6040516102869190611f51565b6102c76107f0565b61030d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102c7610329366004611ead565b6109f2565b6102c761033c366004611ee4565b610a1f565b61030d600381565b6102c7610357366004612099565b610b31565b6102c761036a366004612185565b610bd6565b6102c7610c43565b6102c7610385366004611ee4565b610c89565b61029c610e33565b6001546001600160a01b031661029c565b6102c76103b136600461222f565b610ec6565b6004546001600160a01b031661029c565b60008051602061281a833981519152546040516001600160601b039091168152602001610286565b6102c76103fd366004611ee4565b610f37565b61029c611045565b6102c7610418366004611ee4565b61106e565b6102c761042b36600461227e565b6110f1565b61029c611134565b61044061126b565b6040516001600160e01b03199091168152602001610286565b61030d60008051602061281a83398151915281565b6102c761047c3660046122b7565b6112a3565b6102c761048f3660046122b7565b611326565b6102c76104a23660046122e5565b611361565b61029c611504565b6102c76104bd366004612311565b611520565b61029c6116ec565b6104d2611715565b60405160ff9091168152602001610286565b6104f76104f236600461235c565b61178c565b604080516001600160401b03938416815292909116602083015201610286565b6005546001600160a01b031661029c565b61029c611817565b6002546001600160a01b031661029c565b6102c761054f3660046123b5565b611840565b6102c7610562366004611ee4565b6119e0565b6102c76105753660046123f6565b611aa0565b61029c611b17565b61058f335b600036611b40565b6002546001600160a01b0316156105cd5760025460405163e02ca03360e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6105d5611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106409190612414565b6001600160a01b03161461067b57610656611504565b6040516374150f9560e11b81526001600160a01b0390911660048201526024016105c4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161074c611134565b6001600160a01b0316815260200182600101805461076990612431565b80601f016020809104026020016040519081016040528092919081815260200182805461079590612431565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b505050505081525091505090565b600060008051602061281a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561085f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610883919061246b565b156108af5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b306108c26001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561090a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092e919061246b565b6109565760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156109aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ce9190612488565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109fa611c3e565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a2833610587565b6005546001600160a01b031615610a6157600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024016105c4565b610a69611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad49190612414565b6001600160a01b031614610b0f57610aea611504565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016105c4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610b39611c3e565b610b438287611aa0565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610bcc83826124eb565b5050505050505050565b610bdf33610587565b6002546040516329db8c3d60e01b81526001600160a01b03909116906329db8c3d90610c159087908790879087906004016125aa565b600060405180830381600087803b158015610c2f57600080fd5b505af1158015610bcc573d6000803e3d6000fd5b610c4b611c3e565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610c9233610587565b6004546001600160a01b031615610cce576004805460405163384c2dbd60e11b81526001600160a01b03909116918101919091526024016105c4565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a9190612414565b6001600160a01b031614610d635760405163decb98c560e01b81523060048201526024016105c4565b610d6b611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd69190612414565b6001600160a01b031614610e1157610dec611504565b604051630312205960e41b81526001600160a01b0390911660048201526024016105c4565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e476001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610e9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec19190612414565b905090565b610ecf33610587565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f01908590859060040161261f565b600060405180830381600087803b158015610f1b57600080fd5b505af1158015610f2f573d6000803e3d6000fd5b505050505050565b610f3f611c3e565b806001600160a01b03163b600003610f755760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610fef575060408051601f3d908101601f19168201909252610fec9181019061246b565b60015b6110175760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b806110405760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b505b50565b60006110596001546001600160a01b031690565b6001600160a01b031663d39e6043608c610e58565b33611077611504565b6001600160a01b0316816001600160a01b0316146110b25760405162d1953b60e31b81526001600160a01b03821660048201526024016105c4565b816001600160a01b03163b6000036110e8576040516361798f2f60e11b81526001600160a01b03831660048201526024016105c4565b61104082611c89565b6110fa33610587565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610f01565b60008060008051602061281a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c8919061246b565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124f9190612414565b91505090565b54600160601b90046001600160a01b0316919050565b60008051602061283a833981519152805460009190600160a01b900460ff1661129557600061124f565b638fb3603760e01b91505090565b6112ac33610587565b600254604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906112de9085908590600401612643565b6020604051808303816000875af11580156112fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611321919061246b565b505050565b61132f33610587565b600254604051635be958b160e11b81526001600160a01b039091169063b7d2b162906112de9085908590600401612643565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ce9190612414565b6001600160a01b0316336001600160a01b0316146113eb57600080fd5b6002546001600160a01b03166303014974611404611cea565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa158015611448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146c9190612665565b156114795761147961267e565b6002546001600160a01b031663b428b0b0611492611cea565b846040518363ffffffff1660e01b81526004016114b0929190612643565b6020604051808303816000875af11580156114cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f3919061246b565b15156001146110405761104061267e565b60008051602061283a833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115655750825b90506000826001600160401b031660011480156115815750303b155b90508115801561158f575080155b156115ad5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115d757845460ff60401b1916600160401b1785555b6001600160a01b0388166115fe5760405163da1db49160e01b815260040160405180910390fd5b61160788611d62565b600087905061168c88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561164e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116729190612488565b604660018b60405180602001604052806000815250610b31565b61169c63425ec80560e01b6109f2565b508315610bcc57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006117006001546001600160a01b031690565b6001600160a01b031663d39e60436078610e58565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611768573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec19190612694565b60008061179833610587565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf906117ca90879087906004016126b1565b60408051808303816000875af11580156117e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180c91906126df565b909590945092505050565b600061182b6001546001600160a01b031690565b6001600160a01b031663d39e604360d3610e58565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ad9190612414565b6001600160a01b0316336001600160a01b0316146118ca57600080fd5b6002546001600160a01b031663b7d2b1626118e3611cea565b856040518363ffffffff1660e01b8152600401611901929190612643565b6020604051808303816000875af1158015611920573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611944919061246b565b15156001146119555761195561267e565b6002546001600160a01b031663b428b0b061196e611cea565b846040518363ffffffff1660e01b815260040161198c929190612643565b6020604051808303816000875af11580156119ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cf919061246b565b15156001146113215761132161267e565b6119e933610587565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a559190612414565b6001600160a01b031614611a7e576040516345789cf560e01b81523060048201526024016105c4565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611aa8611c3e565b611ab181610f37565b611ab9610c43565b6001600160a01b038216611ae05760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061281a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000611b2b6001546001600160a01b031690565b6001600160a01b031663d39e604360dc610e58565b60008051602061283a833981519152600080611b7b611b5d611504565b8730611b6d600460008a8c61270e565b611b7691612738565b611d73565b9150915081610f2f5763ffffffff811615611c1b57825460ff60a01b1916600160a01b178355611ba9611504565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611bd893929190612768565b600060405180830381600087803b158015611bf257600080fd5b505af1158015611c06573d6000803e3d6000fd5b5050845460ff60a01b1916855550610f2f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016105c4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611c8757604051631afcd79f60e31b815260040160405180910390fd5b565b60008051602061283a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec191906127a8565b611d6a611c3e565b61104281611e7f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611de291906127c5565b600060405180830381855afa9150503d8060008114611e1d576040519150601f19603f3d011682016040523d82523d6000602084013e611e22565b606091505b50915091508115611e74576040815110611e545780806020019051810190611e4a91906127e1565b9094509250611e74565b6020815110611e745780806020019051810190611e71919061246b565b93505b505094509492505050565b611e87611c3e565b61104281611c89565b80356001600160e01b031981168114611ea857600080fd5b919050565b600060208284031215611ebf57600080fd5b611ec882611e90565b9392505050565b6001600160a01b038116811461104257600080fd5b600060208284031215611ef657600080fd5b8135611ec881611ecf565b60005b83811015611f1c578181015183820152602001611f04565b50506000910152565b60008151808452611f3d816020860160208601611f01565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611fba60c08401826001600160a01b03169052565b5060c083015160e080840152611fd4610100840182611f25565b949350505050565b6001600160601b038116811461104257600080fd5b60ff8116811461104257600080fd5b801515811461104257600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561203e5761203e61200e565b604051601f8501601f19908116603f011681019082821181831017156120665761206661200e565b8160405280935085815286868601111561207f57600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c087890312156120b257600080fd5b86356120bd81611ecf565b955060208701356120cd81611fdc565b945060408701356120dd81611ff1565b935060608701356120ed81612000565b925060808701356120fd81611ecf565b915060a08701356001600160401b0381111561211857600080fd5b8701601f8101891361212957600080fd5b61213889823560208401612024565b9150509295509295509295565b600082601f83011261215657600080fd5b611ec883833560208501612024565b6001600160401b038116811461104257600080fd5b8035611ea881612165565b6000806000806060858703121561219b57600080fd5b84356001600160401b03808211156121b257600080fd5b6121be88838901612145565b955060208701359150808211156121d457600080fd5b818701915087601f8301126121e857600080fd5b8135818111156121f757600080fd5b8860208260051b850101111561220c57600080fd5b6020830195508094505050506122246040860161217a565b905092959194509250565b6000806040838503121561224257600080fd5b823561224d81611ecf565b915060208301356001600160401b0381111561226857600080fd5b61227485828601612145565b9150509250929050565b6000806040838503121561229157600080fd5b823561229c81611ecf565b915060208301356122ac81612000565b809150509250929050565b600080604083850312156122ca57600080fd5b82356122d581612165565b915060208301356122ac81611ecf565b600080604083850312156122f857600080fd5b823561230381611ecf565b946020939093013593505050565b60008060006060848603121561232657600080fd5b833561233181611ecf565b9250602084013561234181611ecf565b9150604084013561235181611ecf565b809150509250925092565b6000806040838503121561236f57600080fd5b82356001600160401b038082111561238657600080fd5b61239286838701612145565b935060208501359150808211156123a857600080fd5b5061227485828601612145565b6000806000606084860312156123ca57600080fd5b83356123d581611ecf565b925060208401356123e581611ecf565b929592945050506040919091013590565b6000806040838503121561240957600080fd5b82356122d581611ecf565b60006020828403121561242657600080fd5b8151611ec881611ecf565b600181811c9082168061244557607f821691505b60208210810361246557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561247d57600080fd5b8151611ec881612000565b60006020828403121561249a57600080fd5b8151611ec881611fdc565b601f82111561132157600081815260208120601f850160051c810160208610156124cc5750805b601f850160051c820191505b81811015610f2f578281556001016124d8565b81516001600160401b038111156125045761250461200e565b612518816125128454612431565b846124a5565b602080601f83116001811461254d57600084156125355750858301515b600019600386901b1c1916600185901b178555610f2f565b600085815260208120601f198616915b8281101561257c5788860151825594840194600190910190840161255d565b508582101561259a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006125bd6060830187611f25565b8281036020848101919091528582528691810160005b87811015612600576001600160e01b03196125ed85611e90565b16825292820192908201906001016125d3565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b0383168152604060208201819052600090611fd490830184611f25565b6001600160401b039290921682526001600160a01b0316602082015260400190565b60006020828403121561267757600080fd5b5051919050565b634e487b7160e01b600052600160045260246000fd5b6000602082840312156126a657600080fd5b8151611ec881611ff1565b6040815260006126c46040830185611f25565b82810360208401526126d68185611f25565b95945050505050565b600080604083850312156126f257600080fd5b82516126fd81612165565b60208401519092506122ac81612165565b6000808585111561271e57600080fd5b8386111561272b57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156127605780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000602082840312156127ba57600080fd5b8151611ec881612165565b600082516127d7818460208701611f01565b9190910192915050565b600080604083850312156127f457600080fd5b82516127ff81612000565b602084015190925063ffffffff811681146122ac57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220fe32f01f3c03d1bcc7464ac793ecc40685d7317ef9d1111a8c9974b89ee3818264736f6c63430008140033",
876
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063ca600b1c116100b8578063e5f6cd271161007c578063e5f6cd2714610530578063e7f7fb8614610541578063f7bc431c14610554578063f7c34ee014610567578063fed3d63f1461057a57600080fd5b8063ca600b1c146104c2578063cde749f4146104ca578063d2192dbf146104e4578063d4cda0d814610517578063e1033e7d1461052857600080fd5b8063b428b0b0116100ff578063b428b0b01461046e578063b7d2b16214610481578063bb1e0e5914610494578063bf7e214f146104a7578063c0c53b8b146104af57600080fd5b80637a9e5e4b1461040a578063868923131461041d578063893d20e8146104305780638fb3603714610438578063ada9652e1461045957600080fd5b806329db8c3d116101c95780635fa8aad41161018d5780635fa8aad4146103a357806361f5f420146103b6578063644c45e0146103c7578063675393bf146103ef5780636b9bf08b1461040257600080fd5b806329db8c3d1461035c57806336fc697e1461036f578063422c9d00146103775780634288121d1461038a5780635ab1bd531461039257600080fd5b80631eff4b22116102105780631eff4b22146102e6578063214cdb801461031b5780632449aea81461032e5780632781d4431461034157806327bb7a331461034957600080fd5b806301ffc9a71461024d57806302cd30711461028f5780630f749a89146102b45780630fec111c146102c9578063138461e0146102de575b600080fd5b61027a61025b366004611ead565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6102c76102c2366004611ee4565b610582565b005b6102d161069d565b6040516102869190611f51565b6102c76107f0565b61030d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102c7610329366004611ead565b6109f2565b6102c761033c366004611ee4565b610a1f565b61030d600381565b6102c7610357366004612099565b610b31565b6102c761036a366004612185565b610bd6565b6102c7610c43565b6102c7610385366004611ee4565b610c89565b61029c610e33565b6001546001600160a01b031661029c565b6102c76103b136600461222f565b610ec6565b6004546001600160a01b031661029c565b60008051602061281a833981519152546040516001600160601b039091168152602001610286565b6102c76103fd366004611ee4565b610f37565b61029c611045565b6102c7610418366004611ee4565b61106e565b6102c761042b36600461227e565b6110f1565b61029c611134565b61044061126b565b6040516001600160e01b03199091168152602001610286565b61030d60008051602061281a83398151915281565b6102c761047c3660046122b7565b6112a3565b6102c761048f3660046122b7565b611326565b6102c76104a23660046122e5565b611361565b61029c611504565b6102c76104bd366004612311565b611520565b61029c6116ec565b6104d2611715565b60405160ff9091168152602001610286565b6104f76104f236600461235c565b61178c565b604080516001600160401b03938416815292909116602083015201610286565b6005546001600160a01b031661029c565b61029c611817565b6002546001600160a01b031661029c565b6102c761054f3660046123b5565b611840565b6102c7610562366004611ee4565b6119e0565b6102c76105753660046123f6565b611aa0565b61029c611b17565b61058f335b600036611b40565b6002546001600160a01b0316156105cd5760025460405163e02ca03360e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6105d5611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106409190612414565b6001600160a01b03161461067b57610656611504565b6040516374150f9560e11b81526001600160a01b0390911660048201526024016105c4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161074c611134565b6001600160a01b0316815260200182600101805461076990612431565b80601f016020809104026020016040519081016040528092919081815260200182805461079590612431565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b505050505081525091505090565b600060008051602061281a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561085f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610883919061246b565b156108af5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b306108c26001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561090a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092e919061246b565b6109565760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156109aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ce9190612488565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109fa611c3e565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a2833610587565b6005546001600160a01b031615610a6157600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024016105c4565b610a69611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad49190612414565b6001600160a01b031614610b0f57610aea611504565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016105c4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610b39611c3e565b610b438287611aa0565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610bcc83826124eb565b5050505050505050565b610bdf33610587565b6002546040516329db8c3d60e01b81526001600160a01b03909116906329db8c3d90610c159087908790879087906004016125aa565b600060405180830381600087803b158015610c2f57600080fd5b505af1158015610bcc573d6000803e3d6000fd5b610c4b611c3e565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610c9233610587565b6004546001600160a01b031615610cce576004805460405163384c2dbd60e11b81526001600160a01b03909116918101919091526024016105c4565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a9190612414565b6001600160a01b031614610d635760405163decb98c560e01b81523060048201526024016105c4565b610d6b611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd69190612414565b6001600160a01b031614610e1157610dec611504565b604051630312205960e41b81526001600160a01b0390911660048201526024016105c4565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e476001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610e9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec19190612414565b905090565b610ecf33610587565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f01908590859060040161261f565b600060405180830381600087803b158015610f1b57600080fd5b505af1158015610f2f573d6000803e3d6000fd5b505050505050565b610f3f611c3e565b806001600160a01b03163b600003610f755760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610fef575060408051601f3d908101601f19168201909252610fec9181019061246b565b60015b6110175760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b806110405760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b505b50565b60006110596001546001600160a01b031690565b6001600160a01b031663d39e6043608c610e58565b33611077611504565b6001600160a01b0316816001600160a01b0316146110b25760405162d1953b60e31b81526001600160a01b03821660048201526024016105c4565b816001600160a01b03163b6000036110e8576040516361798f2f60e11b81526001600160a01b03831660048201526024016105c4565b61104082611c89565b6110fa33610587565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610f01565b60008060008051602061281a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c8919061246b565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124f9190612414565b91505090565b54600160601b90046001600160a01b0316919050565b60008051602061283a833981519152805460009190600160a01b900460ff1661129557600061124f565b638fb3603760e01b91505090565b6112ac33610587565b600254604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906112de9085908590600401612643565b6020604051808303816000875af11580156112fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611321919061246b565b505050565b61132f33610587565b600254604051635be958b160e11b81526001600160a01b039091169063b7d2b162906112de9085908590600401612643565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ce9190612414565b6001600160a01b0316336001600160a01b0316146113eb57600080fd5b6002546001600160a01b03166303014974611404611cea565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa158015611448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146c9190612665565b156114795761147961267e565b6002546001600160a01b031663b428b0b0611492611cea565b846040518363ffffffff1660e01b81526004016114b0929190612643565b6020604051808303816000875af11580156114cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f3919061246b565b15156001146110405761104061267e565b60008051602061283a833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115655750825b90506000826001600160401b031660011480156115815750303b155b90508115801561158f575080155b156115ad5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115d757845460ff60401b1916600160401b1785555b6001600160a01b0388166115fe5760405163da1db49160e01b815260040160405180910390fd5b61160788611d62565b600087905061168c88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561164e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116729190612488565b604660018b60405180602001604052806000815250610b31565b61169c63425ec80560e01b6109f2565b508315610bcc57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006117006001546001600160a01b031690565b6001600160a01b031663d39e60436078610e58565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611768573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec19190612694565b60008061179833610587565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf906117ca90879087906004016126b1565b60408051808303816000875af11580156117e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180c91906126df565b909590945092505050565b600061182b6001546001600160a01b031690565b6001600160a01b031663d39e604360d3610e58565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ad9190612414565b6001600160a01b0316336001600160a01b0316146118ca57600080fd5b6002546001600160a01b031663b7d2b1626118e3611cea565b856040518363ffffffff1660e01b8152600401611901929190612643565b6020604051808303816000875af1158015611920573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611944919061246b565b15156001146119555761195561267e565b6002546001600160a01b031663b428b0b061196e611cea565b846040518363ffffffff1660e01b815260040161198c929190612643565b6020604051808303816000875af11580156119ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cf919061246b565b15156001146113215761132161267e565b6119e933610587565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a559190612414565b6001600160a01b031614611a7e576040516345789cf560e01b81523060048201526024016105c4565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611aa8611c3e565b611ab181610f37565b611ab9610c43565b6001600160a01b038216611ae05760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061281a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000611b2b6001546001600160a01b031690565b6001600160a01b031663d39e604360dc610e58565b60008051602061283a833981519152600080611b7b611b5d611504565b8730611b6d600460008a8c61270e565b611b7691612738565b611d73565b9150915081610f2f5763ffffffff811615611c1b57825460ff60a01b1916600160a01b178355611ba9611504565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611bd893929190612768565b600060405180830381600087803b158015611bf257600080fd5b505af1158015611c06573d6000803e3d6000fd5b5050845460ff60a01b1916855550610f2f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016105c4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611c8757604051631afcd79f60e31b815260040160405180910390fd5b565b60008051602061283a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec191906127a8565b611d6a611c3e565b61104281611e7f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611de291906127c5565b600060405180830381855afa9150503d8060008114611e1d576040519150601f19603f3d011682016040523d82523d6000602084013e611e22565b606091505b50915091508115611e74576040815110611e545780806020019051810190611e4a91906127e1565b9094509250611e74565b6020815110611e745780806020019051810190611e71919061246b565b93505b505094509492505050565b611e87611c3e565b61104281611c89565b80356001600160e01b031981168114611ea857600080fd5b919050565b600060208284031215611ebf57600080fd5b611ec882611e90565b9392505050565b6001600160a01b038116811461104257600080fd5b600060208284031215611ef657600080fd5b8135611ec881611ecf565b60005b83811015611f1c578181015183820152602001611f04565b50506000910152565b60008151808452611f3d816020860160208601611f01565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611fba60c08401826001600160a01b03169052565b5060c083015160e080840152611fd4610100840182611f25565b949350505050565b6001600160601b038116811461104257600080fd5b60ff8116811461104257600080fd5b801515811461104257600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561203e5761203e61200e565b604051601f8501601f19908116603f011681019082821181831017156120665761206661200e565b8160405280935085815286868601111561207f57600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c087890312156120b257600080fd5b86356120bd81611ecf565b955060208701356120cd81611fdc565b945060408701356120dd81611ff1565b935060608701356120ed81612000565b925060808701356120fd81611ecf565b915060a08701356001600160401b0381111561211857600080fd5b8701601f8101891361212957600080fd5b61213889823560208401612024565b9150509295509295509295565b600082601f83011261215657600080fd5b611ec883833560208501612024565b6001600160401b038116811461104257600080fd5b8035611ea881612165565b6000806000806060858703121561219b57600080fd5b84356001600160401b03808211156121b257600080fd5b6121be88838901612145565b955060208701359150808211156121d457600080fd5b818701915087601f8301126121e857600080fd5b8135818111156121f757600080fd5b8860208260051b850101111561220c57600080fd5b6020830195508094505050506122246040860161217a565b905092959194509250565b6000806040838503121561224257600080fd5b823561224d81611ecf565b915060208301356001600160401b0381111561226857600080fd5b61227485828601612145565b9150509250929050565b6000806040838503121561229157600080fd5b823561229c81611ecf565b915060208301356122ac81612000565b809150509250929050565b600080604083850312156122ca57600080fd5b82356122d581612165565b915060208301356122ac81611ecf565b600080604083850312156122f857600080fd5b823561230381611ecf565b946020939093013593505050565b60008060006060848603121561232657600080fd5b833561233181611ecf565b9250602084013561234181611ecf565b9150604084013561235181611ecf565b809150509250925092565b6000806040838503121561236f57600080fd5b82356001600160401b038082111561238657600080fd5b61239286838701612145565b935060208501359150808211156123a857600080fd5b5061227485828601612145565b6000806000606084860312156123ca57600080fd5b83356123d581611ecf565b925060208401356123e581611ecf565b929592945050506040919091013590565b6000806040838503121561240957600080fd5b82356122d581611ecf565b60006020828403121561242657600080fd5b8151611ec881611ecf565b600181811c9082168061244557607f821691505b60208210810361246557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561247d57600080fd5b8151611ec881612000565b60006020828403121561249a57600080fd5b8151611ec881611fdc565b601f82111561132157600081815260208120601f850160051c810160208610156124cc5750805b601f850160051c820191505b81811015610f2f578281556001016124d8565b81516001600160401b038111156125045761250461200e565b612518816125128454612431565b846124a5565b602080601f83116001811461254d57600084156125355750858301515b600019600386901b1c1916600185901b178555610f2f565b600085815260208120601f198616915b8281101561257c5788860151825594840194600190910190840161255d565b508582101561259a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006125bd6060830187611f25565b8281036020848101919091528582528691810160005b87811015612600576001600160e01b03196125ed85611e90565b16825292820192908201906001016125d3565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b0383168152604060208201819052600090611fd490830184611f25565b6001600160401b039290921682526001600160a01b0316602082015260400190565b60006020828403121561267757600080fd5b5051919050565b634e487b7160e01b600052600160045260246000fd5b6000602082840312156126a657600080fd5b8151611ec881611ff1565b6040815260006126c46040830185611f25565b82810360208401526126d68185611f25565b95945050505050565b600080604083850312156126f257600080fd5b82516126fd81612165565b60208401519092506122ac81612165565b6000808585111561271e57600080fd5b8386111561272b57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156127605780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000602082840312156127ba57600080fd5b8151611ec881612165565b600082516127d7818460208701611f01565b9190910192915050565b600080604083850312156127f457600080fd5b82516127ff81612000565b602084015190925063ffffffff811681146122ac57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220fe32f01f3c03d1bcc7464ac793ecc40685d7317ef9d1111a8c9974b89ee3818264736f6c63430008140033",
1641
877
  "linkReferences": {
1642
878
  "contracts/types/NftId.sol": {
1643
879
  "NftIdLib": [
1644
880
  {
1645
881
  "length": 20,
1646
- "start": 6065
882
+ "start": 2117
1647
883
  },
1648
884
  {
1649
885
  "length": 20,
1650
- "start": 7081
1651
- },
1652
- {
1653
- "length": 20,
1654
- "start": 9977
1655
- },
1656
- {
1657
- "length": 20,
1658
- "start": 15023
1659
- },
1660
- {
1661
- "length": 20,
1662
- "start": 15182
1663
- },
1664
- {
1665
- "length": 20,
1666
- "start": 16448
886
+ "start": 4490
1667
887
  }
1668
888
  ]
1669
889
  },
1670
- "contracts/types/UFixed.sol": {
1671
- "UFixedMathLib": [
890
+ "contracts/types/RoleId.sol": {
891
+ "RoleIdLib": [
1672
892
  {
1673
893
  "length": 20,
1674
- "start": 17577
1675
- },
894
+ "start": 7460
895
+ }
896
+ ]
897
+ },
898
+ "contracts/types/Version.sol": {
899
+ "VersionPartLib": [
1676
900
  {
1677
901
  "length": 20,
1678
- "start": 17740
902
+ "start": 5966
1679
903
  }
1680
904
  ]
1681
905
  }
@@ -1685,39 +909,27 @@
1685
909
  "NftIdLib": [
1686
910
  {
1687
911
  "length": 20,
1688
- "start": 3472
912
+ "start": 2085
1689
913
  },
1690
914
  {
1691
915
  "length": 20,
1692
- "start": 4488
1693
- },
1694
- {
1695
- "length": 20,
1696
- "start": 7384
1697
- },
1698
- {
1699
- "length": 20,
1700
- "start": 12430
1701
- },
1702
- {
1703
- "length": 20,
1704
- "start": 12589
1705
- },
1706
- {
1707
- "length": 20,
1708
- "start": 13855
916
+ "start": 4458
1709
917
  }
1710
918
  ]
1711
919
  },
1712
- "contracts/types/UFixed.sol": {
1713
- "UFixedMathLib": [
920
+ "contracts/types/RoleId.sol": {
921
+ "RoleIdLib": [
1714
922
  {
1715
923
  "length": 20,
1716
- "start": 14984
1717
- },
924
+ "start": 7428
925
+ }
926
+ ]
927
+ },
928
+ "contracts/types/Version.sol": {
929
+ "VersionPartLib": [
1718
930
  {
1719
931
  "length": 20,
1720
- "start": 15147
932
+ "start": 5934
1721
933
  }
1722
934
  ]
1723
935
  }