@etherisc/gif-next 0.0.2-e4b632c-016 → 0.0.2-e4d7e1c-013

Sign up to get free protection for your applications and to get access to all the features.
Files changed (751) hide show
  1. package/README.md +205 -21
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +848 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1037 -329
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +741 -139
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +561 -2778
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1997 -634
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +789 -216
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +413 -73
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3792 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +31 -8
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +886 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +404 -351
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +652 -0
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +372 -173
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +931 -154
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +409 -209
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1259 -258
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +360 -323
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +384 -115
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +721 -0
  216. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  217. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Component.sol/Component.json} +374 -150
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1551 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/IComponent.sol/IComponent.json} +319 -250
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +101 -20
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +61 -22
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +162 -15
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +161 -154
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +98 -28
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +178 -55
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +177 -163
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2757 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  280. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  281. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +3185 -0
  284. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +847 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1344 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +766 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  296. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  298. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  300. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  301. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  302. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  304. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +251 -0
  306. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  342. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  348. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  352. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  358. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  360. package/contracts/accounting/AccountingService.sol +274 -0
  361. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  362. package/contracts/accounting/IAccountingService.sol +47 -0
  363. package/contracts/authorization/AccessAdmin.sol +780 -0
  364. package/contracts/authorization/AccessAdminLib.sol +396 -0
  365. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  366. package/contracts/authorization/Authorization.sol +169 -0
  367. package/contracts/authorization/IAccess.sol +67 -0
  368. package/contracts/authorization/IAccessAdmin.sol +144 -0
  369. package/contracts/authorization/IAuthorization.sol +26 -0
  370. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  371. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  372. package/contracts/distribution/BasicDistribution.sol +141 -0
  373. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  374. package/contracts/distribution/Distribution.sol +247 -0
  375. package/contracts/distribution/DistributionService.sol +448 -0
  376. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  377. package/contracts/distribution/IDistributionComponent.sol +45 -0
  378. package/contracts/distribution/IDistributionService.sol +115 -0
  379. package/contracts/examples/fire/DamageLevel.sol +59 -0
  380. package/contracts/examples/fire/FirePool.sol +86 -0
  381. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  382. package/contracts/examples/fire/FireProduct.sol +433 -0
  383. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  384. package/contracts/examples/fire/FireUSD.sol +26 -0
  385. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  386. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  387. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  388. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  389. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  390. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  391. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  392. package/contracts/instance/BundleSet.sol +130 -0
  393. package/contracts/instance/IInstance.sol +131 -19
  394. package/contracts/instance/IInstanceService.sol +104 -17
  395. package/contracts/instance/Instance.sol +246 -341
  396. package/contracts/instance/InstanceAdmin.sol +383 -0
  397. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  398. package/contracts/instance/InstanceReader.sol +531 -189
  399. package/contracts/instance/InstanceService.sol +451 -89
  400. package/contracts/instance/InstanceServiceManager.sol +14 -31
  401. package/contracts/instance/InstanceStore.sol +298 -0
  402. package/contracts/instance/RiskSet.sol +126 -0
  403. package/contracts/instance/base/BalanceStore.sol +121 -0
  404. package/contracts/instance/base/Cloneable.sol +28 -0
  405. package/contracts/instance/base/ObjectCounter.sol +20 -0
  406. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  407. package/contracts/instance/base/ObjectSet.sol +77 -0
  408. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  409. package/contracts/instance/module/IBundle.sol +10 -8
  410. package/contracts/instance/module/IComponents.sol +62 -0
  411. package/contracts/instance/module/IDistribution.sol +25 -10
  412. package/contracts/instance/module/IPolicy.sol +81 -21
  413. package/contracts/instance/module/IRisk.sol +6 -1
  414. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  415. package/contracts/oracle/BasicOracle.sol +45 -0
  416. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  417. package/contracts/oracle/IOracle.sol +41 -0
  418. package/contracts/oracle/IOracleComponent.sol +33 -0
  419. package/contracts/oracle/IOracleService.sol +66 -0
  420. package/contracts/oracle/Oracle.sol +154 -0
  421. package/contracts/oracle/OracleService.sol +310 -0
  422. package/contracts/oracle/OracleServiceManager.sol +39 -0
  423. package/contracts/pool/BasicPool.sol +162 -0
  424. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  425. package/contracts/pool/BundleService.sol +386 -0
  426. package/contracts/pool/BundleServiceManager.sol +39 -0
  427. package/contracts/pool/IBundleService.sol +116 -0
  428. package/contracts/pool/IPoolComponent.sol +62 -0
  429. package/contracts/pool/IPoolService.sol +170 -0
  430. package/contracts/pool/Pool.sol +333 -0
  431. package/contracts/pool/PoolLib.sol +341 -0
  432. package/contracts/pool/PoolService.sol +614 -0
  433. package/contracts/pool/PoolServiceManager.sol +39 -0
  434. package/contracts/product/ApplicationService.sol +327 -0
  435. package/contracts/product/ApplicationServiceManager.sol +38 -0
  436. package/contracts/product/BasicProduct.sol +49 -0
  437. package/contracts/product/BasicProductAuthorization.sol +63 -0
  438. package/contracts/product/ClaimService.sol +630 -0
  439. package/contracts/product/ClaimServiceManager.sol +38 -0
  440. package/contracts/product/IApplicationService.sol +88 -0
  441. package/contracts/product/IClaimService.sol +136 -0
  442. package/contracts/product/IPolicyService.sol +102 -0
  443. package/contracts/product/IPricingService.sol +40 -0
  444. package/contracts/product/IProductComponent.sol +62 -0
  445. package/contracts/product/IRiskService.sol +48 -0
  446. package/contracts/product/PolicyService.sol +645 -0
  447. package/contracts/product/PolicyServiceLib.sol +139 -0
  448. package/contracts/product/PolicyServiceManager.sol +39 -0
  449. package/contracts/product/PricingService.sol +306 -0
  450. package/contracts/product/PricingServiceManager.sol +39 -0
  451. package/contracts/product/Product.sol +493 -0
  452. package/contracts/product/RiskService.sol +190 -0
  453. package/contracts/product/RiskServiceManager.sol +39 -0
  454. package/contracts/registry/ChainNft.sol +82 -35
  455. package/contracts/registry/IRegistry.sol +134 -20
  456. package/contracts/registry/IRegistryService.sol +44 -17
  457. package/contracts/registry/IRelease.sol +29 -0
  458. package/contracts/registry/ITransferInterceptor.sol +1 -1
  459. package/contracts/registry/Registry.sol +580 -267
  460. package/contracts/registry/RegistryAdmin.sol +191 -0
  461. package/contracts/registry/RegistryAuthorization.sol +336 -0
  462. package/contracts/registry/RegistryService.sol +123 -326
  463. package/contracts/registry/RegistryServiceManager.sol +27 -38
  464. package/contracts/registry/ReleaseAdmin.sol +195 -0
  465. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  466. package/contracts/registry/ReleaseRegistry.sol +525 -0
  467. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  468. package/contracts/registry/TokenRegistry.sol +317 -0
  469. package/contracts/shared/Component.sol +214 -0
  470. package/contracts/shared/ComponentService.sol +687 -0
  471. package/contracts/shared/ComponentServiceManager.sol +38 -0
  472. package/contracts/shared/ContractLib.sol +312 -0
  473. package/contracts/shared/IComponent.sol +58 -0
  474. package/contracts/shared/IComponentService.sol +111 -0
  475. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  476. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  477. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  478. package/contracts/shared/INftOwnable.sol +17 -12
  479. package/contracts/shared/IPolicyHolder.sol +35 -0
  480. package/contracts/shared/IRegisterable.sol +24 -5
  481. package/contracts/shared/IRegistryLinked.sol +11 -0
  482. package/contracts/shared/IService.sol +13 -5
  483. package/contracts/shared/InitializableERC165.sol +35 -0
  484. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  485. package/contracts/shared/KeyValueStore.sol +131 -0
  486. package/contracts/shared/Lifecycle.sol +88 -0
  487. package/contracts/shared/NftIdSet.sol +65 -0
  488. package/contracts/shared/NftOwnable.sol +77 -84
  489. package/contracts/shared/PolicyHolder.sol +63 -0
  490. package/contracts/shared/Registerable.sol +54 -37
  491. package/contracts/shared/RegistryLinked.sol +38 -0
  492. package/contracts/shared/Service.sol +46 -33
  493. package/contracts/shared/TokenHandler.sol +327 -12
  494. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  495. package/contracts/staking/IStaking.sol +367 -0
  496. package/contracts/staking/IStakingService.sol +127 -0
  497. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  498. package/contracts/staking/Staking.sol +798 -0
  499. package/contracts/staking/StakingLib.sol +195 -0
  500. package/contracts/staking/StakingManager.sol +53 -0
  501. package/contracts/staking/StakingReader.sol +171 -0
  502. package/contracts/staking/StakingService.sol +321 -0
  503. package/contracts/staking/StakingServiceManager.sol +46 -0
  504. package/contracts/staking/StakingStore.sol +1368 -0
  505. package/contracts/staking/TargetHandler.sol +132 -0
  506. package/contracts/staking/TargetManagerLib.sol +234 -0
  507. package/contracts/{types → type}/AddressSet.sol +1 -1
  508. package/contracts/type/Amount.sol +154 -0
  509. package/contracts/{types → type}/Blocknumber.sol +36 -12
  510. package/contracts/type/ChainId.sol +101 -0
  511. package/contracts/type/ClaimId.sol +80 -0
  512. package/contracts/{types → type}/DistributorType.sol +2 -2
  513. package/contracts/type/Fee.sol +66 -0
  514. package/contracts/{types → type}/Key32.sol +2 -2
  515. package/contracts/type/Key32Set.sol +62 -0
  516. package/contracts/{types → type}/NftId.sol +28 -15
  517. package/contracts/type/NftIdSet.sol +62 -0
  518. package/contracts/type/ObjectType.sol +307 -0
  519. package/contracts/type/PayoutId.sol +82 -0
  520. package/contracts/{types → type}/Referral.sol +6 -1
  521. package/contracts/type/RequestId.sol +75 -0
  522. package/contracts/type/RiskId.sol +75 -0
  523. package/contracts/type/RoleId.sol +180 -0
  524. package/contracts/type/Seconds.sol +120 -0
  525. package/contracts/type/Selector.sol +107 -0
  526. package/contracts/{types → type}/StateId.sol +48 -4
  527. package/contracts/type/String.sol +65 -0
  528. package/contracts/{types → type}/Timestamp.sol +36 -20
  529. package/contracts/type/UFixed.sol +263 -0
  530. package/contracts/{types → type}/Version.sol +61 -6
  531. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  532. package/contracts/upgradeability/ProxyManager.sol +246 -0
  533. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  534. package/contracts/upgradeability/Versionable.sol +62 -0
  535. package/package.json +12 -8
  536. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  538. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  539. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -610
  540. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  542. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  544. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  546. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  547. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  548. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  549. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -774
  550. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  551. package/artifacts/contracts/components/Product.sol/Product.json +0 -754
  552. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  554. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  556. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  558. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  560. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  562. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  564. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  566. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  568. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  570. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  572. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  575. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  577. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  579. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  581. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  583. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  585. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  587. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  588. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  589. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  590. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  591. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  592. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  593. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  594. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  595. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  596. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  597. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -930
  598. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  601. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  602. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  603. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  604. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  605. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  606. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  607. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  609. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  611. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  613. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -604
  615. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  617. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  619. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  620. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  621. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  622. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  623. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  624. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  625. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  626. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  627. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  628. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  629. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  630. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  631. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  632. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  633. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  634. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  635. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  636. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  637. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  638. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  639. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  640. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  641. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  642. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  643. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  644. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  645. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  646. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  647. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  648. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  649. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  650. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  651. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  652. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  653. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  654. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  655. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  656. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  658. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  659. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  660. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  662. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  663. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  664. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  665. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  666. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  667. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  668. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  669. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  670. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  671. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  672. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  673. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  674. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  675. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  676. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  677. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  678. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  679. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  680. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  681. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  682. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  683. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  684. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  685. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  686. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  687. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  688. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  689. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  690. package/contracts/components/BaseComponent.sol +0 -86
  691. package/contracts/components/Distribution.sol +0 -166
  692. package/contracts/components/IBaseComponent.sol +0 -24
  693. package/contracts/components/IDistributionComponent.sol +0 -43
  694. package/contracts/components/IPoolComponent.sol +0 -62
  695. package/contracts/components/IProductComponent.sol +0 -35
  696. package/contracts/components/Pool.sol +0 -259
  697. package/contracts/components/Product.sol +0 -297
  698. package/contracts/experiment/cloning/Cloner.sol +0 -47
  699. package/contracts/experiment/errors/Require.sol +0 -38
  700. package/contracts/experiment/errors/Revert.sol +0 -44
  701. package/contracts/experiment/inheritance/A.sol +0 -53
  702. package/contracts/experiment/inheritance/B.sol +0 -28
  703. package/contracts/experiment/inheritance/C.sol +0 -34
  704. package/contracts/experiment/inheritance/IA.sol +0 -13
  705. package/contracts/experiment/inheritance/IB.sol +0 -10
  706. package/contracts/experiment/inheritance/IC.sol +0 -12
  707. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  708. package/contracts/experiment/statemachine/ISM.sol +0 -25
  709. package/contracts/experiment/statemachine/SM.sol +0 -57
  710. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  711. package/contracts/experiment/types/TypeA.sol +0 -47
  712. package/contracts/experiment/types/TypeB.sol +0 -29
  713. package/contracts/instance/AccessManagedSimple.sol +0 -122
  714. package/contracts/instance/AccessManagerSimple.sol +0 -692
  715. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  716. package/contracts/instance/InstanceAccessManager.sol +0 -288
  717. package/contracts/instance/base/ComponentServiceBase.sol +0 -39
  718. package/contracts/instance/base/IInstanceBase.sol +0 -23
  719. package/contracts/instance/base/KeyValueStore.sol +0 -172
  720. package/contracts/instance/base/Lifecycle.sol +0 -100
  721. package/contracts/instance/module/IAccess.sol +0 -38
  722. package/contracts/instance/module/ISetup.sol +0 -43
  723. package/contracts/instance/module/ITreasury.sol +0 -23
  724. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  725. package/contracts/instance/service/DistributionService.sol +0 -70
  726. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  727. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  728. package/contracts/instance/service/IDistributionService.sol +0 -12
  729. package/contracts/instance/service/IPoolService.sol +0 -37
  730. package/contracts/instance/service/IProductService.sol +0 -107
  731. package/contracts/shared/ContractDeployerLib.sol +0 -72
  732. package/contracts/shared/ERC165.sol +0 -21
  733. package/contracts/shared/ProxyManager.sol +0 -94
  734. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  735. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  736. package/contracts/shared/Versionable.sol +0 -147
  737. package/contracts/test/TestFee.sol +0 -25
  738. package/contracts/test/TestRegisterable.sol +0 -18
  739. package/contracts/test/TestRoleId.sol +0 -14
  740. package/contracts/test/TestService.sol +0 -24
  741. package/contracts/test/TestToken.sol +0 -26
  742. package/contracts/test/TestVersion.sol +0 -44
  743. package/contracts/test/TestVersionable.sol +0 -17
  744. package/contracts/types/ChainId.sol +0 -38
  745. package/contracts/types/Fee.sol +0 -56
  746. package/contracts/types/NftIdSet.sol +0 -60
  747. package/contracts/types/NumberId.sol +0 -52
  748. package/contracts/types/ObjectType.sol +0 -152
  749. package/contracts/types/RiskId.sol +0 -43
  750. package/contracts/types/RoleId.sol +0 -82
  751. package/contracts/types/UFixed.sol +0 -325
@@ -3,27 +3,6 @@
3
3
  "contractName": "Instance",
4
4
  "sourceName": "contracts/instance/Instance.sol",
5
5
  "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "accessManagerAddress",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "address",
15
- "name": "registryAddress",
16
- "type": "address"
17
- },
18
- {
19
- "internalType": "NftId",
20
- "name": "registryNftId",
21
- "type": "uint96"
22
- }
23
- ],
24
- "stateMutability": "nonpayable",
25
- "type": "constructor"
26
- },
27
6
  {
28
7
  "inputs": [
29
8
  {
@@ -66,129 +45,104 @@
66
45
  "inputs": [
67
46
  {
68
47
  "internalType": "address",
69
- "name": "registry",
48
+ "name": "authority",
70
49
  "type": "address"
71
- },
72
- {
73
- "internalType": "NftId",
74
- "name": "nftId",
75
- "type": "uint96"
76
50
  }
77
51
  ],
78
- "name": "ErrorAlreadyLinked",
52
+ "name": "ErrorAuthorityInvalid",
79
53
  "type": "error"
80
54
  },
81
55
  {
82
56
  "inputs": [
83
57
  {
84
58
  "internalType": "address",
85
- "name": "contractAddress",
59
+ "name": "instanceBundleSet",
86
60
  "type": "address"
87
61
  }
88
62
  ],
89
- "name": "ErrorContractNotRegistered",
63
+ "name": "ErrorInstanceBundleSetAlreadySet",
90
64
  "type": "error"
91
65
  },
92
66
  {
93
67
  "inputs": [
94
68
  {
95
- "internalType": "RoleId",
96
- "name": "roleId",
97
- "type": "uint64"
69
+ "internalType": "address",
70
+ "name": "instanceAuthority",
71
+ "type": "address"
98
72
  }
99
73
  ],
100
- "name": "ErrorGrantNonexstentRole",
74
+ "name": "ErrorInstanceBundleSetAuthorityMismatch",
101
75
  "type": "error"
102
76
  },
103
77
  {
104
78
  "inputs": [
105
79
  {
106
- "internalType": "ObjectType",
107
- "name": "objectType",
108
- "type": "uint8"
109
- },
110
- {
111
- "internalType": "StateId",
112
- "name": "fromStateId",
113
- "type": "uint8"
114
- },
115
- {
116
- "internalType": "StateId",
117
- "name": "toStateId",
118
- "type": "uint8"
80
+ "internalType": "address",
81
+ "name": "instance",
82
+ "type": "address"
119
83
  }
120
84
  ],
121
- "name": "ErrorInvalidStateTransition",
85
+ "name": "ErrorInstanceBundleSetInstanceMismatch",
122
86
  "type": "error"
123
87
  },
124
88
  {
125
89
  "inputs": [
126
90
  {
127
- "internalType": "NftId",
128
- "name": "nftId",
129
- "type": "uint96"
130
- },
131
- {
132
- "internalType": "ObjectType",
133
- "name": "objectType",
134
- "type": "uint8"
91
+ "internalType": "address",
92
+ "name": "instanceAdmin",
93
+ "type": "address"
135
94
  }
136
95
  ],
137
- "name": "ErrorNoLifecycle",
96
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
138
97
  "type": "error"
139
98
  },
140
99
  {
141
100
  "inputs": [
142
101
  {
143
102
  "internalType": "address",
144
- "name": "account",
103
+ "name": "instanceAuthority",
145
104
  "type": "address"
146
105
  }
147
106
  ],
148
- "name": "ErrorNotOwner",
107
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
108
+ "type": "error"
109
+ },
110
+ {
111
+ "inputs": [],
112
+ "name": "ErrorInstanceInstanceAdminZero",
149
113
  "type": "error"
150
114
  },
151
115
  {
152
116
  "inputs": [
153
117
  {
154
118
  "internalType": "address",
155
- "name": "registryAddress",
119
+ "name": "instanceAuthority",
156
120
  "type": "address"
157
121
  }
158
122
  ],
159
- "name": "ErrorNotRegistry",
123
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
160
124
  "type": "error"
161
125
  },
162
126
  {
163
127
  "inputs": [
164
128
  {
165
129
  "internalType": "address",
166
- "name": "registryAddress",
130
+ "name": "instanceStore",
167
131
  "type": "address"
168
132
  }
169
133
  ],
170
- "name": "ErrorRegisterableNotRegistry",
171
- "type": "error"
172
- },
173
- {
174
- "inputs": [],
175
- "name": "ErrorRegistryAddressZero",
134
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
176
135
  "type": "error"
177
136
  },
178
137
  {
179
138
  "inputs": [
180
139
  {
181
140
  "internalType": "address",
182
- "name": "registry",
141
+ "name": "instanceAuthority",
183
142
  "type": "address"
184
143
  }
185
144
  ],
186
- "name": "ErrorRegistryAlreadyInitialized",
187
- "type": "error"
188
- },
189
- {
190
- "inputs": [],
191
- "name": "ErrorRegistryNotInitialized",
145
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
192
146
  "type": "error"
193
147
  },
194
148
  {
@@ -199,7 +153,7 @@
199
153
  "type": "uint64"
200
154
  }
201
155
  ],
202
- "name": "ErrorRenounceNonexstentRole",
156
+ "name": "ErrorInstanceNotCustomRole",
203
157
  "type": "error"
204
158
  },
205
159
  {
@@ -208,117 +162,127 @@
208
162
  "internalType": "RoleId",
209
163
  "name": "roleId",
210
164
  "type": "uint64"
165
+ },
166
+ {
167
+ "internalType": "address",
168
+ "name": "account",
169
+ "type": "address"
211
170
  }
212
171
  ],
213
- "name": "ErrorRevokeNonexstentRole",
172
+ "name": "ErrorInstanceNotRoleAdmin",
214
173
  "type": "error"
215
174
  },
216
175
  {
217
176
  "inputs": [
218
177
  {
219
- "internalType": "RoleId",
220
- "name": "roleId",
221
- "type": "uint64"
178
+ "internalType": "address",
179
+ "name": "instanceRiskSet",
180
+ "type": "address"
222
181
  }
223
182
  ],
224
- "name": "ErrorRoleIdInvalid",
183
+ "name": "ErrorInstanceRiskSetAlreadySet",
225
184
  "type": "error"
226
185
  },
227
186
  {
228
187
  "inputs": [
229
188
  {
230
- "internalType": "RoleId",
231
- "name": "roleId",
232
- "type": "uint64"
189
+ "internalType": "address",
190
+ "name": "instanceAuthority",
191
+ "type": "address"
233
192
  }
234
193
  ],
235
- "name": "ErrorRoleIdNotActive",
194
+ "name": "ErrorInstanceRiskSetAuthorityMismatch",
236
195
  "type": "error"
237
196
  },
238
197
  {
239
198
  "inputs": [
240
199
  {
241
- "internalType": "RoleId",
242
- "name": "roleId",
243
- "type": "uint64"
200
+ "internalType": "address",
201
+ "name": "instance",
202
+ "type": "address"
244
203
  }
245
204
  ],
246
- "name": "ErrorRoleIdTooBig",
205
+ "name": "ErrorInstanceRiskSetInstanceMismatch",
247
206
  "type": "error"
248
207
  },
249
208
  {
250
209
  "inputs": [
251
210
  {
252
- "internalType": "RoleId",
253
- "name": "roleId",
254
- "type": "uint64"
211
+ "internalType": "NftId",
212
+ "name": "nftId",
213
+ "type": "uint96"
255
214
  }
256
215
  ],
257
- "name": "ErrorRoleIdTooSmall",
216
+ "name": "ErrorNftOwnableAlreadyLinked",
258
217
  "type": "error"
259
218
  },
260
219
  {
261
220
  "inputs": [
262
221
  {
263
- "internalType": "RoleId",
264
- "name": "roleId",
265
- "type": "uint64"
222
+ "internalType": "address",
223
+ "name": "contractAddress",
224
+ "type": "address"
266
225
  }
267
226
  ],
268
- "name": "ErrorRoleNameEmpty",
227
+ "name": "ErrorNftOwnableContractNotRegistered",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorNftOwnableInitialOwnerZero",
269
233
  "type": "error"
270
234
  },
271
235
  {
272
236
  "inputs": [
273
237
  {
274
- "internalType": "RoleId",
275
- "name": "roleId",
276
- "type": "uint64"
238
+ "internalType": "NftId",
239
+ "name": "nftId",
240
+ "type": "uint96"
277
241
  },
278
242
  {
279
- "internalType": "ShortString",
280
- "name": "name",
281
- "type": "bytes32"
243
+ "internalType": "ObjectType",
244
+ "name": "expectedObjectType",
245
+ "type": "uint8"
282
246
  }
283
247
  ],
284
- "name": "ErrorRoleNameNotUnique",
248
+ "name": "ErrorNftOwnableInvalidType",
285
249
  "type": "error"
286
250
  },
287
251
  {
288
252
  "inputs": [
289
253
  {
290
254
  "internalType": "address",
291
- "name": "target",
255
+ "name": "account",
292
256
  "type": "address"
293
257
  }
294
258
  ],
295
- "name": "ErrorTargetDoesNotExist",
259
+ "name": "ErrorNftOwnableNotOwner",
296
260
  "type": "error"
297
261
  },
298
262
  {
299
- "inputs": [],
300
- "name": "InvalidInitialization",
263
+ "inputs": [
264
+ {
265
+ "internalType": "address",
266
+ "name": "registryAddress",
267
+ "type": "address"
268
+ }
269
+ ],
270
+ "name": "ErrorNotRegistry",
301
271
  "type": "error"
302
272
  },
303
273
  {
304
274
  "inputs": [],
305
- "name": "InvalidShortString",
275
+ "name": "ErrorRegisterableNotActive",
306
276
  "type": "error"
307
277
  },
308
278
  {
309
279
  "inputs": [],
310
- "name": "NotInitializing",
280
+ "name": "InvalidInitialization",
311
281
  "type": "error"
312
282
  },
313
283
  {
314
- "inputs": [
315
- {
316
- "internalType": "string",
317
- "name": "str",
318
- "type": "string"
319
- }
320
- ],
321
- "name": "StringTooLong",
284
+ "inputs": [],
285
+ "name": "NotInitializing",
322
286
  "type": "error"
323
287
  },
324
288
  {
@@ -352,36 +316,24 @@
352
316
  "inputs": [
353
317
  {
354
318
  "indexed": false,
355
- "internalType": "ObjectType",
356
- "name": "objectType",
357
- "type": "uint8"
358
- },
359
- {
360
- "indexed": false,
361
- "internalType": "KeyId",
362
- "name": "keyId",
363
- "type": "bytes31"
364
- },
365
- {
366
- "indexed": false,
367
- "internalType": "StateId",
368
- "name": "state",
369
- "type": "uint8"
319
+ "internalType": "RoleId",
320
+ "name": "roleId",
321
+ "type": "uint64"
370
322
  },
371
323
  {
372
324
  "indexed": false,
373
- "internalType": "address",
374
- "name": "createdBy",
375
- "type": "address"
325
+ "internalType": "bool",
326
+ "name": "active",
327
+ "type": "bool"
376
328
  },
377
329
  {
378
330
  "indexed": false,
379
331
  "internalType": "address",
380
- "name": "txOrigin",
332
+ "name": "caller",
381
333
  "type": "address"
382
334
  }
383
335
  ],
384
- "name": "LogInfoCreated",
336
+ "name": "LogInstanceCustomRoleActiveSet",
385
337
  "type": "event"
386
338
  },
387
339
  {
@@ -389,42 +341,55 @@
389
341
  "inputs": [
390
342
  {
391
343
  "indexed": false,
392
- "internalType": "ObjectType",
393
- "name": "objectType",
394
- "type": "uint8"
344
+ "internalType": "RoleId",
345
+ "name": "roleId",
346
+ "type": "uint64"
395
347
  },
396
348
  {
397
349
  "indexed": false,
398
- "internalType": "KeyId",
399
- "name": "keyId",
400
- "type": "bytes31"
350
+ "internalType": "string",
351
+ "name": "roleName",
352
+ "type": "string"
401
353
  },
402
354
  {
403
355
  "indexed": false,
404
- "internalType": "StateId",
405
- "name": "state",
406
- "type": "uint8"
356
+ "internalType": "RoleId",
357
+ "name": "adminRoleId",
358
+ "type": "uint64"
407
359
  },
408
360
  {
409
361
  "indexed": false,
410
- "internalType": "address",
411
- "name": "updatedBy",
412
- "type": "address"
362
+ "internalType": "uint32",
363
+ "name": "maxMemberCount",
364
+ "type": "uint32"
365
+ }
366
+ ],
367
+ "name": "LogInstanceCustomRoleCreated",
368
+ "type": "event"
369
+ },
370
+ {
371
+ "anonymous": false,
372
+ "inputs": [
373
+ {
374
+ "indexed": false,
375
+ "internalType": "RoleId",
376
+ "name": "roleId",
377
+ "type": "uint64"
413
378
  },
414
379
  {
415
380
  "indexed": false,
416
381
  "internalType": "address",
417
- "name": "txOrigin",
382
+ "name": "account",
418
383
  "type": "address"
419
384
  },
420
385
  {
421
386
  "indexed": false,
422
- "internalType": "Blocknumber",
423
- "name": "lastUpdatedIn",
424
- "type": "uint32"
387
+ "internalType": "address",
388
+ "name": "caller",
389
+ "type": "address"
425
390
  }
426
391
  ],
427
- "name": "LogInfoUpdated",
392
+ "name": "LogInstanceCustomRoleGranted",
428
393
  "type": "event"
429
394
  },
430
395
  {
@@ -432,97 +397,122 @@
432
397
  "inputs": [
433
398
  {
434
399
  "indexed": false,
435
- "internalType": "ObjectType",
436
- "name": "objectType",
437
- "type": "uint8"
438
- },
439
- {
440
- "indexed": false,
441
- "internalType": "KeyId",
442
- "name": "keyId",
443
- "type": "bytes31"
400
+ "internalType": "RoleId",
401
+ "name": "roleId",
402
+ "type": "uint64"
444
403
  },
445
404
  {
446
405
  "indexed": false,
447
- "internalType": "StateId",
448
- "name": "stateOld",
449
- "type": "uint8"
406
+ "internalType": "address",
407
+ "name": "account",
408
+ "type": "address"
450
409
  },
451
410
  {
452
411
  "indexed": false,
453
- "internalType": "StateId",
454
- "name": "stateNew",
455
- "type": "uint8"
456
- },
412
+ "internalType": "address",
413
+ "name": "caller",
414
+ "type": "address"
415
+ }
416
+ ],
417
+ "name": "LogInstanceCustomRoleRevoked",
418
+ "type": "event"
419
+ },
420
+ {
421
+ "anonymous": false,
422
+ "inputs": [
457
423
  {
458
424
  "indexed": false,
459
425
  "internalType": "address",
460
- "name": "updatedBy",
426
+ "name": "target",
461
427
  "type": "address"
462
428
  },
463
429
  {
464
430
  "indexed": false,
465
- "internalType": "address",
466
- "name": "txOrigin",
467
- "type": "address"
431
+ "internalType": "RoleId",
432
+ "name": "targetRoleId",
433
+ "type": "uint64"
468
434
  },
469
435
  {
470
436
  "indexed": false,
471
- "internalType": "Blocknumber",
472
- "name": "lastUpdatedIn",
473
- "type": "uint32"
437
+ "internalType": "string",
438
+ "name": "name",
439
+ "type": "string"
474
440
  }
475
441
  ],
476
- "name": "LogStateUpdated",
442
+ "name": "LogInstanceCustomTargetCreated",
477
443
  "type": "event"
478
444
  },
479
445
  {
480
- "inputs": [],
481
- "name": "ADMIN_ROLE",
482
- "outputs": [
446
+ "anonymous": false,
447
+ "inputs": [
483
448
  {
484
- "internalType": "uint64",
485
- "name": "",
449
+ "indexed": false,
450
+ "internalType": "address",
451
+ "name": "target",
452
+ "type": "address"
453
+ },
454
+ {
455
+ "indexed": false,
456
+ "internalType": "bytes4[]",
457
+ "name": "selectors",
458
+ "type": "bytes4[]"
459
+ },
460
+ {
461
+ "indexed": false,
462
+ "internalType": "RoleId",
463
+ "name": "roleId",
486
464
  "type": "uint64"
487
465
  }
488
466
  ],
489
- "stateMutability": "view",
490
- "type": "function"
467
+ "name": "LogInstanceCustomTargetFunctionRoleSet",
468
+ "type": "event"
491
469
  },
492
470
  {
493
- "inputs": [],
494
- "name": "CUSTOM_ROLE_ID_MIN",
495
- "outputs": [
471
+ "anonymous": false,
472
+ "inputs": [
496
473
  {
497
- "internalType": "uint64",
498
- "name": "",
499
- "type": "uint64"
474
+ "indexed": false,
475
+ "internalType": "address",
476
+ "name": "target",
477
+ "type": "address"
478
+ },
479
+ {
480
+ "indexed": false,
481
+ "internalType": "bool",
482
+ "name": "locked",
483
+ "type": "bool"
500
484
  }
501
485
  ],
502
- "stateMutability": "view",
503
- "type": "function"
486
+ "name": "LogInstanceTargetLocked",
487
+ "type": "event"
504
488
  },
505
489
  {
506
- "inputs": [],
507
- "name": "EXECUTION_DELAY",
508
- "outputs": [
490
+ "anonymous": false,
491
+ "inputs": [
509
492
  {
510
- "internalType": "uint32",
511
- "name": "",
512
- "type": "uint32"
493
+ "indexed": false,
494
+ "internalType": "NftId",
495
+ "name": "nftId",
496
+ "type": "uint96"
497
+ },
498
+ {
499
+ "indexed": false,
500
+ "internalType": "address",
501
+ "name": "owner",
502
+ "type": "address"
513
503
  }
514
504
  ],
515
- "stateMutability": "view",
516
- "type": "function"
505
+ "name": "LogNftOwnableNftLinkedToAddress",
506
+ "type": "event"
517
507
  },
518
508
  {
519
509
  "inputs": [],
520
- "name": "PUBLIC_ROLE",
510
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
521
511
  "outputs": [
522
512
  {
523
- "internalType": "uint64",
513
+ "internalType": "bytes32",
524
514
  "name": "",
525
- "type": "uint64"
515
+ "type": "bytes32"
526
516
  }
527
517
  ],
528
518
  "stateMutability": "view",
@@ -557,94 +547,39 @@
557
547
  {
558
548
  "inputs": [
559
549
  {
560
- "internalType": "ObjectType",
561
- "name": "objectType",
562
- "type": "uint8"
563
- },
564
- {
565
- "internalType": "StateId",
566
- "name": "fromId",
567
- "type": "uint8"
550
+ "internalType": "address",
551
+ "name": "target",
552
+ "type": "address"
568
553
  },
569
554
  {
570
- "internalType": "StateId",
571
- "name": "toId",
572
- "type": "uint8"
573
- }
574
- ],
575
- "name": "checkTransition",
576
- "outputs": [],
577
- "stateMutability": "view",
578
- "type": "function"
579
- },
580
- {
581
- "inputs": [
582
- {
583
- "internalType": "NftId",
584
- "name": "bundleNftId",
585
- "type": "uint96"
555
+ "internalType": "RoleId",
556
+ "name": "roleId",
557
+ "type": "uint64"
586
558
  },
587
559
  {
588
560
  "components": [
589
561
  {
590
- "internalType": "NftId",
591
- "name": "poolNftId",
592
- "type": "uint96"
593
- },
594
- {
595
- "components": [
596
- {
597
- "internalType": "UFixed",
598
- "name": "fractionalFee",
599
- "type": "uint256"
600
- },
601
- {
602
- "internalType": "uint256",
603
- "name": "fixedFee",
604
- "type": "uint256"
605
- }
606
- ],
607
- "internalType": "struct Fee",
608
- "name": "fee",
609
- "type": "tuple"
610
- },
611
- {
612
- "internalType": "bytes",
613
- "name": "filter",
614
- "type": "bytes"
615
- },
616
- {
617
- "internalType": "uint256",
618
- "name": "capitalAmount",
619
- "type": "uint256"
620
- },
621
- {
622
- "internalType": "uint256",
623
- "name": "lockedAmount",
624
- "type": "uint256"
625
- },
626
- {
627
- "internalType": "uint256",
628
- "name": "balanceAmount",
629
- "type": "uint256"
562
+ "internalType": "Str",
563
+ "name": "name",
564
+ "type": "bytes32"
630
565
  },
631
566
  {
632
- "internalType": "Timestamp",
633
- "name": "expiredAt",
634
- "type": "uint40"
567
+ "internalType": "Selector",
568
+ "name": "selector",
569
+ "type": "bytes4"
635
570
  },
636
571
  {
637
572
  "internalType": "Timestamp",
638
- "name": "closedAt",
573
+ "name": "createdAt",
639
574
  "type": "uint40"
640
575
  }
641
576
  ],
642
- "internalType": "struct IBundle.BundleInfo",
643
- "name": "bundle",
644
- "type": "tuple"
577
+ "internalType": "struct IAccess.FunctionInfo[]",
578
+ "name": "functions",
579
+ "type": "tuple[]"
645
580
  }
646
581
  ],
647
- "name": "createBundle",
582
+ "name": "authorizeFunctions",
648
583
  "outputs": [],
649
584
  "stateMutability": "nonpayable",
650
585
  "type": "function"
@@ -652,54 +587,38 @@
652
587
  {
653
588
  "inputs": [
654
589
  {
655
- "internalType": "NftId",
656
- "name": "policyNftId",
657
- "type": "uint96"
590
+ "internalType": "string",
591
+ "name": "roleName",
592
+ "type": "string"
658
593
  },
659
594
  {
660
- "internalType": "NumberId",
661
- "name": "claimId",
662
- "type": "uint32"
595
+ "internalType": "RoleId",
596
+ "name": "adminRoleId",
597
+ "type": "uint64"
663
598
  },
664
599
  {
665
- "components": [
666
- {
667
- "internalType": "uint256",
668
- "name": "claimAmount",
669
- "type": "uint256"
670
- },
671
- {
672
- "internalType": "uint256",
673
- "name": "paidAmount",
674
- "type": "uint256"
675
- },
676
- {
677
- "internalType": "bytes",
678
- "name": "data",
679
- "type": "bytes"
680
- },
681
- {
682
- "internalType": "Timestamp",
683
- "name": "closedAt",
684
- "type": "uint40"
685
- }
686
- ],
687
- "internalType": "struct IPolicy.ClaimInfo",
688
- "name": "claim",
689
- "type": "tuple"
600
+ "internalType": "uint32",
601
+ "name": "maxMemberCount",
602
+ "type": "uint32"
603
+ }
604
+ ],
605
+ "name": "createRole",
606
+ "outputs": [
607
+ {
608
+ "internalType": "RoleId",
609
+ "name": "roleId",
610
+ "type": "uint64"
690
611
  }
691
612
  ],
692
- "name": "createClaim",
693
- "outputs": [],
694
613
  "stateMutability": "nonpayable",
695
614
  "type": "function"
696
615
  },
697
616
  {
698
617
  "inputs": [
699
618
  {
700
- "internalType": "RoleId",
701
- "name": "roleId",
702
- "type": "uint64"
619
+ "internalType": "address",
620
+ "name": "target",
621
+ "type": "address"
703
622
  },
704
623
  {
705
624
  "internalType": "string",
@@ -707,614 +626,201 @@
707
626
  "type": "string"
708
627
  }
709
628
  ],
710
- "name": "createCustomRole",
711
- "outputs": [],
629
+ "name": "createTarget",
630
+ "outputs": [
631
+ {
632
+ "internalType": "RoleId",
633
+ "name": "targetRoleId",
634
+ "type": "uint64"
635
+ }
636
+ ],
712
637
  "stateMutability": "nonpayable",
713
638
  "type": "function"
714
639
  },
715
640
  {
716
- "inputs": [
641
+ "inputs": [],
642
+ "name": "getBundleSet",
643
+ "outputs": [
717
644
  {
718
- "internalType": "NftId",
719
- "name": "distributionNftId",
720
- "type": "uint96"
721
- },
645
+ "internalType": "contract BundleSet",
646
+ "name": "",
647
+ "type": "address"
648
+ }
649
+ ],
650
+ "stateMutability": "view",
651
+ "type": "function"
652
+ },
653
+ {
654
+ "inputs": [],
655
+ "name": "getInitialInfo",
656
+ "outputs": [
722
657
  {
723
658
  "components": [
724
659
  {
725
660
  "internalType": "NftId",
726
- "name": "productNftId",
661
+ "name": "nftId",
727
662
  "type": "uint96"
728
663
  },
729
664
  {
730
- "internalType": "contract TokenHandler",
731
- "name": "tokenHandler",
732
- "type": "address"
665
+ "internalType": "NftId",
666
+ "name": "parentNftId",
667
+ "type": "uint96"
733
668
  },
734
669
  {
735
- "components": [
736
- {
737
- "internalType": "UFixed",
738
- "name": "fractionalFee",
739
- "type": "uint256"
740
- },
741
- {
742
- "internalType": "uint256",
743
- "name": "fixedFee",
744
- "type": "uint256"
745
- }
746
- ],
747
- "internalType": "struct Fee",
748
- "name": "distributionFee",
749
- "type": "tuple"
670
+ "internalType": "ObjectType",
671
+ "name": "objectType",
672
+ "type": "uint8"
750
673
  },
751
674
  {
752
675
  "internalType": "bool",
753
- "name": "isIntercepting",
676
+ "name": "isInterceptor",
754
677
  "type": "bool"
755
678
  },
756
679
  {
757
680
  "internalType": "address",
758
- "name": "wallet",
681
+ "name": "objectAddress",
759
682
  "type": "address"
760
- }
761
- ],
762
- "internalType": "struct ISetup.DistributionSetupInfo",
763
- "name": "setup",
764
- "type": "tuple"
765
- }
766
- ],
767
- "name": "createDistributionSetup",
768
- "outputs": [],
769
- "stateMutability": "nonpayable",
770
- "type": "function"
771
- },
772
- {
773
- "inputs": [
774
- {
775
- "internalType": "NftId",
776
- "name": "policyNftId",
777
- "type": "uint96"
778
- },
779
- {
780
- "internalType": "NumberId",
781
- "name": "payoutId",
782
- "type": "uint32"
783
- },
784
- {
785
- "components": [
786
- {
787
- "internalType": "NumberId",
788
- "name": "claimId",
789
- "type": "uint32"
790
683
  },
791
684
  {
792
- "internalType": "uint256",
793
- "name": "amount",
794
- "type": "uint256"
685
+ "internalType": "address",
686
+ "name": "initialOwner",
687
+ "type": "address"
795
688
  },
796
689
  {
797
690
  "internalType": "bytes",
798
691
  "name": "data",
799
692
  "type": "bytes"
800
- },
801
- {
802
- "internalType": "Timestamp",
803
- "name": "paidAt",
804
- "type": "uint40"
805
693
  }
806
694
  ],
807
- "internalType": "struct IPolicy.PayoutInfo",
808
- "name": "payout",
695
+ "internalType": "struct IRegistry.ObjectInfo",
696
+ "name": "info",
809
697
  "type": "tuple"
810
698
  }
811
699
  ],
812
- "name": "createDistributor",
813
- "outputs": [],
814
- "stateMutability": "nonpayable",
700
+ "stateMutability": "view",
815
701
  "type": "function"
816
702
  },
817
703
  {
818
- "inputs": [
704
+ "inputs": [],
705
+ "name": "getInstanceAdmin",
706
+ "outputs": [
819
707
  {
820
- "internalType": "NftId",
821
- "name": "policyNftId",
822
- "type": "uint96"
823
- },
708
+ "internalType": "contract InstanceAdmin",
709
+ "name": "",
710
+ "type": "address"
711
+ }
712
+ ],
713
+ "stateMutability": "view",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [],
718
+ "name": "getInstanceReader",
719
+ "outputs": [
824
720
  {
825
- "internalType": "NumberId",
826
- "name": "payoutId",
827
- "type": "uint32"
828
- },
721
+ "internalType": "contract InstanceReader",
722
+ "name": "",
723
+ "type": "address"
724
+ }
725
+ ],
726
+ "stateMutability": "view",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "inputs": [],
731
+ "name": "getInstanceStore",
732
+ "outputs": [
829
733
  {
830
- "components": [
831
- {
832
- "internalType": "NumberId",
833
- "name": "claimId",
834
- "type": "uint32"
835
- },
836
- {
837
- "internalType": "uint256",
838
- "name": "amount",
839
- "type": "uint256"
840
- },
841
- {
842
- "internalType": "bytes",
843
- "name": "data",
844
- "type": "bytes"
845
- },
846
- {
847
- "internalType": "Timestamp",
848
- "name": "paidAt",
849
- "type": "uint40"
850
- }
851
- ],
852
- "internalType": "struct IPolicy.PayoutInfo",
853
- "name": "payout",
854
- "type": "tuple"
734
+ "internalType": "contract InstanceStore",
735
+ "name": "",
736
+ "type": "address"
855
737
  }
856
738
  ],
857
- "name": "createDistributorType",
858
- "outputs": [],
859
- "stateMutability": "nonpayable",
739
+ "stateMutability": "view",
860
740
  "type": "function"
861
741
  },
862
742
  {
863
- "inputs": [
743
+ "inputs": [],
744
+ "name": "getNftId",
745
+ "outputs": [
864
746
  {
865
747
  "internalType": "NftId",
866
- "name": "policyNftId",
748
+ "name": "",
867
749
  "type": "uint96"
868
- },
869
- {
870
- "internalType": "NumberId",
871
- "name": "payoutId",
872
- "type": "uint32"
873
- },
874
- {
875
- "components": [
876
- {
877
- "internalType": "NumberId",
878
- "name": "claimId",
879
- "type": "uint32"
880
- },
881
- {
882
- "internalType": "uint256",
883
- "name": "amount",
884
- "type": "uint256"
885
- },
886
- {
887
- "internalType": "bytes",
888
- "name": "data",
889
- "type": "bytes"
890
- },
891
- {
892
- "internalType": "Timestamp",
893
- "name": "paidAt",
894
- "type": "uint40"
895
- }
896
- ],
897
- "internalType": "struct IPolicy.PayoutInfo",
898
- "name": "payout",
899
- "type": "tuple"
900
750
  }
901
751
  ],
902
- "name": "createPayout",
903
- "outputs": [],
904
- "stateMutability": "nonpayable",
752
+ "stateMutability": "view",
905
753
  "type": "function"
906
754
  },
907
755
  {
908
- "inputs": [
756
+ "inputs": [],
757
+ "name": "getOwner",
758
+ "outputs": [
909
759
  {
910
- "internalType": "NftId",
911
- "name": "policyNftId",
912
- "type": "uint96"
913
- },
914
- {
915
- "components": [
916
- {
917
- "internalType": "NftId",
918
- "name": "productNftId",
919
- "type": "uint96"
920
- },
921
- {
922
- "internalType": "NftId",
923
- "name": "bundleNftId",
924
- "type": "uint96"
925
- },
926
- {
927
- "internalType": "ReferralId",
928
- "name": "referralId",
929
- "type": "bytes8"
930
- },
931
- {
932
- "internalType": "RiskId",
933
- "name": "riskId",
934
- "type": "bytes8"
935
- },
936
- {
937
- "internalType": "uint256",
938
- "name": "sumInsuredAmount",
939
- "type": "uint256"
940
- },
941
- {
942
- "internalType": "uint256",
943
- "name": "premiumAmount",
944
- "type": "uint256"
945
- },
946
- {
947
- "internalType": "uint256",
948
- "name": "premiumPaidAmount",
949
- "type": "uint256"
950
- },
951
- {
952
- "internalType": "uint256",
953
- "name": "lifetime",
954
- "type": "uint256"
955
- },
956
- {
957
- "internalType": "bytes",
958
- "name": "applicationData",
959
- "type": "bytes"
960
- },
961
- {
962
- "internalType": "bytes",
963
- "name": "policyData",
964
- "type": "bytes"
965
- },
966
- {
967
- "internalType": "uint16",
968
- "name": "claimsCount",
969
- "type": "uint16"
970
- },
971
- {
972
- "internalType": "uint16",
973
- "name": "openClaimsCount",
974
- "type": "uint16"
975
- },
976
- {
977
- "internalType": "uint256",
978
- "name": "payoutAmount",
979
- "type": "uint256"
980
- },
981
- {
982
- "internalType": "Timestamp",
983
- "name": "activatedAt",
984
- "type": "uint40"
985
- },
986
- {
987
- "internalType": "Timestamp",
988
- "name": "expiredAt",
989
- "type": "uint40"
990
- },
991
- {
992
- "internalType": "Timestamp",
993
- "name": "closedAt",
994
- "type": "uint40"
995
- }
996
- ],
997
- "internalType": "struct IPolicy.PolicyInfo",
998
- "name": "policy",
999
- "type": "tuple"
760
+ "internalType": "address",
761
+ "name": "",
762
+ "type": "address"
1000
763
  }
1001
764
  ],
1002
- "name": "createPolicy",
1003
- "outputs": [],
1004
- "stateMutability": "nonpayable",
765
+ "stateMutability": "view",
1005
766
  "type": "function"
1006
767
  },
1007
768
  {
1008
769
  "inputs": [
770
+ {
771
+ "internalType": "uint256",
772
+ "name": "idx",
773
+ "type": "uint256"
774
+ }
775
+ ],
776
+ "name": "getProductNftId",
777
+ "outputs": [
1009
778
  {
1010
779
  "internalType": "NftId",
1011
- "name": "distributionNftId",
780
+ "name": "productNftId",
1012
781
  "type": "uint96"
1013
- },
1014
- {
1015
- "components": [
1016
- {
1017
- "internalType": "NftId",
1018
- "name": "productNftId",
1019
- "type": "uint96"
1020
- },
1021
- {
1022
- "internalType": "contract TokenHandler",
1023
- "name": "tokenHandler",
1024
- "type": "address"
1025
- },
1026
- {
1027
- "internalType": "UFixed",
1028
- "name": "collateralizationLevel",
1029
- "type": "uint256"
1030
- },
1031
- {
1032
- "components": [
1033
- {
1034
- "internalType": "UFixed",
1035
- "name": "fractionalFee",
1036
- "type": "uint256"
1037
- },
1038
- {
1039
- "internalType": "uint256",
1040
- "name": "fixedFee",
1041
- "type": "uint256"
1042
- }
1043
- ],
1044
- "internalType": "struct Fee",
1045
- "name": "poolFee",
1046
- "type": "tuple"
1047
- },
1048
- {
1049
- "components": [
1050
- {
1051
- "internalType": "UFixed",
1052
- "name": "fractionalFee",
1053
- "type": "uint256"
1054
- },
1055
- {
1056
- "internalType": "uint256",
1057
- "name": "fixedFee",
1058
- "type": "uint256"
1059
- }
1060
- ],
1061
- "internalType": "struct Fee",
1062
- "name": "stakingFee",
1063
- "type": "tuple"
1064
- },
1065
- {
1066
- "components": [
1067
- {
1068
- "internalType": "UFixed",
1069
- "name": "fractionalFee",
1070
- "type": "uint256"
1071
- },
1072
- {
1073
- "internalType": "uint256",
1074
- "name": "fixedFee",
1075
- "type": "uint256"
1076
- }
1077
- ],
1078
- "internalType": "struct Fee",
1079
- "name": "performanceFee",
1080
- "type": "tuple"
1081
- },
1082
- {
1083
- "internalType": "bool",
1084
- "name": "isIntercepting",
1085
- "type": "bool"
1086
- },
1087
- {
1088
- "internalType": "address",
1089
- "name": "wallet",
1090
- "type": "address"
1091
- }
1092
- ],
1093
- "internalType": "struct ISetup.PoolSetupInfo",
1094
- "name": "setup",
1095
- "type": "tuple"
1096
782
  }
1097
783
  ],
1098
- "name": "createPoolSetup",
1099
- "outputs": [],
1100
- "stateMutability": "nonpayable",
784
+ "stateMutability": "view",
1101
785
  "type": "function"
1102
786
  },
1103
787
  {
1104
- "inputs": [
1105
- {
1106
- "internalType": "NftId",
1107
- "name": "productNftId",
1108
- "type": "uint96"
1109
- },
788
+ "inputs": [],
789
+ "name": "getRegistry",
790
+ "outputs": [
1110
791
  {
1111
- "components": [
1112
- {
1113
- "internalType": "contract IERC20Metadata",
1114
- "name": "token",
1115
- "type": "address"
1116
- },
1117
- {
1118
- "internalType": "contract TokenHandler",
1119
- "name": "tokenHandler",
1120
- "type": "address"
1121
- },
1122
- {
1123
- "internalType": "NftId",
1124
- "name": "distributionNftId",
1125
- "type": "uint96"
1126
- },
1127
- {
1128
- "internalType": "NftId",
1129
- "name": "poolNftId",
1130
- "type": "uint96"
1131
- },
1132
- {
1133
- "components": [
1134
- {
1135
- "internalType": "UFixed",
1136
- "name": "fractionalFee",
1137
- "type": "uint256"
1138
- },
1139
- {
1140
- "internalType": "uint256",
1141
- "name": "fixedFee",
1142
- "type": "uint256"
1143
- }
1144
- ],
1145
- "internalType": "struct Fee",
1146
- "name": "distributionFee",
1147
- "type": "tuple"
1148
- },
1149
- {
1150
- "components": [
1151
- {
1152
- "internalType": "UFixed",
1153
- "name": "fractionalFee",
1154
- "type": "uint256"
1155
- },
1156
- {
1157
- "internalType": "uint256",
1158
- "name": "fixedFee",
1159
- "type": "uint256"
1160
- }
1161
- ],
1162
- "internalType": "struct Fee",
1163
- "name": "productFee",
1164
- "type": "tuple"
1165
- },
1166
- {
1167
- "components": [
1168
- {
1169
- "internalType": "UFixed",
1170
- "name": "fractionalFee",
1171
- "type": "uint256"
1172
- },
1173
- {
1174
- "internalType": "uint256",
1175
- "name": "fixedFee",
1176
- "type": "uint256"
1177
- }
1178
- ],
1179
- "internalType": "struct Fee",
1180
- "name": "processingFee",
1181
- "type": "tuple"
1182
- },
1183
- {
1184
- "components": [
1185
- {
1186
- "internalType": "UFixed",
1187
- "name": "fractionalFee",
1188
- "type": "uint256"
1189
- },
1190
- {
1191
- "internalType": "uint256",
1192
- "name": "fixedFee",
1193
- "type": "uint256"
1194
- }
1195
- ],
1196
- "internalType": "struct Fee",
1197
- "name": "poolFee",
1198
- "type": "tuple"
1199
- },
1200
- {
1201
- "components": [
1202
- {
1203
- "internalType": "UFixed",
1204
- "name": "fractionalFee",
1205
- "type": "uint256"
1206
- },
1207
- {
1208
- "internalType": "uint256",
1209
- "name": "fixedFee",
1210
- "type": "uint256"
1211
- }
1212
- ],
1213
- "internalType": "struct Fee",
1214
- "name": "stakingFee",
1215
- "type": "tuple"
1216
- },
1217
- {
1218
- "components": [
1219
- {
1220
- "internalType": "UFixed",
1221
- "name": "fractionalFee",
1222
- "type": "uint256"
1223
- },
1224
- {
1225
- "internalType": "uint256",
1226
- "name": "fixedFee",
1227
- "type": "uint256"
1228
- }
1229
- ],
1230
- "internalType": "struct Fee",
1231
- "name": "performanceFee",
1232
- "type": "tuple"
1233
- }
1234
- ],
1235
- "internalType": "struct ISetup.ProductSetupInfo",
1236
- "name": "setup",
1237
- "type": "tuple"
792
+ "internalType": "contract IRegistry",
793
+ "name": "",
794
+ "type": "address"
1238
795
  }
1239
796
  ],
1240
- "name": "createProductSetup",
1241
- "outputs": [],
1242
- "stateMutability": "nonpayable",
797
+ "stateMutability": "view",
1243
798
  "type": "function"
1244
799
  },
1245
800
  {
1246
- "inputs": [
1247
- {
1248
- "internalType": "NftId",
1249
- "name": "policyNftId",
1250
- "type": "uint96"
1251
- },
1252
- {
1253
- "internalType": "NumberId",
1254
- "name": "payoutId",
1255
- "type": "uint32"
1256
- },
801
+ "inputs": [],
802
+ "name": "getRelease",
803
+ "outputs": [
1257
804
  {
1258
- "components": [
1259
- {
1260
- "internalType": "NumberId",
1261
- "name": "claimId",
1262
- "type": "uint32"
1263
- },
1264
- {
1265
- "internalType": "uint256",
1266
- "name": "amount",
1267
- "type": "uint256"
1268
- },
1269
- {
1270
- "internalType": "bytes",
1271
- "name": "data",
1272
- "type": "bytes"
1273
- },
1274
- {
1275
- "internalType": "Timestamp",
1276
- "name": "paidAt",
1277
- "type": "uint40"
1278
- }
1279
- ],
1280
- "internalType": "struct IPolicy.PayoutInfo",
1281
- "name": "payout",
1282
- "type": "tuple"
805
+ "internalType": "VersionPart",
806
+ "name": "release",
807
+ "type": "uint8"
1283
808
  }
1284
809
  ],
1285
- "name": "createReferral",
1286
- "outputs": [],
1287
- "stateMutability": "nonpayable",
810
+ "stateMutability": "view",
1288
811
  "type": "function"
1289
812
  },
1290
813
  {
1291
- "inputs": [
1292
- {
1293
- "internalType": "RiskId",
1294
- "name": "riskId",
1295
- "type": "bytes8"
1296
- },
814
+ "inputs": [],
815
+ "name": "getRiskSet",
816
+ "outputs": [
1297
817
  {
1298
- "components": [
1299
- {
1300
- "internalType": "NftId",
1301
- "name": "productNftId",
1302
- "type": "uint96"
1303
- },
1304
- {
1305
- "internalType": "bytes",
1306
- "name": "data",
1307
- "type": "bytes"
1308
- }
1309
- ],
1310
- "internalType": "struct IRisk.RiskInfo",
1311
- "name": "risk",
1312
- "type": "tuple"
818
+ "internalType": "contract RiskSet",
819
+ "name": "",
820
+ "type": "address"
1313
821
  }
1314
822
  ],
1315
- "name": "createRisk",
1316
- "outputs": [],
1317
- "stateMutability": "nonpayable",
823
+ "stateMutability": "view",
1318
824
  "type": "function"
1319
825
  },
1320
826
  {
@@ -1325,59 +831,76 @@
1325
831
  "type": "uint64"
1326
832
  },
1327
833
  {
1328
- "internalType": "string",
1329
- "name": "name",
1330
- "type": "string"
834
+ "internalType": "address",
835
+ "name": "account",
836
+ "type": "address"
1331
837
  }
1332
838
  ],
1333
- "name": "createStandardRole",
839
+ "name": "grantRole",
1334
840
  "outputs": [],
1335
841
  "stateMutability": "nonpayable",
1336
842
  "type": "function"
1337
843
  },
1338
844
  {
1339
845
  "inputs": [
846
+ {
847
+ "internalType": "contract InstanceAdmin",
848
+ "name": "instanceAdmin",
849
+ "type": "address"
850
+ },
851
+ {
852
+ "internalType": "contract InstanceStore",
853
+ "name": "instanceStore",
854
+ "type": "address"
855
+ },
856
+ {
857
+ "internalType": "contract BundleSet",
858
+ "name": "bundleSet",
859
+ "type": "address"
860
+ },
861
+ {
862
+ "internalType": "contract RiskSet",
863
+ "name": "riskSet",
864
+ "type": "address"
865
+ },
866
+ {
867
+ "internalType": "contract InstanceReader",
868
+ "name": "instanceReader",
869
+ "type": "address"
870
+ },
871
+ {
872
+ "internalType": "contract IRegistry",
873
+ "name": "registry",
874
+ "type": "address"
875
+ },
876
+ {
877
+ "internalType": "VersionPart",
878
+ "name": "release",
879
+ "type": "uint8"
880
+ },
1340
881
  {
1341
882
  "internalType": "address",
1342
- "name": "target",
883
+ "name": "initialOwner",
1343
884
  "type": "address"
1344
885
  },
1345
886
  {
1346
- "components": [
1347
- {
1348
- "internalType": "ShortString",
1349
- "name": "name",
1350
- "type": "bytes32"
1351
- },
1352
- {
1353
- "internalType": "bool",
1354
- "name": "isCustom",
1355
- "type": "bool"
1356
- }
1357
- ],
1358
- "internalType": "struct IAccess.TargetInfo",
1359
- "name": "targetInfo",
1360
- "type": "tuple"
887
+ "internalType": "bool",
888
+ "name": "tokenRegistryDisabled",
889
+ "type": "bool"
1361
890
  }
1362
891
  ],
1363
- "name": "createTarget",
892
+ "name": "initialize",
1364
893
  "outputs": [],
1365
894
  "stateMutability": "nonpayable",
1366
895
  "type": "function"
1367
896
  },
1368
897
  {
1369
- "inputs": [
1370
- {
1371
- "internalType": "Key32",
1372
- "name": "key32",
1373
- "type": "bytes32"
1374
- }
1375
- ],
1376
- "name": "exists",
898
+ "inputs": [],
899
+ "name": "isActive",
1377
900
  "outputs": [
1378
901
  {
1379
902
  "internalType": "bool",
1380
- "name": "",
903
+ "name": "active",
1381
904
  "type": "bool"
1382
905
  }
1383
906
  ],
@@ -1385,58 +908,13 @@
1385
908
  "type": "function"
1386
909
  },
1387
910
  {
1388
- "inputs": [
1389
- {
1390
- "internalType": "Key32",
1391
- "name": "key32",
1392
- "type": "bytes32"
1393
- }
1394
- ],
1395
- "name": "get",
911
+ "inputs": [],
912
+ "name": "isConsumingScheduledOp",
1396
913
  "outputs": [
1397
914
  {
1398
- "components": [
1399
- {
1400
- "components": [
1401
- {
1402
- "internalType": "ObjectType",
1403
- "name": "objectType",
1404
- "type": "uint8"
1405
- },
1406
- {
1407
- "internalType": "StateId",
1408
- "name": "state",
1409
- "type": "uint8"
1410
- },
1411
- {
1412
- "internalType": "address",
1413
- "name": "updatedBy",
1414
- "type": "address"
1415
- },
1416
- {
1417
- "internalType": "Blocknumber",
1418
- "name": "updatedIn",
1419
- "type": "uint32"
1420
- },
1421
- {
1422
- "internalType": "Blocknumber",
1423
- "name": "createdIn",
1424
- "type": "uint32"
1425
- }
1426
- ],
1427
- "internalType": "struct IKeyValueStore.Metadata",
1428
- "name": "metadata",
1429
- "type": "tuple"
1430
- },
1431
- {
1432
- "internalType": "bytes",
1433
- "name": "data",
1434
- "type": "bytes"
1435
- }
1436
- ],
1437
- "internalType": "struct IKeyValueStore.Value",
1438
- "name": "value",
1439
- "type": "tuple"
915
+ "internalType": "bytes4",
916
+ "name": "",
917
+ "type": "bytes4"
1440
918
  }
1441
919
  ],
1442
920
  "stateMutability": "view",
@@ -1444,12 +922,12 @@
1444
922
  },
1445
923
  {
1446
924
  "inputs": [],
1447
- "name": "getComponentOwnerService",
925
+ "name": "isInstanceLocked",
1448
926
  "outputs": [
1449
927
  {
1450
- "internalType": "contract IComponentOwnerService",
928
+ "internalType": "bool",
1451
929
  "name": "",
1452
- "type": "address"
930
+ "type": "bool"
1453
931
  }
1454
932
  ],
1455
933
  "stateMutability": "view",
@@ -1458,30 +936,17 @@
1458
936
  {
1459
937
  "inputs": [
1460
938
  {
1461
- "internalType": "Key32",
1462
- "name": "key32",
1463
- "type": "bytes32"
1464
- }
1465
- ],
1466
- "name": "getData",
1467
- "outputs": [
1468
- {
1469
- "internalType": "bytes",
1470
- "name": "data",
1471
- "type": "bytes"
939
+ "internalType": "address",
940
+ "name": "target",
941
+ "type": "address"
1472
942
  }
1473
943
  ],
1474
- "stateMutability": "view",
1475
- "type": "function"
1476
- },
1477
- {
1478
- "inputs": [],
1479
- "name": "getDistributionService",
944
+ "name": "isTargetLocked",
1480
945
  "outputs": [
1481
946
  {
1482
- "internalType": "contract IDistributionService",
947
+ "internalType": "bool",
1483
948
  "name": "",
1484
- "type": "address"
949
+ "type": "bool"
1485
950
  }
1486
951
  ],
1487
952
  "stateMutability": "view",
@@ -1489,86 +954,38 @@
1489
954
  },
1490
955
  {
1491
956
  "inputs": [],
1492
- "name": "getInitialInfo",
957
+ "name": "isTokenRegistryDisabled",
1493
958
  "outputs": [
1494
959
  {
1495
- "components": [
1496
- {
1497
- "internalType": "NftId",
1498
- "name": "nftId",
1499
- "type": "uint96"
1500
- },
1501
- {
1502
- "internalType": "NftId",
1503
- "name": "parentNftId",
1504
- "type": "uint96"
1505
- },
1506
- {
1507
- "internalType": "ObjectType",
1508
- "name": "objectType",
1509
- "type": "uint8"
1510
- },
1511
- {
1512
- "internalType": "bool",
1513
- "name": "isInterceptor",
1514
- "type": "bool"
1515
- },
1516
- {
1517
- "internalType": "address",
1518
- "name": "objectAddress",
1519
- "type": "address"
1520
- },
1521
- {
1522
- "internalType": "address",
1523
- "name": "initialOwner",
1524
- "type": "address"
1525
- },
1526
- {
1527
- "internalType": "bytes",
1528
- "name": "data",
1529
- "type": "bytes"
1530
- }
1531
- ],
1532
- "internalType": "struct IRegistry.ObjectInfo",
960
+ "internalType": "bool",
1533
961
  "name": "",
1534
- "type": "tuple"
1535
- },
1536
- {
1537
- "internalType": "bytes",
1538
- "name": "data",
1539
- "type": "bytes"
962
+ "type": "bool"
1540
963
  }
1541
964
  ],
1542
965
  "stateMutability": "view",
1543
966
  "type": "function"
1544
967
  },
1545
968
  {
1546
- "inputs": [
1547
- {
1548
- "internalType": "ObjectType",
1549
- "name": "objectType",
1550
- "type": "uint8"
1551
- }
1552
- ],
1553
- "name": "getInitialState",
969
+ "inputs": [],
970
+ "name": "linkToRegisteredNftId",
1554
971
  "outputs": [
1555
972
  {
1556
- "internalType": "StateId",
1557
- "name": "",
1558
- "type": "uint8"
973
+ "internalType": "NftId",
974
+ "name": "nftId",
975
+ "type": "uint96"
1559
976
  }
1560
977
  ],
1561
- "stateMutability": "view",
978
+ "stateMutability": "nonpayable",
1562
979
  "type": "function"
1563
980
  },
1564
981
  {
1565
982
  "inputs": [],
1566
- "name": "getInstanceReader",
983
+ "name": "products",
1567
984
  "outputs": [
1568
985
  {
1569
- "internalType": "contract InstanceReader",
1570
- "name": "",
1571
- "type": "address"
986
+ "internalType": "uint256",
987
+ "name": "productCount",
988
+ "type": "uint256"
1572
989
  }
1573
990
  ],
1574
991
  "stateMutability": "view",
@@ -1577,136 +994,101 @@
1577
994
  {
1578
995
  "inputs": [
1579
996
  {
1580
- "internalType": "Key32",
1581
- "name": "key32",
1582
- "type": "bytes32"
997
+ "internalType": "Amount",
998
+ "name": "dipAmount",
999
+ "type": "uint96"
1583
1000
  }
1584
1001
  ],
1585
- "name": "getMetadata",
1002
+ "name": "refillStakingRewardReserves",
1586
1003
  "outputs": [
1587
1004
  {
1588
- "components": [
1589
- {
1590
- "internalType": "ObjectType",
1591
- "name": "objectType",
1592
- "type": "uint8"
1593
- },
1594
- {
1595
- "internalType": "StateId",
1596
- "name": "state",
1597
- "type": "uint8"
1598
- },
1599
- {
1600
- "internalType": "address",
1601
- "name": "updatedBy",
1602
- "type": "address"
1603
- },
1604
- {
1605
- "internalType": "Blocknumber",
1606
- "name": "updatedIn",
1607
- "type": "uint32"
1608
- },
1609
- {
1610
- "internalType": "Blocknumber",
1611
- "name": "createdIn",
1612
- "type": "uint32"
1613
- }
1614
- ],
1615
- "internalType": "struct IKeyValueStore.Metadata",
1616
- "name": "metadata",
1617
- "type": "tuple"
1005
+ "internalType": "Amount",
1006
+ "name": "newRewardReserveBalance",
1007
+ "type": "uint96"
1618
1008
  }
1619
1009
  ],
1620
- "stateMutability": "view",
1010
+ "stateMutability": "nonpayable",
1621
1011
  "type": "function"
1622
1012
  },
1623
1013
  {
1624
- "inputs": [],
1625
- "name": "getNftId",
1014
+ "inputs": [
1015
+ {
1016
+ "internalType": "address",
1017
+ "name": "product",
1018
+ "type": "address"
1019
+ },
1020
+ {
1021
+ "internalType": "address",
1022
+ "name": "token",
1023
+ "type": "address"
1024
+ }
1025
+ ],
1026
+ "name": "registerProduct",
1626
1027
  "outputs": [
1627
1028
  {
1628
1029
  "internalType": "NftId",
1629
- "name": "",
1030
+ "name": "productNftId",
1630
1031
  "type": "uint96"
1631
1032
  }
1632
1033
  ],
1633
- "stateMutability": "view",
1034
+ "stateMutability": "nonpayable",
1634
1035
  "type": "function"
1635
1036
  },
1636
1037
  {
1637
- "inputs": [],
1638
- "name": "getOwner",
1639
- "outputs": [
1038
+ "inputs": [
1039
+ {
1040
+ "internalType": "RoleId",
1041
+ "name": "roleId",
1042
+ "type": "uint64"
1043
+ },
1640
1044
  {
1641
1045
  "internalType": "address",
1642
- "name": "",
1046
+ "name": "account",
1643
1047
  "type": "address"
1644
1048
  }
1645
1049
  ],
1646
- "stateMutability": "view",
1050
+ "name": "revokeRole",
1051
+ "outputs": [],
1052
+ "stateMutability": "nonpayable",
1647
1053
  "type": "function"
1648
1054
  },
1649
1055
  {
1650
- "inputs": [],
1651
- "name": "getRegistry",
1652
- "outputs": [
1056
+ "inputs": [
1653
1057
  {
1654
- "internalType": "contract IRegistry",
1655
- "name": "",
1058
+ "internalType": "address",
1059
+ "name": "newAuthority",
1656
1060
  "type": "address"
1657
1061
  }
1658
1062
  ],
1659
- "stateMutability": "view",
1063
+ "name": "setAuthority",
1064
+ "outputs": [],
1065
+ "stateMutability": "nonpayable",
1660
1066
  "type": "function"
1661
1067
  },
1662
1068
  {
1663
1069
  "inputs": [
1664
1070
  {
1665
- "internalType": "RoleId",
1666
- "name": "roleId",
1667
- "type": "uint64"
1668
- }
1669
- ],
1670
- "name": "getRole",
1671
- "outputs": [
1672
- {
1673
- "components": [
1674
- {
1675
- "internalType": "ShortString",
1676
- "name": "name",
1677
- "type": "bytes32"
1678
- },
1679
- {
1680
- "internalType": "bool",
1681
- "name": "isCustom",
1682
- "type": "bool"
1683
- }
1684
- ],
1685
- "internalType": "struct IAccess.RoleInfo",
1686
- "name": "role",
1687
- "type": "tuple"
1071
+ "internalType": "bool",
1072
+ "name": "locked",
1073
+ "type": "bool"
1688
1074
  }
1689
1075
  ],
1690
- "stateMutability": "view",
1076
+ "name": "setInstanceLocked",
1077
+ "outputs": [],
1078
+ "stateMutability": "nonpayable",
1691
1079
  "type": "function"
1692
1080
  },
1693
1081
  {
1694
1082
  "inputs": [
1695
1083
  {
1696
- "internalType": "uint256",
1697
- "name": "idx",
1698
- "type": "uint256"
1699
- }
1700
- ],
1701
- "name": "getRoleId",
1702
- "outputs": [
1703
- {
1704
- "internalType": "RoleId",
1705
- "name": "roleId",
1706
- "type": "uint64"
1084
+ "internalType": "contract InstanceReader",
1085
+ "name": "instanceReader",
1086
+ "type": "address"
1707
1087
  }
1708
1088
  ],
1709
- "stateMutability": "view",
1089
+ "name": "setInstanceReader",
1090
+ "outputs": [],
1091
+ "stateMutability": "nonpayable",
1710
1092
  "type": "function"
1711
1093
  },
1712
1094
  {
@@ -1717,74 +1099,82 @@
1717
1099
  "type": "uint64"
1718
1100
  },
1719
1101
  {
1720
- "internalType": "uint256",
1721
- "name": "idx",
1722
- "type": "uint256"
1102
+ "internalType": "bool",
1103
+ "name": "active",
1104
+ "type": "bool"
1723
1105
  }
1724
1106
  ],
1725
- "name": "getRoleMember",
1726
- "outputs": [
1107
+ "name": "setRoleActive",
1108
+ "outputs": [],
1109
+ "stateMutability": "nonpayable",
1110
+ "type": "function"
1111
+ },
1112
+ {
1113
+ "inputs": [
1727
1114
  {
1728
- "internalType": "address",
1729
- "name": "roleMember",
1730
- "type": "address"
1115
+ "internalType": "Seconds",
1116
+ "name": "stakeLockingPeriod",
1117
+ "type": "uint40"
1731
1118
  }
1732
1119
  ],
1733
- "stateMutability": "view",
1120
+ "name": "setStakingLockingPeriod",
1121
+ "outputs": [],
1122
+ "stateMutability": "nonpayable",
1734
1123
  "type": "function"
1735
1124
  },
1736
1125
  {
1737
1126
  "inputs": [
1738
1127
  {
1739
- "internalType": "Key32",
1740
- "name": "key32",
1741
- "type": "bytes32"
1128
+ "internalType": "Amount",
1129
+ "name": "maxStakedAmount",
1130
+ "type": "uint96"
1742
1131
  }
1743
1132
  ],
1744
- "name": "getState",
1745
- "outputs": [
1133
+ "name": "setStakingMaxAmount",
1134
+ "outputs": [],
1135
+ "stateMutability": "nonpayable",
1136
+ "type": "function"
1137
+ },
1138
+ {
1139
+ "inputs": [
1746
1140
  {
1747
- "internalType": "StateId",
1748
- "name": "state",
1749
- "type": "uint8"
1141
+ "internalType": "UFixed",
1142
+ "name": "rewardRate",
1143
+ "type": "uint160"
1750
1144
  }
1751
1145
  ],
1752
- "stateMutability": "view",
1146
+ "name": "setStakingRewardRate",
1147
+ "outputs": [],
1148
+ "stateMutability": "nonpayable",
1753
1149
  "type": "function"
1754
1150
  },
1755
1151
  {
1756
1152
  "inputs": [
1757
- {
1758
- "internalType": "RoleId",
1759
- "name": "roleId",
1760
- "type": "uint64"
1761
- },
1762
1153
  {
1763
1154
  "internalType": "address",
1764
- "name": "member",
1155
+ "name": "target",
1765
1156
  "type": "address"
1766
- }
1767
- ],
1768
- "name": "grantRole",
1769
- "outputs": [
1157
+ },
1770
1158
  {
1771
1159
  "internalType": "bool",
1772
- "name": "granted",
1160
+ "name": "locked",
1773
1161
  "type": "bool"
1774
1162
  }
1775
1163
  ],
1164
+ "name": "setTargetLocked",
1165
+ "outputs": [],
1776
1166
  "stateMutability": "nonpayable",
1777
1167
  "type": "function"
1778
1168
  },
1779
1169
  {
1780
1170
  "inputs": [
1781
1171
  {
1782
- "internalType": "ObjectType",
1783
- "name": "objectType",
1784
- "type": "uint8"
1172
+ "internalType": "bytes4",
1173
+ "name": "interfaceId",
1174
+ "type": "bytes4"
1785
1175
  }
1786
1176
  ],
1787
- "name": "hasLifecycle",
1177
+ "name": "supportsInterface",
1788
1178
  "outputs": [
1789
1179
  {
1790
1180
  "internalType": "bool",
@@ -1799,1324 +1189,40 @@
1799
1189
  "inputs": [
1800
1190
  {
1801
1191
  "internalType": "address",
1802
- "name": "accessManagerAddress",
1192
+ "name": "target",
1803
1193
  "type": "address"
1804
1194
  },
1805
- {
1806
- "internalType": "address",
1807
- "name": "registryAddress",
1808
- "type": "address"
1809
- },
1810
- {
1811
- "internalType": "NftId",
1812
- "name": "registryNftId",
1813
- "type": "uint96"
1814
- },
1815
- {
1816
- "internalType": "address",
1817
- "name": "initialOwner",
1818
- "type": "address"
1819
- }
1820
- ],
1821
- "name": "initialize",
1822
- "outputs": [],
1823
- "stateMutability": "nonpayable",
1824
- "type": "function"
1825
- },
1826
- {
1827
- "inputs": [
1828
- {
1829
- "internalType": "address",
1830
- "name": "initialAuthority",
1831
- "type": "address"
1832
- }
1833
- ],
1834
- "name": "initialize",
1835
- "outputs": [],
1836
- "stateMutability": "nonpayable",
1837
- "type": "function"
1838
- },
1839
- {
1840
- "inputs": [],
1841
- "name": "isConsumingScheduledOp",
1842
- "outputs": [
1843
- {
1844
- "internalType": "bytes4",
1845
- "name": "",
1846
- "type": "bytes4"
1847
- }
1848
- ],
1849
- "stateMutability": "view",
1850
- "type": "function"
1851
- },
1852
- {
1853
- "inputs": [
1854
- {
1855
- "internalType": "ObjectType",
1856
- "name": "objectType",
1857
- "type": "uint8"
1858
- },
1859
- {
1860
- "internalType": "StateId",
1861
- "name": "fromId",
1862
- "type": "uint8"
1863
- },
1864
- {
1865
- "internalType": "StateId",
1866
- "name": "toId",
1867
- "type": "uint8"
1868
- }
1869
- ],
1870
- "name": "isValidTransition",
1871
- "outputs": [
1872
- {
1873
- "internalType": "bool",
1874
- "name": "",
1875
- "type": "bool"
1876
- }
1877
- ],
1878
- "stateMutability": "view",
1879
- "type": "function"
1880
- },
1881
- {
1882
- "inputs": [],
1883
- "name": "linkToRegisteredNftId",
1884
- "outputs": [],
1885
- "stateMutability": "nonpayable",
1886
- "type": "function"
1887
- },
1888
- {
1889
- "inputs": [
1890
- {
1891
- "internalType": "RoleId",
1892
- "name": "roleId",
1893
- "type": "uint64"
1894
- }
1895
- ],
1896
- "name": "renounceRole",
1897
- "outputs": [
1898
- {
1899
- "internalType": "bool",
1900
- "name": "revoked",
1901
- "type": "bool"
1902
- }
1903
- ],
1904
- "stateMutability": "nonpayable",
1905
- "type": "function"
1906
- },
1907
- {
1908
- "inputs": [
1909
- {
1910
- "internalType": "RoleId",
1911
- "name": "roleId",
1912
- "type": "uint64"
1913
- },
1914
- {
1915
- "internalType": "address",
1916
- "name": "member",
1917
- "type": "address"
1918
- }
1919
- ],
1920
- "name": "revokeRole",
1921
- "outputs": [
1922
- {
1923
- "internalType": "bool",
1924
- "name": "revoked",
1925
- "type": "bool"
1926
- }
1927
- ],
1928
- "stateMutability": "nonpayable",
1929
- "type": "function"
1930
- },
1931
- {
1932
- "inputs": [
1933
- {
1934
- "internalType": "RoleId",
1935
- "name": "roleId",
1936
- "type": "uint64"
1937
- }
1938
- ],
1939
- "name": "roleMembers",
1940
- "outputs": [
1941
- {
1942
- "internalType": "uint256",
1943
- "name": "numberOfMembers",
1944
- "type": "uint256"
1945
- }
1946
- ],
1947
- "stateMutability": "view",
1948
- "type": "function"
1949
- },
1950
- {
1951
- "inputs": [],
1952
- "name": "roles",
1953
- "outputs": [
1954
- {
1955
- "internalType": "uint256",
1956
- "name": "numberOfRoles",
1957
- "type": "uint256"
1958
- }
1959
- ],
1960
- "stateMutability": "view",
1961
- "type": "function"
1962
- },
1963
- {
1964
- "inputs": [
1965
- {
1966
- "internalType": "address",
1967
- "name": "newAuthority",
1968
- "type": "address"
1969
- }
1970
- ],
1971
- "name": "setAuthority",
1972
- "outputs": [],
1973
- "stateMutability": "nonpayable",
1974
- "type": "function"
1975
- },
1976
- {
1977
- "inputs": [
1978
- {
1979
- "internalType": "contract InstanceReader",
1980
- "name": "instanceReader",
1981
- "type": "address"
1982
- }
1983
- ],
1984
- "name": "setInstanceReader",
1985
- "outputs": [],
1986
- "stateMutability": "nonpayable",
1987
- "type": "function"
1988
- },
1989
- {
1990
- "inputs": [
1991
- {
1992
- "internalType": "address",
1993
- "name": "target",
1994
- "type": "address"
1995
- },
1996
- {
1997
- "internalType": "bool",
1998
- "name": "closed",
1999
- "type": "bool"
2000
- }
2001
- ],
2002
- "name": "setTargetClosed",
2003
- "outputs": [],
2004
- "stateMutability": "nonpayable",
2005
- "type": "function"
2006
- },
2007
- {
2008
- "inputs": [
2009
- {
2010
- "internalType": "bytes4",
2011
- "name": "interfaceId",
2012
- "type": "bytes4"
2013
- }
2014
- ],
2015
- "name": "supportsInterface",
2016
- "outputs": [
2017
- {
2018
- "internalType": "bool",
2019
- "name": "",
2020
- "type": "bool"
2021
- }
2022
- ],
2023
- "stateMutability": "view",
2024
- "type": "function"
2025
- },
2026
- {
2027
- "inputs": [
2028
- {
2029
- "internalType": "NftId",
2030
- "name": "bundleNftId",
2031
- "type": "uint96"
2032
- }
2033
- ],
2034
- "name": "toBundleKey32",
2035
- "outputs": [
2036
- {
2037
- "internalType": "Key32",
2038
- "name": "",
2039
- "type": "bytes32"
2040
- }
2041
- ],
2042
- "stateMutability": "pure",
2043
- "type": "function"
2044
- },
2045
- {
2046
- "inputs": [
2047
- {
2048
- "internalType": "ObjectType",
2049
- "name": "objectType",
2050
- "type": "uint8"
2051
- },
2052
- {
2053
- "internalType": "KeyId",
2054
- "name": "id",
2055
- "type": "bytes31"
2056
- }
2057
- ],
2058
- "name": "toKey32",
2059
- "outputs": [
2060
- {
2061
- "internalType": "Key32",
2062
- "name": "",
2063
- "type": "bytes32"
2064
- }
2065
- ],
2066
- "stateMutability": "pure",
2067
- "type": "function"
2068
- },
2069
- {
2070
- "inputs": [
2071
- {
2072
- "internalType": "NftId",
2073
- "name": "policyNftId",
2074
- "type": "uint96"
2075
- }
2076
- ],
2077
- "name": "toPolicyKey32",
2078
- "outputs": [
2079
- {
2080
- "internalType": "Key32",
2081
- "name": "",
2082
- "type": "bytes32"
2083
- }
2084
- ],
2085
- "stateMutability": "pure",
2086
- "type": "function"
2087
- },
2088
- {
2089
- "inputs": [
2090
- {
2091
- "internalType": "RoleId",
2092
- "name": "roleId",
2093
- "type": "uint64"
2094
- }
2095
- ],
2096
- "name": "toRoleKey32",
2097
- "outputs": [
2098
- {
2099
- "internalType": "Key32",
2100
- "name": "",
2101
- "type": "bytes32"
2102
- }
2103
- ],
2104
- "stateMutability": "pure",
2105
- "type": "function"
2106
- },
2107
- {
2108
- "inputs": [
2109
- {
2110
- "internalType": "address",
2111
- "name": "target",
2112
- "type": "address"
2113
- }
2114
- ],
2115
- "name": "toTargetKey32",
2116
- "outputs": [
2117
- {
2118
- "internalType": "Key32",
2119
- "name": "",
2120
- "type": "bytes32"
2121
- }
2122
- ],
2123
- "stateMutability": "pure",
2124
- "type": "function"
2125
- },
2126
- {
2127
- "inputs": [
2128
- {
2129
- "internalType": "NftId",
2130
- "name": "bundleNftId",
2131
- "type": "uint96"
2132
- },
2133
- {
2134
- "components": [
2135
- {
2136
- "internalType": "NftId",
2137
- "name": "poolNftId",
2138
- "type": "uint96"
2139
- },
2140
- {
2141
- "components": [
2142
- {
2143
- "internalType": "UFixed",
2144
- "name": "fractionalFee",
2145
- "type": "uint256"
2146
- },
2147
- {
2148
- "internalType": "uint256",
2149
- "name": "fixedFee",
2150
- "type": "uint256"
2151
- }
2152
- ],
2153
- "internalType": "struct Fee",
2154
- "name": "fee",
2155
- "type": "tuple"
2156
- },
2157
- {
2158
- "internalType": "bytes",
2159
- "name": "filter",
2160
- "type": "bytes"
2161
- },
2162
- {
2163
- "internalType": "uint256",
2164
- "name": "capitalAmount",
2165
- "type": "uint256"
2166
- },
2167
- {
2168
- "internalType": "uint256",
2169
- "name": "lockedAmount",
2170
- "type": "uint256"
2171
- },
2172
- {
2173
- "internalType": "uint256",
2174
- "name": "balanceAmount",
2175
- "type": "uint256"
2176
- },
2177
- {
2178
- "internalType": "Timestamp",
2179
- "name": "expiredAt",
2180
- "type": "uint40"
2181
- },
2182
- {
2183
- "internalType": "Timestamp",
2184
- "name": "closedAt",
2185
- "type": "uint40"
2186
- }
2187
- ],
2188
- "internalType": "struct IBundle.BundleInfo",
2189
- "name": "bundle",
2190
- "type": "tuple"
2191
- },
2192
- {
2193
- "internalType": "StateId",
2194
- "name": "newState",
2195
- "type": "uint8"
2196
- }
2197
- ],
2198
- "name": "updateBundle",
2199
- "outputs": [],
2200
- "stateMutability": "nonpayable",
2201
- "type": "function"
2202
- },
2203
- {
2204
- "inputs": [
2205
- {
2206
- "internalType": "NftId",
2207
- "name": "bundleNftId",
2208
- "type": "uint96"
2209
- },
2210
- {
2211
- "internalType": "StateId",
2212
- "name": "newState",
2213
- "type": "uint8"
2214
- }
2215
- ],
2216
- "name": "updateBundleState",
2217
- "outputs": [],
2218
- "stateMutability": "nonpayable",
2219
- "type": "function"
2220
- },
2221
- {
2222
- "inputs": [
2223
- {
2224
- "internalType": "NftId",
2225
- "name": "policyNftId",
2226
- "type": "uint96"
2227
- },
2228
- {
2229
- "internalType": "NumberId",
2230
- "name": "claimId",
2231
- "type": "uint32"
2232
- },
2233
- {
2234
- "components": [
2235
- {
2236
- "internalType": "uint256",
2237
- "name": "claimAmount",
2238
- "type": "uint256"
2239
- },
2240
- {
2241
- "internalType": "uint256",
2242
- "name": "paidAmount",
2243
- "type": "uint256"
2244
- },
2245
- {
2246
- "internalType": "bytes",
2247
- "name": "data",
2248
- "type": "bytes"
2249
- },
2250
- {
2251
- "internalType": "Timestamp",
2252
- "name": "closedAt",
2253
- "type": "uint40"
2254
- }
2255
- ],
2256
- "internalType": "struct IPolicy.ClaimInfo",
2257
- "name": "claim",
2258
- "type": "tuple"
2259
- },
2260
- {
2261
- "internalType": "StateId",
2262
- "name": "newState",
2263
- "type": "uint8"
2264
- }
2265
- ],
2266
- "name": "updateClaim",
2267
- "outputs": [],
2268
- "stateMutability": "nonpayable",
2269
- "type": "function"
2270
- },
2271
- {
2272
- "inputs": [
2273
- {
2274
- "internalType": "NftId",
2275
- "name": "policyNftId",
2276
- "type": "uint96"
2277
- },
2278
- {
2279
- "internalType": "NumberId",
2280
- "name": "payoutId",
2281
- "type": "uint32"
2282
- },
2283
- {
2284
- "components": [
2285
- {
2286
- "internalType": "NumberId",
2287
- "name": "claimId",
2288
- "type": "uint32"
2289
- },
2290
- {
2291
- "internalType": "uint256",
2292
- "name": "amount",
2293
- "type": "uint256"
2294
- },
2295
- {
2296
- "internalType": "bytes",
2297
- "name": "data",
2298
- "type": "bytes"
2299
- },
2300
- {
2301
- "internalType": "Timestamp",
2302
- "name": "paidAt",
2303
- "type": "uint40"
2304
- }
2305
- ],
2306
- "internalType": "struct IPolicy.PayoutInfo",
2307
- "name": "payout",
2308
- "type": "tuple"
2309
- },
2310
- {
2311
- "internalType": "StateId",
2312
- "name": "newState",
2313
- "type": "uint8"
2314
- }
2315
- ],
2316
- "name": "updateClaim",
2317
- "outputs": [],
2318
- "stateMutability": "nonpayable",
2319
- "type": "function"
2320
- },
2321
- {
2322
- "inputs": [
2323
- {
2324
- "internalType": "NftId",
2325
- "name": "policyNftId",
2326
- "type": "uint96"
2327
- },
2328
- {
2329
- "internalType": "StateId",
2330
- "name": "newState",
2331
- "type": "uint8"
2332
- }
2333
- ],
2334
- "name": "updateClaimState",
2335
- "outputs": [],
2336
- "stateMutability": "nonpayable",
2337
- "type": "function"
2338
- },
2339
- {
2340
- "inputs": [
2341
- {
2342
- "internalType": "NftId",
2343
- "name": "distributionNftId",
2344
- "type": "uint96"
2345
- },
2346
- {
2347
- "components": [
2348
- {
2349
- "internalType": "NftId",
2350
- "name": "productNftId",
2351
- "type": "uint96"
2352
- },
2353
- {
2354
- "internalType": "contract TokenHandler",
2355
- "name": "tokenHandler",
2356
- "type": "address"
2357
- },
2358
- {
2359
- "components": [
2360
- {
2361
- "internalType": "UFixed",
2362
- "name": "fractionalFee",
2363
- "type": "uint256"
2364
- },
2365
- {
2366
- "internalType": "uint256",
2367
- "name": "fixedFee",
2368
- "type": "uint256"
2369
- }
2370
- ],
2371
- "internalType": "struct Fee",
2372
- "name": "distributionFee",
2373
- "type": "tuple"
2374
- },
2375
- {
2376
- "internalType": "bool",
2377
- "name": "isIntercepting",
2378
- "type": "bool"
2379
- },
2380
- {
2381
- "internalType": "address",
2382
- "name": "wallet",
2383
- "type": "address"
2384
- }
2385
- ],
2386
- "internalType": "struct ISetup.DistributionSetupInfo",
2387
- "name": "setup",
2388
- "type": "tuple"
2389
- },
2390
- {
2391
- "internalType": "StateId",
2392
- "name": "newState",
2393
- "type": "uint8"
2394
- }
2395
- ],
2396
- "name": "updateDistributionSetup",
2397
- "outputs": [],
2398
- "stateMutability": "nonpayable",
2399
- "type": "function"
2400
- },
2401
- {
2402
- "inputs": [
2403
- {
2404
- "internalType": "NftId",
2405
- "name": "distributionNftId",
2406
- "type": "uint96"
2407
- },
2408
- {
2409
- "internalType": "StateId",
2410
- "name": "newState",
2411
- "type": "uint8"
2412
- }
2413
- ],
2414
- "name": "updateDistributionSetupState",
2415
- "outputs": [],
2416
- "stateMutability": "nonpayable",
2417
- "type": "function"
2418
- },
2419
- {
2420
- "inputs": [
2421
- {
2422
- "internalType": "NftId",
2423
- "name": "policyNftId",
2424
- "type": "uint96"
2425
- },
2426
- {
2427
- "internalType": "NumberId",
2428
- "name": "payoutId",
2429
- "type": "uint32"
2430
- },
2431
- {
2432
- "components": [
2433
- {
2434
- "internalType": "NumberId",
2435
- "name": "claimId",
2436
- "type": "uint32"
2437
- },
2438
- {
2439
- "internalType": "uint256",
2440
- "name": "amount",
2441
- "type": "uint256"
2442
- },
2443
- {
2444
- "internalType": "bytes",
2445
- "name": "data",
2446
- "type": "bytes"
2447
- },
2448
- {
2449
- "internalType": "Timestamp",
2450
- "name": "paidAt",
2451
- "type": "uint40"
2452
- }
2453
- ],
2454
- "internalType": "struct IPolicy.PayoutInfo",
2455
- "name": "payout",
2456
- "type": "tuple"
2457
- },
2458
- {
2459
- "internalType": "StateId",
2460
- "name": "newState",
2461
- "type": "uint8"
2462
- }
2463
- ],
2464
- "name": "updateDistributor",
2465
- "outputs": [],
2466
- "stateMutability": "nonpayable",
2467
- "type": "function"
2468
- },
2469
- {
2470
- "inputs": [
2471
- {
2472
- "internalType": "NftId",
2473
- "name": "policyNftId",
2474
- "type": "uint96"
2475
- },
2476
- {
2477
- "internalType": "StateId",
2478
- "name": "newState",
2479
- "type": "uint8"
2480
- }
2481
- ],
2482
- "name": "updateDistributorState",
2483
- "outputs": [],
2484
- "stateMutability": "nonpayable",
2485
- "type": "function"
2486
- },
2487
- {
2488
- "inputs": [
2489
- {
2490
- "internalType": "NftId",
2491
- "name": "policyNftId",
2492
- "type": "uint96"
2493
- },
2494
- {
2495
- "internalType": "NumberId",
2496
- "name": "payoutId",
2497
- "type": "uint32"
2498
- },
2499
- {
2500
- "components": [
2501
- {
2502
- "internalType": "NumberId",
2503
- "name": "claimId",
2504
- "type": "uint32"
2505
- },
2506
- {
2507
- "internalType": "uint256",
2508
- "name": "amount",
2509
- "type": "uint256"
2510
- },
2511
- {
2512
- "internalType": "bytes",
2513
- "name": "data",
2514
- "type": "bytes"
2515
- },
2516
- {
2517
- "internalType": "Timestamp",
2518
- "name": "paidAt",
2519
- "type": "uint40"
2520
- }
2521
- ],
2522
- "internalType": "struct IPolicy.PayoutInfo",
2523
- "name": "payout",
2524
- "type": "tuple"
2525
- },
2526
- {
2527
- "internalType": "StateId",
2528
- "name": "newState",
2529
- "type": "uint8"
2530
- }
2531
- ],
2532
- "name": "updateDistributorType",
2533
- "outputs": [],
2534
- "stateMutability": "nonpayable",
2535
- "type": "function"
2536
- },
2537
- {
2538
- "inputs": [
2539
- {
2540
- "internalType": "NftId",
2541
- "name": "policyNftId",
2542
- "type": "uint96"
2543
- },
2544
- {
2545
- "internalType": "StateId",
2546
- "name": "newState",
2547
- "type": "uint8"
2548
- }
2549
- ],
2550
- "name": "updateDistributorTypeState",
2551
- "outputs": [],
2552
- "stateMutability": "nonpayable",
2553
- "type": "function"
2554
- },
2555
- {
2556
- "inputs": [
2557
- {
2558
- "internalType": "NftId",
2559
- "name": "policyNftId",
2560
- "type": "uint96"
2561
- },
2562
- {
2563
- "internalType": "StateId",
2564
- "name": "newState",
2565
- "type": "uint8"
2566
- }
2567
- ],
2568
- "name": "updatePayoutState",
2569
- "outputs": [],
2570
- "stateMutability": "nonpayable",
2571
- "type": "function"
2572
- },
2573
- {
2574
- "inputs": [
2575
- {
2576
- "internalType": "NftId",
2577
- "name": "policyNftId",
2578
- "type": "uint96"
2579
- },
2580
- {
2581
- "components": [
2582
- {
2583
- "internalType": "NftId",
2584
- "name": "productNftId",
2585
- "type": "uint96"
2586
- },
2587
- {
2588
- "internalType": "NftId",
2589
- "name": "bundleNftId",
2590
- "type": "uint96"
2591
- },
2592
- {
2593
- "internalType": "ReferralId",
2594
- "name": "referralId",
2595
- "type": "bytes8"
2596
- },
2597
- {
2598
- "internalType": "RiskId",
2599
- "name": "riskId",
2600
- "type": "bytes8"
2601
- },
2602
- {
2603
- "internalType": "uint256",
2604
- "name": "sumInsuredAmount",
2605
- "type": "uint256"
2606
- },
2607
- {
2608
- "internalType": "uint256",
2609
- "name": "premiumAmount",
2610
- "type": "uint256"
2611
- },
2612
- {
2613
- "internalType": "uint256",
2614
- "name": "premiumPaidAmount",
2615
- "type": "uint256"
2616
- },
2617
- {
2618
- "internalType": "uint256",
2619
- "name": "lifetime",
2620
- "type": "uint256"
2621
- },
2622
- {
2623
- "internalType": "bytes",
2624
- "name": "applicationData",
2625
- "type": "bytes"
2626
- },
2627
- {
2628
- "internalType": "bytes",
2629
- "name": "policyData",
2630
- "type": "bytes"
2631
- },
2632
- {
2633
- "internalType": "uint16",
2634
- "name": "claimsCount",
2635
- "type": "uint16"
2636
- },
2637
- {
2638
- "internalType": "uint16",
2639
- "name": "openClaimsCount",
2640
- "type": "uint16"
2641
- },
2642
- {
2643
- "internalType": "uint256",
2644
- "name": "payoutAmount",
2645
- "type": "uint256"
2646
- },
2647
- {
2648
- "internalType": "Timestamp",
2649
- "name": "activatedAt",
2650
- "type": "uint40"
2651
- },
2652
- {
2653
- "internalType": "Timestamp",
2654
- "name": "expiredAt",
2655
- "type": "uint40"
2656
- },
2657
- {
2658
- "internalType": "Timestamp",
2659
- "name": "closedAt",
2660
- "type": "uint40"
2661
- }
2662
- ],
2663
- "internalType": "struct IPolicy.PolicyInfo",
2664
- "name": "policy",
2665
- "type": "tuple"
2666
- },
2667
- {
2668
- "internalType": "StateId",
2669
- "name": "newState",
2670
- "type": "uint8"
2671
- }
2672
- ],
2673
- "name": "updatePolicy",
2674
- "outputs": [],
2675
- "stateMutability": "nonpayable",
2676
- "type": "function"
2677
- },
2678
- {
2679
- "inputs": [
2680
- {
2681
- "internalType": "NftId",
2682
- "name": "policyNftId",
2683
- "type": "uint96"
2684
- },
2685
- {
2686
- "internalType": "StateId",
2687
- "name": "newState",
2688
- "type": "uint8"
2689
- }
2690
- ],
2691
- "name": "updatePolicyState",
2692
- "outputs": [],
2693
- "stateMutability": "nonpayable",
2694
- "type": "function"
2695
- },
2696
- {
2697
- "inputs": [
2698
- {
2699
- "internalType": "NftId",
2700
- "name": "distributionNftId",
2701
- "type": "uint96"
2702
- },
2703
- {
2704
- "components": [
2705
- {
2706
- "internalType": "NftId",
2707
- "name": "productNftId",
2708
- "type": "uint96"
2709
- },
2710
- {
2711
- "internalType": "contract TokenHandler",
2712
- "name": "tokenHandler",
2713
- "type": "address"
2714
- },
2715
- {
2716
- "internalType": "UFixed",
2717
- "name": "collateralizationLevel",
2718
- "type": "uint256"
2719
- },
2720
- {
2721
- "components": [
2722
- {
2723
- "internalType": "UFixed",
2724
- "name": "fractionalFee",
2725
- "type": "uint256"
2726
- },
2727
- {
2728
- "internalType": "uint256",
2729
- "name": "fixedFee",
2730
- "type": "uint256"
2731
- }
2732
- ],
2733
- "internalType": "struct Fee",
2734
- "name": "poolFee",
2735
- "type": "tuple"
2736
- },
2737
- {
2738
- "components": [
2739
- {
2740
- "internalType": "UFixed",
2741
- "name": "fractionalFee",
2742
- "type": "uint256"
2743
- },
2744
- {
2745
- "internalType": "uint256",
2746
- "name": "fixedFee",
2747
- "type": "uint256"
2748
- }
2749
- ],
2750
- "internalType": "struct Fee",
2751
- "name": "stakingFee",
2752
- "type": "tuple"
2753
- },
2754
- {
2755
- "components": [
2756
- {
2757
- "internalType": "UFixed",
2758
- "name": "fractionalFee",
2759
- "type": "uint256"
2760
- },
2761
- {
2762
- "internalType": "uint256",
2763
- "name": "fixedFee",
2764
- "type": "uint256"
2765
- }
2766
- ],
2767
- "internalType": "struct Fee",
2768
- "name": "performanceFee",
2769
- "type": "tuple"
2770
- },
2771
- {
2772
- "internalType": "bool",
2773
- "name": "isIntercepting",
2774
- "type": "bool"
2775
- },
2776
- {
2777
- "internalType": "address",
2778
- "name": "wallet",
2779
- "type": "address"
2780
- }
2781
- ],
2782
- "internalType": "struct ISetup.PoolSetupInfo",
2783
- "name": "setup",
2784
- "type": "tuple"
2785
- },
2786
- {
2787
- "internalType": "StateId",
2788
- "name": "newState",
2789
- "type": "uint8"
2790
- }
2791
- ],
2792
- "name": "updatePoolSetup",
2793
- "outputs": [],
2794
- "stateMutability": "nonpayable",
2795
- "type": "function"
2796
- },
2797
- {
2798
- "inputs": [
2799
- {
2800
- "internalType": "NftId",
2801
- "name": "distributionNftId",
2802
- "type": "uint96"
2803
- },
2804
- {
2805
- "internalType": "StateId",
2806
- "name": "newState",
2807
- "type": "uint8"
2808
- }
2809
- ],
2810
- "name": "updatePoolSetupState",
2811
- "outputs": [],
2812
- "stateMutability": "nonpayable",
2813
- "type": "function"
2814
- },
2815
- {
2816
- "inputs": [
2817
- {
2818
- "internalType": "NftId",
2819
- "name": "productNftId",
2820
- "type": "uint96"
2821
- },
2822
- {
2823
- "components": [
2824
- {
2825
- "internalType": "contract IERC20Metadata",
2826
- "name": "token",
2827
- "type": "address"
2828
- },
2829
- {
2830
- "internalType": "contract TokenHandler",
2831
- "name": "tokenHandler",
2832
- "type": "address"
2833
- },
2834
- {
2835
- "internalType": "NftId",
2836
- "name": "distributionNftId",
2837
- "type": "uint96"
2838
- },
2839
- {
2840
- "internalType": "NftId",
2841
- "name": "poolNftId",
2842
- "type": "uint96"
2843
- },
2844
- {
2845
- "components": [
2846
- {
2847
- "internalType": "UFixed",
2848
- "name": "fractionalFee",
2849
- "type": "uint256"
2850
- },
2851
- {
2852
- "internalType": "uint256",
2853
- "name": "fixedFee",
2854
- "type": "uint256"
2855
- }
2856
- ],
2857
- "internalType": "struct Fee",
2858
- "name": "distributionFee",
2859
- "type": "tuple"
2860
- },
2861
- {
2862
- "components": [
2863
- {
2864
- "internalType": "UFixed",
2865
- "name": "fractionalFee",
2866
- "type": "uint256"
2867
- },
2868
- {
2869
- "internalType": "uint256",
2870
- "name": "fixedFee",
2871
- "type": "uint256"
2872
- }
2873
- ],
2874
- "internalType": "struct Fee",
2875
- "name": "productFee",
2876
- "type": "tuple"
2877
- },
2878
- {
2879
- "components": [
2880
- {
2881
- "internalType": "UFixed",
2882
- "name": "fractionalFee",
2883
- "type": "uint256"
2884
- },
2885
- {
2886
- "internalType": "uint256",
2887
- "name": "fixedFee",
2888
- "type": "uint256"
2889
- }
2890
- ],
2891
- "internalType": "struct Fee",
2892
- "name": "processingFee",
2893
- "type": "tuple"
2894
- },
2895
- {
2896
- "components": [
2897
- {
2898
- "internalType": "UFixed",
2899
- "name": "fractionalFee",
2900
- "type": "uint256"
2901
- },
2902
- {
2903
- "internalType": "uint256",
2904
- "name": "fixedFee",
2905
- "type": "uint256"
2906
- }
2907
- ],
2908
- "internalType": "struct Fee",
2909
- "name": "poolFee",
2910
- "type": "tuple"
2911
- },
2912
- {
2913
- "components": [
2914
- {
2915
- "internalType": "UFixed",
2916
- "name": "fractionalFee",
2917
- "type": "uint256"
2918
- },
2919
- {
2920
- "internalType": "uint256",
2921
- "name": "fixedFee",
2922
- "type": "uint256"
2923
- }
2924
- ],
2925
- "internalType": "struct Fee",
2926
- "name": "stakingFee",
2927
- "type": "tuple"
2928
- },
2929
- {
2930
- "components": [
2931
- {
2932
- "internalType": "UFixed",
2933
- "name": "fractionalFee",
2934
- "type": "uint256"
2935
- },
2936
- {
2937
- "internalType": "uint256",
2938
- "name": "fixedFee",
2939
- "type": "uint256"
2940
- }
2941
- ],
2942
- "internalType": "struct Fee",
2943
- "name": "performanceFee",
2944
- "type": "tuple"
2945
- }
2946
- ],
2947
- "internalType": "struct ISetup.ProductSetupInfo",
2948
- "name": "setup",
2949
- "type": "tuple"
2950
- },
2951
- {
2952
- "internalType": "StateId",
2953
- "name": "newState",
2954
- "type": "uint8"
2955
- }
2956
- ],
2957
- "name": "updateProductSetup",
2958
- "outputs": [],
2959
- "stateMutability": "nonpayable",
2960
- "type": "function"
2961
- },
2962
- {
2963
- "inputs": [
2964
- {
2965
- "internalType": "NftId",
2966
- "name": "productNftId",
2967
- "type": "uint96"
2968
- },
2969
- {
2970
- "internalType": "StateId",
2971
- "name": "newState",
2972
- "type": "uint8"
2973
- }
2974
- ],
2975
- "name": "updateProductSetupState",
2976
- "outputs": [],
2977
- "stateMutability": "nonpayable",
2978
- "type": "function"
2979
- },
2980
- {
2981
- "inputs": [
2982
- {
2983
- "internalType": "NftId",
2984
- "name": "policyNftId",
2985
- "type": "uint96"
2986
- },
2987
- {
2988
- "internalType": "NumberId",
2989
- "name": "payoutId",
2990
- "type": "uint32"
2991
- },
2992
1195
  {
2993
1196
  "components": [
2994
1197
  {
2995
- "internalType": "NumberId",
2996
- "name": "claimId",
2997
- "type": "uint32"
2998
- },
2999
- {
3000
- "internalType": "uint256",
3001
- "name": "amount",
3002
- "type": "uint256"
3003
- },
3004
- {
3005
- "internalType": "bytes",
3006
- "name": "data",
3007
- "type": "bytes"
1198
+ "internalType": "Str",
1199
+ "name": "name",
1200
+ "type": "bytes32"
3008
1201
  },
3009
1202
  {
3010
- "internalType": "Timestamp",
3011
- "name": "paidAt",
3012
- "type": "uint40"
3013
- }
3014
- ],
3015
- "internalType": "struct IPolicy.PayoutInfo",
3016
- "name": "payout",
3017
- "type": "tuple"
3018
- },
3019
- {
3020
- "internalType": "StateId",
3021
- "name": "newState",
3022
- "type": "uint8"
3023
- }
3024
- ],
3025
- "name": "updateReferral",
3026
- "outputs": [],
3027
- "stateMutability": "nonpayable",
3028
- "type": "function"
3029
- },
3030
- {
3031
- "inputs": [
3032
- {
3033
- "internalType": "NftId",
3034
- "name": "policyNftId",
3035
- "type": "uint96"
3036
- },
3037
- {
3038
- "internalType": "StateId",
3039
- "name": "newState",
3040
- "type": "uint8"
3041
- }
3042
- ],
3043
- "name": "updateReferralState",
3044
- "outputs": [],
3045
- "stateMutability": "nonpayable",
3046
- "type": "function"
3047
- },
3048
- {
3049
- "inputs": [
3050
- {
3051
- "internalType": "RiskId",
3052
- "name": "riskId",
3053
- "type": "bytes8"
3054
- },
3055
- {
3056
- "components": [
3057
- {
3058
- "internalType": "NftId",
3059
- "name": "productNftId",
3060
- "type": "uint96"
1203
+ "internalType": "Selector",
1204
+ "name": "selector",
1205
+ "type": "bytes4"
3061
1206
  },
3062
1207
  {
3063
- "internalType": "bytes",
3064
- "name": "data",
3065
- "type": "bytes"
3066
- }
3067
- ],
3068
- "internalType": "struct IRisk.RiskInfo",
3069
- "name": "risk",
3070
- "type": "tuple"
3071
- },
3072
- {
3073
- "internalType": "StateId",
3074
- "name": "newState",
3075
- "type": "uint8"
3076
- }
3077
- ],
3078
- "name": "updateRisk",
3079
- "outputs": [],
3080
- "stateMutability": "nonpayable",
3081
- "type": "function"
3082
- },
3083
- {
3084
- "inputs": [
3085
- {
3086
- "internalType": "RiskId",
3087
- "name": "riskId",
3088
- "type": "bytes8"
3089
- },
3090
- {
3091
- "internalType": "StateId",
3092
- "name": "newState",
3093
- "type": "uint8"
3094
- }
3095
- ],
3096
- "name": "updateRiskState",
3097
- "outputs": [],
3098
- "stateMutability": "nonpayable",
3099
- "type": "function"
3100
- },
3101
- {
3102
- "inputs": [
3103
- {
3104
- "internalType": "RoleId",
3105
- "name": "roleId",
3106
- "type": "uint64"
3107
- },
3108
- {
3109
- "internalType": "string",
3110
- "name": "name",
3111
- "type": "string"
3112
- },
3113
- {
3114
- "internalType": "StateId",
3115
- "name": "newState",
3116
- "type": "uint8"
1208
+ "internalType": "Timestamp",
1209
+ "name": "createdAt",
1210
+ "type": "uint40"
1211
+ }
1212
+ ],
1213
+ "internalType": "struct IAccess.FunctionInfo[]",
1214
+ "name": "functions",
1215
+ "type": "tuple[]"
3117
1216
  }
3118
1217
  ],
3119
- "name": "updateRole",
1218
+ "name": "unauthorizeFunctions",
1219
+ "outputs": [],
1220
+ "stateMutability": "nonpayable",
1221
+ "type": "function"
1222
+ },
1223
+ {
1224
+ "inputs": [],
1225
+ "name": "upgradeInstanceReader",
3120
1226
  "outputs": [],
3121
1227
  "stateMutability": "nonpayable",
3122
1228
  "type": "function"
@@ -3124,404 +1230,81 @@
3124
1230
  {
3125
1231
  "inputs": [
3126
1232
  {
3127
- "internalType": "RoleId",
3128
- "name": "roleId",
3129
- "type": "uint64"
3130
- },
1233
+ "internalType": "Amount",
1234
+ "name": "dipAmount",
1235
+ "type": "uint96"
1236
+ }
1237
+ ],
1238
+ "name": "withdrawStakingRewardReserves",
1239
+ "outputs": [
3131
1240
  {
3132
- "internalType": "StateId",
3133
- "name": "newState",
3134
- "type": "uint8"
1241
+ "internalType": "Amount",
1242
+ "name": "newRewardReserveBalance",
1243
+ "type": "uint96"
3135
1244
  }
3136
1245
  ],
3137
- "name": "updateRoleState",
3138
- "outputs": [],
3139
1246
  "stateMutability": "nonpayable",
3140
1247
  "type": "function"
3141
1248
  }
3142
1249
  ],
3143
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162007231380380620072318339810160408190526200003491620017c9565b826200004081620000d4565b506200004b62000153565b620000556200030a565b6200005f62000444565b62000069620006b1565b6301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055600680546001600160a01b03191633908117909155620000cb90849084908490620007f8565b50505062001b28565b60005460ff1615620001385760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b60648201526084015b60405180910390fd5b620001438162000a53565b506000805460ff19166001179055565b60dc6000908152600160208190527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec805460ff19166064179055906002906200019a60dc90565b60ff1660ff1681526020019081526020016000206000620001c062000aaf60201b60201c565b60ff1660ff1681526020019081526020016000206000620001e662000ab460201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200021a60dc90565b60ff1660ff16815260200190815260200160002060006200024062000ab460201b60201c565b60ff1660ff16815260200190815260200160002060006200026662000aaf60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200029a60dc90565b60ff1660ff1681526020019081526020016000206000620002c062000ab460201b60201c565b60ff1660ff1681526020019081526020016000206000620002e662000ab960201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c128054606460ff1991821681179092557f879b65b464eb639409179c76c21acf6fbada740970e2300d47ea857d08cacd3c8054909116600190811790915560009182526002602052907f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a906200039e606e90565b60ff1660ff1681526020019081526020016000206000620003c462000aaf60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620003f8606490565b60ff1660ff16815260200190815260200160002060006200041e62000ab460201b60201c565b60ff1660ff1681526020019081526020016000206000620002e662000abe60201b60201c565b60d26000908152600160208190527fcfa08e49dd9e66a4af3cdf0c2ef56f411154768307cac6dc23ee77c0386825be805460ff1916600a179055906002906200048b60d290565b60ff1660ff1681526020019081526020016000206000620004b162000ac360201b60201c565b60ff1660ff1681526020019081526020016000206000620004d762000ac860201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200050b60d290565b60ff1660ff16815260200190815260200160002060006200053162000ac360201b60201c565b60ff1660ff16815260200190815260200160002060006200055762000acd60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200058b60d290565b60ff1660ff1681526020019081526020016000206000620005b162000ac360201b60201c565b60ff1660ff1681526020019081526020016000206000620005d762000ad260201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200060b60d290565b60ff1660ff16815260200190815260200160002060006200063162000ad260201b60201c565b60ff1660ff16815260200190815260200160002060006200065762000aaf60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200068b60d290565b60ff1660ff1681526020019081526020016000206000620002c062000aaf60201b60201c565b60c86000908152600160208190527f345f7c6c888721344af4147de0834159e0b302300ba13c4e7b6c0b60d8f2314e805460ff1916606417905590600290620006f860c890565b60ff1660ff16815260200190815260200160002060006200071e62000aaf60201b60201c565b60ff1660ff16815260200190815260200160002060006200074462000ab460201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200077860c890565b60ff1660ff16815260200190815260200160002060006200079e62000ab460201b60201c565b60ff1660ff1681526020019081526020016000206000620007c462000aaf60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620003f860c890565b600654600160a01b900460ff16156200086b5760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b60648201526084016200012f565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b8152600060048201526200092b9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015620008dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000902919062001823565b60408051808201909152600981526841646d696e526f6c6560b81b602082015260008062000ad7565b6040516368aebf7b60e01b81526001600160401b036004820152620009d79073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801562000987573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009ad919062001823565b60408051808201909152600a8152695075626c6963526f6c6560b01b602082015260008062000ad7565b620009fe838360466000856040518060200160405280600081525062000bbd60201b60201c565b63e72ac88960e01b60005260046020527f9a696e39c9271247de89f527594f54a86ad167890e17fcc25dba8d6ec797a1c9805460ff1916600117905550506006805460ff60a01b1916600160a01b1790555050565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b606490565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b602890565b801562000aee5762000aeb84848462000c8e565b50505b600062000afd85858562000f18565b8051600090815260076020526040812080546001600160401b0319166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a928302199093169102179055905062000bb662000b878662000f54565b604080518451602080830191909152850151151581830152815180820383018152606090910190915262000fdc565b5050505050565b62000bc9828762000fec565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000c488382620018fa565b506303fb044760e21b60005260046020527f91a409085efa2cad9dad64790cb14ef1d9b61e9173e901d74242d27ef0ced4a1805460ff1916600117905550505050505050565b6000808062000c9d8662000f54565b905062000caa8162001012565b9250821562000cdf5762000cbe81620010a0565b80602001905181019062000cd39190620019d7565b60200151915062000ce3565b8391505b856001600160401b038116158062000d0357506001600160401b03818116145b1562000d2e5760405163981bf42160e01b81526001600160401b03881660048201526024016200012f565b82801562000d4657506127106001600160401b038216105b1562000d7157604051633119b9df60e21b81526001600160401b03881660048201526024016200012f565b82801562000d8a57506127106001600160401b03821610155b1562000db55760405163094fb39160e01b81526001600160401b03881660048201526024016200012f565b600062000dc2876200114d565b905062000dcf8162001190565b60000362000dfc576040516321ab17ab60e01b81526001600160401b03891660048201526024016200012f565b60008181526007602090815260409182902054825163bc1b392d60e01b8152925162000ea3936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af415801562000e6b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000e91919062001823565b6001600160401b039081169116141590565b801562000eca57506000818152600760205260409020546001600160401b03898116911614155b1562000f0d5760008181526007602052604090819020549051631660fb9360e21b81526001600160401b039091166004820152602481018290526044016200012f565b505050935093915050565b604080518082018252600080825260208201528151808301909252908062000f40856200114d565b815260200183151581525090509392505050565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801562000fb0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fd6919062001a30565b92915050565b62000fe88282620011b9565b5050565b600680546001600160a01b0319166001600160a01b03841617905562000fe881620015f1565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156200107a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fd6919062001a4a565b6000818152600360205260409020600101805460609190620010c2906200186b565b80601f0160208091040260200160405190810160405280929190818152602001828054620010f0906200186b565b8015620011415780601f10620011155761010080835404028352916020019162001141565b820191906000526020600020905b8154815290600101906020018083116200112357829003601f168201915b50505050509050919050565b600080829050601f815111156200117b578260405163305a27a960e01b81526004016200012f919062001a68565b8051620011888262001ab8565b179392505050565b600060ff8216601f81111562000fd657604051632cd44ac360e21b815260040160405180910390fd5b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156200120d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001233919062001add565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af415801562001289573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012af919062001a4a565b620012fd5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e45440000000060448201526064016200012f565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801562001367573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200138d919062001a4a565b620013db5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f4352454154454400000060448201526064016200012f565b33436000620013ea856200175e565b620013f75760646200140d565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600360205260409020909150600101620014998782620018fa565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156200150d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001533919062001add565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801562001584573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015aa919062001b02565b6040805160ff938416815260ff19929092166020830152918416818301526001600160a01b038616606082015232608082015290519081900360a00190a150505050505050565b6005546001600160a01b0316156200162c5760055460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016200012f565b6001600160a01b038116620016545760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200168c5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200012f565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562001709575060408051601f3d908101601f19168201909252620017069181019062001a4a565b60015b620017335760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200012f565b8062000fe85760405163fdeac91f60e01b81526001600160a01b03831660048201526024016200012f565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016200105c565b80516001600160a01b0381168114620017c457600080fd5b919050565b600080600060608486031215620017df57600080fd5b620017ea84620017ac565b9250620017fa60208501620017ac565b60408501519092506001600160601b03811681146200181857600080fd5b809150509250925092565b6000602082840312156200183657600080fd5b81516001600160401b03811681146200184e57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200188057607f821691505b602082108103620018a157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620018f557600081815260208120601f850160051c81016020861015620018d05750805b601f850160051c820191505b81811015620018f157828155600101620018dc565b5050505b505050565b81516001600160401b0381111562001916576200191662001855565b6200192e816200192784546200186b565b84620018a7565b602080601f8311600181146200196657600084156200194d5750858301515b600019600386901b1c1916600185901b178555620018f1565b600085815260208120601f198616915b82811015620019975788860151825594840194600190910190840162001976565b5085821015620019b65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80518015158114620017c457600080fd5b600060408284031215620019ea57600080fd5b604080519081016001600160401b038111828210171562001a0f5762001a0f62001855565b6040528251815262001a2460208401620019c6565b60208201529392505050565b60006020828403121562001a4357600080fd5b5051919050565b60006020828403121562001a5d57600080fd5b6200184e82620019c6565b600060208083528351808285015260005b8181101562001a975785810183015185820160400152820162001a79565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620018a15760001960209190910360031b1b16919050565b60006020828403121562001af057600080fd5b815160ff811681146200184e57600080fd5b60006020828403121562001b1557600080fd5b815160ff19811681146200184e57600080fd5b6156f98062001b386000396000f3fe608060405234801561001057600080fd5b506004361061048b5760003560e01c806382f65adb11610262578063b68ec14611610151578063cd50b97e116100ce578063e8951ee611610092578063e8951ee6146105b6578063e9e96c7014610ad5578063f48016ce14610b13578063f7bc431c14610b26578063f8b648ac1461066a578063fe1f18d614610b3957600080fd5b8063cd50b97e14610a89578063d2f21a2914610a9c578063d5b221bd146105e4578063d78a83b114610aaf578063dee3262314610ac257600080fd5b8063bf1db3f911610115578063bf1db3f914610a45578063bf7e214f14610a58578063c2f1a2d2146105e4578063c4d66de814610a6e578063ca600b1c14610a8157600080fd5b8063b68ec1461461066a578063b7d2b162146109f9578063bc8d400014610a0c578063bd4fe04e14610a1f578063bd5947e314610a3257600080fd5b8063954fab2c116101df578063a13df2ab116101a3578063a13df2ab146108fc578063a5961b4c1461090f578063a76ee018146109c0578063a8989675146109d3578063b428b0b0146109e657600080fd5b8063954fab2c146108b0578063976b0a77146108c35780639a960d52146108d65780639d7421f4146108e95780639df0280b146105b657600080fd5b80638d4eae9d116102265780638d4eae9d146108495780638dc77f42146105b65780638eaa6ac01461085c5780638fb360371461087c578063950ad70b1461089d57600080fd5b806382f65adb1461066a578063835933c9146107fb57806386f0c47b1461080e5780638793a9ac1461082e578063893d20e81461084157600080fd5b806338a699a41161037e5780635dfa73db116102fb57806375b238fc116102bf57806375b238fc146107ba57806375c82776146107c25780637a415802146105e45780637a9e5e4b146107d55780637cef4842146107e857600080fd5b80635dfa73db14610758578063644c45e01461076157806364c55d9c1461078c5780636fa298531461079f57806373539127146107a757600080fd5b8063468a186711610342578063468a18671461070157806354f6127f1461071457806357f96805146107345780635ab1bd53146107475780635d4345cc146105b657600080fd5b806338a699a4146106ad578063392f5f64146106c05780633ca7c02a146106c85780633fd85561146106ee57806340529b0f146105b657600080fd5b8063167bd3951161040c5780632f61088a116103d05780632f61088a1461064457806331d311a71461065757806333bb0a971461066a57806337f135d71461067d578063384c9a571461069a57600080fd5b8063167bd395146105d15780631c45fe7a146105e45780631e23a2f5146105f75780631eff4b221461060a57806322f46b841461063157600080fd5b80630d358181116104535780630d358181146105675780630f526f7d1461058d5780630fec111c146105a057806310203d2c146105b6578063138461e0146105c957600080fd5b806301ffc9a71461049057806302cd3071146104d257806303014974146104f757806309648a9d146105185780630b24cf5f14610552575b600080fd5b6104bd61049e366004613d04565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104c9565b61050a610505366004613d43565b610b4c565b6040519081526020016104c9565b610540610526366004613d60565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104c9565b610565610560366004613f6a565b610b73565b005b610540610575366004613faf565b60ff9081166000908152600160205260409020541690565b61056561059b366004613fcc565b610bb7565b6105a8610bd4565b6040516104c9929190614055565b6105656105c4366004613fcc565b610d56565b610565610d6b565b6105656105df3660046140fc565b610f8d565b6105656105f2366004614252565b611035565b6105656106053660046142c6565b611076565b61050a7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61056561063f366004614327565b61109c565b6105656106523660046143f1565b6110b2565b61050a610665366004614436565b61114d565b610565610678366004614453565b6111de565b610685600081565b60405163ffffffff90911681526020016104c9565b6104bd6106a8366004613d43565b611209565b6104bd6106bb366004613d60565b61139f565b60095461050a565b6106d66001600160401b0381565b6040516001600160401b0390911681526020016104c9565b6106d66106fc366004613d60565b61142a565b61050a61070f3660046144b4565b61146f565b610727610722366004613d60565b6114cc565b6040516104c991906144d1565b610565610742366004614587565b611571565b6005546001600160a01b03166104df565b6106d661271081565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104c9565b61056561079a366004614687565b611599565b6104df6115c1565b6105656107b53660046146d3565b611663565b6106d6600081565b6105656107d0366004614744565b61168b565b6105656107e3366004614436565b6116b1565b6105656107f636600461479c565b61172c565b61050a610809366004613d43565b6117b6565b61082161081c366004613d43565b6117f9565b6040516104c991906147ba565b61056561083c3660046147d3565b61189e565b6104df6118b3565b610565610857366004614892565b611990565b61086f61086a366004613d60565b6119b6565b6040516104c99190614921565b610884611af7565b6040516001600160e01b031990911681526020016104c9565b6105656108ab366004614955565b611b1b565b6105656108be3660046149ad565b611b7d565b6105656108d13660046149f4565b611ba3565b6105656108e4366004614b9c565b611dc2565b6105656108f7366004614be3565b611de8565b61050a61090a3660046144b4565b611e0e565b6109b361091d366004613d60565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104c99190614c3a565b6105656109ce366004614c48565b611e3b565b6105656109e1366004614c8f565b611ed6565b6104bd6109f4366004614ccf565b611fc7565b6104bd610a07366004614ccf565b6121bb565b610565610a1a366004614cfd565b612346565b610565610a2d366004614d42565b61236c565b610565610a40366004614d83565b612394565b6104bd610a53366004613faf565b6123bc565b60005461010090046001600160a01b03166104df565b610565610a7c366004614436565b612409565b6104df612480565b610565610a97366004614327565b6124de565b610565610aaa366004613fcc565b6124f5565b6104df610abd366004614dc3565b61250c565b610565610ad0366004613fcc565b612535565b6104bd610ae3366004614c8f565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b61050a610b21366004614dff565b61254c565b610565610b34366004614436565b6125d0565b610565610b47366004613fcc565b61264c565b6001600160401b0381166000908152600860205260408120610b6d90612661565b92915050565b610b80335b60003661266b565b610bb3610b8e83607861277e565b82604051602001610b9f9190614e2d565b6040516020818303038152906040526127ca565b5050565b610bc033610b78565b610bb3610bce83608c61277e565b826127d4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c576005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610c9f6118b3565b6001600160a01b03168152602001826001018054610cbc90614e8d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce890614e8d565b8015610d355780601f10610d0a57610100808354040283529160200191610d35565b820191906000526020600020905b815481529060010190602001808311610d1857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d5f33610b78565b610bb3610bce8361146f565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df19190614ec7565b15610e38576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e615760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610eaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ece9190614ec7565b610ef6576040516372657a5160e01b81526001600160a01b0382166004820152602401610e2f565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f649190614ee4565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f9633610b78565b610fa26106bb8361114d565b610fca576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e2f565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561101957600080fd5b505af115801561102d573d6000803e3d6000fd5b505050505050565b61103e33610b78565b61107061104a8561146f565b8360405160200161105b9190614f01565b604051602081830303815290604052836127de565b50505050565b61107f33610b78565b610bb361108b8361114d565b82604051602001610b9f91906147ba565b6110a533610b78565b610bb382826001806127e9565b6110bb33610b78565b6040516355ee627560e01b81526001600160c01b031983166004820152610bb39073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611118573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113c9190614f54565b82604051602001610b9f9190614f6d565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156111ba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6d9190614f54565b6111e733610b78565b6112046111f38461146f565b82604051602001610b9f9190614f01565b505050565b60003381611216846117b6565b90506112218161139f565b61124857604051627a416f60e01b81526001600160401b0385166004820152602401610e2f565b6001600160401b038416600090815260086020526040902061126a9083612892565b1561139557600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156112dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113009190614f9b565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561135057600080fd5b505af1158015611364573d6000803e3d6000fd5b5050506001600160401b038516600090815260086020526040902061138a9150836128b4565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015611406573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6d9190614ec7565b60006009828154811061143f5761143f614fb8565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff16602482015260440161119d565b60008181526003602052604090206001018054606091906114ec90614e8d565b80601f016020809104026020016040519081016040528092919081815260200182805461151890614e8d565b80156115655780601f1061153a57610100808354040283529160200191611565565b820191906000526020600020905b81548152906001019060200180831161154857829003601f168201915b50505050509050919050565b61157a33610b78565b610bb361158883608c61277e565b82604051602001610b9f9190614fce565b6115a233610b78565b6112046115b084606e61277e565b8360405160200161105b9190615071565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165e9190615173565b905090565b61166c33610b78565b610bb361167a83606e61277e565b82604051602001610b9f9190615071565b61169433610b78565b6110706116a08561146f565b8360405160200161105b9190615190565b600054339061010090046001600160a01b031681146116ed5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e2f565b816001600160a01b03163b600003611723576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e2f565b610bb3826128c9565b61173533610b78565b6040516355ee627560e01b81526001600160c01b031983166004820152610bb39073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611792573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bce9190614f54565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f09060240161119d565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b038316600482015261188b9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af4158015611867573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107229190614f54565b806020019051810190610b6d91906151c0565b6118a733610b78565b610bb3610bce836117b6565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193c9190614ec7565b1561198057600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a9060240161161d565b506006546001600160a01b031690565b61199933610b78565b610bb36119a583611e0e565b82604051602001610b9f91906151f8565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611a6e90614e8d565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9a90614e8d565b8015611ae75780601f10611abc57610100808354040283529160200191611ae7565b820191906000526020600020905b815481529060010190602001808311611aca57829003601f168201915b5050505050815250509050919050565b60008054600160a81b900460ff16611b0f5750600090565b50638fb3603760e01b90565b611b2433610b78565b6000611b3284846000612925565b5090506000611b42858584612b90565b9050611b76611b50866117b6565b82604051602001611b6191906147ba565b604051602081830303815290604052856127de565b5050505050565b611b8633610b78565b611204611b9284611e0e565b8360405160200161105b91906151f8565b600654600160a01b900460ff1615611c145760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e2f565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152611cd19073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611c83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca79190614f9b565b6040518060400160405280600981526020016841646d696e526f6c6560b81b8152506000806127e9565b6040516368aebf7b60e01b81526001600160401b036004820152611d7a9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4f9190614f9b565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b8152506000806127e9565b611d998383604660008560405180602001604052806000815250612bcc565b611da963e72ac88960e01b612c60565b50506006805460ff60a01b1916600160a01b1790555050565b611dcb33610b78565b611204611dd78461146f565b8360405160200161105b919061529d565b611df133610b78565b611204611dfd8461146f565b82604051602001610b9f9190615190565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611498565b611e4433610b78565b6040516355ee627560e01b81526001600160c01b0319841660048201526112049073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611ea1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec59190614f54565b8360405160200161105b9190614f6d565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5f9190614ec7565b15611f6957505050565b60ff80841660009081526002602090815260408083208685168452825280832085851684529091529020541661120457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e2f565b6000611fd233610b78565b6000611fdd846117b6565b9050611fe88161139f565b61201057604051636777365b60e01b81526001600160401b0385166004820152602401610e2f565b60008181526003602052604090205461203f90610100900460ff16612033606490565b60ff9081169116141590565b156120685760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e2f565b6001600160401b038416600090815260086020526040902061208a9084612892565b61139557600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156120fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061211f9190614f9b565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b15801561217657600080fd5b505af115801561218a573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206121b0915084612c85565b506001915050610b6d565b60006121c633610b78565b60006121d1846117b6565b90506121dc8161139f565b61220457604051634cee277360e11b81526001600160401b0385166004820152602401610e2f565b6001600160401b03841660009081526008602052604090206122269084612892565b1561139557600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612298573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122bc9190614f9b565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b15801561230c57600080fd5b505af1158015612320573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206121b09150846128b4565b61234f33610b78565b610bb361235b8361146f565b82604051602001610b9f919061529d565b61237533610b78565b61120461238384608c61277e565b8360405160200161105b9190614fce565b61239d33610b78565b6112046123ab84607861277e565b8360405160200161105b9190614e2d565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113e9565b60005460ff16156124675760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401610e2f565b612470816128c9565b506000805460ff19166001179055565b6005546040805163a3bcd81d60e01b815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b6064820152600360248201526000916001600160a01b03169063a3bcd81d9060840161161d565b6124e733610b78565b610bb38282600060016127e9565b6124fe33610b78565b610bb3610bce83607861277e565b6001600160401b038216600090815260086020526040812061252e9083612c9a565b9392505050565b61253e33610b78565b610bb3610bce83606e61277e565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156125ac573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252e9190614f54565b6125d933610b78565b600c546001600160a01b03161561262a5760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e2f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61265533610b78565b610bb3610bce83611e0e565b6000610b6d825490565b6000806126a76126896000546001600160a01b036101009091041690565b863061269960046000898b6153f4565b6126a29161541e565b612ca6565b9150915081611b765763ffffffff81161561275b576000805460ff60a81b1916600160a81b1790556126e76000546001600160a01b036101009091041690565b6001600160a01b03166394c7d7ee8686866040518463ffffffff1660e01b81526004016127169392919061544e565b600060405180830381600087803b15801561273057600080fd5b505af1158015612744573d6000803e3d6000fd5b50506000805460ff60a81b1916905550611b769050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610e2f565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161258f565b610bb38282612db2565b610bb382826131d4565b611204838383613508565b80156127fd576127fa848484612925565b50505b600061280a858585612b90565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611b7661108b866117b6565b6001600160a01b0381166000908152600183016020526040812054151561252e565b600061252e836001600160a01b0384166139a3565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6000806000612933866117b6565b905061293e8161139f565b9250821561296d5761294f816114cc565b80602001905181019061296291906151c0565b602001519150612971565b8391505b856001600160401b038116158061299057506001600160401b03818116145b156129b95760405163981bf42160e01b81526001600160401b0388166004820152602401610e2f565b8280156129d057506127106001600160401b038216105b156129f957604051633119b9df60e21b81526001600160401b0388166004820152602401610e2f565b828015612a1157506127106001600160401b03821610155b15612a3a5760405163094fb39160e01b81526001600160401b0388166004820152602401610e2f565b6000612a4587613a9d565b9050612a5081613adb565b600003612a7b576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e2f565b60008181526007602090815260409182902054825163bc1b392d60e01b81529251612b1e936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0c9190614f9b565b6001600160401b039081169116141590565b8015612b4457506000818152600760205260409020546001600160401b03898116911614155b15612b855760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e2f565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612bb885613a9d565b815260200183151581525090509392505050565b612bd68287613b03565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612c4683826154d4565b50612c576303fb044760e21b612c60565b50505050505050565b6001600160e01b0319166000908152600460205260409020805460ff19166001179055565b600061252e836001600160a01b038416613b27565b600061252e8383613b76565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612d159190615593565b600060405180830381855afa9150503d8060008114612d50576040519150601f19603f3d011682016040523d82523d6000602084013e612d55565b606091505b50915091508115612da7576040815110612d875780806020019051810190612d7d91906155af565b9094509250612da7565b6020815110612da75780806020019051810190612da49190614ec7565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e2991906155de565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ea29190614ec7565b612eee5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e2f565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612f57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f7b9190614ec7565b612fc75760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e2f565b33436000612fd4856123bc565b612fdf576064612ff5565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b91909102178555600088815260036020526040902090915060010161307f87826154d4565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156130f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311691906155de565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061318a91906155fb565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061324a9190614ec7565b6132965760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e2f565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613302573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133269190614ec7565b6133725760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e2f565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166133b64390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061346c91906155de565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156134bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134e091906155fb565b87868632876040516134f89796959493929190615618565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561355a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357e9190614ec7565b6135ca5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e2f565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061365a9190614ec7565b6136a65760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e2f565b60008581526003602052604090206001016136c185826154d4565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166137064390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613798573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137bc91906155de565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561380c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061383091906155fb565b87868632876040516138489796959493929190615618565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156138c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138e691906155de565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613936573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061395a91906155fb565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016131c3565b60008181526001830160205260408120548015613a8c5760006139c7600183615668565b85549091506000906139db90600190615668565b9050808214613a405760008660000182815481106139fb576139fb614fb8565b9060005260206000200154905080876000018481548110613a1e57613a1e614fb8565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613a5157613a51615689565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b6d565b6000915050610b6d565b5092915050565b600080829050601f81511115613ac8578260405163305a27a960e01b8152600401610e2f91906144d1565b8051613ad38261569f565b179392505050565b600060ff8216601f811115610b6d57604051632cd44ac360e21b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b038416179055610bb381613ba0565b6000818152600183016020526040812054613b6e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b6d565b506000610b6d565b6000826000018281548110613b8d57613b8d614fb8565b9060005260206000200154905092915050565b6005546001600160a01b031615613bd95760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e2f565b6001600160a01b038116613c005760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613c365760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e2f565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613cb0575060408051601f3d908101601f19168201909252613cad91810190614ec7565b60015b613cd85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e2f565b80610bb35760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e2f565b50565b600060208284031215613d1657600080fd5b81356001600160e01b03198116811461252e57600080fd5b6001600160401b0381168114613d0157600080fd5b600060208284031215613d5557600080fd5b813561252e81613d2e565b600060208284031215613d7257600080fd5b5035919050565b6001600160601b0381168114613d0157600080fd5b8035613d9981613d79565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613dd657613dd6613d9e565b60405290565b604051608081016001600160401b0381118282101715613dd657613dd6613d9e565b60405161010081016001600160401b0381118282101715613dd657613dd6613d9e565b60405161014081016001600160401b0381118282101715613dd657613dd6613d9e565b60405161020081016001600160401b0381118282101715613dd657613dd6613d9e565b6001600160a01b0381168114613d0157600080fd5b8035613d9981613e67565b600060408284031215613e9957600080fd5b613ea1613db4565b9050813581526020820135602082015292915050565b8015158114613d0157600080fd5b8035613d9981613eb7565b600060c08284031215613ee257600080fd5b60405160a081018181106001600160401b0382111715613f0457613f04613d9e565b6040529050808235613f1581613d79565b81526020830135613f2581613e67565b6020820152613f378460408501613e87565b60408201526080830135613f4a81613eb7565b606082015260a0830135613f5d81613e67565b6080919091015292915050565b60008060e08385031215613f7d57600080fd5b8235613f8881613d79565b9150613f978460208501613ed0565b90509250929050565b60ff81168114613d0157600080fd5b600060208284031215613fc157600080fd5b813561252e81613fa0565b60008060408385031215613fdf57600080fd5b8235613fea81613d79565b91506020830135613ffa81613fa0565b809150509250929050565b60005b83811015614020578181015183820152602001614008565b50506000910152565b60008151808452614041816020860160208601614005565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161409960a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526140df610120840182614029565b905082810360208401526140f38185614029565b95945050505050565b6000806040838503121561410f57600080fd5b823561411a81613e67565b91506020830135613ffa81613eb7565b63ffffffff81168114613d0157600080fd5b600082601f83011261414d57600080fd5b81356001600160401b038082111561416757614167613d9e565b604051601f8301601f19908116603f0116810190828211818310171561418f5761418f613d9e565b816040528381528660208588010111156141a857600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff81168114613d9957600080fd5b6000608082840312156141ef57600080fd5b6141f7613ddc565b905081356142048161412a565b81526020828101359082015260408201356001600160401b0381111561422957600080fd5b6142358482850161413c565b604083015250614247606083016141c8565b606082015292915050565b6000806000806080858703121561426857600080fd5b843561427381613d79565b935060208501356142838161412a565b925060408501356001600160401b0381111561429e57600080fd5b6142aa878288016141dd565b92505060608501356142bb81613fa0565b939692955090935050565b60008082840360608112156142da57600080fd5b83356142e581613e67565b92506040601f19820112156142f957600080fd5b50614302613db4565b60208401358152604084013561431781613eb7565b6020820152919491935090915050565b6000806040838503121561433a57600080fd5b823561434581613d2e565b915060208301356001600160401b0381111561436057600080fd5b61436c8582860161413c565b9150509250929050565b6001600160c01b031981168114613d0157600080fd5b8035613d9981614376565b6000604082840312156143a957600080fd5b6143b1613db4565b905081356143be81613d79565b815260208201356001600160401b038111156143d957600080fd5b6143e58482850161413c565b60208301525092915050565b6000806040838503121561440457600080fd5b823561440f81614376565b915060208301356001600160401b0381111561442a57600080fd5b61436c85828601614397565b60006020828403121561444857600080fd5b813561252e81613e67565b60008060006060848603121561446857600080fd5b833561447381613d79565b925060208401356144838161412a565b915060408401356001600160401b0381111561449e57600080fd5b6144aa868287016141dd565b9150509250925092565b6000602082840312156144c657600080fd5b813561252e81613d79565b60208152600061252e6020830184614029565b600061016082840312156144f757600080fd5b6144ff613dfe565b905061450a82613d8e565b815261451860208301613e7c565b6020820152604082013560408201526145348360608401613e87565b60608201526145468360a08401613e87565b60808201526145588360e08401613e87565b60a082015261456a6101208301613ec5565b60c082015261457c6101408301613e7c565b60e082015292915050565b600080610180838503121561459b57600080fd5b82356145a681613d79565b9150613f9784602085016144e4565b600061020082840312156145c857600080fd5b6145d0613e21565b90506145db82613e7c565b81526145e960208301613e7c565b60208201526145fa60408301613d8e565b604082015261460b60608301613d8e565b606082015261461d8360808401613e87565b608082015261462f8360c08401613e87565b60a082015261010061464384828501613e87565b60c0830152614656846101408501613e87565b60e0830152614669846101808501613e87565b9082015261467b836101c08401613e87565b61012082015292915050565b6000806000610240848603121561469d57600080fd5b83356146a881613d79565b92506146b785602086016145b5565b91506102208401356146c881613fa0565b809150509250925092565b60008061022083850312156146e757600080fd5b82356146f281613d79565b9150613f9784602085016145b5565b60006080828403121561471357600080fd5b61471b613ddc565b9050813581526020820135602082015260408201356001600160401b0381111561422957600080fd5b6000806000806080858703121561475a57600080fd5b843561476581613d79565b935060208501356147758161412a565b925060408501356001600160401b0381111561479057600080fd5b6142aa87828801614701565b600080604083850312156147af57600080fd5b8235613fea81614376565b8151815260208083015115159082015260408101610b6d565b600080604083850312156147e657600080fd5b8235613fea81613d2e565b6000610120828403121561480457600080fd5b61480c613dfe565b905061481782613d8e565b81526148268360208401613e87565b602082015260608201356001600160401b0381111561484457600080fd5b6148508482850161413c565b6040830152506080820135606082015260a0820135608082015260c082013560a082015261488060e083016141c8565b60c082015261457c61010083016141c8565b600080604083850312156148a557600080fd5b82356148b081613d79565b915060208301356001600160401b038111156148cb57600080fd5b61436c858286016147f1565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526149336020820183516148d7565b6000602083015160c08084015261494d60e0840182614029565b949350505050565b60008060006060848603121561496a57600080fd5b833561497581613d2e565b925060208401356001600160401b0381111561499057600080fd5b61499c8682870161413c565b92505060408401356146c881613fa0565b6000806000606084860312156149c257600080fd5b83356149cd81613d79565b925060208401356001600160401b038111156149e857600080fd5b61499c868287016147f1565b60008060008060808587031215614a0a57600080fd5b8435614a1581613e67565b93506020850135614a2581613e67565b92506040850135614a3581613d79565b915060608501356142bb81613e67565b803561ffff81168114613d9957600080fd5b60006102008284031215614a6a57600080fd5b614a72613e44565b9050614a7d82613d8e565b8152614a8b60208301613d8e565b6020820152614a9c6040830161438c565b6040820152614aad6060830161438c565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115614af657600080fd5b614b028683870161413c565b83850152610120925082850135915080821115614b1e57600080fd5b50614b2b8582860161413c565b828401525050610140614b3f818401614a45565b90820152610160614b51838201614a45565b9082015261018082810135908201526101a0614b6e8184016141c8565b908201526101c0614b808382016141c8565b908201526101e0614b928382016141c8565b9082015292915050565b600080600060608486031215614bb157600080fd5b8335614bbc81613d79565b925060208401356001600160401b03811115614bd757600080fd5b61499c86828701614a57565b600080600060608486031215614bf857600080fd5b8335614c0381613d79565b92506020840135614c138161412a565b915060408401356001600160401b03811115614c2e57600080fd5b6144aa86828701614701565b60a08101610b6d82846148d7565b600080600060608486031215614c5d57600080fd5b8335614c6881614376565b925060208401356001600160401b03811115614c8357600080fd5b61499c86828701614397565b600080600060608486031215614ca457600080fd5b8335614caf81613fa0565b92506020840135614cbf81613fa0565b915060408401356146c881613fa0565b60008060408385031215614ce257600080fd5b8235614ced81613d2e565b91506020830135613ffa81613e67565b60008060408385031215614d1057600080fd5b8235614d1b81613d79565b915060208301356001600160401b03811115614d3657600080fd5b61436c85828601614a57565b60008060006101a08486031215614d5857600080fd5b8335614d6381613d79565b9250614d7285602086016144e4565b91506101808401356146c881613fa0565b60008060006101008486031215614d9957600080fd5b8335614da481613d79565b9250614db38560208601613ed0565b915060e08401356146c881613fa0565b60008060408385031215614dd657600080fd5b8235614de181613d2e565b946020939093013593505050565b60ff1981168114613d0157600080fd5b60008060408385031215614e1257600080fd5b8235614e1d81613fa0565b91506020830135613ffa81614def565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c90821680614ea157607f821691505b602082108103614ec157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614ed957600080fd5b815161252e81613eb7565b600060208284031215614ef657600080fd5b815161252e81613d79565b6020815263ffffffff8251166020820152602082015160408201526000604083015160806060840152614f3760a0840182614029565b905064ffffffffff60608501511660808401528091505092915050565b600060208284031215614f6657600080fd5b5051919050565b602081526001600160601b0382511660208201526000602083015160408084015261494d6060840182614029565b600060208284031215614fad57600080fd5b815161252e81613d2e565b634e487b7160e01b600052603260045260246000fd5b81516001600160601b031681526020808301516001600160a01b0316908201526040808301519082015260608083015161016083019161501a9084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b038116610140840152613a96565b81516001600160a01b031681526102008101602083015161509d60208401826001600160a01b03169052565b5060408301516150b860408401826001600160601b03169052565b5060608301516150d360608401826001600160601b03169052565b5060808301516150f0608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006151268185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050613a96565b60006020828403121561518557600080fd5b815161252e81613e67565b6020815281516020820152602082015160408201526000604083015160806060840152614f3760a0840182614029565b6000604082840312156151d257600080fd5b6151da613db4565b8251815260208301516151ec81613eb7565b60208201529392505050565b602081526001600160601b0382511660208201526000602083015161522a604084018280518252602090810151910152565b506040830151610120806080850152615247610140850183614029565b9150606085015160a0850152608085015160c085015260a085015160e085015260c085015161528061010086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b602081526152b76020820183516001600160601b03169052565b600060208301516152d360408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261534b610220860184614029565b9250808601519050610140601f19868503018187015261536b8483614029565b9350808701519150506101606153868187018361ffff169052565b860151905061018061539d8682018361ffff169052565b8601516101a08681019190915286015190506101c06153c48187018364ffffffffff169052565b86015190506101e06153de8682018364ffffffffff169052565b86015164ffffffffff8116838701529050615293565b6000808585111561540457600080fd5b8386111561541157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156154465780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561120457600081815260208120601f850160051c810160208610156154b55750805b601f850160051c820191505b8181101561102d578281556001016154c1565b81516001600160401b038111156154ed576154ed613d9e565b615501816154fb8454614e8d565b8461548e565b602080601f831160018114615536576000841561551e5750858301515b600019600386901b1c1916600185901b17855561102d565b600085815260208120601f198616915b8281101561556557888601518255948401946001909101908401615546565b50858210156155835787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516155a5818460208701614005565b9190910192915050565b600080604083850312156155c257600080fd5b82516155cd81613eb7565b6020840151909250613ffa8161412a565b6000602082840312156155f057600080fd5b815161252e81613fa0565b60006020828403121561560d57600080fd5b815161252e81614def565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b6d57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b80516020808301519190811015614ec15760001960209190910360031b1b1691905056fea26469706673582212202851cff325939cac2b0ca67619ccad2552cded8cbc39404d1cda2152da07bd8664736f6c63430008140033",
3144
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061048b5760003560e01c806382f65adb11610262578063b68ec14611610151578063cd50b97e116100ce578063e8951ee611610092578063e8951ee6146105b6578063e9e96c7014610ad5578063f48016ce14610b13578063f7bc431c14610b26578063f8b648ac1461066a578063fe1f18d614610b3957600080fd5b8063cd50b97e14610a89578063d2f21a2914610a9c578063d5b221bd146105e4578063d78a83b114610aaf578063dee3262314610ac257600080fd5b8063bf1db3f911610115578063bf1db3f914610a45578063bf7e214f14610a58578063c2f1a2d2146105e4578063c4d66de814610a6e578063ca600b1c14610a8157600080fd5b8063b68ec1461461066a578063b7d2b162146109f9578063bc8d400014610a0c578063bd4fe04e14610a1f578063bd5947e314610a3257600080fd5b8063954fab2c116101df578063a13df2ab116101a3578063a13df2ab146108fc578063a5961b4c1461090f578063a76ee018146109c0578063a8989675146109d3578063b428b0b0146109e657600080fd5b8063954fab2c146108b0578063976b0a77146108c35780639a960d52146108d65780639d7421f4146108e95780639df0280b146105b657600080fd5b80638d4eae9d116102265780638d4eae9d146108495780638dc77f42146105b65780638eaa6ac01461085c5780638fb360371461087c578063950ad70b1461089d57600080fd5b806382f65adb1461066a578063835933c9146107fb57806386f0c47b1461080e5780638793a9ac1461082e578063893d20e81461084157600080fd5b806338a699a41161037e5780635dfa73db116102fb57806375b238fc116102bf57806375b238fc146107ba57806375c82776146107c25780637a415802146105e45780637a9e5e4b146107d55780637cef4842146107e857600080fd5b80635dfa73db14610758578063644c45e01461076157806364c55d9c1461078c5780636fa298531461079f57806373539127146107a757600080fd5b8063468a186711610342578063468a18671461070157806354f6127f1461071457806357f96805146107345780635ab1bd53146107475780635d4345cc146105b657600080fd5b806338a699a4146106ad578063392f5f64146106c05780633ca7c02a146106c85780633fd85561146106ee57806340529b0f146105b657600080fd5b8063167bd3951161040c5780632f61088a116103d05780632f61088a1461064457806331d311a71461065757806333bb0a971461066a57806337f135d71461067d578063384c9a571461069a57600080fd5b8063167bd395146105d15780631c45fe7a146105e45780631e23a2f5146105f75780631eff4b221461060a57806322f46b841461063157600080fd5b80630d358181116104535780630d358181146105675780630f526f7d1461058d5780630fec111c146105a057806310203d2c146105b6578063138461e0146105c957600080fd5b806301ffc9a71461049057806302cd3071146104d257806303014974146104f757806309648a9d146105185780630b24cf5f14610552575b600080fd5b6104bd61049e366004613d04565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104c9565b61050a610505366004613d43565b610b4c565b6040519081526020016104c9565b610540610526366004613d60565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104c9565b610565610560366004613f6a565b610b73565b005b610540610575366004613faf565b60ff9081166000908152600160205260409020541690565b61056561059b366004613fcc565b610bb7565b6105a8610bd4565b6040516104c9929190614055565b6105656105c4366004613fcc565b610d56565b610565610d6b565b6105656105df3660046140fc565b610f8d565b6105656105f2366004614252565b611035565b6105656106053660046142c6565b611076565b61050a7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61056561063f366004614327565b61109c565b6105656106523660046143f1565b6110b2565b61050a610665366004614436565b61114d565b610565610678366004614453565b6111de565b610685600081565b60405163ffffffff90911681526020016104c9565b6104bd6106a8366004613d43565b611209565b6104bd6106bb366004613d60565b61139f565b60095461050a565b6106d66001600160401b0381565b6040516001600160401b0390911681526020016104c9565b6106d66106fc366004613d60565b61142a565b61050a61070f3660046144b4565b61146f565b610727610722366004613d60565b6114cc565b6040516104c991906144d1565b610565610742366004614587565b611571565b6005546001600160a01b03166104df565b6106d661271081565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104c9565b61056561079a366004614687565b611599565b6104df6115c1565b6105656107b53660046146d3565b611663565b6106d6600081565b6105656107d0366004614744565b61168b565b6105656107e3366004614436565b6116b1565b6105656107f636600461479c565b61172c565b61050a610809366004613d43565b6117b6565b61082161081c366004613d43565b6117f9565b6040516104c991906147ba565b61056561083c3660046147d3565b61189e565b6104df6118b3565b610565610857366004614892565b611990565b61086f61086a366004613d60565b6119b6565b6040516104c99190614921565b610884611af7565b6040516001600160e01b031990911681526020016104c9565b6105656108ab366004614955565b611b1b565b6105656108be3660046149ad565b611b7d565b6105656108d13660046149f4565b611ba3565b6105656108e4366004614b9c565b611dc2565b6105656108f7366004614be3565b611de8565b61050a61090a3660046144b4565b611e0e565b6109b361091d366004613d60565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104c99190614c3a565b6105656109ce366004614c48565b611e3b565b6105656109e1366004614c8f565b611ed6565b6104bd6109f4366004614ccf565b611fc7565b6104bd610a07366004614ccf565b6121bb565b610565610a1a366004614cfd565b612346565b610565610a2d366004614d42565b61236c565b610565610a40366004614d83565b612394565b6104bd610a53366004613faf565b6123bc565b60005461010090046001600160a01b03166104df565b610565610a7c366004614436565b612409565b6104df612480565b610565610a97366004614327565b6124de565b610565610aaa366004613fcc565b6124f5565b6104df610abd366004614dc3565b61250c565b610565610ad0366004613fcc565b612535565b6104bd610ae3366004614c8f565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b61050a610b21366004614dff565b61254c565b610565610b34366004614436565b6125d0565b610565610b47366004613fcc565b61264c565b6001600160401b0381166000908152600860205260408120610b6d90612661565b92915050565b610b80335b60003661266b565b610bb3610b8e83607861277e565b82604051602001610b9f9190614e2d565b6040516020818303038152906040526127ca565b5050565b610bc033610b78565b610bb3610bce83608c61277e565b826127d4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c576005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610c9f6118b3565b6001600160a01b03168152602001826001018054610cbc90614e8d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce890614e8d565b8015610d355780601f10610d0a57610100808354040283529160200191610d35565b820191906000526020600020905b815481529060010190602001808311610d1857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d5f33610b78565b610bb3610bce8361146f565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df19190614ec7565b15610e38576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e615760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610eaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ece9190614ec7565b610ef6576040516372657a5160e01b81526001600160a01b0382166004820152602401610e2f565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f649190614ee4565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f9633610b78565b610fa26106bb8361114d565b610fca576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e2f565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561101957600080fd5b505af115801561102d573d6000803e3d6000fd5b505050505050565b61103e33610b78565b61107061104a8561146f565b8360405160200161105b9190614f01565b604051602081830303815290604052836127de565b50505050565b61107f33610b78565b610bb361108b8361114d565b82604051602001610b9f91906147ba565b6110a533610b78565b610bb382826001806127e9565b6110bb33610b78565b6040516355ee627560e01b81526001600160c01b031983166004820152610bb39073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611118573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113c9190614f54565b82604051602001610b9f9190614f6d565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156111ba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6d9190614f54565b6111e733610b78565b6112046111f38461146f565b82604051602001610b9f9190614f01565b505050565b60003381611216846117b6565b90506112218161139f565b61124857604051627a416f60e01b81526001600160401b0385166004820152602401610e2f565b6001600160401b038416600090815260086020526040902061126a9083612892565b1561139557600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156112dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113009190614f9b565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561135057600080fd5b505af1158015611364573d6000803e3d6000fd5b5050506001600160401b038516600090815260086020526040902061138a9150836128b4565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015611406573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6d9190614ec7565b60006009828154811061143f5761143f614fb8565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff16602482015260440161119d565b60008181526003602052604090206001018054606091906114ec90614e8d565b80601f016020809104026020016040519081016040528092919081815260200182805461151890614e8d565b80156115655780601f1061153a57610100808354040283529160200191611565565b820191906000526020600020905b81548152906001019060200180831161154857829003601f168201915b50505050509050919050565b61157a33610b78565b610bb361158883608c61277e565b82604051602001610b9f9190614fce565b6115a233610b78565b6112046115b084606e61277e565b8360405160200161105b9190615071565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165e9190615173565b905090565b61166c33610b78565b610bb361167a83606e61277e565b82604051602001610b9f9190615071565b61169433610b78565b6110706116a08561146f565b8360405160200161105b9190615190565b600054339061010090046001600160a01b031681146116ed5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e2f565b816001600160a01b03163b600003611723576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e2f565b610bb3826128c9565b61173533610b78565b6040516355ee627560e01b81526001600160c01b031983166004820152610bb39073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611792573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bce9190614f54565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f09060240161119d565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b038316600482015261188b9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af4158015611867573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107229190614f54565b806020019051810190610b6d91906151c0565b6118a733610b78565b610bb3610bce836117b6565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193c9190614ec7565b1561198057600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a9060240161161d565b506006546001600160a01b031690565b61199933610b78565b610bb36119a583611e0e565b82604051602001610b9f91906151f8565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611a6e90614e8d565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9a90614e8d565b8015611ae75780601f10611abc57610100808354040283529160200191611ae7565b820191906000526020600020905b815481529060010190602001808311611aca57829003601f168201915b5050505050815250509050919050565b60008054600160a81b900460ff16611b0f5750600090565b50638fb3603760e01b90565b611b2433610b78565b6000611b3284846000612925565b5090506000611b42858584612b90565b9050611b76611b50866117b6565b82604051602001611b6191906147ba565b604051602081830303815290604052856127de565b5050505050565b611b8633610b78565b611204611b9284611e0e565b8360405160200161105b91906151f8565b600654600160a01b900460ff1615611c145760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e2f565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152611cd19073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611c83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca79190614f9b565b6040518060400160405280600981526020016841646d696e526f6c6560b81b8152506000806127e9565b6040516368aebf7b60e01b81526001600160401b036004820152611d7a9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4f9190614f9b565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b8152506000806127e9565b611d998383604660008560405180602001604052806000815250612bcc565b611da963e72ac88960e01b612c60565b50506006805460ff60a01b1916600160a01b1790555050565b611dcb33610b78565b611204611dd78461146f565b8360405160200161105b919061529d565b611df133610b78565b611204611dfd8461146f565b82604051602001610b9f9190615190565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611498565b611e4433610b78565b6040516355ee627560e01b81526001600160c01b0319841660048201526112049073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611ea1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec59190614f54565b8360405160200161105b9190614f6d565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5f9190614ec7565b15611f6957505050565b60ff80841660009081526002602090815260408083208685168452825280832085851684529091529020541661120457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e2f565b6000611fd233610b78565b6000611fdd846117b6565b9050611fe88161139f565b61201057604051636777365b60e01b81526001600160401b0385166004820152602401610e2f565b60008181526003602052604090205461203f90610100900460ff16612033606490565b60ff9081169116141590565b156120685760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e2f565b6001600160401b038416600090815260086020526040902061208a9084612892565b61139557600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156120fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061211f9190614f9b565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b15801561217657600080fd5b505af115801561218a573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206121b0915084612c85565b506001915050610b6d565b60006121c633610b78565b60006121d1846117b6565b90506121dc8161139f565b61220457604051634cee277360e11b81526001600160401b0385166004820152602401610e2f565b6001600160401b03841660009081526008602052604090206122269084612892565b1561139557600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612298573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122bc9190614f9b565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b15801561230c57600080fd5b505af1158015612320573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206121b09150846128b4565b61234f33610b78565b610bb361235b8361146f565b82604051602001610b9f919061529d565b61237533610b78565b61120461238384608c61277e565b8360405160200161105b9190614fce565b61239d33610b78565b6112046123ab84607861277e565b8360405160200161105b9190614e2d565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113e9565b60005460ff16156124675760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401610e2f565b612470816128c9565b506000805460ff19166001179055565b6005546040805163a3bcd81d60e01b815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b6064820152600360248201526000916001600160a01b03169063a3bcd81d9060840161161d565b6124e733610b78565b610bb38282600060016127e9565b6124fe33610b78565b610bb3610bce83607861277e565b6001600160401b038216600090815260086020526040812061252e9083612c9a565b9392505050565b61253e33610b78565b610bb3610bce83606e61277e565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156125ac573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252e9190614f54565b6125d933610b78565b600c546001600160a01b03161561262a5760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e2f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61265533610b78565b610bb3610bce83611e0e565b6000610b6d825490565b6000806126a76126896000546001600160a01b036101009091041690565b863061269960046000898b6153f4565b6126a29161541e565b612ca6565b9150915081611b765763ffffffff81161561275b576000805460ff60a81b1916600160a81b1790556126e76000546001600160a01b036101009091041690565b6001600160a01b03166394c7d7ee8686866040518463ffffffff1660e01b81526004016127169392919061544e565b600060405180830381600087803b15801561273057600080fd5b505af1158015612744573d6000803e3d6000fd5b50506000805460ff60a81b1916905550611b769050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610e2f565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161258f565b610bb38282612db2565b610bb382826131d4565b611204838383613508565b80156127fd576127fa848484612925565b50505b600061280a858585612b90565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611b7661108b866117b6565b6001600160a01b0381166000908152600183016020526040812054151561252e565b600061252e836001600160a01b0384166139a3565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6000806000612933866117b6565b905061293e8161139f565b9250821561296d5761294f816114cc565b80602001905181019061296291906151c0565b602001519150612971565b8391505b856001600160401b038116158061299057506001600160401b03818116145b156129b95760405163981bf42160e01b81526001600160401b0388166004820152602401610e2f565b8280156129d057506127106001600160401b038216105b156129f957604051633119b9df60e21b81526001600160401b0388166004820152602401610e2f565b828015612a1157506127106001600160401b03821610155b15612a3a5760405163094fb39160e01b81526001600160401b0388166004820152602401610e2f565b6000612a4587613a9d565b9050612a5081613adb565b600003612a7b576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e2f565b60008181526007602090815260409182902054825163bc1b392d60e01b81529251612b1e936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0c9190614f9b565b6001600160401b039081169116141590565b8015612b4457506000818152600760205260409020546001600160401b03898116911614155b15612b855760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e2f565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612bb885613a9d565b815260200183151581525090509392505050565b612bd68287613b03565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612c4683826154d4565b50612c576303fb044760e21b612c60565b50505050505050565b6001600160e01b0319166000908152600460205260409020805460ff19166001179055565b600061252e836001600160a01b038416613b27565b600061252e8383613b76565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612d159190615593565b600060405180830381855afa9150503d8060008114612d50576040519150601f19603f3d011682016040523d82523d6000602084013e612d55565b606091505b50915091508115612da7576040815110612d875780806020019051810190612d7d91906155af565b9094509250612da7565b6020815110612da75780806020019051810190612da49190614ec7565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e2991906155de565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ea29190614ec7565b612eee5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e2f565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612f57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f7b9190614ec7565b612fc75760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e2f565b33436000612fd4856123bc565b612fdf576064612ff5565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b91909102178555600088815260036020526040902090915060010161307f87826154d4565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156130f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311691906155de565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061318a91906155fb565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061324a9190614ec7565b6132965760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e2f565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613302573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133269190614ec7565b6133725760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e2f565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166133b64390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061346c91906155de565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156134bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134e091906155fb565b87868632876040516134f89796959493929190615618565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561355a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357e9190614ec7565b6135ca5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e2f565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061365a9190614ec7565b6136a65760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e2f565b60008581526003602052604090206001016136c185826154d4565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166137064390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613798573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137bc91906155de565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561380c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061383091906155fb565b87868632876040516138489796959493929190615618565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156138c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138e691906155de565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613936573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061395a91906155fb565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016131c3565b60008181526001830160205260408120548015613a8c5760006139c7600183615668565b85549091506000906139db90600190615668565b9050808214613a405760008660000182815481106139fb576139fb614fb8565b9060005260206000200154905080876000018481548110613a1e57613a1e614fb8565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613a5157613a51615689565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b6d565b6000915050610b6d565b5092915050565b600080829050601f81511115613ac8578260405163305a27a960e01b8152600401610e2f91906144d1565b8051613ad38261569f565b179392505050565b600060ff8216601f811115610b6d57604051632cd44ac360e21b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b038416179055610bb381613ba0565b6000818152600183016020526040812054613b6e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b6d565b506000610b6d565b6000826000018281548110613b8d57613b8d614fb8565b9060005260206000200154905092915050565b6005546001600160a01b031615613bd95760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e2f565b6001600160a01b038116613c005760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613c365760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e2f565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613cb0575060408051601f3d908101601f19168201909252613cad91810190614ec7565b60015b613cd85760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e2f565b80610bb35760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e2f565b50565b600060208284031215613d1657600080fd5b81356001600160e01b03198116811461252e57600080fd5b6001600160401b0381168114613d0157600080fd5b600060208284031215613d5557600080fd5b813561252e81613d2e565b600060208284031215613d7257600080fd5b5035919050565b6001600160601b0381168114613d0157600080fd5b8035613d9981613d79565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613dd657613dd6613d9e565b60405290565b604051608081016001600160401b0381118282101715613dd657613dd6613d9e565b60405161010081016001600160401b0381118282101715613dd657613dd6613d9e565b60405161014081016001600160401b0381118282101715613dd657613dd6613d9e565b60405161020081016001600160401b0381118282101715613dd657613dd6613d9e565b6001600160a01b0381168114613d0157600080fd5b8035613d9981613e67565b600060408284031215613e9957600080fd5b613ea1613db4565b9050813581526020820135602082015292915050565b8015158114613d0157600080fd5b8035613d9981613eb7565b600060c08284031215613ee257600080fd5b60405160a081018181106001600160401b0382111715613f0457613f04613d9e565b6040529050808235613f1581613d79565b81526020830135613f2581613e67565b6020820152613f378460408501613e87565b60408201526080830135613f4a81613eb7565b606082015260a0830135613f5d81613e67565b6080919091015292915050565b60008060e08385031215613f7d57600080fd5b8235613f8881613d79565b9150613f978460208501613ed0565b90509250929050565b60ff81168114613d0157600080fd5b600060208284031215613fc157600080fd5b813561252e81613fa0565b60008060408385031215613fdf57600080fd5b8235613fea81613d79565b91506020830135613ffa81613fa0565b809150509250929050565b60005b83811015614020578181015183820152602001614008565b50506000910152565b60008151808452614041816020860160208601614005565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161409960a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526140df610120840182614029565b905082810360208401526140f38185614029565b95945050505050565b6000806040838503121561410f57600080fd5b823561411a81613e67565b91506020830135613ffa81613eb7565b63ffffffff81168114613d0157600080fd5b600082601f83011261414d57600080fd5b81356001600160401b038082111561416757614167613d9e565b604051601f8301601f19908116603f0116810190828211818310171561418f5761418f613d9e565b816040528381528660208588010111156141a857600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff81168114613d9957600080fd5b6000608082840312156141ef57600080fd5b6141f7613ddc565b905081356142048161412a565b81526020828101359082015260408201356001600160401b0381111561422957600080fd5b6142358482850161413c565b604083015250614247606083016141c8565b606082015292915050565b6000806000806080858703121561426857600080fd5b843561427381613d79565b935060208501356142838161412a565b925060408501356001600160401b0381111561429e57600080fd5b6142aa878288016141dd565b92505060608501356142bb81613fa0565b939692955090935050565b60008082840360608112156142da57600080fd5b83356142e581613e67565b92506040601f19820112156142f957600080fd5b50614302613db4565b60208401358152604084013561431781613eb7565b6020820152919491935090915050565b6000806040838503121561433a57600080fd5b823561434581613d2e565b915060208301356001600160401b0381111561436057600080fd5b61436c8582860161413c565b9150509250929050565b6001600160c01b031981168114613d0157600080fd5b8035613d9981614376565b6000604082840312156143a957600080fd5b6143b1613db4565b905081356143be81613d79565b815260208201356001600160401b038111156143d957600080fd5b6143e58482850161413c565b60208301525092915050565b6000806040838503121561440457600080fd5b823561440f81614376565b915060208301356001600160401b0381111561442a57600080fd5b61436c85828601614397565b60006020828403121561444857600080fd5b813561252e81613e67565b60008060006060848603121561446857600080fd5b833561447381613d79565b925060208401356144838161412a565b915060408401356001600160401b0381111561449e57600080fd5b6144aa868287016141dd565b9150509250925092565b6000602082840312156144c657600080fd5b813561252e81613d79565b60208152600061252e6020830184614029565b600061016082840312156144f757600080fd5b6144ff613dfe565b905061450a82613d8e565b815261451860208301613e7c565b6020820152604082013560408201526145348360608401613e87565b60608201526145468360a08401613e87565b60808201526145588360e08401613e87565b60a082015261456a6101208301613ec5565b60c082015261457c6101408301613e7c565b60e082015292915050565b600080610180838503121561459b57600080fd5b82356145a681613d79565b9150613f9784602085016144e4565b600061020082840312156145c857600080fd5b6145d0613e21565b90506145db82613e7c565b81526145e960208301613e7c565b60208201526145fa60408301613d8e565b604082015261460b60608301613d8e565b606082015261461d8360808401613e87565b608082015261462f8360c08401613e87565b60a082015261010061464384828501613e87565b60c0830152614656846101408501613e87565b60e0830152614669846101808501613e87565b9082015261467b836101c08401613e87565b61012082015292915050565b6000806000610240848603121561469d57600080fd5b83356146a881613d79565b92506146b785602086016145b5565b91506102208401356146c881613fa0565b809150509250925092565b60008061022083850312156146e757600080fd5b82356146f281613d79565b9150613f9784602085016145b5565b60006080828403121561471357600080fd5b61471b613ddc565b9050813581526020820135602082015260408201356001600160401b0381111561422957600080fd5b6000806000806080858703121561475a57600080fd5b843561476581613d79565b935060208501356147758161412a565b925060408501356001600160401b0381111561479057600080fd5b6142aa87828801614701565b600080604083850312156147af57600080fd5b8235613fea81614376565b8151815260208083015115159082015260408101610b6d565b600080604083850312156147e657600080fd5b8235613fea81613d2e565b6000610120828403121561480457600080fd5b61480c613dfe565b905061481782613d8e565b81526148268360208401613e87565b602082015260608201356001600160401b0381111561484457600080fd5b6148508482850161413c565b6040830152506080820135606082015260a0820135608082015260c082013560a082015261488060e083016141c8565b60c082015261457c61010083016141c8565b600080604083850312156148a557600080fd5b82356148b081613d79565b915060208301356001600160401b038111156148cb57600080fd5b61436c858286016147f1565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526149336020820183516148d7565b6000602083015160c08084015261494d60e0840182614029565b949350505050565b60008060006060848603121561496a57600080fd5b833561497581613d2e565b925060208401356001600160401b0381111561499057600080fd5b61499c8682870161413c565b92505060408401356146c881613fa0565b6000806000606084860312156149c257600080fd5b83356149cd81613d79565b925060208401356001600160401b038111156149e857600080fd5b61499c868287016147f1565b60008060008060808587031215614a0a57600080fd5b8435614a1581613e67565b93506020850135614a2581613e67565b92506040850135614a3581613d79565b915060608501356142bb81613e67565b803561ffff81168114613d9957600080fd5b60006102008284031215614a6a57600080fd5b614a72613e44565b9050614a7d82613d8e565b8152614a8b60208301613d8e565b6020820152614a9c6040830161438c565b6040820152614aad6060830161438c565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115614af657600080fd5b614b028683870161413c565b83850152610120925082850135915080821115614b1e57600080fd5b50614b2b8582860161413c565b828401525050610140614b3f818401614a45565b90820152610160614b51838201614a45565b9082015261018082810135908201526101a0614b6e8184016141c8565b908201526101c0614b808382016141c8565b908201526101e0614b928382016141c8565b9082015292915050565b600080600060608486031215614bb157600080fd5b8335614bbc81613d79565b925060208401356001600160401b03811115614bd757600080fd5b61499c86828701614a57565b600080600060608486031215614bf857600080fd5b8335614c0381613d79565b92506020840135614c138161412a565b915060408401356001600160401b03811115614c2e57600080fd5b6144aa86828701614701565b60a08101610b6d82846148d7565b600080600060608486031215614c5d57600080fd5b8335614c6881614376565b925060208401356001600160401b03811115614c8357600080fd5b61499c86828701614397565b600080600060608486031215614ca457600080fd5b8335614caf81613fa0565b92506020840135614cbf81613fa0565b915060408401356146c881613fa0565b60008060408385031215614ce257600080fd5b8235614ced81613d2e565b91506020830135613ffa81613e67565b60008060408385031215614d1057600080fd5b8235614d1b81613d79565b915060208301356001600160401b03811115614d3657600080fd5b61436c85828601614a57565b60008060006101a08486031215614d5857600080fd5b8335614d6381613d79565b9250614d7285602086016144e4565b91506101808401356146c881613fa0565b60008060006101008486031215614d9957600080fd5b8335614da481613d79565b9250614db38560208601613ed0565b915060e08401356146c881613fa0565b60008060408385031215614dd657600080fd5b8235614de181613d2e565b946020939093013593505050565b60ff1981168114613d0157600080fd5b60008060408385031215614e1257600080fd5b8235614e1d81613fa0565b91506020830135613ffa81614def565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c90821680614ea157607f821691505b602082108103614ec157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614ed957600080fd5b815161252e81613eb7565b600060208284031215614ef657600080fd5b815161252e81613d79565b6020815263ffffffff8251166020820152602082015160408201526000604083015160806060840152614f3760a0840182614029565b905064ffffffffff60608501511660808401528091505092915050565b600060208284031215614f6657600080fd5b5051919050565b602081526001600160601b0382511660208201526000602083015160408084015261494d6060840182614029565b600060208284031215614fad57600080fd5b815161252e81613d2e565b634e487b7160e01b600052603260045260246000fd5b81516001600160601b031681526020808301516001600160a01b0316908201526040808301519082015260608083015161016083019161501a9084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b038116610140840152613a96565b81516001600160a01b031681526102008101602083015161509d60208401826001600160a01b03169052565b5060408301516150b860408401826001600160601b03169052565b5060608301516150d360608401826001600160601b03169052565b5060808301516150f0608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006151268185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050613a96565b60006020828403121561518557600080fd5b815161252e81613e67565b6020815281516020820152602082015160408201526000604083015160806060840152614f3760a0840182614029565b6000604082840312156151d257600080fd5b6151da613db4565b8251815260208301516151ec81613eb7565b60208201529392505050565b602081526001600160601b0382511660208201526000602083015161522a604084018280518252602090810151910152565b506040830151610120806080850152615247610140850183614029565b9150606085015160a0850152608085015160c085015260a085015160e085015260c085015161528061010086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b602081526152b76020820183516001600160601b03169052565b600060208301516152d360408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261534b610220860184614029565b9250808601519050610140601f19868503018187015261536b8483614029565b9350808701519150506101606153868187018361ffff169052565b860151905061018061539d8682018361ffff169052565b8601516101a08681019190915286015190506101c06153c48187018364ffffffffff169052565b86015190506101e06153de8682018364ffffffffff169052565b86015164ffffffffff8116838701529050615293565b6000808585111561540457600080fd5b8386111561541157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156154465780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561120457600081815260208120601f850160051c810160208610156154b55750805b601f850160051c820191505b8181101561102d578281556001016154c1565b81516001600160401b038111156154ed576154ed613d9e565b615501816154fb8454614e8d565b8461548e565b602080601f831160018114615536576000841561551e5750858301515b600019600386901b1c1916600185901b17855561102d565b600085815260208120601f198616915b8281101561556557888601518255948401946001909101908401615546565b50858210156155835787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516155a5818460208701614005565b9190910192915050565b600080604083850312156155c257600080fd5b82516155cd81613eb7565b6020840151909250613ffa8161412a565b6000602082840312156155f057600080fd5b815161252e81613fa0565b60006020828403121561560d57600080fd5b815161252e81614def565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b6d57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b80516020808301519190811015614ec15760001960209190910360031b1b1691905056fea26469706673582212202851cff325939cac2b0ca67619ccad2552cded8cbc39404d1cda2152da07bd8664736f6c63430008140033",
1250
+ "bytecode": "0x6080604052348015600e575f80fd5b506135d38061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061024a575f3560e01c8063644c45e011610140578063b428b0b0116100bf578063d4cda0d811610084578063d4cda0d814610540578063d6d0a65b14610551578063e52ba1cb14610564578063f153f82414610577578063f4b4ee4d1461058a578063f7bc431c1461059d575f80fd5b8063b428b0b014610502578063b7d2b16214610515578063bf7e214f14610528578063c265172514610530578063c71e261f14610538575f80fd5b80638689231311610105578063868923131461049f578063893d20e8146104b25780638fb36037146104ba57806396cdfa3f146104db578063ada9652e146104ee575f80fd5b8063644c45e0146104315780636dddada41461044e57806376b707b71461045f5780637a9e5e4b146104795780637de45f131461048c575f80fd5b806323dff792116101cc57806340acebd91161019157806340acebd9146103df5780634f8b8aba146103e75780635ab1bd53146103fa5780635d9662891461040b5780635fa8aad41461041e575f80fd5b806323dff7921461038a57806326decd401461039d5780632d764ef8146103b0578063311adb68146103c3578063398e3d4c146103d4575f80fd5b8063138461e011610212578063138461e0146102ef57806315b745321461030f5780631eff4b22146103225780631f481d641461035757806322f3e2d414610382575f80fd5b806301ffc9a71461024e57806302cd30711461028f5780630e0c586d146102b45780630fec111c146102c557806311f77843146102da575b5f80fd5b61027a61025c366004612ae3565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6007546001600160a01b031661029c565b6102cd6105b0565b6040516102869190612b2c565b6102ed6102e8366004612bd4565b61076a565b005b6102f7610814565b6040516001600160601b039091168152602001610286565b6102f761031d366004612bef565b610823565b6103497f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b61036a610365366004612d02565b610865565b6040516001600160401b039091168152602001610286565b61027a610964565b6102ed610398366004612d6e565b6109db565b61027a6103ab366004612bd4565b610bf4565b6102ed6103be366004612db7565b610c6a565b6004546001600160a01b031661029c565b600a5460ff1661027a565b61027a610ce5565b6102f76103f5366004612de6565b610d5a565b6001546001600160a01b031661029c565b6102f7610419366004612e01565b610e21565b61036a61042c366004612e2d565b610f3e565b5f8051602061355e833981519152546001600160601b03166102f7565b6006546001600160a01b031661029c565b610467611038565b60405160ff9091168152602001610286565b6102ed610487366004612bd4565b6110a0565b6102ed61049a366004612de6565b611126565b6102ed6104ad366004612e79565b6111a3565b61029c611289565b6104c26113ba565b6040516001600160e01b03199091168152602001610286565b6102ed6104e9366004612e95565b6113ef565b6103495f8051602061355e83398151915281565b6102ed610510366004612eb0565b61145c565b6102ed610523366004612eb0565b611668565b61029c611874565b6102ed61188f565b600954610349565b6008546001600160a01b031661029c565b6102ed61055f366004612eda565b611937565b6102f7610572366004612de6565b611fe8565b6102ed610585366004613050565b6120a1565b6102ed610598366004613092565b612148565b6102ed6105ab366004612bd4565b6121f2565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561065c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068091906130ef565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8611289565b6001600160a01b031681526020018260010180546106e59061310a565b80601f01602080910402602001604051908101604052809291908181526020018280546107119061310a565b801561075c5780601f106107335761010080835404028352916020019161075c565b820191905f5260205f20905b81548152906001019060200180831161073f57829003601f168201915b505050505081525091505090565b610776335b5f366122b0565b61077e611289565b6001600160a01b0316336001600160a01b0316146107b65760405163086391f760e31b81523360048201526024015b60405180910390fd5b6003546040516311f7784360e01b81526001600160a01b038381166004830152909116906311f77843906024015b5f604051808303815f87803b1580156107fb575f80fd5b505af115801561080d573d5f803e3d5ffd5b5050505050565b5f61081e306123a6565b905090565b5f6009828154811061083757610837613142565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f61086f3361076f565b610877611289565b6001600160a01b0316336001600160a01b0316146108aa5760405163086391f760e31b81523360048201526024016107ad565b6003546040516307d2075960e21b81526001600160a01b0390911690631f481d64906108de90879087908790600401613156565b6020604051808303815f875af11580156108fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091e919061318d565b90507f6c5b02802c41c82ddc743a2761e8741ad590fa0bb7870ba7dfe66aa84050a2648185858560405161095594939291906131a8565b60405180910390a19392505050565b5f61096d611874565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d591906131ef565b15905090565b6109e43361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa158015610a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5c91906131ef565b610a8457604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33610a8d611289565b6001600160a01b0316816001600160a01b031614610b36576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd191610ad691869186910161320a565b602060405180830381865afa158015610af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1591906131ef565b610b36578181604051631a94665f60e31b81526004016107ad92919061320a565b6003546040516311effbc960e11b81526001600160401b038616600482015284151560248201526001600160a01b03909116906323dff792906044015f604051808303815f87803b158015610b89575f80fd5b505af1158015610b9b573d5f803e3d5ffd5b5050604080516001600160401b0388168152861515602082015233918101919091527ffb7c4cd23612bcc7ae3688074faa23835a443807c382c108d80ec75f8668db2f925060600190505b60405180910390a150505050565b60048054604051629b7b3560e61b81526001600160a01b03848116938201939093525f92909116906326decd4090602401602060405180830381865afa158015610c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906131ef565b92915050565b610c733361076f565b610c7b611289565b6001600160a01b0316336001600160a01b031614610cae5760405163086391f760e31b81523360048201526024016107ad565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024016107e4565b5f60045f9054906101000a90046001600160a01b03166001600160a01b031663a4e2d6346040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d36573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906131ef565b5f610d643361076f565b610d6c611289565b6001600160a01b0316336001600160a01b031614610d9f5760405163086391f760e31b81523360048201526024016107ad565b600354604051633dfa1a3d60e01b815233600482018190526001600160601b0385166024830152916001600160a01b031690633dfa1a3d906044016020604051808303815f875af1158015610df6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1a91906130ef565b9392505050565b5f610e2b3361076f565b610e33611289565b6001600160a01b0316336001600160a01b031614610e665760405163086391f760e31b81523360048201526024016107ad565b600254604051635d96628960e01b81526001600160a01b038581166004830152848116602483015290911690635d966289906044016020604051808303815f875af1158015610eb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610edb91906130ef565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b0381810219909316928416029190911790559392505050565b5f610f483361076f565b610f50611289565b6001600160a01b0316336001600160a01b031614610f835760405163086391f760e31b81523360048201526024016107ad565b6003546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610fb5908690869060040161322c565b6020604051808303815f875af1158015610fd1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff5919061318d565b90507f35040cf09b2f49908add8962a4116f3a23b1ce1e6ccc3b370a5205a3f128b86d83828460405161102a9392919061324f565b60405180910390a192915050565b5f611041611874565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e919061328a565b336110a9611874565b6001600160a01b0316816001600160a01b0316146110e45760405162d1953b60e31b81526001600160a01b03821660048201526024016107ad565b816001600160a01b03163b5f03611119576040516361798f2f60e11b81526001600160a01b03831660048201526024016107ad565b611122826125fc565b5050565b61112f3361076f565b611137611289565b6001600160a01b0316336001600160a01b03161461116a5760405163086391f760e31b81523360048201526024016107ad565b600354604051637de45f1360e01b81526001600160601b03831660048201526001600160a01b0390911690637de45f13906024016107e4565b6111ab611289565b6001600160a01b0316336001600160a01b0316146111de5760405163086391f760e31b81523360048201526024016107ad565b600354604051638689231360e01b81526001600160a01b0384811660048301528315156024830152909116906386892313906044015f604051808303815f87803b15801561122a575f80fd5b505af115801561123c573d5f803e3d5ffd5b5050604080516001600160a01b038616815284151560208201527fb3a503c4b7a90c1d036fcdec3757dc6b537f887a8c588606f78076e9fc3a78ca93500190505b60405180910390a15050565b5f805f8051602061355e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112f5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061131991906131ef565b156113a4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561137a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139e91906132a5565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061357e83398151915280545f9190600160a01b900460ff166113e1575f61139e565b638fb3603760e01b91505090565b6113f7611289565b6001600160a01b0316336001600160a01b03161461142a5760405163086391f760e31b81523360048201526024016107ad565b6003546040516396cdfa3f60e01b815282151560048201526001600160a01b03909116906396cdfa3f906024016107e4565b6114653361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156114b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114dd91906131ef565b61150557604051635579019560e01b81526001600160401b03821660048201526024016107ad565b3361150e611289565b6001600160a01b0316816001600160a01b0316146115b7576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161155791869186910161320a565b602060405180830381865afa158015611572573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061159691906131ef565b6115b7578181604051631a94665f60e31b81526004016107ad92919061320a565b600354604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906115e9908790879060040161320a565b5f604051808303815f87803b158015611600575f80fd5b505af1158015611612573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527f2a47cfa3950f5163af56e954433a359d9c481d14f90d8db827d859f5e8641e1a92506060019050610be6565b6116713361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156116c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e991906131ef565b61171157604051635579019560e01b81526001600160401b03821660048201526024016107ad565b3361171a611289565b6001600160a01b0316816001600160a01b0316146117c3576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161176391869186910161320a565b602060405180830381865afa15801561177e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a291906131ef565b6117c3578181604051631a94665f60e31b81526004016107ad92919061320a565b600354604051635be958b160e11b81526001600160a01b039091169063b7d2b162906117f5908790879060040161320a565b5f604051808303815f87803b15801561180c575f80fd5b505af115801561181e573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527fbdd55b4d14c3bb8684d8b5a9a57d9e802f3da86c5cd871d4b868a77ef152d2b692506060019050610be6565b5f8051602061357e833981519152546001600160a01b031690565b6118983361076f565b6118a0611289565b6001600160a01b0316336001600160a01b0316146118d35760405163086391f760e31b81523360048201526024016107ad565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c26517256040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561191f575f80fd5b505af1158015611931573d5f803e3d5ffd5b50505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561197b5750825b90505f826001600160401b031660011480156119965750303b155b9050811580156119a4575080155b156119c25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119ec57845460ff60401b1916600160401b1785555b6001600160a01b038e16611a13576040516377dbcd1760e01b815260040160405180910390fd5b8d60045f6101000a8154816001600160a01b0302191690836001600160a01b03160217905550611b158e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9c91906132a5565b8a8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ad9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611afd91906130ef565b600a5f8c60405180602001604052805f815250612655565b8c60085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508b60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508960055f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060085f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611bf9575f80fd5b505af1158015611c0b573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c6e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9291906132a5565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611cd8575f80fd5b505af1158015611cea573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d7191906132a5565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611db7575f80fd5b505af1158015611dc9573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611e19575f80fd5b505af1158015611e2b573d5f803e3d5ffd5b50505050611e416001546001600160a01b031690565b6001600160a01b031663d39e6043600b6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611e95573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eb991906132a5565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611f2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5191906132a5565b600380546001600160a01b0319166001600160a01b0392909216919091179055600a805460ff1916871515179055611f926001622370f560e21b031961279c565b8315611fd857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b5f611ff23361076f565b611ffa611289565b6001600160a01b0316336001600160a01b03161461202d5760405163086391f760e31b81523360048201526024016107ad565b600354604051633fa5261560e01b81526001600160601b03841660048201526001600160a01b0390911690633fa52615906024016020604051808303815f875af115801561207d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906130ef565b6120aa3361076f565b6120b2611289565b6001600160a01b0316336001600160a01b0316146120e55760405163086391f760e31b81523360048201526024016107ad565b600354604051633c54fe0960e21b81526001600160a01b039091169063f153f824906121179085908590600401613324565b5f604051808303815f87803b15801561212e575f80fd5b505af1158015612140573d5f803e3d5ffd5b505050505050565b6121513361076f565b612159611289565b6001600160a01b0316336001600160a01b03161461218c5760405163086391f760e31b81523360048201526024016107ad565b60035460405163f4b4ee4d60e01b81526001600160a01b039091169063f4b4ee4d906121c090869086908690600401613347565b5f604051808303815f87803b1580156121d7575f80fd5b505af11580156121e9573d5f803e3d5ffd5b50505050505050565b6121fb3361076f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612241573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061226591906132a5565b6001600160a01b03161461228e576040516345789cf560e01b81523060048201526024016107ad565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f8051602061357e8339815191525f806122e86122cb611874565b87306122da60045f8a8c613379565b6122e3916133a0565b6127cf565b91509150816121405763ffffffff81161561238357825460ff60a01b1916600160a01b178355612316611874565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612345939291906133d8565b5f604051808303815f87803b15801561235c575f80fd5b505af115801561236e573d5f803e3d5ffd5b5050845460ff60a01b19168555506121409050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107ad565b5f805f8051602061355e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612412573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061243691906131ef565b156124625780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107ad565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156124b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124d891906131ef565b6125005760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107ad565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612552573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061257691906130ef565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906125c2611289565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f8051602061357e83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200161127d565b61265d6128d7565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156126b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126d791906131ef565b6126ff5760405163cf6935e560e01b81526001600160a01b03881660048201526024016107ad565b61270887612922565b6127128683612933565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016127818382613460565b50612792634a531f3360e01b61279c565b5050505050505050565b6127a46128d7565b6127cc816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161283d919061351a565b5f60405180830381855afa9150503d805f8114612875576040519150601f19603f3d011682016040523d82523d5f602084013e61287a565b606091505b509150915081156128cc5760408151106128ac57808060200190518101906128a29190613530565b90945092506128cc565b60208151106128cc57808060200190518101906128c991906131ef565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661292057604051631afcd79f60e31b815260040160405180910390fd5b565b61292a6128d7565b6127cc816129a9565b61293b6128d7565b6129436129ba565b61294c82612a02565b6001600160a01b0381166129735760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061355e83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6129b16128d7565b6127cc816125fc565b6129c26128d7565b6129206301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612a0a6128d7565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612a60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a8491906131ef565b612aac5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ad565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b0319811681146127cc575f80fd5b5f60208284031215612af3575f80fd5b8135610e1a81612ace565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612b74608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612bb8610100840182612afe565b949350505050565b6001600160a01b03811681146127cc575f80fd5b5f60208284031215612be4575f80fd5b8135610e1a81612bc0565b5f60208284031215612bff575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715612c3c57612c3c612c06565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612c6a57612c6a612c06565b604052919050565b5f82601f830112612c81575f80fd5b81356001600160401b03811115612c9a57612c9a612c06565b612cad601f8201601f1916602001612c42565b818152846020838601011115612cc1575f80fd5b816020850160208301375f918101602001919091529392505050565b6001600160401b03811681146127cc575f80fd5b63ffffffff811681146127cc575f80fd5b5f805f60608486031215612d14575f80fd5b83356001600160401b03811115612d29575f80fd5b612d3586828701612c72565b9350506020840135612d4681612cdd565b91506040840135612d5681612cf1565b809150509250925092565b80151581146127cc575f80fd5b5f8060408385031215612d7f575f80fd5b8235612d8a81612cdd565b91506020830135612d9a81612d61565b809150509250929050565b64ffffffffff811681146127cc575f80fd5b5f60208284031215612dc7575f80fd5b8135610e1a81612da5565b6001600160601b03811681146127cc575f80fd5b5f60208284031215612df6575f80fd5b8135610e1a81612dd2565b5f8060408385031215612e12575f80fd5b8235612e1d81612bc0565b91506020830135612d9a81612bc0565b5f8060408385031215612e3e575f80fd5b8235612e4981612bc0565b915060208301356001600160401b03811115612e63575f80fd5b612e6f85828601612c72565b9150509250929050565b5f8060408385031215612e8a575f80fd5b8235612d8a81612bc0565b5f60208284031215612ea5575f80fd5b8135610e1a81612d61565b5f8060408385031215612ec1575f80fd5b8235612e1d81612cdd565b60ff811681146127cc575f80fd5b5f805f805f805f805f6101208a8c031215612ef3575f80fd5b8935612efe81612bc0565b985060208a0135612f0e81612bc0565b975060408a0135612f1e81612bc0565b965060608a0135612f2e81612bc0565b955060808a0135612f3e81612bc0565b945060a08a0135612f4e81612bc0565b935060c08a0135612f5e81612ecc565b925060e08a0135612f6e81612bc0565b91506101008a0135612f7f81612d61565b809150509295985092959850929598565b5f82601f830112612f9f575f80fd5b81356001600160401b03811115612fb857612fb8612c06565b612fc760208260051b01612c42565b80828252602082019150602060608402860101925085831115612fe8575f80fd5b602085015b838110156130465760608188031215613004575f80fd5b61300c612c1a565b81358152602082013561301e81612ace565b6020820152604082013561303181612da5565b60408201528352602090920191606001612fed565b5095945050505050565b5f8060408385031215613061575f80fd5b823561306c81612bc0565b915060208301356001600160401b03811115613086575f80fd5b612e6f85828601612f90565b5f805f606084860312156130a4575f80fd5b83356130af81612bc0565b925060208401356130bf81612cdd565b915060408401356001600160401b038111156130d9575f80fd5b6130e586828701612f90565b9150509250925092565b5f602082840312156130ff575f80fd5b8151610e1a81612dd2565b600181811c9082168061311e57607f821691505b60208210810361313c57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b606081525f6131686060830186612afe565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f6020828403121561319d575f80fd5b8151610e1a81612cdd565b6001600160401b0385168152608060208201525f6131c96080830186612afe565b90506001600160401b038416604083015263ffffffff8316606083015295945050505050565b5f602082840312156131ff575f80fd5b8151610e1a81612d61565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6001600160a01b03831681526040602082018190525f90612bb890830184612afe565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f9061328190830184612afe565b95945050505050565b5f6020828403121561329a575f80fd5b8151610e1a81612ecc565b5f602082840312156132b5575f80fd5b8151610e1a81612bc0565b5f8151808452602084019350602083015f5b8281101561331a578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff1691880191909152606090960195909101906001016132d2565b5093949350505050565b6001600160a01b03831681526040602082018190525f90612bb8908301846132c0565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f90613281908301846132c0565b5f8085851115613387575f80fd5b83861115613393575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156133d1576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561345b57805f5260205f20601f840160051c8101602085101561343c5750805b601f840160051c820191505b8181101561080d575f8155600101613448565b505050565b81516001600160401b0381111561347957613479612c06565b61348d81613487845461310a565b84613417565b6020601f8211600181146134bf575f83156134a85750848201515b5f19600385901b1c1916600184901b17845561080d565b5f84815260208120601f198516915b828110156134ee57878501518255602094850194600190920191016134ce565b508482101561350b57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613541575f80fd5b825161354c81612d61565b6020840151909250612d9a81612cf156fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202272bc4c4f5ea21277aa0d9e641bb98bc51708b4b356e048cc58d7c1165fdc5464736f6c634300081a0033",
1251
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061024a575f3560e01c8063644c45e011610140578063b428b0b0116100bf578063d4cda0d811610084578063d4cda0d814610540578063d6d0a65b14610551578063e52ba1cb14610564578063f153f82414610577578063f4b4ee4d1461058a578063f7bc431c1461059d575f80fd5b8063b428b0b014610502578063b7d2b16214610515578063bf7e214f14610528578063c265172514610530578063c71e261f14610538575f80fd5b80638689231311610105578063868923131461049f578063893d20e8146104b25780638fb36037146104ba57806396cdfa3f146104db578063ada9652e146104ee575f80fd5b8063644c45e0146104315780636dddada41461044e57806376b707b71461045f5780637a9e5e4b146104795780637de45f131461048c575f80fd5b806323dff792116101cc57806340acebd91161019157806340acebd9146103df5780634f8b8aba146103e75780635ab1bd53146103fa5780635d9662891461040b5780635fa8aad41461041e575f80fd5b806323dff7921461038a57806326decd401461039d5780632d764ef8146103b0578063311adb68146103c3578063398e3d4c146103d4575f80fd5b8063138461e011610212578063138461e0146102ef57806315b745321461030f5780631eff4b22146103225780631f481d641461035757806322f3e2d414610382575f80fd5b806301ffc9a71461024e57806302cd30711461028f5780630e0c586d146102b45780630fec111c146102c557806311f77843146102da575b5f80fd5b61027a61025c366004612ae3565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6007546001600160a01b031661029c565b6102cd6105b0565b6040516102869190612b2c565b6102ed6102e8366004612bd4565b61076a565b005b6102f7610814565b6040516001600160601b039091168152602001610286565b6102f761031d366004612bef565b610823565b6103497f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b61036a610365366004612d02565b610865565b6040516001600160401b039091168152602001610286565b61027a610964565b6102ed610398366004612d6e565b6109db565b61027a6103ab366004612bd4565b610bf4565b6102ed6103be366004612db7565b610c6a565b6004546001600160a01b031661029c565b600a5460ff1661027a565b61027a610ce5565b6102f76103f5366004612de6565b610d5a565b6001546001600160a01b031661029c565b6102f7610419366004612e01565b610e21565b61036a61042c366004612e2d565b610f3e565b5f8051602061355e833981519152546001600160601b03166102f7565b6006546001600160a01b031661029c565b610467611038565b60405160ff9091168152602001610286565b6102ed610487366004612bd4565b6110a0565b6102ed61049a366004612de6565b611126565b6102ed6104ad366004612e79565b6111a3565b61029c611289565b6104c26113ba565b6040516001600160e01b03199091168152602001610286565b6102ed6104e9366004612e95565b6113ef565b6103495f8051602061355e83398151915281565b6102ed610510366004612eb0565b61145c565b6102ed610523366004612eb0565b611668565b61029c611874565b6102ed61188f565b600954610349565b6008546001600160a01b031661029c565b6102ed61055f366004612eda565b611937565b6102f7610572366004612de6565b611fe8565b6102ed610585366004613050565b6120a1565b6102ed610598366004613092565b612148565b6102ed6105ab366004612bd4565b6121f2565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561065c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068091906130ef565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8611289565b6001600160a01b031681526020018260010180546106e59061310a565b80601f01602080910402602001604051908101604052809291908181526020018280546107119061310a565b801561075c5780601f106107335761010080835404028352916020019161075c565b820191905f5260205f20905b81548152906001019060200180831161073f57829003601f168201915b505050505081525091505090565b610776335b5f366122b0565b61077e611289565b6001600160a01b0316336001600160a01b0316146107b65760405163086391f760e31b81523360048201526024015b60405180910390fd5b6003546040516311f7784360e01b81526001600160a01b038381166004830152909116906311f77843906024015b5f604051808303815f87803b1580156107fb575f80fd5b505af115801561080d573d5f803e3d5ffd5b5050505050565b5f61081e306123a6565b905090565b5f6009828154811061083757610837613142565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f61086f3361076f565b610877611289565b6001600160a01b0316336001600160a01b0316146108aa5760405163086391f760e31b81523360048201526024016107ad565b6003546040516307d2075960e21b81526001600160a01b0390911690631f481d64906108de90879087908790600401613156565b6020604051808303815f875af11580156108fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091e919061318d565b90507f6c5b02802c41c82ddc743a2761e8741ad590fa0bb7870ba7dfe66aa84050a2648185858560405161095594939291906131a8565b60405180910390a19392505050565b5f61096d611874565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d591906131ef565b15905090565b6109e43361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa158015610a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5c91906131ef565b610a8457604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33610a8d611289565b6001600160a01b0316816001600160a01b031614610b36576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd191610ad691869186910161320a565b602060405180830381865afa158015610af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1591906131ef565b610b36578181604051631a94665f60e31b81526004016107ad92919061320a565b6003546040516311effbc960e11b81526001600160401b038616600482015284151560248201526001600160a01b03909116906323dff792906044015f604051808303815f87803b158015610b89575f80fd5b505af1158015610b9b573d5f803e3d5ffd5b5050604080516001600160401b0388168152861515602082015233918101919091527ffb7c4cd23612bcc7ae3688074faa23835a443807c382c108d80ec75f8668db2f925060600190505b60405180910390a150505050565b60048054604051629b7b3560e61b81526001600160a01b03848116938201939093525f92909116906326decd4090602401602060405180830381865afa158015610c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906131ef565b92915050565b610c733361076f565b610c7b611289565b6001600160a01b0316336001600160a01b031614610cae5760405163086391f760e31b81523360048201526024016107ad565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024016107e4565b5f60045f9054906101000a90046001600160a01b03166001600160a01b031663a4e2d6346040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d36573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906131ef565b5f610d643361076f565b610d6c611289565b6001600160a01b0316336001600160a01b031614610d9f5760405163086391f760e31b81523360048201526024016107ad565b600354604051633dfa1a3d60e01b815233600482018190526001600160601b0385166024830152916001600160a01b031690633dfa1a3d906044016020604051808303815f875af1158015610df6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1a91906130ef565b9392505050565b5f610e2b3361076f565b610e33611289565b6001600160a01b0316336001600160a01b031614610e665760405163086391f760e31b81523360048201526024016107ad565b600254604051635d96628960e01b81526001600160a01b038581166004830152848116602483015290911690635d966289906044016020604051808303815f875af1158015610eb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610edb91906130ef565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b0381810219909316928416029190911790559392505050565b5f610f483361076f565b610f50611289565b6001600160a01b0316336001600160a01b031614610f835760405163086391f760e31b81523360048201526024016107ad565b6003546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610fb5908690869060040161322c565b6020604051808303815f875af1158015610fd1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff5919061318d565b90507f35040cf09b2f49908add8962a4116f3a23b1ce1e6ccc3b370a5205a3f128b86d83828460405161102a9392919061324f565b60405180910390a192915050565b5f611041611874565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e919061328a565b336110a9611874565b6001600160a01b0316816001600160a01b0316146110e45760405162d1953b60e31b81526001600160a01b03821660048201526024016107ad565b816001600160a01b03163b5f03611119576040516361798f2f60e11b81526001600160a01b03831660048201526024016107ad565b611122826125fc565b5050565b61112f3361076f565b611137611289565b6001600160a01b0316336001600160a01b03161461116a5760405163086391f760e31b81523360048201526024016107ad565b600354604051637de45f1360e01b81526001600160601b03831660048201526001600160a01b0390911690637de45f13906024016107e4565b6111ab611289565b6001600160a01b0316336001600160a01b0316146111de5760405163086391f760e31b81523360048201526024016107ad565b600354604051638689231360e01b81526001600160a01b0384811660048301528315156024830152909116906386892313906044015f604051808303815f87803b15801561122a575f80fd5b505af115801561123c573d5f803e3d5ffd5b5050604080516001600160a01b038616815284151560208201527fb3a503c4b7a90c1d036fcdec3757dc6b537f887a8c588606f78076e9fc3a78ca93500190505b60405180910390a15050565b5f805f8051602061355e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112f5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061131991906131ef565b156113a4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561137a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139e91906132a5565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061357e83398151915280545f9190600160a01b900460ff166113e1575f61139e565b638fb3603760e01b91505090565b6113f7611289565b6001600160a01b0316336001600160a01b03161461142a5760405163086391f760e31b81523360048201526024016107ad565b6003546040516396cdfa3f60e01b815282151560048201526001600160a01b03909116906396cdfa3f906024016107e4565b6114653361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156114b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114dd91906131ef565b61150557604051635579019560e01b81526001600160401b03821660048201526024016107ad565b3361150e611289565b6001600160a01b0316816001600160a01b0316146115b7576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161155791869186910161320a565b602060405180830381865afa158015611572573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061159691906131ef565b6115b7578181604051631a94665f60e31b81526004016107ad92919061320a565b600354604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906115e9908790879060040161320a565b5f604051808303815f87803b158015611600575f80fd5b505af1158015611612573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527f2a47cfa3950f5163af56e954433a359d9c481d14f90d8db827d859f5e8641e1a92506060019050610be6565b6116713361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156116c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e991906131ef565b61171157604051635579019560e01b81526001600160401b03821660048201526024016107ad565b3361171a611289565b6001600160a01b0316816001600160a01b0316146117c3576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161176391869186910161320a565b602060405180830381865afa15801561177e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a291906131ef565b6117c3578181604051631a94665f60e31b81526004016107ad92919061320a565b600354604051635be958b160e11b81526001600160a01b039091169063b7d2b162906117f5908790879060040161320a565b5f604051808303815f87803b15801561180c575f80fd5b505af115801561181e573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527fbdd55b4d14c3bb8684d8b5a9a57d9e802f3da86c5cd871d4b868a77ef152d2b692506060019050610be6565b5f8051602061357e833981519152546001600160a01b031690565b6118983361076f565b6118a0611289565b6001600160a01b0316336001600160a01b0316146118d35760405163086391f760e31b81523360048201526024016107ad565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c26517256040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561191f575f80fd5b505af1158015611931573d5f803e3d5ffd5b50505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561197b5750825b90505f826001600160401b031660011480156119965750303b155b9050811580156119a4575080155b156119c25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119ec57845460ff60401b1916600160401b1785555b6001600160a01b038e16611a13576040516377dbcd1760e01b815260040160405180910390fd5b8d60045f6101000a8154816001600160a01b0302191690836001600160a01b03160217905550611b158e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9c91906132a5565b8a8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ad9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611afd91906130ef565b600a5f8c60405180602001604052805f815250612655565b8c60085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508b60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508960055f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060085f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611bf9575f80fd5b505af1158015611c0b573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c6e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9291906132a5565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611cd8575f80fd5b505af1158015611cea573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d7191906132a5565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611db7575f80fd5b505af1158015611dc9573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611e19575f80fd5b505af1158015611e2b573d5f803e3d5ffd5b50505050611e416001546001600160a01b031690565b6001600160a01b031663d39e6043600b6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611e95573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eb991906132a5565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611f2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5191906132a5565b600380546001600160a01b0319166001600160a01b0392909216919091179055600a805460ff1916871515179055611f926001622370f560e21b031961279c565b8315611fd857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b5f611ff23361076f565b611ffa611289565b6001600160a01b0316336001600160a01b03161461202d5760405163086391f760e31b81523360048201526024016107ad565b600354604051633fa5261560e01b81526001600160601b03841660048201526001600160a01b0390911690633fa52615906024016020604051808303815f875af115801561207d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906130ef565b6120aa3361076f565b6120b2611289565b6001600160a01b0316336001600160a01b0316146120e55760405163086391f760e31b81523360048201526024016107ad565b600354604051633c54fe0960e21b81526001600160a01b039091169063f153f824906121179085908590600401613324565b5f604051808303815f87803b15801561212e575f80fd5b505af1158015612140573d5f803e3d5ffd5b505050505050565b6121513361076f565b612159611289565b6001600160a01b0316336001600160a01b03161461218c5760405163086391f760e31b81523360048201526024016107ad565b60035460405163f4b4ee4d60e01b81526001600160a01b039091169063f4b4ee4d906121c090869086908690600401613347565b5f604051808303815f87803b1580156121d7575f80fd5b505af11580156121e9573d5f803e3d5ffd5b50505050505050565b6121fb3361076f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612241573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061226591906132a5565b6001600160a01b03161461228e576040516345789cf560e01b81523060048201526024016107ad565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f8051602061357e8339815191525f806122e86122cb611874565b87306122da60045f8a8c613379565b6122e3916133a0565b6127cf565b91509150816121405763ffffffff81161561238357825460ff60a01b1916600160a01b178355612316611874565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612345939291906133d8565b5f604051808303815f87803b15801561235c575f80fd5b505af115801561236e573d5f803e3d5ffd5b5050845460ff60a01b19168555506121409050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107ad565b5f805f8051602061355e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612412573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061243691906131ef565b156124625780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107ad565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156124b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124d891906131ef565b6125005760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107ad565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612552573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061257691906130ef565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906125c2611289565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f8051602061357e83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200161127d565b61265d6128d7565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156126b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126d791906131ef565b6126ff5760405163cf6935e560e01b81526001600160a01b03881660048201526024016107ad565b61270887612922565b6127128683612933565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016127818382613460565b50612792634a531f3360e01b61279c565b5050505050505050565b6127a46128d7565b6127cc816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161283d919061351a565b5f60405180830381855afa9150503d805f8114612875576040519150601f19603f3d011682016040523d82523d5f602084013e61287a565b606091505b509150915081156128cc5760408151106128ac57808060200190518101906128a29190613530565b90945092506128cc565b60208151106128cc57808060200190518101906128c991906131ef565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661292057604051631afcd79f60e31b815260040160405180910390fd5b565b61292a6128d7565b6127cc816129a9565b61293b6128d7565b6129436129ba565b61294c82612a02565b6001600160a01b0381166129735760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061355e83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6129b16128d7565b6127cc816125fc565b6129c26128d7565b6129206301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612a0a6128d7565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612a60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a8491906131ef565b612aac5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ad565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b0319811681146127cc575f80fd5b5f60208284031215612af3575f80fd5b8135610e1a81612ace565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612b74608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612bb8610100840182612afe565b949350505050565b6001600160a01b03811681146127cc575f80fd5b5f60208284031215612be4575f80fd5b8135610e1a81612bc0565b5f60208284031215612bff575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715612c3c57612c3c612c06565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612c6a57612c6a612c06565b604052919050565b5f82601f830112612c81575f80fd5b81356001600160401b03811115612c9a57612c9a612c06565b612cad601f8201601f1916602001612c42565b818152846020838601011115612cc1575f80fd5b816020850160208301375f918101602001919091529392505050565b6001600160401b03811681146127cc575f80fd5b63ffffffff811681146127cc575f80fd5b5f805f60608486031215612d14575f80fd5b83356001600160401b03811115612d29575f80fd5b612d3586828701612c72565b9350506020840135612d4681612cdd565b91506040840135612d5681612cf1565b809150509250925092565b80151581146127cc575f80fd5b5f8060408385031215612d7f575f80fd5b8235612d8a81612cdd565b91506020830135612d9a81612d61565b809150509250929050565b64ffffffffff811681146127cc575f80fd5b5f60208284031215612dc7575f80fd5b8135610e1a81612da5565b6001600160601b03811681146127cc575f80fd5b5f60208284031215612df6575f80fd5b8135610e1a81612dd2565b5f8060408385031215612e12575f80fd5b8235612e1d81612bc0565b91506020830135612d9a81612bc0565b5f8060408385031215612e3e575f80fd5b8235612e4981612bc0565b915060208301356001600160401b03811115612e63575f80fd5b612e6f85828601612c72565b9150509250929050565b5f8060408385031215612e8a575f80fd5b8235612d8a81612bc0565b5f60208284031215612ea5575f80fd5b8135610e1a81612d61565b5f8060408385031215612ec1575f80fd5b8235612e1d81612cdd565b60ff811681146127cc575f80fd5b5f805f805f805f805f6101208a8c031215612ef3575f80fd5b8935612efe81612bc0565b985060208a0135612f0e81612bc0565b975060408a0135612f1e81612bc0565b965060608a0135612f2e81612bc0565b955060808a0135612f3e81612bc0565b945060a08a0135612f4e81612bc0565b935060c08a0135612f5e81612ecc565b925060e08a0135612f6e81612bc0565b91506101008a0135612f7f81612d61565b809150509295985092959850929598565b5f82601f830112612f9f575f80fd5b81356001600160401b03811115612fb857612fb8612c06565b612fc760208260051b01612c42565b80828252602082019150602060608402860101925085831115612fe8575f80fd5b602085015b838110156130465760608188031215613004575f80fd5b61300c612c1a565b81358152602082013561301e81612ace565b6020820152604082013561303181612da5565b60408201528352602090920191606001612fed565b5095945050505050565b5f8060408385031215613061575f80fd5b823561306c81612bc0565b915060208301356001600160401b03811115613086575f80fd5b612e6f85828601612f90565b5f805f606084860312156130a4575f80fd5b83356130af81612bc0565b925060208401356130bf81612cdd565b915060408401356001600160401b038111156130d9575f80fd5b6130e586828701612f90565b9150509250925092565b5f602082840312156130ff575f80fd5b8151610e1a81612dd2565b600181811c9082168061311e57607f821691505b60208210810361313c57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b606081525f6131686060830186612afe565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f6020828403121561319d575f80fd5b8151610e1a81612cdd565b6001600160401b0385168152608060208201525f6131c96080830186612afe565b90506001600160401b038416604083015263ffffffff8316606083015295945050505050565b5f602082840312156131ff575f80fd5b8151610e1a81612d61565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6001600160a01b03831681526040602082018190525f90612bb890830184612afe565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f9061328190830184612afe565b95945050505050565b5f6020828403121561329a575f80fd5b8151610e1a81612ecc565b5f602082840312156132b5575f80fd5b8151610e1a81612bc0565b5f8151808452602084019350602083015f5b8281101561331a578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff1691880191909152606090960195909101906001016132d2565b5093949350505050565b6001600160a01b03831681526040602082018190525f90612bb8908301846132c0565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f90613281908301846132c0565b5f8085851115613387575f80fd5b83861115613393575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156133d1576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561345b57805f5260205f20601f840160051c8101602085101561343c5750805b601f840160051c820191505b8181101561080d575f8155600101613448565b505050565b81516001600160401b0381111561347957613479612c06565b61348d81613487845461310a565b84613417565b6020601f8211600181146134bf575f83156134a85750848201515b5f19600385901b1c1916600184901b17845561080d565b5f84815260208120601f198516915b828110156134ee57878501518255602094850194600190920191016134ce565b508482101561350b57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613541575f80fd5b825161354c81612d61565b6020840151909250612d9a81612cf156fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202272bc4c4f5ea21277aa0d9e641bb98bc51708b4b356e048cc58d7c1165fdc5464736f6c634300081a0033",
3145
1252
  "linkReferences": {
3146
- "contracts/types/Key32.sol": {
3147
- "Key32Lib": [
3148
- {
3149
- "length": 20,
3150
- "start": 4562
3151
- },
3152
- {
3153
- "length": 20,
3154
- "start": 5330
3155
- },
3156
- {
3157
- "length": 20,
3158
- "start": 5449
3159
- },
3160
- {
3161
- "length": 20,
3162
- "start": 11447
3163
- },
3164
- {
3165
- "length": 20,
3166
- "start": 16553
3167
- },
3168
- {
3169
- "length": 20,
3170
- "start": 18691
3171
- },
3172
- {
3173
- "length": 20,
3174
- "start": 19440
3175
- },
3176
- {
3177
- "length": 20,
3178
- "start": 19556
3179
- },
3180
- {
3181
- "length": 20,
3182
- "start": 20294
3183
- },
1253
+ "contracts/shared/ContractLib.sol": {
1254
+ "ContractLib": [
3184
1255
  {
3185
1256
  "length": 20,
3186
- "start": 20410
1257
+ "start": 9879
3187
1258
  },
3188
1259
  {
3189
1260
  "length": 20,
3190
- "start": 21142
3191
- },
3192
- {
3193
- "length": 20,
3194
- "start": 21258
3195
- },
3196
- {
3197
- "length": 20,
3198
- "start": 21440
3199
- },
3200
- {
3201
- "length": 20,
3202
- "start": 21556
1261
+ "start": 10820
3203
1262
  }
3204
1263
  ]
3205
1264
  },
3206
- "contracts/types/NftId.sol": {
1265
+ "contracts/type/NftId.sol": {
3207
1266
  "NftIdLib": [
3208
1267
  {
3209
1268
  "length": 20,
3210
- "start": 10443
3211
- },
3212
- {
3213
- "length": 20,
3214
- "start": 12203
3215
- },
3216
- {
3217
- "length": 20,
3218
- "start": 13334
3219
- },
3220
- {
3221
- "length": 20,
3222
- "start": 14666
3223
- },
3224
- {
3225
- "length": 20,
3226
- "start": 17120
3227
- }
3228
- ]
3229
- },
3230
- "contracts/types/ObjectType.sol": {
3231
- "ObjectTypeLib": [
3232
- {
3233
- "length": 20,
3234
- "start": 4686
3235
- },
3236
- {
3237
- "length": 20,
3238
- "start": 18812
3239
- }
3240
- ]
3241
- },
3242
- "contracts/types/RiskId.sol": {
3243
- "RiskIdLib": [
3244
- {
3245
- "length": 20,
3246
- "start": 11286
3247
- },
3248
- {
3249
- "length": 20,
3250
- "start": 12944
3251
- },
3252
- {
3253
- "length": 20,
3254
- "start": 14751
3255
- }
3256
- ]
3257
- },
3258
- "contracts/types/RoleId.sol": {
3259
- "RoleIdLib": [
3260
- {
3261
- "length": 20,
3262
- "start": 2209
3263
- },
3264
- {
3265
- "length": 20,
3266
- "start": 2380
3267
- },
3268
- {
3269
- "length": 20,
3270
- "start": 3632
3271
- },
3272
- {
3273
- "length": 20,
3274
- "start": 3957
3275
- },
3276
- {
3277
- "length": 20,
3278
- "start": 11738
3279
- },
3280
- {
3281
- "length": 20,
3282
- "start": 13071
3283
- },
3284
- {
3285
- "length": 20,
3286
- "start": 13157
3287
- },
3288
- {
3289
- "length": 20,
3290
- "start": 14209
3291
- },
3292
- {
3293
- "length": 20,
3294
- "start": 14377
3295
- },
3296
- {
3297
- "length": 20,
3298
- "start": 15353
3299
- },
3300
- {
3301
- "length": 20,
3302
- "start": 15766
3303
- },
3304
- {
3305
- "length": 20,
3306
- "start": 17894
3307
- }
3308
- ]
3309
- },
3310
- "contracts/types/StateId.sol": {
3311
- "StateIdLib": [
3312
- {
3313
- "length": 20,
3314
- "start": 4158
3315
- },
3316
- {
3317
- "length": 20,
3318
- "start": 4908
3319
- },
3320
- {
3321
- "length": 20,
3322
- "start": 6025
3323
- },
3324
- {
3325
- "length": 20,
3326
- "start": 12035
3327
- },
3328
- {
3329
- "length": 20,
3330
- "start": 14905
3331
- },
3332
- {
3333
- "length": 20,
3334
- "start": 16159
3335
- },
3336
- {
3337
- "length": 20,
3338
- "start": 19029
3339
- },
3340
- {
3341
- "length": 20,
3342
- "start": 19748
1269
+ "start": 1587
3343
1270
  },
3344
1271
  {
3345
1272
  "length": 20,
3346
- "start": 19968
1273
+ "start": 4825
3347
1274
  },
3348
1275
  {
3349
1276
  "length": 20,
3350
- "start": 20568
3351
- },
3352
- {
3353
- "length": 20,
3354
- "start": 20788
1277
+ "start": 9206
3355
1278
  }
3356
1279
  ]
3357
1280
  }
3358
1281
  },
3359
1282
  "deployedLinkReferences": {
3360
- "contracts/types/Key32.sol": {
3361
- "Key32Lib": [
3362
- {
3363
- "length": 20,
3364
- "start": 4479
3365
- },
3366
- {
3367
- "length": 20,
3368
- "start": 9585
3369
- },
3370
- {
3371
- "length": 20,
3372
- "start": 11723
3373
- },
3374
- {
3375
- "length": 20,
3376
- "start": 12472
3377
- },
3378
- {
3379
- "length": 20,
3380
- "start": 12588
3381
- },
3382
- {
3383
- "length": 20,
3384
- "start": 13326
3385
- },
3386
- {
3387
- "length": 20,
3388
- "start": 13442
3389
- },
1283
+ "contracts/shared/ContractLib.sol": {
1284
+ "ContractLib": [
3390
1285
  {
3391
1286
  "length": 20,
3392
- "start": 14174
1287
+ "start": 9851
3393
1288
  },
3394
1289
  {
3395
1290
  "length": 20,
3396
- "start": 14290
3397
- },
3398
- {
3399
- "length": 20,
3400
- "start": 14472
3401
- },
3402
- {
3403
- "length": 20,
3404
- "start": 14588
1291
+ "start": 10792
3405
1292
  }
3406
1293
  ]
3407
1294
  },
3408
- "contracts/types/NftId.sol": {
1295
+ "contracts/type/NftId.sol": {
3409
1296
  "NftIdLib": [
3410
1297
  {
3411
1298
  "length": 20,
3412
- "start": 3475
3413
- },
3414
- {
3415
- "length": 20,
3416
- "start": 5235
3417
- },
3418
- {
3419
- "length": 20,
3420
- "start": 6366
3421
- },
3422
- {
3423
- "length": 20,
3424
- "start": 7698
3425
- },
3426
- {
3427
- "length": 20,
3428
- "start": 10152
3429
- }
3430
- ]
3431
- },
3432
- "contracts/types/ObjectType.sol": {
3433
- "ObjectTypeLib": [
3434
- {
3435
- "length": 20,
3436
- "start": 11844
3437
- }
3438
- ]
3439
- },
3440
- "contracts/types/RiskId.sol": {
3441
- "RiskIdLib": [
3442
- {
3443
- "length": 20,
3444
- "start": 4318
3445
- },
3446
- {
3447
- "length": 20,
3448
- "start": 5976
3449
- },
3450
- {
3451
- "length": 20,
3452
- "start": 7783
3453
- }
3454
- ]
3455
- },
3456
- "contracts/types/RoleId.sol": {
3457
- "RoleIdLib": [
3458
- {
3459
- "length": 20,
3460
- "start": 4770
3461
- },
3462
- {
3463
- "length": 20,
3464
- "start": 6103
3465
- },
3466
- {
3467
- "length": 20,
3468
- "start": 6189
3469
- },
3470
- {
3471
- "length": 20,
3472
- "start": 7241
3473
- },
3474
- {
3475
- "length": 20,
3476
- "start": 7409
3477
- },
3478
- {
3479
- "length": 20,
3480
- "start": 8385
3481
- },
3482
- {
3483
- "length": 20,
3484
- "start": 8798
3485
- },
3486
- {
3487
- "length": 20,
3488
- "start": 10926
3489
- }
3490
- ]
3491
- },
3492
- "contracts/types/StateId.sol": {
3493
- "StateIdLib": [
3494
- {
3495
- "length": 20,
3496
- "start": 5067
3497
- },
3498
- {
3499
- "length": 20,
3500
- "start": 7937
3501
- },
3502
- {
3503
- "length": 20,
3504
- "start": 9191
3505
- },
3506
- {
3507
- "length": 20,
3508
- "start": 12061
3509
- },
3510
- {
3511
- "length": 20,
3512
- "start": 12780
3513
- },
3514
- {
3515
- "length": 20,
3516
- "start": 13000
1299
+ "start": 1559
3517
1300
  },
3518
1301
  {
3519
1302
  "length": 20,
3520
- "start": 13600
1303
+ "start": 4797
3521
1304
  },
3522
1305
  {
3523
1306
  "length": 20,
3524
- "start": 13820
1307
+ "start": 9178
3525
1308
  }
3526
1309
  ]
3527
1310
  }