@etherisc/gif-next 0.0.2-fbe8e04-715 → 0.0.2-fc41a4e-906

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