@etherisc/gif-next 0.0.2-f634e5c-828 → 0.0.2-f677999-878

Sign up to get free protection for your applications and to get access to all the features.
Files changed (442) hide show
  1. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  3. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  5. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  7. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +148 -62
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +1 -1
  10. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
  12. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +149 -21
  14. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +82 -12
  17. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +68 -13
  19. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +79 -67
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +152 -33
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +51 -39
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +231 -186
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +57 -51
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +38 -26
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +119 -73
  36. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  38. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +102 -42
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +127 -40
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  42. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +257 -190
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  44. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +152 -33
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +150 -56
  48. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  51. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +95 -63
  52. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  53. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +111 -48
  54. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  57. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +315 -150
  58. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
  60. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  61. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +88 -45
  62. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  63. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +54 -21
  64. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  65. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +53 -3
  66. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  67. package/artifacts/contracts/instance/Instance.sol/Instance.json +80 -40
  68. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +344 -99
  70. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +127 -40
  72. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +351 -198
  74. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +65 -58
  76. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  77. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +20 -22
  78. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +422 -352
  80. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  81. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +96 -53
  82. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  83. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  84. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  85. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  86. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  87. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  89. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  91. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  92. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  93. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  94. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  95. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  96. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  98. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  99. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +68 -56
  101. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +126 -35
  103. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +38 -26
  106. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +27 -3
  108. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +52 -40
  110. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +75 -68
  112. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +25 -27
  114. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  115. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +51 -39
  116. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  117. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +127 -40
  118. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  119. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +102 -201
  120. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +33 -55
  122. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  123. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +38 -80
  124. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  125. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +38 -26
  126. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  127. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +120 -175
  128. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  129. package/artifacts/contracts/pool/Pool.sol/Pool.json +51 -39
  130. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  131. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  132. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  133. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +236 -281
  134. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  135. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +61 -47
  136. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  137. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +57 -50
  138. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  139. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +16 -18
  140. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  141. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +157 -130
  142. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  143. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +152 -33
  144. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  145. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +244 -187
  146. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  147. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +55 -65
  148. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  149. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +27 -3
  150. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  151. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +142 -20
  152. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  153. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +105 -68
  154. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  155. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +27 -3
  156. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  157. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +144 -117
  158. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +37 -7
  160. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  161. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +193 -173
  162. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  163. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  164. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +45 -47
  166. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  167. package/artifacts/contracts/product/PricingService.sol/PricingService.json +85 -78
  168. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  169. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +31 -33
  170. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  171. package/artifacts/contracts/product/Product.sol/Product.json +157 -130
  172. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  173. package/artifacts/contracts/product/RiskService.sol/RiskService.json +102 -81
  174. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +33 -19
  176. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  177. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  178. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +26 -2
  179. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  180. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +31 -7
  181. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  182. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  183. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  184. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  185. package/artifacts/contracts/registry/Registry.sol/Registry.json +64 -40
  186. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  187. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +250 -221
  188. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  189. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +51 -44
  190. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  191. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +11 -13
  192. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  193. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  194. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  196. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +315 -49
  198. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
  200. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  202. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  203. package/artifacts/contracts/shared/Component.sol/Component.json +51 -39
  204. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  205. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +105 -442
  206. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  207. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +40 -70
  208. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  209. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +27 -16
  210. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  211. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +57 -4
  212. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  214. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  215. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  216. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  217. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +38 -26
  218. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +27 -291
  220. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +38 -26
  222. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  223. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  224. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +120 -1
  228. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  229. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IService.sol/IService.json +27 -3
  231. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  232. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  233. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +51 -39
  234. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  235. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  236. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  237. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  238. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  240. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  241. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  242. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  243. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +118 -62
  244. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  245. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  246. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  247. package/artifacts/contracts/shared/Service.sol/Service.json +27 -16
  248. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  249. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +63 -162
  250. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  251. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +118 -29
  252. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  253. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +32 -32
  254. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  255. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +38 -26
  256. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  257. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +56 -3
  258. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  259. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +32 -32
  260. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  261. package/artifacts/contracts/staking/Staking.sol/Staking.json +90 -57
  262. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  263. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  264. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  265. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +27 -19
  266. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  267. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +4 -4
  268. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  269. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +87 -51
  270. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  271. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +18 -20
  272. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  273. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +128 -128
  274. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  275. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +22 -22
  276. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  277. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  280. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  281. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  282. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  283. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  284. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  285. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  286. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  287. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  288. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  290. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  291. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  292. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  294. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  296. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  298. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  300. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +30 -6
  302. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
  304. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  307. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  309. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  313. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  316. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +47 -2
  318. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  319. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  320. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +2 -2
  321. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  322. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  323. package/contracts/accounting/AccountingService.sol +262 -0
  324. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  325. package/contracts/accounting/IAccountingService.sol +45 -0
  326. package/contracts/authorization/AccessAdmin.sol +156 -82
  327. package/contracts/authorization/AccessManagerCloneable.sol +136 -3
  328. package/contracts/authorization/Authorization.sol +277 -229
  329. package/contracts/authorization/IAccessAdmin.sol +13 -7
  330. package/contracts/authorization/IAuthorization.sol +15 -1
  331. package/contracts/distribution/BasicDistribution.sol +11 -9
  332. package/contracts/distribution/BasicDistributionAuthorization.sol +21 -8
  333. package/contracts/distribution/Distribution.sol +37 -32
  334. package/contracts/distribution/DistributionService.sol +59 -33
  335. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  336. package/contracts/distribution/IDistributionService.sol +16 -13
  337. package/contracts/examples/fire/FirePool.sol +6 -2
  338. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  339. package/contracts/examples/fire/FireProduct.sol +9 -3
  340. package/contracts/examples/fire/FireProductAuthorization.sol +2 -1
  341. package/contracts/examples/unpermissioned/SimpleDistribution.sol +29 -9
  342. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  343. package/contracts/examples/unpermissioned/SimplePool.sol +7 -9
  344. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  345. package/contracts/examples/unpermissioned/SimpleProduct.sol +36 -4
  346. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  347. package/contracts/instance/BundleSet.sol +4 -4
  348. package/contracts/instance/IInstance.sol +6 -7
  349. package/contracts/instance/IInstanceService.sol +2 -0
  350. package/contracts/instance/Instance.sol +19 -11
  351. package/contracts/instance/InstanceAdmin.sol +213 -64
  352. package/contracts/instance/InstanceAuthorizationV3.sol +18 -23
  353. package/contracts/instance/InstanceReader.sol +91 -35
  354. package/contracts/instance/InstanceService.sol +43 -31
  355. package/contracts/instance/InstanceServiceManager.sol +1 -1
  356. package/contracts/instance/InstanceStore.sol +13 -2
  357. package/contracts/instance/RiskSet.sol +11 -12
  358. package/contracts/instance/base/ObjectLifecycle.sol +4 -2
  359. package/contracts/instance/base/ObjectSet.sol +7 -8
  360. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  361. package/contracts/instance/module/IComponents.sol +3 -2
  362. package/contracts/instance/module/IDistribution.sol +5 -2
  363. package/contracts/instance/module/IRisk.sol +2 -0
  364. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  365. package/contracts/oracle/Oracle.sol +1 -1
  366. package/contracts/oracle/OracleService.sol +16 -15
  367. package/contracts/oracle/OracleServiceManager.sol +1 -1
  368. package/contracts/pool/BasicPoolAuthorization.sol +21 -13
  369. package/contracts/pool/BundleService.sol +35 -63
  370. package/contracts/pool/BundleServiceManager.sol +1 -1
  371. package/contracts/pool/IBundleService.sol +13 -20
  372. package/contracts/pool/IPoolService.sol +50 -38
  373. package/contracts/pool/Pool.sol +9 -9
  374. package/contracts/pool/PoolLib.sol +216 -0
  375. package/contracts/pool/PoolService.sol +307 -162
  376. package/contracts/pool/PoolServiceManager.sol +1 -1
  377. package/contracts/product/ApplicationService.sol +3 -3
  378. package/contracts/product/ApplicationServiceManager.sol +1 -1
  379. package/contracts/product/BasicProduct.sol +2 -0
  380. package/contracts/product/BasicProductAuthorization.sol +24 -10
  381. package/contracts/product/ClaimService.sol +157 -139
  382. package/contracts/product/ClaimServiceManager.sol +1 -1
  383. package/contracts/product/IClaimService.sol +14 -2
  384. package/contracts/product/IPolicyService.sol +11 -6
  385. package/contracts/product/IProductComponent.sol +4 -1
  386. package/contracts/product/IRiskService.sol +5 -8
  387. package/contracts/product/PolicyService.sol +95 -146
  388. package/contracts/product/PolicyServiceLib.sol +65 -0
  389. package/contracts/product/PolicyServiceManager.sol +1 -1
  390. package/contracts/product/PricingService.sol +23 -19
  391. package/contracts/product/PricingServiceManager.sol +3 -3
  392. package/contracts/product/Product.sol +55 -13
  393. package/contracts/product/RiskService.sol +66 -29
  394. package/contracts/product/RiskServiceManager.sol +1 -1
  395. package/contracts/registry/IRegistry.sol +8 -15
  396. package/contracts/registry/IRelease.sol +26 -0
  397. package/contracts/registry/Registry.sol +7 -2
  398. package/contracts/registry/RegistryAdmin.sol +129 -226
  399. package/contracts/registry/RegistryService.sol +3 -3
  400. package/contracts/registry/RegistryServiceManager.sol +1 -1
  401. package/contracts/registry/ReleaseAdmin.sol +245 -0
  402. package/contracts/registry/ReleaseLifecycle.sol +2 -0
  403. package/contracts/registry/ReleaseRegistry.sol +124 -99
  404. package/contracts/registry/ServiceAuthorizationV3.sol +85 -14
  405. package/contracts/registry/TokenRegistry.sol +6 -8
  406. package/contracts/shared/Component.sol +32 -27
  407. package/contracts/shared/ComponentService.sol +89 -266
  408. package/contracts/shared/ComponentServiceManager.sol +1 -1
  409. package/contracts/shared/ComponentVerifyingService.sol +1 -1
  410. package/contracts/shared/ContractLib.sol +32 -3
  411. package/contracts/shared/IComponent.sol +3 -9
  412. package/contracts/shared/IComponentService.sol +1 -23
  413. package/contracts/shared/IRegisterable.sol +15 -4
  414. package/contracts/shared/IService.sol +3 -5
  415. package/contracts/shared/InstanceLinkedComponent.sol +3 -3
  416. package/contracts/shared/NftOwnable.sol +4 -4
  417. package/contracts/shared/PolicyHolder.sol +1 -1
  418. package/contracts/shared/Registerable.sol +45 -19
  419. package/contracts/shared/RegistryLinked.sol +1 -1
  420. package/contracts/shared/Service.sol +8 -27
  421. package/contracts/shared/TokenHandler.sol +40 -88
  422. package/contracts/staking/IStaking.sol +0 -8
  423. package/contracts/staking/IStakingService.sol +8 -0
  424. package/contracts/staking/StakeManagerLib.sol +1 -1
  425. package/contracts/staking/Staking.sol +34 -13
  426. package/contracts/staking/StakingReader.sol +1 -1
  427. package/contracts/staking/StakingService.sol +32 -42
  428. package/contracts/staking/StakingServiceManager.sol +5 -4
  429. package/contracts/type/ObjectType.sol +46 -21
  430. package/contracts/type/RiskId.sol +9 -3
  431. package/contracts/type/RoleId.sol +24 -4
  432. package/contracts/type/Selector.sol +5 -0
  433. package/contracts/type/Timestamp.sol +0 -5
  434. package/contracts/type/Version.sol +15 -5
  435. package/contracts/upgradeability/ProxyManager.sol +1 -1
  436. package/package.json +2 -2
  437. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
  438. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
  439. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  440. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  441. package/contracts/authorization/ReleaseAccessManager.sol +0 -38
  442. package/contracts/instance/module/IAccess.sol +0 -46
@@ -477,10 +477,10 @@
477
477
  },
478
478
  {
479
479
  "inputs": [],
480
- "name": "getInstance",
480
+ "name": "getInstanceAddress",
481
481
  "outputs": [
482
482
  {
483
- "internalType": "contract IInstance",
483
+ "internalType": "address",
484
484
  "name": "",
485
485
  "type": "address"
486
486
  }
@@ -502,7 +502,18 @@
502
502
  "type": "function"
503
503
  },
504
504
  {
505
- "inputs": [],
505
+ "inputs": [
506
+ {
507
+ "internalType": "address",
508
+ "name": "authority",
509
+ "type": "address"
510
+ },
511
+ {
512
+ "internalType": "address",
513
+ "name": "registry",
514
+ "type": "address"
515
+ }
516
+ ],
506
517
  "name": "initialize",
507
518
  "outputs": [],
508
519
  "stateMutability": "nonpayable",
@@ -607,14 +618,30 @@
607
618
  "type": "function"
608
619
  }
609
620
  ],
610
- "bytecode": "0x6080604052348015600e575f80fd5b50611b808061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610111575f3560e01c806394b9929b1161009e578063db70354c1161006e578063db70354c14610259578063dbacaaaf1461026c578063de7b5d141461027f578063ea4e477e14610290578063ff4fe25c146102a3575f80fd5b806394b9929b14610201578063b5346af514610214578063bdb996ff14610227578063bf7e214f14610251575f80fd5b80636ebed908116100e45780636ebed908146101875780637a9e5e4b146101b25780638129fc1c146101c55780638de1d14e146101cd5780638fb36037146101e0575f80fd5b806306fa45651461011557806313ab148d1461012a57806345983a8a146101505780635ab1bd5314610163575b5f80fd5b6101286101233660046116d5565b6102b6565b005b61013d6101383660046116d5565b6103fd565b6040519081526020015b60405180910390f35b61013d61015e3660046116d5565b61040d565b5f546001600160a01b03165b6040516001600160a01b039091168152602001610147565b61019a6101953660046116f0565b610496565b6040516001600160601b039091168152602001610147565b6101286101c036600461172e565b610597565b610128610622565b6101286101db3660046116d5565b610855565b6101e8610a35565b6040516001600160e01b03199091168152602001610147565b61013d61020f3660046116d5565b610a6b565b6101286102223660046116d5565b610a75565b61023a610235366004611749565b610bb1565b604080519215158352901515602083015201610147565b61016f610c71565b61019a6102673660046116f0565b610c8c565b61019a61027a3660046116f0565b610cb1565b6003546001600160a01b031661016f565b61012861029e366004611780565b610d06565b6101286102b1366004611780565b610e20565b6102c2335b5f36610f39565b600354604080516302cd307160e01b815290515f926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610309573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061032d91906117c8565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab906024015f60405180830381865afa158015610379573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526103a091908101906118e7565b5190506103b5816103b084611037565b611080565b604080516001600160601b038084168252841660208201527fc5542eb610cf0c7faeb919aa1571ca7800bcb3ab4ac98a9b2154a934b06e3a3c91015b60405180910390a15050565b5f610407826110fc565b92915050565b6001600160601b0381165f9081526004602081905260408083209051638b6233dd60e01b81529182015273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__90638b6233dd906024015b602060405180830381865af4158015610472573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061040791906119c9565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__637054cbd26104bb858561114c565b604051630713cfad60e31b8152600481019190915273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561050a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052e91906119e0565b6040516001600160e01b031960e084901b16815260ff1990911660048201526024015b602060405180830381865af415801561056c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105909190611a01565b9392505050565b336105a0610c71565b6001600160a01b0316816001600160a01b0316146105e05760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610615576040516361798f2f60e11b81526001600160a01b03831660048201526024016105d7565b61061e826111de565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156106675750825b90505f8267ffffffffffffffff1660011480156106835750303b155b905081158015610691575080155b156106af5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156106d957845460ff60401b1916600160401b1785555b600380546001600160a01b031916339081179091556040805163bf7e214f60e01b815290516107c8929163bf7e214f9160048083019260209291908290030181865afa15801561072b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074f91906117c8565b60035f9054906101000a90046001600160a01b03166001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801561079f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c391906117c8565b611237565b6003546040516001600160a01b0390911681527f354213bc359f6a4cdd77e05ad9f14f17072566dbf2dfe7d5febe8d3f1d20c55d9060200160405180910390a1831561084e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b61085e336102bb565b600354604080516302cd307160e01b815290515f926001600160a01b0316916302cd30719160048083019260209291908290030181865afa1580156108a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c991906117c8565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab906024015f60405180830381865afa158015610915573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261093c91908101906118e7565b51604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610996573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ba9190611a2b565b156109e357604051630917fa8f60e21b81526001600160601b03831660048201526024016105d7565b6109f5816109f084611037565b61126a565b604080516001600160601b038084168252841660208201527fd5ad09ab2646a6be53d28c0d28edbbc1c764e8a3903a6ab1607f6c851f2158c491016103f1565b5f80516020611b2b83398151915280545f9190600160a01b900460ff16610a5c575f610a65565b638fb3603760e01b5b91505090565b5f61040782611361565b610a7e336102bb565b600354604080516302cd307160e01b815290515f926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610ac5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae991906117c8565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab906024015f60405180830381865afa158015610b35573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b5c91908101906118e7565b519050610b7181610b6c84611037565b6113b1565b604080516001600160601b038084168252841660208201527f9afec71b46c1826abc28d7bac26d7c7ea698860c963d73bb718d5d27a57eedb891016103f1565b5f808073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038616601f6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610c24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4891906119c9565b9050610c548582611409565b92508215610c6957610c66858261149b565b91505b509250929050565b5f80516020611b2b833981519152546001600160a01b031690565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__637054cbd26104bb85856114f2565b6001600160601b0382165f908152600460208190526040808320905163e797d89960e01b8152918201526024810183905273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9063e797d89990604401610551565b610d0f336102bb565b610d2183610d1c84611037565b611409565b610d4957604051636fe066cd60e11b81526001600160601b03831660048201526024016105d7565b6001600160601b0382165f90815260046020819052604091829020915163539eabab60e11b815273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9263a73d575692610daa928691019182526001600160601b0316602082015260400190565b5f6040518083038186803b158015610dc0575f80fd5b505af4158015610dd2573d5f803e3d5ffd5b5050604080516001600160601b038087168252851660208201527f1605dc0b12ec60310b72b9b91958f4a016c1125211a8dd440030eefd12c8897193500190505b60405180910390a1505050565b610e29336102bb565b610e3b83610e3684611037565b61149b565b610e6b5760405163a41085a360e01b81526001600160601b038084166004830152821660248201526044016105d7565b6001600160601b0382165f908152600460208190526040918290209151631461054360e31b815273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9263a3082a1892610ecc928691019182526001600160601b0316602082015260400190565b5f6040518083038186803b158015610ee2575f80fd5b505af4158015610ef4573d5f803e3d5ffd5b5050604080516001600160601b038087168252851660208201527f3504f5b5955ddf557608fa0c42e764a4c9df8c2d37e39c6ab188ec5338e99cb69350019050610e13565b5f80516020611b2b8339815191525f80610f71610f54610c71565b8730610f6360045f8a8c611a44565b610f6c91611a6b565b611549565b915091508161102f5763ffffffff81161561100c57825460ff60a01b1916600160a01b178355610f9f610c71565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610fce93929190611aa3565b5f604051808303815f87803b158015610fe5575f80fd5b505af1158015610ff7573d5f803e3d5ffd5b5050845460ff60a01b191685555061102f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016105d7565b505050505050565b604051630711349960e31b81526001600160601b0382166004820152601f60248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401610457565b6001600160601b0382165f908152600160205260409081902090516304af170b60e41b815260048101919091526024810182905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90634af170b0906044015b5f6040518083038186803b1580156110ea575f80fd5b505af415801561102f573d5f803e3d5ffd5b6001600160601b0381165f908152600260205260408082209051634ef87aaf60e11b8152600481019190915273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90639df0f55e90602401610457565b6001600160601b0382165f90815260016020526040808220905163e9c54d3160e01b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063e9c54d31906044015b602060405180830381865af41580156111ba573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061059091906119c9565b5f80516020611b2b83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016103f1565b61123f611651565b6112488261169c565b5f80546001600160a01b0319166001600160a01b039290921691909117905550565b6001600160601b0382165f90815260026020908152604080832060019092529182902091516304af170b60e41b8152600481018290526024810184905290919073__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90634af170b0906044015f6040518083038186803b1580156112df575f80fd5b505af41580156112f1573d5f803e3d5ffd5b50506040516304af170b60e41b8152600481018490526024810186905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9250634af170b091506044015f6040518083038186803b158015611345575f80fd5b505af4158015611357573d5f803e3d5ffd5b5050505050505050565b6001600160601b0381165f908152600160205260408082209051634ef87aaf60e11b8152600481019190915273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90639df0f55e90602401610457565b6001600160601b0382165f9081526001602052604090819020905163c54bd26f60e01b815260048101919091526024810182905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063c54bd26f906044016110d4565b6001600160601b0382165f908152600260205260408082209051633205659f60e11b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063640acb3e906044015b602060405180830381865af4158015611477573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105909190611a2b565b6001600160601b0382165f908152600160205260408082209051633205659f60e11b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063640acb3e9060440161145c565b6001600160601b0382165f90815260026020526040808220905163e9c54d3160e01b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063e9c54d319060440161119f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516115b79190611ae2565b5f60405180830381855afa9150503d805f81146115ef576040519150601f19603f3d011682016040523d82523d5f602084013e6115f4565b606091505b50915091508115611646576040815110611626578080602001905181019061161c9190611af8565b9094509250611646565b602081511061164657808060200190518101906116439190611a2b565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661169a57604051631afcd79f60e31b815260040160405180910390fd5b565b6116a4611651565b6116ad816116b0565b50565b6116b8611651565b6116ad816111de565b6001600160601b03811681146116ad575f80fd5b5f602082840312156116e5575f80fd5b8135610590816116c1565b5f8060408385031215611701575f80fd5b823561170c816116c1565b946020939093013593505050565b6001600160a01b03811681146116ad575f80fd5b5f6020828403121561173e575f80fd5b81356105908161171a565b5f806040838503121561175a575f80fd5b8235611765816116c1565b91506020830135611775816116c1565b809150509250929050565b5f805f60608486031215611792575f80fd5b833561179d816116c1565b925060208401356117ad816116c1565b915060408401356117bd816116c1565b809150509250925092565b5f602082840312156117d8575f80fd5b81516105908161171a565b634e487b7160e01b5f52604160045260245ffd5b60405160c0810167ffffffffffffffff8111828210171561181a5761181a6117e3565b60405290565b6040805190810167ffffffffffffffff8111828210171561181a5761181a6117e3565b5f82601f830112611852575f80fd5b815167ffffffffffffffff81111561186c5761186c6117e3565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561189b5761189b6117e3565b6040528181528382016020018510156118b2575f80fd5b8160208501602083015e5f918101602001919091529392505050565b805164ffffffffff811681146118e2575f80fd5b919050565b5f602082840312156118f7575f80fd5b815167ffffffffffffffff81111561190d575f80fd5b820180840360e081121561191f575f80fd5b6119276117f7565b8251611932816116c1565b81526040601f1983011215611945575f80fd5b61194d611820565b60208481015182526040850151818301528201526060830151915067ffffffffffffffff82111561197c575f80fd5b61198886838501611843565b6040820152611999608084016118ce565b60608201526119aa60a084016118ce565b60808201526119bb60c084016118ce565b60a082015295945050505050565b5f602082840312156119d9575f80fd5b5051919050565b5f602082840312156119f0575f80fd5b815160ff1981168114610590575f80fd5b5f60208284031215611a11575f80fd5b8151610590816116c1565b805180151581146118e2575f80fd5b5f60208284031215611a3b575f80fd5b61059082611a1c565b5f8085851115611a52575f80fd5b83861115611a5e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611a9c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215611b09575f80fd5b611b1283611a1c565b9150602083015163ffffffff81168114611775575f80fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122086c8aff9767f40b93441de0a796f7ea99def54c7b38706c9e67b20edb8d0f4a864736f6c634300081a0033",
611
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610111575f3560e01c806394b9929b1161009e578063db70354c1161006e578063db70354c14610259578063dbacaaaf1461026c578063de7b5d141461027f578063ea4e477e14610290578063ff4fe25c146102a3575f80fd5b806394b9929b14610201578063b5346af514610214578063bdb996ff14610227578063bf7e214f14610251575f80fd5b80636ebed908116100e45780636ebed908146101875780637a9e5e4b146101b25780638129fc1c146101c55780638de1d14e146101cd5780638fb36037146101e0575f80fd5b806306fa45651461011557806313ab148d1461012a57806345983a8a146101505780635ab1bd5314610163575b5f80fd5b6101286101233660046116d5565b6102b6565b005b61013d6101383660046116d5565b6103fd565b6040519081526020015b60405180910390f35b61013d61015e3660046116d5565b61040d565b5f546001600160a01b03165b6040516001600160a01b039091168152602001610147565b61019a6101953660046116f0565b610496565b6040516001600160601b039091168152602001610147565b6101286101c036600461172e565b610597565b610128610622565b6101286101db3660046116d5565b610855565b6101e8610a35565b6040516001600160e01b03199091168152602001610147565b61013d61020f3660046116d5565b610a6b565b6101286102223660046116d5565b610a75565b61023a610235366004611749565b610bb1565b604080519215158352901515602083015201610147565b61016f610c71565b61019a6102673660046116f0565b610c8c565b61019a61027a3660046116f0565b610cb1565b6003546001600160a01b031661016f565b61012861029e366004611780565b610d06565b6101286102b1366004611780565b610e20565b6102c2335b5f36610f39565b600354604080516302cd307160e01b815290515f926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610309573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061032d91906117c8565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab906024015f60405180830381865afa158015610379573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526103a091908101906118e7565b5190506103b5816103b084611037565b611080565b604080516001600160601b038084168252841660208201527fc5542eb610cf0c7faeb919aa1571ca7800bcb3ab4ac98a9b2154a934b06e3a3c91015b60405180910390a15050565b5f610407826110fc565b92915050565b6001600160601b0381165f9081526004602081905260408083209051638b6233dd60e01b81529182015273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__90638b6233dd906024015b602060405180830381865af4158015610472573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061040791906119c9565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__637054cbd26104bb858561114c565b604051630713cfad60e31b8152600481019190915273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561050a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052e91906119e0565b6040516001600160e01b031960e084901b16815260ff1990911660048201526024015b602060405180830381865af415801561056c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105909190611a01565b9392505050565b336105a0610c71565b6001600160a01b0316816001600160a01b0316146105e05760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610615576040516361798f2f60e11b81526001600160a01b03831660048201526024016105d7565b61061e826111de565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f811580156106675750825b90505f8267ffffffffffffffff1660011480156106835750303b155b905081158015610691575080155b156106af5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156106d957845460ff60401b1916600160401b1785555b600380546001600160a01b031916339081179091556040805163bf7e214f60e01b815290516107c8929163bf7e214f9160048083019260209291908290030181865afa15801561072b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074f91906117c8565b60035f9054906101000a90046001600160a01b03166001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801561079f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c391906117c8565b611237565b6003546040516001600160a01b0390911681527f354213bc359f6a4cdd77e05ad9f14f17072566dbf2dfe7d5febe8d3f1d20c55d9060200160405180910390a1831561084e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b61085e336102bb565b600354604080516302cd307160e01b815290515f926001600160a01b0316916302cd30719160048083019260209291908290030181865afa1580156108a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108c991906117c8565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab906024015f60405180830381865afa158015610915573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261093c91908101906118e7565b51604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610996573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ba9190611a2b565b156109e357604051630917fa8f60e21b81526001600160601b03831660048201526024016105d7565b6109f5816109f084611037565b61126a565b604080516001600160601b038084168252841660208201527fd5ad09ab2646a6be53d28c0d28edbbc1c764e8a3903a6ab1607f6c851f2158c491016103f1565b5f80516020611b2b83398151915280545f9190600160a01b900460ff16610a5c575f610a65565b638fb3603760e01b5b91505090565b5f61040782611361565b610a7e336102bb565b600354604080516302cd307160e01b815290515f926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610ac5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae991906117c8565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab906024015f60405180830381865afa158015610b35573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b5c91908101906118e7565b519050610b7181610b6c84611037565b6113b1565b604080516001600160601b038084168252841660208201527f9afec71b46c1826abc28d7bac26d7c7ea698860c963d73bb718d5d27a57eedb891016103f1565b5f808073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038616601f6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610c24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4891906119c9565b9050610c548582611409565b92508215610c6957610c66858261149b565b91505b509250929050565b5f80516020611b2b833981519152546001600160a01b031690565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__637054cbd26104bb85856114f2565b6001600160601b0382165f908152600460208190526040808320905163e797d89960e01b8152918201526024810183905273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9063e797d89990604401610551565b610d0f336102bb565b610d2183610d1c84611037565b611409565b610d4957604051636fe066cd60e11b81526001600160601b03831660048201526024016105d7565b6001600160601b0382165f90815260046020819052604091829020915163539eabab60e11b815273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9263a73d575692610daa928691019182526001600160601b0316602082015260400190565b5f6040518083038186803b158015610dc0575f80fd5b505af4158015610dd2573d5f803e3d5ffd5b5050604080516001600160601b038087168252851660208201527f1605dc0b12ec60310b72b9b91958f4a016c1125211a8dd440030eefd12c8897193500190505b60405180910390a1505050565b610e29336102bb565b610e3b83610e3684611037565b61149b565b610e6b5760405163a41085a360e01b81526001600160601b038084166004830152821660248201526044016105d7565b6001600160601b0382165f908152600460208190526040918290209151631461054360e31b815273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9263a3082a1892610ecc928691019182526001600160601b0316602082015260400190565b5f6040518083038186803b158015610ee2575f80fd5b505af4158015610ef4573d5f803e3d5ffd5b5050604080516001600160601b038087168252851660208201527f3504f5b5955ddf557608fa0c42e764a4c9df8c2d37e39c6ab188ec5338e99cb69350019050610e13565b5f80516020611b2b8339815191525f80610f71610f54610c71565b8730610f6360045f8a8c611a44565b610f6c91611a6b565b611549565b915091508161102f5763ffffffff81161561100c57825460ff60a01b1916600160a01b178355610f9f610c71565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610fce93929190611aa3565b5f604051808303815f87803b158015610fe5575f80fd5b505af1158015610ff7573d5f803e3d5ffd5b5050845460ff60a01b191685555061102f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016105d7565b505050505050565b604051630711349960e31b81526001600160601b0382166004820152601f60248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401610457565b6001600160601b0382165f908152600160205260409081902090516304af170b60e41b815260048101919091526024810182905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90634af170b0906044015b5f6040518083038186803b1580156110ea575f80fd5b505af415801561102f573d5f803e3d5ffd5b6001600160601b0381165f908152600260205260408082209051634ef87aaf60e11b8152600481019190915273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90639df0f55e90602401610457565b6001600160601b0382165f90815260016020526040808220905163e9c54d3160e01b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063e9c54d31906044015b602060405180830381865af41580156111ba573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061059091906119c9565b5f80516020611b2b83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016103f1565b61123f611651565b6112488261169c565b5f80546001600160a01b0319166001600160a01b039290921691909117905550565b6001600160601b0382165f90815260026020908152604080832060019092529182902091516304af170b60e41b8152600481018290526024810184905290919073__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90634af170b0906044015f6040518083038186803b1580156112df575f80fd5b505af41580156112f1573d5f803e3d5ffd5b50506040516304af170b60e41b8152600481018490526024810186905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9250634af170b091506044015f6040518083038186803b158015611345575f80fd5b505af4158015611357573d5f803e3d5ffd5b5050505050505050565b6001600160601b0381165f908152600160205260408082209051634ef87aaf60e11b8152600481019190915273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90639df0f55e90602401610457565b6001600160601b0382165f9081526001602052604090819020905163c54bd26f60e01b815260048101919091526024810182905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063c54bd26f906044016110d4565b6001600160601b0382165f908152600260205260408082209051633205659f60e11b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063640acb3e906044015b602060405180830381865af4158015611477573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105909190611a2b565b6001600160601b0382165f908152600160205260408082209051633205659f60e11b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063640acb3e9060440161145c565b6001600160601b0382165f90815260026020526040808220905163e9c54d3160e01b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063e9c54d319060440161119f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516115b79190611ae2565b5f60405180830381855afa9150503d805f81146115ef576040519150601f19603f3d011682016040523d82523d5f602084013e6115f4565b606091505b50915091508115611646576040815110611626578080602001905181019061161c9190611af8565b9094509250611646565b602081511061164657808060200190518101906116439190611a2b565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661169a57604051631afcd79f60e31b815260040160405180910390fd5b565b6116a4611651565b6116ad816116b0565b50565b6116b8611651565b6116ad816111de565b6001600160601b03811681146116ad575f80fd5b5f602082840312156116e5575f80fd5b8135610590816116c1565b5f8060408385031215611701575f80fd5b823561170c816116c1565b946020939093013593505050565b6001600160a01b03811681146116ad575f80fd5b5f6020828403121561173e575f80fd5b81356105908161171a565b5f806040838503121561175a575f80fd5b8235611765816116c1565b91506020830135611775816116c1565b809150509250929050565b5f805f60608486031215611792575f80fd5b833561179d816116c1565b925060208401356117ad816116c1565b915060408401356117bd816116c1565b809150509250925092565b5f602082840312156117d8575f80fd5b81516105908161171a565b634e487b7160e01b5f52604160045260245ffd5b60405160c0810167ffffffffffffffff8111828210171561181a5761181a6117e3565b60405290565b6040805190810167ffffffffffffffff8111828210171561181a5761181a6117e3565b5f82601f830112611852575f80fd5b815167ffffffffffffffff81111561186c5761186c6117e3565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561189b5761189b6117e3565b6040528181528382016020018510156118b2575f80fd5b8160208501602083015e5f918101602001919091529392505050565b805164ffffffffff811681146118e2575f80fd5b919050565b5f602082840312156118f7575f80fd5b815167ffffffffffffffff81111561190d575f80fd5b820180840360e081121561191f575f80fd5b6119276117f7565b8251611932816116c1565b81526040601f1983011215611945575f80fd5b61194d611820565b60208481015182526040850151818301528201526060830151915067ffffffffffffffff82111561197c575f80fd5b61198886838501611843565b6040820152611999608084016118ce565b60608201526119aa60a084016118ce565b60808201526119bb60c084016118ce565b60a082015295945050505050565b5f602082840312156119d9575f80fd5b5051919050565b5f602082840312156119f0575f80fd5b815160ff1981168114610590575f80fd5b5f60208284031215611a11575f80fd5b8151610590816116c1565b805180151581146118e2575f80fd5b5f60208284031215611a3b575f80fd5b61059082611a1c565b5f8085851115611a52575f80fd5b83861115611a5e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611a9c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215611b09575f80fd5b611b1283611a1c565b9150602083015163ffffffff81168114611775575f80fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122086c8aff9767f40b93441de0a796f7ea99def54c7b38706c9e67b20edb8d0f4a864736f6c634300081a0033",
621
+ "bytecode": "0x6080604052348015600e575f80fd5b506118098061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610111575f3560e01c80638fb360371161009e578063bf7e214f1161006e578063bf7e214f1461026d578063db70354c14610275578063dbacaaaf14610288578063ea4e477e1461029b578063ff4fe25c146102ae575f80fd5b80638fb36037146101fc57806394b9929b1461021d578063b5346af514610230578063bdb996ff14610243575f80fd5b80635ab1bd53116100e45780635ab1bd5314610176578063681e65f01461019a5780636ebed908146101ab5780637a9e5e4b146101d65780638de1d14e146101e9575f80fd5b806306fa45651461011557806313ab148d1461012a57806345983a8a14610150578063485cc95514610163575b5f80fd5b610128610123366004611507565b6102c1565b005b61013d610138366004611507565b6103b0565b6040519081526020015b60405180910390f35b61013d61015e366004611507565b6103c0565b61012861017136600461153d565b610449565b5f546001600160a01b03165b6040516001600160a01b039091168152602001610147565b6003546001600160a01b0316610182565b6101be6101b936600461156e565b6105ab565b6040516001600160601b039091168152602001610147565b6101286101e4366004611598565b6106ac565b6101286101f7366004611507565b610737565b6102046108bf565b6040516001600160e01b03199091168152602001610147565b61013d61022b366004611507565b6108f5565b61012861023e366004611507565b6108ff565b6102566102513660046115b1565b6109e3565b604080519215158352901515602083015201610147565b610182610aa3565b6101be61028336600461156e565b610abe565b6101be61029636600461156e565b610ae3565b6101286102a93660046115e8565b610b38565b6101286102bc3660046115e8565b610c52565b6102cd335b5f36610d6b565b60035460405163533db42160e01b81525f9173__$9ab531d2fb5724a292102184f345630dcc$__9163533db42191610315916001600160a01b03909116908690600401611630565b602060405180830381865af4158015610330573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103549190611652565b90506103688161036384610e69565b610eb2565b604080516001600160601b038084168252841660208201527fc5542eb610cf0c7faeb919aa1571ca7800bcb3ab4ac98a9b2154a934b06e3a3c91015b60405180910390a15050565b5f6103ba82610f2e565b92915050565b6001600160601b0381165f9081526004602081905260408083209051638b6233dd60e01b81529182015273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__90638b6233dd906024015b602060405180830381865af4158015610425573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103ba919061166d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561048e5750825b90505f8267ffffffffffffffff1660011480156104aa5750303b155b9050811580156104b8575080155b156104d65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561050057845460ff60401b1916600160401b1785555b600380546001600160a01b0319163317905561051c8787610f7e565b6003546040516001600160a01b0390911681527f354213bc359f6a4cdd77e05ad9f14f17072566dbf2dfe7d5febe8d3f1d20c55d9060200160405180910390a183156105a257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__637054cbd26105d08585610fb1565b604051630713cfad60e31b8152600481019190915273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561061f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106439190611684565b6040516001600160e01b031960e084901b16815260ff1990911660048201526024015b602060405180830381865af4158015610681573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a59190611652565b9392505050565b336106b5610aa3565b6001600160a01b0316816001600160a01b0316146106f55760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f0361072a576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ec565b61073382611043565b5050565b610740336102c6565b60035460405163533db42160e01b81525f9173__$9ab531d2fb5724a292102184f345630dcc$__9163533db42191610788916001600160a01b03909116908690600401611630565b602060405180830381865af41580156107a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c79190611652565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610820573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061084491906116b4565b1561086d57604051630917fa8f60e21b81526001600160601b03831660048201526024016106ec565b61087f8161087a84610e69565b61109c565b604080516001600160601b038084168252841660208201527fd5ad09ab2646a6be53d28c0d28edbbc1c764e8a3903a6ab1607f6c851f2158c491016103a4565b5f805160206117b483398151915280545f9190600160a01b900460ff166108e6575f6108ef565b638fb3603760e01b5b91505090565b5f6103ba82611193565b610908336102c6565b60035460405163533db42160e01b81525f9173__$9ab531d2fb5724a292102184f345630dcc$__9163533db42191610950916001600160a01b03909116908690600401611630565b602060405180830381865af415801561096b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098f9190611652565b90506109a38161099e84610e69565b6111e3565b604080516001600160601b038084168252841660208201527f9afec71b46c1826abc28d7bac26d7c7ea698860c963d73bb718d5d27a57eedb891016103a4565b5f808073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03861660166040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610a56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7a919061166d565b9050610a86858261123b565b92508215610a9b57610a9885826112cd565b91505b509250929050565b5f805160206117b4833981519152546001600160a01b031690565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__637054cbd26105d08585611324565b6001600160601b0382165f908152600460208190526040808320905163e797d89960e01b8152918201526024810183905273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9063e797d89990604401610666565b610b41336102c6565b610b5383610b4e84610e69565b61123b565b610b7b57604051636fe066cd60e11b81526001600160601b03831660048201526024016106ec565b6001600160601b0382165f90815260046020819052604091829020915163539eabab60e11b815273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9263a73d575692610bdc928691019182526001600160601b0316602082015260400190565b5f6040518083038186803b158015610bf2575f80fd5b505af4158015610c04573d5f803e3d5ffd5b5050604080516001600160601b038087168252851660208201527f1605dc0b12ec60310b72b9b91958f4a016c1125211a8dd440030eefd12c8897193500190505b60405180910390a1505050565b610c5b336102c6565b610c6d83610c6884610e69565b6112cd565b610c9d5760405163a41085a360e01b81526001600160601b038084166004830152821660248201526044016106ec565b6001600160601b0382165f908152600460208190526040918290209151631461054360e31b815273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9263a3082a1892610cfe928691019182526001600160601b0316602082015260400190565b5f6040518083038186803b158015610d14575f80fd5b505af4158015610d26573d5f803e3d5ffd5b5050604080516001600160601b038087168252851660208201527f3504f5b5955ddf557608fa0c42e764a4c9df8c2d37e39c6ab188ec5338e99cb69350019050610c45565b5f805160206117b48339815191525f80610da3610d86610aa3565b8730610d9560045f8a8c6116cd565b610d9e916116f4565b61137b565b9150915081610e615763ffffffff811615610e3e57825460ff60a01b1916600160a01b178355610dd1610aa3565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610e009392919061172c565b5f604051808303815f87803b158015610e17575f80fd5b505af1158015610e29573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e619050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ec565b505050505050565b604051630711349960e31b81526001600160601b0382166004820152601660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c89060440161040a565b6001600160601b0382165f908152600160205260409081902090516304af170b60e41b815260048101919091526024810182905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90634af170b0906044015b5f6040518083038186803b158015610f1c575f80fd5b505af4158015610e61573d5f803e3d5ffd5b6001600160601b0381165f908152600260205260408082209051634ef87aaf60e11b8152600481019190915273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90639df0f55e9060240161040a565b610f86611483565b610f8f826114ce565b5f80546001600160a01b0319166001600160a01b039290921691909117905550565b6001600160601b0382165f90815260016020526040808220905163e9c54d3160e01b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063e9c54d31906044015b602060405180830381865af415801561101f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a5919061166d565b5f805160206117b483398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016103a4565b6001600160601b0382165f90815260026020908152604080832060019092529182902091516304af170b60e41b8152600481018290526024810184905290919073__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90634af170b0906044015f6040518083038186803b158015611111575f80fd5b505af4158015611123573d5f803e3d5ffd5b50506040516304af170b60e41b8152600481018490526024810186905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9250634af170b091506044015f6040518083038186803b158015611177575f80fd5b505af4158015611189573d5f803e3d5ffd5b5050505050505050565b6001600160601b0381165f908152600160205260408082209051634ef87aaf60e11b8152600481019190915273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90639df0f55e9060240161040a565b6001600160601b0382165f9081526001602052604090819020905163c54bd26f60e01b815260048101919091526024810182905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063c54bd26f90604401610f06565b6001600160601b0382165f908152600260205260408082209051633205659f60e11b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063640acb3e906044015b602060405180830381865af41580156112a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a591906116b4565b6001600160601b0382165f908152600160205260408082209051633205659f60e11b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063640acb3e9060440161128e565b6001600160601b0382165f90815260026020526040808220905163e9c54d3160e01b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063e9c54d3190604401611004565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516113e9919061176b565b5f60405180830381855afa9150503d805f8114611421576040519150601f19603f3d011682016040523d82523d5f602084013e611426565b606091505b50915091508115611478576040815110611458578080602001905181019061144e9190611781565b9094509250611478565b6020815110611478578080602001905181019061147591906116b4565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166114cc57604051631afcd79f60e31b815260040160405180910390fd5b565b6114d6611483565b6114df816114e2565b50565b6114ea611483565b6114df81611043565b6001600160601b03811681146114df575f80fd5b5f60208284031215611517575f80fd5b81356106a5816114f3565b80356001600160a01b0381168114611538575f80fd5b919050565b5f806040838503121561154e575f80fd5b61155783611522565b915061156560208401611522565b90509250929050565b5f806040838503121561157f575f80fd5b823561158a816114f3565b946020939093013593505050565b5f602082840312156115a8575f80fd5b6106a582611522565b5f80604083850312156115c2575f80fd5b82356115cd816114f3565b915060208301356115dd816114f3565b809150509250929050565b5f805f606084860312156115fa575f80fd5b8335611605816114f3565b92506020840135611615816114f3565b91506040840135611625816114f3565b809150509250925092565b6001600160a01b039290921682526001600160601b0316602082015260400190565b5f60208284031215611662575f80fd5b81516106a5816114f3565b5f6020828403121561167d575f80fd5b5051919050565b5f60208284031215611694575f80fd5b815160ff19811681146106a5575f80fd5b80518015158114611538575f80fd5b5f602082840312156116c4575f80fd5b6106a5826116a5565b5f80858511156116db575f80fd5b838611156116e7575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611725576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215611792575f80fd5b61179b836116a5565b9150602083015163ffffffff811681146115dd575f80fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220f7c9ab4fb50539d236db1ca0ef7e6268389f0057a50b2b3e5c7c882f69e6801764736f6c634300081a0033",
622
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610111575f3560e01c80638fb360371161009e578063bf7e214f1161006e578063bf7e214f1461026d578063db70354c14610275578063dbacaaaf14610288578063ea4e477e1461029b578063ff4fe25c146102ae575f80fd5b80638fb36037146101fc57806394b9929b1461021d578063b5346af514610230578063bdb996ff14610243575f80fd5b80635ab1bd53116100e45780635ab1bd5314610176578063681e65f01461019a5780636ebed908146101ab5780637a9e5e4b146101d65780638de1d14e146101e9575f80fd5b806306fa45651461011557806313ab148d1461012a57806345983a8a14610150578063485cc95514610163575b5f80fd5b610128610123366004611507565b6102c1565b005b61013d610138366004611507565b6103b0565b6040519081526020015b60405180910390f35b61013d61015e366004611507565b6103c0565b61012861017136600461153d565b610449565b5f546001600160a01b03165b6040516001600160a01b039091168152602001610147565b6003546001600160a01b0316610182565b6101be6101b936600461156e565b6105ab565b6040516001600160601b039091168152602001610147565b6101286101e4366004611598565b6106ac565b6101286101f7366004611507565b610737565b6102046108bf565b6040516001600160e01b03199091168152602001610147565b61013d61022b366004611507565b6108f5565b61012861023e366004611507565b6108ff565b6102566102513660046115b1565b6109e3565b604080519215158352901515602083015201610147565b610182610aa3565b6101be61028336600461156e565b610abe565b6101be61029636600461156e565b610ae3565b6101286102a93660046115e8565b610b38565b6101286102bc3660046115e8565b610c52565b6102cd335b5f36610d6b565b60035460405163533db42160e01b81525f9173__$9ab531d2fb5724a292102184f345630dcc$__9163533db42191610315916001600160a01b03909116908690600401611630565b602060405180830381865af4158015610330573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103549190611652565b90506103688161036384610e69565b610eb2565b604080516001600160601b038084168252841660208201527fc5542eb610cf0c7faeb919aa1571ca7800bcb3ab4ac98a9b2154a934b06e3a3c91015b60405180910390a15050565b5f6103ba82610f2e565b92915050565b6001600160601b0381165f9081526004602081905260408083209051638b6233dd60e01b81529182015273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__90638b6233dd906024015b602060405180830381865af4158015610425573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103ba919061166d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561048e5750825b90505f8267ffffffffffffffff1660011480156104aa5750303b155b9050811580156104b8575080155b156104d65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561050057845460ff60401b1916600160401b1785555b600380546001600160a01b0319163317905561051c8787610f7e565b6003546040516001600160a01b0390911681527f354213bc359f6a4cdd77e05ad9f14f17072566dbf2dfe7d5febe8d3f1d20c55d9060200160405180910390a183156105a257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__637054cbd26105d08585610fb1565b604051630713cfad60e31b8152600481019190915273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561061f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106439190611684565b6040516001600160e01b031960e084901b16815260ff1990911660048201526024015b602060405180830381865af4158015610681573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a59190611652565b9392505050565b336106b5610aa3565b6001600160a01b0316816001600160a01b0316146106f55760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f0361072a576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ec565b61073382611043565b5050565b610740336102c6565b60035460405163533db42160e01b81525f9173__$9ab531d2fb5724a292102184f345630dcc$__9163533db42191610788916001600160a01b03909116908690600401611630565b602060405180830381865af41580156107a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c79190611652565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610820573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061084491906116b4565b1561086d57604051630917fa8f60e21b81526001600160601b03831660048201526024016106ec565b61087f8161087a84610e69565b61109c565b604080516001600160601b038084168252841660208201527fd5ad09ab2646a6be53d28c0d28edbbc1c764e8a3903a6ab1607f6c851f2158c491016103a4565b5f805160206117b483398151915280545f9190600160a01b900460ff166108e6575f6108ef565b638fb3603760e01b5b91505090565b5f6103ba82611193565b610908336102c6565b60035460405163533db42160e01b81525f9173__$9ab531d2fb5724a292102184f345630dcc$__9163533db42191610950916001600160a01b03909116908690600401611630565b602060405180830381865af415801561096b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098f9190611652565b90506109a38161099e84610e69565b6111e3565b604080516001600160601b038084168252841660208201527f9afec71b46c1826abc28d7bac26d7c7ea698860c963d73bb718d5d27a57eedb891016103a4565b5f808073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03861660166040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610a56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7a919061166d565b9050610a86858261123b565b92508215610a9b57610a9885826112cd565b91505b509250929050565b5f805160206117b4833981519152546001600160a01b031690565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__637054cbd26105d08585611324565b6001600160601b0382165f908152600460208190526040808320905163e797d89960e01b8152918201526024810183905273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9063e797d89990604401610666565b610b41336102c6565b610b5383610b4e84610e69565b61123b565b610b7b57604051636fe066cd60e11b81526001600160601b03831660048201526024016106ec565b6001600160601b0382165f90815260046020819052604091829020915163539eabab60e11b815273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9263a73d575692610bdc928691019182526001600160601b0316602082015260400190565b5f6040518083038186803b158015610bf2575f80fd5b505af4158015610c04573d5f803e3d5ffd5b5050604080516001600160601b038087168252851660208201527f1605dc0b12ec60310b72b9b91958f4a016c1125211a8dd440030eefd12c8897193500190505b60405180910390a1505050565b610c5b336102c6565b610c6d83610c6884610e69565b6112cd565b610c9d5760405163a41085a360e01b81526001600160601b038084166004830152821660248201526044016106ec565b6001600160601b0382165f908152600460208190526040918290209151631461054360e31b815273__$f7a7d9f32fdcd358419ed5ca3af4f3da33$__9263a3082a1892610cfe928691019182526001600160601b0316602082015260400190565b5f6040518083038186803b158015610d14575f80fd5b505af4158015610d26573d5f803e3d5ffd5b5050604080516001600160601b038087168252851660208201527f3504f5b5955ddf557608fa0c42e764a4c9df8c2d37e39c6ab188ec5338e99cb69350019050610c45565b5f805160206117b48339815191525f80610da3610d86610aa3565b8730610d9560045f8a8c6116cd565b610d9e916116f4565b61137b565b9150915081610e615763ffffffff811615610e3e57825460ff60a01b1916600160a01b178355610dd1610aa3565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401610e009392919061172c565b5f604051808303815f87803b158015610e17575f80fd5b505af1158015610e29573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e619050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ec565b505050505050565b604051630711349960e31b81526001600160601b0382166004820152601660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c89060440161040a565b6001600160601b0382165f908152600160205260409081902090516304af170b60e41b815260048101919091526024810182905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90634af170b0906044015b5f6040518083038186803b158015610f1c575f80fd5b505af4158015610e61573d5f803e3d5ffd5b6001600160601b0381165f908152600260205260408082209051634ef87aaf60e11b8152600481019190915273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90639df0f55e9060240161040a565b610f86611483565b610f8f826114ce565b5f80546001600160a01b0319166001600160a01b039290921691909117905550565b6001600160601b0382165f90815260016020526040808220905163e9c54d3160e01b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063e9c54d31906044015b602060405180830381865af415801561101f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a5919061166d565b5f805160206117b483398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016103a4565b6001600160601b0382165f90815260026020908152604080832060019092529182902091516304af170b60e41b8152600481018290526024810184905290919073__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90634af170b0906044015f6040518083038186803b158015611111575f80fd5b505af4158015611123573d5f803e3d5ffd5b50506040516304af170b60e41b8152600481018490526024810186905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9250634af170b091506044015f6040518083038186803b158015611177575f80fd5b505af4158015611189573d5f803e3d5ffd5b5050505050505050565b6001600160601b0381165f908152600160205260408082209051634ef87aaf60e11b8152600481019190915273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__90639df0f55e9060240161040a565b6001600160601b0382165f9081526001602052604090819020905163c54bd26f60e01b815260048101919091526024810182905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063c54bd26f90604401610f06565b6001600160601b0382165f908152600260205260408082209051633205659f60e11b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063640acb3e906044015b602060405180830381865af41580156112a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a591906116b4565b6001600160601b0382165f908152600160205260408082209051633205659f60e11b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063640acb3e9060440161128e565b6001600160601b0382165f90815260026020526040808220905163e9c54d3160e01b815260048101919091526024810183905273__$cbdc78fa2b79ba32ca600e20fa3fec38f8$__9063e9c54d3190604401611004565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516113e9919061176b565b5f60405180830381855afa9150503d805f8114611421576040519150601f19603f3d011682016040523d82523d5f602084013e611426565b606091505b50915091508115611478576040815110611458578080602001905181019061144e9190611781565b9094509250611478565b6020815110611478578080602001905181019061147591906116b4565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166114cc57604051631afcd79f60e31b815260040160405180910390fd5b565b6114d6611483565b6114df816114e2565b50565b6114ea611483565b6114df81611043565b6001600160601b03811681146114df575f80fd5b5f60208284031215611517575f80fd5b81356106a5816114f3565b80356001600160a01b0381168114611538575f80fd5b919050565b5f806040838503121561154e575f80fd5b61155783611522565b915061156560208401611522565b90509250929050565b5f806040838503121561157f575f80fd5b823561158a816114f3565b946020939093013593505050565b5f602082840312156115a8575f80fd5b6106a582611522565b5f80604083850312156115c2575f80fd5b82356115cd816114f3565b915060208301356115dd816114f3565b809150509250929050565b5f805f606084860312156115fa575f80fd5b8335611605816114f3565b92506020840135611615816114f3565b91506040840135611625816114f3565b809150509250925092565b6001600160a01b039290921682526001600160601b0316602082015260400190565b5f60208284031215611662575f80fd5b81516106a5816114f3565b5f6020828403121561167d575f80fd5b5051919050565b5f60208284031215611694575f80fd5b815160ff19811681146106a5575f80fd5b80518015158114611538575f80fd5b5f602082840312156116c4575f80fd5b6106a5826116a5565b5f80858511156116db575f80fd5b838611156116e7575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611725576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215611792575f80fd5b61179b836116a5565b9150602083015163ffffffff811681146115dd575f80fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220f7c9ab4fb50539d236db1ca0ef7e6268389f0057a50b2b3e5c7c882f69e6801764736f6c634300081a0033",
612
623
  "linkReferences": {
624
+ "contracts/instance/base/ObjectSetHelperLib.sol": {
625
+ "ObjectSetHelperLib": [
626
+ {
627
+ "length": 20,
628
+ "start": 765
629
+ },
630
+ {
631
+ "length": 20,
632
+ "start": 1904
633
+ },
634
+ {
635
+ "length": 20,
636
+ "start": 2360
637
+ }
638
+ ]
639
+ },
613
640
  "contracts/type/Key32.sol": {
614
641
  "Key32Lib": [
615
642
  {
616
643
  "length": 20,
617
- "start": 1262
644
+ "start": 1539
618
645
  }
619
646
  ]
620
647
  },
@@ -622,43 +649,43 @@
622
649
  "LibKey32Set": [
623
650
  {
624
651
  "length": 20,
625
- "start": 4306
652
+ "start": 3844
626
653
  },
627
654
  {
628
655
  "length": 20,
629
- "start": 4422
656
+ "start": 3960
630
657
  },
631
658
  {
632
659
  "length": 20,
633
- "start": 4509
660
+ "start": 4098
634
661
  },
635
662
  {
636
663
  "length": 20,
637
- "start": 4808
664
+ "start": 4346
638
665
  },
639
666
  {
640
667
  "length": 20,
641
- "start": 4908
668
+ "start": 4446
642
669
  },
643
670
  {
644
671
  "length": 20,
645
- "start": 5035
672
+ "start": 4573
646
673
  },
647
674
  {
648
675
  "length": 20,
649
- "start": 5123
676
+ "start": 4661
650
677
  },
651
678
  {
652
679
  "length": 20,
653
- "start": 5210
680
+ "start": 4748
654
681
  },
655
682
  {
656
683
  "length": 20,
657
- "start": 5356
684
+ "start": 4894
658
685
  },
659
686
  {
660
687
  "length": 20,
661
- "start": 5443
688
+ "start": 4981
662
689
  }
663
690
  ]
664
691
  },
@@ -666,23 +693,23 @@
666
693
  "NftIdLib": [
667
694
  {
668
695
  "length": 20,
669
- "start": 1205
696
+ "start": 1482
670
697
  },
671
698
  {
672
699
  "length": 20,
673
- "start": 2426
700
+ "start": 2052
674
701
  },
675
702
  {
676
703
  "length": 20,
677
- "start": 3026
704
+ "start": 2564
678
705
  },
679
706
  {
680
707
  "length": 20,
681
- "start": 3243
708
+ "start": 2781
682
709
  },
683
710
  {
684
711
  "length": 20,
685
- "start": 4218
712
+ "start": 3756
686
713
  }
687
714
  ]
688
715
  },
@@ -690,29 +717,45 @@
690
717
  "LibNftIdSet": [
691
718
  {
692
719
  "length": 20,
693
- "start": 1109
720
+ "start": 1032
694
721
  },
695
722
  {
696
723
  "length": 20,
697
- "start": 3328
724
+ "start": 2866
698
725
  },
699
726
  {
700
727
  "length": 20,
701
- "start": 3470
728
+ "start": 3008
702
729
  },
703
730
  {
704
731
  "length": 20,
705
- "start": 3760
732
+ "start": 3298
706
733
  }
707
734
  ]
708
735
  }
709
736
  },
710
737
  "deployedLinkReferences": {
738
+ "contracts/instance/base/ObjectSetHelperLib.sol": {
739
+ "ObjectSetHelperLib": [
740
+ {
741
+ "length": 20,
742
+ "start": 737
743
+ },
744
+ {
745
+ "length": 20,
746
+ "start": 1876
747
+ },
748
+ {
749
+ "length": 20,
750
+ "start": 2332
751
+ }
752
+ ]
753
+ },
711
754
  "contracts/type/Key32.sol": {
712
755
  "Key32Lib": [
713
756
  {
714
757
  "length": 20,
715
- "start": 1234
758
+ "start": 1511
716
759
  }
717
760
  ]
718
761
  },
@@ -720,43 +763,43 @@
720
763
  "LibKey32Set": [
721
764
  {
722
765
  "length": 20,
723
- "start": 4278
766
+ "start": 3816
724
767
  },
725
768
  {
726
769
  "length": 20,
727
- "start": 4394
770
+ "start": 3932
728
771
  },
729
772
  {
730
773
  "length": 20,
731
- "start": 4481
774
+ "start": 4070
732
775
  },
733
776
  {
734
777
  "length": 20,
735
- "start": 4780
778
+ "start": 4318
736
779
  },
737
780
  {
738
781
  "length": 20,
739
- "start": 4880
782
+ "start": 4418
740
783
  },
741
784
  {
742
785
  "length": 20,
743
- "start": 5007
786
+ "start": 4545
744
787
  },
745
788
  {
746
789
  "length": 20,
747
- "start": 5095
790
+ "start": 4633
748
791
  },
749
792
  {
750
793
  "length": 20,
751
- "start": 5182
794
+ "start": 4720
752
795
  },
753
796
  {
754
797
  "length": 20,
755
- "start": 5328
798
+ "start": 4866
756
799
  },
757
800
  {
758
801
  "length": 20,
759
- "start": 5415
802
+ "start": 4953
760
803
  }
761
804
  ]
762
805
  },
@@ -764,23 +807,23 @@
764
807
  "NftIdLib": [
765
808
  {
766
809
  "length": 20,
767
- "start": 1177
810
+ "start": 1454
768
811
  },
769
812
  {
770
813
  "length": 20,
771
- "start": 2398
814
+ "start": 2024
772
815
  },
773
816
  {
774
817
  "length": 20,
775
- "start": 2998
818
+ "start": 2536
776
819
  },
777
820
  {
778
821
  "length": 20,
779
- "start": 3215
822
+ "start": 2753
780
823
  },
781
824
  {
782
825
  "length": 20,
783
- "start": 4190
826
+ "start": 3728
784
827
  }
785
828
  ]
786
829
  },
@@ -788,19 +831,19 @@
788
831
  "LibNftIdSet": [
789
832
  {
790
833
  "length": 20,
791
- "start": 1081
834
+ "start": 1004
792
835
  },
793
836
  {
794
837
  "length": 20,
795
- "start": 3300
838
+ "start": 2838
796
839
  },
797
840
  {
798
841
  "length": 20,
799
- "start": 3442
842
+ "start": 2980
800
843
  },
801
844
  {
802
845
  "length": 20,
803
- "start": 3732
846
+ "start": 3270
804
847
  }
805
848
  ]
806
849
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/5c81ba27fed1562abd01b1acaeb5ec37.json"
3
+ "buildInfo": "../../../build-info/22f90de92d0e8659865814f78a99b813.json"
4
4
  }
@@ -41,6 +41,17 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
44
55
  {
45
56
  "inputs": [
46
57
  {
@@ -232,6 +243,11 @@
232
243
  "name": "ErrorNotRegistry",
233
244
  "type": "error"
234
245
  },
246
+ {
247
+ "inputs": [],
248
+ "name": "ErrorRegisterableNotActive",
249
+ "type": "error"
250
+ },
235
251
  {
236
252
  "anonymous": false,
237
253
  "inputs": [
@@ -433,6 +449,25 @@
433
449
  "stateMutability": "view",
434
450
  "type": "function"
435
451
  },
452
+ {
453
+ "inputs": [
454
+ {
455
+ "internalType": "uint256",
456
+ "name": "idx",
457
+ "type": "uint256"
458
+ }
459
+ ],
460
+ "name": "getProductNftId",
461
+ "outputs": [
462
+ {
463
+ "internalType": "NftId",
464
+ "name": "productNftId",
465
+ "type": "uint96"
466
+ }
467
+ ],
468
+ "stateMutability": "view",
469
+ "type": "function"
470
+ },
436
471
  {
437
472
  "inputs": [],
438
473
  "name": "getRegistry",
@@ -456,7 +491,7 @@
456
491
  "type": "uint8"
457
492
  }
458
493
  ],
459
- "stateMutability": "pure",
494
+ "stateMutability": "view",
460
495
  "type": "function"
461
496
  },
462
497
  {
@@ -490,6 +525,19 @@
490
525
  "stateMutability": "nonpayable",
491
526
  "type": "function"
492
527
  },
528
+ {
529
+ "inputs": [],
530
+ "name": "isActive",
531
+ "outputs": [
532
+ {
533
+ "internalType": "bool",
534
+ "name": "active",
535
+ "type": "bool"
536
+ }
537
+ ],
538
+ "stateMutability": "view",
539
+ "type": "function"
540
+ },
493
541
  {
494
542
  "inputs": [],
495
543
  "name": "isConsumingScheduledOp",
@@ -517,31 +565,16 @@
517
565
  "type": "function"
518
566
  },
519
567
  {
520
- "inputs": [
521
- {
522
- "internalType": "address",
523
- "name": "from",
524
- "type": "address"
525
- },
526
- {
527
- "internalType": "address",
528
- "name": "to",
529
- "type": "address"
530
- },
568
+ "inputs": [],
569
+ "name": "products",
570
+ "outputs": [
531
571
  {
532
572
  "internalType": "uint256",
533
- "name": "tokenId",
573
+ "name": "productCount",
534
574
  "type": "uint256"
535
- },
536
- {
537
- "internalType": "address",
538
- "name": "operator",
539
- "type": "address"
540
575
  }
541
576
  ],
542
- "name": "nftTransferFrom",
543
- "outputs": [],
544
- "stateMutability": "nonpayable",
577
+ "stateMutability": "view",
545
578
  "type": "function"
546
579
  },
547
580
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/5c81ba27fed1562abd01b1acaeb5ec37.json"
3
+ "buildInfo": "../../../build-info/22f90de92d0e8659865814f78a99b813.json"
4
4
  }
@@ -41,6 +41,17 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
44
55
  {
45
56
  "inputs": [],
46
57
  "name": "ErrorInstanceServiceAccessManagerZero",
@@ -342,7 +353,7 @@
342
353
  },
343
354
  {
344
355
  "inputs": [],
345
- "name": "ErrorServiceNotImplemented",
356
+ "name": "ErrorRegisterableNotActive",
346
357
  "type": "error"
347
358
  },
348
359
  {
@@ -520,7 +531,7 @@
520
531
  "type": "uint8"
521
532
  }
522
533
  ],
523
- "stateMutability": "pure",
534
+ "stateMutability": "view",
524
535
  "type": "function"
525
536
  },
526
537
  {
@@ -533,7 +544,7 @@
533
544
  "type": "uint64"
534
545
  }
535
546
  ],
536
- "stateMutability": "pure",
547
+ "stateMutability": "view",
537
548
  "type": "function"
538
549
  },
539
550
  {
@@ -567,6 +578,19 @@
567
578
  "stateMutability": "nonpayable",
568
579
  "type": "function"
569
580
  },
581
+ {
582
+ "inputs": [],
583
+ "name": "isActive",
584
+ "outputs": [
585
+ {
586
+ "internalType": "bool",
587
+ "name": "active",
588
+ "type": "bool"
589
+ }
590
+ ],
591
+ "stateMutability": "view",
592
+ "type": "function"
593
+ },
570
594
  {
571
595
  "inputs": [],
572
596
  "name": "isConsumingScheduledOp",
@@ -669,6 +693,32 @@
669
693
  "stateMutability": "view",
670
694
  "type": "function"
671
695
  },
696
+ {
697
+ "inputs": [
698
+ {
699
+ "internalType": "NftId",
700
+ "name": "instanceNftId",
701
+ "type": "uint96"
702
+ }
703
+ ],
704
+ "name": "upgradeInstanceReader",
705
+ "outputs": [],
706
+ "stateMutability": "nonpayable",
707
+ "type": "function"
708
+ },
709
+ {
710
+ "inputs": [
711
+ {
712
+ "internalType": "address",
713
+ "name": "instanceReaderAddress",
714
+ "type": "address"
715
+ }
716
+ ],
717
+ "name": "upgradeMasterInstanceReader",
718
+ "outputs": [],
719
+ "stateMutability": "nonpayable",
720
+ "type": "function"
721
+ },
672
722
  {
673
723
  "inputs": [
674
724
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/5c81ba27fed1562abd01b1acaeb5ec37.json"
3
+ "buildInfo": "../../../build-info/22f90de92d0e8659865814f78a99b813.json"
4
4
  }