@etherisc/gif-next 0.0.2-ee7cb16-393 → 0.0.2-ef15ccf-423

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