@etherisc/gif-next 0.0.2-efef0ea-320 → 0.0.2-f034782-101

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