@etherisc/gif-next 0.0.2-d551b5e-892 → 0.0.2-d59d51e-694

Sign up to get free protection for your applications and to get access to all the features.
Files changed (569) hide show
  1. package/README.md +8 -13
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1410 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1343 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +799 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +969 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +808 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +73 -83
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +291 -1349
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +356 -181
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +366 -2977
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +602 -194
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +132 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +485 -337
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +509 -445
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +328 -145
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3468 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  42. package/artifacts/contracts/instance/module/{ISetup.sol/ISetup.json → IComponents.sol/IComponents.json} +2 -2
  43. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  46. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  47. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  48. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  49. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1091 -0
  50. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  51. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +723 -0
  52. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  53. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → pool/IBundleService.sol/IBundleService.json} +297 -341
  54. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  55. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1148 -0
  56. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  57. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1044 -0
  58. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  59. package/artifacts/contracts/pool/Pool.sol/Pool.json +1559 -0
  60. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1411 -0
  62. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +719 -0
  64. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  65. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +820 -0
  66. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +699 -0
  68. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1264 -0
  70. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +787 -0
  72. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  73. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +231 -204
  74. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  76. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  77. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +333 -296
  78. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  79. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IPricingService.sol/IPricingService.json} +253 -261
  80. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  81. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +989 -0
  82. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  83. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → product/IProductService.sol/IProductService.json} +132 -119
  84. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1132 -0
  86. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +731 -0
  88. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PricingService.sol/PricingService.json +969 -0
  90. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +755 -0
  92. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  93. package/artifacts/contracts/product/Product.sol/Product.json +1391 -0
  94. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  95. package/artifacts/contracts/product/ProductService.sol/ProductService.json +673 -0
  96. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +675 -0
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  99. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +370 -117
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +368 -222
  104. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  105. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  106. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/Registry.sol/Registry.json +463 -184
  108. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  109. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +322 -0
  110. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +438 -333
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +324 -136
  114. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1151 -0
  116. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -109
  120. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  121. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  122. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  123. package/artifacts/contracts/shared/Component.sol/Component.json +890 -0
  124. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  125. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1461 -0
  126. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +765 -0
  128. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +207 -208
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  132. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  133. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IComponent.sol/IComponent.json} +275 -103
  134. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +854 -0
  136. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +699 -0
  138. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  139. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +51 -21
  140. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  141. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  142. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  144. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  146. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  147. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  148. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +35 -0
  150. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  151. package/artifacts/contracts/shared/IService.sol/IService.json +84 -178
  152. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  154. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  155. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1030 -0
  156. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  157. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +581 -0
  158. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  159. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  160. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  161. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  162. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  163. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +109 -29
  164. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  165. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -61
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -53
  170. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  171. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  172. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  173. package/artifacts/contracts/shared/Service.sol/Service.json +185 -165
  174. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  175. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  176. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  177. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  178. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  180. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  181. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1435 -0
  182. package/artifacts/contracts/staking/IStakingManager.sol/IStakingManager.dbg.json +4 -0
  183. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → staking/IStakingManager.sol/IStakingManager.json} +10 -10
  184. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  185. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +884 -0
  186. package/artifacts/contracts/staking/IStakingStore.sol/IStakingStore.dbg.json +4 -0
  187. package/artifacts/contracts/staking/IStakingStore.sol/IStakingStore.json +357 -0
  188. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  189. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +402 -0
  190. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  191. package/artifacts/contracts/staking/Staking.sol/Staking.json +2002 -0
  192. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  193. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +748 -0
  194. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  195. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +368 -0
  196. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  197. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1207 -0
  198. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  199. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  200. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  201. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1690 -0
  202. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  203. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +494 -0
  204. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  205. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  206. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  207. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  208. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  209. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  210. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  211. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  212. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  213. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  214. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  215. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  216. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  217. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  218. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  219. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +185 -0
  220. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  221. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  222. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  223. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  224. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  226. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  227. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  228. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  229. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  230. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  231. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  232. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +174 -0
  234. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  235. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  236. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  238. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  239. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  240. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  242. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  243. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  244. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  245. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  246. package/contracts/distribution/Distribution.sol +263 -0
  247. package/contracts/distribution/DistributionService.sol +298 -0
  248. package/contracts/{instance/service → distribution}/DistributionServiceManager.sol +20 -20
  249. package/contracts/distribution/IDistributionComponent.sol +66 -0
  250. package/contracts/distribution/IDistributionService.sol +81 -0
  251. package/contracts/instance/BundleManager.sol +22 -25
  252. package/contracts/instance/IInstance.sol +57 -38
  253. package/contracts/instance/IInstanceService.sol +65 -14
  254. package/contracts/instance/Instance.sol +146 -378
  255. package/contracts/instance/InstanceAccessManager.sol +432 -177
  256. package/contracts/instance/InstanceAuthorizationsLib.sol +336 -0
  257. package/contracts/instance/InstanceReader.sol +136 -85
  258. package/contracts/instance/InstanceService.sol +305 -190
  259. package/contracts/instance/InstanceServiceManager.sol +12 -25
  260. package/contracts/instance/InstanceStore.sol +260 -0
  261. package/contracts/instance/base/BalanceStore.sol +118 -0
  262. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  263. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +16 -35
  264. package/contracts/instance/module/IAccess.sol +37 -21
  265. package/contracts/instance/module/IBundle.sol +8 -8
  266. package/contracts/instance/module/IComponents.sol +52 -0
  267. package/contracts/instance/module/IDistribution.sol +7 -4
  268. package/contracts/instance/module/IPolicy.sol +56 -17
  269. package/contracts/instance/module/IRisk.sol +1 -1
  270. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  271. package/contracts/pool/BundleService.sol +296 -0
  272. package/contracts/pool/BundleServiceManager.sol +42 -0
  273. package/contracts/pool/IBundleService.sol +106 -0
  274. package/contracts/pool/IPoolComponent.sol +112 -0
  275. package/contracts/pool/IPoolService.sol +147 -0
  276. package/contracts/pool/Pool.sol +299 -0
  277. package/contracts/pool/PoolService.sol +424 -0
  278. package/contracts/pool/PoolServiceManager.sol +42 -0
  279. package/contracts/product/ApplicationService.sol +254 -0
  280. package/contracts/product/ApplicationServiceManager.sol +38 -0
  281. package/contracts/product/ClaimService.sol +437 -0
  282. package/contracts/product/ClaimServiceManager.sol +38 -0
  283. package/contracts/product/IApplicationService.sol +62 -0
  284. package/contracts/product/IClaimService.sol +93 -0
  285. package/contracts/product/IPolicyService.sol +78 -0
  286. package/contracts/product/IPricingService.sol +39 -0
  287. package/contracts/product/IProductComponent.sol +42 -0
  288. package/contracts/product/IProductService.sol +33 -0
  289. package/contracts/product/PolicyService.sol +473 -0
  290. package/contracts/product/PolicyServiceManager.sol +42 -0
  291. package/contracts/product/PricingService.sol +301 -0
  292. package/contracts/product/PricingServiceManager.sol +42 -0
  293. package/contracts/product/Product.sol +377 -0
  294. package/contracts/product/ProductService.sol +124 -0
  295. package/contracts/product/ProductServiceManager.sol +42 -0
  296. package/contracts/registry/ChainNft.sol +14 -0
  297. package/contracts/registry/IRegistry.sol +74 -30
  298. package/contracts/registry/IRegistryService.sol +46 -28
  299. package/contracts/registry/ITransferInterceptor.sol +1 -0
  300. package/contracts/registry/Registry.sol +367 -237
  301. package/contracts/registry/RegistryAccessManager.sol +196 -0
  302. package/contracts/registry/RegistryService.sol +113 -205
  303. package/contracts/registry/RegistryServiceManager.sol +34 -42
  304. package/contracts/registry/ReleaseManager.sol +563 -0
  305. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  306. package/contracts/registry/TokenRegistry.sol +300 -57
  307. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  308. package/contracts/shared/Component.sol +286 -0
  309. package/contracts/shared/ComponentService.sol +595 -0
  310. package/contracts/shared/ComponentServiceManager.sol +35 -0
  311. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  312. package/contracts/shared/ERC165.sol +14 -12
  313. package/contracts/shared/IComponent.sol +74 -0
  314. package/contracts/shared/IComponentService.sol +91 -0
  315. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  316. package/contracts/{instance/base → shared}/IKeyValueStore.sol +14 -10
  317. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  318. package/contracts/shared/INftOwnable.sol +12 -11
  319. package/contracts/shared/IPolicyHolder.sol +45 -0
  320. package/contracts/shared/IRegisterable.sol +4 -6
  321. package/contracts/shared/IRegistryLinked.sol +11 -0
  322. package/contracts/shared/IService.sol +7 -4
  323. package/contracts/shared/IVersionable.sol +5 -48
  324. package/contracts/shared/InstanceLinkedComponent.sol +145 -0
  325. package/contracts/shared/KeyValueStore.sol +130 -0
  326. package/contracts/{instance/base → shared}/Lifecycle.sol +28 -7
  327. package/contracts/shared/NftIdSetManager.sol +65 -0
  328. package/contracts/shared/NftOwnable.sol +64 -80
  329. package/contracts/shared/PolicyHolder.sol +101 -0
  330. package/contracts/shared/ProxyManager.sol +126 -25
  331. package/contracts/shared/Registerable.sol +26 -41
  332. package/contracts/shared/RegistryLinked.sol +43 -0
  333. package/contracts/shared/Service.sol +45 -23
  334. package/contracts/shared/TokenHandler.sol +37 -6
  335. package/contracts/shared/Versionable.sol +4 -92
  336. package/contracts/staking/IStaking.sol +152 -0
  337. package/contracts/staking/IStakingManager.sol +15 -0
  338. package/contracts/staking/IStakingService.sol +162 -0
  339. package/contracts/staking/IStakingStore.sol +130 -0
  340. package/contracts/staking/StakeManagerLib.sol +156 -0
  341. package/contracts/staking/Staking.sol +502 -0
  342. package/contracts/staking/StakingManager.sol +65 -0
  343. package/contracts/staking/StakingReader.sol +147 -0
  344. package/contracts/staking/StakingService.sol +375 -0
  345. package/contracts/staking/StakingServiceManager.sol +44 -0
  346. package/contracts/staking/StakingStore.sol +329 -0
  347. package/contracts/staking/TargetManagerLib.sol +179 -0
  348. package/contracts/type/Amount.sol +114 -0
  349. package/contracts/{types → type}/Blocknumber.sol +20 -2
  350. package/contracts/type/ClaimId.sol +75 -0
  351. package/contracts/{types → type}/DistributorType.sol +2 -2
  352. package/contracts/{types → type}/Fee.sol +32 -22
  353. package/contracts/{types → type}/NftId.sol +17 -11
  354. package/contracts/{types → type}/NftIdSet.sol +1 -1
  355. package/contracts/{types → type}/ObjectType.sol +26 -9
  356. package/contracts/type/PayoutId.sol +82 -0
  357. package/contracts/{types → type}/Referral.sol +4 -0
  358. package/contracts/type/RoleId.sol +143 -0
  359. package/contracts/type/Seconds.sol +71 -0
  360. package/contracts/{types → type}/StateId.sol +24 -6
  361. package/contracts/{types → type}/Timestamp.sol +18 -13
  362. package/contracts/{types → type}/UFixed.sol +1 -0
  363. package/contracts/{types → type}/Version.sol +1 -0
  364. package/package.json +3 -3
  365. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  366. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  367. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -744
  368. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  369. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  370. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  371. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  372. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  373. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  374. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  375. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  376. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -939
  377. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  378. package/artifacts/contracts/components/Product.sol/Product.json +0 -855
  379. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  380. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  381. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  382. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  383. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  384. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  385. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  386. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  387. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  388. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  389. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  390. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  391. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  392. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  393. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  394. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  395. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  396. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  397. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  398. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  399. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  400. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  401. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  402. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  403. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  404. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  405. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  406. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  407. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  408. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  409. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  410. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  411. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  412. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  413. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  414. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  415. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  416. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  417. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  418. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  419. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  420. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  421. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  422. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  423. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  424. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  425. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  426. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  427. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  428. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  429. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  430. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  431. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  432. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -429
  433. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  434. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  435. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  436. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  437. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  438. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  439. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  440. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  441. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  442. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  443. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  444. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -684
  445. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  446. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  447. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  448. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  449. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  450. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  451. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  452. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  453. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  454. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -984
  455. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  456. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -464
  457. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  458. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1017
  459. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  460. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  461. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  462. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -789
  463. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  464. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  465. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  466. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  467. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  468. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  469. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  470. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  471. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  472. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  473. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  474. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  475. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  476. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  477. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  478. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  479. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  480. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  481. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  482. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  483. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  484. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  485. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  486. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  487. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  488. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  489. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  490. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  491. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  492. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  493. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  494. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  495. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  496. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  497. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  498. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  499. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  500. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  501. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  502. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  503. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  504. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  505. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  506. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  507. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  508. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  509. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  510. package/contracts/components/BaseComponent.sol +0 -132
  511. package/contracts/components/Distribution.sol +0 -163
  512. package/contracts/components/IBaseComponent.sol +0 -31
  513. package/contracts/components/IDistributionComponent.sol +0 -44
  514. package/contracts/components/IPoolComponent.sol +0 -66
  515. package/contracts/components/IProductComponent.sol +0 -35
  516. package/contracts/components/Pool.sol +0 -267
  517. package/contracts/components/Product.sol +0 -292
  518. package/contracts/experiment/cloning/Cloner.sol +0 -47
  519. package/contracts/experiment/errors/Require.sol +0 -38
  520. package/contracts/experiment/errors/Revert.sol +0 -44
  521. package/contracts/experiment/inheritance/A.sol +0 -53
  522. package/contracts/experiment/inheritance/B.sol +0 -28
  523. package/contracts/experiment/inheritance/C.sol +0 -34
  524. package/contracts/experiment/inheritance/IA.sol +0 -13
  525. package/contracts/experiment/inheritance/IB.sol +0 -10
  526. package/contracts/experiment/inheritance/IC.sol +0 -12
  527. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  528. package/contracts/experiment/statemachine/ISM.sol +0 -25
  529. package/contracts/experiment/statemachine/SM.sol +0 -57
  530. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  531. package/contracts/experiment/types/TypeA.sol +0 -47
  532. package/contracts/experiment/types/TypeB.sol +0 -29
  533. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  534. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  535. package/contracts/instance/IInstanceBase.sol +0 -26
  536. package/contracts/instance/InstanceBase.sol +0 -41
  537. package/contracts/instance/base/ComponentServiceBase.sol +0 -72
  538. package/contracts/instance/base/IInstanceBase.sol +0 -23
  539. package/contracts/instance/base/KeyValueStore.sol +0 -172
  540. package/contracts/instance/module/ISetup.sol +0 -46
  541. package/contracts/instance/module/ITreasury.sol +0 -23
  542. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  543. package/contracts/instance/service/DistributionService.sol +0 -118
  544. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  545. package/contracts/instance/service/IDistributionService.sol +0 -12
  546. package/contracts/instance/service/IPolicyService.sol +0 -87
  547. package/contracts/instance/service/IPoolService.sol +0 -51
  548. package/contracts/instance/service/IProductService.sol +0 -40
  549. package/contracts/instance/service/PolicyService.sol +0 -513
  550. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  551. package/contracts/instance/service/PoolService.sol +0 -317
  552. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  553. package/contracts/instance/service/ProductService.sol +0 -173
  554. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  555. package/contracts/shared/ContractDeployerLib.sol +0 -72
  556. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  557. package/contracts/test/TestFee.sol +0 -25
  558. package/contracts/test/TestRegisterable.sol +0 -18
  559. package/contracts/test/TestRoleId.sol +0 -14
  560. package/contracts/test/TestService.sol +0 -24
  561. package/contracts/test/TestToken.sol +0 -26
  562. package/contracts/test/TestVersion.sol +0 -44
  563. package/contracts/test/TestVersionable.sol +0 -17
  564. package/contracts/types/ChainId.sol +0 -38
  565. package/contracts/types/NumberId.sol +0 -52
  566. package/contracts/types/RoleId.sol +0 -91
  567. /package/contracts/{types → type}/AddressSet.sol +0 -0
  568. /package/contracts/{types → type}/Key32.sol +0 -0
  569. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -3,17 +3,6 @@
3
3
  "contractName": "InstanceAccessManager",
4
4
  "sourceName": "contracts/instance/InstanceAccessManager.sol",
5
5
  "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "accessManager",
11
- "type": "address"
12
- }
13
- ],
14
- "stateMutability": "nonpayable",
15
- "type": "constructor"
16
- },
17
6
  {
18
7
  "inputs": [
19
8
  {
@@ -54,13 +43,18 @@
54
43
  },
55
44
  {
56
45
  "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "caller",
49
+ "type": "address"
50
+ },
57
51
  {
58
52
  "internalType": "RoleId",
59
53
  "name": "roleId",
60
54
  "type": "uint64"
61
55
  }
62
56
  ],
63
- "name": "ErrorGrantNonexstentRole",
57
+ "name": "ErrorIAccessCallerIsNotRoleAdmin",
64
58
  "type": "error"
65
59
  },
66
60
  {
@@ -71,7 +65,7 @@
71
65
  "type": "uint64"
72
66
  }
73
67
  ],
74
- "name": "ErrorRenounceNonexstentRole",
68
+ "name": "ErrorIAccessRoleIdDoesNotExist",
75
69
  "type": "error"
76
70
  },
77
71
  {
@@ -82,7 +76,7 @@
82
76
  "type": "uint64"
83
77
  }
84
78
  ],
85
- "name": "ErrorRevokeNonexstentRole",
79
+ "name": "ErrorIAccessRoleIdExists",
86
80
  "type": "error"
87
81
  },
88
82
  {
@@ -91,14 +85,9 @@
91
85
  "internalType": "RoleId",
92
86
  "name": "roleId",
93
87
  "type": "uint64"
94
- },
95
- {
96
- "internalType": "ShortString",
97
- "name": "name",
98
- "type": "bytes32"
99
88
  }
100
89
  ],
101
- "name": "ErrorRoleIdAlreadyExists",
90
+ "name": "ErrorIAccessRoleIdTooBig",
102
91
  "type": "error"
103
92
  },
104
93
  {
@@ -109,7 +98,7 @@
109
98
  "type": "uint64"
110
99
  }
111
100
  ],
112
- "name": "ErrorRoleIdInvalid",
101
+ "name": "ErrorIAccessRoleIdTooSmall",
113
102
  "type": "error"
114
103
  },
115
104
  {
@@ -120,7 +109,7 @@
120
109
  "type": "uint64"
121
110
  }
122
111
  ],
123
- "name": "ErrorRoleIdNotActive",
112
+ "name": "ErrorIAccessRoleNameEmpty",
124
113
  "type": "error"
125
114
  },
126
115
  {
@@ -129,20 +118,19 @@
129
118
  "internalType": "RoleId",
130
119
  "name": "roleId",
131
120
  "type": "uint64"
132
- }
133
- ],
134
- "name": "ErrorRoleIdTooBig",
135
- "type": "error"
136
- },
137
- {
138
- "inputs": [
121
+ },
139
122
  {
140
123
  "internalType": "RoleId",
141
- "name": "roleId",
124
+ "name": "existingRoleId",
142
125
  "type": "uint64"
126
+ },
127
+ {
128
+ "internalType": "ShortString",
129
+ "name": "name",
130
+ "type": "bytes32"
143
131
  }
144
132
  ],
145
- "name": "ErrorRoleIdTooSmall",
133
+ "name": "ErrorIAccessRoleNameExists",
146
134
  "type": "error"
147
135
  },
148
136
  {
@@ -153,52 +141,47 @@
153
141
  "type": "uint64"
154
142
  },
155
143
  {
156
- "internalType": "bool",
157
- "name": "isCustom",
158
- "type": "bool"
144
+ "internalType": "enum IAccess.Type",
145
+ "name": "rtype",
146
+ "type": "uint8"
159
147
  }
160
148
  ],
161
- "name": "ErrorRoleInvalidUpdate",
149
+ "name": "ErrorIAccessRoleTypeInvalid",
162
150
  "type": "error"
163
151
  },
164
152
  {
165
153
  "inputs": [
166
154
  {
167
- "internalType": "RoleId",
168
- "name": "roleId",
169
- "type": "uint64"
170
- },
171
- {
172
- "internalType": "bool",
173
- "name": "isCustom",
174
- "type": "bool"
155
+ "internalType": "address",
156
+ "name": "target",
157
+ "type": "address"
175
158
  },
176
159
  {
177
- "internalType": "bool",
178
- "name": "isCustomExisting",
179
- "type": "bool"
160
+ "internalType": "address",
161
+ "name": "targetAuthority",
162
+ "type": "address"
180
163
  }
181
164
  ],
182
- "name": "ErrorRoleIsCustomIsImmutable",
165
+ "name": "ErrorIAccessTargetAuthorityInvalid",
183
166
  "type": "error"
184
167
  },
185
168
  {
186
169
  "inputs": [
187
170
  {
188
- "internalType": "RoleId",
189
- "name": "roleId",
190
- "type": "uint64"
171
+ "internalType": "address",
172
+ "name": "target",
173
+ "type": "address"
191
174
  }
192
175
  ],
193
- "name": "ErrorRoleNameEmpty",
176
+ "name": "ErrorIAccessTargetDoesNotExist",
194
177
  "type": "error"
195
178
  },
196
179
  {
197
180
  "inputs": [
198
181
  {
199
- "internalType": "RoleId",
200
- "name": "roleId",
201
- "type": "uint64"
182
+ "internalType": "address",
183
+ "name": "target",
184
+ "type": "address"
202
185
  },
203
186
  {
204
187
  "internalType": "ShortString",
@@ -206,18 +189,7 @@
206
189
  "type": "bytes32"
207
190
  }
208
191
  ],
209
- "name": "ErrorRoleNameNotUnique",
210
- "type": "error"
211
- },
212
- {
213
- "inputs": [
214
- {
215
- "internalType": "RoleId",
216
- "name": "roleId",
217
- "type": "uint64"
218
- }
219
- ],
220
- "name": "ErrorSetLockedForNonexstentRole",
192
+ "name": "ErrorIAccessTargetExists",
221
193
  "type": "error"
222
194
  },
223
195
  {
@@ -228,12 +200,7 @@
228
200
  "type": "address"
229
201
  }
230
202
  ],
231
- "name": "ErrorSetLockedForNonexstentTarget",
232
- "type": "error"
233
- },
234
- {
235
- "inputs": [],
236
- "name": "ErrorTargetAddressZero",
203
+ "name": "ErrorIAccessTargetNameEmpty",
237
204
  "type": "error"
238
205
  },
239
206
  {
@@ -243,13 +210,18 @@
243
210
  "name": "target",
244
211
  "type": "address"
245
212
  },
213
+ {
214
+ "internalType": "address",
215
+ "name": "existingTarget",
216
+ "type": "address"
217
+ },
246
218
  {
247
219
  "internalType": "ShortString",
248
220
  "name": "name",
249
221
  "type": "bytes32"
250
222
  }
251
223
  ],
252
- "name": "ErrorTargetAlreadyExists",
224
+ "name": "ErrorIAccessTargetNameExists",
253
225
  "type": "error"
254
226
  },
255
227
  {
@@ -260,7 +232,7 @@
260
232
  "type": "address"
261
233
  }
262
234
  ],
263
- "name": "ErrorTargetNameEmpty",
235
+ "name": "ErrorIAccessTargetNotRegistered",
264
236
  "type": "error"
265
237
  },
266
238
  {
@@ -271,17 +243,12 @@
271
243
  "type": "address"
272
244
  },
273
245
  {
274
- "internalType": "address",
275
- "name": "existingTarget",
276
- "type": "address"
277
- },
278
- {
279
- "internalType": "ShortString",
280
- "name": "name",
281
- "type": "bytes32"
246
+ "internalType": "enum IAccess.Type",
247
+ "name": "ttype",
248
+ "type": "uint8"
282
249
  }
283
250
  ],
284
- "name": "ErrorTargetNameExists",
251
+ "name": "ErrorIAccessTargetTypeInvalid",
285
252
  "type": "error"
286
253
  },
287
254
  {
@@ -336,6 +303,62 @@
336
303
  "name": "Initialized",
337
304
  "type": "event"
338
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
+ },
339
362
  {
340
363
  "inputs": [],
341
364
  "name": "ADMIN_ROLE_NAME",
@@ -375,6 +398,32 @@
375
398
  "stateMutability": "view",
376
399
  "type": "function"
377
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
+ },
378
427
  {
379
428
  "inputs": [],
380
429
  "name": "PUBLIC_ROLE_NAME",
@@ -404,19 +453,35 @@
404
453
  {
405
454
  "inputs": [
406
455
  {
407
- "internalType": "RoleId",
408
- "name": "roleId",
409
- "type": "uint64"
456
+ "internalType": "address",
457
+ "name": "caller",
458
+ "type": "address"
410
459
  },
411
460
  {
412
- "internalType": "string",
413
- "name": "name",
414
- "type": "string"
461
+ "internalType": "address",
462
+ "name": "target",
463
+ "type": "address"
464
+ },
465
+ {
466
+ "internalType": "bytes4",
467
+ "name": "selector",
468
+ "type": "bytes4"
415
469
  }
416
470
  ],
417
- "name": "createDefaultRole",
418
- "outputs": [],
419
- "stateMutability": "nonpayable",
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",
420
485
  "type": "function"
421
486
  },
422
487
  {
@@ -432,7 +497,7 @@
432
497
  "type": "string"
433
498
  }
434
499
  ],
435
- "name": "createRole",
500
+ "name": "createCoreRole",
436
501
  "outputs": [],
437
502
  "stateMutability": "nonpayable",
438
503
  "type": "function"
@@ -450,7 +515,7 @@
450
515
  "type": "string"
451
516
  }
452
517
  ],
453
- "name": "createTarget",
518
+ "name": "createCoreTarget",
454
519
  "outputs": [],
455
520
  "stateMutability": "nonpayable",
456
521
  "type": "function"
@@ -461,82 +526,86 @@
461
526
  "internalType": "RoleId",
462
527
  "name": "roleId",
463
528
  "type": "uint64"
464
- }
465
- ],
466
- "name": "getRole",
467
- "outputs": [
529
+ },
468
530
  {
469
- "components": [
470
- {
471
- "internalType": "ShortString",
472
- "name": "name",
473
- "type": "bytes32"
474
- },
475
- {
476
- "internalType": "bool",
477
- "name": "isCustom",
478
- "type": "bool"
479
- },
480
- {
481
- "internalType": "bool",
482
- "name": "isLocked",
483
- "type": "bool"
484
- },
485
- {
486
- "internalType": "Timestamp",
487
- "name": "createdAt",
488
- "type": "uint40"
489
- },
490
- {
491
- "internalType": "Timestamp",
492
- "name": "updatedAt",
493
- "type": "uint40"
494
- }
495
- ],
496
- "internalType": "struct InstanceAccessManager.RoleInfo",
497
- "name": "role",
498
- "type": "tuple"
531
+ "internalType": "string",
532
+ "name": "name",
533
+ "type": "string"
534
+ },
535
+ {
536
+ "internalType": "RoleId",
537
+ "name": "admin",
538
+ "type": "uint64"
499
539
  }
500
540
  ],
501
- "stateMutability": "view",
541
+ "name": "createGifRole",
542
+ "outputs": [],
543
+ "stateMutability": "nonpayable",
502
544
  "type": "function"
503
545
  },
504
546
  {
505
547
  "inputs": [
506
548
  {
507
- "internalType": "uint256",
508
- "name": "idx",
509
- "type": "uint256"
510
- }
511
- ],
512
- "name": "getRoleId",
513
- "outputs": [
549
+ "internalType": "address",
550
+ "name": "target",
551
+ "type": "address"
552
+ },
514
553
  {
515
- "internalType": "RoleId",
516
- "name": "roleId",
517
- "type": "uint64"
554
+ "internalType": "string",
555
+ "name": "name",
556
+ "type": "string"
518
557
  }
519
558
  ],
520
- "stateMutability": "view",
559
+ "name": "createGifTarget",
560
+ "outputs": [],
561
+ "stateMutability": "nonpayable",
521
562
  "type": "function"
522
563
  },
523
564
  {
524
565
  "inputs": [
525
566
  {
526
567
  "internalType": "string",
527
- "name": "name",
568
+ "name": "roleName",
569
+ "type": "string"
570
+ },
571
+ {
572
+ "internalType": "string",
573
+ "name": "adminName",
528
574
  "type": "string"
529
575
  }
530
576
  ],
531
- "name": "getRoleIdForName",
577
+ "name": "createRole",
532
578
  "outputs": [
533
579
  {
534
580
  "internalType": "RoleId",
535
581
  "name": "roleId",
536
582
  "type": "uint64"
583
+ },
584
+ {
585
+ "internalType": "RoleId",
586
+ "name": "admin",
587
+ "type": "uint64"
537
588
  }
538
589
  ],
539
- "stateMutability": "view",
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",
540
609
  "type": "function"
541
610
  },
542
611
  {
@@ -545,24 +614,168 @@
545
614
  "internalType": "RoleId",
546
615
  "name": "roleId",
547
616
  "type": "uint64"
548
- },
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": [
549
632
  {
550
633
  "internalType": "uint256",
551
634
  "name": "idx",
552
635
  "type": "uint256"
553
636
  }
554
637
  ],
555
- "name": "getRoleMember",
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",
556
723
  "outputs": [
557
724
  {
558
725
  "internalType": "address",
559
- "name": "roleMember",
726
+ "name": "targetAddress",
560
727
  "type": "address"
561
728
  }
562
729
  ],
563
730
  "stateMutability": "view",
564
731
  "type": "function"
565
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
+ },
566
779
  {
567
780
  "inputs": [
568
781
  {
@@ -611,6 +824,19 @@
611
824
  "stateMutability": "view",
612
825
  "type": "function"
613
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
+ },
614
840
  {
615
841
  "inputs": [],
616
842
  "name": "isConsumingScheduledOp",
@@ -624,6 +850,25 @@
624
850
  "stateMutability": "view",
625
851
  "type": "function"
626
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
+ },
627
872
  {
628
873
  "inputs": [
629
874
  {
@@ -636,7 +881,7 @@
636
881
  "outputs": [
637
882
  {
638
883
  "internalType": "bool",
639
- "name": "revoked",
884
+ "name": "",
640
885
  "type": "bool"
641
886
  }
642
887
  ],
@@ -657,6 +902,25 @@
657
902
  }
658
903
  ],
659
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",
660
924
  "outputs": [
661
925
  {
662
926
  "internalType": "bool",
@@ -686,6 +950,30 @@
686
950
  "stateMutability": "view",
687
951
  "type": "function"
688
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
+ },
689
977
  {
690
978
  "inputs": [
691
979
  {
@@ -731,6 +1019,29 @@
731
1019
  "stateMutability": "nonpayable",
732
1020
  "type": "function"
733
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
+ },
734
1045
  {
735
1046
  "inputs": [
736
1047
  {
@@ -738,13 +1049,54 @@
738
1049
  "name": "roleId",
739
1050
  "type": "uint64"
740
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
+ },
741
1093
  {
742
1094
  "internalType": "bool",
743
1095
  "name": "locked",
744
1096
  "type": "bool"
745
1097
  }
746
1098
  ],
747
- "name": "setRoleLocked",
1099
+ "name": "setTargetLockedByInstance",
748
1100
  "outputs": [],
749
1101
  "stateMutability": "nonpayable",
750
1102
  "type": "function"
@@ -762,7 +1114,7 @@
762
1114
  "type": "bool"
763
1115
  }
764
1116
  ],
765
- "name": "setTargetLocked",
1117
+ "name": "setTargetLockedByService",
766
1118
  "outputs": [],
767
1119
  "stateMutability": "nonpayable",
768
1120
  "type": "function"
@@ -787,152 +1139,208 @@
787
1139
  "type": "function"
788
1140
  }
789
1141
  ],
790
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002ebb38038062002ebb833981016040819052620000349162000afd565b600780546001600160a01b0319166001600160a01b0383161790556200005a81620002ba565b6200018673__$cd131c2b3ba46b9dbe046aaf4458b9777d$__6368aebf7b600760009054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000f2919062000b45565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af415801562000137573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015d919062000b45565b60408051808201909152600981526841646d696e526f6c6560b81b6020820152600080620002d2565b620002b373__$cd131c2b3ba46b9dbe046aaf4458b9777d$__6368aebf7b600760009054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021e919062000b45565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af415801562000263573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000289919062000b45565b60408051808201909152600a8152695075626c6963526f6c6560b01b6020820152600080620002d2565b5062000c2a565b620002c462000518565b620002cf8162000569565b50565b8015620002e857620002e68484846200057e565b505b60006040518060a00160405280620003068662000a1860201b60201c565b8152602001841515815260200160001515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562000366573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200038c919062000b65565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015620003e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000408919062000b65565b64ffffffffff9081169091526001600160401b03968716600081815260208181526040808320865180825587840151600192830180548a86015160608c01516080909c015161ffff1990921693151561ff0019169390931761010093151584021762010000600160601b031916620100009b8b169b909b0264ffffffffff60381b19169a909a176701000000000000009a90991699909902979097179097559583526002909152812080546001600160401b03191683179055600380549485018155908190527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600485040180549490911660080290920a97880219909216969091029590951790945550505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200056757604051631afcd79f60e31b815260040160405180910390fd5b565b6200057362000518565b620002cf8162000a5b565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260075460408051631d6c8e3f60e21b8152905186926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015620005f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000619919062000b45565b6001600160401b0316816001600160401b03161480620006c35750600760009054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000688573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006ae919062000b45565b6001600160401b0316816001600160401b0316145b15620006f25760405163981bf42160e01b81526001600160401b03861660048201526024015b60405180910390fd5b6001600160401b03851660009081526020818152604091829020825160a0810184528154815260019091015460ff808216151593830193909352610100810490921615158184015264ffffffffff6201000083048116606083018190526701000000000000009093041660808201529151638d38cd4b60e01b8152600481019190915290925073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015620007b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007db919062000b8e565b8015620007f057508160200151151583151514155b156200082f57602082015160405162d1cd9360e51b81526001600160401b038716600482015284151560248201529015156044820152606401620006e9565b8280156200084757506127106001600160401b038216105b156200087257604051633119b9df60e21b81526001600160401b0386166004820152602401620006e9565b821580156200088c57506127106001600160401b03821610155b15620008b75760405163094fb39160e01b81526001600160401b0386166004820152602401620006e9565b6000620008c48562000a18565b9050620008d18162000ace565b600003620008fe576040516321ab17ab60e01b81526001600160401b0387166004820152602401620006e9565b60008181526002602090815260409182902054825163bc1b392d60e01b81529251620009a5936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af41580156200096d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000993919062000b45565b6001600160401b039081169116141590565b8015620009cc57506000818152600260205260409020546001600160401b03878116911614155b1562000a0f5760008181526002602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401620006e9565b50509392505050565b600080829050601f8151111562000a46578260405163305a27a960e01b8152600401620006e9919062000bb2565b805162000a538262000c02565b179392505050565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b600060ff8216601f81111562000af757604051632cd44ac360e21b815260040160405180910390fd5b92915050565b60006020828403121562000b1057600080fd5b81516001600160a01b038116811462000b2857600080fd5b9392505050565b6001600160401b0381168114620002cf57600080fd5b60006020828403121562000b5857600080fd5b815162000b288162000b2f565b60006020828403121562000b7857600080fd5b815164ffffffffff8116811462000b2857600080fd5b60006020828403121562000ba157600080fd5b8151801515811462000b2857600080fd5b600060208083528351808285015260005b8181101562000be15785810183015185820160400152820162000bc3565b506000604082860101526040601f19601f8301168501019250505092915050565b8051602080830151919081101562000c24576000198160200360031b1b821691505b50919050565b6122818062000c3a6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806386892313116100c3578063bc62a0a51161007c578063bc62a0a5146103db578063bcfb11b014610410578063bf7e214f14610439578063c6a0017914610459578063d1f856ee1461046c578063d78a83b11461047f57600080fd5b8063868923131461027357806386f0c47b146102865780638fb3603714610381578063af8d729e146103a2578063b428b0b0146103b5578063b7d2b162146103c857600080fd5b80635dfa73db116101155780635dfa73db146102095780635fa8aad414610212578063605aa10a146102275780636270b7c31461023a57806368ed5d2e1461024d5780637a9e5e4b1461026057600080fd5b8063030149741461015d57806337f135d714610183578063384c9a57146101a0578063392f5f64146101c35780633fd85561146101cb5780635511a6f3146101f6575b600080fd5b61017061016b366004611d97565b610492565b6040519081526020015b60405180910390f35b61018b600081565b60405163ffffffff909116815260200161017a565b6101b36101ae366004611d97565b6104b9565b604051901515815260200161017a565b600354610170565b6101de6101d9366004611db4565b610646565b6040516001600160401b03909116815260200161017a565b6101de610204366004611e6f565b61068b565b6101de61271081565b610225610220366004611ec7565b6106ba565b005b6101b3610235366004611f14565b6106d8565b610225610248366004611f2f565b610779565b61022561025b366004611f2f565b610790565b61022561026e366004611f14565b6107a6565b610225610281366004611f5b565b610829565b61032e610294366004611d97565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506001600160401b031660009081526020818152604091829020825160a0810184528154815260019091015460ff808216151593830193909352610100810490921615159281019290925264ffffffffff62010000820481166060840152600160381b90910416608082015290565b60405161017a9190600060a08201905082518252602083015115156020830152604083015115156040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b6103896108fb565b6040516001600160e01b0319909116815260200161017a565b6102256103b0366004611f92565b610934565b6101b36103c3366004611fb0565b610a50565b6101b36103d6366004611fb0565b610c2b565b6104036040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b60405161017a9190612009565b6104036040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b610441610da9565b6040516001600160a01b03909116815260200161017a565b6101b3610467366004611d97565b610dc5565b6101b361047a366004611fb0565b610e25565b61044161048d36600461203c565b610f35565b6001600160401b03811660009081526001602052604081206104b390610f5e565b92915050565b6000336104c583610dc5565b6104f157604051627a416f60e01b81526001600160401b03841660048201526024015b60405180910390fd5b6001600160401b03831660009081526001602052604090206105139082610f68565b1561063d57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610585573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a99190612068565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401600060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b5050506001600160401b0384166000908152600160205260409020610633915082610f8a565b5060019392505050565b50600092915050565b60006003828154811061065b5761065b612085565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b60006002600061069a84610f9f565b81526020810191909152604001600020546001600160401b031692915050565b6106c7335b600036610fdd565b6106d482826001806110db565b5050565b6001600160a01b0381166000908152600460208190526040808320600101549051638d38cd4b60e01b81526201000090910464ffffffffff169181019190915273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024015b602060405180830381865af4158015610755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b3919061209b565b610782336106bf565b6106d48282600060016113b8565b610799336106bf565b6106d482826001806113b8565b336107af610da9565b6001600160a01b0316816001600160a01b0316146107ea5760405162d1953b60e31b81526001600160a01b03821660048201526024016104e8565b816001600160a01b03163b600003610820576040516361798f2f60e11b81526001600160a01b03831660048201526024016104e8565b6106d4826115ed565b610832336106bf565b61083b826106d8565b6108635760405163ba52b0f160e01b81526001600160a01b03831660048201526024016104e8565b6001600160a01b03828116600081815260046020819052604091829020600101805461ff00191661010087151590810291909117909155600754925163167bd39560e01b81529182019390935260248101929092529091169063167bd39590604401600060405180830381600087803b1580156108df57600080fd5b505af11580156108f3573d6000803e3d6000fd5b505050505050565b60008051602061222c833981519152805460009190600160a01b900460ff1661092557600061092e565b638fb3603760e01b5b91505090565b61093d336106bf565b61094682610dc5565b61096e5760405163135c79b760e21b81526001600160401b03831660048201526024016104e8565b6001600160401b03821660009081526020818152604091829020600101805461ff0019166101008515150217905581516356db0c1960e11b8152915173__$d53880c81dc91c20799140d711e5ab8718$__9263adb618329260048083019391928290030181865af41580156109e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0b91906120b8565b6001600160401b039092166000908152602081905260409020600101805464ffffffffff93909316600160381b0264ffffffffff60381b199093169290921790915550565b6000610a5b336106bf565b610a6483610dc5565b610a8c57604051636777365b60e01b81526001600160401b03841660048201526024016104e8565b6001600160401b038316600090815260208190526040902060010154610100900460ff1615610ad95760405163fe229d5d60e01b81526001600160401b03841660048201526024016104e8565b6001600160401b0383166000908152600160205260409020610afb9083610f68565b61063d57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610b6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b909190612068565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038516602482015260006044820152606401600060405180830381600087803b158015610be757600080fd5b505af1158015610bfb573d6000803e3d6000fd5b5050506001600160401b0384166000908152600160205260409020610c2191508361164e565b50600190506104b3565b6000610c36336106bf565b610c3f83610dc5565b610c6757604051634cee277360e11b81526001600160401b03841660048201526024016104e8565b6001600160401b0383166000908152600160205260409020610c899083610f68565b1561063d57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610cfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1f9190612068565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b158015610d6f57600080fd5b505af1158015610d83573d6000803e3d6000fd5b5050506001600160401b0384166000908152600160205260409020610c21915083610f8a565b60008051602061222c833981519152546001600160a01b031690565b6001600160401b038116600090815260208190526040808220600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401610738565b600754604051631517388760e21b81526001600160401b03841660048201526000916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb79190612068565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016040805180830381865afa158015610f09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2d91906120df565b509392505050565b6001600160401b0382166000908152600160205260408120610f579083611663565b9392505050565b60006104b3825490565b6001600160a01b03811660009081526001830160205260408120541515610f57565b6000610f57836001600160a01b03841661166f565b600080829050601f81511115610fca578260405163305a27a960e01b81526004016104e89190612009565b8051610fd582612117565b179392505050565b60008051602061222c833981519152600080611018610ffa610da9565b873061100a600460008a8c61213e565b61101391612168565b611762565b91509150816108f35763ffffffff8116156110b857825460ff60a01b1916600160a01b178355611046610da9565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161107593929190612198565b600060405180830381600087803b15801561108f57600080fd5b505af11580156110a3573d6000803e3d6000fd5b5050845460ff60a01b19168555506108f39050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104e8565b60006040518060a001604052806110f186610f9f565b815284151560208201526007546040805163a166aa8960e01b81526001600160a01b038a81166004830152919093019291169063a166aa8990602401602060405180830381865afa15801561114a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116e919061209b565b1515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e291906120b8565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611237573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125b91906120b8565b64ffffffffff1681525090508060046000876001600160a01b03166001600160a01b031681526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff02191690831515021790555060408201518160010160016101000a81548160ff02191690831515021790555060608201518160010160026101000a81548164ffffffffff021916908364ffffffffff16021790555060808201518160010160076101000a81548164ffffffffff021916908364ffffffffff16021790555090505084600560008360000151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055506006859080600181540180825580915050600190039060005260206000200160009091909190916101000a8154816001600160a01b0302191690836001600160a01b031602179055505050505050565b80156113cb576113c984848461186e565b505b60006040518060a001604052806113e186610f9f565b8152602001841515815260200160001515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611440573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146491906120b8565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156114b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dd91906120b8565b64ffffffffff9081169091526001600160401b03968716600081815260208181526040808320865180825587840151600192830180548a86015160608c01516080909c015161ffff1990921693151561ff001916939093176101009315158402176bffffffffffffffffffff00001916620100009b8b169b909b0264ffffffffff60381b19169a909a17600160381b9a909916999099029790971790975595835260029091528120805467ffffffffffffffff191683179055600380549485018155908190527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600485040180549490911660080290920a97880219909216969091029590951790945550505050565b60008051602061222c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000610f57836001600160a01b038416611cde565b6000610f578383611d2d565b600081815260018301602052604081205480156117585760006116936001836121d8565b85549091506000906116a7906001906121d8565b905080821461170c5760008660000182815481106116c7576116c7612085565b90600052602060002001549050808760000184815481106116ea576116ea612085565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061171d5761171d6121f9565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506104b3565b60009150506104b3565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516117d1919061220f565b600060405180830381855afa9150503d806000811461180c576040519150601f19603f3d011682016040523d82523d6000602084013e611811565b606091505b50915091508115611863576040815110611843578080602001905181019061183991906120df565b9094509250611863565b60208151106118635780806020019051810190611860919061209b565b93505b505094509492505050565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260075460408051631d6c8e3f60e21b8152905186926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa1580156118e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119069190612068565b6001600160401b0316816001600160401b031614806119ac5750600760009054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611973573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119979190612068565b6001600160401b0316816001600160401b0316145b156119d55760405163981bf42160e01b81526001600160401b03861660048201526024016104e8565b6001600160401b03851660009081526020818152604091829020825160a0810184528154815260019091015460ff808216151593830193909352610100810490921615158184015264ffffffffff620100008304811660608301819052600160381b9093041660808201529151638d38cd4b60e01b8152600481019190915290925073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015611a93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab7919061209b565b8015611acb57508160200151151583151514155b15611b0857602082015160405162d1cd9360e51b81526001600160401b0387166004820152841515602482015290151560448201526064016104e8565b828015611b1f57506127106001600160401b038216105b15611b4857604051633119b9df60e21b81526001600160401b03861660048201526024016104e8565b82158015611b6157506127106001600160401b03821610155b15611b8a5760405163094fb39160e01b81526001600160401b03861660048201526024016104e8565b6000611b9585610f9f565b9050611ba081611d57565b600003611bcb576040516321ab17ab60e01b81526001600160401b03871660048201526024016104e8565b60008181526002602090815260409182902054825163bc1b392d60e01b81529251611c6e936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015611c38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5c9190612068565b6001600160401b039081169116141590565b8015611c9457506000818152600260205260409020546001600160401b03878116911614155b15611cd55760008181526002602052604090819020549051631660fb9360e21b81526001600160401b039091166004820152602481018290526044016104e8565b50509392505050565b6000818152600183016020526040812054611d25575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104b3565b5060006104b3565b6000826000018281548110611d4457611d44612085565b9060005260206000200154905092915050565b600060ff8216601f8111156104b357604051632cd44ac360e21b815260040160405180910390fd5b6001600160401b0381168114611d9457600080fd5b50565b600060208284031215611da957600080fd5b8135610f5781611d7f565b600060208284031215611dc657600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112611df457600080fd5b81356001600160401b0380821115611e0e57611e0e611dcd565b604051601f8301601f19908116603f01168101908282118183101715611e3657611e36611dcd565b81604052838152866020858801011115611e4f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215611e8157600080fd5b81356001600160401b03811115611e9757600080fd5b611ea384828501611de3565b949350505050565b80356001600160a01b0381168114611ec257600080fd5b919050565b60008060408385031215611eda57600080fd5b611ee383611eab565b915060208301356001600160401b03811115611efe57600080fd5b611f0a85828601611de3565b9150509250929050565b600060208284031215611f2657600080fd5b610f5782611eab565b60008060408385031215611f4257600080fd5b8235611ee381611d7f565b8015158114611d9457600080fd5b60008060408385031215611f6e57600080fd5b611f7783611eab565b91506020830135611f8781611f4d565b809150509250929050565b60008060408385031215611fa557600080fd5b8235611f7781611d7f565b60008060408385031215611fc357600080fd5b8235611fce81611d7f565b9150611fdc60208401611eab565b90509250929050565b60005b83811015612000578181015183820152602001611fe8565b50506000910152565b6020815260008251806020840152612028816040850160208701611fe5565b601f01601f19169190910160400192915050565b6000806040838503121561204f57600080fd5b823561205a81611d7f565b946020939093013593505050565b60006020828403121561207a57600080fd5b8151610f5781611d7f565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156120ad57600080fd5b8151610f5781611f4d565b6000602082840312156120ca57600080fd5b815164ffffffffff81168114610f5757600080fd5b600080604083850312156120f257600080fd5b82516120fd81611f4d565b602084015190925063ffffffff81168114611f8757600080fd5b80516020808301519190811015612138576000198160200360031b1b821691505b50919050565b6000808585111561214e57600080fd5b8386111561215b57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156121905780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b818103818111156104b357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b60008251612221818460208701611fe5565b919091019291505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122041e9f757cfe5105872ad3c0dba9d63111c3d2a68d739a30165e477d4e6a4da7964736f6c63430008140033",
791
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c806386892313116100c3578063bc62a0a51161007c578063bc62a0a5146103db578063bcfb11b014610410578063bf7e214f14610439578063c6a0017914610459578063d1f856ee1461046c578063d78a83b11461047f57600080fd5b8063868923131461027357806386f0c47b146102865780638fb3603714610381578063af8d729e146103a2578063b428b0b0146103b5578063b7d2b162146103c857600080fd5b80635dfa73db116101155780635dfa73db146102095780635fa8aad414610212578063605aa10a146102275780636270b7c31461023a57806368ed5d2e1461024d5780637a9e5e4b1461026057600080fd5b8063030149741461015d57806337f135d714610183578063384c9a57146101a0578063392f5f64146101c35780633fd85561146101cb5780635511a6f3146101f6575b600080fd5b61017061016b366004611d97565b610492565b6040519081526020015b60405180910390f35b61018b600081565b60405163ffffffff909116815260200161017a565b6101b36101ae366004611d97565b6104b9565b604051901515815260200161017a565b600354610170565b6101de6101d9366004611db4565b610646565b6040516001600160401b03909116815260200161017a565b6101de610204366004611e6f565b61068b565b6101de61271081565b610225610220366004611ec7565b6106ba565b005b6101b3610235366004611f14565b6106d8565b610225610248366004611f2f565b610779565b61022561025b366004611f2f565b610790565b61022561026e366004611f14565b6107a6565b610225610281366004611f5b565b610829565b61032e610294366004611d97565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506001600160401b031660009081526020818152604091829020825160a0810184528154815260019091015460ff808216151593830193909352610100810490921615159281019290925264ffffffffff62010000820481166060840152600160381b90910416608082015290565b60405161017a9190600060a08201905082518252602083015115156020830152604083015115156040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b6103896108fb565b6040516001600160e01b0319909116815260200161017a565b6102256103b0366004611f92565b610934565b6101b36103c3366004611fb0565b610a50565b6101b36103d6366004611fb0565b610c2b565b6104036040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b60405161017a9190612009565b6104036040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b610441610da9565b6040516001600160a01b03909116815260200161017a565b6101b3610467366004611d97565b610dc5565b6101b361047a366004611fb0565b610e25565b61044161048d36600461203c565b610f35565b6001600160401b03811660009081526001602052604081206104b390610f5e565b92915050565b6000336104c583610dc5565b6104f157604051627a416f60e01b81526001600160401b03841660048201526024015b60405180910390fd5b6001600160401b03831660009081526001602052604090206105139082610f68565b1561063d57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610585573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a99190612068565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401600060405180830381600087803b1580156105f957600080fd5b505af115801561060d573d6000803e3d6000fd5b5050506001600160401b0384166000908152600160205260409020610633915082610f8a565b5060019392505050565b50600092915050565b60006003828154811061065b5761065b612085565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b60006002600061069a84610f9f565b81526020810191909152604001600020546001600160401b031692915050565b6106c7335b600036610fdd565b6106d482826001806110db565b5050565b6001600160a01b0381166000908152600460208190526040808320600101549051638d38cd4b60e01b81526201000090910464ffffffffff169181019190915273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024015b602060405180830381865af4158015610755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b3919061209b565b610782336106bf565b6106d48282600060016113b8565b610799336106bf565b6106d482826001806113b8565b336107af610da9565b6001600160a01b0316816001600160a01b0316146107ea5760405162d1953b60e31b81526001600160a01b03821660048201526024016104e8565b816001600160a01b03163b600003610820576040516361798f2f60e11b81526001600160a01b03831660048201526024016104e8565b6106d4826115ed565b610832336106bf565b61083b826106d8565b6108635760405163ba52b0f160e01b81526001600160a01b03831660048201526024016104e8565b6001600160a01b03828116600081815260046020819052604091829020600101805461ff00191661010087151590810291909117909155600754925163167bd39560e01b81529182019390935260248101929092529091169063167bd39590604401600060405180830381600087803b1580156108df57600080fd5b505af11580156108f3573d6000803e3d6000fd5b505050505050565b60008051602061222c833981519152805460009190600160a01b900460ff1661092557600061092e565b638fb3603760e01b5b91505090565b61093d336106bf565b61094682610dc5565b61096e5760405163135c79b760e21b81526001600160401b03831660048201526024016104e8565b6001600160401b03821660009081526020818152604091829020600101805461ff0019166101008515150217905581516356db0c1960e11b8152915173__$d53880c81dc91c20799140d711e5ab8718$__9263adb618329260048083019391928290030181865af41580156109e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0b91906120b8565b6001600160401b039092166000908152602081905260409020600101805464ffffffffff93909316600160381b0264ffffffffff60381b199093169290921790915550565b6000610a5b336106bf565b610a6483610dc5565b610a8c57604051636777365b60e01b81526001600160401b03841660048201526024016104e8565b6001600160401b038316600090815260208190526040902060010154610100900460ff1615610ad95760405163fe229d5d60e01b81526001600160401b03841660048201526024016104e8565b6001600160401b0383166000908152600160205260409020610afb9083610f68565b61063d57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610b6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b909190612068565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038516602482015260006044820152606401600060405180830381600087803b158015610be757600080fd5b505af1158015610bfb573d6000803e3d6000fd5b5050506001600160401b0384166000908152600160205260409020610c2191508361164e565b50600190506104b3565b6000610c36336106bf565b610c3f83610dc5565b610c6757604051634cee277360e11b81526001600160401b03841660048201526024016104e8565b6001600160401b0383166000908152600160205260409020610c899083610f68565b1561063d57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610cfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1f9190612068565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b158015610d6f57600080fd5b505af1158015610d83573d6000803e3d6000fd5b5050506001600160401b0384166000908152600160205260409020610c21915083610f8a565b60008051602061222c833981519152546001600160a01b031690565b6001600160401b038116600090815260208190526040808220600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401610738565b600754604051631517388760e21b81526001600160401b03841660048201526000916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb79190612068565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016040805180830381865afa158015610f09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2d91906120df565b509392505050565b6001600160401b0382166000908152600160205260408120610f579083611663565b9392505050565b60006104b3825490565b6001600160a01b03811660009081526001830160205260408120541515610f57565b6000610f57836001600160a01b03841661166f565b600080829050601f81511115610fca578260405163305a27a960e01b81526004016104e89190612009565b8051610fd582612117565b179392505050565b60008051602061222c833981519152600080611018610ffa610da9565b873061100a600460008a8c61213e565b61101391612168565b611762565b91509150816108f35763ffffffff8116156110b857825460ff60a01b1916600160a01b178355611046610da9565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161107593929190612198565b600060405180830381600087803b15801561108f57600080fd5b505af11580156110a3573d6000803e3d6000fd5b5050845460ff60a01b19168555506108f39050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104e8565b60006040518060a001604052806110f186610f9f565b815284151560208201526007546040805163a166aa8960e01b81526001600160a01b038a81166004830152919093019291169063a166aa8990602401602060405180830381865afa15801561114a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116e919061209b565b1515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e291906120b8565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611237573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125b91906120b8565b64ffffffffff1681525090508060046000876001600160a01b03166001600160a01b031681526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff02191690831515021790555060408201518160010160016101000a81548160ff02191690831515021790555060608201518160010160026101000a81548164ffffffffff021916908364ffffffffff16021790555060808201518160010160076101000a81548164ffffffffff021916908364ffffffffff16021790555090505084600560008360000151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055506006859080600181540180825580915050600190039060005260206000200160009091909190916101000a8154816001600160a01b0302191690836001600160a01b031602179055505050505050565b80156113cb576113c984848461186e565b505b60006040518060a001604052806113e186610f9f565b8152602001841515815260200160001515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611440573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146491906120b8565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156114b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dd91906120b8565b64ffffffffff9081169091526001600160401b03968716600081815260208181526040808320865180825587840151600192830180548a86015160608c01516080909c015161ffff1990921693151561ff001916939093176101009315158402176bffffffffffffffffffff00001916620100009b8b169b909b0264ffffffffff60381b19169a909a17600160381b9a909916999099029790971790975595835260029091528120805467ffffffffffffffff191683179055600380549485018155908190527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600485040180549490911660080290920a97880219909216969091029590951790945550505050565b60008051602061222c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000610f57836001600160a01b038416611cde565b6000610f578383611d2d565b600081815260018301602052604081205480156117585760006116936001836121d8565b85549091506000906116a7906001906121d8565b905080821461170c5760008660000182815481106116c7576116c7612085565b90600052602060002001549050808760000184815481106116ea576116ea612085565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061171d5761171d6121f9565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506104b3565b60009150506104b3565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516117d1919061220f565b600060405180830381855afa9150503d806000811461180c576040519150601f19603f3d011682016040523d82523d6000602084013e611811565b606091505b50915091508115611863576040815110611843578080602001905181019061183991906120df565b9094509250611863565b60208151106118635780806020019051810190611860919061209b565b93505b505094509492505050565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260075460408051631d6c8e3f60e21b8152905186926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa1580156118e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119069190612068565b6001600160401b0316816001600160401b031614806119ac5750600760009054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611973573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119979190612068565b6001600160401b0316816001600160401b0316145b156119d55760405163981bf42160e01b81526001600160401b03861660048201526024016104e8565b6001600160401b03851660009081526020818152604091829020825160a0810184528154815260019091015460ff808216151593830193909352610100810490921615158184015264ffffffffff620100008304811660608301819052600160381b9093041660808201529151638d38cd4b60e01b8152600481019190915290925073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015611a93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab7919061209b565b8015611acb57508160200151151583151514155b15611b0857602082015160405162d1cd9360e51b81526001600160401b0387166004820152841515602482015290151560448201526064016104e8565b828015611b1f57506127106001600160401b038216105b15611b4857604051633119b9df60e21b81526001600160401b03861660048201526024016104e8565b82158015611b6157506127106001600160401b03821610155b15611b8a5760405163094fb39160e01b81526001600160401b03861660048201526024016104e8565b6000611b9585610f9f565b9050611ba081611d57565b600003611bcb576040516321ab17ab60e01b81526001600160401b03871660048201526024016104e8565b60008181526002602090815260409182902054825163bc1b392d60e01b81529251611c6e936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015611c38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5c9190612068565b6001600160401b039081169116141590565b8015611c9457506000818152600260205260409020546001600160401b03878116911614155b15611cd55760008181526002602052604090819020549051631660fb9360e21b81526001600160401b039091166004820152602481018290526044016104e8565b50509392505050565b6000818152600183016020526040812054611d25575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104b3565b5060006104b3565b6000826000018281548110611d4457611d44612085565b9060005260206000200154905092915050565b600060ff8216601f8111156104b357604051632cd44ac360e21b815260040160405180910390fd5b6001600160401b0381168114611d9457600080fd5b50565b600060208284031215611da957600080fd5b8135610f5781611d7f565b600060208284031215611dc657600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112611df457600080fd5b81356001600160401b0380821115611e0e57611e0e611dcd565b604051601f8301601f19908116603f01168101908282118183101715611e3657611e36611dcd565b81604052838152866020858801011115611e4f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215611e8157600080fd5b81356001600160401b03811115611e9757600080fd5b611ea384828501611de3565b949350505050565b80356001600160a01b0381168114611ec257600080fd5b919050565b60008060408385031215611eda57600080fd5b611ee383611eab565b915060208301356001600160401b03811115611efe57600080fd5b611f0a85828601611de3565b9150509250929050565b600060208284031215611f2657600080fd5b610f5782611eab565b60008060408385031215611f4257600080fd5b8235611ee381611d7f565b8015158114611d9457600080fd5b60008060408385031215611f6e57600080fd5b611f7783611eab565b91506020830135611f8781611f4d565b809150509250929050565b60008060408385031215611fa557600080fd5b8235611f7781611d7f565b60008060408385031215611fc357600080fd5b8235611fce81611d7f565b9150611fdc60208401611eab565b90509250929050565b60005b83811015612000578181015183820152602001611fe8565b50506000910152565b6020815260008251806020840152612028816040850160208701611fe5565b601f01601f19169190910160400192915050565b6000806040838503121561204f57600080fd5b823561205a81611d7f565b946020939093013593505050565b60006020828403121561207a57600080fd5b8151610f5781611d7f565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156120ad57600080fd5b8151610f5781611f4d565b6000602082840312156120ca57600080fd5b815164ffffffffff81168114610f5757600080fd5b600080604083850312156120f257600080fd5b82516120fd81611f4d565b602084015190925063ffffffff81168114611f8757600080fd5b80516020808301519190811015612138576000198160200360031b1b821691505b50919050565b6000808585111561214e57600080fd5b8386111561215b57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156121905780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b818103818111156104b357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b60008251612221818460208701611fe5565b919091019291505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122041e9f757cfe5105872ad3c0dba9d63111c3d2a68d739a30165e477d4e6a4da7964736f6c63430008140033",
1142
+ "bytecode": "0x608060405234801561001057600080fd5b50613a6e806100206000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80635bfa50271161013b578063bc62a0a5116100b8578063d05404431161007c578063d0540443146105cf578063d1f856ee146105fa578063d2192dbf1461060d578063eaf09b3714610640578063f2345aea1461065357600080fd5b8063bc62a0a514610550578063bcfb11b014610578578063bf7e214f146105a1578063c4d66de8146105a9578063c6a00179146105bc57600080fd5b80638fb36037116100ff5780638fb36037146104da5780639dfd7b1814610310578063b428b0b0146104fb578063b70096131461050e578063b7d2b1621461053d57600080fd5b80635bfa5027146104785780635dfa73db146104985780635fa8aad4146104a1578063605aa10a146104b45780637a9e5e4b146104c757600080fd5b806330cae187116101c95780633fd855611161018d5780633fd85561146103e057806344ec4c301461040b5780634a3a1e001461041e578063530dd456146104315780635511a6f31461046557600080fd5b806330cae1871461036a5780633656481c1461037d57806337f135d7146103a8578063384c9a57146103c5578063392f5f64146103d857600080fd5b8063131021d911610210578063131021d9146102b05780631bdd0cf8146102ed57806322db471c1461031057806326decd401461032357806329db8c3d1461035757600080fd5b806303014974146102425780630c8ae53e1461026857806312e1ebc51461027d57806312f48f151461029d575b600080fd5b610255610250366004613119565b610666565b6040519081526020015b60405180910390f35b61027b6102763660046131d8565b61068d565b005b61029061028b366004613297565b610788565b60405161025f91906132ec565b61027b6102ab36600461333b565b610846565b6102e060405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b81525081565b60405161025f91906133ae565b6103006102fb366004613119565b61085f565b604051901515815260200161025f565b61027b61031e3660046133ef565b610b7f565b610300610331366004613297565b6001600160a01b0316600090815260056020526040902060010154610100900460ff1690565b61027b6103653660046131d8565b610b92565b61027b610378366004613428565b610c6b565b61039061038b366004613456565b610d67565b6040516001600160a01b03909116815260200161025f565b6103b0600081565b60405163ffffffff909116815260200161025f565b6103006103d3366004613119565b610d92565b600354610255565b6103f36103ee36600461348a565b610e18565b6040516001600160401b03909116815260200161025f565b61027b61041936600461333b565b610e5d565b61027b61042c3660046134a3565b610f08565b6103f361043f366004613119565b6001600160401b0390811660009081526020819052604090206001015461010090041690565b6103f3610473366004613456565b610f1d565b61048b610486366004613119565b610f4c565b60405161025f91906134c1565b6103f361271081565b61027b6104af36600461333b565b611012565b6103006104c2366004613297565b611027565b61027b6104d5366004613297565b6110c4565b6104e2611147565b6040516001600160e01b0319909116815260200161025f565b610300610509366004613517565b611180565b61052161051c36600461355d565b61142f565b60408051921515835263ffffffff90911660208301520161025f565b61030061054b366004613517565b6114b4565b6102e06040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6102e06040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b610390611612565b61027b6105b7366004613297565b61162e565b6103006105ca366004613119565b61198b565b6102e06040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b81525081565b610300610608366004613517565b6119ec565b61062061061b3660046135a4565b611ae4565b604080516001600160401b0393841681529290911660208301520161025f565b61039061064e3660046135fd565b611b32565b61027b610661366004613629565b611b5b565b6001600160401b038116600090815260016020526040812061068790611b7f565b92915050565b61069a335b600036611b89565b60006106a585611c87565b6000818152600660205260409020549091506001600160a01b031660036001600160a01b03821660009081526005602052604090206001015460ff1660038111156106f2576106f26132b4565b0361071e5780600360405163ecec011f60e01b815260040161071592919061368c565b60405180910390fd5b60036001600160401b03841660009081526020819052604090206001015460ff166003811115610750576107506132b4565b0361077357826003604051630bb1a0c760e01b81526004016107159291906136a9565b6107808183878787611cc5565b505050505050565b6040805160a080820183526000808352602080840182905283850182905260608401829052608084018290526001600160a01b038616825260058152908490208451928301909452835482526001840154929391929083019060ff1660038111156107f5576107f56132b4565b6003811115610806576108066132b4565b81526001919091015460ff6101008204161515602083015264ffffffffff62010000820481166040840152600160381b9091041660609091015292915050565b61084f33610692565b61085b82826001611d98565b5050565b600081600061088e826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015610901573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092591906136c6565b336040518363ffffffff1660e01b81526004016109439291906136e3565b6040805180830381865afa15801561095f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109839190613705565b915091508063ffffffff1660001461099d5761099d61373d565b816109d857335b6040516366c7cee960e01b81526001600160a01b0390911660048201526001600160401b0385166024820152604401610715565b6109e18661198b565b610a095760405163f5edec3f60e01b81526001600160401b0387166004820152602401610715565b6001600160401b0386166000908152600160205260408120610a2a90611b7f565b905060005b81811015610b74576001600160401b0388166000908152600160205260408120610a5990836121dc565b6001600160401b038a166000908152600160205260409020909150610a7e90826121e8565b50600854604051631517388760e21b81526001600160401b038b1660048201526001600160a01b039091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015610aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1091906136c6565b836040518363ffffffff1660e01b8152600401610b2e9291906136e3565b600060405180830381600087803b158015610b4857600080fd5b505af1158015610b5c573d6000803e3d6000fd5b50505050508080610b6c90613769565b915050610a2f565b505050505050919050565b610b8833610692565b61085b82826121fd565b610b9b33610692565b6000610ba685611c87565b6000818152600660205260409020549091506001600160a01b031660016001600160a01b03821660009081526005602052604090206001015460ff166003811115610bf357610bf36132b4565b03610c165780600160405163ecec011f60e01b815260040161071592919061368c565b60016001600160401b03841660009081526020819052604090206001015460ff166003811115610c4857610c486132b4565b0361077357826001604051630bb1a0c760e01b81526004016107159291906136a9565b610c7433610692565b610c7d8261198b565b610ca55760405163f5edec3f60e01b81526001600160401b0383166004820152602401610715565b60016001600160401b03831660009081526020819052604090206001015460ff166003811115610cd757610cd76132b4565b03610cfa57816001604051630bb1a0c760e01b81526004016107159291906136a9565b610d038161198b565b610d2b5760405163f5edec3f60e01b81526001600160401b0382166004820152602401610715565b6001600160401b0391821660009081526020819052604090206001018054929091166101000268ffffffffffffffff0019909216919091179055565b600080610d7383611c87565b6000908152600660205260409020546001600160a01b03169392505050565b6001600160401b038116600090815260208190526040812060019081015460ff1690816003811115610dc657610dc66132b4565b1480610de357506002816003811115610de157610de16132b4565b145b15610e05578281604051630bb1a0c760e01b81526004016107159291906136a9565b33610e10848261232e565b949350505050565b600060038281548110610e2d57610e2d613782565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b610e6633610692565b60095460405163c3c5a54760e01b81526001600160a01b0384811660048301529091169063c3c5a54790602401602060405180830381865afa158015610eb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed49190613798565b610efc576040516306ad3ea560e51b81526001600160a01b0383166004820152602401610715565b61085b82826002611d98565b610f1133610692565b61085b82826001612468565b600060026000610f2c84611c87565b81526020810191909152604001600020546001600160401b031692915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526001600160401b03821660009081526020818152604091829020825160a08101909352805483526001810154909183019060ff166003811115610fbc57610fbc6132b4565b6003811115610fcd57610fcd6132b4565b8152600191909101546001600160401b03610100820416602083015264ffffffffff600160481b820481166040840152600160701b9091041660609091015292915050565b61101b33610692565b61085b82826003611d98565b6001600160a01b038116600090815260056020526040808220600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af41580156110a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106879190613798565b336110cd611612565b6001600160a01b0316816001600160a01b0316146111085760405162d1953b60e31b81526001600160a01b0382166004820152602401610715565b816001600160a01b03163b60000361113e576040516361798f2f60e11b81526001600160a01b0383166004820152602401610715565b61085b82612829565b600080516020613a19833981519152805460009190600160a01b900460ff1661117157600061117a565b638fb3603760e01b5b91505090565b60008260006111af826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611222573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124691906136c6565b336040518363ffffffff1660e01b81526004016112649291906136e3565b6040805180830381865afa158015611280573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a49190613705565b915091508063ffffffff166000146112be576112be61373d565b816112c957336109a4565b6112d28761198b565b6112fa5760405163f5edec3f60e01b81526001600160401b0388166004820152602401610715565b6001600160401b038716600090815260016020526040902061131c908761288a565b9450841561142557600854604051631517388760e21b81526001600160401b03891660048201526001600160a01b03909116906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611391573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b591906136c6565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b15801561140c57600080fd5b505af1158015611420573d6000803e3d6000fd5b505050505b5050505092915050565b60085460405163b700961360e01b815260009182916001600160a01b039091169063b700961390611468908890889088906004016137b5565b6040805180830381865afa158015611484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a89190613705565b91509150935093915050565b60008260006114e3826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157a91906136c6565b336040518363ffffffff1660e01b81526004016115989291906136e3565b6040805180830381865afa1580156115b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d89190613705565b915091508063ffffffff166000146115f2576115f261373d565b816115fd57336109a4565b611607878761232e565b979650505050505050565b600080516020613a19833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156116735750825b90506000826001600160401b0316600114801561168f5750303b155b90508115801561169d575080155b156116bb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156116e557845460ff60401b1916600160401b1785555b60008690506000816001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801561172a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174e91906137e2565b90506000826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b491906137e2565b90506117bf8161289f565b600880546001600160a01b038084166001600160a01b03199283161790925560098054928516929091169190911790556004805467ffffffffffffffff191661271017905561183861180f6128b3565b6040518060400160405280600981526020016841646d696e526f6c6560b81b8152506001612468565b61186d611843612930565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b8152506001612468565b6118a4611878612971565b6040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b8152506001612468565b6118e06118af6129ad565b60405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b8152506002612468565b611915600160006118ef6128b3565b6001600160401b03166001600160401b031681526020019081526020016000203061288a565b50611927611921612971565b8a611180565b5061193b6119336129ad565b610378612971565b505050831561078057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b6001600160401b038116600090815260208190526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401611083565b600854604051631517388760e21b81526001600160401b03841660048201526000916001600160a01b03169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611a5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7e91906136c6565b846040518363ffffffff1660e01b8152600401611a9c9291906136e3565b6040805180830381865afa158015611ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611adc9190613705565b509392505050565b600080611af033610692565b611af86129e9565b9092509050611b0982856003612468565b611b1581846003612468565b611b1f8282610c6b565b611b2b816103786129ad565b9250929050565b6001600160401b0382166000908152600160205260408120611b5490836121dc565b9392505050565b611b6433610692565b611b7083836002612468565b611b7a8382610c6b565b505050565b6000610687825490565b600080516020613a19833981519152600080611bc4611ba6611612565b8730611bb6600460008a8c6137ff565b611bbf91613829565b612b2b565b91509150816107805763ffffffff811615611c6457825460ff60a01b1916600160a01b178355611bf2611612565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c2193929190613859565b600060405180830381600087803b158015611c3b57600080fd5b505af1158015611c4f573d6000803e3d6000fd5b5050845460ff60a01b19168555506107809050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610715565b600080829050601f81511115611cb2578260405163305a27a960e01b815260040161071591906133ae565b8051611cbd82613899565b179392505050565b6001600160a01b038516611cf75760405163b8c1f4e560e01b81526001600160a01b0386166004820152602401610715565b611d008161198b565b611d285760405163f5edec3f60e01b81526001600160401b0382166004820152602401610715565b6008546040516308d6122d60e01b815282916001600160a01b0316906308d6122d90611d5e9089908890889087906004016138c0565b600060405180830381600087803b158015611d7857600080fd5b505af1158015611d8c573d6000803e3d6000fd5b50505050505050505050565b6000611da383611c87565b9050611db0848284612c22565b6001600160a01b03841660009081526005602052604090819020600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4d9190613798565b15611e8e576001600160a01b03841660008181526005602052604090819020549051632969db5760e11b815260048101929092526024820152604401610715565b6000818152600660205260409020546001600160a01b031615611eef57600081815260066020526040908190205490516361c0558f60e01b81526001600160a01b038087166004830152909116602482015260448101829052606401610715565b60085460405163a166aa8960e01b81526001600160a01b038681166004830152600092169063a166aa8990602401602060405180830381865afa158015611f3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5e9190613798565b90506040518060a00160405280838152602001846003811115611f8357611f836132b4565b8152602001821515815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611fd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffd9190613933565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612052573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120769190613933565b64ffffffffff1690526001600160a01b0386166000908152600560209081526040909120825181559082015160018083018054909160ff19909116908360038111156120c4576120c46132b4565b021790555060408281015160019283018054606086015160809096015166ffffffffffff00199091166101009315159390930266ffffffffff00001916929092176201000064ffffffffff96871602176bffffffffff000000000000001916600160381b9590921694909402179092556000848152600660205282812080546001600160a01b03199081166001600160a01b038b169081179092556007805494850181559092527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68890920180549091169091179055517f1b6c9e4eef57701705db39664c8777cd8c15bb0f52556130a44b55e30cd501e8906121cd90879085908790869061395a565b60405180910390a15050505050565b6000611b548383612d0e565b6000611b54836001600160a01b038416612d38565b6001600160a01b03821660008181526005602052604090206001015460ff1690158061223a57506000816003811115612238576122386132b4565b145b156122635760405163b8c1f4e560e01b81526001600160a01b0384166004820152602401610715565b6001816003811115612277576122776132b4565b0361229957828160405163ecec011f60e01b815260040161071592919061368c565b6001600160a01b0383811660008181526005602052604090819020600101805461ff00191661010087151590810291909117909155600854915163167bd39560e01b8152600481019390935260248301529091169063167bd39590604401600060405180830381600087803b15801561231157600080fd5b505af1158015612325573d6000803e3d6000fd5b50505050505050565b60006123398361198b565b6123615760405163f5edec3f60e01b81526001600160401b0384166004820152602401610715565b6001600160401b038316600090815260016020526040902061238390836121e8565b9050801561068757600854604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156123f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061241c91906136c6565b846040518363ffffffff1660e01b815260040161243a9291906136e3565b600060405180830381600087803b15801561245457600080fd5b505af1158015611425573d6000803e3d6000fd5b600061247383611c87565b9050612480848284612e32565b6124898461198b565b156124b2576040516330907ba960e01b81526001600160401b0385166004820152602401610715565b6000818152600260205260409081902054905163a42e52e960e01b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af415801561251b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253f9190613798565b15612588576000818152600260205260409081902054905163af48012f60e01b81526001600160401b038087166004830152909116602482015260448101829052606401610715565b6040518060a001604052808281526020018360038111156125ab576125ab6132b4565b81526020016125b86128b3565b6001600160401b0316815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561260f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126339190613933565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ac9190613933565b64ffffffffff1690526001600160401b038516600090815260208181526040909120825181559082015160018083018054909160ff19909116908360038111156126f8576126f86132b4565b02179055506040828101516001928301805460608601516080909601516dffffffffffffffffffffffffff00199091166101006001600160401b0394851681026dffffffffff000000000000000000191691909117600160481b64ffffffffff988916021764ffffffffff60701b1916600160701b979092169690960217905560008581526002602052828120805467ffffffffffffffff19168a8416908117909155600380549586018155918290527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600486040180549590921660080290950a918202199093169302929092179055517f946b8e9c3ff1c1ed025292a56da516b43a836f1a9f35bc2ee6de53d879d6d6b09061281b9086908490869061398f565b60405180910390a150505050565b600080516020613a1983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000611b54836001600160a01b038416613021565b6128a7613070565b6128b0816130bb565b50565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015612907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292b91906136c6565b905090565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024016128ea565b6040516368aebf7b60e01b8152610a28600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024016128ea565b6040516368aebf7b60e01b815261076c600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024016128ea565b60045460009081906001600160401b031681612a068260016139b3565b9050612a138260026139b3565b6004805467ffffffffffffffff19166001600160401b039283161781556040516368aebf7b60e01b81529184169082015273__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612a80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aa491906136c6565b6040516368aebf7b60e01b81526001600160401b038316600482015290945073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b2391906136c6565b925050509091565b600080600080876001600160a01b0316878787604051602401612b50939291906137b5565b60408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612b8591906139d3565b600060405180830381855afa9150503d8060008114612bc0576040519150601f19603f3d011682016040523d82523d6000602084013e612bc5565b606091505b50915091508115612c17576040815110612bf75780806020019051810190612bed9190613705565b9094509250612c17565b6020815110612c175780806020019051810190612c149190613798565b93505b505094509492505050565b6000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c8691906137e2565b9050612c90611612565b6001600160a01b0316816001600160a01b031614612cd457604051631db0625160e01b81526001600160a01b03808616600483015282166024820152604401610715565b612cdd836130cc565b600003612d085760405163a12ddedf60e01b81526001600160a01b0385166004820152602401610715565b50505050565b6000826000018281548110612d2557612d25613782565b9060005260206000200154905092915050565b60008181526001830160205260408120548015612e21576000612d5c6001836139ef565b8554909150600090612d70906001906139ef565b9050808214612dd5576000866000018281548110612d9057612d90613782565b9060005260206000200154905080876000018481548110612db357612db3613782565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612de657612de6613a02565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610687565b6000915050610687565b5092915050565b604051631517388760e21b81526001600160401b038416600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612e8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eb191906136c6565b6001600160401b031690506003826003811115612ed057612ed06132b4565b148015612ede575061271081105b15612f075760405163be511cc160e01b81526001600160401b0385166004820152602401610715565b6003826003811115612f1b57612f1b6132b4565b14158015612f2b57506127108110155b8015612fc45750612f3a612930565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fb791906136c6565b6001600160401b03168114155b15612fed57604051630e08ff2d60e11b81526001600160401b0385166004820152602401610715565b612ff6836130cc565b600003612d0857604051631367e80d60e31b81526001600160401b0385166004820152602401610715565b600081815260018301602052604081205461306857508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610687565b506000610687565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166130b957604051631afcd79f60e31b815260040160405180910390fd5b565b6130c3613070565b6128b081612829565b600060ff8216601f81111561068757604051632cd44ac360e21b815260040160405180910390fd5b6001600160401b03811681146128b057600080fd5b8035613114816130f4565b919050565b60006020828403121561312b57600080fd5b8135611b54816130f4565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261315d57600080fd5b81356001600160401b038082111561317757613177613136565b604051601f8301601f19908116603f0116810190828211818310171561319f5761319f613136565b816040528381528660208588010111156131b857600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080606085870312156131ee57600080fd5b84356001600160401b038082111561320557600080fd5b6132118883890161314c565b9550602087013591508082111561322757600080fd5b818701915087601f83011261323b57600080fd5b81358181111561324a57600080fd5b8860208260051b850101111561325f57600080fd5b60208301955080945050505061327760408601613109565b905092959194509250565b6001600160a01b03811681146128b057600080fd5b6000602082840312156132a957600080fd5b8135611b5481613282565b634e487b7160e01b600052602160045260246000fd5b600481106132e857634e487b7160e01b600052602160045260246000fd5b9052565b8151815260208083015160a0830191613307908401826132ca565b50604083015115156040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b6000806040838503121561334e57600080fd5b823561335981613282565b915060208301356001600160401b0381111561337457600080fd5b6133808582860161314c565b9150509250929050565b60005b838110156133a557818101518382015260200161338d565b50506000910152565b60208152600082518060208401526133cd81604085016020870161338a565b601f01601f19169190910160400192915050565b80151581146128b057600080fd5b6000806040838503121561340257600080fd5b823561340d81613282565b9150602083013561341d816133e1565b809150509250929050565b6000806040838503121561343b57600080fd5b8235613446816130f4565b9150602083013561341d816130f4565b60006020828403121561346857600080fd5b81356001600160401b0381111561347e57600080fd5b610e108482850161314c565b60006020828403121561349c57600080fd5b5035919050565b600080604083850312156134b657600080fd5b8235613359816130f4565b8151815260208083015160a08301916134dc908401826132ca565b506001600160401b036040840151166040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b6000806040838503121561352a57600080fd5b8235613535816130f4565b9150602083013561341d81613282565b80356001600160e01b03198116811461311457600080fd5b60008060006060848603121561357257600080fd5b833561357d81613282565b9250602084013561358d81613282565b915061359b60408501613545565b90509250925092565b600080604083850312156135b757600080fd5b82356001600160401b03808211156135ce57600080fd5b6135da8683870161314c565b935060208501359150808211156135f057600080fd5b506133808582860161314c565b6000806040838503121561361057600080fd5b823561361b816130f4565b946020939093013593505050565b60008060006060848603121561363e57600080fd5b8335613649816130f4565b925060208401356001600160401b0381111561366457600080fd5b6136708682870161314c565b9250506040840135613681816130f4565b809150509250925092565b6001600160a01b038316815260408101611b5460208301846132ca565b6001600160401b038316815260408101611b5460208301846132ca565b6000602082840312156136d857600080fd5b8151611b54816130f4565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6000806040838503121561371857600080fd5b8251613723816133e1565b602084015190925063ffffffff8116811461341d57600080fd5b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161377b5761377b613753565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156137aa57600080fd5b8151611b54816133e1565b6001600160a01b0393841681529190921660208201526001600160e01b0319909116604082015260600190565b6000602082840312156137f457600080fd5b8151611b5481613282565b6000808585111561380f57600080fd5b8386111561381c57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156138515780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b805160208083015191908110156138ba576000198160200360031b1b821691505b50919050565b6001600160a01b038516815260606020808301829052908201849052600090859060808401835b87811015613914576001600160e01b031961390185613545565b16825292820192908201906001016138e7565b508093505050506001600160401b038316604083015295945050505050565b60006020828403121561394557600080fd5b815164ffffffffff81168114611b5457600080fd5b6001600160a01b0385168152602081018490526080810161397e60408301856132ca565b821515606083015295945050505050565b6001600160401b03841681526020810183905260608101610e1060408301846132ca565b6001600160401b03818116838216019080821115612e2b57612e2b613753565b600082516139e581846020870161338a565b9190910192915050565b8181038181111561068757610687613753565b634e487b7160e01b600052603160045260246000fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212204de9a1d3efe9918609305462821f403bafb1ff6f398c2d967900e8e9beb3eef364736f6c63430008140033",
1143
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061023d5760003560e01c80635bfa50271161013b578063bc62a0a5116100b8578063d05404431161007c578063d0540443146105cf578063d1f856ee146105fa578063d2192dbf1461060d578063eaf09b3714610640578063f2345aea1461065357600080fd5b8063bc62a0a514610550578063bcfb11b014610578578063bf7e214f146105a1578063c4d66de8146105a9578063c6a00179146105bc57600080fd5b80638fb36037116100ff5780638fb36037146104da5780639dfd7b1814610310578063b428b0b0146104fb578063b70096131461050e578063b7d2b1621461053d57600080fd5b80635bfa5027146104785780635dfa73db146104985780635fa8aad4146104a1578063605aa10a146104b45780637a9e5e4b146104c757600080fd5b806330cae187116101c95780633fd855611161018d5780633fd85561146103e057806344ec4c301461040b5780634a3a1e001461041e578063530dd456146104315780635511a6f31461046557600080fd5b806330cae1871461036a5780633656481c1461037d57806337f135d7146103a8578063384c9a57146103c5578063392f5f64146103d857600080fd5b8063131021d911610210578063131021d9146102b05780631bdd0cf8146102ed57806322db471c1461031057806326decd401461032357806329db8c3d1461035757600080fd5b806303014974146102425780630c8ae53e1461026857806312e1ebc51461027d57806312f48f151461029d575b600080fd5b610255610250366004613119565b610666565b6040519081526020015b60405180910390f35b61027b6102763660046131d8565b61068d565b005b61029061028b366004613297565b610788565b60405161025f91906132ec565b61027b6102ab36600461333b565b610846565b6102e060405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b81525081565b60405161025f91906133ae565b6103006102fb366004613119565b61085f565b604051901515815260200161025f565b61027b61031e3660046133ef565b610b7f565b610300610331366004613297565b6001600160a01b0316600090815260056020526040902060010154610100900460ff1690565b61027b6103653660046131d8565b610b92565b61027b610378366004613428565b610c6b565b61039061038b366004613456565b610d67565b6040516001600160a01b03909116815260200161025f565b6103b0600081565b60405163ffffffff909116815260200161025f565b6103006103d3366004613119565b610d92565b600354610255565b6103f36103ee36600461348a565b610e18565b6040516001600160401b03909116815260200161025f565b61027b61041936600461333b565b610e5d565b61027b61042c3660046134a3565b610f08565b6103f361043f366004613119565b6001600160401b0390811660009081526020819052604090206001015461010090041690565b6103f3610473366004613456565b610f1d565b61048b610486366004613119565b610f4c565b60405161025f91906134c1565b6103f361271081565b61027b6104af36600461333b565b611012565b6103006104c2366004613297565b611027565b61027b6104d5366004613297565b6110c4565b6104e2611147565b6040516001600160e01b0319909116815260200161025f565b610300610509366004613517565b611180565b61052161051c36600461355d565b61142f565b60408051921515835263ffffffff90911660208301520161025f565b61030061054b366004613517565b6114b4565b6102e06040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6102e06040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b610390611612565b61027b6105b7366004613297565b61162e565b6103006105ca366004613119565b61198b565b6102e06040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b81525081565b610300610608366004613517565b6119ec565b61062061061b3660046135a4565b611ae4565b604080516001600160401b0393841681529290911660208301520161025f565b61039061064e3660046135fd565b611b32565b61027b610661366004613629565b611b5b565b6001600160401b038116600090815260016020526040812061068790611b7f565b92915050565b61069a335b600036611b89565b60006106a585611c87565b6000818152600660205260409020549091506001600160a01b031660036001600160a01b03821660009081526005602052604090206001015460ff1660038111156106f2576106f26132b4565b0361071e5780600360405163ecec011f60e01b815260040161071592919061368c565b60405180910390fd5b60036001600160401b03841660009081526020819052604090206001015460ff166003811115610750576107506132b4565b0361077357826003604051630bb1a0c760e01b81526004016107159291906136a9565b6107808183878787611cc5565b505050505050565b6040805160a080820183526000808352602080840182905283850182905260608401829052608084018290526001600160a01b038616825260058152908490208451928301909452835482526001840154929391929083019060ff1660038111156107f5576107f56132b4565b6003811115610806576108066132b4565b81526001919091015460ff6101008204161515602083015264ffffffffff62010000820481166040840152600160381b9091041660609091015292915050565b61084f33610692565b61085b82826001611d98565b5050565b600081600061088e826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015610901573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092591906136c6565b336040518363ffffffff1660e01b81526004016109439291906136e3565b6040805180830381865afa15801561095f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109839190613705565b915091508063ffffffff1660001461099d5761099d61373d565b816109d857335b6040516366c7cee960e01b81526001600160a01b0390911660048201526001600160401b0385166024820152604401610715565b6109e18661198b565b610a095760405163f5edec3f60e01b81526001600160401b0387166004820152602401610715565b6001600160401b0386166000908152600160205260408120610a2a90611b7f565b905060005b81811015610b74576001600160401b0388166000908152600160205260408120610a5990836121dc565b6001600160401b038a166000908152600160205260409020909150610a7e90826121e8565b50600854604051631517388760e21b81526001600160401b038b1660048201526001600160a01b039091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015610aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1091906136c6565b836040518363ffffffff1660e01b8152600401610b2e9291906136e3565b600060405180830381600087803b158015610b4857600080fd5b505af1158015610b5c573d6000803e3d6000fd5b50505050508080610b6c90613769565b915050610a2f565b505050505050919050565b610b8833610692565b61085b82826121fd565b610b9b33610692565b6000610ba685611c87565b6000818152600660205260409020549091506001600160a01b031660016001600160a01b03821660009081526005602052604090206001015460ff166003811115610bf357610bf36132b4565b03610c165780600160405163ecec011f60e01b815260040161071592919061368c565b60016001600160401b03841660009081526020819052604090206001015460ff166003811115610c4857610c486132b4565b0361077357826001604051630bb1a0c760e01b81526004016107159291906136a9565b610c7433610692565b610c7d8261198b565b610ca55760405163f5edec3f60e01b81526001600160401b0383166004820152602401610715565b60016001600160401b03831660009081526020819052604090206001015460ff166003811115610cd757610cd76132b4565b03610cfa57816001604051630bb1a0c760e01b81526004016107159291906136a9565b610d038161198b565b610d2b5760405163f5edec3f60e01b81526001600160401b0382166004820152602401610715565b6001600160401b0391821660009081526020819052604090206001018054929091166101000268ffffffffffffffff0019909216919091179055565b600080610d7383611c87565b6000908152600660205260409020546001600160a01b03169392505050565b6001600160401b038116600090815260208190526040812060019081015460ff1690816003811115610dc657610dc66132b4565b1480610de357506002816003811115610de157610de16132b4565b145b15610e05578281604051630bb1a0c760e01b81526004016107159291906136a9565b33610e10848261232e565b949350505050565b600060038281548110610e2d57610e2d613782565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b610e6633610692565b60095460405163c3c5a54760e01b81526001600160a01b0384811660048301529091169063c3c5a54790602401602060405180830381865afa158015610eb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed49190613798565b610efc576040516306ad3ea560e51b81526001600160a01b0383166004820152602401610715565b61085b82826002611d98565b610f1133610692565b61085b82826001612468565b600060026000610f2c84611c87565b81526020810191909152604001600020546001600160401b031692915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526001600160401b03821660009081526020818152604091829020825160a08101909352805483526001810154909183019060ff166003811115610fbc57610fbc6132b4565b6003811115610fcd57610fcd6132b4565b8152600191909101546001600160401b03610100820416602083015264ffffffffff600160481b820481166040840152600160701b9091041660609091015292915050565b61101b33610692565b61085b82826003611d98565b6001600160a01b038116600090815260056020526040808220600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af41580156110a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106879190613798565b336110cd611612565b6001600160a01b0316816001600160a01b0316146111085760405162d1953b60e31b81526001600160a01b0382166004820152602401610715565b816001600160a01b03163b60000361113e576040516361798f2f60e11b81526001600160a01b0383166004820152602401610715565b61085b82612829565b600080516020613a19833981519152805460009190600160a01b900460ff1661117157600061117a565b638fb3603760e01b5b91505090565b60008260006111af826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611222573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124691906136c6565b336040518363ffffffff1660e01b81526004016112649291906136e3565b6040805180830381865afa158015611280573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a49190613705565b915091508063ffffffff166000146112be576112be61373d565b816112c957336109a4565b6112d28761198b565b6112fa5760405163f5edec3f60e01b81526001600160401b0388166004820152602401610715565b6001600160401b038716600090815260016020526040902061131c908761288a565b9450841561142557600854604051631517388760e21b81526001600160401b03891660048201526001600160a01b03909116906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611391573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b591906136c6565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b15801561140c57600080fd5b505af1158015611420573d6000803e3d6000fd5b505050505b5050505092915050565b60085460405163b700961360e01b815260009182916001600160a01b039091169063b700961390611468908890889088906004016137b5565b6040805180830381865afa158015611484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a89190613705565b91509150935093915050565b60008260006114e3826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157a91906136c6565b336040518363ffffffff1660e01b81526004016115989291906136e3565b6040805180830381865afa1580156115b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d89190613705565b915091508063ffffffff166000146115f2576115f261373d565b816115fd57336109a4565b611607878761232e565b979650505050505050565b600080516020613a19833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156116735750825b90506000826001600160401b0316600114801561168f5750303b155b90508115801561169d575080155b156116bb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156116e557845460ff60401b1916600160401b1785555b60008690506000816001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801561172a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174e91906137e2565b90506000826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b491906137e2565b90506117bf8161289f565b600880546001600160a01b038084166001600160a01b03199283161790925560098054928516929091169190911790556004805467ffffffffffffffff191661271017905561183861180f6128b3565b6040518060400160405280600981526020016841646d696e526f6c6560b81b8152506001612468565b61186d611843612930565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b8152506001612468565b6118a4611878612971565b6040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b8152506001612468565b6118e06118af6129ad565b60405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b8152506002612468565b611915600160006118ef6128b3565b6001600160401b03166001600160401b031681526020019081526020016000203061288a565b50611927611921612971565b8a611180565b5061193b6119336129ad565b610378612971565b505050831561078057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b6001600160401b038116600090815260208190526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401611083565b600854604051631517388760e21b81526001600160401b03841660048201526000916001600160a01b03169063d1f856ee9073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611a5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7e91906136c6565b846040518363ffffffff1660e01b8152600401611a9c9291906136e3565b6040805180830381865afa158015611ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611adc9190613705565b509392505050565b600080611af033610692565b611af86129e9565b9092509050611b0982856003612468565b611b1581846003612468565b611b1f8282610c6b565b611b2b816103786129ad565b9250929050565b6001600160401b0382166000908152600160205260408120611b5490836121dc565b9392505050565b611b6433610692565b611b7083836002612468565b611b7a8382610c6b565b505050565b6000610687825490565b600080516020613a19833981519152600080611bc4611ba6611612565b8730611bb6600460008a8c6137ff565b611bbf91613829565b612b2b565b91509150816107805763ffffffff811615611c6457825460ff60a01b1916600160a01b178355611bf2611612565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c2193929190613859565b600060405180830381600087803b158015611c3b57600080fd5b505af1158015611c4f573d6000803e3d6000fd5b5050845460ff60a01b19168555506107809050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610715565b600080829050601f81511115611cb2578260405163305a27a960e01b815260040161071591906133ae565b8051611cbd82613899565b179392505050565b6001600160a01b038516611cf75760405163b8c1f4e560e01b81526001600160a01b0386166004820152602401610715565b611d008161198b565b611d285760405163f5edec3f60e01b81526001600160401b0382166004820152602401610715565b6008546040516308d6122d60e01b815282916001600160a01b0316906308d6122d90611d5e9089908890889087906004016138c0565b600060405180830381600087803b158015611d7857600080fd5b505af1158015611d8c573d6000803e3d6000fd5b50505050505050505050565b6000611da383611c87565b9050611db0848284612c22565b6001600160a01b03841660009081526005602052604090819020600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e4d9190613798565b15611e8e576001600160a01b03841660008181526005602052604090819020549051632969db5760e11b815260048101929092526024820152604401610715565b6000818152600660205260409020546001600160a01b031615611eef57600081815260066020526040908190205490516361c0558f60e01b81526001600160a01b038087166004830152909116602482015260448101829052606401610715565b60085460405163a166aa8960e01b81526001600160a01b038681166004830152600092169063a166aa8990602401602060405180830381865afa158015611f3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5e9190613798565b90506040518060a00160405280838152602001846003811115611f8357611f836132b4565b8152602001821515815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611fd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffd9190613933565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612052573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120769190613933565b64ffffffffff1690526001600160a01b0386166000908152600560209081526040909120825181559082015160018083018054909160ff19909116908360038111156120c4576120c46132b4565b021790555060408281015160019283018054606086015160809096015166ffffffffffff00199091166101009315159390930266ffffffffff00001916929092176201000064ffffffffff96871602176bffffffffff000000000000001916600160381b9590921694909402179092556000848152600660205282812080546001600160a01b03199081166001600160a01b038b169081179092556007805494850181559092527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68890920180549091169091179055517f1b6c9e4eef57701705db39664c8777cd8c15bb0f52556130a44b55e30cd501e8906121cd90879085908790869061395a565b60405180910390a15050505050565b6000611b548383612d0e565b6000611b54836001600160a01b038416612d38565b6001600160a01b03821660008181526005602052604090206001015460ff1690158061223a57506000816003811115612238576122386132b4565b145b156122635760405163b8c1f4e560e01b81526001600160a01b0384166004820152602401610715565b6001816003811115612277576122776132b4565b0361229957828160405163ecec011f60e01b815260040161071592919061368c565b6001600160a01b0383811660008181526005602052604090819020600101805461ff00191661010087151590810291909117909155600854915163167bd39560e01b8152600481019390935260248301529091169063167bd39590604401600060405180830381600087803b15801561231157600080fd5b505af1158015612325573d6000803e3d6000fd5b50505050505050565b60006123398361198b565b6123615760405163f5edec3f60e01b81526001600160401b0384166004820152602401610715565b6001600160401b038316600090815260016020526040902061238390836121e8565b9050801561068757600854604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156123f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061241c91906136c6565b846040518363ffffffff1660e01b815260040161243a9291906136e3565b600060405180830381600087803b15801561245457600080fd5b505af1158015611425573d6000803e3d6000fd5b600061247383611c87565b9050612480848284612e32565b6124898461198b565b156124b2576040516330907ba960e01b81526001600160401b0385166004820152602401610715565b6000818152600260205260409081902054905163a42e52e960e01b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af415801561251b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253f9190613798565b15612588576000818152600260205260409081902054905163af48012f60e01b81526001600160401b038087166004830152909116602482015260448101829052606401610715565b6040518060a001604052808281526020018360038111156125ab576125ab6132b4565b81526020016125b86128b3565b6001600160401b0316815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561260f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126339190613933565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ac9190613933565b64ffffffffff1690526001600160401b038516600090815260208181526040909120825181559082015160018083018054909160ff19909116908360038111156126f8576126f86132b4565b02179055506040828101516001928301805460608601516080909601516dffffffffffffffffffffffffff00199091166101006001600160401b0394851681026dffffffffff000000000000000000191691909117600160481b64ffffffffff988916021764ffffffffff60701b1916600160701b979092169690960217905560008581526002602052828120805467ffffffffffffffff19168a8416908117909155600380549586018155918290527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600486040180549590921660080290950a918202199093169302929092179055517f946b8e9c3ff1c1ed025292a56da516b43a836f1a9f35bc2ee6de53d879d6d6b09061281b9086908490869061398f565b60405180910390a150505050565b600080516020613a1983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000611b54836001600160a01b038416613021565b6128a7613070565b6128b0816130bb565b50565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015612907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292b91906136c6565b905090565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024016128ea565b6040516368aebf7b60e01b8152610a28600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024016128ea565b6040516368aebf7b60e01b815261076c600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024016128ea565b60045460009081906001600160401b031681612a068260016139b3565b9050612a138260026139b3565b6004805467ffffffffffffffff19166001600160401b039283161781556040516368aebf7b60e01b81529184169082015273__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612a80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aa491906136c6565b6040516368aebf7b60e01b81526001600160401b038316600482015290945073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b2391906136c6565b925050509091565b600080600080876001600160a01b0316878787604051602401612b50939291906137b5565b60408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612b8591906139d3565b600060405180830381855afa9150503d8060008114612bc0576040519150601f19603f3d011682016040523d82523d6000602084013e612bc5565b606091505b50915091508115612c17576040815110612bf75780806020019051810190612bed9190613705565b9094509250612c17565b6020815110612c175780806020019051810190612c149190613798565b93505b505094509492505050565b6000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c8691906137e2565b9050612c90611612565b6001600160a01b0316816001600160a01b031614612cd457604051631db0625160e01b81526001600160a01b03808616600483015282166024820152604401610715565b612cdd836130cc565b600003612d085760405163a12ddedf60e01b81526001600160a01b0385166004820152602401610715565b50505050565b6000826000018281548110612d2557612d25613782565b9060005260206000200154905092915050565b60008181526001830160205260408120548015612e21576000612d5c6001836139ef565b8554909150600090612d70906001906139ef565b9050808214612dd5576000866000018281548110612d9057612d90613782565b9060005260206000200154905080876000018481548110612db357612db3613782565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612de657612de6613a02565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610687565b6000915050610687565b5092915050565b604051631517388760e21b81526001600160401b038416600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612e8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eb191906136c6565b6001600160401b031690506003826003811115612ed057612ed06132b4565b148015612ede575061271081105b15612f075760405163be511cc160e01b81526001600160401b0385166004820152602401610715565b6003826003811115612f1b57612f1b6132b4565b14158015612f2b57506127108110155b8015612fc45750612f3a612930565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fb791906136c6565b6001600160401b03168114155b15612fed57604051630e08ff2d60e11b81526001600160401b0385166004820152602401610715565b612ff6836130cc565b600003612d0857604051631367e80d60e31b81526001600160401b0385166004820152602401610715565b600081815260018301602052604081205461306857508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610687565b506000610687565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166130b957604051631afcd79f60e31b815260040160405180910390fd5b565b6130c3613070565b6128b081612829565b600060ff8216601f81111561068757604051632cd44ac360e21b815260040160405180910390fd5b6001600160401b03811681146128b057600080fd5b8035613114816130f4565b919050565b60006020828403121561312b57600080fd5b8135611b54816130f4565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261315d57600080fd5b81356001600160401b038082111561317757613177613136565b604051601f8301601f19908116603f0116810190828211818310171561319f5761319f613136565b816040528381528660208588010111156131b857600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080606085870312156131ee57600080fd5b84356001600160401b038082111561320557600080fd5b6132118883890161314c565b9550602087013591508082111561322757600080fd5b818701915087601f83011261323b57600080fd5b81358181111561324a57600080fd5b8860208260051b850101111561325f57600080fd5b60208301955080945050505061327760408601613109565b905092959194509250565b6001600160a01b03811681146128b057600080fd5b6000602082840312156132a957600080fd5b8135611b5481613282565b634e487b7160e01b600052602160045260246000fd5b600481106132e857634e487b7160e01b600052602160045260246000fd5b9052565b8151815260208083015160a0830191613307908401826132ca565b50604083015115156040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b6000806040838503121561334e57600080fd5b823561335981613282565b915060208301356001600160401b0381111561337457600080fd5b6133808582860161314c565b9150509250929050565b60005b838110156133a557818101518382015260200161338d565b50506000910152565b60208152600082518060208401526133cd81604085016020870161338a565b601f01601f19169190910160400192915050565b80151581146128b057600080fd5b6000806040838503121561340257600080fd5b823561340d81613282565b9150602083013561341d816133e1565b809150509250929050565b6000806040838503121561343b57600080fd5b8235613446816130f4565b9150602083013561341d816130f4565b60006020828403121561346857600080fd5b81356001600160401b0381111561347e57600080fd5b610e108482850161314c565b60006020828403121561349c57600080fd5b5035919050565b600080604083850312156134b657600080fd5b8235613359816130f4565b8151815260208083015160a08301916134dc908401826132ca565b506001600160401b036040840151166040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b6000806040838503121561352a57600080fd5b8235613535816130f4565b9150602083013561341d81613282565b80356001600160e01b03198116811461311457600080fd5b60008060006060848603121561357257600080fd5b833561357d81613282565b9250602084013561358d81613282565b915061359b60408501613545565b90509250925092565b600080604083850312156135b757600080fd5b82356001600160401b03808211156135ce57600080fd5b6135da8683870161314c565b935060208501359150808211156135f057600080fd5b506133808582860161314c565b6000806040838503121561361057600080fd5b823561361b816130f4565b946020939093013593505050565b60008060006060848603121561363e57600080fd5b8335613649816130f4565b925060208401356001600160401b0381111561366457600080fd5b6136708682870161314c565b9250506040840135613681816130f4565b809150509250925092565b6001600160a01b038316815260408101611b5460208301846132ca565b6001600160401b038316815260408101611b5460208301846132ca565b6000602082840312156136d857600080fd5b8151611b54816130f4565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6000806040838503121561371857600080fd5b8251613723816133e1565b602084015190925063ffffffff8116811461341d57600080fd5b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161377b5761377b613753565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156137aa57600080fd5b8151611b54816133e1565b6001600160a01b0393841681529190921660208201526001600160e01b0319909116604082015260600190565b6000602082840312156137f457600080fd5b8151611b5481613282565b6000808585111561380f57600080fd5b8386111561381c57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156138515780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b805160208083015191908110156138ba576000198160200360031b1b821691505b50919050565b6001600160a01b038516815260606020808301829052908201849052600090859060808401835b87811015613914576001600160e01b031961390185613545565b16825292820192908201906001016138e7565b508093505050506001600160401b038316604083015295945050505050565b60006020828403121561394557600080fd5b815164ffffffffff81168114611b5457600080fd5b6001600160a01b0385168152602081018490526080810161397e60408301856132ca565b821515606083015295945050505050565b6001600160401b03841681526020810183905260608101610e1060408301846132ca565b6001600160401b03818116838216019080821115612e2b57612e2b613753565b600082516139e581846020870161338a565b9190910192915050565b8181038181111561068757610687613753565b634e487b7160e01b600052603160045260246000fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212204de9a1d3efe9918609305462821f403bafb1ff6f398c2d967900e8e9beb3eef364736f6c63430008140033",
792
1144
  "linkReferences": {
793
- "contracts/types/RoleId.sol": {
1145
+ "contracts/type/RoleId.sol": {
794
1146
  "RoleIdLib": [
795
1147
  {
796
1148
  "length": 20,
797
- "start": 96
1149
+ "start": 2279
798
1150
  },
799
1151
  {
800
1152
  "length": 20,
801
- "start": 396
1153
+ "start": 2770
802
1154
  },
803
1155
  {
804
1156
  "length": 20,
805
- "start": 2354
1157
+ "start": 4616
806
1158
  },
807
1159
  {
808
1160
  "length": 20,
809
- "start": 4485
1161
+ "start": 4983
810
1162
  },
811
1163
  {
812
1164
  "length": 20,
813
- "start": 5996
1165
+ "start": 5436
814
1166
  },
815
1167
  {
816
1168
  "length": 20,
817
- "start": 6395
1169
+ "start": 6720
818
1170
  },
819
1171
  {
820
1172
  "length": 20,
821
- "start": 6803
1173
+ "start": 9182
822
1174
  },
823
1175
  {
824
1176
  "length": 20,
825
- "start": 10296
826
- }
827
- ]
828
- },
829
- "contracts/types/Timestamp.sol": {
830
- "TimestampLib": [
1177
+ "start": 9473
1178
+ },
831
1179
  {
832
1180
  "length": 20,
833
- "start": 798
1181
+ "start": 10476
834
1182
  },
835
1183
  {
836
1184
  "length": 20,
837
- "start": 922
1185
+ "start": 10607
838
1186
  },
839
1187
  {
840
1188
  "length": 20,
841
- "start": 1914
1189
+ "start": 10667
842
1190
  },
843
1191
  {
844
1192
  "length": 20,
845
- "start": 4948
1193
+ "start": 10727
846
1194
  },
847
1195
  {
848
1196
  "length": 20,
849
- "start": 5606
1197
+ "start": 10854
850
1198
  },
851
1199
  {
852
1200
  "length": 20,
853
- "start": 6717
1201
+ "start": 10981
854
1202
  },
855
1203
  {
856
1204
  "length": 20,
857
- "start": 7601
1205
+ "start": 11891
858
1206
  },
859
1207
  {
860
1208
  "length": 20,
861
- "start": 7722
1209
+ "start": 12153
1210
+ }
1211
+ ]
1212
+ },
1213
+ "contracts/type/Timestamp.sol": {
1214
+ "TimestampLib": [
1215
+ {
1216
+ "length": 20,
1217
+ "start": 4229
862
1218
  },
863
1219
  {
864
1220
  "length": 20,
865
- "start": 8243
1221
+ "start": 6634
866
1222
  },
867
1223
  {
868
1224
  "length": 20,
869
- "start": 8364
1225
+ "start": 7695
870
1226
  },
871
1227
  {
872
1228
  "length": 20,
873
- "start": 9875
1229
+ "start": 8114
1230
+ },
1231
+ {
1232
+ "length": 20,
1233
+ "start": 8235
1234
+ },
1235
+ {
1236
+ "length": 20,
1237
+ "start": 9704
1238
+ },
1239
+ {
1240
+ "length": 20,
1241
+ "start": 9825
874
1242
  }
875
1243
  ]
876
1244
  }
877
1245
  },
878
1246
  "deployedLinkReferences": {
879
- "contracts/types/RoleId.sol": {
1247
+ "contracts/type/RoleId.sol": {
880
1248
  "RoleIdLib": [
881
1249
  {
882
1250
  "length": 20,
883
- "start": 1355
1251
+ "start": 2247
1252
+ },
1253
+ {
1254
+ "length": 20,
1255
+ "start": 2738
1256
+ },
1257
+ {
1258
+ "length": 20,
1259
+ "start": 4584
884
1260
  },
885
1261
  {
886
1262
  "length": 20,
887
- "start": 2866
1263
+ "start": 4951
888
1264
  },
889
1265
  {
890
1266
  "length": 20,
891
- "start": 3265
1267
+ "start": 5404
892
1268
  },
893
1269
  {
894
1270
  "length": 20,
895
- "start": 3673
1271
+ "start": 6688
896
1272
  },
897
1273
  {
898
1274
  "length": 20,
899
- "start": 7166
1275
+ "start": 9150
1276
+ },
1277
+ {
1278
+ "length": 20,
1279
+ "start": 9441
1280
+ },
1281
+ {
1282
+ "length": 20,
1283
+ "start": 10444
1284
+ },
1285
+ {
1286
+ "length": 20,
1287
+ "start": 10575
1288
+ },
1289
+ {
1290
+ "length": 20,
1291
+ "start": 10635
1292
+ },
1293
+ {
1294
+ "length": 20,
1295
+ "start": 10695
1296
+ },
1297
+ {
1298
+ "length": 20,
1299
+ "start": 10822
1300
+ },
1301
+ {
1302
+ "length": 20,
1303
+ "start": 10949
1304
+ },
1305
+ {
1306
+ "length": 20,
1307
+ "start": 11859
1308
+ },
1309
+ {
1310
+ "length": 20,
1311
+ "start": 12121
900
1312
  }
901
1313
  ]
902
1314
  },
903
- "contracts/types/Timestamp.sol": {
1315
+ "contracts/type/Timestamp.sol": {
904
1316
  "TimestampLib": [
905
1317
  {
906
1318
  "length": 20,
907
- "start": 1818
908
- },
909
- {
910
- "length": 20,
911
- "start": 2476
1319
+ "start": 4197
912
1320
  },
913
1321
  {
914
1322
  "length": 20,
915
- "start": 3587
1323
+ "start": 6602
916
1324
  },
917
1325
  {
918
1326
  "length": 20,
919
- "start": 4471
1327
+ "start": 7663
920
1328
  },
921
1329
  {
922
1330
  "length": 20,
923
- "start": 4592
1331
+ "start": 8082
924
1332
  },
925
1333
  {
926
1334
  "length": 20,
927
- "start": 5113
1335
+ "start": 8203
928
1336
  },
929
1337
  {
930
1338
  "length": 20,
931
- "start": 5234
1339
+ "start": 9672
932
1340
  },
933
1341
  {
934
1342
  "length": 20,
935
- "start": 6745
1343
+ "start": 9793
936
1344
  }
937
1345
  ]
938
1346
  }