@etherisc/gif-next 0.0.2-f15b559-661 → 0.0.2-f1b01e0-214

Sign up to get free protection for your applications and to get access to all the features.
Files changed (396) hide show
  1. package/README.md +43 -0
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +38 -38
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +26 -26
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +6 -6
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +366 -251
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +8 -39
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +101 -28
  17. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +283 -189
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +37 -5
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +32 -145
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +101 -46
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1 -87
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +160 -89
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +56 -52
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1 -87
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +68 -5
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +44 -74
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +101 -46
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +94 -124
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +101 -46
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  50. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +82 -173
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +101 -46
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +20 -63
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +69 -112
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +101 -46
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +95 -138
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +101 -46
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  64. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  66. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +104 -8
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +62 -13
  69. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/Instance.sol/Instance.json +119 -26
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  72. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +520 -413
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +101 -46
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +225 -196
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +94 -65
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +26 -36
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +356 -346
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +2 -2
  85. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  87. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  90. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  94. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +20 -20
  96. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  101. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  103. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +14 -35
  104. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +98 -35
  106. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +0 -21
  109. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +0 -21
  112. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +42 -42
  114. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +31 -31
  116. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  117. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +22 -43
  118. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  119. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +101 -46
  120. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  121. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +64 -64
  122. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +39 -39
  124. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  125. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +6 -6
  126. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  127. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +10 -31
  128. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  129. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +18 -18
  130. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  131. package/artifacts/contracts/pool/Pool.sol/Pool.json +10 -31
  132. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  133. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +34 -34
  134. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +80 -80
  136. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +41 -41
  138. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +90 -24
  140. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +34 -22
  142. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +27 -48
  144. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +101 -46
  146. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +78 -78
  148. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +50 -50
  150. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +42 -0
  152. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  153. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  155. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +21 -0
  156. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  157. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +21 -42
  158. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +21 -0
  160. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  161. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +62 -62
  162. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  163. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +32 -32
  164. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +41 -41
  166. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  167. package/artifacts/contracts/product/PricingService.sol/PricingService.json +63 -82
  168. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  169. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +31 -51
  170. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  171. package/artifacts/contracts/product/Product.sol/Product.json +21 -42
  172. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  173. package/artifacts/contracts/product/RiskService.sol/RiskService.json +55 -26
  174. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +27 -23
  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/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  179. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  180. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  181. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  182. package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
  183. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  184. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +445 -355
  185. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  186. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  187. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  188. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +18 -18
  189. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  190. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +19 -19
  191. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  192. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +481 -376
  193. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  195. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +128 -124
  197. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  198. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
  199. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  200. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  201. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  202. package/artifacts/contracts/shared/Component.sol/Component.json +0 -21
  203. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  204. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +114 -129
  205. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +45 -49
  207. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  208. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  209. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +60 -4
  210. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  211. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  212. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
  213. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  214. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +0 -21
  215. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +44 -51
  217. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  218. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +0 -21
  219. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  221. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  222. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  224. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  226. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  227. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  228. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  229. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +0 -21
  230. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  231. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  232. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  233. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  234. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  236. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  237. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  238. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  240. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  241. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  242. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  243. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  244. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  245. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
  246. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  247. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  248. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  249. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +83 -39
  250. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  251. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +75 -4
  252. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  253. package/artifacts/contracts/staking/Staking.sol/Staking.json +133 -94
  254. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  255. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  256. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  257. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  258. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  259. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +41 -37
  260. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  261. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +34 -61
  262. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  263. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +109 -30
  264. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  265. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +27 -23
  266. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  267. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +148 -134
  268. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  269. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +47 -37
  270. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  271. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  272. package/artifacts/contracts/type/Amount.sol/AmountLib.json +10 -10
  273. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  276. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  278. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/Fee.sol/FeeLib.json +93 -37
  280. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  282. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  283. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  284. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  286. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  287. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  288. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  290. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  292. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  294. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  296. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  298. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  300. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
  308. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  310. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +56 -2
  312. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  313. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  314. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +4 -4
  315. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  316. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  317. package/contracts/accounting/IAccountingService.sol +2 -2
  318. package/contracts/authorization/AccessAdmin.sol +201 -186
  319. package/contracts/authorization/AccessAdminLib.sol +183 -0
  320. package/contracts/authorization/AccessManagerCloneable.sol +40 -31
  321. package/contracts/authorization/Authorization.sol +61 -33
  322. package/contracts/authorization/IAccess.sol +13 -5
  323. package/contracts/authorization/IAccessAdmin.sol +63 -36
  324. package/contracts/authorization/IAuthorization.sol +6 -0
  325. package/contracts/distribution/BasicDistribution.sol +6 -6
  326. package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
  327. package/contracts/distribution/Distribution.sol +3 -48
  328. package/contracts/distribution/DistributionService.sol +57 -30
  329. package/contracts/distribution/IDistributionComponent.sol +0 -9
  330. package/contracts/distribution/IDistributionService.sol +4 -2
  331. package/contracts/examples/fire/FirePool.sol +0 -4
  332. package/contracts/examples/fire/FireProduct.sol +0 -4
  333. package/contracts/examples/unpermissioned/SimpleDistribution.sol +32 -8
  334. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  335. package/contracts/examples/unpermissioned/SimplePool.sol +0 -4
  336. package/contracts/examples/unpermissioned/SimpleProduct.sol +0 -4
  337. package/contracts/instance/IInstance.sol +45 -9
  338. package/contracts/instance/IInstanceService.sol +19 -3
  339. package/contracts/instance/Instance.sol +73 -16
  340. package/contracts/instance/InstanceAdmin.sol +120 -107
  341. package/contracts/instance/InstanceAuthorizationV3.sol +43 -21
  342. package/contracts/instance/InstanceReader.sol +13 -0
  343. package/contracts/instance/InstanceService.sol +128 -73
  344. package/contracts/instance/module/IBundle.sol +6 -5
  345. package/contracts/instance/module/IComponents.sol +16 -5
  346. package/contracts/instance/module/IDistribution.sol +19 -7
  347. package/contracts/instance/module/IPolicy.sol +28 -8
  348. package/contracts/instance/module/IRisk.sol +2 -0
  349. package/contracts/oracle/BasicOracle.sol +1 -3
  350. package/contracts/oracle/BasicOracleAuthorization.sol +1 -1
  351. package/contracts/oracle/IOracle.sol +9 -4
  352. package/contracts/oracle/Oracle.sol +0 -2
  353. package/contracts/pool/BasicPool.sol +0 -2
  354. package/contracts/pool/BasicPoolAuthorization.sol +1 -1
  355. package/contracts/pool/Pool.sol +0 -2
  356. package/contracts/pool/PoolService.sol +1 -3
  357. package/contracts/product/ApplicationService.sol +21 -6
  358. package/contracts/product/BasicProduct.sol +0 -2
  359. package/contracts/product/BasicProductAuthorization.sol +1 -1
  360. package/contracts/product/IApplicationService.sol +3 -0
  361. package/contracts/product/IPricingService.sol +1 -0
  362. package/contracts/product/IRiskService.sol +3 -0
  363. package/contracts/product/PolicyService.sol +0 -18
  364. package/contracts/product/PricingService.sol +11 -6
  365. package/contracts/product/Product.sol +0 -2
  366. package/contracts/product/RiskService.sol +10 -0
  367. package/contracts/registry/IRegistry.sol +4 -0
  368. package/contracts/registry/RegistryAdmin.sol +133 -229
  369. package/contracts/registry/RegistryAuthorization.sol +267 -0
  370. package/contracts/registry/ReleaseAdmin.sol +30 -22
  371. package/contracts/registry/ReleaseRegistry.sol +39 -33
  372. package/contracts/registry/ServiceAuthorizationV3.sol +87 -3
  373. package/contracts/shared/Component.sol +13 -30
  374. package/contracts/shared/ComponentService.sol +58 -42
  375. package/contracts/shared/ContractLib.sol +28 -0
  376. package/contracts/shared/IComponent.sol +0 -3
  377. package/contracts/shared/IComponentService.sol +9 -9
  378. package/contracts/shared/InitializableERC165.sol +9 -1
  379. package/contracts/shared/InstanceLinkedComponent.sol +0 -2
  380. package/contracts/shared/NftOwnable.sol +1 -1
  381. package/contracts/shared/Registerable.sol +1 -4
  382. package/contracts/shared/TokenHandler.sol +5 -4
  383. package/contracts/staking/IStaking.sol +12 -2
  384. package/contracts/staking/IStakingService.sol +8 -1
  385. package/contracts/staking/Staking.sol +35 -15
  386. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +79 -22
  387. package/contracts/staking/StakingReader.sol +5 -15
  388. package/contracts/staking/StakingService.sol +36 -2
  389. package/contracts/staking/StakingStore.sol +2 -1
  390. package/contracts/type/Fee.sol +8 -8
  391. package/contracts/type/ObjectType.sol +5 -14
  392. package/contracts/type/UFixed.sol +27 -10
  393. package/contracts/type/Version.sol +39 -0
  394. package/package.json +2 -2
  395. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  396. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
@@ -14,6 +14,16 @@
14
14
  "internalType": "ObjectType",
15
15
  "name": "targetDomain",
16
16
  "type": "uint8"
17
+ },
18
+ {
19
+ "internalType": "bool",
20
+ "name": "isComponent",
21
+ "type": "bool"
22
+ },
23
+ {
24
+ "internalType": "bool",
25
+ "name": "includeTokenHandler",
26
+ "type": "bool"
17
27
  }
18
28
  ],
19
29
  "stateMutability": "nonpayable",
@@ -29,6 +39,29 @@
29
39
  "name": "ErrorAuthorizationTargetDomainZero",
30
40
  "type": "error"
31
41
  },
42
+ {
43
+ "inputs": [],
44
+ "name": "InvalidInitialization",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [],
49
+ "name": "NotInitializing",
50
+ "type": "error"
51
+ },
52
+ {
53
+ "anonymous": false,
54
+ "inputs": [
55
+ {
56
+ "indexed": false,
57
+ "internalType": "uint64",
58
+ "name": "version",
59
+ "type": "uint64"
60
+ }
61
+ ],
62
+ "name": "Initialized",
63
+ "type": "event"
64
+ },
32
65
  {
33
66
  "inputs": [],
34
67
  "name": "GIF_RELEASE",
@@ -147,6 +180,19 @@
147
180
  "stateMutability": "view",
148
181
  "type": "function"
149
182
  },
183
+ {
184
+ "inputs": [],
185
+ "name": "getDomain",
186
+ "outputs": [
187
+ {
188
+ "internalType": "ObjectType",
189
+ "name": "targetDomain",
190
+ "type": "uint8"
191
+ }
192
+ ],
193
+ "stateMutability": "view",
194
+ "type": "function"
195
+ },
150
196
  {
151
197
  "inputs": [],
152
198
  "name": "getMainTarget",
@@ -213,11 +259,6 @@
213
259
  "name": "maxMemberCount",
214
260
  "type": "uint32"
215
261
  },
216
- {
217
- "internalType": "Str",
218
- "name": "name",
219
- "type": "bytes32"
220
- },
221
262
  {
222
263
  "internalType": "Timestamp",
223
264
  "name": "createdAt",
@@ -227,6 +268,11 @@
227
268
  "internalType": "Timestamp",
228
269
  "name": "pausedAt",
229
270
  "type": "uint40"
271
+ },
272
+ {
273
+ "internalType": "Str",
274
+ "name": "name",
275
+ "type": "bytes32"
230
276
  }
231
277
  ],
232
278
  "internalType": "struct IAccess.RoleInfo",
@@ -397,6 +443,25 @@
397
443
  "stateMutability": "view",
398
444
  "type": "function"
399
445
  },
446
+ {
447
+ "inputs": [
448
+ {
449
+ "internalType": "bytes4",
450
+ "name": "interfaceId",
451
+ "type": "bytes4"
452
+ }
453
+ ],
454
+ "name": "supportsInterface",
455
+ "outputs": [
456
+ {
457
+ "internalType": "bool",
458
+ "name": "",
459
+ "type": "bool"
460
+ }
461
+ ],
462
+ "stateMutability": "view",
463
+ "type": "function"
464
+ },
400
465
  {
401
466
  "inputs": [
402
467
  {
@@ -417,14 +482,18 @@
417
482
  "type": "function"
418
483
  }
419
484
  ],
420
- "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0526002906100289082610b7c565b5060408051808201909152600b81526a086dedae0dedccadce8a8960ab1b60208201526003906100589082610b7c565b50348015610064575f80fd5b50604051611cf2380380611cf283398101604081905261008391610c4b565b81515f036100a45760405163c0348f3560e01b815260040160405180910390fd5b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156100f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101189190610d0c565b15610136576040516302e3f24160e11b815260040160405180910390fd5b60026101428382610b7c565b50816040516020016101549190610d49565b604051602081830303815290604052600390816101719190610b7c565b506040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af41580156101cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101ef9190610d66565b90505f6101fb8461049b565b90506102966002805461020d90610af8565b80601f016020809104026020016040519081016040528092919081815260200182805461023990610af8565b80156102845780601f1061025b57610100808354040283529160200191610284565b820191905f5260205f20905b81548152906001019060200180831161026757829003601f168201915b505050505083836104e260201b60201c565b60405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906102cd908790600401610d8c565b602060405180830381865af41580156102e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061030c9190610dc1565b60048190555f90815260076020526040902080546001600160401b0319166001600160401b03841617905561034e83610343600c90565b60ff90811691161490565b8061035f575061035f83600e610343565b80610370575061037083600d610343565b80610381575061038183600f610343565b15610418576104186003805461039690610af8565b80601f01602080910402602001604051908101604052809291908181526020018280546103c290610af8565b801561040d5780601f106103e45761010080835404028352916020019161040d565b820191905f5260205f20905b8154815290600101906020018083116103f057829003601f168201915b505061067892505050565b60405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061045090600390600401610dd8565b602060405180830381865af415801561046b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048f9190610dc1565b60055550505050610eb3565b60608160405180604001604052806004815260200163526f6c6560e01b8152506040516020016104cc929190610e5f565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061051b908790600401610d8c565b602060405180830381865af4158015610536573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055a9190610dc1565b6006805460018181019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f018290555f82815260086020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061062f92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af41580156105f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061d9190610d66565b6001600160401b039081169116141590565b156106725761063d836106fd565b61064b5761064b838361073f565b5f81815260076020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b6106fa8173__$1d92393fa9ccd763988368ce8a1cb90d26$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e79190610d66565b60408051602081019091525f81526104e2565b50565b5f806001600160401b0383165f908152600a602052604090205468010000000000000000900460ff16600381111561073757610737610e7b565b141592915050565b61075c8261075761074e610760565b600180866107d9565b6109b6565b5050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401602060405180830381865af41580156107b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d49190610d66565b905090565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b0316815260200185600381111561083657610836610e7b565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b815260040161087e9190610d8c565b602060405180830381865af4158015610899573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108bd9190610dc1565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610909573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092d9190610e8f565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610980573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a49190610e8f565b64ffffffffff16905295945050505050565b6009805460018101909155600481047f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f908152600a602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b0319909216179068010000000000000000908490811115610a6c57610a6c610e7b565b02179055506040820151815463ffffffff90911669010000000000000000000263ffffffff60481b199091161781556060820151600182015560808201516002909101805460a09093015164ffffffffff90811665010000000000026001600160501b03199094169216919091179190911790555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610b0c57607f821691505b602082108103610b2a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610b7757805f5260205f20601f840160051c81016020851015610b555750805b601f840160051c820191505b81811015610b74575f8155600101610b61565b50505b505050565b81516001600160401b03811115610b9557610b95610ae4565b610ba981610ba38454610af8565b84610b30565b6020601f821160018114610bdb575f8315610bc45750848201515b5f19600385901b1c1916600184901b178455610b74565b5f84815260208120601f198516915b82811015610c0a5787850151825560209485019460019092019101610bea565b5084821015610c2757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b805160ff81168114610c46575f80fd5b919050565b5f8060408385031215610c5c575f80fd5b82516001600160401b03811115610c71575f80fd5b8301601f81018513610c81575f80fd5b80516001600160401b03811115610c9a57610c9a610ae4565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610cc857610cc8610ae4565b604052818152828201602001871015610cdf575f80fd5b8160208401602083015e5f60208383010152809450505050610d0360208401610c36565b90509250929050565b5f60208284031215610d1c575f80fd5b81518015158114610d2b575f80fd5b9392505050565b5f81518060208401855e5f93019283525090919050565b5f610d548284610d32565b610a8960f31b81526002019392505050565b5f60208284031215610d76575f80fd5b81516001600160401b0381168114610d2b575f80fd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610dd1575f80fd5b5051919050565b602081525f808354610de981610af8565b806020860152600182165f8114610e075760018114610e2357610e54565b60ff1983166040870152604082151560051b8701019350610e54565b865f5260205f205f5b83811015610e4b57815488820160400152600190910190602001610e2c565b87016040019450505b509195945050505050565b5f610e73610e6d8386610d32565b84610d32565b949350505050565b634e487b7160e01b5f52602160045260245ffd5b5f60208284031215610e9f575f80fd5b815164ffffffffff81168114610d2b575f80fd5b610e3280610ec05f395ff3fe608060405234801561000f575f80fd5b5060043610610132575f3560e01c806376b707b7116100b4578063c143892b11610079578063c143892b146102ba578063c5f34844146102e4578063c6a0017914610307578063da1b620b1461031a578063e8eba4351461032d578063f1d0102714610340575f80fd5b806376b707b714610255578063775f14b11461026f5780638899278a146102975780638c5397b01461029f578063b1040cf8146102b2575f80fd5b80635bfa5027116100fa5780635bfa5027146101d35780635c935ce0146101f357806363fe3b561461021657806368c55b131461022b5780637106139814610240575f80fd5b80631e4afbbf14610136578063363ed4961461015f5780633a591cf81461018a5780634322699b1461019f57806354e17da9146101b1575b5f80fd5b610149610144366004610a0e565b610348565b6040516101569190610a3c565b60405180910390f35b61017261016d366004610ab6565b6103f5565b6040516001600160401b039091168152602001610156565b610192610479565b6040516101569190610aff565b6004545b604051908152602001610156565b6101a36101bf366004610ab6565b60ff165f9081526001602052604090205490565b6101e66101e1366004610b11565b610509565b6040516101569190610b40565b610206610201366004610bcc565b6105e3565b6040519015158152602001610156565b61021e61060b565b6040516101569190610be3565b610233610660565b6040516101569190610c1a565b6102486106d1565b6040516101569190610c54565b61025d610757565b60405160ff9091168152602001610156565b61017261027d366004610bcc565b5f908152600760205260409020546001600160401b031690565b6101a3600381565b6102486102ad366004610bcc565b6107d0565b6005546101a3565b6101926040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61019260405180604001604052806004815260200163526f6c6560e01b81525081565b610206610315366004610b11565b610860565b6101a3610328366004610ca8565b61089d565b61017261033b366004610ab6565b610915565b610192610966565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156103e9575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610386565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af415801561044f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610d58565b92915050565b60606003805461048890610d73565b80601f01602080910402602001604051908101604052809291908181526020018280546104b490610d73565b80156104ff5780601f106104d6576101008083540402835291602001916104ff565b820191905f5260205f20905b8154815290600101906020018083116104e257829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600a82529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561058157610581610b2c565b600381111561059257610592610b2c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b5f6105f082600454610975565b806104735750505f9081526008602052604090205460ff1690565b606060068054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905b815481526020019060010190808311610643575050505050905090565b60605f8054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106995790505050505050905090565b606060098054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b03168152602001906008019060208260070104928301926001038202915080841161070b5790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107cb9190610dab565b905090565b5f818152600b602090815260409182902080548351818402810184019094528084526060939283018282801561085457602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116108115790505b50505050509050919050565b5f806001600160401b0383165f908152600a6020526040902054600160401b900460ff16600381111561089557610895610b2c565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906108d6908590600401610aff565b602060405180830381865af41580156108f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610dc6565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610939610757565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401610434565b60606002805461048890610d73565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af41580156109cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f09190610ddd565b9392505050565b6001600160401b0381168114610a0b575f80fd5b50565b5f8060408385031215610a1f575f80fd5b823591506020830135610a31816109f7565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610a55565b509095945050505050565b60ff81168114610a0b575f80fd5b5f60208284031215610ac6575f80fd5b81356109f081610aa8565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6109f06020830184610ad1565b5f60208284031215610b21575f80fd5b81356109f0816109f7565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610b7357634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610bac608084018264ffffffffff169052565b5060a0830151610bc560a084018264ffffffffff169052565b5092915050565b5f60208284031215610bdc575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351835260209384019390920191600101610bfc565b602080825282518282018190525f918401906040840190835b81811015610a9d57835160ff16835260209384019390920191600101610c33565b602080825282518282018190525f918401906040840190835b81811015610a9d5783516001600160401b0316835260209384019390920191600101610c6d565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610cb8575f80fd5b81356001600160401b03811115610ccd575f80fd5b8201601f81018413610cdd575f80fd5b80356001600160401b03811115610cf657610cf6610c94565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d2457610d24610c94565b604052818152828201602001861015610d3b575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215610d68575f80fd5b81516109f0816109f7565b600181811c90821680610d8757607f821691505b602082108103610da557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610dbb575f80fd5b81516109f081610aa8565b5f60208284031215610dd6575f80fd5b5051919050565b5f60208284031215610ded575f80fd5b815180151581146109f0575f80fdfea26469706673582212204c0d7ebb813ff5ad503acfcee47f1869bb60e48b745f90355d07d48e2fe4e1e364736f6c634300081a0033",
421
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610132575f3560e01c806376b707b7116100b4578063c143892b11610079578063c143892b146102ba578063c5f34844146102e4578063c6a0017914610307578063da1b620b1461031a578063e8eba4351461032d578063f1d0102714610340575f80fd5b806376b707b714610255578063775f14b11461026f5780638899278a146102975780638c5397b01461029f578063b1040cf8146102b2575f80fd5b80635bfa5027116100fa5780635bfa5027146101d35780635c935ce0146101f357806363fe3b561461021657806368c55b131461022b5780637106139814610240575f80fd5b80631e4afbbf14610136578063363ed4961461015f5780633a591cf81461018a5780634322699b1461019f57806354e17da9146101b1575b5f80fd5b610149610144366004610a0e565b610348565b6040516101569190610a3c565b60405180910390f35b61017261016d366004610ab6565b6103f5565b6040516001600160401b039091168152602001610156565b610192610479565b6040516101569190610aff565b6004545b604051908152602001610156565b6101a36101bf366004610ab6565b60ff165f9081526001602052604090205490565b6101e66101e1366004610b11565b610509565b6040516101569190610b40565b610206610201366004610bcc565b6105e3565b6040519015158152602001610156565b61021e61060b565b6040516101569190610be3565b610233610660565b6040516101569190610c1a565b6102486106d1565b6040516101569190610c54565b61025d610757565b60405160ff9091168152602001610156565b61017261027d366004610bcc565b5f908152600760205260409020546001600160401b031690565b6101a3600381565b6102486102ad366004610bcc565b6107d0565b6005546101a3565b6101926040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61019260405180604001604052806004815260200163526f6c6560e01b81525081565b610206610315366004610b11565b610860565b6101a3610328366004610ca8565b61089d565b61017261033b366004610ab6565b610915565b610192610966565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156103e9575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610386565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af415801561044f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610d58565b92915050565b60606003805461048890610d73565b80601f01602080910402602001604051908101604052809291908181526020018280546104b490610d73565b80156104ff5780601f106104d6576101008083540402835291602001916104ff565b820191905f5260205f20905b8154815290600101906020018083116104e257829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600a82529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561058157610581610b2c565b600381111561059257610592610b2c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b5f6105f082600454610975565b806104735750505f9081526008602052604090205460ff1690565b606060068054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905b815481526020019060010190808311610643575050505050905090565b60605f8054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106995790505050505050905090565b606060098054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b03168152602001906008019060208260070104928301926001038202915080841161070b5790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107cb9190610dab565b905090565b5f818152600b602090815260409182902080548351818402810184019094528084526060939283018282801561085457602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116108115790505b50505050509050919050565b5f806001600160401b0383165f908152600a6020526040902054600160401b900460ff16600381111561089557610895610b2c565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906108d6908590600401610aff565b602060405180830381865af41580156108f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610dc6565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610939610757565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401610434565b60606002805461048890610d73565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af41580156109cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f09190610ddd565b9392505050565b6001600160401b0381168114610a0b575f80fd5b50565b5f8060408385031215610a1f575f80fd5b823591506020830135610a31816109f7565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610a55565b509095945050505050565b60ff81168114610a0b575f80fd5b5f60208284031215610ac6575f80fd5b81356109f081610aa8565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6109f06020830184610ad1565b5f60208284031215610b21575f80fd5b81356109f0816109f7565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610b7357634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610bac608084018264ffffffffff169052565b5060a0830151610bc560a084018264ffffffffff169052565b5092915050565b5f60208284031215610bdc575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351835260209384019390920191600101610bfc565b602080825282518282018190525f918401906040840190835b81811015610a9d57835160ff16835260209384019390920191600101610c33565b602080825282518282018190525f918401906040840190835b81811015610a9d5783516001600160401b0316835260209384019390920191600101610c6d565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610cb8575f80fd5b81356001600160401b03811115610ccd575f80fd5b8201601f81018413610cdd575f80fd5b80356001600160401b03811115610cf657610cf6610c94565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d2457610d24610c94565b604052818152828201602001861015610d3b575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215610d68575f80fd5b81516109f0816109f7565b600181811c90821680610d8757607f821691505b602082108103610da557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610dbb575f80fd5b81516109f081610aa8565b5f60208284031215610dd6575f80fd5b5051919050565b5f60208284031215610ded575f80fd5b815180151581146109f0575f80fdfea26469706673582212204c0d7ebb813ff5ad503acfcee47f1869bb60e48b745f90355d07d48e2fe4e1e364736f6c634300081a0033",
485
+ "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0526004906100289082610e9b565b5060408051808201909152600b81526a086dedae0dedccadce8a8960ab1b60208201526005906100589082610e9b565b50348015610064575f80fd5b506040516120f83803806120f883398101604081905261008391610f79565b83515f036100a45760405163c0348f3560e01b815260040160405180910390fd5b61011e8373__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156100ef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610113919061105a565b60ff90811691161490565b1561013c576040516302e3f24160e11b815260040160405180910390fd5b61017c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6006805460ff191660ff851617905560046101978582610e9b565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906101cf90879060040161107a565b602060405180830381865af41580156101ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061020e91906110af565b600755600180546001600160401b031916600a17905581156104705760405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561027a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029e91906110c6565b156102bc576040516302e3f24160e11b815260040160405180910390fd5b6040516311da4a5b60e31b815260ff841660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af4158015610315573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061033991906110df565b90505f6103ce6004805461034c90610e18565b80601f016020809104026020016040519081016040528092919081815260200182805461037890610e18565b80156103c35780601f1061039a576101008083540402835291602001916103c3565b820191905f5260205f20905b8154815290600101906020018083116103a657829003601f168201915b505061068992505050565b9050610469600480546103e090610e18565b80601f016020809104026020016040519081016040528092919081815260200182805461040c90610e18565b80156104575780601f1061042e57610100808354040283529160200191610457565b820191905f5260205f20905b81548152906001019060200180831161043a57829003601f168201915b505050505083836106d060201b60201c565b5050610502565b6105026004805461048090610e18565b80601f01602080910402602001604051908101604052809291908181526020018280546104ac90610e18565b80156104f75780601f106104ce576101008083540402835291602001916104f7565b820191905f5260205f20905b8154815290600101906020018083116104da57829003601f168201915b505061086692505050565b80156106455783604051602001610519919061111c565b604051602081830303815290604052600590816105369190610e9b565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061056f90600590600401611139565b602060405180830381865af415801561058a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ae91906110af565b6008556005805461064591906105c390610e18565b80601f01602080910402602001604051908101604052809291908181526020018280546105ef90610e18565b801561063a5780601f106106115761010080835404028352916020019161063a565b820191905f5260205f20905b81548152906001019060200180831161061d57829003601f168201915b505061098092505050565b632d137dd560e01b5f9081526020527f54ee35a959a52ed1d05cb9c12a1405c544cbd2b8bde0fa78deaf2875dc10e0e7805460ff191660011790555050505061124b565b60608160405180604001604052806004815260200163526f6c6560e01b8152506040516020016106ba9291906111c0565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061070990879060040161107a565b602060405180830381865af4158015610724573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074891906110af565b6009805460018181019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290555f828152600b6020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061081d92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af41580156107e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080b91906110df565b6001600160401b039081169116141590565b156108605761082b83610a05565b610839576108398383610a47565b5f818152600a6020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b600180545f9173__$1d92393fa9ccd763988368ce8a1cb90d26$__91637c3940bf916001600160401b03909116908461089e836111dc565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b81526004016108ed91906001600160401b0391909116815260200190565b602060405180830381865af4158015610908573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092c91906110df565b90505f8260405180604001604052806004815260200163526f6c6560e01b81525060405160200161095e9291906111c0565b60408051601f19818403018152919052905061097b8383836106d0565b505050565b610a028173__$1d92393fa9ccd763988368ce8a1cb90d26$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156109cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ef91906110df565b60408051602081019091525f81526106d0565b50565b5f806001600160401b0383165f908152600d602052604090205468010000000000000000900460ff166003811115610a3f57610a3f611213565b141592915050565b610a6482610a5f610a56610a68565b60018086610ae1565b610cbe565b5050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401602060405180830381865af4158015610ab8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610adc91906110df565b905090565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610b3e57610b3e611213565b81526020018463ffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bba9190611227565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c319190611227565b64ffffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610c74919061107a565b602060405180830381865af4158015610c8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb391906110af565b905295945050505050565b600c805460018101909155600481047fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f908152600d602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b0319909216179068010000000000000000908490811115610d7457610d74611213565b0217905550604082015181546060840151608085015164ffffffffff908116600160901b0264ffffffffff60901b19919092166d01000000000000000000000000000264ffffffffff60681b1963ffffffff90951669010000000000000000000294909416600160481b600160901b031990931692909217929092171617815560a0909101516001909101555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610e2c57607f821691505b602082108103610e4a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561097b57805f5260205f20601f840160051c81016020851015610e755750805b601f840160051c820191505b81811015610e94575f8155600101610e81565b5050505050565b81516001600160401b03811115610eb457610eb4610e04565b610ec881610ec28454610e18565b84610e50565b6020601f821160018114610efa575f8315610ee35750848201515b5f19600385901b1c1916600184901b178455610e94565b5f84815260208120601f198516915b82811015610f295787850151825560209485019460019092019101610f09565b5084821015610f4657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b805160ff81168114610f65575f80fd5b919050565b80518015158114610f65575f80fd5b5f805f8060808587031215610f8c575f80fd5b84516001600160401b03811115610fa1575f80fd5b8501601f81018713610fb1575f80fd5b80516001600160401b03811115610fca57610fca610e04565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610ff857610ff8610e04565b60405281815282820160200189101561100f575f80fd5b8160208401602083015e5f6020838301015280965050505061103360208601610f55565b925061104160408601610f6a565b915061104f60608601610f6a565b905092959194509250565b5f6020828403121561106a575f80fd5b61107382610f55565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156110bf575f80fd5b5051919050565b5f602082840312156110d6575f80fd5b61107382610f6a565b5f602082840312156110ef575f80fd5b81516001600160401b0381168114611073575f80fd5b5f81518060208401855e5f93019283525090919050565b5f6111278284611105565b610a8960f31b81526002019392505050565b602081525f80835461114a81610e18565b806020860152600182165f81146111685760018114611184576111b5565b60ff1983166040870152604082151560051b87010193506111b5565b865f5260205f205f5b838110156111ac5781548882016040015260019091019060200161118d565b87016040019450505b509195945050505050565b5f6111d46111ce8386611105565b84611105565b949350505050565b5f6001600160401b0382166002600160401b0319810161120a57634e487b7160e01b5f52601160045260245ffd5b60010192915050565b634e487b7160e01b5f52602160045260245ffd5b5f60208284031215611237575f80fd5b815164ffffffffff81168114611073575f80fd5b610ea0806112585f395ff3fe608060405234801561000f575f80fd5b5060043610610148575f3560e01c806376b707b7116100bf578063c143892b11610079578063c143892b14610303578063c5f348441461032d578063c6a0017914610350578063da1b620b14610363578063e8eba43514610376578063f1d0102714610389575f80fd5b806376b707b714610293578063775f14b1146102ad5780638899278a146102d55780638c5397b0146102dd578063b1040cf8146102f0578063b68d1809146102f8575f80fd5b806354e17da91161011057806354e17da9146101ff5780635bfa5027146102215780635c935ce01461024157806363fe3b561461025457806368c55b1314610269578063710613981461027e575f80fd5b806301ffc9a71461014c5780631e4afbbf1461018d578063363ed496146101ad5780633a591cf8146101d85780634322699b146101ed575b5f80fd5b61017861015a366004610a40565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a061019b366004610a7e565b610391565b6040516101849190610aac565b6101c06101bb366004610b26565b61043e565b6040516001600160401b039091168152602001610184565b6101e06104c2565b6040516101849190610b6f565b6007545b604051908152602001610184565b6101f161020d366004610b26565b60ff165f9081526003602052604090205490565b61023461022f366004610b81565b610552565b6040516101849190610bb0565b61017861024f366004610c3a565b61062b565b61025c610653565b6040516101849190610c51565b6102716106a8565b6040516101849190610c88565b61028661071a565b6040516101849190610cc2565b61029b6107a0565b60405160ff9091168152602001610184565b6101c06102bb366004610c3a565b5f908152600a60205260409020546001600160401b031690565b6101f1600381565b6102866102eb366004610c3a565b610819565b6008546101f1565b60065460ff1661029b565b6101e06040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b6101e060405180604001604052806004815260200163526f6c6560e01b81525081565b61017861035e366004610b81565b6108a9565b6101f1610371366004610d16565b6108e6565b6101c0610384366004610b26565b61095e565b6101e06109af565b5f828152600f602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610432575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016103cf565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af4158015610498573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104bc9190610dc6565b92915050565b6060600580546104d190610de1565b80601f01602080910402602001604051908101604052809291908181526020018280546104fd90610de1565b80156105485780601f1061051f57610100808354040283529160200191610548565b820191905f5260205f20905b81548152906001019060200180831161052b57829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600d82529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156105ca576105ca610b9c565b60038111156105db576105db610b9c565b8152815463ffffffff6901000000000000000000820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b5f610638826007546109be565b806104bc5750505f908152600b602052604090205460ff1690565b6060600980548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905b81548152602001906001019080831161068b575050505050905090565b6060600280548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106e25790505050505050905090565b6060600c80548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116107545790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108149190610e19565b905090565b5f818152600e602090815260409182902080548351818402810184019094528084526060939283018282801561089d57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b03168152602001906008019060208260070104928301926001038202915080841161085a5790505b50505050509050919050565b5f806001600160401b0383165f908152600d6020526040902054600160401b900460ff1660038111156108de576108de610b9c565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061091f908590600401610b6f565b602060405180830381865af415801561093a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104bc9190610e34565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836109826107a0565b6040516001600160e01b031960e085901b16815260ff92831660048201529116602482015260440161047d565b6060600480546104d190610de1565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610a15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a399190610e4b565b9392505050565b5f60208284031215610a50575f80fd5b81356001600160e01b031981168114610a39575f80fd5b6001600160401b0381168114610a7b575f80fd5b50565b5f8060408385031215610a8f575f80fd5b823591506020830135610aa181610a67565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610b0d578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610ac5565b509095945050505050565b60ff81168114610a7b575f80fd5b5f60208284031215610b36575f80fd5b8135610a3981610b18565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a396020830184610b41565b5f60208284031215610b91575f80fd5b8135610a3981610a67565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610be357634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151610c12606084018264ffffffffff169052565b506080830151610c2b608084018264ffffffffff169052565b5060a092830151919092015290565b5f60208284031215610c4a575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610b0d578351835260209384019390920191600101610c6a565b602080825282518282018190525f918401906040840190835b81811015610b0d57835160ff16835260209384019390920191600101610ca1565b602080825282518282018190525f918401906040840190835b81811015610b0d5783516001600160401b0316835260209384019390920191600101610cdb565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610d26575f80fd5b81356001600160401b03811115610d3b575f80fd5b8201601f81018413610d4b575f80fd5b80356001600160401b03811115610d6457610d64610d02565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d9257610d92610d02565b604052818152828201602001861015610da9575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215610dd6575f80fd5b8151610a3981610a67565b600181811c90821680610df557607f821691505b602082108103610e1357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610e29575f80fd5b8151610a3981610b18565b5f60208284031215610e44575f80fd5b5051919050565b5f60208284031215610e5b575f80fd5b81518015158114610a39575f80fdfea26469706673582212201fac753f2df880dd0f78c8388153757d44dfe1e90f874d09746beb863405df2664736f6c634300081a0033",
486
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610148575f3560e01c806376b707b7116100bf578063c143892b11610079578063c143892b14610303578063c5f348441461032d578063c6a0017914610350578063da1b620b14610363578063e8eba43514610376578063f1d0102714610389575f80fd5b806376b707b714610293578063775f14b1146102ad5780638899278a146102d55780638c5397b0146102dd578063b1040cf8146102f0578063b68d1809146102f8575f80fd5b806354e17da91161011057806354e17da9146101ff5780635bfa5027146102215780635c935ce01461024157806363fe3b561461025457806368c55b1314610269578063710613981461027e575f80fd5b806301ffc9a71461014c5780631e4afbbf1461018d578063363ed496146101ad5780633a591cf8146101d85780634322699b146101ed575b5f80fd5b61017861015a366004610a40565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a061019b366004610a7e565b610391565b6040516101849190610aac565b6101c06101bb366004610b26565b61043e565b6040516001600160401b039091168152602001610184565b6101e06104c2565b6040516101849190610b6f565b6007545b604051908152602001610184565b6101f161020d366004610b26565b60ff165f9081526003602052604090205490565b61023461022f366004610b81565b610552565b6040516101849190610bb0565b61017861024f366004610c3a565b61062b565b61025c610653565b6040516101849190610c51565b6102716106a8565b6040516101849190610c88565b61028661071a565b6040516101849190610cc2565b61029b6107a0565b60405160ff9091168152602001610184565b6101c06102bb366004610c3a565b5f908152600a60205260409020546001600160401b031690565b6101f1600381565b6102866102eb366004610c3a565b610819565b6008546101f1565b60065460ff1661029b565b6101e06040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b6101e060405180604001604052806004815260200163526f6c6560e01b81525081565b61017861035e366004610b81565b6108a9565b6101f1610371366004610d16565b6108e6565b6101c0610384366004610b26565b61095e565b6101e06109af565b5f828152600f602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610432575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016103cf565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af4158015610498573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104bc9190610dc6565b92915050565b6060600580546104d190610de1565b80601f01602080910402602001604051908101604052809291908181526020018280546104fd90610de1565b80156105485780601f1061051f57610100808354040283529160200191610548565b820191905f5260205f20905b81548152906001019060200180831161052b57829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600d82529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156105ca576105ca610b9c565b60038111156105db576105db610b9c565b8152815463ffffffff6901000000000000000000820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b5f610638826007546109be565b806104bc5750505f908152600b602052604090205460ff1690565b6060600980548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905b81548152602001906001019080831161068b575050505050905090565b6060600280548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106e25790505050505050905090565b6060600c80548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116107545790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108149190610e19565b905090565b5f818152600e602090815260409182902080548351818402810184019094528084526060939283018282801561089d57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b03168152602001906008019060208260070104928301926001038202915080841161085a5790505b50505050509050919050565b5f806001600160401b0383165f908152600d6020526040902054600160401b900460ff1660038111156108de576108de610b9c565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061091f908590600401610b6f565b602060405180830381865af415801561093a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104bc9190610e34565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836109826107a0565b6040516001600160e01b031960e085901b16815260ff92831660048201529116602482015260440161047d565b6060600480546104d190610de1565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610a15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a399190610e4b565b9392505050565b5f60208284031215610a50575f80fd5b81356001600160e01b031981168114610a39575f80fd5b6001600160401b0381168114610a7b575f80fd5b50565b5f8060408385031215610a8f575f80fd5b823591506020830135610aa181610a67565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610b0d578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610ac5565b509095945050505050565b60ff81168114610a7b575f80fd5b5f60208284031215610b36575f80fd5b8135610a3981610b18565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a396020830184610b41565b5f60208284031215610b91575f80fd5b8135610a3981610a67565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610be357634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151610c12606084018264ffffffffff169052565b506080830151610c2b608084018264ffffffffff169052565b5060a092830151919092015290565b5f60208284031215610c4a575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610b0d578351835260209384019390920191600101610c6a565b602080825282518282018190525f918401906040840190835b81811015610b0d57835160ff16835260209384019390920191600101610ca1565b602080825282518282018190525f918401906040840190835b81811015610b0d5783516001600160401b0316835260209384019390920191600101610cdb565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610d26575f80fd5b81356001600160401b03811115610d3b575f80fd5b8201601f81018413610d4b575f80fd5b80356001600160401b03811115610d6457610d64610d02565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d9257610d92610d02565b604052818152828201602001861015610da9575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215610dd6575f80fd5b8151610a3981610a67565b600181811c90821680610df557607f821691505b602082108103610e1357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610e29575f80fd5b8151610a3981610b18565b5f60208284031215610e44575f80fd5b5051919050565b5f60208284031215610e5b575f80fd5b81518015158114610a39575f80fdfea26469706673582212201fac753f2df880dd0f78c8388153757d44dfe1e90f874d09746beb863405df2664736f6c634300081a0033",
422
487
  "linkReferences": {
423
488
  "contracts/type/ObjectType.sol": {
424
489
  "ObjectTypeLib": [
425
490
  {
426
491
  "length": 20,
427
- "start": 188
492
+ "start": 170
493
+ },
494
+ {
495
+ "length": 20,
496
+ "start": 578
428
497
  }
429
498
  ]
430
499
  },
@@ -432,27 +501,31 @@
432
501
  "RoleIdLib": [
433
502
  {
434
503
  "length": 20,
435
- "start": 403
504
+ "start": 733
505
+ },
506
+ {
507
+ "length": 20,
508
+ "start": 1967
436
509
  },
437
510
  {
438
511
  "length": 20,
439
- "start": 1473
512
+ "start": 2158
440
513
  },
441
514
  {
442
515
  "length": 20,
443
- "start": 1662
516
+ "start": 2438
444
517
  },
445
518
  {
446
519
  "length": 20,
447
- "start": 1912
520
+ "start": 2688
448
521
  },
449
522
  {
450
523
  "length": 20,
451
- "start": 4822
524
+ "start": 5815
452
525
  },
453
526
  {
454
527
  "length": 20,
455
- "start": 6104
528
+ "start": 7097
456
529
  }
457
530
  ]
458
531
  },
@@ -460,27 +533,27 @@
460
533
  "StrLib": [
461
534
  {
462
535
  "length": 20,
463
- "start": 677
536
+ "start": 423
464
537
  },
465
538
  {
466
539
  "length": 20,
467
- "start": 1063
540
+ "start": 1350
468
541
  },
469
542
  {
470
543
  "length": 20,
471
- "start": 1267
544
+ "start": 1761
472
545
  },
473
546
  {
474
547
  "length": 20,
475
- "start": 2121
548
+ "start": 3135
476
549
  },
477
550
  {
478
551
  "length": 20,
479
- "start": 5998
552
+ "start": 6991
480
553
  },
481
554
  {
482
555
  "length": 20,
483
- "start": 6228
556
+ "start": 7221
484
557
  }
485
558
  ]
486
559
  },
@@ -488,11 +561,11 @@
488
561
  "TimestampLib": [
489
562
  {
490
563
  "length": 20,
491
- "start": 2244
564
+ "start": 2897
492
565
  },
493
566
  {
494
567
  "length": 20,
495
- "start": 2363
568
+ "start": 3016
496
569
  }
497
570
  ]
498
571
  },
@@ -500,7 +573,7 @@
500
573
  "VersionPartLib": [
501
574
  {
502
575
  "length": 20,
503
- "start": 5679
576
+ "start": 6672
504
577
  }
505
578
  ]
506
579
  }
@@ -510,11 +583,11 @@
510
583
  "RoleIdLib": [
511
584
  {
512
585
  "length": 20,
513
- "start": 1046
586
+ "start": 1119
514
587
  },
515
588
  {
516
589
  "length": 20,
517
- "start": 2328
590
+ "start": 2401
518
591
  }
519
592
  ]
520
593
  },
@@ -522,11 +595,11 @@
522
595
  "StrLib": [
523
596
  {
524
597
  "length": 20,
525
- "start": 2222
598
+ "start": 2295
526
599
  },
527
600
  {
528
601
  "length": 20,
529
- "start": 2452
602
+ "start": 2525
530
603
  }
531
604
  ]
532
605
  },
@@ -534,7 +607,7 @@
534
607
  "VersionPartLib": [
535
608
  {
536
609
  "length": 20,
537
- "start": 1903
610
+ "start": 1976
538
611
  }
539
612
  ]
540
613
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fe6349146d06341fb21f060b157460cc.json"
3
+ "buildInfo": "../../../build-info/49cf76454bc9678c0cab9d2da194f1c8.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/fe6349146d06341fb21f060b157460cc.json"
3
+ "buildInfo": "../../../build-info/49cf76454bc9678c0cab9d2da194f1c8.json"
4
4
  }