@etherisc/gif-next 0.0.2-e0ff180-766 → 0.0.2-e14821a-976

Sign up to get free protection for your applications and to get access to all the features.
Files changed (739) hide show
  1. package/README.md +153 -22
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1088 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +803 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1416 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +803 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +659 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1247 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +818 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +311 -328
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1835 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +943 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/{components/Component.sol/Component.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +276 -280
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +534 -340
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1487 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +818 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2056 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +818 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1442 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +818 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1174 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1650 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +818 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2588 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +818 -0
  66. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{base/IKeyValueStore.sol/IKeyValueStore.json → BaseStore.sol/BaseStore.json} +87 -184
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +573 -1775
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +530 -71
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +639 -2578
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2284 -0
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +850 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1866 -636
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +571 -386
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +216 -172
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3039 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  96. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  98. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  100. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  102. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  104. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  105. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  106. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  109. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  111. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  112. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +960 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +823 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +762 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  122. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +328 -225
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +876 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1055 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +823 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  130. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +357 -488
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +818 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1464 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +879 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  140. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → pool/IPoolComponent.sol/IPoolComponent.json} +349 -284
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1397 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  144. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +382 -418
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1807 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +879 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1062 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +803 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  156. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +492 -497
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +818 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1546 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +891 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  164. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +334 -374
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  170. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +185 -155
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1006 -0
  173. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  174. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IRiskService.sol/IRiskService.json} +223 -164
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1417 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +867 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.json +958 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +827 -0
  185. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  186. package/artifacts/contracts/product/Product.sol/Product.json +1120 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.json +886 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +787 -0
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +499 -34
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +315 -109
  197. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  201. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  202. package/artifacts/contracts/registry/Registry.sol/Registry.json +987 -131
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1087 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +415 -262
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +227 -111
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +696 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +360 -137
  221. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  222. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +289 -188
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1577 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +875 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  236. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +153 -138
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  238. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponentService.sol/IComponentService.json} +584 -738
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +697 -0
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +38 -10
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +163 -3
  249. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  251. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  252. package/artifacts/contracts/shared/IService.sol/IService.json +98 -5
  253. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +66 -0
  255. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +798 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  258. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  260. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  262. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +57 -67
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  264. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +36 -73
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  266. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +160 -102
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  268. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  269. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  270. package/artifacts/contracts/shared/Service.sol/Service.json +110 -111
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  276. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  278. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2747 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  280. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  281. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  282. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.json +3188 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  288. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +860 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  290. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  292. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1357 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  294. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +779 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  296. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  297. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  298. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  301. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  303. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +251 -0
  307. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  308. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  310. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  312. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  316. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  318. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  320. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  322. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  324. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  326. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  328. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  330. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  342. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  344. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  346. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  348. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  349. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  350. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  352. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  353. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  354. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  356. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +669 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  358. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  359. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  360. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  361. package/contracts/accounting/AccountingService.sol +274 -0
  362. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  363. package/contracts/accounting/IAccountingService.sol +47 -0
  364. package/contracts/authorization/AccessAdmin.sol +780 -0
  365. package/contracts/authorization/AccessAdminLib.sol +396 -0
  366. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  367. package/contracts/authorization/Authorization.sol +169 -0
  368. package/contracts/authorization/IAccess.sol +67 -0
  369. package/contracts/authorization/IAccessAdmin.sol +144 -0
  370. package/contracts/authorization/IAuthorization.sol +26 -0
  371. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  372. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  373. package/contracts/distribution/BasicDistribution.sol +140 -0
  374. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  375. package/contracts/distribution/Distribution.sol +245 -0
  376. package/contracts/distribution/DistributionService.sol +465 -0
  377. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  378. package/contracts/distribution/IDistributionComponent.sol +45 -0
  379. package/contracts/distribution/IDistributionService.sol +115 -0
  380. package/contracts/examples/fire/DamageLevel.sol +59 -0
  381. package/contracts/examples/fire/FirePool.sol +86 -0
  382. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  383. package/contracts/examples/fire/FireProduct.sol +433 -0
  384. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  385. package/contracts/examples/fire/FireUSD.sol +26 -0
  386. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  387. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  388. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  389. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  390. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  391. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  392. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  393. package/contracts/instance/BaseStore.sol +93 -0
  394. package/contracts/instance/BundleSet.sol +130 -0
  395. package/contracts/instance/IBaseStore.sol +37 -0
  396. package/contracts/instance/IInstance.sol +131 -73
  397. package/contracts/instance/IInstanceService.sol +86 -39
  398. package/contracts/instance/Instance.sol +248 -224
  399. package/contracts/instance/InstanceAdmin.sol +379 -0
  400. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  401. package/contracts/instance/InstanceReader.sol +513 -192
  402. package/contracts/instance/InstanceService.sol +432 -394
  403. package/contracts/instance/InstanceServiceManager.sol +14 -29
  404. package/contracts/instance/InstanceStore.sol +323 -0
  405. package/contracts/instance/ProductStore.sol +290 -0
  406. package/contracts/instance/RiskSet.sol +126 -0
  407. package/contracts/instance/TargetNames.sol +10 -0
  408. package/contracts/instance/base/BalanceStore.sol +121 -0
  409. package/contracts/instance/base/Cloneable.sol +28 -0
  410. package/contracts/instance/base/ObjectCounter.sol +20 -0
  411. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  412. package/contracts/instance/base/ObjectSet.sol +77 -0
  413. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  414. package/contracts/instance/module/IBundle.sol +9 -11
  415. package/contracts/instance/module/IComponents.sol +43 -24
  416. package/contracts/instance/module/IDistribution.sol +25 -12
  417. package/contracts/instance/module/IPolicy.sol +71 -38
  418. package/contracts/instance/module/IRisk.sol +6 -1
  419. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  420. package/contracts/oracle/BasicOracle.sol +44 -0
  421. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  422. package/contracts/oracle/IOracle.sol +41 -0
  423. package/contracts/oracle/IOracleComponent.sol +33 -0
  424. package/contracts/oracle/IOracleService.sol +66 -0
  425. package/contracts/oracle/Oracle.sol +152 -0
  426. package/contracts/oracle/OracleService.sol +310 -0
  427. package/contracts/oracle/OracleServiceManager.sol +39 -0
  428. package/contracts/pool/BasicPool.sol +161 -0
  429. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  430. package/contracts/pool/BundleService.sol +401 -0
  431. package/contracts/pool/BundleServiceManager.sol +39 -0
  432. package/contracts/pool/IBundleService.sol +116 -0
  433. package/contracts/pool/IPoolComponent.sol +62 -0
  434. package/contracts/pool/IPoolService.sol +167 -0
  435. package/contracts/pool/Pool.sol +331 -0
  436. package/contracts/pool/PoolLib.sol +341 -0
  437. package/contracts/pool/PoolService.sol +635 -0
  438. package/contracts/pool/PoolServiceManager.sol +39 -0
  439. package/contracts/product/ApplicationService.sol +343 -0
  440. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  441. package/contracts/product/BasicProduct.sol +48 -0
  442. package/contracts/product/BasicProductAuthorization.sol +63 -0
  443. package/contracts/product/ClaimService.sol +642 -0
  444. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  445. package/contracts/{instance/service → product}/IApplicationService.sol +41 -35
  446. package/contracts/product/IClaimService.sol +136 -0
  447. package/contracts/product/IPolicyService.sol +102 -0
  448. package/contracts/product/IPricingService.sol +40 -0
  449. package/contracts/product/IProductComponent.sol +62 -0
  450. package/contracts/product/IRiskService.sol +48 -0
  451. package/contracts/product/PolicyService.sol +680 -0
  452. package/contracts/product/PolicyServiceLib.sol +139 -0
  453. package/contracts/product/PolicyServiceManager.sol +39 -0
  454. package/contracts/product/PricingService.sol +318 -0
  455. package/contracts/product/PricingServiceManager.sol +39 -0
  456. package/contracts/product/Product.sol +491 -0
  457. package/contracts/product/RiskService.sol +189 -0
  458. package/contracts/product/RiskServiceManager.sol +39 -0
  459. package/contracts/registry/ChainNft.sol +79 -40
  460. package/contracts/registry/IRegistry.sol +104 -33
  461. package/contracts/registry/IRegistryService.sol +34 -40
  462. package/contracts/registry/IRelease.sol +29 -0
  463. package/contracts/registry/ITransferInterceptor.sol +1 -2
  464. package/contracts/registry/Registry.sol +469 -200
  465. package/contracts/registry/RegistryAdmin.sol +191 -0
  466. package/contracts/registry/RegistryAuthorization.sol +336 -0
  467. package/contracts/registry/RegistryService.sol +90 -131
  468. package/contracts/registry/RegistryServiceManager.sol +23 -32
  469. package/contracts/registry/ReleaseAdmin.sol +195 -0
  470. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  471. package/contracts/registry/ReleaseRegistry.sol +525 -0
  472. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  473. package/contracts/registry/TokenRegistry.sol +265 -64
  474. package/contracts/shared/Component.sol +210 -0
  475. package/contracts/shared/ComponentService.sol +705 -0
  476. package/contracts/shared/ComponentServiceManager.sol +38 -0
  477. package/contracts/shared/ContractLib.sol +312 -0
  478. package/contracts/shared/IComponent.sol +58 -0
  479. package/contracts/shared/IComponentService.sol +111 -0
  480. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  481. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  482. package/contracts/shared/INftOwnable.sol +6 -2
  483. package/contracts/shared/IPolicyHolder.sol +23 -14
  484. package/contracts/shared/IRegisterable.sol +22 -1
  485. package/contracts/shared/IRegistryLinked.sol +0 -1
  486. package/contracts/shared/IService.sol +12 -5
  487. package/contracts/shared/InitializableERC165.sol +49 -0
  488. package/contracts/shared/InstanceLinkedComponent.sol +192 -0
  489. package/contracts/shared/Lifecycle.sol +88 -0
  490. package/contracts/shared/NftIdSet.sol +65 -0
  491. package/contracts/shared/NftOwnable.sol +39 -30
  492. package/contracts/shared/PolicyHolder.sol +23 -41
  493. package/contracts/shared/Registerable.sol +54 -22
  494. package/contracts/shared/RegistryLinked.sol +11 -21
  495. package/contracts/shared/Service.sol +36 -41
  496. package/contracts/shared/TokenHandler.sol +322 -13
  497. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  498. package/contracts/staking/IStaking.sol +367 -0
  499. package/contracts/staking/IStakingService.sol +127 -0
  500. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  501. package/contracts/staking/Staking.sol +797 -0
  502. package/contracts/staking/StakingLib.sol +195 -0
  503. package/contracts/staking/StakingManager.sol +53 -0
  504. package/contracts/staking/StakingReader.sol +171 -0
  505. package/contracts/staking/StakingService.sol +320 -0
  506. package/contracts/staking/StakingServiceManager.sol +46 -0
  507. package/contracts/staking/StakingStore.sol +1368 -0
  508. package/contracts/staking/TargetHandler.sol +132 -0
  509. package/contracts/staking/TargetManagerLib.sol +234 -0
  510. package/contracts/{types → type}/AddressSet.sol +1 -1
  511. package/contracts/type/Amount.sol +154 -0
  512. package/contracts/{types → type}/Blocknumber.sol +36 -13
  513. package/contracts/type/ChainId.sol +101 -0
  514. package/contracts/{types → type}/ClaimId.sol +31 -3
  515. package/contracts/{types → type}/Fee.sol +28 -26
  516. package/contracts/{types → type}/Key32.sol +2 -2
  517. package/contracts/type/Key32Set.sol +62 -0
  518. package/contracts/{types → type}/NftId.sol +21 -16
  519. package/contracts/{types → type}/NftIdSet.sol +2 -2
  520. package/contracts/type/ObjectType.sol +307 -0
  521. package/contracts/type/PayoutId.sol +82 -0
  522. package/contracts/{types → type}/Referral.sol +2 -1
  523. package/contracts/type/RequestId.sol +75 -0
  524. package/contracts/type/RiskId.sol +75 -0
  525. package/contracts/type/RoleId.sol +180 -0
  526. package/contracts/type/Seconds.sol +120 -0
  527. package/contracts/type/Selector.sol +107 -0
  528. package/contracts/{types → type}/StateId.sol +47 -4
  529. package/contracts/type/String.sol +65 -0
  530. package/contracts/{types → type}/Timestamp.sol +23 -7
  531. package/contracts/type/UFixed.sol +263 -0
  532. package/contracts/{types → type}/Version.sol +58 -7
  533. package/contracts/{shared → upgradeability}/IVersionable.sol +4 -1
  534. package/contracts/{shared → upgradeability}/ProxyManager.sol +118 -41
  535. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +28 -0
  536. package/contracts/{shared → upgradeability}/Versionable.sol +9 -6
  537. package/package.json +12 -8
  538. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  539. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  540. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  544. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  545. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  546. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  547. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  548. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  550. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  551. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  552. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  553. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  554. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  555. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  556. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  557. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  558. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  559. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  560. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  561. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  562. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  563. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  564. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  565. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  566. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  567. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1039
  569. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  570. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -673
  571. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1231
  573. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
  575. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -817
  577. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  579. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
  581. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  583. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  585. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  586. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -475
  587. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  588. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  589. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  590. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  591. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -450
  592. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  593. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1092
  594. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  595. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  596. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  597. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
  598. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  599. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  600. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  601. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
  602. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  603. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  604. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  605. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  606. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  607. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  608. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  609. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  610. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  611. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  612. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  613. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  614. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  615. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  616. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  617. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  618. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  619. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  620. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  621. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  622. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  623. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  624. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  625. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  626. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  627. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  628. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  629. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  630. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  631. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  632. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  633. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  634. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  635. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  636. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  638. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  639. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  640. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  642. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  644. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  646. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  648. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  649. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  650. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  652. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  653. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  654. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  655. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  656. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  658. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  659. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  660. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  662. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  663. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  664. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  665. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  666. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  667. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  668. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  669. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  670. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  671. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  672. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  673. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  674. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  675. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  676. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  677. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  678. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  679. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  680. package/contracts/components/Component.sol +0 -253
  681. package/contracts/components/Distribution.sol +0 -280
  682. package/contracts/components/IComponent.sol +0 -76
  683. package/contracts/components/IDistributionComponent.sol +0 -71
  684. package/contracts/components/IPoolComponent.sol +0 -113
  685. package/contracts/components/IProductComponent.sol +0 -40
  686. package/contracts/components/Pool.sol +0 -303
  687. package/contracts/components/Product.sol +0 -293
  688. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  689. package/contracts/instance/BundleManager.sol +0 -127
  690. package/contracts/instance/Cloneable.sol +0 -51
  691. package/contracts/instance/InstanceAccessManager.sol +0 -527
  692. package/contracts/instance/ObjectManager.sol +0 -82
  693. package/contracts/instance/base/ComponentService.sol +0 -121
  694. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  695. package/contracts/instance/base/KeyValueStore.sol +0 -180
  696. package/contracts/instance/base/Lifecycle.sol +0 -109
  697. package/contracts/instance/module/IAccess.sol +0 -54
  698. package/contracts/instance/module/ISetup.sol +0 -33
  699. package/contracts/instance/module/ITreasury.sol +0 -23
  700. package/contracts/instance/service/ApplicationService.sol +0 -350
  701. package/contracts/instance/service/BundleService.sol +0 -431
  702. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  703. package/contracts/instance/service/ClaimService.sol +0 -151
  704. package/contracts/instance/service/DistributionService.sol +0 -435
  705. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  706. package/contracts/instance/service/IBundleService.sol +0 -93
  707. package/contracts/instance/service/IClaimService.sol +0 -61
  708. package/contracts/instance/service/IDistributionService.sol +0 -99
  709. package/contracts/instance/service/IPolicyService.sol +0 -72
  710. package/contracts/instance/service/IPoolService.sol +0 -99
  711. package/contracts/instance/service/IProductService.sol +0 -40
  712. package/contracts/instance/service/PolicyService.sol +0 -362
  713. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  714. package/contracts/instance/service/PoolService.sol +0 -303
  715. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  716. package/contracts/instance/service/ProductService.sol +0 -210
  717. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  718. package/contracts/registry/RegistryAccessManager.sol +0 -216
  719. package/contracts/registry/ReleaseManager.sol +0 -324
  720. package/contracts/shared/ContractDeployerLib.sol +0 -72
  721. package/contracts/shared/ERC165.sol +0 -27
  722. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  723. package/contracts/test/TestFee.sol +0 -25
  724. package/contracts/test/TestRegisterable.sol +0 -18
  725. package/contracts/test/TestRoleId.sol +0 -14
  726. package/contracts/test/TestService.sol +0 -25
  727. package/contracts/test/TestToken.sol +0 -26
  728. package/contracts/test/TestVersion.sol +0 -44
  729. package/contracts/test/TestVersionable.sol +0 -17
  730. package/contracts/types/Amount.sol +0 -60
  731. package/contracts/types/ChainId.sol +0 -38
  732. package/contracts/types/NumberId.sol +0 -52
  733. package/contracts/types/ObjectType.sol +0 -157
  734. package/contracts/types/PayoutId.sol +0 -54
  735. package/contracts/types/RiskId.sol +0 -43
  736. package/contracts/types/RoleId.sol +0 -97
  737. package/contracts/types/Seconds.sol +0 -54
  738. package/contracts/types/UFixed.sol +0 -326
  739. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -1,1330 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "InstanceAccessManager",
4
- "sourceName": "contracts/instance/InstanceAccessManager.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "authority",
11
- "type": "address"
12
- }
13
- ],
14
- "name": "AccessManagedInvalidAuthority",
15
- "type": "error"
16
- },
17
- {
18
- "inputs": [
19
- {
20
- "internalType": "address",
21
- "name": "caller",
22
- "type": "address"
23
- },
24
- {
25
- "internalType": "uint32",
26
- "name": "delay",
27
- "type": "uint32"
28
- }
29
- ],
30
- "name": "AccessManagedRequiredDelay",
31
- "type": "error"
32
- },
33
- {
34
- "inputs": [
35
- {
36
- "internalType": "address",
37
- "name": "caller",
38
- "type": "address"
39
- }
40
- ],
41
- "name": "AccessManagedUnauthorized",
42
- "type": "error"
43
- },
44
- {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "caller",
49
- "type": "address"
50
- },
51
- {
52
- "internalType": "RoleId",
53
- "name": "roleId",
54
- "type": "uint64"
55
- }
56
- ],
57
- "name": "ErrorIAccessCallerIsNotRoleAdmin",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [
62
- {
63
- "internalType": "RoleId",
64
- "name": "roleId",
65
- "type": "uint64"
66
- }
67
- ],
68
- "name": "ErrorIAccessRoleIdDoesNotExist",
69
- "type": "error"
70
- },
71
- {
72
- "inputs": [
73
- {
74
- "internalType": "RoleId",
75
- "name": "roleId",
76
- "type": "uint64"
77
- }
78
- ],
79
- "name": "ErrorIAccessRoleIdExists",
80
- "type": "error"
81
- },
82
- {
83
- "inputs": [
84
- {
85
- "internalType": "RoleId",
86
- "name": "roleId",
87
- "type": "uint64"
88
- }
89
- ],
90
- "name": "ErrorIAccessRoleIdTooBig",
91
- "type": "error"
92
- },
93
- {
94
- "inputs": [
95
- {
96
- "internalType": "RoleId",
97
- "name": "roleId",
98
- "type": "uint64"
99
- }
100
- ],
101
- "name": "ErrorIAccessRoleIdTooSmall",
102
- "type": "error"
103
- },
104
- {
105
- "inputs": [
106
- {
107
- "internalType": "RoleId",
108
- "name": "roleId",
109
- "type": "uint64"
110
- }
111
- ],
112
- "name": "ErrorIAccessRoleNameEmpty",
113
- "type": "error"
114
- },
115
- {
116
- "inputs": [
117
- {
118
- "internalType": "RoleId",
119
- "name": "roleId",
120
- "type": "uint64"
121
- },
122
- {
123
- "internalType": "RoleId",
124
- "name": "existingRoleId",
125
- "type": "uint64"
126
- },
127
- {
128
- "internalType": "ShortString",
129
- "name": "name",
130
- "type": "bytes32"
131
- }
132
- ],
133
- "name": "ErrorIAccessRoleNameExists",
134
- "type": "error"
135
- },
136
- {
137
- "inputs": [
138
- {
139
- "internalType": "RoleId",
140
- "name": "roleId",
141
- "type": "uint64"
142
- },
143
- {
144
- "internalType": "enum IAccess.Type",
145
- "name": "rtype",
146
- "type": "uint8"
147
- }
148
- ],
149
- "name": "ErrorIAccessRoleTypeInvalid",
150
- "type": "error"
151
- },
152
- {
153
- "inputs": [
154
- {
155
- "internalType": "address",
156
- "name": "target",
157
- "type": "address"
158
- },
159
- {
160
- "internalType": "address",
161
- "name": "targetAuthority",
162
- "type": "address"
163
- }
164
- ],
165
- "name": "ErrorIAccessTargetAuthorityInvalid",
166
- "type": "error"
167
- },
168
- {
169
- "inputs": [
170
- {
171
- "internalType": "address",
172
- "name": "target",
173
- "type": "address"
174
- }
175
- ],
176
- "name": "ErrorIAccessTargetDoesNotExist",
177
- "type": "error"
178
- },
179
- {
180
- "inputs": [
181
- {
182
- "internalType": "address",
183
- "name": "target",
184
- "type": "address"
185
- },
186
- {
187
- "internalType": "ShortString",
188
- "name": "name",
189
- "type": "bytes32"
190
- }
191
- ],
192
- "name": "ErrorIAccessTargetExists",
193
- "type": "error"
194
- },
195
- {
196
- "inputs": [
197
- {
198
- "internalType": "address",
199
- "name": "target",
200
- "type": "address"
201
- }
202
- ],
203
- "name": "ErrorIAccessTargetNameEmpty",
204
- "type": "error"
205
- },
206
- {
207
- "inputs": [
208
- {
209
- "internalType": "address",
210
- "name": "target",
211
- "type": "address"
212
- },
213
- {
214
- "internalType": "address",
215
- "name": "existingTarget",
216
- "type": "address"
217
- },
218
- {
219
- "internalType": "ShortString",
220
- "name": "name",
221
- "type": "bytes32"
222
- }
223
- ],
224
- "name": "ErrorIAccessTargetNameExists",
225
- "type": "error"
226
- },
227
- {
228
- "inputs": [
229
- {
230
- "internalType": "address",
231
- "name": "target",
232
- "type": "address"
233
- }
234
- ],
235
- "name": "ErrorIAccessTargetNotRegistered",
236
- "type": "error"
237
- },
238
- {
239
- "inputs": [
240
- {
241
- "internalType": "address",
242
- "name": "target",
243
- "type": "address"
244
- },
245
- {
246
- "internalType": "enum IAccess.Type",
247
- "name": "ttype",
248
- "type": "uint8"
249
- }
250
- ],
251
- "name": "ErrorIAccessTargetTypeInvalid",
252
- "type": "error"
253
- },
254
- {
255
- "inputs": [],
256
- "name": "InvalidInitialization",
257
- "type": "error"
258
- },
259
- {
260
- "inputs": [],
261
- "name": "InvalidShortString",
262
- "type": "error"
263
- },
264
- {
265
- "inputs": [],
266
- "name": "NotInitializing",
267
- "type": "error"
268
- },
269
- {
270
- "inputs": [
271
- {
272
- "internalType": "string",
273
- "name": "str",
274
- "type": "string"
275
- }
276
- ],
277
- "name": "StringTooLong",
278
- "type": "error"
279
- },
280
- {
281
- "anonymous": false,
282
- "inputs": [
283
- {
284
- "indexed": false,
285
- "internalType": "address",
286
- "name": "authority",
287
- "type": "address"
288
- }
289
- ],
290
- "name": "AuthorityUpdated",
291
- "type": "event"
292
- },
293
- {
294
- "anonymous": false,
295
- "inputs": [
296
- {
297
- "indexed": false,
298
- "internalType": "uint64",
299
- "name": "version",
300
- "type": "uint64"
301
- }
302
- ],
303
- "name": "Initialized",
304
- "type": "event"
305
- },
306
- {
307
- "anonymous": false,
308
- "inputs": [
309
- {
310
- "indexed": false,
311
- "internalType": "RoleId",
312
- "name": "roleId",
313
- "type": "uint64"
314
- },
315
- {
316
- "indexed": false,
317
- "internalType": "ShortString",
318
- "name": "name",
319
- "type": "bytes32"
320
- },
321
- {
322
- "indexed": false,
323
- "internalType": "enum IAccess.Type",
324
- "name": "rtype",
325
- "type": "uint8"
326
- }
327
- ],
328
- "name": "LogRoleCreation",
329
- "type": "event"
330
- },
331
- {
332
- "anonymous": false,
333
- "inputs": [
334
- {
335
- "indexed": false,
336
- "internalType": "address",
337
- "name": "target",
338
- "type": "address"
339
- },
340
- {
341
- "indexed": false,
342
- "internalType": "ShortString",
343
- "name": "name",
344
- "type": "bytes32"
345
- },
346
- {
347
- "indexed": false,
348
- "internalType": "enum IAccess.Type",
349
- "name": "ttype",
350
- "type": "uint8"
351
- },
352
- {
353
- "indexed": false,
354
- "internalType": "bool",
355
- "name": "isLocked",
356
- "type": "bool"
357
- }
358
- ],
359
- "name": "LogTargetCreation",
360
- "type": "event"
361
- },
362
- {
363
- "inputs": [],
364
- "name": "ADMIN_ROLE_NAME",
365
- "outputs": [
366
- {
367
- "internalType": "string",
368
- "name": "",
369
- "type": "string"
370
- }
371
- ],
372
- "stateMutability": "view",
373
- "type": "function"
374
- },
375
- {
376
- "inputs": [],
377
- "name": "CUSTOM_ROLE_ID_MIN",
378
- "outputs": [
379
- {
380
- "internalType": "uint64",
381
- "name": "",
382
- "type": "uint64"
383
- }
384
- ],
385
- "stateMutability": "view",
386
- "type": "function"
387
- },
388
- {
389
- "inputs": [],
390
- "name": "EXECUTION_DELAY",
391
- "outputs": [
392
- {
393
- "internalType": "uint32",
394
- "name": "",
395
- "type": "uint32"
396
- }
397
- ],
398
- "stateMutability": "view",
399
- "type": "function"
400
- },
401
- {
402
- "inputs": [],
403
- "name": "INSTANCE_OWNER_ROLE_NAME",
404
- "outputs": [
405
- {
406
- "internalType": "string",
407
- "name": "",
408
- "type": "string"
409
- }
410
- ],
411
- "stateMutability": "view",
412
- "type": "function"
413
- },
414
- {
415
- "inputs": [],
416
- "name": "INSTANCE_ROLE_NAME",
417
- "outputs": [
418
- {
419
- "internalType": "string",
420
- "name": "",
421
- "type": "string"
422
- }
423
- ],
424
- "stateMutability": "view",
425
- "type": "function"
426
- },
427
- {
428
- "inputs": [],
429
- "name": "PUBLIC_ROLE_NAME",
430
- "outputs": [
431
- {
432
- "internalType": "string",
433
- "name": "",
434
- "type": "string"
435
- }
436
- ],
437
- "stateMutability": "view",
438
- "type": "function"
439
- },
440
- {
441
- "inputs": [],
442
- "name": "authority",
443
- "outputs": [
444
- {
445
- "internalType": "address",
446
- "name": "",
447
- "type": "address"
448
- }
449
- ],
450
- "stateMutability": "view",
451
- "type": "function"
452
- },
453
- {
454
- "inputs": [
455
- {
456
- "internalType": "address",
457
- "name": "caller",
458
- "type": "address"
459
- },
460
- {
461
- "internalType": "address",
462
- "name": "target",
463
- "type": "address"
464
- },
465
- {
466
- "internalType": "bytes4",
467
- "name": "selector",
468
- "type": "bytes4"
469
- }
470
- ],
471
- "name": "canCall",
472
- "outputs": [
473
- {
474
- "internalType": "bool",
475
- "name": "immediate",
476
- "type": "bool"
477
- },
478
- {
479
- "internalType": "uint32",
480
- "name": "delay",
481
- "type": "uint32"
482
- }
483
- ],
484
- "stateMutability": "view",
485
- "type": "function"
486
- },
487
- {
488
- "inputs": [
489
- {
490
- "internalType": "RoleId",
491
- "name": "roleId",
492
- "type": "uint64"
493
- },
494
- {
495
- "internalType": "string",
496
- "name": "name",
497
- "type": "string"
498
- }
499
- ],
500
- "name": "createCoreRole",
501
- "outputs": [],
502
- "stateMutability": "nonpayable",
503
- "type": "function"
504
- },
505
- {
506
- "inputs": [
507
- {
508
- "internalType": "address",
509
- "name": "target",
510
- "type": "address"
511
- },
512
- {
513
- "internalType": "string",
514
- "name": "name",
515
- "type": "string"
516
- }
517
- ],
518
- "name": "createCoreTarget",
519
- "outputs": [],
520
- "stateMutability": "nonpayable",
521
- "type": "function"
522
- },
523
- {
524
- "inputs": [
525
- {
526
- "internalType": "RoleId",
527
- "name": "roleId",
528
- "type": "uint64"
529
- },
530
- {
531
- "internalType": "string",
532
- "name": "name",
533
- "type": "string"
534
- },
535
- {
536
- "internalType": "RoleId",
537
- "name": "admin",
538
- "type": "uint64"
539
- }
540
- ],
541
- "name": "createGifRole",
542
- "outputs": [],
543
- "stateMutability": "nonpayable",
544
- "type": "function"
545
- },
546
- {
547
- "inputs": [
548
- {
549
- "internalType": "address",
550
- "name": "target",
551
- "type": "address"
552
- },
553
- {
554
- "internalType": "string",
555
- "name": "name",
556
- "type": "string"
557
- }
558
- ],
559
- "name": "createGifTarget",
560
- "outputs": [],
561
- "stateMutability": "nonpayable",
562
- "type": "function"
563
- },
564
- {
565
- "inputs": [
566
- {
567
- "internalType": "string",
568
- "name": "roleName",
569
- "type": "string"
570
- },
571
- {
572
- "internalType": "string",
573
- "name": "adminName",
574
- "type": "string"
575
- }
576
- ],
577
- "name": "createRole",
578
- "outputs": [
579
- {
580
- "internalType": "RoleId",
581
- "name": "roleId",
582
- "type": "uint64"
583
- },
584
- {
585
- "internalType": "RoleId",
586
- "name": "admin",
587
- "type": "uint64"
588
- }
589
- ],
590
- "stateMutability": "nonpayable",
591
- "type": "function"
592
- },
593
- {
594
- "inputs": [
595
- {
596
- "internalType": "address",
597
- "name": "target",
598
- "type": "address"
599
- },
600
- {
601
- "internalType": "string",
602
- "name": "name",
603
- "type": "string"
604
- }
605
- ],
606
- "name": "createTarget",
607
- "outputs": [],
608
- "stateMutability": "nonpayable",
609
- "type": "function"
610
- },
611
- {
612
- "inputs": [
613
- {
614
- "internalType": "RoleId",
615
- "name": "roleId",
616
- "type": "uint64"
617
- }
618
- ],
619
- "name": "getRoleAdmin",
620
- "outputs": [
621
- {
622
- "internalType": "RoleId",
623
- "name": "admin",
624
- "type": "uint64"
625
- }
626
- ],
627
- "stateMutability": "view",
628
- "type": "function"
629
- },
630
- {
631
- "inputs": [
632
- {
633
- "internalType": "uint256",
634
- "name": "idx",
635
- "type": "uint256"
636
- }
637
- ],
638
- "name": "getRoleId",
639
- "outputs": [
640
- {
641
- "internalType": "RoleId",
642
- "name": "roleId",
643
- "type": "uint64"
644
- }
645
- ],
646
- "stateMutability": "view",
647
- "type": "function"
648
- },
649
- {
650
- "inputs": [
651
- {
652
- "internalType": "string",
653
- "name": "name",
654
- "type": "string"
655
- }
656
- ],
657
- "name": "getRoleIdForName",
658
- "outputs": [
659
- {
660
- "internalType": "RoleId",
661
- "name": "roleId",
662
- "type": "uint64"
663
- }
664
- ],
665
- "stateMutability": "view",
666
- "type": "function"
667
- },
668
- {
669
- "inputs": [
670
- {
671
- "internalType": "RoleId",
672
- "name": "roleId",
673
- "type": "uint64"
674
- }
675
- ],
676
- "name": "getRoleInfo",
677
- "outputs": [
678
- {
679
- "components": [
680
- {
681
- "internalType": "ShortString",
682
- "name": "name",
683
- "type": "bytes32"
684
- },
685
- {
686
- "internalType": "enum IAccess.Type",
687
- "name": "rtype",
688
- "type": "uint8"
689
- },
690
- {
691
- "internalType": "RoleId",
692
- "name": "admin",
693
- "type": "uint64"
694
- },
695
- {
696
- "internalType": "Timestamp",
697
- "name": "createdAt",
698
- "type": "uint40"
699
- },
700
- {
701
- "internalType": "Timestamp",
702
- "name": "updatedAt",
703
- "type": "uint40"
704
- }
705
- ],
706
- "internalType": "struct IAccess.RoleInfo",
707
- "name": "info",
708
- "type": "tuple"
709
- }
710
- ],
711
- "stateMutability": "view",
712
- "type": "function"
713
- },
714
- {
715
- "inputs": [
716
- {
717
- "internalType": "string",
718
- "name": "targetName",
719
- "type": "string"
720
- }
721
- ],
722
- "name": "getTargetAddress",
723
- "outputs": [
724
- {
725
- "internalType": "address",
726
- "name": "targetAddress",
727
- "type": "address"
728
- }
729
- ],
730
- "stateMutability": "view",
731
- "type": "function"
732
- },
733
- {
734
- "inputs": [
735
- {
736
- "internalType": "address",
737
- "name": "target",
738
- "type": "address"
739
- }
740
- ],
741
- "name": "getTargetInfo",
742
- "outputs": [
743
- {
744
- "components": [
745
- {
746
- "internalType": "ShortString",
747
- "name": "name",
748
- "type": "bytes32"
749
- },
750
- {
751
- "internalType": "enum IAccess.Type",
752
- "name": "ttype",
753
- "type": "uint8"
754
- },
755
- {
756
- "internalType": "bool",
757
- "name": "isLocked",
758
- "type": "bool"
759
- },
760
- {
761
- "internalType": "Timestamp",
762
- "name": "createdAt",
763
- "type": "uint40"
764
- },
765
- {
766
- "internalType": "Timestamp",
767
- "name": "updatedAt",
768
- "type": "uint40"
769
- }
770
- ],
771
- "internalType": "struct IAccess.TargetInfo",
772
- "name": "",
773
- "type": "tuple"
774
- }
775
- ],
776
- "stateMutability": "view",
777
- "type": "function"
778
- },
779
- {
780
- "inputs": [
781
- {
782
- "internalType": "RoleId",
783
- "name": "roleId",
784
- "type": "uint64"
785
- },
786
- {
787
- "internalType": "address",
788
- "name": "member",
789
- "type": "address"
790
- }
791
- ],
792
- "name": "grantRole",
793
- "outputs": [
794
- {
795
- "internalType": "bool",
796
- "name": "granted",
797
- "type": "bool"
798
- }
799
- ],
800
- "stateMutability": "nonpayable",
801
- "type": "function"
802
- },
803
- {
804
- "inputs": [
805
- {
806
- "internalType": "RoleId",
807
- "name": "roleId",
808
- "type": "uint64"
809
- },
810
- {
811
- "internalType": "address",
812
- "name": "account",
813
- "type": "address"
814
- }
815
- ],
816
- "name": "hasRole",
817
- "outputs": [
818
- {
819
- "internalType": "bool",
820
- "name": "accountHasRole",
821
- "type": "bool"
822
- }
823
- ],
824
- "stateMutability": "view",
825
- "type": "function"
826
- },
827
- {
828
- "inputs": [
829
- {
830
- "internalType": "address",
831
- "name": "instanceAddress",
832
- "type": "address"
833
- }
834
- ],
835
- "name": "initialize",
836
- "outputs": [],
837
- "stateMutability": "nonpayable",
838
- "type": "function"
839
- },
840
- {
841
- "inputs": [],
842
- "name": "isConsumingScheduledOp",
843
- "outputs": [
844
- {
845
- "internalType": "bytes4",
846
- "name": "",
847
- "type": "bytes4"
848
- }
849
- ],
850
- "stateMutability": "view",
851
- "type": "function"
852
- },
853
- {
854
- "inputs": [
855
- {
856
- "internalType": "address",
857
- "name": "target",
858
- "type": "address"
859
- }
860
- ],
861
- "name": "isTargetLocked",
862
- "outputs": [
863
- {
864
- "internalType": "bool",
865
- "name": "locked",
866
- "type": "bool"
867
- }
868
- ],
869
- "stateMutability": "view",
870
- "type": "function"
871
- },
872
- {
873
- "inputs": [
874
- {
875
- "internalType": "RoleId",
876
- "name": "roleId",
877
- "type": "uint64"
878
- }
879
- ],
880
- "name": "renounceRole",
881
- "outputs": [
882
- {
883
- "internalType": "bool",
884
- "name": "",
885
- "type": "bool"
886
- }
887
- ],
888
- "stateMutability": "nonpayable",
889
- "type": "function"
890
- },
891
- {
892
- "inputs": [
893
- {
894
- "internalType": "RoleId",
895
- "name": "roleId",
896
- "type": "uint64"
897
- },
898
- {
899
- "internalType": "address",
900
- "name": "member",
901
- "type": "address"
902
- }
903
- ],
904
- "name": "revokeRole",
905
- "outputs": [
906
- {
907
- "internalType": "bool",
908
- "name": "",
909
- "type": "bool"
910
- }
911
- ],
912
- "stateMutability": "nonpayable",
913
- "type": "function"
914
- },
915
- {
916
- "inputs": [
917
- {
918
- "internalType": "RoleId",
919
- "name": "roleId",
920
- "type": "uint64"
921
- }
922
- ],
923
- "name": "revokeRoleAllMembers",
924
- "outputs": [
925
- {
926
- "internalType": "bool",
927
- "name": "revoked",
928
- "type": "bool"
929
- }
930
- ],
931
- "stateMutability": "nonpayable",
932
- "type": "function"
933
- },
934
- {
935
- "inputs": [
936
- {
937
- "internalType": "RoleId",
938
- "name": "roleId",
939
- "type": "uint64"
940
- }
941
- ],
942
- "name": "roleExists",
943
- "outputs": [
944
- {
945
- "internalType": "bool",
946
- "name": "exists",
947
- "type": "bool"
948
- }
949
- ],
950
- "stateMutability": "view",
951
- "type": "function"
952
- },
953
- {
954
- "inputs": [
955
- {
956
- "internalType": "RoleId",
957
- "name": "roleId",
958
- "type": "uint64"
959
- },
960
- {
961
- "internalType": "uint256",
962
- "name": "idx",
963
- "type": "uint256"
964
- }
965
- ],
966
- "name": "roleMember",
967
- "outputs": [
968
- {
969
- "internalType": "address",
970
- "name": "member",
971
- "type": "address"
972
- }
973
- ],
974
- "stateMutability": "view",
975
- "type": "function"
976
- },
977
- {
978
- "inputs": [
979
- {
980
- "internalType": "RoleId",
981
- "name": "roleId",
982
- "type": "uint64"
983
- }
984
- ],
985
- "name": "roleMembers",
986
- "outputs": [
987
- {
988
- "internalType": "uint256",
989
- "name": "numberOfMembers",
990
- "type": "uint256"
991
- }
992
- ],
993
- "stateMutability": "view",
994
- "type": "function"
995
- },
996
- {
997
- "inputs": [],
998
- "name": "roles",
999
- "outputs": [
1000
- {
1001
- "internalType": "uint256",
1002
- "name": "numberOfRoles",
1003
- "type": "uint256"
1004
- }
1005
- ],
1006
- "stateMutability": "view",
1007
- "type": "function"
1008
- },
1009
- {
1010
- "inputs": [
1011
- {
1012
- "internalType": "address",
1013
- "name": "newAuthority",
1014
- "type": "address"
1015
- }
1016
- ],
1017
- "name": "setAuthority",
1018
- "outputs": [],
1019
- "stateMutability": "nonpayable",
1020
- "type": "function"
1021
- },
1022
- {
1023
- "inputs": [
1024
- {
1025
- "internalType": "string",
1026
- "name": "targetName",
1027
- "type": "string"
1028
- },
1029
- {
1030
- "internalType": "bytes4[]",
1031
- "name": "selectors",
1032
- "type": "bytes4[]"
1033
- },
1034
- {
1035
- "internalType": "RoleId",
1036
- "name": "roleId",
1037
- "type": "uint64"
1038
- }
1039
- ],
1040
- "name": "setCoreTargetFunctionRole",
1041
- "outputs": [],
1042
- "stateMutability": "nonpayable",
1043
- "type": "function"
1044
- },
1045
- {
1046
- "inputs": [
1047
- {
1048
- "internalType": "RoleId",
1049
- "name": "roleId",
1050
- "type": "uint64"
1051
- },
1052
- {
1053
- "internalType": "RoleId",
1054
- "name": "admin",
1055
- "type": "uint64"
1056
- }
1057
- ],
1058
- "name": "setRoleAdmin",
1059
- "outputs": [],
1060
- "stateMutability": "nonpayable",
1061
- "type": "function"
1062
- },
1063
- {
1064
- "inputs": [
1065
- {
1066
- "internalType": "string",
1067
- "name": "targetName",
1068
- "type": "string"
1069
- },
1070
- {
1071
- "internalType": "bytes4[]",
1072
- "name": "selectors",
1073
- "type": "bytes4[]"
1074
- },
1075
- {
1076
- "internalType": "RoleId",
1077
- "name": "roleId",
1078
- "type": "uint64"
1079
- }
1080
- ],
1081
- "name": "setTargetFunctionRole",
1082
- "outputs": [],
1083
- "stateMutability": "nonpayable",
1084
- "type": "function"
1085
- },
1086
- {
1087
- "inputs": [
1088
- {
1089
- "internalType": "address",
1090
- "name": "target",
1091
- "type": "address"
1092
- },
1093
- {
1094
- "internalType": "bool",
1095
- "name": "locked",
1096
- "type": "bool"
1097
- }
1098
- ],
1099
- "name": "setTargetLocked",
1100
- "outputs": [],
1101
- "stateMutability": "nonpayable",
1102
- "type": "function"
1103
- },
1104
- {
1105
- "inputs": [
1106
- {
1107
- "internalType": "address",
1108
- "name": "target",
1109
- "type": "address"
1110
- }
1111
- ],
1112
- "name": "targetExists",
1113
- "outputs": [
1114
- {
1115
- "internalType": "bool",
1116
- "name": "exists",
1117
- "type": "bool"
1118
- }
1119
- ],
1120
- "stateMutability": "view",
1121
- "type": "function"
1122
- }
1123
- ],
1124
- "bytecode": "0x608060405234801561001057600080fd5b50613a83806100206000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80635dfa73db11610130578063bc62a0a5116100b8578063d05404431161007c578063d0540443146105a3578063d1f856ee146105ce578063d2192dbf146105e1578063eaf09b3714610614578063f2345aea1461062757600080fd5b8063bc62a0a514610524578063bcfb11b01461054c578063bf7e214f14610575578063c4d66de81461057d578063c6a001791461059057600080fd5b806386892313116100ff578063868923131461049b5780638fb36037146104ae578063b428b0b0146104cf578063b7009613146104e2578063b7d2b1621461051157600080fd5b80635dfa73db146104595780635fa8aad414610462578063605aa10a146104755780637a9e5e4b1461048857600080fd5b80633656481c116101be57806344ec4c301161018257806344ec4c30146103cc5780634a3a1e00146103df578063530dd456146103f25780635511a6f3146104265780635bfa50271461043957600080fd5b80633656481c1461033e57806337f135d714610369578063384c9a5714610386578063392f5f64146103995780633fd85561146103a157600080fd5b8063131021d911610205578063131021d9146102a55780631bdd0cf8146102e257806326decd401461030557806329db8c3d1461031857806330cae1871461032b57600080fd5b806303014974146102375780630c8ae53e1461025d57806312e1ebc51461027257806312f48f1514610292575b600080fd5b61024a61024536600461312e565b61063a565b6040519081526020015b60405180910390f35b61027061026b3660046131ed565b610661565b005b6102856102803660046132ac565b61075c565b6040516102549190613301565b6102706102a0366004613350565b61081a565b6102d560405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b81525081565b60405161025491906133c3565b6102f56102f036600461312e565b610833565b6040519015158152602001610254565b6102f56103133660046132ac565b610b53565b6102706103263660046131ed565b610bc2565b6102706103393660046133f6565b610c9b565b61035161034c36600461342f565b610d97565b6040516001600160a01b039091168152602001610254565b610371600081565b60405163ffffffff9091168152602001610254565b6102f561039436600461312e565b610dc2565b60035461024a565b6103b46103af366004613463565b610e48565b6040516001600160401b039091168152602001610254565b6102706103da366004613350565b610e8d565b6102706103ed36600461347c565b610f38565b6103b461040036600461312e565b6001600160401b0390811660009081526020819052604090206001015461010090041690565b6103b461043436600461342f565b610f4d565b61044c61044736600461312e565b610f7c565b604051610254919061349a565b6103b461271081565b610270610470366004613350565b611042565b6102f56104833660046132ac565b611057565b6102706104963660046132ac565b6110d0565b6102706104a93660046134fe565b611153565b6104b661128d565b6040516001600160e01b03199091168152602001610254565b6102f56104dd36600461352c565b6112c6565b6104f56104f0366004613572565b611575565b60408051921515835263ffffffff909116602083015201610254565b6102f561051f36600461352c565b6115fa565b6102d56040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6102d56040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b610351611758565b61027061058b3660046132ac565b611774565b6102f561059e36600461312e565b611ad1565b6102d56040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b81525081565b6102f56105dc36600461352c565b611b32565b6105f46105ef3660046135b9565b611c2a565b604080516001600160401b03938416815292909116602083015201610254565b610351610622366004613612565b611c78565b61027061063536600461363e565b611ca1565b6001600160401b038116600090815260016020526040812061065b90611cc5565b92915050565b61066e335b600036611ccf565b600061067985611dcd565b6000818152600660205260409020549091506001600160a01b031660036001600160a01b03821660009081526005602052604090206001015460ff1660038111156106c6576106c66132c9565b036106f25780600360405163ecec011f60e01b81526004016106e99291906136a1565b60405180910390fd5b60036001600160401b03841660009081526020819052604090206001015460ff166003811115610724576107246132c9565b0361074757826003604051630bb1a0c760e01b81526004016106e99291906136be565b6107548183878787611e0b565b505050505050565b6040805160a080820183526000808352602080840182905283850182905260608401829052608084018290526001600160a01b038616825260058152908490208451928301909452835482526001840154929391929083019060ff1660038111156107c9576107c96132c9565b60038111156107da576107da6132c9565b81526001919091015460ff6101008204161515602083015264ffffffffff62010000820481166040840152600160381b9091041660609091015292915050565b61082333610666565b61082f82826001611ede565b5050565b6000816000610862826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f991906136db565b336040518363ffffffff1660e01b81526004016109179291906136f8565b6040805180830381865afa158015610933573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610957919061371a565b915091508063ffffffff1660001461097157610971613752565b816109ac57335b6040516366c7cee960e01b81526001600160a01b0390911660048201526001600160401b03851660248201526044016106e9565b6109b586611ad1565b6109dd5760405163f5edec3f60e01b81526001600160401b03871660048201526024016106e9565b6001600160401b03861660009081526001602052604081206109fe90611cc5565b905060005b81811015610b48576001600160401b0388166000908152600160205260408120610a2d9083612322565b6001600160401b038a166000908152600160205260409020909150610a52908261232e565b50600854604051631517388760e21b81526001600160401b038b1660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610ac0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae491906136db565b836040518363ffffffff1660e01b8152600401610b029291906136f8565b600060405180830381600087803b158015610b1c57600080fd5b505af1158015610b30573d6000803e3d6000fd5b50505050508080610b409061377e565b915050610a03565b505050505050919050565b60085460405163a166aa8960e01b81526001600160a01b038381166004830152600092169063a166aa8990602401602060405180830381865afa158015610b9e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065b9190613797565b610bcb33610666565b6000610bd685611dcd565b6000818152600660205260409020549091506001600160a01b031660016001600160a01b03821660009081526005602052604090206001015460ff166003811115610c2357610c236132c9565b03610c465780600160405163ecec011f60e01b81526004016106e99291906136a1565b60016001600160401b03841660009081526020819052604090206001015460ff166003811115610c7857610c786132c9565b0361074757826001604051630bb1a0c760e01b81526004016106e99291906136be565b610ca433610666565b610cad82611ad1565b610cd55760405163f5edec3f60e01b81526001600160401b03831660048201526024016106e9565b60016001600160401b03831660009081526020819052604090206001015460ff166003811115610d0757610d076132c9565b03610d2a57816001604051630bb1a0c760e01b81526004016106e99291906136be565b610d3381611ad1565b610d5b5760405163f5edec3f60e01b81526001600160401b03821660048201526024016106e9565b6001600160401b0391821660009081526020819052604090206001018054929091166101000268ffffffffffffffff0019909216919091179055565b600080610da383611dcd565b6000908152600660205260409020546001600160a01b03169392505050565b6001600160401b038116600090815260208190526040812060019081015460ff1690816003811115610df657610df66132c9565b1480610e1357506002816003811115610e1157610e116132c9565b145b15610e35578281604051630bb1a0c760e01b81526004016106e99291906136be565b33610e408482612343565b949350505050565b600060038281548110610e5d57610e5d6137b4565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b610e9633610666565b60095460405163c3c5a54760e01b81526001600160a01b0384811660048301529091169063c3c5a54790602401602060405180830381865afa158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f049190613797565b610f2c576040516306ad3ea560e51b81526001600160a01b03831660048201526024016106e9565b61082f82826002611ede565b610f4133610666565b61082f8282600161247d565b600060026000610f5c84611dcd565b81526020810191909152604001600020546001600160401b031692915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526001600160401b03821660009081526020818152604091829020825160a08101909352805483526001810154909183019060ff166003811115610fec57610fec6132c9565b6003811115610ffd57610ffd6132c9565b8152600191909101546001600160401b03610100820416602083015264ffffffffff600160481b820481166040840152600160701b9091041660609091015292915050565b61104b33610666565b61082f82826003611ede565b6001600160a01b038116600090815260056020526040808220600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024015b602060405180830381865af4158015610b9e573d6000803e3d6000fd5b336110d9611758565b6001600160a01b0316816001600160a01b0316146111145760405162d1953b60e31b81526001600160a01b03821660048201526024016106e9565b816001600160a01b03163b60000361114a576040516361798f2f60e11b81526001600160a01b03831660048201526024016106e9565b61082f8261283e565b61115c33610666565b6001600160a01b03821660008181526005602052604090206001015460ff1690158061119957506000816003811115611197576111976132c9565b145b156111c25760405163b8c1f4e560e01b81526001600160a01b03841660048201526024016106e9565b60018160038111156111d6576111d66132c9565b036111f857828160405163ecec011f60e01b81526004016106e99291906136a1565b6001600160a01b0383811660008181526005602052604090819020600101805461ff00191661010087151590810291909117909155600854915163167bd39560e01b8152600481019390935260248301529091169063167bd39590604401600060405180830381600087803b15801561127057600080fd5b505af1158015611284573d6000803e3d6000fd5b50505050505050565b600080516020613a2e833981519152805460009190600160a01b900460ff166112b75760006112c0565b638fb3603760e01b5b91505090565b60008260006112f5826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611368573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138c91906136db565b336040518363ffffffff1660e01b81526004016113aa9291906136f8565b6040805180830381865afa1580156113c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ea919061371a565b915091508063ffffffff1660001461140457611404613752565b8161140f5733610978565b61141887611ad1565b6114405760405163f5edec3f60e01b81526001600160401b03881660048201526024016106e9565b6001600160401b0387166000908152600160205260409020611462908761289f565b9450841561156b57600854604051631517388760e21b81526001600160401b03891660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156114d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fb91906136db565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b15801561155257600080fd5b505af1158015611566573d6000803e3d6000fd5b505050505b5050505092915050565b60085460405163b700961360e01b815260009182916001600160a01b039091169063b7009613906115ae908890889088906004016137ca565b6040805180830381865afa1580156115ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ee919061371a565b91509150935093915050565b6000826000611629826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561169c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c091906136db565b336040518363ffffffff1660e01b81526004016116de9291906136f8565b6040805180830381865afa1580156116fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171e919061371a565b915091508063ffffffff1660001461173857611738613752565b816117435733610978565b61174d8787612343565b979650505050505050565b600080516020613a2e833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117b95750825b90506000826001600160401b031660011480156117d55750303b155b9050811580156117e3575080155b156118015760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561182b57845460ff60401b1916600160401b1785555b60008690506000816001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015611870573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189491906137f7565b90506000826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fa91906137f7565b9050611905816128b4565b600880546001600160a01b038084166001600160a01b03199283161790925560098054928516929091169190911790556004805467ffffffffffffffff191661271017905561197e6119556128c8565b6040518060400160405280600981526020016841646d696e526f6c6560b81b815250600161247d565b6119b3611989612945565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250600161247d565b6119ea6119be612986565b6040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b815250600161247d565b611a266119f56129c2565b60405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b815250600261247d565b611a5b60016000611a356128c8565b6001600160401b03166001600160401b031681526020019081526020016000203061289f565b50611a6d611a67612986565b8a6112c6565b50611a81611a796129c2565b610339612986565b505050831561075457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b6001600160401b038116600090815260208190526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024016110b3565b600854604051631517388760e21b81526001600160401b03841660048201526000916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc491906136db565b846040518363ffffffff1660e01b8152600401611be29291906136f8565b6040805180830381865afa158015611bfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c22919061371a565b509392505050565b600080611c3633610666565b611c3e6129fe565b9092509050611c4f8285600361247d565b611c5b8184600361247d565b611c658282610c9b565b611c71816103396129c2565b9250929050565b6001600160401b0382166000908152600160205260408120611c9a9083612322565b9392505050565b611caa33610666565b611cb68383600261247d565b611cc08382610c9b565b505050565b600061065b825490565b600080516020613a2e833981519152600080611d0a611cec611758565b8730611cfc600460008a8c613814565b611d059161383e565b612b40565b91509150816107545763ffffffff811615611daa57825460ff60a01b1916600160a01b178355611d38611758565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d679392919061386e565b600060405180830381600087803b158015611d8157600080fd5b505af1158015611d95573d6000803e3d6000fd5b5050845460ff60a01b19168555506107549050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106e9565b600080829050601f81511115611df8578260405163305a27a960e01b81526004016106e991906133c3565b8051611e03826138ae565b179392505050565b6001600160a01b038516611e3d5760405163b8c1f4e560e01b81526001600160a01b03861660048201526024016106e9565b611e4681611ad1565b611e6e5760405163f5edec3f60e01b81526001600160401b03821660048201526024016106e9565b6008546040516308d6122d60e01b815282916001600160a01b0316906308d6122d90611ea49089908890889087906004016138d5565b600060405180830381600087803b158015611ebe57600080fd5b505af1158015611ed2573d6000803e3d6000fd5b50505050505050505050565b6000611ee983611dcd565b9050611ef6848284612c37565b6001600160a01b03841660009081526005602052604090819020600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015611f6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f939190613797565b15611fd4576001600160a01b03841660008181526005602052604090819020549051632969db5760e11b8152600481019290925260248201526044016106e9565b6000818152600660205260409020546001600160a01b03161561203557600081815260066020526040908190205490516361c0558f60e01b81526001600160a01b0380871660048301529091166024820152604481018290526064016106e9565b60085460405163a166aa8960e01b81526001600160a01b038681166004830152600092169063a166aa8990602401602060405180830381865afa158015612080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a49190613797565b90506040518060a001604052808381526020018460038111156120c9576120c96132c9565b8152602001821515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561211f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121439190613948565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612198573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bc9190613948565b64ffffffffff1690526001600160a01b0386166000908152600560209081526040909120825181559082015160018083018054909160ff199091169083600381111561220a5761220a6132c9565b021790555060408281015160019283018054606086015160809096015166ffffffffffff00199091166101009315159390930266ffffffffff00001916929092176201000064ffffffffff96871602176bffffffffff000000000000001916600160381b9590921694909402179092556000848152600660205282812080546001600160a01b03199081166001600160a01b038b169081179092556007805494850181559092527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68890920180549091169091179055517f1b6c9e4eef57701705db39664c8777cd8c15bb0f52556130a44b55e30cd501e89061231390879085908790869061396f565b60405180910390a15050505050565b6000611c9a8383612d23565b6000611c9a836001600160a01b038416612d4d565b600061234e83611ad1565b6123765760405163f5edec3f60e01b81526001600160401b03841660048201526024016106e9565b6001600160401b0383166000908152600160205260409020612398908361232e565b9050801561065b57600854604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561240d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061243191906136db565b846040518363ffffffff1660e01b815260040161244f9291906136f8565b600060405180830381600087803b15801561246957600080fd5b505af115801561156b573d6000803e3d6000fd5b600061248883611dcd565b9050612495848284612e47565b61249e84611ad1565b156124c7576040516330907ba960e01b81526001600160401b03851660048201526024016106e9565b6000818152600260205260409081902054905163a42e52e960e01b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063a42e52e990602401602060405180830381865af4158015612530573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125549190613797565b1561259d576000818152600260205260409081902054905163af48012f60e01b81526001600160401b0380871660048301529091166024820152604481018290526064016106e9565b6040518060a001604052808281526020018360038111156125c0576125c06132c9565b81526020016125cd6128c8565b6001600160401b0316815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612624573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126489190613948565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561269d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c19190613948565b64ffffffffff1690526001600160401b038516600090815260208181526040909120825181559082015160018083018054909160ff199091169083600381111561270d5761270d6132c9565b02179055506040828101516001928301805460608601516080909601516dffffffffffffffffffffffffff00199091166101006001600160401b0394851681026dffffffffff000000000000000000191691909117600160481b64ffffffffff988916021764ffffffffff60701b1916600160701b979092169690960217905560008581526002602052828120805467ffffffffffffffff19168a8416908117909155600380549586018155918290527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600486040180549590921660080290950a918202199093169302929092179055517f946b8e9c3ff1c1ed025292a56da516b43a836f1a9f35bc2ee6de53d879d6d6b090612830908690849086906139a4565b60405180910390a150505050565b600080516020613a2e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000611c9a836001600160a01b038416613036565b6128bc613085565b6128c5816130d0565b50565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af415801561291c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294091906136db565b905090565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b6040516368aebf7b60e01b8152610a28600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b60045460009081906001600160401b031681612a1b8260016139c8565b9050612a288260026139c8565b6004805467ffffffffffffffff19166001600160401b039283161781556040516368aebf7b60e01b81529184169082015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ab991906136db565b6040516368aebf7b60e01b81526001600160401b038316600482015290945073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612b14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3891906136db565b925050509091565b600080600080876001600160a01b0316878787604051602401612b65939291906137ca565b60408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612b9a91906139e8565b600060405180830381855afa9150503d8060008114612bd5576040519150601f19603f3d011682016040523d82523d6000602084013e612bda565b606091505b50915091508115612c2c576040815110612c0c5780806020019051810190612c02919061371a565b9094509250612c2c565b6020815110612c2c5780806020019051810190612c299190613797565b93505b505094509492505050565b6000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9b91906137f7565b9050612ca5611758565b6001600160a01b0316816001600160a01b031614612ce957604051631db0625160e01b81526001600160a01b038086166004830152821660248201526044016106e9565b612cf2836130e1565b600003612d1d5760405163a12ddedf60e01b81526001600160a01b03851660048201526024016106e9565b50505050565b6000826000018281548110612d3a57612d3a6137b4565b9060005260206000200154905092915050565b60008181526001830160205260408120548015612e36576000612d71600183613a04565b8554909150600090612d8590600190613a04565b9050808214612dea576000866000018281548110612da557612da56137b4565b9060005260206000200154905080876000018481548110612dc857612dc86137b4565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612dfb57612dfb613a17565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061065b565b600091505061065b565b5092915050565b604051631517388760e21b81526001600160401b038416600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612ea2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ec691906136db565b6001600160401b031690506003826003811115612ee557612ee56132c9565b148015612ef3575061271081105b15612f1c5760405163be511cc160e01b81526001600160401b03851660048201526024016106e9565b6003826003811115612f3057612f306132c9565b14158015612f4057506127108110155b8015612fd95750612f4f612945565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612fa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fcc91906136db565b6001600160401b03168114155b1561300257604051630e08ff2d60e11b81526001600160401b03851660048201526024016106e9565b61300b836130e1565b600003612d1d57604051631367e80d60e31b81526001600160401b03851660048201526024016106e9565b600081815260018301602052604081205461307d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561065b565b50600061065b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166130ce57604051631afcd79f60e31b815260040160405180910390fd5b565b6130d8613085565b6128c58161283e565b600060ff8216601f81111561065b57604051632cd44ac360e21b815260040160405180910390fd5b6001600160401b03811681146128c557600080fd5b803561312981613109565b919050565b60006020828403121561314057600080fd5b8135611c9a81613109565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261317257600080fd5b81356001600160401b038082111561318c5761318c61314b565b604051601f8301601f19908116603f011681019082821181831017156131b4576131b461314b565b816040528381528660208588010111156131cd57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806060858703121561320357600080fd5b84356001600160401b038082111561321a57600080fd5b61322688838901613161565b9550602087013591508082111561323c57600080fd5b818701915087601f83011261325057600080fd5b81358181111561325f57600080fd5b8860208260051b850101111561327457600080fd5b60208301955080945050505061328c6040860161311e565b905092959194509250565b6001600160a01b03811681146128c557600080fd5b6000602082840312156132be57600080fd5b8135611c9a81613297565b634e487b7160e01b600052602160045260246000fd5b600481106132fd57634e487b7160e01b600052602160045260246000fd5b9052565b8151815260208083015160a083019161331c908401826132df565b50604083015115156040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b6000806040838503121561336357600080fd5b823561336e81613297565b915060208301356001600160401b0381111561338957600080fd5b61339585828601613161565b9150509250929050565b60005b838110156133ba5781810151838201526020016133a2565b50506000910152565b60208152600082518060208401526133e281604085016020870161339f565b601f01601f19169190910160400192915050565b6000806040838503121561340957600080fd5b823561341481613109565b9150602083013561342481613109565b809150509250929050565b60006020828403121561344157600080fd5b81356001600160401b0381111561345757600080fd5b610e4084828501613161565b60006020828403121561347557600080fd5b5035919050565b6000806040838503121561348f57600080fd5b823561336e81613109565b8151815260208083015160a08301916134b5908401826132df565b506001600160401b036040840151166040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b80151581146128c557600080fd5b6000806040838503121561351157600080fd5b823561351c81613297565b91506020830135613424816134f0565b6000806040838503121561353f57600080fd5b823561354a81613109565b9150602083013561342481613297565b80356001600160e01b03198116811461312957600080fd5b60008060006060848603121561358757600080fd5b833561359281613297565b925060208401356135a281613297565b91506135b06040850161355a565b90509250925092565b600080604083850312156135cc57600080fd5b82356001600160401b03808211156135e357600080fd5b6135ef86838701613161565b9350602085013591508082111561360557600080fd5b5061339585828601613161565b6000806040838503121561362557600080fd5b823561363081613109565b946020939093013593505050565b60008060006060848603121561365357600080fd5b833561365e81613109565b925060208401356001600160401b0381111561367957600080fd5b61368586828701613161565b925050604084013561369681613109565b809150509250925092565b6001600160a01b038316815260408101611c9a60208301846132df565b6001600160401b038316815260408101611c9a60208301846132df565b6000602082840312156136ed57600080fd5b8151611c9a81613109565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6000806040838503121561372d57600080fd5b8251613738816134f0565b602084015190925063ffffffff8116811461342457600080fd5b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161379057613790613768565b5060010190565b6000602082840312156137a957600080fd5b8151611c9a816134f0565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0393841681529190921660208201526001600160e01b0319909116604082015260600190565b60006020828403121561380957600080fd5b8151611c9a81613297565b6000808585111561382457600080fd5b8386111561383157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156138665780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b805160208083015191908110156138cf576000198160200360031b1b821691505b50919050565b6001600160a01b038516815260606020808301829052908201849052600090859060808401835b87811015613929576001600160e01b03196139168561355a565b16825292820192908201906001016138fc565b508093505050506001600160401b038316604083015295945050505050565b60006020828403121561395a57600080fd5b815164ffffffffff81168114611c9a57600080fd5b6001600160a01b0385168152602081018490526080810161399360408301856132df565b821515606083015295945050505050565b6001600160401b03841681526020810183905260608101610e4060408301846132df565b6001600160401b03818116838216019080821115612e4057612e40613768565b600082516139fa81846020870161339f565b9190910192915050565b8181038181111561065b5761065b613768565b634e487b7160e01b600052603160045260246000fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220fc37dd1bdcf3065724275b591dc298844a0b88a133fbac174468823932ef4b9364736f6c63430008140033",
1125
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102325760003560e01c80635dfa73db11610130578063bc62a0a5116100b8578063d05404431161007c578063d0540443146105a3578063d1f856ee146105ce578063d2192dbf146105e1578063eaf09b3714610614578063f2345aea1461062757600080fd5b8063bc62a0a514610524578063bcfb11b01461054c578063bf7e214f14610575578063c4d66de81461057d578063c6a001791461059057600080fd5b806386892313116100ff578063868923131461049b5780638fb36037146104ae578063b428b0b0146104cf578063b7009613146104e2578063b7d2b1621461051157600080fd5b80635dfa73db146104595780635fa8aad414610462578063605aa10a146104755780637a9e5e4b1461048857600080fd5b80633656481c116101be57806344ec4c301161018257806344ec4c30146103cc5780634a3a1e00146103df578063530dd456146103f25780635511a6f3146104265780635bfa50271461043957600080fd5b80633656481c1461033e57806337f135d714610369578063384c9a5714610386578063392f5f64146103995780633fd85561146103a157600080fd5b8063131021d911610205578063131021d9146102a55780631bdd0cf8146102e257806326decd401461030557806329db8c3d1461031857806330cae1871461032b57600080fd5b806303014974146102375780630c8ae53e1461025d57806312e1ebc51461027257806312f48f1514610292575b600080fd5b61024a61024536600461312e565b61063a565b6040519081526020015b60405180910390f35b61027061026b3660046131ed565b610661565b005b6102856102803660046132ac565b61075c565b6040516102549190613301565b6102706102a0366004613350565b61081a565b6102d560405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b81525081565b60405161025491906133c3565b6102f56102f036600461312e565b610833565b6040519015158152602001610254565b6102f56103133660046132ac565b610b53565b6102706103263660046131ed565b610bc2565b6102706103393660046133f6565b610c9b565b61035161034c36600461342f565b610d97565b6040516001600160a01b039091168152602001610254565b610371600081565b60405163ffffffff9091168152602001610254565b6102f561039436600461312e565b610dc2565b60035461024a565b6103b46103af366004613463565b610e48565b6040516001600160401b039091168152602001610254565b6102706103da366004613350565b610e8d565b6102706103ed36600461347c565b610f38565b6103b461040036600461312e565b6001600160401b0390811660009081526020819052604090206001015461010090041690565b6103b461043436600461342f565b610f4d565b61044c61044736600461312e565b610f7c565b604051610254919061349a565b6103b461271081565b610270610470366004613350565b611042565b6102f56104833660046132ac565b611057565b6102706104963660046132ac565b6110d0565b6102706104a93660046134fe565b611153565b6104b661128d565b6040516001600160e01b03199091168152602001610254565b6102f56104dd36600461352c565b6112c6565b6104f56104f0366004613572565b611575565b60408051921515835263ffffffff909116602083015201610254565b6102f561051f36600461352c565b6115fa565b6102d56040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6102d56040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b610351611758565b61027061058b3660046132ac565b611774565b6102f561059e36600461312e565b611ad1565b6102d56040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b81525081565b6102f56105dc36600461352c565b611b32565b6105f46105ef3660046135b9565b611c2a565b604080516001600160401b03938416815292909116602083015201610254565b610351610622366004613612565b611c78565b61027061063536600461363e565b611ca1565b6001600160401b038116600090815260016020526040812061065b90611cc5565b92915050565b61066e335b600036611ccf565b600061067985611dcd565b6000818152600660205260409020549091506001600160a01b031660036001600160a01b03821660009081526005602052604090206001015460ff1660038111156106c6576106c66132c9565b036106f25780600360405163ecec011f60e01b81526004016106e99291906136a1565b60405180910390fd5b60036001600160401b03841660009081526020819052604090206001015460ff166003811115610724576107246132c9565b0361074757826003604051630bb1a0c760e01b81526004016106e99291906136be565b6107548183878787611e0b565b505050505050565b6040805160a080820183526000808352602080840182905283850182905260608401829052608084018290526001600160a01b038616825260058152908490208451928301909452835482526001840154929391929083019060ff1660038111156107c9576107c96132c9565b60038111156107da576107da6132c9565b81526001919091015460ff6101008204161515602083015264ffffffffff62010000820481166040840152600160381b9091041660609091015292915050565b61082333610666565b61082f82826001611ede565b5050565b6000816000610862826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f991906136db565b336040518363ffffffff1660e01b81526004016109179291906136f8565b6040805180830381865afa158015610933573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610957919061371a565b915091508063ffffffff1660001461097157610971613752565b816109ac57335b6040516366c7cee960e01b81526001600160a01b0390911660048201526001600160401b03851660248201526044016106e9565b6109b586611ad1565b6109dd5760405163f5edec3f60e01b81526001600160401b03871660048201526024016106e9565b6001600160401b03861660009081526001602052604081206109fe90611cc5565b905060005b81811015610b48576001600160401b0388166000908152600160205260408120610a2d9083612322565b6001600160401b038a166000908152600160205260409020909150610a52908261232e565b50600854604051631517388760e21b81526001600160401b038b1660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610ac0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae491906136db565b836040518363ffffffff1660e01b8152600401610b029291906136f8565b600060405180830381600087803b158015610b1c57600080fd5b505af1158015610b30573d6000803e3d6000fd5b50505050508080610b409061377e565b915050610a03565b505050505050919050565b60085460405163a166aa8960e01b81526001600160a01b038381166004830152600092169063a166aa8990602401602060405180830381865afa158015610b9e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065b9190613797565b610bcb33610666565b6000610bd685611dcd565b6000818152600660205260409020549091506001600160a01b031660016001600160a01b03821660009081526005602052604090206001015460ff166003811115610c2357610c236132c9565b03610c465780600160405163ecec011f60e01b81526004016106e99291906136a1565b60016001600160401b03841660009081526020819052604090206001015460ff166003811115610c7857610c786132c9565b0361074757826001604051630bb1a0c760e01b81526004016106e99291906136be565b610ca433610666565b610cad82611ad1565b610cd55760405163f5edec3f60e01b81526001600160401b03831660048201526024016106e9565b60016001600160401b03831660009081526020819052604090206001015460ff166003811115610d0757610d076132c9565b03610d2a57816001604051630bb1a0c760e01b81526004016106e99291906136be565b610d3381611ad1565b610d5b5760405163f5edec3f60e01b81526001600160401b03821660048201526024016106e9565b6001600160401b0391821660009081526020819052604090206001018054929091166101000268ffffffffffffffff0019909216919091179055565b600080610da383611dcd565b6000908152600660205260409020546001600160a01b03169392505050565b6001600160401b038116600090815260208190526040812060019081015460ff1690816003811115610df657610df66132c9565b1480610e1357506002816003811115610e1157610e116132c9565b145b15610e35578281604051630bb1a0c760e01b81526004016106e99291906136be565b33610e408482612343565b949350505050565b600060038281548110610e5d57610e5d6137b4565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b610e9633610666565b60095460405163c3c5a54760e01b81526001600160a01b0384811660048301529091169063c3c5a54790602401602060405180830381865afa158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f049190613797565b610f2c576040516306ad3ea560e51b81526001600160a01b03831660048201526024016106e9565b61082f82826002611ede565b610f4133610666565b61082f8282600161247d565b600060026000610f5c84611dcd565b81526020810191909152604001600020546001600160401b031692915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526001600160401b03821660009081526020818152604091829020825160a08101909352805483526001810154909183019060ff166003811115610fec57610fec6132c9565b6003811115610ffd57610ffd6132c9565b8152600191909101546001600160401b03610100820416602083015264ffffffffff600160481b820481166040840152600160701b9091041660609091015292915050565b61104b33610666565b61082f82826003611ede565b6001600160a01b038116600090815260056020526040808220600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024015b602060405180830381865af4158015610b9e573d6000803e3d6000fd5b336110d9611758565b6001600160a01b0316816001600160a01b0316146111145760405162d1953b60e31b81526001600160a01b03821660048201526024016106e9565b816001600160a01b03163b60000361114a576040516361798f2f60e11b81526001600160a01b03831660048201526024016106e9565b61082f8261283e565b61115c33610666565b6001600160a01b03821660008181526005602052604090206001015460ff1690158061119957506000816003811115611197576111976132c9565b145b156111c25760405163b8c1f4e560e01b81526001600160a01b03841660048201526024016106e9565b60018160038111156111d6576111d66132c9565b036111f857828160405163ecec011f60e01b81526004016106e99291906136a1565b6001600160a01b0383811660008181526005602052604090819020600101805461ff00191661010087151590810291909117909155600854915163167bd39560e01b8152600481019390935260248301529091169063167bd39590604401600060405180830381600087803b15801561127057600080fd5b505af1158015611284573d6000803e3d6000fd5b50505050505050565b600080516020613a2e833981519152805460009190600160a01b900460ff166112b75760006112c0565b638fb3603760e01b5b91505090565b60008260006112f5826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611368573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138c91906136db565b336040518363ffffffff1660e01b81526004016113aa9291906136f8565b6040805180830381865afa1580156113c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ea919061371a565b915091508063ffffffff1660001461140457611404613752565b8161140f5733610978565b61141887611ad1565b6114405760405163f5edec3f60e01b81526001600160401b03881660048201526024016106e9565b6001600160401b0387166000908152600160205260409020611462908761289f565b9450841561156b57600854604051631517388760e21b81526001600160401b03891660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156114d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fb91906136db565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b15801561155257600080fd5b505af1158015611566573d6000803e3d6000fd5b505050505b5050505092915050565b60085460405163b700961360e01b815260009182916001600160a01b039091169063b7009613906115ae908890889088906004016137ca565b6040805180830381865afa1580156115ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ee919061371a565b91509150935093915050565b6000826000611629826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561169c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c091906136db565b336040518363ffffffff1660e01b81526004016116de9291906136f8565b6040805180830381865afa1580156116fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171e919061371a565b915091508063ffffffff1660001461173857611738613752565b816117435733610978565b61174d8787612343565b979650505050505050565b600080516020613a2e833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117b95750825b90506000826001600160401b031660011480156117d55750303b155b9050811580156117e3575080155b156118015760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561182b57845460ff60401b1916600160401b1785555b60008690506000816001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015611870573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189491906137f7565b90506000826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fa91906137f7565b9050611905816128b4565b600880546001600160a01b038084166001600160a01b03199283161790925560098054928516929091169190911790556004805467ffffffffffffffff191661271017905561197e6119556128c8565b6040518060400160405280600981526020016841646d696e526f6c6560b81b815250600161247d565b6119b3611989612945565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250600161247d565b6119ea6119be612986565b6040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b815250600161247d565b611a266119f56129c2565b60405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b815250600261247d565b611a5b60016000611a356128c8565b6001600160401b03166001600160401b031681526020019081526020016000203061289f565b50611a6d611a67612986565b8a6112c6565b50611a81611a796129c2565b610339612986565b505050831561075457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b6001600160401b038116600090815260208190526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024016110b3565b600854604051631517388760e21b81526001600160401b03841660048201526000916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc491906136db565b846040518363ffffffff1660e01b8152600401611be29291906136f8565b6040805180830381865afa158015611bfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c22919061371a565b509392505050565b600080611c3633610666565b611c3e6129fe565b9092509050611c4f8285600361247d565b611c5b8184600361247d565b611c658282610c9b565b611c71816103396129c2565b9250929050565b6001600160401b0382166000908152600160205260408120611c9a9083612322565b9392505050565b611caa33610666565b611cb68383600261247d565b611cc08382610c9b565b505050565b600061065b825490565b600080516020613a2e833981519152600080611d0a611cec611758565b8730611cfc600460008a8c613814565b611d059161383e565b612b40565b91509150816107545763ffffffff811615611daa57825460ff60a01b1916600160a01b178355611d38611758565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d679392919061386e565b600060405180830381600087803b158015611d8157600080fd5b505af1158015611d95573d6000803e3d6000fd5b5050845460ff60a01b19168555506107549050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106e9565b600080829050601f81511115611df8578260405163305a27a960e01b81526004016106e991906133c3565b8051611e03826138ae565b179392505050565b6001600160a01b038516611e3d5760405163b8c1f4e560e01b81526001600160a01b03861660048201526024016106e9565b611e4681611ad1565b611e6e5760405163f5edec3f60e01b81526001600160401b03821660048201526024016106e9565b6008546040516308d6122d60e01b815282916001600160a01b0316906308d6122d90611ea49089908890889087906004016138d5565b600060405180830381600087803b158015611ebe57600080fd5b505af1158015611ed2573d6000803e3d6000fd5b50505050505050505050565b6000611ee983611dcd565b9050611ef6848284612c37565b6001600160a01b03841660009081526005602052604090819020600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015611f6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f939190613797565b15611fd4576001600160a01b03841660008181526005602052604090819020549051632969db5760e11b8152600481019290925260248201526044016106e9565b6000818152600660205260409020546001600160a01b03161561203557600081815260066020526040908190205490516361c0558f60e01b81526001600160a01b0380871660048301529091166024820152604481018290526064016106e9565b60085460405163a166aa8960e01b81526001600160a01b038681166004830152600092169063a166aa8990602401602060405180830381865afa158015612080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a49190613797565b90506040518060a001604052808381526020018460038111156120c9576120c96132c9565b8152602001821515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561211f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121439190613948565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612198573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bc9190613948565b64ffffffffff1690526001600160a01b0386166000908152600560209081526040909120825181559082015160018083018054909160ff199091169083600381111561220a5761220a6132c9565b021790555060408281015160019283018054606086015160809096015166ffffffffffff00199091166101009315159390930266ffffffffff00001916929092176201000064ffffffffff96871602176bffffffffff000000000000001916600160381b9590921694909402179092556000848152600660205282812080546001600160a01b03199081166001600160a01b038b169081179092556007805494850181559092527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68890920180549091169091179055517f1b6c9e4eef57701705db39664c8777cd8c15bb0f52556130a44b55e30cd501e89061231390879085908790869061396f565b60405180910390a15050505050565b6000611c9a8383612d23565b6000611c9a836001600160a01b038416612d4d565b600061234e83611ad1565b6123765760405163f5edec3f60e01b81526001600160401b03841660048201526024016106e9565b6001600160401b0383166000908152600160205260409020612398908361232e565b9050801561065b57600854604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561240d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061243191906136db565b846040518363ffffffff1660e01b815260040161244f9291906136f8565b600060405180830381600087803b15801561246957600080fd5b505af115801561156b573d6000803e3d6000fd5b600061248883611dcd565b9050612495848284612e47565b61249e84611ad1565b156124c7576040516330907ba960e01b81526001600160401b03851660048201526024016106e9565b6000818152600260205260409081902054905163a42e52e960e01b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063a42e52e990602401602060405180830381865af4158015612530573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125549190613797565b1561259d576000818152600260205260409081902054905163af48012f60e01b81526001600160401b0380871660048301529091166024820152604481018290526064016106e9565b6040518060a001604052808281526020018360038111156125c0576125c06132c9565b81526020016125cd6128c8565b6001600160401b0316815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612624573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126489190613948565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561269d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c19190613948565b64ffffffffff1690526001600160401b038516600090815260208181526040909120825181559082015160018083018054909160ff199091169083600381111561270d5761270d6132c9565b02179055506040828101516001928301805460608601516080909601516dffffffffffffffffffffffffff00199091166101006001600160401b0394851681026dffffffffff000000000000000000191691909117600160481b64ffffffffff988916021764ffffffffff60701b1916600160701b979092169690960217905560008581526002602052828120805467ffffffffffffffff19168a8416908117909155600380549586018155918290527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600486040180549590921660080290950a918202199093169302929092179055517f946b8e9c3ff1c1ed025292a56da516b43a836f1a9f35bc2ee6de53d879d6d6b090612830908690849086906139a4565b60405180910390a150505050565b600080516020613a2e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000611c9a836001600160a01b038416613036565b6128bc613085565b6128c5816130d0565b50565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af415801561291c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294091906136db565b905090565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b6040516368aebf7b60e01b8152610a28600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b60045460009081906001600160401b031681612a1b8260016139c8565b9050612a288260026139c8565b6004805467ffffffffffffffff19166001600160401b039283161781556040516368aebf7b60e01b81529184169082015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ab991906136db565b6040516368aebf7b60e01b81526001600160401b038316600482015290945073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612b14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3891906136db565b925050509091565b600080600080876001600160a01b0316878787604051602401612b65939291906137ca565b60408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612b9a91906139e8565b600060405180830381855afa9150503d8060008114612bd5576040519150601f19603f3d011682016040523d82523d6000602084013e612bda565b606091505b50915091508115612c2c576040815110612c0c5780806020019051810190612c02919061371a565b9094509250612c2c565b6020815110612c2c5780806020019051810190612c299190613797565b93505b505094509492505050565b6000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9b91906137f7565b9050612ca5611758565b6001600160a01b0316816001600160a01b031614612ce957604051631db0625160e01b81526001600160a01b038086166004830152821660248201526044016106e9565b612cf2836130e1565b600003612d1d5760405163a12ddedf60e01b81526001600160a01b03851660048201526024016106e9565b50505050565b6000826000018281548110612d3a57612d3a6137b4565b9060005260206000200154905092915050565b60008181526001830160205260408120548015612e36576000612d71600183613a04565b8554909150600090612d8590600190613a04565b9050808214612dea576000866000018281548110612da557612da56137b4565b9060005260206000200154905080876000018481548110612dc857612dc86137b4565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612dfb57612dfb613a17565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061065b565b600091505061065b565b5092915050565b604051631517388760e21b81526001600160401b038416600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612ea2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ec691906136db565b6001600160401b031690506003826003811115612ee557612ee56132c9565b148015612ef3575061271081105b15612f1c5760405163be511cc160e01b81526001600160401b03851660048201526024016106e9565b6003826003811115612f3057612f306132c9565b14158015612f4057506127108110155b8015612fd95750612f4f612945565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612fa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fcc91906136db565b6001600160401b03168114155b1561300257604051630e08ff2d60e11b81526001600160401b03851660048201526024016106e9565b61300b836130e1565b600003612d1d57604051631367e80d60e31b81526001600160401b03851660048201526024016106e9565b600081815260018301602052604081205461307d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561065b565b50600061065b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166130ce57604051631afcd79f60e31b815260040160405180910390fd5b565b6130d8613085565b6128c58161283e565b600060ff8216601f81111561065b57604051632cd44ac360e21b815260040160405180910390fd5b6001600160401b03811681146128c557600080fd5b803561312981613109565b919050565b60006020828403121561314057600080fd5b8135611c9a81613109565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261317257600080fd5b81356001600160401b038082111561318c5761318c61314b565b604051601f8301601f19908116603f011681019082821181831017156131b4576131b461314b565b816040528381528660208588010111156131cd57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806060858703121561320357600080fd5b84356001600160401b038082111561321a57600080fd5b61322688838901613161565b9550602087013591508082111561323c57600080fd5b818701915087601f83011261325057600080fd5b81358181111561325f57600080fd5b8860208260051b850101111561327457600080fd5b60208301955080945050505061328c6040860161311e565b905092959194509250565b6001600160a01b03811681146128c557600080fd5b6000602082840312156132be57600080fd5b8135611c9a81613297565b634e487b7160e01b600052602160045260246000fd5b600481106132fd57634e487b7160e01b600052602160045260246000fd5b9052565b8151815260208083015160a083019161331c908401826132df565b50604083015115156040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b6000806040838503121561336357600080fd5b823561336e81613297565b915060208301356001600160401b0381111561338957600080fd5b61339585828601613161565b9150509250929050565b60005b838110156133ba5781810151838201526020016133a2565b50506000910152565b60208152600082518060208401526133e281604085016020870161339f565b601f01601f19169190910160400192915050565b6000806040838503121561340957600080fd5b823561341481613109565b9150602083013561342481613109565b809150509250929050565b60006020828403121561344157600080fd5b81356001600160401b0381111561345757600080fd5b610e4084828501613161565b60006020828403121561347557600080fd5b5035919050565b6000806040838503121561348f57600080fd5b823561336e81613109565b8151815260208083015160a08301916134b5908401826132df565b506001600160401b036040840151166040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b80151581146128c557600080fd5b6000806040838503121561351157600080fd5b823561351c81613297565b91506020830135613424816134f0565b6000806040838503121561353f57600080fd5b823561354a81613109565b9150602083013561342481613297565b80356001600160e01b03198116811461312957600080fd5b60008060006060848603121561358757600080fd5b833561359281613297565b925060208401356135a281613297565b91506135b06040850161355a565b90509250925092565b600080604083850312156135cc57600080fd5b82356001600160401b03808211156135e357600080fd5b6135ef86838701613161565b9350602085013591508082111561360557600080fd5b5061339585828601613161565b6000806040838503121561362557600080fd5b823561363081613109565b946020939093013593505050565b60008060006060848603121561365357600080fd5b833561365e81613109565b925060208401356001600160401b0381111561367957600080fd5b61368586828701613161565b925050604084013561369681613109565b809150509250925092565b6001600160a01b038316815260408101611c9a60208301846132df565b6001600160401b038316815260408101611c9a60208301846132df565b6000602082840312156136ed57600080fd5b8151611c9a81613109565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6000806040838503121561372d57600080fd5b8251613738816134f0565b602084015190925063ffffffff8116811461342457600080fd5b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161379057613790613768565b5060010190565b6000602082840312156137a957600080fd5b8151611c9a816134f0565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0393841681529190921660208201526001600160e01b0319909116604082015260600190565b60006020828403121561380957600080fd5b8151611c9a81613297565b6000808585111561382457600080fd5b8386111561383157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156138665780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b805160208083015191908110156138cf576000198160200360031b1b821691505b50919050565b6001600160a01b038516815260606020808301829052908201849052600090859060808401835b87811015613929576001600160e01b03196139168561355a565b16825292820192908201906001016138fc565b508093505050506001600160401b038316604083015295945050505050565b60006020828403121561395a57600080fd5b815164ffffffffff81168114611c9a57600080fd5b6001600160a01b0385168152602081018490526080810161399360408301856132df565b821515606083015295945050505050565b6001600160401b03841681526020810183905260608101610e4060408301846132df565b6001600160401b03818116838216019080821115612e4057612e40613768565b600082516139fa81846020870161339f565b9190910192915050565b8181038181111561065b5761065b613768565b634e487b7160e01b600052603160045260246000fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220fc37dd1bdcf3065724275b591dc298844a0b88a133fbac174468823932ef4b9364736f6c63430008140033",
1126
- "linkReferences": {
1127
- "contracts/types/RoleId.sol": {
1128
- "RoleIdLib": [
1129
- {
1130
- "length": 20,
1131
- "start": 2235
1132
- },
1133
- {
1134
- "length": 20,
1135
- "start": 2726
1136
- },
1137
- {
1138
- "length": 20,
1139
- "start": 4942
1140
- },
1141
- {
1142
- "length": 20,
1143
- "start": 5309
1144
- },
1145
- {
1146
- "length": 20,
1147
- "start": 5762
1148
- },
1149
- {
1150
- "length": 20,
1151
- "start": 7046
1152
- },
1153
- {
1154
- "length": 20,
1155
- "start": 9203
1156
- },
1157
- {
1158
- "length": 20,
1159
- "start": 9494
1160
- },
1161
- {
1162
- "length": 20,
1163
- "start": 10497
1164
- },
1165
- {
1166
- "length": 20,
1167
- "start": 10628
1168
- },
1169
- {
1170
- "length": 20,
1171
- "start": 10688
1172
- },
1173
- {
1174
- "length": 20,
1175
- "start": 10748
1176
- },
1177
- {
1178
- "length": 20,
1179
- "start": 10875
1180
- },
1181
- {
1182
- "length": 20,
1183
- "start": 11002
1184
- },
1185
- {
1186
- "length": 20,
1187
- "start": 11912
1188
- },
1189
- {
1190
- "length": 20,
1191
- "start": 12174
1192
- }
1193
- ]
1194
- },
1195
- "contracts/types/Timestamp.sol": {
1196
- "TimestampLib": [
1197
- {
1198
- "length": 20,
1199
- "start": 4277
1200
- },
1201
- {
1202
- "length": 20,
1203
- "start": 6960
1204
- },
1205
- {
1206
- "length": 20,
1207
- "start": 8021
1208
- },
1209
- {
1210
- "length": 20,
1211
- "start": 8440
1212
- },
1213
- {
1214
- "length": 20,
1215
- "start": 8561
1216
- },
1217
- {
1218
- "length": 20,
1219
- "start": 9725
1220
- },
1221
- {
1222
- "length": 20,
1223
- "start": 9846
1224
- }
1225
- ]
1226
- }
1227
- },
1228
- "deployedLinkReferences": {
1229
- "contracts/types/RoleId.sol": {
1230
- "RoleIdLib": [
1231
- {
1232
- "length": 20,
1233
- "start": 2203
1234
- },
1235
- {
1236
- "length": 20,
1237
- "start": 2694
1238
- },
1239
- {
1240
- "length": 20,
1241
- "start": 4910
1242
- },
1243
- {
1244
- "length": 20,
1245
- "start": 5277
1246
- },
1247
- {
1248
- "length": 20,
1249
- "start": 5730
1250
- },
1251
- {
1252
- "length": 20,
1253
- "start": 7014
1254
- },
1255
- {
1256
- "length": 20,
1257
- "start": 9171
1258
- },
1259
- {
1260
- "length": 20,
1261
- "start": 9462
1262
- },
1263
- {
1264
- "length": 20,
1265
- "start": 10465
1266
- },
1267
- {
1268
- "length": 20,
1269
- "start": 10596
1270
- },
1271
- {
1272
- "length": 20,
1273
- "start": 10656
1274
- },
1275
- {
1276
- "length": 20,
1277
- "start": 10716
1278
- },
1279
- {
1280
- "length": 20,
1281
- "start": 10843
1282
- },
1283
- {
1284
- "length": 20,
1285
- "start": 10970
1286
- },
1287
- {
1288
- "length": 20,
1289
- "start": 11880
1290
- },
1291
- {
1292
- "length": 20,
1293
- "start": 12142
1294
- }
1295
- ]
1296
- },
1297
- "contracts/types/Timestamp.sol": {
1298
- "TimestampLib": [
1299
- {
1300
- "length": 20,
1301
- "start": 4245
1302
- },
1303
- {
1304
- "length": 20,
1305
- "start": 6928
1306
- },
1307
- {
1308
- "length": 20,
1309
- "start": 7989
1310
- },
1311
- {
1312
- "length": 20,
1313
- "start": 8408
1314
- },
1315
- {
1316
- "length": 20,
1317
- "start": 8529
1318
- },
1319
- {
1320
- "length": 20,
1321
- "start": 9693
1322
- },
1323
- {
1324
- "length": 20,
1325
- "start": 9814
1326
- }
1327
- ]
1328
- }
1329
- }
1330
- }