@etherisc/gif-next 0.0.2-c04bff4-304 → 0.0.2-c0923b6-664

Sign up to get free protection for your applications and to get access to all the features.
Files changed (548) hide show
  1. package/README.md +142 -331
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +810 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +760 -278
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +485 -26
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +588 -220
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +227 -20
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +275 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +479 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +204 -312
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +475 -41
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +123 -196
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +634 -225
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +247 -84
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -170
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +429 -77
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1474 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +844 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2043 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +844 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +293 -275
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +175 -185
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +363 -243
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +986 -389
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  65. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  66. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +55 -197
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  69. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  70. package/artifacts/contracts/{shared/KeyValueStore.sol/KeyValueStore.json → instance/IBaseStore.sol/IBaseStore.json} +34 -227
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +587 -64
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +405 -60
  75. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  76. package/artifacts/contracts/instance/Instance.sol/Instance.json +651 -119
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1154 -380
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +363 -92
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1613 -937
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +431 -131
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +170 -61
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1272 -1820
  89. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  91. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  93. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  95. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  96. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  98. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  100. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  101. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  102. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  104. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  109. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +161 -193
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +473 -42
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +116 -119
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  120. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +137 -145
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +201 -81
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +205 -54
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +185 -201
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +474 -40
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +355 -279
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +199 -84
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -121
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +152 -166
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +478 -227
  139. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  140. package/artifacts/contracts/pool/Pool.sol/Pool.json +165 -184
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +743 -379
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +253 -62
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +361 -57
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +194 -51
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  152. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +297 -244
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +474 -40
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +370 -159
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +211 -80
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +242 -24
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +299 -48
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +140 -37
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -212
  169. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  170. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +286 -21
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +451 -151
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +231 -72
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.json +201 -129
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +184 -65
  181. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  182. package/artifacts/contracts/product/Product.sol/Product.json +287 -234
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.json +372 -82
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +194 -51
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +144 -33
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  197. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  198. package/artifacts/contracts/registry/Registry.sol/Registry.json +188 -69
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +872 -478
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +139 -181
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +169 -46
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +490 -258
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +511 -20
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  217. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  218. package/artifacts/contracts/shared/Component.sol/Component.json +113 -103
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +502 -519
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +215 -86
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  231. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +93 -78
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +116 -119
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -6
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  245. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  248. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  250. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +136 -144
  252. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  253. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  254. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  255. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +37 -2
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  259. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +18 -8
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +171 -38
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  263. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  264. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Service.sol/Service.json +89 -2
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  273. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1492 -183
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  275. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  276. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  277. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  278. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  279. package/artifacts/contracts/staking/Staking.sol/Staking.json +1651 -304
  280. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  283. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +221 -68
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +286 -173
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +172 -53
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1645 -790
  292. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  293. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +160 -88
  296. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  297. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  299. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
  301. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  302. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  337. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  343. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  347. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +144 -38
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  353. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  355. package/contracts/accounting/AccountingService.sol +274 -0
  356. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  357. package/contracts/accounting/IAccountingService.sol +47 -0
  358. package/contracts/authorization/AccessAdmin.sol +400 -310
  359. package/contracts/authorization/AccessAdminLib.sol +678 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +128 -4
  361. package/contracts/authorization/Authorization.sol +179 -206
  362. package/contracts/authorization/IAccess.sol +29 -11
  363. package/contracts/authorization/IAccessAdmin.sol +89 -83
  364. package/contracts/authorization/IAuthorization.sol +9 -37
  365. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  366. package/contracts/authorization/ServiceAuthorization.sol +235 -25
  367. package/contracts/distribution/BasicDistribution.sol +21 -19
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  369. package/contracts/distribution/Distribution.sol +45 -95
  370. package/contracts/distribution/DistributionService.sol +224 -112
  371. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  372. package/contracts/distribution/IDistributionComponent.sol +4 -11
  373. package/contracts/distribution/IDistributionService.sol +38 -24
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +86 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +433 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +43 -12
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +8 -12
  383. package/contracts/examples/unpermissioned/SimplePool.sol +36 -10
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +134 -48
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BaseStore.sol +93 -0
  388. package/contracts/instance/BundleSet.sol +42 -38
  389. package/contracts/instance/IBaseStore.sol +37 -0
  390. package/contracts/instance/IInstance.sol +111 -18
  391. package/contracts/instance/IInstanceService.sol +61 -34
  392. package/contracts/instance/Instance.sol +196 -74
  393. package/contracts/instance/InstanceAdmin.sol +219 -197
  394. package/contracts/instance/InstanceAuthorizationV3.sol +154 -83
  395. package/contracts/instance/InstanceReader.sol +450 -274
  396. package/contracts/instance/InstanceService.sol +314 -267
  397. package/contracts/instance/InstanceServiceManager.sol +6 -7
  398. package/contracts/instance/InstanceStore.sol +152 -116
  399. package/contracts/instance/ProductStore.sol +290 -0
  400. package/contracts/instance/RiskSet.sol +126 -0
  401. package/contracts/instance/TargetNames.sol +10 -0
  402. package/contracts/instance/base/BalanceStore.sol +4 -6
  403. package/contracts/instance/base/ObjectCounter.sol +1 -2
  404. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  405. package/contracts/instance/base/ObjectSet.sol +31 -33
  406. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  407. package/contracts/instance/module/IBundle.sol +6 -5
  408. package/contracts/instance/module/IComponents.sol +28 -14
  409. package/contracts/instance/module/IDistribution.sol +21 -8
  410. package/contracts/instance/module/IPolicy.sol +30 -9
  411. package/contracts/instance/module/IRisk.sol +5 -0
  412. package/contracts/oracle/BasicOracle.sol +3 -7
  413. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  414. package/contracts/oracle/IOracle.sol +9 -4
  415. package/contracts/oracle/IOracleService.sol +2 -1
  416. package/contracts/oracle/Oracle.sol +9 -24
  417. package/contracts/oracle/OracleService.sol +117 -86
  418. package/contracts/oracle/OracleServiceManager.sol +6 -6
  419. package/contracts/pool/BasicPool.sol +35 -40
  420. package/contracts/pool/BasicPoolAuthorization.sol +34 -11
  421. package/contracts/pool/BundleService.sol +115 -167
  422. package/contracts/pool/BundleServiceManager.sol +6 -6
  423. package/contracts/pool/IBundleService.sol +28 -46
  424. package/contracts/pool/IPoolComponent.sol +19 -15
  425. package/contracts/pool/IPoolService.sol +77 -67
  426. package/contracts/pool/Pool.sol +142 -137
  427. package/contracts/pool/PoolLib.sol +341 -0
  428. package/contracts/pool/PoolService.sol +355 -250
  429. package/contracts/pool/PoolServiceManager.sol +4 -4
  430. package/contracts/product/ApplicationService.sol +110 -31
  431. package/contracts/product/ApplicationServiceManager.sol +4 -4
  432. package/contracts/product/BasicProduct.sol +10 -15
  433. package/contracts/product/BasicProductAuthorization.sol +32 -12
  434. package/contracts/product/ClaimService.sol +328 -189
  435. package/contracts/product/ClaimServiceManager.sol +4 -4
  436. package/contracts/product/IApplicationService.sol +28 -3
  437. package/contracts/product/IClaimService.sol +21 -7
  438. package/contracts/product/IPolicyService.sol +41 -12
  439. package/contracts/product/IPricingService.sol +10 -9
  440. package/contracts/product/IProductComponent.sol +27 -4
  441. package/contracts/product/IRiskService.sol +25 -10
  442. package/contracts/product/PolicyService.sol +357 -285
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +4 -4
  445. package/contracts/product/PricingService.sol +59 -54
  446. package/contracts/product/PricingServiceManager.sol +4 -4
  447. package/contracts/product/Product.sol +155 -89
  448. package/contracts/product/RiskService.sol +131 -39
  449. package/contracts/product/RiskServiceManager.sol +4 -4
  450. package/contracts/registry/ChainNft.sol +10 -11
  451. package/contracts/registry/IRegistry.sol +31 -27
  452. package/contracts/registry/IRegistryService.sol +5 -12
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -2
  455. package/contracts/registry/Registry.sol +51 -17
  456. package/contracts/registry/RegistryAdmin.sol +94 -385
  457. package/contracts/registry/RegistryAuthorization.sol +337 -0
  458. package/contracts/registry/RegistryService.sol +37 -48
  459. package/contracts/registry/RegistryServiceManager.sol +3 -3
  460. package/contracts/registry/ReleaseAdmin.sol +199 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  462. package/contracts/registry/ReleaseRegistry.sol +278 -244
  463. package/contracts/registry/ServiceAuthorizationV3.sol +204 -61
  464. package/contracts/registry/TokenRegistry.sol +61 -59
  465. package/contracts/shared/Component.sol +67 -125
  466. package/contracts/shared/ComponentService.sol +427 -377
  467. package/contracts/shared/ComponentServiceManager.sol +8 -5
  468. package/contracts/shared/ContractLib.sol +312 -0
  469. package/contracts/shared/IComponent.sol +6 -18
  470. package/contracts/shared/IComponentService.sol +43 -40
  471. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  472. package/contracts/shared/ILifecycle.sol +3 -1
  473. package/contracts/shared/INftOwnable.sol +4 -0
  474. package/contracts/shared/IPolicyHolder.sol +12 -13
  475. package/contracts/shared/IRegisterable.sol +22 -1
  476. package/contracts/shared/IService.sol +3 -5
  477. package/contracts/shared/InitializableERC165.sol +9 -1
  478. package/contracts/shared/InstanceLinkedComponent.sol +72 -52
  479. package/contracts/shared/Lifecycle.sol +15 -4
  480. package/contracts/shared/NftOwnable.sol +29 -7
  481. package/contracts/shared/PolicyHolder.sol +15 -8
  482. package/contracts/shared/Registerable.sol +50 -19
  483. package/contracts/shared/RegistryLinked.sol +7 -13
  484. package/contracts/shared/Service.sol +18 -33
  485. package/contracts/shared/TokenHandler.sol +275 -72
  486. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  487. package/contracts/staking/IStaking.sol +270 -72
  488. package/contracts/staking/IStakingService.sol +45 -78
  489. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  490. package/contracts/staking/Staking.sol +524 -225
  491. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  492. package/contracts/staking/StakingManager.sol +12 -9
  493. package/contracts/staking/StakingReader.sol +70 -82
  494. package/contracts/staking/StakingService.sol +62 -148
  495. package/contracts/staking/StakingServiceManager.sol +7 -5
  496. package/contracts/staking/StakingStore.sol +1093 -330
  497. package/contracts/staking/TargetHandler.sol +132 -0
  498. package/contracts/staking/TargetManagerLib.sol +69 -46
  499. package/contracts/type/Amount.sol +19 -0
  500. package/contracts/type/Blocknumber.sol +17 -22
  501. package/contracts/type/ChainId.sol +101 -0
  502. package/contracts/type/ClaimId.sol +6 -1
  503. package/contracts/type/Fee.sol +8 -8
  504. package/contracts/type/Key32.sol +2 -2
  505. package/contracts/type/Key32Set.sol +62 -0
  506. package/contracts/type/NftId.sol +7 -0
  507. package/contracts/type/ObjectType.sol +70 -38
  508. package/contracts/type/PayoutId.sol +10 -10
  509. package/contracts/type/RiskId.sol +38 -6
  510. package/contracts/type/RoleId.sol +61 -55
  511. package/contracts/type/Seconds.sol +19 -0
  512. package/contracts/type/Selector.sol +5 -0
  513. package/contracts/type/StateId.sol +14 -1
  514. package/contracts/type/String.sol +12 -0
  515. package/contracts/type/Timestamp.sol +4 -7
  516. package/contracts/type/UFixed.sol +38 -126
  517. package/contracts/type/Version.sol +54 -5
  518. package/contracts/upgradeability/IVersionable.sol +3 -0
  519. package/contracts/upgradeability/ProxyManager.sol +94 -46
  520. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  521. package/contracts/upgradeability/Versionable.sol +8 -5
  522. package/package.json +5 -4
  523. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  524. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  525. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  526. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  527. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  528. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  529. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  530. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -427
  531. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  532. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  533. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  534. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  535. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  536. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  537. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  538. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
  539. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  540. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  541. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  542. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  543. package/contracts/instance/module/IAccess.sol +0 -46
  544. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  545. package/contracts/shared/IKeyValueStore.sol +0 -54
  546. package/contracts/shared/InitializableCustom.sol +0 -177
  547. package/contracts/shared/KeyValueStore.sol +0 -131
  548. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -14,9 +14,77 @@
14
14
  "stateMutability": "nonpayable",
15
15
  "type": "constructor"
16
16
  },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "string",
21
+ "name": "commitHash",
22
+ "type": "string"
23
+ }
24
+ ],
25
+ "name": "ErrorAuthorizationCommitHashInvalid",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [],
30
+ "name": "ErrorAuthorizationMainTargetNameEmpty",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "uint8",
37
+ "name": "release",
38
+ "type": "uint8"
39
+ }
40
+ ],
41
+ "name": "ErrorAuthorizationReleaseInvalid",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "ErrorAuthorizationTargetDomainZero",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "InvalidInitialization",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "NotInitializing",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "anonymous": false,
61
+ "inputs": [
62
+ {
63
+ "indexed": false,
64
+ "internalType": "uint64",
65
+ "name": "version",
66
+ "type": "uint64"
67
+ }
68
+ ],
69
+ "name": "Initialized",
70
+ "type": "event"
71
+ },
72
+ {
73
+ "inputs": [],
74
+ "name": "COMMIT_HASH",
75
+ "outputs": [
76
+ {
77
+ "internalType": "string",
78
+ "name": "",
79
+ "type": "string"
80
+ }
81
+ ],
82
+ "stateMutability": "view",
83
+ "type": "function"
84
+ },
17
85
  {
18
86
  "inputs": [],
19
- "name": "GIF_VERSION_3",
87
+ "name": "COMMIT_HASH_LENGTH",
20
88
  "outputs": [
21
89
  {
22
90
  "internalType": "uint256",
@@ -28,19 +96,52 @@
28
96
  "type": "function"
29
97
  },
30
98
  {
31
- "inputs": [
99
+ "inputs": [],
100
+ "name": "DOMAIN",
101
+ "outputs": [
32
102
  {
33
103
  "internalType": "ObjectType",
34
- "name": "serviceDomain",
104
+ "name": "",
35
105
  "type": "uint8"
36
106
  }
37
107
  ],
38
- "name": "getAuthorizedDomains",
108
+ "stateMutability": "view",
109
+ "type": "function"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "GIF_INITIAL_VERSION",
39
114
  "outputs": [
40
115
  {
41
- "internalType": "ObjectType[]",
42
- "name": "authorizatedDomains",
43
- "type": "uint8[]"
116
+ "internalType": "uint256",
117
+ "name": "",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "stateMutability": "view",
122
+ "type": "function"
123
+ },
124
+ {
125
+ "inputs": [],
126
+ "name": "ROLE_NAME_SUFFIX",
127
+ "outputs": [
128
+ {
129
+ "internalType": "string",
130
+ "name": "",
131
+ "type": "string"
132
+ }
133
+ ],
134
+ "stateMutability": "view",
135
+ "type": "function"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "SERVICE_NAME_SUFFIX",
140
+ "outputs": [
141
+ {
142
+ "internalType": "string",
143
+ "name": "",
144
+ "type": "string"
44
145
  }
45
146
  ],
46
147
  "stateMutability": "view",
@@ -49,14 +150,14 @@
49
150
  {
50
151
  "inputs": [
51
152
  {
52
- "internalType": "ObjectType",
53
- "name": "serviceDomain",
54
- "type": "uint8"
153
+ "internalType": "Str",
154
+ "name": "target",
155
+ "type": "bytes32"
55
156
  },
56
157
  {
57
- "internalType": "ObjectType",
58
- "name": "authorizedDomain",
59
- "type": "uint8"
158
+ "internalType": "RoleId",
159
+ "name": "roleId",
160
+ "type": "uint64"
60
161
  }
61
162
  ],
62
163
  "name": "getAuthorizedFunctions",
@@ -77,6 +178,11 @@
77
178
  "internalType": "Timestamp",
78
179
  "name": "createdAt",
79
180
  "type": "uint40"
181
+ },
182
+ {
183
+ "internalType": "Blocknumber",
184
+ "name": "lastUpdateIn",
185
+ "type": "uint40"
80
186
  }
81
187
  ],
82
188
  "internalType": "struct IAccess.FunctionInfo[]",
@@ -87,6 +193,25 @@
87
193
  "stateMutability": "view",
88
194
  "type": "function"
89
195
  },
196
+ {
197
+ "inputs": [
198
+ {
199
+ "internalType": "Str",
200
+ "name": "target",
201
+ "type": "bytes32"
202
+ }
203
+ ],
204
+ "name": "getAuthorizedRoles",
205
+ "outputs": [
206
+ {
207
+ "internalType": "RoleId[]",
208
+ "name": "roleIds",
209
+ "type": "uint64[]"
210
+ }
211
+ ],
212
+ "stateMutability": "view",
213
+ "type": "function"
214
+ },
90
215
  {
91
216
  "inputs": [],
92
217
  "name": "getCommitHash",
@@ -100,6 +225,45 @@
100
225
  "stateMutability": "view",
101
226
  "type": "function"
102
227
  },
228
+ {
229
+ "inputs": [],
230
+ "name": "getDomain",
231
+ "outputs": [
232
+ {
233
+ "internalType": "ObjectType",
234
+ "name": "targetDomain",
235
+ "type": "uint8"
236
+ }
237
+ ],
238
+ "stateMutability": "view",
239
+ "type": "function"
240
+ },
241
+ {
242
+ "inputs": [],
243
+ "name": "getMainTarget",
244
+ "outputs": [
245
+ {
246
+ "internalType": "Str",
247
+ "name": "target",
248
+ "type": "bytes32"
249
+ }
250
+ ],
251
+ "stateMutability": "view",
252
+ "type": "function"
253
+ },
254
+ {
255
+ "inputs": [],
256
+ "name": "getMainTargetName",
257
+ "outputs": [
258
+ {
259
+ "internalType": "string",
260
+ "name": "name",
261
+ "type": "string"
262
+ }
263
+ ],
264
+ "stateMutability": "view",
265
+ "type": "function"
266
+ },
103
267
  {
104
268
  "inputs": [],
105
269
  "name": "getRelease",
@@ -113,6 +277,94 @@
113
277
  "stateMutability": "view",
114
278
  "type": "function"
115
279
  },
280
+ {
281
+ "inputs": [
282
+ {
283
+ "internalType": "RoleId",
284
+ "name": "roleId",
285
+ "type": "uint64"
286
+ }
287
+ ],
288
+ "name": "getRoleInfo",
289
+ "outputs": [
290
+ {
291
+ "components": [
292
+ {
293
+ "internalType": "RoleId",
294
+ "name": "adminRoleId",
295
+ "type": "uint64"
296
+ },
297
+ {
298
+ "internalType": "enum IAccess.TargetType",
299
+ "name": "targetType",
300
+ "type": "uint8"
301
+ },
302
+ {
303
+ "internalType": "uint32",
304
+ "name": "maxMemberCount",
305
+ "type": "uint32"
306
+ },
307
+ {
308
+ "internalType": "Timestamp",
309
+ "name": "createdAt",
310
+ "type": "uint40"
311
+ },
312
+ {
313
+ "internalType": "Timestamp",
314
+ "name": "pausedAt",
315
+ "type": "uint40"
316
+ },
317
+ {
318
+ "internalType": "Blocknumber",
319
+ "name": "lastUpdateIn",
320
+ "type": "uint40"
321
+ },
322
+ {
323
+ "internalType": "Str",
324
+ "name": "name",
325
+ "type": "bytes32"
326
+ }
327
+ ],
328
+ "internalType": "struct IAccess.RoleInfo",
329
+ "name": "info",
330
+ "type": "tuple"
331
+ }
332
+ ],
333
+ "stateMutability": "view",
334
+ "type": "function"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "RoleId",
340
+ "name": "roleId",
341
+ "type": "uint64"
342
+ }
343
+ ],
344
+ "name": "getRoleName",
345
+ "outputs": [
346
+ {
347
+ "internalType": "string",
348
+ "name": "roleName",
349
+ "type": "string"
350
+ }
351
+ ],
352
+ "stateMutability": "view",
353
+ "type": "function"
354
+ },
355
+ {
356
+ "inputs": [],
357
+ "name": "getRoles",
358
+ "outputs": [
359
+ {
360
+ "internalType": "RoleId[]",
361
+ "name": "roles",
362
+ "type": "uint64[]"
363
+ }
364
+ ],
365
+ "stateMutability": "view",
366
+ "type": "function"
367
+ },
116
368
  {
117
369
  "inputs": [
118
370
  {
@@ -163,16 +415,179 @@
163
415
  ],
164
416
  "stateMutability": "view",
165
417
  "type": "function"
418
+ },
419
+ {
420
+ "inputs": [
421
+ {
422
+ "internalType": "ObjectType",
423
+ "name": "serviceDomain",
424
+ "type": "uint8"
425
+ }
426
+ ],
427
+ "name": "getServiceRole",
428
+ "outputs": [
429
+ {
430
+ "internalType": "RoleId",
431
+ "name": "serviceRoleId",
432
+ "type": "uint64"
433
+ }
434
+ ],
435
+ "stateMutability": "view",
436
+ "type": "function"
437
+ },
438
+ {
439
+ "inputs": [
440
+ {
441
+ "internalType": "ObjectType",
442
+ "name": "serviceDomain",
443
+ "type": "uint8"
444
+ }
445
+ ],
446
+ "name": "getServiceTarget",
447
+ "outputs": [
448
+ {
449
+ "internalType": "Str",
450
+ "name": "target",
451
+ "type": "bytes32"
452
+ }
453
+ ],
454
+ "stateMutability": "view",
455
+ "type": "function"
456
+ },
457
+ {
458
+ "inputs": [
459
+ {
460
+ "internalType": "Str",
461
+ "name": "target",
462
+ "type": "bytes32"
463
+ }
464
+ ],
465
+ "name": "getTargetRole",
466
+ "outputs": [
467
+ {
468
+ "internalType": "RoleId",
469
+ "name": "roleId",
470
+ "type": "uint64"
471
+ }
472
+ ],
473
+ "stateMutability": "view",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [
478
+ {
479
+ "internalType": "RoleId",
480
+ "name": "roleId",
481
+ "type": "uint64"
482
+ }
483
+ ],
484
+ "name": "roleExists",
485
+ "outputs": [
486
+ {
487
+ "internalType": "bool",
488
+ "name": "exists",
489
+ "type": "bool"
490
+ }
491
+ ],
492
+ "stateMutability": "view",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "inputs": [
497
+ {
498
+ "internalType": "bytes4",
499
+ "name": "interfaceId",
500
+ "type": "bytes4"
501
+ }
502
+ ],
503
+ "name": "supportsInterface",
504
+ "outputs": [
505
+ {
506
+ "internalType": "bool",
507
+ "name": "",
508
+ "type": "bool"
509
+ }
510
+ ],
511
+ "stateMutability": "view",
512
+ "type": "function"
166
513
  }
167
514
  ],
168
- "bytecode": "0x608060405234801561000f575f80fd5b506040516117c43803806117c483398101604081905261002e91610eea565b805f61003a828261101e565b506104736001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf660208083048201805460ff601f95861661010090810a828102199093166002938402179093558184527f679795a0195a1b76cdebb7c51d74e058aee92919b8c3389af86ef24535e8a28c80546001600160a01b031990811689179091558754808901895585810487018054918916860a8085021990921660039283021790557f88601476d11616a71c5be67555bd1dff4b1cbf21533d2669b768b61518cfe1c3805483169094179093558754808901895585810487018054600a928a16870a838102908602199091161790557fd3604db978f6137b0d18816b77b2ce810487a3af08a922e0b184963be5f3adfc805483169094179093558754808901895585810487018054600b928a16870a838102908602199091161790557fab9952baf6478d8cfb7253ce86a6c53a7b7549582c76210b1581ae682b7e556f805460049084161790558854808a018a5586810488018054600e928b16880a92830292860219169190911790557f20de3dd312970f46a1d560f6c70f0e5bd10e638b9bb3836368f28838c607ea3e805460059084161790558854808a018a5586810488018054601a928b16880a92830292860219169190911790557f2cc0eb4b3ec5bf92d601b8938793073ef9a83f91d7e5985435824ae87524336a805460069084161790558854808a018a5586810488018054918a16870a808b02908602199092169190911790557f5859c04fd0363b95e824b76bab6d064bf500fe171eea5114a198e11ac4dfbbf0805460079084161790558854808a018a5586810488018054600f928b16880a92830292860219169190911790557f0353061a88c0592f32d7468be32ff6e5e91e49a3ea3ffb3c4fbe417c36501ba2805460089084161790558854808a018a5586810488018054600d928b16880a838102908702199091161790557feb5d92aa5b18af35c2d0c0d14a538792cf1a66aa06ab9dae49d32446e9063ca1805460099085161790558954808b018b5587810489018054600c928c16890a838102908802199091161790557fbd814762a7e35d5c162a7570d14baa68bd622cabb1ad83d40dd70f8a88aa67c0805485169096179095558954808b018b55878104890180546017928c16890a92830292870219169190911790557ff3118d41e0deec621ee3de85ec11bfcf8aee617b34cd0b5f1496acc8de2cbdcc805484169092179091558854808a018a55868104880180546014928b16880a92830292860219169190911790557f50d9dffd10eb4437a15e8bb1c50afee98ea231805f136fb9a057e7aaeec448ae805483169094179093558754808901909855938704909401805460159790961690920a868102940219909416929092179091555f929092527f44f9494ddace41673149b1ce2120e2a8dc5880bba93ff68e6b6c883c57a0c6958054909216179055565b61047b610484565b5050611176565b565b61048c6104b4565b6104946106eb565b61049c6109b7565b6104a4610a11565b6104ac610a96565b610482610bdc565b5f610517600260145b60ff9182165f8181526003602090815260408083208054600181018255908452828420838204018054968816601f9092166101000a8281029802199096169690961790945591815260048252828120938152929052902090565b905061055781635c992fed60e01b6040518060400160405280600e81526020016d7265676973746572506f6c69637960901b815250610cf960201b60201c565b6105636002601f6104bd565b90506105a38163c2bf08c860e01b6040518060400160405280600e81526020016d726567697374657242756e646c6560901b815250610cf960201b60201c565b6105af6002600e6104bd565b90506105fe816357a8fba760e01b6040518060400160405280601381526020017f72656769737465724469737472696275746f7200000000000000000000000000815250610cf960201b60201c565b61060b60025b600b6104bd565b905061064e8163d943342d60e01b604051806040016040528060118152602001701c9959da5cdd195c90dbdb5c1bdb995b9d607a1b815250610cf960201b60201c565b61065b60025b600a6104bd565b905061069d8163026bc43b60e01b6040518060400160405280601081526020016f7265676973746572496e7374616e636560801b815250610cf960201b60201c565b6106a9600260036104bd565b90506106e881638105cc7f60e01b6040518060400160405280600d81526020016c72656769737465725374616b6560981b815250610cf960201b60201c565b50565b5f6106f66003610654565b9050610745816381d9b45f60e01b6040518060400160405280601481526020017f637265617465496e7374616e6365546172676574000000000000000000000000815250610cf960201b60201c565b60408051808201909152601881527f736574496e7374616e63654c6f636b696e67506572696f640000000000000000602082015261078d90829063db1e36e760e01b90610cf9565b60408051808201909152601581527f736574496e7374616e636552657761726452617465000000000000000000000060208201526107d590829063545c994560e11b90610cf9565b60408051808201909152601c81527f726566696c6c496e7374616e6365526577617264526573657276657300000000602082015261081d908290636f61deef60e11b90610cf9565b60408051808201909152601e81527f7769746864726177496e7374616e63655265776172645265736572766573000060208201526108659082906321ece65760e01b90610cf9565b610871600360636104bd565b90506108a98163756b30de60e01b6040518060400160405280600681526020016563726561746560d01b815250610cf960201b60201c565b6040805180820190915260058152647374616b6560d81b60208201526108d9908290636c1e9dff60e01b90610cf9565b6040805180820190915260128152711c995cdd185ad9551bd3995dd5185c99d95d60721b602082015261091690829063f67fef6d60e01b90610cf9565b60408051808201909152600d81526c7570646174655265776172647360981b602082015261094e90829063085031c560e11b90610cf9565b60408051808201909152600c81526b636c61696d5265776172647360a01b60208201526109859082906338cfbb0d60e11b90610cf9565b604080518082019091526007815266756e7374616b6560c81b60208201526106e8908290636f52667960e11b90610cf9565b5f6109c2600a610604565b90506106e881633931d6da60e01b6040518060400160405280601781526020017f696e697469616c697a65417574686f72697a6174696f6e000000000000000000815250610cf960201b60201c565b5f610a1f600e5b60156104bd565b9050610a5c81637950d0e260e01b6040518060400160405280600b81526020016a70726f6365737353616c6560a81b815250610cf960201b60201c565b60408051808201909152600f81526e1c1c9bd8d95cdcd49959995c9c985b608a1b60208201526106e890829063038f0f2560e11b90610cf9565b5f610aa1600f610a18565b9050610ae1816384d1f7cf60e01b6040518060400160405280600e81526020016d1b1bd8dad0dbdb1b185d195c985b60921b815250610cf960201b60201c565b6040805180820190915260118152701c995b19585cd950dbdb1b185d195c985b607a1b6020820152610b1d9082906332f9f3df60e01b90610cf9565b60408051808201909152601081526f1c99591d58d950dbdb1b185d195c985b60821b6020820152610b589082906312df433d60e31b90610cf9565b60408051808201909152600b81526a70726f6365737353616c6560a81b6020820152610b8e90829063fb3bcd1f60e01b90610cf9565b610b9a600f60176104bd565b90506106e8816396fa19e860e01b6040518060400160405280601081526020016f1c99591d58d950dbdb1b185d195c985b60821b815250610cf960201b60201c565b5f610be9601f600f6104bd565b9050610c218163e283b4a960e01b6040518060400160405280600681526020016563726561746560d01b815250610cf960201b60201c565b604080518082019091526005815264636c6f736560d81b6020820152610c51908290632aa6b2cb60e21b90610cf9565b60408051808201909152600e81526d1b1bd8dad0dbdb1b185d195c985b60921b6020820152610c8a908290634adcf90960e01b90610cf9565b6040805180820190915260118152701c995b19585cd950dbdb1b185d195c985b607a1b6020820152610cc690829063ad328d9f60e01b90610cf9565b60408051808201909152600c81526b756e6c696e6b506f6c69637960a01b60208201526106e89082906301d90a6f60e61b905b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69610d3a86606485016110d8565b602060405180830381865af4158015610d55573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d79919061110d565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610dd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dfc9190611124565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e769190611152565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610efa575f80fd5b81516001600160401b03811115610f0f575f80fd5b8201601f81018413610f1f575f80fd5b80516001600160401b03811115610f3857610f38610ed6565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610f6657610f66610ed6565b604052818152828201602001861015610f7d575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b600181811c90821680610fae57607f821691505b602082108103610fcc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561101957805f5260205f20601f840160051c81016020851015610ff75750805b601f840160051c820191505b81811015611016575f8155600101611003565b50505b505050565b81516001600160401b0381111561103757611037610ed6565b61104b816110458454610f9a565b84610fd2565b6020601f82116001811461107d575f83156110665750848201515b5f19600385901b1c1916600184901b178455611016565b5f84815260208120601f198516915b828110156110ac578785015182556020948501946001909201910161108c565b50848210156110c957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f6020828403121561111d575f80fd5b5051919050565b5f60208284031215611134575f80fd5b81516001600160e01b03198116811461114b575f80fd5b9392505050565b5f60208284031215611162575f80fd5b815164ffffffffff8116811461114b575f80fd5b610641806111835f395ff3fe608060405234801561000f575f80fd5b5060043610610085575f3560e01c806376b707b71161005857806376b707b71461010e57806384be8c0014610128578063d2b717a11461013b578063e8ecdb3614610151575f80fd5b806313efdd7a146100895780633a526cd4146100d157806368c55b13146100f1578063694ca5d3146100f9575b5f80fd5b6100b4610097366004610459565b60ff165f908152600260205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020015b60405180910390f35b6100e46100df366004610459565b610171565b6040516100c8919061047b565b6100e46101f1565b610101610264565b6040516100c891906104c0565b6101166102ea565b60405160ff90911681526020016100c8565b6101166101363660046104f5565b610363565b610143600381565b6040519081526020016100c8565b61016461015f36600461050c565b61039c565b6040516100c89190610543565b60ff81165f908152600360209081526040918290208054835181840281018401909452808452606093928301828280156101e557602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116101b65790505b50505050509050919050565b6060600180548060200260200160405190810160405280929190818152602001828054801561025a57602002820191905f5260205f20905f905b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161022b5790505b5050505050905090565b60605f8054610272906105a4565b80601f016020809104026020016040519081016040528092919081815260200182805461029e906105a4565b801561025a5780601f106102c05761010080835404028352916020019161025a565b820191905f5260205f20905b8154815290600101906020018083116102cc57509395945050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561033a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061035e91906105dc565b905090565b5f60018281548110610377576103776105f7565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b60ff8083165f9081526004602090815260408083209385168352928152828220805484518184028101840190955280855260609493919290919084015b8282101561043c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016103d9565b50505050905092915050565b60ff81168114610456575f80fd5b50565b5f60208284031215610469575f80fd5b813561047481610448565b9392505050565b602080825282518282018190525f918401906040840190835b818110156104b557835160ff16835260209384019390920191600101610494565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610505575f80fd5b5035919050565b5f806040838503121561051d575f80fd5b823561052881610448565b9150602083013561053881610448565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156104b5578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff16918501919091529093019260609092019160010161055c565b600181811c908216806105b857607f821691505b6020821081036105d657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156105ec575f80fd5b815161047481610448565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122059c431fd08c98df0f08c8c5bef0befa6c6e9213221a1318c0204a489e0ad444c64736f6c634300081a0033",
169
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610085575f3560e01c806376b707b71161005857806376b707b71461010e57806384be8c0014610128578063d2b717a11461013b578063e8ecdb3614610151575f80fd5b806313efdd7a146100895780633a526cd4146100d157806368c55b13146100f1578063694ca5d3146100f9575b5f80fd5b6100b4610097366004610459565b60ff165f908152600260205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020015b60405180910390f35b6100e46100df366004610459565b610171565b6040516100c8919061047b565b6100e46101f1565b610101610264565b6040516100c891906104c0565b6101166102ea565b60405160ff90911681526020016100c8565b6101166101363660046104f5565b610363565b610143600381565b6040519081526020016100c8565b61016461015f36600461050c565b61039c565b6040516100c89190610543565b60ff81165f908152600360209081526040918290208054835181840281018401909452808452606093928301828280156101e557602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116101b65790505b50505050509050919050565b6060600180548060200260200160405190810160405280929190818152602001828054801561025a57602002820191905f5260205f20905f905b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161022b5790505b5050505050905090565b60605f8054610272906105a4565b80601f016020809104026020016040519081016040528092919081815260200182805461029e906105a4565b801561025a5780601f106102c05761010080835404028352916020019161025a565b820191905f5260205f20905b8154815290600101906020018083116102cc57509395945050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561033a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061035e91906105dc565b905090565b5f60018281548110610377576103776105f7565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b60ff8083165f9081526004602090815260408083209385168352928152828220805484518184028101840190955280855260609493919290919084015b8282101561043c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016103d9565b50505050905092915050565b60ff81168114610456575f80fd5b50565b5f60208284031215610469575f80fd5b813561047481610448565b9392505050565b602080825282518282018190525f918401906040840190835b818110156104b557835160ff16835260209384019390920191600101610494565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610505575f80fd5b5035919050565b5f806040838503121561051d575f80fd5b823561052881610448565b9150602083013561053881610448565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156104b5578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff16918501919091529093019260609092019160010161055c565b600181811c908216806105b857607f821691505b6020821081036105d657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156105ec575f80fd5b815161047481610448565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122059c431fd08c98df0f08c8c5bef0befa6c6e9213221a1318c0204a489e0ad444c64736f6c634300081a0033",
515
+ "bytecode": "0x60c060405234801561000f575f80fd5b5060405161448638038061448683398101604081905261002e91612fb1565b60408051808201909152600c81526b2932b632b0b9b2a0b236b4b760a11b602082015260066003836100d08373__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156100a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100c59190613051565b60ff90811691161490565b156100ee576040516302e3f24160e11b815260040160405180910390fd5b73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63bb41432a6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610135573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101599190613051565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156101aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101ce919061306c565b8260ff1610806102c0575073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63fbcaa8ed6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610220573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102449190613051565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610295573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102b9919061306c565b8260ff1610155b156102e857604051636164474d60e01b815260ff831660048201526024015b60405180910390fd5b602881511461030c57806040516369306ec360e01b81526004016102df91906130b1565b61034c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b62d1d15b60e11b5f9081526020527fbfdfbaeb6ce3cef2dc92e70fc8227f58737fb6598199eb8999f7714e506efecb805460ff1916600117905560026103928582613146565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906103ca9087906004016130b1565b602060405180830381865af41580156103e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610409919061306c565b60035560ff808416608052821660a05260016104258282613146565b506104a161043161050d565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63d09ce86c6040518163ffffffff1660e01b815260040160e060405180830381865af4158015610478573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049c919061324b565b610587565b6104f36104ac6106ef565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63aec48fc76040518163ffffffff1660e01b815260040160e060405180830381865af4158015610478573d5f803e3d5ffd5b6104fb61072f565b6105036107d9565b50505050506133fc565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af415801561055e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058291906132dd565b905090565b60068054600181019091557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f6004820401805460039092166008026101000a6001600160401b0381810219909316858416918202179091555f908152600760208181526040909220845181546001600160401b031981169190951690811782559285015185949193909284926001600160481b031916909117906801000000000000000090849081111561063d5761063d6132f6565b0217905550604082015181546060840151608085015160a086015164ffffffffff908116600160b81b0264ffffffffff60b81b19928216600160901b0292909216600160901b600160e01b0319919093166d01000000000000000000000000000264ffffffffff60681b1963ffffffff90961669010000000000000000000295909516600160481b600160901b03199094169390931793909317919091161717815560c0909101516001909101555050565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401610543565b61073b60026001610841565b61074760036002610841565b610753600a6003610841565b61075f60286004610841565b61076b600b6005610841565b610777600e6006610841565b610783602a6007610841565b61078f60166008610841565b61079b600f6009610841565b6107a7600d600a610841565b6107b3602c600b610841565b6107bf6015600c610841565b6107cb602d600d610841565b6107d76014600e610841565b565b6107e1610a9c565b6107e9610cc5565b6107f1610f45565b6107f9611390565b610801611794565b6108096119ba565b610811611bc8565b610819611cb0565b610821611e85565b61082961216b565b61083161235c565b610839612434565b6107d7612509565b6004805460018101825560208082047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01805460ff808816601f9095166101000a8581029102199091161790555f91825260059052604080822080546001600160a01b0386166001600160a01b031990911617905551632b95d28f60e21b8152909173__$0d958e68cba84670b8f4a3f2f2686b1c6b$__91630c3258f991839163ae574a3c916108fc9189910160ff91909116815260200190565b5f60405180830381865af4158015610916573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261093d9190810190612fb1565b6040805180820190915260078152665365727669636560c81b60208201526109636126c3565b6040518463ffffffff1660e01b81526004016109819392919061330a565b5f60405180830381865af415801561099b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109c29190810190612fb1565b9050610a978173__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe866109eb6126c3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610a2e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5291906132dd565b83604051806040016040528060058152602001645f526f6c6560d81b815250604051602001610a82929190613359565b60408051601f19818403018152919052612740565b505050565b5f610aa960026014612922565b9050610ae981635c992fed60e01b6040518060400160405280600e81526020016d7265676973746572506f6c69637960901b8152506129c360201b60201c565b610af660025b6016612922565b9050610b368163c2bf08c860e01b6040518060400160405280600e81526020016d726567697374657242756e646c6560901b8152506129c360201b60201c565b610b4360025b600b612922565b9050610b8481635d96628960e01b6040518060400160405280600f81526020016e1c9959da5cdd195c941c9bd91d58dd608a1b8152506129c360201b60201c565b60408051808201909152601e81527f726567697374657250726f647563744c696e6b6564436f6d706f6e656e7400006020820152610bcc908290631fa14e4960e11b906129c3565b610bd960025b600e612922565b9050610c28816357a8fba760e01b6040518060400160405280601381526020017f72656769737465724469737472696275746f72000000000000000000000000008152506129c360201b60201c565b610c3560025b600a612922565b9050610c778163026bc43b60e01b6040518060400160405280601081526020016f7265676973746572496e7374616e636560801b8152506129c360201b60201c565b610c8360026003612922565b9050610cc281638105cc7f60e01b6040518060400160405280600d81526020016c72656769737465725374616b6560981b8152506129c360201b60201c565b50565b5f610cd06003610c2e565b9050610d1f816375cd310560e01b6040518060400160405280601481526020017f637265617465496e7374616e63655461726765740000000000000000000000008152506129c360201b60201c565b60408051808201909152601881527f736574496e7374616e63654c6f636b696e67506572696f6400000000000000006020820152610d6790829063db1e36e760e01b906129c3565b60408051808201909152601581527f736574496e7374616e63655265776172645261746500000000000000000000006020820152610daf90829063c26efb0560e01b906129c3565b60408051808201909152601a81527f736574496e7374616e63654d61785374616b6564416d6f756e740000000000006020820152610df7908290634bae314b60e01b906129c3565b60408051808201909152601c81527f726566696c6c496e7374616e63655265776172645265736572766573000000006020820152610e3f908290636f61deef60e11b906129c3565b60408051808201909152601e81527f7769746864726177496e7374616e6365526577617264526573657276657300006020820152610e879082906321ece65760e01b906129c3565b610e9460035b6063612922565b9050610ed781633e0dbe8060e01b6040518060400160405280601181526020017018dc99585d1954dd185ad953d89a9958dd607a1b8152506129c360201b60201c565b60408051808201909152600c81526b383ab6362234b82a37b5b2b760a11b6020820152610f0e90829063f71c4cef60e01b906129c3565b60408051808201909152600c81526b383ab9b42234b82a37b5b2b760a11b6020820152610cc2908290630cb9145560e41b906129c3565b5f610f50600a610e8d565b9050610f8c81631f481d6460e01b6040518060400160405280600a815260200169637265617465526f6c6560b01b8152506129c360201b60201c565b60408051808201909152600d81526c736574526f6c6541637469766560981b6020820152610fc49082906311effbc960e11b906129c3565b6040805180820190915260098152686772616e74526f6c6560b81b6020820152610ff8908290630b428b0b60e41b906129c3565b60408051808201909152600a8152697265766f6b65526f6c6560b01b602082015261102d908290635be958b160e11b906129c3565b60408051808201909152600c81526b18dc99585d1955185c99d95d60a21b60208201526110649082906317ea2ab560e21b906129c3565b604080518082019091526012815271617574686f72697a6546756e6374696f6e7360701b60208201526110a19082906333102c8160e01b906129c3565b60408051808201909152601481527f756e617574686f72697a6546756e6374696f6e7300000000000000000000000060208201526110e990829063fb3fc44d60e01b906129c3565b60408051808201909152600f81526e1cd95d15185c99d95d131bd8dad959608a1b6020820152611123908290638689231360e01b906129c3565b6040805180820190915260118152701cd95d125b9cdd185b98d9531bd8dad959607a1b602082015261115f9082906396cdfa3f60e01b906129c3565b60408051808201909152600e81526d637265617465496e7374616e636560901b602082015261119890829063d127388760e01b906129c3565b60408051808201909152601581527f75706772616465496e7374616e6365526561646572000000000000000000000060208201526111e090829063c265172560e01b906129c3565b60408051808201909152601b81527f757067726164654d6173746572496e7374616e6365526561646572000000000060208201526112289082906312a7b43360e11b906129c3565b60408051808201909152601781527f7365745374616b696e674c6f636b696e67506572696f6400000000000000000060208201526112709082906305aec9df60e31b906129c3565b60408051808201909152601481527f7365745374616b696e675265776172645261746500000000000000000000000060208201526112b89082906311f7784360e01b906129c3565b60408051808201909152601381527f7365745374616b696e674d6178416d6f756e74000000000000000000000000006020820152611300908290637de45f1360e01b906129c3565b60408051808201909152601c81527f726566696c6c496e7374616e63655265776172645265736572766573000000006020820152611348908290633dfa1a3d60e01b906129c3565b60408051808201909152601e81527f7769746864726177496e7374616e6365526577617264526573657276657300006020820152610cc2908290633fa5261560e01b906129c3565b5f61139b6028610aef565b90506113ea816325e451d360e01b6040518060400160405280601581526020017f696e63726561736542756e646c6542616c616e636500000000000000000000008152506129c360201b60201c565b60408051808201909152601581527f646563726561736542756e646c6542616c616e63650000000000000000000000602082015261143290829063e618053f60e01b906129c3565b61143c6028610b3c565b905061148b8163346696cc60e01b6040518060400160405280601581526020017f6465637265617365436f6d706f6e656e744665657300000000000000000000008152506129c360201b60201c565b6114956028610bd2565b90506114e4816374933c2f60e01b6040518060400160405280601b81526020017f696e637265617365446973747269627574696f6e42616c616e636500000000008152506129c360201b60201c565b60408051808201909152601b81527f6465637265617365446973747269627574696f6e42616c616e63650000000000602082015261152c9082906311a1467760e01b906129c3565b60408051808201909152601a81527f696e6372656173654469737472696275746f7242616c616e6365000000000000602082015261157490829063345972d960e21b906129c3565b60408051808201909152601a81527f64656372656173654469737472696275746f7242616c616e636500000000000060208201526115bc908290636610178160e01b906129c3565b6115c960285b6015612922565b9050611618816367438c5060e01b6040518060400160405280601381526020017f696e63726561736550726f6475637446656573000000000000000000000000008152506129c360201b60201c565b61162560285b600f612922565b90506116748163d56cd3d560e01b6040518060400160405280601381526020017f696e637265617365506f6f6c42616c616e6365000000000000000000000000008152506129c360201b60201c565b60408051808201909152601381527f6465637265617365506f6f6c42616c616e63650000000000000000000000000060208201526116bc9082906344fd6c5160e11b906129c3565b60408051808201909152601c81527f696e63726561736542756e646c6542616c616e6365466f72506f6f6c0000000060208201526117049082906317bb009960e21b906129c3565b60408051808201909152601c81527f646563726561736542756e646c6542616c616e6365466f72506f6f6c00000000602082015261174c908290632267301360e21b906129c3565b60408051808201909152601a81527f696e63726561736550726f6475637446656573466f72506f6f6c0000000000006020820152610cc2908290631bb297cd60e31b906129c3565b5f61179f600b610e8d565b90506117e281636078a3b260e01b604051806040016040528060118152602001701c9959da5cdd195c90dbdb5c1bdb995b9d607a1b8152506129c360201b60201c565b60408051808201909152601381527f617070726f7665546f6b656e48616e646c657200000000000000000000000000602082015261182a9082906320c8cbff60e11b906129c3565b6040805180820190915260098152681cd95d15d85b1b195d60ba1b602082015261185e90829063deaa59df60e01b906129c3565b6040805180820190915260098152681cd95d131bd8dad95960ba1b602082015261189290829063108f145b60e11b906129c3565b60408051808201909152600c81526b77697468647261774665657360a01b60208201526118c99082906301c6b21960e41b906129c3565b60408051808201909152600f81526e1c9959da5cdd195c941c9bd91d58dd608a1b6020820152611903908290635d96628960e01b906129c3565b60408051808201909152600e81526d73657450726f647563744665657360901b602082015261193c908290634698bf1160e01b906129c3565b60408051808201909152601381527f736574446973747269627574696f6e4665657300000000000000000000000000602082015261198490829063feff0c9160e01b906129c3565b60408051808201909152600b81526a736574506f6f6c4665657360a81b6020820152610cc290829063cf2f336560e01b906129c3565b5f6119c5602d610e8d565b90506119fd816374b775eb60e01b604051806040016040528060068152602001651cdd589b5a5d60d21b8152506129c360201b60201c565b604080518082019091526007815266636f6e6669726d60c81b6020820152611a2f908290636e2cdce760e01b906129c3565b6040805180820190915260078152666465636c696e6560c81b6020820152611a6190829063f450e2b560e01b906129c3565b6040805180820190915260068152657265766f6b6560d01b6020820152611a92908290633838d73960e01b906129c3565b60408051808201909152601481527f63616e63656c436f6e6669726d6564436c61696d0000000000000000000000006020820152611ada908290633ca19bc160e01b906129c3565b60408051808201909152601a81527f6372656174655061796f7574466f7242656e65666963696172790000000000006020820152611b2290829063e01f7a4360e01b906129c3565b60408051808201909152600c81526b18dc99585d1954185e5bdd5d60a21b6020820152611b59908290631e2992c760e11b906129c3565b60408051808201909152600d81526c1c1c9bd8d95cdcd4185e5bdd5d609a1b6020820152611b9190829063137a92a760e01b906129c3565b60408051808201909152600c81526b18d85b98d95b14185e5bdd5d60a21b6020820152610cc2908290630c68938d60e41b906129c3565b5f611bd3602c610e8d565b9050611c0f8163c3fa12bb60e01b6040518060400160405280600a8152602001696372656174655269736b60b01b8152506129c360201b60201c565b60408051808201909152600a8152697570646174655269736b60b01b6020820152611c44908290638f997f6d60e01b906129c3565b60408051808201909152600d81526c1cd95d149a5cdad31bd8dad959609a1b6020820152611c7c90829063544e9e5b60e01b906129c3565b604080518082019091526009815268636c6f73655269736b60b81b6020820152610cc290829063233bf20760e11b906129c3565b5f611cbb600e6115c2565b9050611cf881637950d0e260e01b6040518060400160405280600b81526020016a70726f6365737353616c6560a81b8152506129c360201b60201c565b60408051808201909152600f81526e1c1c9bd8d95cdcd49959995c9c985b608a1b6020820152611d3290829063038f0f2560e11b906129c3565b611d3c600e610e8d565b9050611d8b81631bda5efa60e01b6040518060400160405280601581526020017f6372656174654469737472696275746f725479706500000000000000000000008152506129c360201b60201c565b60408051808201909152601181527031b932b0ba32a234b9ba3934b13aba37b960791b6020820152611dc7908290632ee59dd760e11b906129c3565b60408051808201909152601581527f6368616e67654469737472696275746f725479706500000000000000000000006020820152611e0f90829063ab3fc75f60e01b906129c3565b60408051808201909152600e81526d18dc99585d19549959995c9c985b60921b6020820152611e4890829063987cb16160e01b906129c3565b6040805180820190915260128152713bb4ba34323930bba1b7b6b6b4b9b9b4b7b760711b6020820152610cc29082906303f38d3760e11b906129c3565b5f611e90600f6115c2565b9050611ed0816384d1f7cf60e01b6040518060400160405280600e81526020016d1b1bd8dad0dbdb1b185d195c985b60921b8152506129c360201b60201c565b6040805180820190915260118152701c995b19585cd950dbdb1b185d195c985b607a1b6020820152611f0c90829063750787f560e01b906129c3565b60408051808201909152600b81526a70726f6365737353616c6560a81b6020820152611f4290829063fb3bcd1f60e01b906129c3565b611f4e600f602d612922565b9050611f8d8163125510a360e01b6040518060400160405280600d81526020016c1c1c9bd8d95cdcd4185e5bdd5d609a1b8152506129c360201b60201c565b611f97600f610e8d565b9050611fe68163bca99e3960e01b6040518060400160405280601381526020017f7365744d617842616c616e6365416d6f756e74000000000000000000000000008152506129c360201b60201c565b60408051808201909152600b81526a636c6f736542756e646c6560a81b602082015261201c90829063d0d63b0960e01b906129c3565b60408051808201909152601281527170726f6365737346756e646564436c61696d60701b60208201526120599082906370f90b7d60e11b906129c3565b6040805180820190915260058152647374616b6560d81b6020820152612089908290636c1e9dff60e01b906129c3565b604080518082019091526007815266756e7374616b6560c81b60208201526120bb9082906326889b0960e01b906129c3565b60408051808201909152600e81526d199d5b99141bdbdb15d85b1b195d60921b60208201526120f4908290634725284760e11b906129c3565b60408051808201909152601081526f1919599d5b99141bdbdb15d85b1b195d60821b602082015261212e90829062ca71c760e61b906129c3565b604080518082019091526012815271776974686472617742756e646c654665657360701b6020820152610cc29082906354e5077960e01b906129c3565b5f612176601661161e565b90506121ad8163c548949d60e01b604051806040016040528060058152602001647374616b6560d81b8152506129c360201b60201c565b604080518082019091526007815266756e7374616b6560c81b60208201526121df908290631696791160e11b906129c3565b604080518082019091526005815264636c6f736560d81b602082015261220f908290632aa6b2cb60e21b906129c3565b60408051808201909152600e81526d1b1bd8dad0dbdb1b185d195c985b60921b6020820152612248908290634adcf90960e01b906129c3565b6040805180820190915260118152701c995b19585cd950dbdb1b185d195c985b607a1b602082015261228490829063ad328d9f60e01b906129c3565b61228e6016610e8d565b90506122c68163fdbb929660e01b6040518060400160405280600681526020016563726561746560d01b8152506129c360201b60201c565b604080518082019091526006815265195e1d195b9960d21b60208201526122f79082906379e872e960e11b906129c3565b6040805180820190915260098152681cd95d131bd8dad95960ba1b602082015261232b90829063d42a24b160e01b906129c3565b60408051808201909152600681526573657446656560d01b6020820152610cc290829063a5fbe47960e01b906129c3565b5f612367600d610e8d565b90506123a08163f684566360e01b604051806040016040528060078152602001661c995c5d595cdd60ca1b8152506129c360201b60201c565b6040805180820190915260078152661c995cdc1bdb9960ca1b60208201526123d29082906367a773bd60e11b906129c3565b6040805180820190915260068152651c995cd95b9960d21b6020820152612403908290630b331f6960e21b906129c3565b60408051808201909152600681526518d85b98d95b60d21b6020820152610cc2908290634c125e7960e01b906129c3565b5f61243f6014610e8d565b905061247781639a83274160e01b6040518060400160405280600681526020016563726561746560d01b8152506129c360201b60201c565b60408051808201909152600581526472656e657760d81b60208201526124a790829063536ef74b60e01b906129c3565b60408051808201909152600681526518591a9d5cdd60d21b60208201526124d89082906362cbbd7b60e01b906129c3565b6040805180820190915260068152657265766f6b6560d01b6020820152610cc290829063603ccaad60e01b906129c3565b5f6125146015610e8d565b905061254d81639ffcede960e01b604051806040016040528060078152602001666465636c696e6560c81b8152506129c360201b60201c565b60408051808201909152600c81526b637265617465506f6c69637960a01b602082015261258490829063d22413e560e01b906129c3565b60408051808201909152600e81526d636f6c6c6563745072656d69756d60901b60208201526125bd908290635dfddfdd60e11b906129c3565b604080518082019091526008815267616374697661746560c01b60208201526125f0908290634d5e16a960e01b906129c3565b60408051808201909152601081526f30b2353ab9ba20b1ba34bb30ba34b7b760811b602082015261262b90829063d322005160e01b906129c3565b60408051808201909152600681526565787069726560d01b602082015261265c908290637baa9a0b60e01b906129c3565b60408051808201909152600c81526b657870697265506f6c69637960a01b602082015261269390829063bc4a1c3560e01b906129c3565b604080518082019091526005815264636c6f736560d81b6020820152610cc2908290630155751d60e31b906129c3565b60a051604051632392b61b60e21b81525f9173__$b659da7d8a6d2d32aa6c1e17da23dc2174$__91638e4ad86c916127019160040190815260200190565b602060405180830381865af415801561271c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105829190613051565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906127799087906004016130b1565b602060405180830381865af4158015612794573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127b8919061306c565b6008805460018181019092557ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3018290555f82815260096020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061288d92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af4158015612857573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061287b91906132dd565b6001600160401b039081169116141590565b1561291c5761289b83612c3d565b6128f5576128f58373__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63650cbf89856040518263ffffffff1660e01b81526004016128da91906130b1565b60e060405180830381865af4158015610478573d5f803e3d5ffd5b5f818152600a6020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b5f8061292d84612c81565b90505f61293984612de9565b604051631623433d60e31b8152600481018490529091506129ba9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af415801561298d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129b49190810190612fb1565b82612e31565b95945050505050565b60408051608081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69612a0486608485016130b1565b602060405180830381865af4158015612a1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a43919061306c565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015612aa2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ac69190613375565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b1c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b40919061339c565b64ffffffffff16815260200173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bb7919061339c565b64ffffffffff9081169091528254600181810185555f948552602094859020845160029093020191825593830151930180546040840151606090940151831669010000000000000000000264ffffffffff60481b1994909316640100000000026001600160481b031990911660e09590951c949094179390931791909116179055505050565b5f806001600160401b0383165f9081526007602081905260409091205468010000000000000000900460ff1690811115612c7957612c796132f6565b141592915050565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af4158015612cdc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d039190810190612fb1565b612d0b6126c3565b6040518363ffffffff1660e01b8152600401612d289291906133b7565b5f60405180830381865af4158015612d42573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d699190810190612fb1565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990612da39084906004016130b1565b602060405180830381865af4158015612dbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612de2919061306c565b9392505050565b5f612df58260636100c5565b15612e0857612e026106ef565b92915050565b5f612e1283612c81565b5f818152600a60205260409020549091506001600160401b0316612de2565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401612e6a91906130b1565b602060405180830381865af4158015612e85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ea9919061306c565b5f818152600c602090815260408083206001600160401b038816845290915281205491925003612f1c575f818152600b602090815260408220805460018101825590835291206004820401805460039092166008026101000a6001600160401b0381810219909316928616029190911790555b5f908152600c602090815260408083206001600160401b03861684529091529020905092915050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612f7b57612f7b612f45565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612fa957612fa9612f45565b604052919050565b5f60208284031215612fc1575f80fd5b81516001600160401b03811115612fd6575f80fd5b8201601f81018413612fe6575f80fd5b80516001600160401b03811115612fff57612fff612f45565b613012601f8201601f1916602001612f81565b818152856020838501011115613026575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60ff81168114610cc2575f80fd5b5f60208284031215613061575f80fd5b8151612de281613043565b5f6020828403121561307c575f80fd5b5051919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f612de26020830184613083565b600181811c908216806130d757607f821691505b6020821081036130f557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610a9757805f5260205f20601f840160051c810160208510156131205750805b601f840160051c820191505b8181101561313f575f815560010161312c565b5050505050565b81516001600160401b0381111561315f5761315f612f45565b6131738161316d84546130c3565b846130fb565b6020601f8211600181146131a5575f831561318e5750848201515b5f19600385901b1c1916600184901b17845561313f565b5f84815260208120601f198516915b828110156131d457878501518255602094850194600190920191016131b4565b50848210156131f157868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b80516001600160401b0381168114613216575f80fd5b919050565b805163ffffffff81168114613216575f80fd5b64ffffffffff81168114610cc2575f80fd5b80516132168161322e565b5f60e082840312801561325c575f80fd5b50613265612f59565b61326e83613200565b8152602083015160088110613281575f80fd5b60208201526132926040840161321b565b60408201526132a360608401613240565b60608201526132b460808401613240565b60808201526132c560a08401613240565b60a082015260c0928301519281019290925250919050565b5f602082840312156132ed575f80fd5b612de282613200565b634e487b7160e01b5f52602160045260245ffd5b606081525f61331c6060830186613083565b828103602084015261332e8186613083565b91505060ff83166040830152949350505050565b5f81518060208401855e5f93019283525090919050565b5f61336d6133678386613342565b84613342565b949350505050565b5f60208284031215613385575f80fd5b81516001600160e01b031981168114612de2575f80fd5b5f602082840312156133ac575f80fd5b8151612de28161322e565b606081525f6133c96060830185613083565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b60805160a0516110626134245f395f61093001525f8181610258015261036101526110625ff3fe608060405234801561000f575f80fd5b5060043610610153575f3560e01c806376b707b7116100bf578063c5f3484411610079578063c5f348441461038d578063c6a00179146103b1578063da44d6af146103c4578063e8eba435146103cc578063f1d01027146103df578063fef30334146103e7575f80fd5b806376b707b7146102f1578063775f14b1146102f957806384be8c00146103395780638c5397b01461034c578063b68d18091461035f578063b79e149414610385575f80fd5b806352a9674b1161011057806352a9674b1461025357806354e17da91461028c5780635bfa50271461029f57806368c55b13146102bf578063694ca5d3146102d457806371061398146102dc575f80fd5b806301ffc9a71461015757806313efdd7a146101985780631e4afbbf146101db5780634322699b146101fb5780634a34a4de1461020d57806350a388ea14610240575b5f80fd5b610183610165366004610ba3565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c36101a6366004610bdb565b60ff165f908152600560205260409020546001600160a01b031690565b6040516001600160a01b03909116815260200161018f565b6101ee6101e9366004610c0a565b6103ef565b60405161018f9190610c38565b6003545b60405190815260200161018f565b610233604051806040016040528060078152602001665365727669636560c81b81525081565b60405161018f9190610ce5565b61023361024e366004610cf7565b6104ac565b61027a7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161018f565b6101ff61029a366004610bdb565b61054b565b6102b26102ad366004610cf7565b6106b3565b60405161018f9190610d26565b6102c76107a1565b60405161018f9190610dd1565b610233610814565b6102e461089b565b60405161018f9190610e0b565b61027a610921565b610321610307366004610e4b565b5f908152600a60205260409020546001600160401b031690565b6040516001600160401b03909116815260200161018f565b61027a610347366004610e4b565b6109b9565b6102e461035a366004610e4b565b6109f2565b7f000000000000000000000000000000000000000000000000000000000000000061027a565b6101ff602881565b610233604051806040016040528060058152602001645f526f6c6560d81b81525081565b6101836103bf366004610cf7565b610a82565b6101ff600381565b6103216103da366004610bdb565b610ac1565b610233610afe565b610233610b0d565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156104a0575f8481526020908190206040805160808101825260028602909201805483526001908101546001600160e01b031960e082901b168486015264ffffffffff6401000000008204811693850193909352600160481b90049091166060830152908352909201910161042d565b50505050905092915050565b6001600160401b0381165f9081526007602052604090819020600101549051631623433d60e31b815260609173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e8916105049160040190815260200190565b5f60405180830381865af415801561051e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105459190810190610e76565b92915050565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af41580156105a6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105cd9190810190610e76565b6105d5610921565b6040518363ffffffff1660e01b81526004016105f2929190610f26565b5f60405180830381865af415801561060c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106339190810190610e76565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061066d908490600401610ce5565b602060405180830381865af4158015610688573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ac9190610f6b565b9392505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001600160401b038281165f90815260076020818152604092839020835160e0810190945280549485168452929390840191600160401b90910460ff169081111561073857610738610d12565b600781111561074957610749610d12565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b6060600480548060200260200160405190810160405280929190818152602001828054801561080a57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116107db5790505b5050505050905090565b60606001805461082390610f82565b80601f016020809104026020016040519081016040528092919081815260200182805461084f90610f82565b801561080a5780601f106108715761010080835404028352916020019161080a565b820191905f5260205f20905b81548152906001019060200180831161087d57509395945050505050565b6060600680548060200260200160405190810160405280929190818152602001828054801561080a57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116108d55790505050505050905090565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610990573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b49190610fba565b905090565b5f600482815481106109cd576109cd610fd5565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b5f818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610a7657602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a335790505b50505050509050919050565b5f806001600160401b0383165f90815260076020819052604090912054600160401b900460ff1690811115610ab957610ab9610d12565b141592915050565b5f60ff8216606303610ad557610545610b29565b5f610adf8361054b565b5f818152600a60205260409020549091506001600160401b03166106ac565b60606002805461082390610f82565b6040518060600160405280602881526020016110056028913981565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610b7f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b49190610fe9565b5f60208284031215610bb3575f80fd5b81356001600160e01b0319811681146106ac575f80fd5b60ff81168114610bd8575f80fd5b50565b5f60208284031215610beb575f80fd5b81356106ac81610bca565b6001600160401b0381168114610bd8575f80fd5b5f8060408385031215610c1b575f80fd5b823591506020830135610c2d81610bf6565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610cac5783518051845263ffffffff60e01b602082015116602085015264ffffffffff604082015116604085015264ffffffffff606082015116606085015250608083019250602084019350600181019050610c51565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6106ac6020830184610cb7565b5f60208284031215610d07575f80fd5b81356106ac81610bf6565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160e082019060088110610d5957634e487b7160e01b5f52602160045260245ffd5b806020840152506040830151610d77604084018263ffffffff169052565b506060830151610d90606084018264ffffffffff169052565b506080830151610da9608084018264ffffffffff169052565b5060a0830151610dc260a084018264ffffffffff169052565b5060c092830151919092015290565b602080825282518282018190525f918401906040840190835b81811015610cac57835160ff16835260209384019390920191600101610dea565b602080825282518282018190525f918401906040840190835b81811015610cac5783516001600160401b0316835260209384019390920191600101610e24565b5f60208284031215610e5b575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610e86575f80fd5b81516001600160401b03811115610e9b575f80fd5b8201601f81018413610eab575f80fd5b80516001600160401b03811115610ec457610ec4610e62565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610ef257610ef2610e62565b604052818152828201602001861015610f09575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b606081525f610f386060830185610cb7565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b5f60208284031215610f7b575f80fd5b5051919050565b600181811c90821680610f9657607f821691505b602082108103610fb457634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610fca575f80fd5b81516106ac81610bca565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ff9575f80fd5b81516106ac81610bf656fe31613161316131613161316131613161316131613161316131613161316131613161316131613161a264697066735822122060657e8a3e2023fdb91a8267ae8f136d87990c42c64e82002081c5603f40d37464736f6c634300081a0033",
516
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610153575f3560e01c806376b707b7116100bf578063c5f3484411610079578063c5f348441461038d578063c6a00179146103b1578063da44d6af146103c4578063e8eba435146103cc578063f1d01027146103df578063fef30334146103e7575f80fd5b806376b707b7146102f1578063775f14b1146102f957806384be8c00146103395780638c5397b01461034c578063b68d18091461035f578063b79e149414610385575f80fd5b806352a9674b1161011057806352a9674b1461025357806354e17da91461028c5780635bfa50271461029f57806368c55b13146102bf578063694ca5d3146102d457806371061398146102dc575f80fd5b806301ffc9a71461015757806313efdd7a146101985780631e4afbbf146101db5780634322699b146101fb5780634a34a4de1461020d57806350a388ea14610240575b5f80fd5b610183610165366004610ba3565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c36101a6366004610bdb565b60ff165f908152600560205260409020546001600160a01b031690565b6040516001600160a01b03909116815260200161018f565b6101ee6101e9366004610c0a565b6103ef565b60405161018f9190610c38565b6003545b60405190815260200161018f565b610233604051806040016040528060078152602001665365727669636560c81b81525081565b60405161018f9190610ce5565b61023361024e366004610cf7565b6104ac565b61027a7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161018f565b6101ff61029a366004610bdb565b61054b565b6102b26102ad366004610cf7565b6106b3565b60405161018f9190610d26565b6102c76107a1565b60405161018f9190610dd1565b610233610814565b6102e461089b565b60405161018f9190610e0b565b61027a610921565b610321610307366004610e4b565b5f908152600a60205260409020546001600160401b031690565b6040516001600160401b03909116815260200161018f565b61027a610347366004610e4b565b6109b9565b6102e461035a366004610e4b565b6109f2565b7f000000000000000000000000000000000000000000000000000000000000000061027a565b6101ff602881565b610233604051806040016040528060058152602001645f526f6c6560d81b81525081565b6101836103bf366004610cf7565b610a82565b6101ff600381565b6103216103da366004610bdb565b610ac1565b610233610afe565b610233610b0d565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156104a0575f8481526020908190206040805160808101825260028602909201805483526001908101546001600160e01b031960e082901b168486015264ffffffffff6401000000008204811693850193909352600160481b90049091166060830152908352909201910161042d565b50505050905092915050565b6001600160401b0381165f9081526007602052604090819020600101549051631623433d60e31b815260609173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e8916105049160040190815260200190565b5f60405180830381865af415801561051e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105459190810190610e76565b92915050565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af41580156105a6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105cd9190810190610e76565b6105d5610921565b6040518363ffffffff1660e01b81526004016105f2929190610f26565b5f60405180830381865af415801561060c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106339190810190610e76565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061066d908490600401610ce5565b602060405180830381865af4158015610688573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ac9190610f6b565b9392505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001600160401b038281165f90815260076020818152604092839020835160e0810190945280549485168452929390840191600160401b90910460ff169081111561073857610738610d12565b600781111561074957610749610d12565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b6060600480548060200260200160405190810160405280929190818152602001828054801561080a57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116107db5790505b5050505050905090565b60606001805461082390610f82565b80601f016020809104026020016040519081016040528092919081815260200182805461084f90610f82565b801561080a5780601f106108715761010080835404028352916020019161080a565b820191905f5260205f20905b81548152906001019060200180831161087d57509395945050505050565b6060600680548060200260200160405190810160405280929190818152602001828054801561080a57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116108d55790505050505050905090565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610990573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b49190610fba565b905090565b5f600482815481106109cd576109cd610fd5565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b5f818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610a7657602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a335790505b50505050509050919050565b5f806001600160401b0383165f90815260076020819052604090912054600160401b900460ff1690811115610ab957610ab9610d12565b141592915050565b5f60ff8216606303610ad557610545610b29565b5f610adf8361054b565b5f818152600a60205260409020549091506001600160401b03166106ac565b60606002805461082390610f82565b6040518060600160405280602881526020016110056028913981565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610b7f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b49190610fe9565b5f60208284031215610bb3575f80fd5b81356001600160e01b0319811681146106ac575f80fd5b60ff81168114610bd8575f80fd5b50565b5f60208284031215610beb575f80fd5b81356106ac81610bca565b6001600160401b0381168114610bd8575f80fd5b5f8060408385031215610c1b575f80fd5b823591506020830135610c2d81610bf6565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610cac5783518051845263ffffffff60e01b602082015116602085015264ffffffffff604082015116604085015264ffffffffff606082015116606085015250608083019250602084019350600181019050610c51565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6106ac6020830184610cb7565b5f60208284031215610d07575f80fd5b81356106ac81610bf6565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160e082019060088110610d5957634e487b7160e01b5f52602160045260245ffd5b806020840152506040830151610d77604084018263ffffffff169052565b506060830151610d90606084018264ffffffffff169052565b506080830151610da9608084018264ffffffffff169052565b5060a0830151610dc260a084018264ffffffffff169052565b5060c092830151919092015290565b602080825282518282018190525f918401906040840190835b81811015610cac57835160ff16835260209384019390920191600101610dea565b602080825282518282018190525f918401906040840190835b81811015610cac5783516001600160401b0316835260209384019390920191600101610e24565b5f60208284031215610e5b575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610e86575f80fd5b81516001600160401b03811115610e9b575f80fd5b8201601f81018413610eab575f80fd5b80516001600160401b03811115610ec457610ec4610e62565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610ef257610ef2610e62565b604052818152828201602001861015610f09575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b606081525f610f386060830185610cb7565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b5f60208284031215610f7b575f80fd5b5051919050565b600181811c90821680610f9657607f821691505b602082108103610fb457634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610fca575f80fd5b81516106ac81610bca565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ff9575f80fd5b81516106ac81610bf656fe31613161316131613161316131613161316131613161316131613161316131613161316131613161a264697066735822122060657e8a3e2023fdb91a8267ae8f136d87990c42c64e82002081c5603f40d37464736f6c634300081a0033",
170
517
  "linkReferences": {
518
+ "contracts/authorization/AccessAdminLib.sol": {
519
+ "AccessAdminLib": [
520
+ {
521
+ "length": 20,
522
+ "start": 1075
523
+ },
524
+ {
525
+ "length": 20,
526
+ "start": 1198
527
+ },
528
+ {
529
+ "length": 20,
530
+ "start": 10405
531
+ }
532
+ ]
533
+ },
534
+ "contracts/type/Blocknumber.sol": {
535
+ "BlocknumberLib": [
536
+ {
537
+ "length": 20,
538
+ "start": 11086
539
+ }
540
+ ]
541
+ },
542
+ "contracts/type/ObjectType.sol": {
543
+ "ObjectTypeLib": [
544
+ {
545
+ "length": 20,
546
+ "start": 92
547
+ },
548
+ {
549
+ "length": 20,
550
+ "start": 2245
551
+ },
552
+ {
553
+ "length": 20,
554
+ "start": 11421
555
+ },
556
+ {
557
+ "length": 20,
558
+ "start": 14731
559
+ }
560
+ ]
561
+ },
562
+ "contracts/type/RoleId.sol": {
563
+ "RoleIdLib": [
564
+ {
565
+ "length": 20,
566
+ "start": 1317
567
+ },
568
+ {
569
+ "length": 20,
570
+ "start": 1805
571
+ },
572
+ {
573
+ "length": 20,
574
+ "start": 2506
575
+ },
576
+ {
577
+ "length": 20,
578
+ "start": 10271
579
+ },
580
+ {
581
+ "length": 20,
582
+ "start": 16235
583
+ }
584
+ ]
585
+ },
171
586
  "contracts/type/Selector.sol": {
172
587
  "SelectorLib": [
173
588
  {
174
589
  "length": 20,
175
- "start": 3488
590
+ "start": 10858
176
591
  }
177
592
  ]
178
593
  },
@@ -180,7 +595,35 @@
180
595
  "StrLib": [
181
596
  {
182
597
  "length": 20,
183
- "start": 3349
598
+ "start": 930
599
+ },
600
+ {
601
+ "length": 20,
602
+ "start": 10065
603
+ },
604
+ {
605
+ "length": 20,
606
+ "start": 10582
607
+ },
608
+ {
609
+ "length": 20,
610
+ "start": 10719
611
+ },
612
+ {
613
+ "length": 20,
614
+ "start": 11643
615
+ },
616
+ {
617
+ "length": 20,
618
+ "start": 11829
619
+ },
620
+ {
621
+ "length": 20,
622
+ "start": 14590
623
+ },
624
+ {
625
+ "length": 20,
626
+ "start": 14953
184
627
  }
185
628
  ]
186
629
  },
@@ -188,7 +631,7 @@
188
631
  "TimestampLib": [
189
632
  {
190
633
  "length": 20,
191
- "start": 3597
634
+ "start": 10967
192
635
  }
193
636
  ]
194
637
  },
@@ -196,17 +639,65 @@
196
639
  "VersionPartLib": [
197
640
  {
198
641
  "length": 20,
199
- "start": 5253
642
+ "start": 240
643
+ },
644
+ {
645
+ "length": 20,
646
+ "start": 370
647
+ },
648
+ {
649
+ "length": 20,
650
+ "start": 475
651
+ },
652
+ {
653
+ "length": 20,
654
+ "start": 605
655
+ },
656
+ {
657
+ "length": 20,
658
+ "start": 9943
659
+ },
660
+ {
661
+ "length": 20,
662
+ "start": 15740
200
663
  }
201
664
  ]
202
665
  }
203
666
  },
204
667
  "deployedLinkReferences": {
668
+ "contracts/type/ObjectType.sol": {
669
+ "ObjectTypeLib": [
670
+ {
671
+ "length": 20,
672
+ "start": 1383
673
+ }
674
+ ]
675
+ },
676
+ "contracts/type/RoleId.sol": {
677
+ "RoleIdLib": [
678
+ {
679
+ "length": 20,
680
+ "start": 2887
681
+ }
682
+ ]
683
+ },
684
+ "contracts/type/String.sol": {
685
+ "StrLib": [
686
+ {
687
+ "length": 20,
688
+ "start": 1242
689
+ },
690
+ {
691
+ "length": 20,
692
+ "start": 1605
693
+ }
694
+ ]
695
+ },
205
696
  "contracts/type/Version.sol": {
206
697
  "VersionPartLib": [
207
698
  {
208
699
  "length": 20,
209
- "start": 770
700
+ "start": 2392
210
701
  }
211
702
  ]
212
703
  }