@etherisc/gif-next 0.0.2-d288ca9-933 → 0.0.2-d2ffc4d-802

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