@etherisc/gif-next 0.0.2-d408403-475 → 0.0.2-d60aa51-726

Sign up to get free protection for your applications and to get access to all the features.
Files changed (393) hide show
  1. package/README.md +231 -27
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +302 -23
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +393 -54
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +217 -23
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -188
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +15 -227
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -213
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +460 -99
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +491 -80
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  45. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  46. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  47. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +775 -0
  48. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  49. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  50. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  51. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  52. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +859 -1168
  54. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  55. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +448 -0
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +485 -0
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +2411 -1253
  60. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +940 -0
  62. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +763 -0
  64. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1422 -0
  66. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +970 -0
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +512 -0
  70. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +272 -0
  72. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +276 -36
  74. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +1 -1
  76. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  78. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  79. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  81. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  82. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  83. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  85. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  87. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  88. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  89. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  90. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  91. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  92. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  93. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  94. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  95. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  96. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  97. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +375 -79
  99. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +349 -53
  101. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +444 -0
  103. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +177 -75
  105. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  106. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +174 -53
  107. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +337 -49
  109. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  110. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +219 -89
  111. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  112. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +559 -53
  113. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  114. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +464 -0
  115. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  116. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +409 -120
  117. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +488 -0
  119. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  121. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +377 -37
  123. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  124. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +947 -0
  125. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  126. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  127. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  128. package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -123
  129. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  130. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1293 -0
  131. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +517 -0
  133. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  135. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  136. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  137. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  139. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  140. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +67 -57
  141. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  143. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  144. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +168 -123
  145. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  147. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  148. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  153. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  154. package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +215 -73
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  156. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +222 -54
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  169. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestService.sol/TestService.json +283 -62
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  177. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  178. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  179. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  180. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  184. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  186. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  187. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  188. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  190. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  191. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  192. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  194. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  196. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  198. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  200. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  206. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  208. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  210. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  214. package/contracts/components/BaseComponent.sol +75 -37
  215. package/contracts/components/Distribution.sol +49 -18
  216. package/contracts/components/IBaseComponent.sol +15 -3
  217. package/contracts/components/IDistributionComponent.sol +3 -7
  218. package/contracts/components/IPoolComponent.sol +7 -12
  219. package/contracts/components/IProductComponent.sol +4 -7
  220. package/contracts/components/Pool.sol +111 -79
  221. package/contracts/components/Product.sol +110 -48
  222. package/contracts/experiment/cloning/Cloner.sol +47 -0
  223. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
  224. package/contracts/instance/BundleManager.sol +129 -0
  225. package/contracts/instance/Cloneable.sol +46 -0
  226. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  227. package/contracts/instance/IInstance.sol +48 -45
  228. package/contracts/instance/IInstanceBase.sol +26 -0
  229. package/contracts/instance/IInstanceService.sol +32 -0
  230. package/contracts/instance/Instance.sol +436 -57
  231. package/contracts/instance/InstanceAccessManager.sol +288 -0
  232. package/contracts/instance/InstanceBase.sol +41 -0
  233. package/contracts/instance/InstanceReader.sol +315 -0
  234. package/contracts/instance/InstanceService.sol +233 -0
  235. package/contracts/instance/InstanceServiceManager.sol +57 -0
  236. package/contracts/instance/ObjectManager.sol +95 -0
  237. package/contracts/instance/base/ComponentServiceBase.sol +102 -10
  238. package/contracts/instance/base/IInstanceBase.sol +3 -2
  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 +49 -38
  242. package/contracts/instance/base/Lifecycle.sol +1 -1
  243. package/contracts/instance/module/IAccess.sol +38 -0
  244. package/contracts/instance/module/IBundle.sol +20 -0
  245. package/contracts/instance/module/IDistribution.sol +39 -0
  246. package/contracts/instance/module/IPolicy.sol +45 -0
  247. package/contracts/instance/module/IRisk.sol +11 -0
  248. package/contracts/instance/module/ISetup.sol +46 -0
  249. package/contracts/instance/module/ITreasury.sol +23 -0
  250. package/contracts/instance/service/ComponentOwnerService.sol +232 -72
  251. package/contracts/instance/service/DistributionService.sol +49 -20
  252. package/contracts/instance/service/DistributionServiceManager.sol +54 -0
  253. package/contracts/instance/service/IComponentOwnerService.sol +1 -3
  254. package/contracts/instance/service/IDistributionService.sol +1 -1
  255. package/contracts/instance/service/IPoolService.sol +17 -3
  256. package/contracts/instance/service/IProductService.sol +9 -6
  257. package/contracts/instance/service/PoolService.sol +190 -52
  258. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  259. package/contracts/instance/service/ProductService.sol +195 -134
  260. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  261. package/contracts/registry/ChainNft.sol +80 -37
  262. package/contracts/registry/IRegistry.sol +49 -25
  263. package/contracts/registry/IRegistryService.sol +50 -0
  264. package/contracts/registry/ITransferInterceptor.sol +6 -0
  265. package/contracts/registry/Registry.sol +336 -270
  266. package/contracts/registry/RegistryService.sol +358 -0
  267. package/contracts/registry/RegistryServiceManager.sol +80 -0
  268. package/contracts/registry/TokenRegistry.sol +111 -0
  269. package/contracts/shared/ContractDeployerLib.sol +72 -0
  270. package/contracts/shared/ERC165.sol +6 -2
  271. package/contracts/shared/INftOwnable.sol +22 -0
  272. package/contracts/shared/IRegisterable.sol +8 -15
  273. package/contracts/{instance/base → shared}/IService.sol +3 -3
  274. package/contracts/shared/IVersionable.sol +55 -11
  275. package/contracts/shared/NftOwnable.sol +134 -0
  276. package/contracts/shared/ProxyManager.sol +94 -0
  277. package/contracts/shared/Registerable.sol +63 -59
  278. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  279. package/contracts/shared/Service.sol +55 -0
  280. package/contracts/shared/TokenHandler.sol +27 -0
  281. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  282. package/contracts/shared/Versionable.sol +113 -55
  283. package/contracts/test/TestFee.sol +2 -2
  284. package/contracts/test/TestRegisterable.sol +5 -6
  285. package/contracts/test/TestRoleId.sol +1 -1
  286. package/contracts/test/TestService.sol +5 -13
  287. package/contracts/types/DistributorType.sol +55 -0
  288. package/contracts/types/Fee.sol +3 -3
  289. package/contracts/types/Key32.sol +8 -3
  290. package/contracts/types/NftIdSet.sol +26 -24
  291. package/contracts/types/NumberId.sol +52 -0
  292. package/contracts/types/ObjectType.sol +35 -14
  293. package/contracts/types/Referral.sol +85 -0
  294. package/contracts/types/RoleId.sol +61 -9
  295. package/contracts/types/StateId.sol +5 -1
  296. package/contracts/types/Timestamp.sol +7 -3
  297. package/contracts/types/UFixed.sol +128 -12
  298. package/contracts/types/Version.sol +13 -1
  299. package/package.json +4 -3
  300. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  301. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  302. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  303. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  304. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  305. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  306. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  307. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  308. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  309. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  310. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  311. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  312. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  313. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  314. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  315. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  316. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  317. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  318. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  319. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  320. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  321. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  322. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  323. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  324. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  325. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  326. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  327. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  328. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  329. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  330. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  332. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  333. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  334. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  335. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  336. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  338. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  340. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  341. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  342. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  343. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  344. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  345. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  346. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  347. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  348. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  349. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  350. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  351. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  352. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  353. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  354. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  355. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  356. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  357. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  358. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  359. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  360. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  361. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  362. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  363. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  364. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  365. package/contracts/experiment/statemachine/README.md +0 -112
  366. package/contracts/instance/IInstanceLinked.sol +0 -8
  367. package/contracts/instance/base/InstanceBase.sol +0 -91
  368. package/contracts/instance/base/ModuleBase.sol +0 -57
  369. package/contracts/instance/base/ServiceBase.sol +0 -37
  370. package/contracts/instance/module/access/Access.sol +0 -149
  371. package/contracts/instance/module/access/IAccess.sol +0 -53
  372. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  373. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  374. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  375. package/contracts/instance/module/component/IComponent.sol +0 -28
  376. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  377. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  378. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  379. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  380. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  381. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  382. package/contracts/instance/module/risk/IRisk.sol +0 -26
  383. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  384. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  385. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  386. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  387. package/contracts/registry/IChainNft.sol +0 -21
  388. package/contracts/registry/IRegistryLinked.sol +0 -8
  389. package/contracts/shared/IOwnable.sol +0 -6
  390. package/contracts/test/TestDistribution.sol +0 -21
  391. package/contracts/test/TestPool.sol +0 -25
  392. package/contracts/test/TestProduct.sol +0 -72
  393. package/contracts/types/ReferralId.sol +0 -48
@@ -0,0 +1,1206 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "AccessManagerUpgradeableInitializeable",
4
+ "sourceName": "contracts/instance/AccessManagerUpgradeableInitializeable.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "bytes32",
10
+ "name": "operationId",
11
+ "type": "bytes32"
12
+ }
13
+ ],
14
+ "name": "AccessManagerAlreadyScheduled",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "AccessManagerBadConfirmation",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "bytes32",
26
+ "name": "operationId",
27
+ "type": "bytes32"
28
+ }
29
+ ],
30
+ "name": "AccessManagerExpired",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "initialAdmin",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagerInvalidInitialAdmin",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "account",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "AccessManagerLockedAccount",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "uint64",
59
+ "name": "roleId",
60
+ "type": "uint64"
61
+ }
62
+ ],
63
+ "name": "AccessManagerLockedRole",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "bytes32",
70
+ "name": "operationId",
71
+ "type": "bytes32"
72
+ }
73
+ ],
74
+ "name": "AccessManagerNotReady",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
79
+ {
80
+ "internalType": "bytes32",
81
+ "name": "operationId",
82
+ "type": "bytes32"
83
+ }
84
+ ],
85
+ "name": "AccessManagerNotScheduled",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "internalType": "address",
92
+ "name": "msgsender",
93
+ "type": "address"
94
+ },
95
+ {
96
+ "internalType": "uint64",
97
+ "name": "roleId",
98
+ "type": "uint64"
99
+ }
100
+ ],
101
+ "name": "AccessManagerUnauthorizedAccount",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "caller",
109
+ "type": "address"
110
+ },
111
+ {
112
+ "internalType": "address",
113
+ "name": "target",
114
+ "type": "address"
115
+ },
116
+ {
117
+ "internalType": "bytes4",
118
+ "name": "selector",
119
+ "type": "bytes4"
120
+ }
121
+ ],
122
+ "name": "AccessManagerUnauthorizedCall",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "address",
129
+ "name": "msgsender",
130
+ "type": "address"
131
+ },
132
+ {
133
+ "internalType": "address",
134
+ "name": "caller",
135
+ "type": "address"
136
+ },
137
+ {
138
+ "internalType": "address",
139
+ "name": "target",
140
+ "type": "address"
141
+ },
142
+ {
143
+ "internalType": "bytes4",
144
+ "name": "selector",
145
+ "type": "bytes4"
146
+ }
147
+ ],
148
+ "name": "AccessManagerUnauthorizedCancel",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "address",
155
+ "name": "target",
156
+ "type": "address"
157
+ }
158
+ ],
159
+ "name": "AccessManagerUnauthorizedConsume",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "address",
166
+ "name": "target",
167
+ "type": "address"
168
+ }
169
+ ],
170
+ "name": "AddressEmptyCode",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [
175
+ {
176
+ "internalType": "address",
177
+ "name": "account",
178
+ "type": "address"
179
+ }
180
+ ],
181
+ "name": "AddressInsufficientBalance",
182
+ "type": "error"
183
+ },
184
+ {
185
+ "inputs": [],
186
+ "name": "FailedInnerCall",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [],
191
+ "name": "InvalidInitialization",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "NotInitializing",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "uint8",
203
+ "name": "bits",
204
+ "type": "uint8"
205
+ },
206
+ {
207
+ "internalType": "uint256",
208
+ "name": "value",
209
+ "type": "uint256"
210
+ }
211
+ ],
212
+ "name": "SafeCastOverflowedUintDowncast",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
218
+ {
219
+ "indexed": false,
220
+ "internalType": "uint64",
221
+ "name": "version",
222
+ "type": "uint64"
223
+ }
224
+ ],
225
+ "name": "Initialized",
226
+ "type": "event"
227
+ },
228
+ {
229
+ "anonymous": false,
230
+ "inputs": [
231
+ {
232
+ "indexed": true,
233
+ "internalType": "bytes32",
234
+ "name": "operationId",
235
+ "type": "bytes32"
236
+ },
237
+ {
238
+ "indexed": true,
239
+ "internalType": "uint32",
240
+ "name": "nonce",
241
+ "type": "uint32"
242
+ }
243
+ ],
244
+ "name": "OperationCanceled",
245
+ "type": "event"
246
+ },
247
+ {
248
+ "anonymous": false,
249
+ "inputs": [
250
+ {
251
+ "indexed": true,
252
+ "internalType": "bytes32",
253
+ "name": "operationId",
254
+ "type": "bytes32"
255
+ },
256
+ {
257
+ "indexed": true,
258
+ "internalType": "uint32",
259
+ "name": "nonce",
260
+ "type": "uint32"
261
+ }
262
+ ],
263
+ "name": "OperationExecuted",
264
+ "type": "event"
265
+ },
266
+ {
267
+ "anonymous": false,
268
+ "inputs": [
269
+ {
270
+ "indexed": true,
271
+ "internalType": "bytes32",
272
+ "name": "operationId",
273
+ "type": "bytes32"
274
+ },
275
+ {
276
+ "indexed": true,
277
+ "internalType": "uint32",
278
+ "name": "nonce",
279
+ "type": "uint32"
280
+ },
281
+ {
282
+ "indexed": false,
283
+ "internalType": "uint48",
284
+ "name": "schedule",
285
+ "type": "uint48"
286
+ },
287
+ {
288
+ "indexed": false,
289
+ "internalType": "address",
290
+ "name": "caller",
291
+ "type": "address"
292
+ },
293
+ {
294
+ "indexed": false,
295
+ "internalType": "address",
296
+ "name": "target",
297
+ "type": "address"
298
+ },
299
+ {
300
+ "indexed": false,
301
+ "internalType": "bytes",
302
+ "name": "data",
303
+ "type": "bytes"
304
+ }
305
+ ],
306
+ "name": "OperationScheduled",
307
+ "type": "event"
308
+ },
309
+ {
310
+ "anonymous": false,
311
+ "inputs": [
312
+ {
313
+ "indexed": true,
314
+ "internalType": "uint64",
315
+ "name": "roleId",
316
+ "type": "uint64"
317
+ },
318
+ {
319
+ "indexed": true,
320
+ "internalType": "uint64",
321
+ "name": "admin",
322
+ "type": "uint64"
323
+ }
324
+ ],
325
+ "name": "RoleAdminChanged",
326
+ "type": "event"
327
+ },
328
+ {
329
+ "anonymous": false,
330
+ "inputs": [
331
+ {
332
+ "indexed": true,
333
+ "internalType": "uint64",
334
+ "name": "roleId",
335
+ "type": "uint64"
336
+ },
337
+ {
338
+ "indexed": false,
339
+ "internalType": "uint32",
340
+ "name": "delay",
341
+ "type": "uint32"
342
+ },
343
+ {
344
+ "indexed": false,
345
+ "internalType": "uint48",
346
+ "name": "since",
347
+ "type": "uint48"
348
+ }
349
+ ],
350
+ "name": "RoleGrantDelayChanged",
351
+ "type": "event"
352
+ },
353
+ {
354
+ "anonymous": false,
355
+ "inputs": [
356
+ {
357
+ "indexed": true,
358
+ "internalType": "uint64",
359
+ "name": "roleId",
360
+ "type": "uint64"
361
+ },
362
+ {
363
+ "indexed": true,
364
+ "internalType": "address",
365
+ "name": "account",
366
+ "type": "address"
367
+ },
368
+ {
369
+ "indexed": false,
370
+ "internalType": "uint32",
371
+ "name": "delay",
372
+ "type": "uint32"
373
+ },
374
+ {
375
+ "indexed": false,
376
+ "internalType": "uint48",
377
+ "name": "since",
378
+ "type": "uint48"
379
+ },
380
+ {
381
+ "indexed": false,
382
+ "internalType": "bool",
383
+ "name": "newMember",
384
+ "type": "bool"
385
+ }
386
+ ],
387
+ "name": "RoleGranted",
388
+ "type": "event"
389
+ },
390
+ {
391
+ "anonymous": false,
392
+ "inputs": [
393
+ {
394
+ "indexed": true,
395
+ "internalType": "uint64",
396
+ "name": "roleId",
397
+ "type": "uint64"
398
+ },
399
+ {
400
+ "indexed": true,
401
+ "internalType": "uint64",
402
+ "name": "guardian",
403
+ "type": "uint64"
404
+ }
405
+ ],
406
+ "name": "RoleGuardianChanged",
407
+ "type": "event"
408
+ },
409
+ {
410
+ "anonymous": false,
411
+ "inputs": [
412
+ {
413
+ "indexed": true,
414
+ "internalType": "uint64",
415
+ "name": "roleId",
416
+ "type": "uint64"
417
+ },
418
+ {
419
+ "indexed": false,
420
+ "internalType": "string",
421
+ "name": "label",
422
+ "type": "string"
423
+ }
424
+ ],
425
+ "name": "RoleLabel",
426
+ "type": "event"
427
+ },
428
+ {
429
+ "anonymous": false,
430
+ "inputs": [
431
+ {
432
+ "indexed": true,
433
+ "internalType": "uint64",
434
+ "name": "roleId",
435
+ "type": "uint64"
436
+ },
437
+ {
438
+ "indexed": true,
439
+ "internalType": "address",
440
+ "name": "account",
441
+ "type": "address"
442
+ }
443
+ ],
444
+ "name": "RoleRevoked",
445
+ "type": "event"
446
+ },
447
+ {
448
+ "anonymous": false,
449
+ "inputs": [
450
+ {
451
+ "indexed": true,
452
+ "internalType": "address",
453
+ "name": "target",
454
+ "type": "address"
455
+ },
456
+ {
457
+ "indexed": false,
458
+ "internalType": "uint32",
459
+ "name": "delay",
460
+ "type": "uint32"
461
+ },
462
+ {
463
+ "indexed": false,
464
+ "internalType": "uint48",
465
+ "name": "since",
466
+ "type": "uint48"
467
+ }
468
+ ],
469
+ "name": "TargetAdminDelayUpdated",
470
+ "type": "event"
471
+ },
472
+ {
473
+ "anonymous": false,
474
+ "inputs": [
475
+ {
476
+ "indexed": true,
477
+ "internalType": "address",
478
+ "name": "target",
479
+ "type": "address"
480
+ },
481
+ {
482
+ "indexed": false,
483
+ "internalType": "bool",
484
+ "name": "closed",
485
+ "type": "bool"
486
+ }
487
+ ],
488
+ "name": "TargetClosed",
489
+ "type": "event"
490
+ },
491
+ {
492
+ "anonymous": false,
493
+ "inputs": [
494
+ {
495
+ "indexed": true,
496
+ "internalType": "address",
497
+ "name": "target",
498
+ "type": "address"
499
+ },
500
+ {
501
+ "indexed": false,
502
+ "internalType": "bytes4",
503
+ "name": "selector",
504
+ "type": "bytes4"
505
+ },
506
+ {
507
+ "indexed": true,
508
+ "internalType": "uint64",
509
+ "name": "roleId",
510
+ "type": "uint64"
511
+ }
512
+ ],
513
+ "name": "TargetFunctionRoleUpdated",
514
+ "type": "event"
515
+ },
516
+ {
517
+ "inputs": [],
518
+ "name": "ADMIN_ROLE",
519
+ "outputs": [
520
+ {
521
+ "internalType": "uint64",
522
+ "name": "",
523
+ "type": "uint64"
524
+ }
525
+ ],
526
+ "stateMutability": "view",
527
+ "type": "function"
528
+ },
529
+ {
530
+ "inputs": [],
531
+ "name": "PUBLIC_ROLE",
532
+ "outputs": [
533
+ {
534
+ "internalType": "uint64",
535
+ "name": "",
536
+ "type": "uint64"
537
+ }
538
+ ],
539
+ "stateMutability": "view",
540
+ "type": "function"
541
+ },
542
+ {
543
+ "inputs": [
544
+ {
545
+ "internalType": "address",
546
+ "name": "initialAdmin",
547
+ "type": "address"
548
+ }
549
+ ],
550
+ "name": "__AccessManagerUpgradeableInitializeable_init",
551
+ "outputs": [],
552
+ "stateMutability": "nonpayable",
553
+ "type": "function"
554
+ },
555
+ {
556
+ "inputs": [
557
+ {
558
+ "internalType": "address",
559
+ "name": "caller",
560
+ "type": "address"
561
+ },
562
+ {
563
+ "internalType": "address",
564
+ "name": "target",
565
+ "type": "address"
566
+ },
567
+ {
568
+ "internalType": "bytes4",
569
+ "name": "selector",
570
+ "type": "bytes4"
571
+ }
572
+ ],
573
+ "name": "canCall",
574
+ "outputs": [
575
+ {
576
+ "internalType": "bool",
577
+ "name": "immediate",
578
+ "type": "bool"
579
+ },
580
+ {
581
+ "internalType": "uint32",
582
+ "name": "delay",
583
+ "type": "uint32"
584
+ }
585
+ ],
586
+ "stateMutability": "view",
587
+ "type": "function"
588
+ },
589
+ {
590
+ "inputs": [
591
+ {
592
+ "internalType": "address",
593
+ "name": "caller",
594
+ "type": "address"
595
+ },
596
+ {
597
+ "internalType": "address",
598
+ "name": "target",
599
+ "type": "address"
600
+ },
601
+ {
602
+ "internalType": "bytes",
603
+ "name": "data",
604
+ "type": "bytes"
605
+ }
606
+ ],
607
+ "name": "cancel",
608
+ "outputs": [
609
+ {
610
+ "internalType": "uint32",
611
+ "name": "",
612
+ "type": "uint32"
613
+ }
614
+ ],
615
+ "stateMutability": "nonpayable",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [
620
+ {
621
+ "internalType": "address",
622
+ "name": "caller",
623
+ "type": "address"
624
+ },
625
+ {
626
+ "internalType": "bytes",
627
+ "name": "data",
628
+ "type": "bytes"
629
+ }
630
+ ],
631
+ "name": "consumeScheduledOp",
632
+ "outputs": [],
633
+ "stateMutability": "nonpayable",
634
+ "type": "function"
635
+ },
636
+ {
637
+ "inputs": [
638
+ {
639
+ "internalType": "address",
640
+ "name": "target",
641
+ "type": "address"
642
+ },
643
+ {
644
+ "internalType": "bytes",
645
+ "name": "data",
646
+ "type": "bytes"
647
+ }
648
+ ],
649
+ "name": "execute",
650
+ "outputs": [
651
+ {
652
+ "internalType": "uint32",
653
+ "name": "",
654
+ "type": "uint32"
655
+ }
656
+ ],
657
+ "stateMutability": "payable",
658
+ "type": "function"
659
+ },
660
+ {
661
+ "inputs": [],
662
+ "name": "expiration",
663
+ "outputs": [
664
+ {
665
+ "internalType": "uint32",
666
+ "name": "",
667
+ "type": "uint32"
668
+ }
669
+ ],
670
+ "stateMutability": "view",
671
+ "type": "function"
672
+ },
673
+ {
674
+ "inputs": [
675
+ {
676
+ "internalType": "uint64",
677
+ "name": "roleId",
678
+ "type": "uint64"
679
+ },
680
+ {
681
+ "internalType": "address",
682
+ "name": "account",
683
+ "type": "address"
684
+ }
685
+ ],
686
+ "name": "getAccess",
687
+ "outputs": [
688
+ {
689
+ "internalType": "uint48",
690
+ "name": "since",
691
+ "type": "uint48"
692
+ },
693
+ {
694
+ "internalType": "uint32",
695
+ "name": "currentDelay",
696
+ "type": "uint32"
697
+ },
698
+ {
699
+ "internalType": "uint32",
700
+ "name": "pendingDelay",
701
+ "type": "uint32"
702
+ },
703
+ {
704
+ "internalType": "uint48",
705
+ "name": "effect",
706
+ "type": "uint48"
707
+ }
708
+ ],
709
+ "stateMutability": "view",
710
+ "type": "function"
711
+ },
712
+ {
713
+ "inputs": [
714
+ {
715
+ "internalType": "bytes32",
716
+ "name": "id",
717
+ "type": "bytes32"
718
+ }
719
+ ],
720
+ "name": "getNonce",
721
+ "outputs": [
722
+ {
723
+ "internalType": "uint32",
724
+ "name": "",
725
+ "type": "uint32"
726
+ }
727
+ ],
728
+ "stateMutability": "view",
729
+ "type": "function"
730
+ },
731
+ {
732
+ "inputs": [
733
+ {
734
+ "internalType": "uint64",
735
+ "name": "roleId",
736
+ "type": "uint64"
737
+ }
738
+ ],
739
+ "name": "getRoleAdmin",
740
+ "outputs": [
741
+ {
742
+ "internalType": "uint64",
743
+ "name": "",
744
+ "type": "uint64"
745
+ }
746
+ ],
747
+ "stateMutability": "view",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [
752
+ {
753
+ "internalType": "uint64",
754
+ "name": "roleId",
755
+ "type": "uint64"
756
+ }
757
+ ],
758
+ "name": "getRoleGrantDelay",
759
+ "outputs": [
760
+ {
761
+ "internalType": "uint32",
762
+ "name": "",
763
+ "type": "uint32"
764
+ }
765
+ ],
766
+ "stateMutability": "view",
767
+ "type": "function"
768
+ },
769
+ {
770
+ "inputs": [
771
+ {
772
+ "internalType": "uint64",
773
+ "name": "roleId",
774
+ "type": "uint64"
775
+ }
776
+ ],
777
+ "name": "getRoleGuardian",
778
+ "outputs": [
779
+ {
780
+ "internalType": "uint64",
781
+ "name": "",
782
+ "type": "uint64"
783
+ }
784
+ ],
785
+ "stateMutability": "view",
786
+ "type": "function"
787
+ },
788
+ {
789
+ "inputs": [
790
+ {
791
+ "internalType": "bytes32",
792
+ "name": "id",
793
+ "type": "bytes32"
794
+ }
795
+ ],
796
+ "name": "getSchedule",
797
+ "outputs": [
798
+ {
799
+ "internalType": "uint48",
800
+ "name": "",
801
+ "type": "uint48"
802
+ }
803
+ ],
804
+ "stateMutability": "view",
805
+ "type": "function"
806
+ },
807
+ {
808
+ "inputs": [
809
+ {
810
+ "internalType": "address",
811
+ "name": "target",
812
+ "type": "address"
813
+ }
814
+ ],
815
+ "name": "getTargetAdminDelay",
816
+ "outputs": [
817
+ {
818
+ "internalType": "uint32",
819
+ "name": "",
820
+ "type": "uint32"
821
+ }
822
+ ],
823
+ "stateMutability": "view",
824
+ "type": "function"
825
+ },
826
+ {
827
+ "inputs": [
828
+ {
829
+ "internalType": "address",
830
+ "name": "target",
831
+ "type": "address"
832
+ },
833
+ {
834
+ "internalType": "bytes4",
835
+ "name": "selector",
836
+ "type": "bytes4"
837
+ }
838
+ ],
839
+ "name": "getTargetFunctionRole",
840
+ "outputs": [
841
+ {
842
+ "internalType": "uint64",
843
+ "name": "",
844
+ "type": "uint64"
845
+ }
846
+ ],
847
+ "stateMutability": "view",
848
+ "type": "function"
849
+ },
850
+ {
851
+ "inputs": [
852
+ {
853
+ "internalType": "uint64",
854
+ "name": "roleId",
855
+ "type": "uint64"
856
+ },
857
+ {
858
+ "internalType": "address",
859
+ "name": "account",
860
+ "type": "address"
861
+ },
862
+ {
863
+ "internalType": "uint32",
864
+ "name": "executionDelay",
865
+ "type": "uint32"
866
+ }
867
+ ],
868
+ "name": "grantRole",
869
+ "outputs": [],
870
+ "stateMutability": "nonpayable",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "inputs": [
875
+ {
876
+ "internalType": "uint64",
877
+ "name": "roleId",
878
+ "type": "uint64"
879
+ },
880
+ {
881
+ "internalType": "address",
882
+ "name": "account",
883
+ "type": "address"
884
+ }
885
+ ],
886
+ "name": "hasRole",
887
+ "outputs": [
888
+ {
889
+ "internalType": "bool",
890
+ "name": "isMember",
891
+ "type": "bool"
892
+ },
893
+ {
894
+ "internalType": "uint32",
895
+ "name": "executionDelay",
896
+ "type": "uint32"
897
+ }
898
+ ],
899
+ "stateMutability": "view",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [
904
+ {
905
+ "internalType": "address",
906
+ "name": "caller",
907
+ "type": "address"
908
+ },
909
+ {
910
+ "internalType": "address",
911
+ "name": "target",
912
+ "type": "address"
913
+ },
914
+ {
915
+ "internalType": "bytes",
916
+ "name": "data",
917
+ "type": "bytes"
918
+ }
919
+ ],
920
+ "name": "hashOperation",
921
+ "outputs": [
922
+ {
923
+ "internalType": "bytes32",
924
+ "name": "",
925
+ "type": "bytes32"
926
+ }
927
+ ],
928
+ "stateMutability": "view",
929
+ "type": "function"
930
+ },
931
+ {
932
+ "inputs": [
933
+ {
934
+ "internalType": "address",
935
+ "name": "target",
936
+ "type": "address"
937
+ }
938
+ ],
939
+ "name": "isTargetClosed",
940
+ "outputs": [
941
+ {
942
+ "internalType": "bool",
943
+ "name": "",
944
+ "type": "bool"
945
+ }
946
+ ],
947
+ "stateMutability": "view",
948
+ "type": "function"
949
+ },
950
+ {
951
+ "inputs": [
952
+ {
953
+ "internalType": "uint64",
954
+ "name": "roleId",
955
+ "type": "uint64"
956
+ },
957
+ {
958
+ "internalType": "string",
959
+ "name": "label",
960
+ "type": "string"
961
+ }
962
+ ],
963
+ "name": "labelRole",
964
+ "outputs": [],
965
+ "stateMutability": "nonpayable",
966
+ "type": "function"
967
+ },
968
+ {
969
+ "inputs": [],
970
+ "name": "minSetback",
971
+ "outputs": [
972
+ {
973
+ "internalType": "uint32",
974
+ "name": "",
975
+ "type": "uint32"
976
+ }
977
+ ],
978
+ "stateMutability": "view",
979
+ "type": "function"
980
+ },
981
+ {
982
+ "inputs": [
983
+ {
984
+ "internalType": "bytes[]",
985
+ "name": "data",
986
+ "type": "bytes[]"
987
+ }
988
+ ],
989
+ "name": "multicall",
990
+ "outputs": [
991
+ {
992
+ "internalType": "bytes[]",
993
+ "name": "results",
994
+ "type": "bytes[]"
995
+ }
996
+ ],
997
+ "stateMutability": "nonpayable",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [
1002
+ {
1003
+ "internalType": "uint64",
1004
+ "name": "roleId",
1005
+ "type": "uint64"
1006
+ },
1007
+ {
1008
+ "internalType": "address",
1009
+ "name": "callerConfirmation",
1010
+ "type": "address"
1011
+ }
1012
+ ],
1013
+ "name": "renounceRole",
1014
+ "outputs": [],
1015
+ "stateMutability": "nonpayable",
1016
+ "type": "function"
1017
+ },
1018
+ {
1019
+ "inputs": [
1020
+ {
1021
+ "internalType": "uint64",
1022
+ "name": "roleId",
1023
+ "type": "uint64"
1024
+ },
1025
+ {
1026
+ "internalType": "address",
1027
+ "name": "account",
1028
+ "type": "address"
1029
+ }
1030
+ ],
1031
+ "name": "revokeRole",
1032
+ "outputs": [],
1033
+ "stateMutability": "nonpayable",
1034
+ "type": "function"
1035
+ },
1036
+ {
1037
+ "inputs": [
1038
+ {
1039
+ "internalType": "address",
1040
+ "name": "target",
1041
+ "type": "address"
1042
+ },
1043
+ {
1044
+ "internalType": "bytes",
1045
+ "name": "data",
1046
+ "type": "bytes"
1047
+ },
1048
+ {
1049
+ "internalType": "uint48",
1050
+ "name": "when",
1051
+ "type": "uint48"
1052
+ }
1053
+ ],
1054
+ "name": "schedule",
1055
+ "outputs": [
1056
+ {
1057
+ "internalType": "bytes32",
1058
+ "name": "operationId",
1059
+ "type": "bytes32"
1060
+ },
1061
+ {
1062
+ "internalType": "uint32",
1063
+ "name": "nonce",
1064
+ "type": "uint32"
1065
+ }
1066
+ ],
1067
+ "stateMutability": "nonpayable",
1068
+ "type": "function"
1069
+ },
1070
+ {
1071
+ "inputs": [
1072
+ {
1073
+ "internalType": "uint64",
1074
+ "name": "roleId",
1075
+ "type": "uint64"
1076
+ },
1077
+ {
1078
+ "internalType": "uint32",
1079
+ "name": "newDelay",
1080
+ "type": "uint32"
1081
+ }
1082
+ ],
1083
+ "name": "setGrantDelay",
1084
+ "outputs": [],
1085
+ "stateMutability": "nonpayable",
1086
+ "type": "function"
1087
+ },
1088
+ {
1089
+ "inputs": [
1090
+ {
1091
+ "internalType": "uint64",
1092
+ "name": "roleId",
1093
+ "type": "uint64"
1094
+ },
1095
+ {
1096
+ "internalType": "uint64",
1097
+ "name": "admin",
1098
+ "type": "uint64"
1099
+ }
1100
+ ],
1101
+ "name": "setRoleAdmin",
1102
+ "outputs": [],
1103
+ "stateMutability": "nonpayable",
1104
+ "type": "function"
1105
+ },
1106
+ {
1107
+ "inputs": [
1108
+ {
1109
+ "internalType": "uint64",
1110
+ "name": "roleId",
1111
+ "type": "uint64"
1112
+ },
1113
+ {
1114
+ "internalType": "uint64",
1115
+ "name": "guardian",
1116
+ "type": "uint64"
1117
+ }
1118
+ ],
1119
+ "name": "setRoleGuardian",
1120
+ "outputs": [],
1121
+ "stateMutability": "nonpayable",
1122
+ "type": "function"
1123
+ },
1124
+ {
1125
+ "inputs": [
1126
+ {
1127
+ "internalType": "address",
1128
+ "name": "target",
1129
+ "type": "address"
1130
+ },
1131
+ {
1132
+ "internalType": "uint32",
1133
+ "name": "newDelay",
1134
+ "type": "uint32"
1135
+ }
1136
+ ],
1137
+ "name": "setTargetAdminDelay",
1138
+ "outputs": [],
1139
+ "stateMutability": "nonpayable",
1140
+ "type": "function"
1141
+ },
1142
+ {
1143
+ "inputs": [
1144
+ {
1145
+ "internalType": "address",
1146
+ "name": "target",
1147
+ "type": "address"
1148
+ },
1149
+ {
1150
+ "internalType": "bool",
1151
+ "name": "closed",
1152
+ "type": "bool"
1153
+ }
1154
+ ],
1155
+ "name": "setTargetClosed",
1156
+ "outputs": [],
1157
+ "stateMutability": "nonpayable",
1158
+ "type": "function"
1159
+ },
1160
+ {
1161
+ "inputs": [
1162
+ {
1163
+ "internalType": "address",
1164
+ "name": "target",
1165
+ "type": "address"
1166
+ },
1167
+ {
1168
+ "internalType": "bytes4[]",
1169
+ "name": "selectors",
1170
+ "type": "bytes4[]"
1171
+ },
1172
+ {
1173
+ "internalType": "uint64",
1174
+ "name": "roleId",
1175
+ "type": "uint64"
1176
+ }
1177
+ ],
1178
+ "name": "setTargetFunctionRole",
1179
+ "outputs": [],
1180
+ "stateMutability": "nonpayable",
1181
+ "type": "function"
1182
+ },
1183
+ {
1184
+ "inputs": [
1185
+ {
1186
+ "internalType": "address",
1187
+ "name": "target",
1188
+ "type": "address"
1189
+ },
1190
+ {
1191
+ "internalType": "address",
1192
+ "name": "newAuthority",
1193
+ "type": "address"
1194
+ }
1195
+ ],
1196
+ "name": "updateAuthority",
1197
+ "outputs": [],
1198
+ "stateMutability": "nonpayable",
1199
+ "type": "function"
1200
+ }
1201
+ ],
1202
+ "bytecode": "0x608060405234801561001057600080fd5b50612bda806100206000396000f3fe6080604052600436106101ee5760003560e01c80636d5115bd1161010d578063ac9650d8116100a0578063d1f856ee1161006f578063d1f856ee1461060e578063d22b59891461062e578063d6bb62c61461064e578063f801a6981461066e578063fe0776f5146106a857600080fd5b8063ac9650d81461056f578063b70096131461059c578063b7d2b162146105d8578063cc1b6c81146105f857600080fd5b806394c7d7ee116100dc57806394c7d7ee146104d1578063a166aa89146104f1578063a64d95ce14610521578063abd9bd2a1461054157600080fd5b80636d5115bd1461045c57806375b238fc1461047c578063853551b814610491578063881fed84146104b157600080fd5b806330cae187116101855780634665096d116101545780634665096d146103e65780634c1da1e2146103fc578063529629521461041c578063530dd4561461043c57600080fd5b806330cae187146103545780633adc277a146103745780633ca7c02a146103ab5780634136a33c146103c657600080fd5b806318ff183c116101c157806318ff183c146102a75780631cff79cd146102c757806325c471a0146102da5780633078f114146102fa57600080fd5b806308d6122d146101f35780630b0a93ba1461021557806312be872714610252578063167bd39514610287575b600080fd5b3480156101ff57600080fd5b5061021361020e36600461245d565b6106c8565b005b34801561022157600080fd5b506102356102303660046124c3565b610723565b6040516001600160401b0390911681526020015b60405180910390f35b34801561025e57600080fd5b5061027261026d3660046124c3565b61075c565b60405163ffffffff9091168152602001610249565b34801561029357600080fd5b506102136102a23660046124de565b6107a8565b3480156102b357600080fd5b506102136102c236600461251c565b6107be565b6102726102d536600461258b565b610825565b3480156102e657600080fd5b506102136102f53660046125f3565b61096b565b34801561030657600080fd5b5061031a610315366004612638565b61098d565b604051610249949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561036057600080fd5b5061021361036f366004612654565b610a04565b34801561038057600080fd5b5061039461038f366004612687565b610a16565b60405165ffffffffffff9091168152602001610249565b3480156103b757600080fd5b506102356001600160401b0381565b3480156103d257600080fd5b506102726103e1366004612687565b610a5b565b3480156103f257600080fd5b5062093a80610272565b34801561040857600080fd5b506102726104173660046126a0565b610a88565b34801561042857600080fd5b50610213610437366004612654565b610ac4565b34801561044857600080fd5b506102356104573660046124c3565b610ad6565b34801561046857600080fd5b506102356104773660046126d3565b610b08565b34801561048857600080fd5b50610235600081565b34801561049d57600080fd5b506102136104ac366004612701565b610b51565b3480156104bd57600080fd5b506102136104cc3660046126a0565b610be8565b3480156104dd57600080fd5b506102136104ec36600461258b565b610c8f565b3480156104fd57600080fd5b5061051161050c3660046126a0565b610d3b565b6040519015158152602001610249565b34801561052d57600080fd5b5061021361053c36600461271f565b610d74565b34801561054d57600080fd5b5061056161055c366004612749565b610d86565b604051908152602001610249565b34801561057b57600080fd5b5061058f61058a3660046127ad565b610dbf565b6040516102499190612812565b3480156105a857600080fd5b506105bc6105b736600461288c565b610eb3565b60408051921515835263ffffffff909116602083015201610249565b3480156105e457600080fd5b506102136105f3366004612638565b610f3a565b34801561060457600080fd5b5062069780610272565b34801561061a57600080fd5b506105bc610629366004612638565b610f51565b34801561063a57600080fd5b506102136106493660046128d7565b610fce565b34801561065a57600080fd5b50610272610669366004612749565b610fe0565b34801561067a57600080fd5b5061068e6106893660046128f5565b61114b565b6040805192835263ffffffff909116602083015201610249565b3480156106b457600080fd5b506102136106c3366004612638565b6112f6565b6106d061131f565b60005b8281101561071c5761070c858585848181106106f1576106f1612967565b9050602002016020810190610706919061297d565b8461139a565b610715816129b0565b90506106d3565b5050505050565b60008061072e611428565b6001600160401b0393841660009081526001918201602052604090200154600160401b900490921692915050565b600080610767611428565b6001600160401b03841660009081526001828101602052604090912001549091506107a190600160801b90046001600160701b031661144c565b9392505050565b6107b061131f565b6107ba828261146b565b5050565b6107c661131f565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b90602401600060405180830381600087803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b505050505050565b600080610830611428565b90503360008061084283898989611511565b9150915081158015610858575063ffffffff8116155b156108ab5782886108698989611564565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b60006108b9848a8a8a610d86565b9050600063ffffffff83161515806108e057506108d582610a16565b65ffffffffffff1615155b156108f1576108ee8261157c565b90505b60038601546109098b6109048c8c611564565b611690565b87600301819055506109538b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152503492506116d2915050565b50600390960195909555509293505050509392505050565b61097361131f565b61098783836109818661075c565b8461176f565b50505050565b600080600080600061099d611428565b6001600160401b038816600090815260018201602090815260408083206001600160a01b038b1684529091529020805465ffffffffffff81169750919250906109f590600160301b90046001600160701b03166119ce565b979a9199509750945050505050565b610a0c61131f565b6107ba82826119f1565b600080610a21611428565b600084815260028201602052604090205490915065ffffffffffff16610a4681611aa3565b610a505780610a53565b60005b949350505050565b600080610a66611428565b600093845260020160205250506040902054600160301b900463ffffffff1690565b600080610a93611428565b6001600160a01b0384166000908152602082905260409020600101549091506107a1906001600160701b031661144c565b610acc61131f565b6107ba8282611ad2565b600080610ae1611428565b6001600160401b039384166000908152600191820160205260409020015490921692915050565b600080610b13611428565b6001600160a01b0385166000908152602091825260408082206001600160e01b03198716835290925220546001600160401b03169150505b92915050565b610b5961131f565b6001600160401b0383161580610b7757506001600160401b03838116145b15610ba05760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610bdb9291906129f2565b60405180910390a2505050565b60005460ff1615610c465760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765723a20616c726561647920696e697469616c697a604482015261195960f21b60648201526084016108a2565b6001600160a01b038116610c7057604051630409d6d160e11b8152600060048201526024016108a2565b610c7e60008260008061176f565b50506000805460ff19166001179055565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610cd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf49190612a06565b6001600160e01b03191614610d2757604051630641fee960e31b81526001600160a01b03821660048201526024016108a2565b61071c610d3685838686610d86565b61157c565b600080610d46611428565b6001600160a01b0390931660009081526020939093525050604090206001015460ff600160701b9091041690565b610d7c61131f565b6107ba8282611b92565b600084848484604051602001610d9f9493929190612a23565b604051602081830303815290604052805190602001209050949350505050565b6060816001600160401b03811115610dd957610dd9612a50565b604051908082528060200260200182016040528015610e0c57816020015b6060815260200190600190039081610df75790505b50905060005b82811015610eac57610e7c30858584818110610e3057610e30612967565b9050602002810190610e429190612a66565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611cbf92505050565b828281518110610e8e57610e8e612967565b60200260200101819052508080610ea4906129b0565b915050610e12565b5092915050565b600080610ebf84610d3b565b15610ecf57506000905080610f32565b306001600160a01b03861603610ef457610ee98484611d35565b600091509150610f32565b6000610f008585610b08565b9050600080610f0f8389610f51565b9150915081610f2057600080610f2a565b63ffffffff811615815b945094505050505b935093915050565b610f4261131f565b610f4c8282611d5a565b505050565b60008067fffffffffffffffe196001600160401b03851601610f795750600190506000610fc7565b600080610f86868661098d565b5050915091508165ffffffffffff16600014158015610fbc5750610fa8611e59565b65ffffffffffff168265ffffffffffff1611155b93509150610fc79050565b9250929050565b610fd661131f565b6107ba8282611e69565b600080610feb611428565b9050336000610ffa8686611564565b9050600061100a89898989610d86565b600081815260028601602052604081205491925065ffffffffffff909116900361104a5760405163060a299b60e41b8152600481018290526024016108a2565b826001600160a01b0316896001600160a01b0316146110e6576000611070600085610f51565b509050600061108b6110856102308c87610b08565b86610f51565b5090508115801561109a575080155b156110e357604051630ff89d4760e21b81526001600160a01b038087166004830152808d1660248301528b1660448201526001600160e01b0319851660648201526084016108a2565b50505b6000818152600285016020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a39998505050505050505050565b6000806000611158611428565b9050336000611169828a8a8a611511565b91505060008163ffffffff1661117d611e59565b6111879190612aac565b905063ffffffff821615806111be575060008765ffffffffffff161180156111be57508065ffffffffffff168765ffffffffffff16105b156111cf57828a6108698b8b611564565b6111e98765ffffffffffff168265ffffffffffff16611f35565b96506111f7838b8b8b610d86565b955061120286611f4b565b83600201600087815260200190815260200160002060000160069054906101000a900463ffffffff1660010194508684600201600088815260200190815260200160002060000160006101000a81548165ffffffffffff021916908365ffffffffffff1602179055508484600201600088815260200190815260200160002060000160066101000a81548163ffffffff021916908363ffffffff1602179055508463ffffffff16867f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b489868e8e8e6040516112e1959493929190612acb565b60405180910390a35050505094509492505050565b6001600160a01b0381163314610f4257604051635f159e6360e01b815260040160405180910390fd5b3360008061132e838236611fa7565b9150915081610f4c578063ffffffff1660000361138a576000611351813661205f565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b038216602482015290925060440190506108a2565b610987610d368430600036610d86565b60006113a4611428565b6001600160a01b0385166000818152602083815260408083206001600160e01b0319891680855290835292819020805467ffffffffffffffff19166001600160401b03891690811790915590519283529394507f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a350505050565b7f40c6c8c28789853c7efd823ab20824bbd71718a8a5915e855f6f288c9a26ad0090565b600080611461836001600160701b03166119ce565b5090949350505050565b6000611475611428565b9050306001600160a01b038416036114ab57604051630b40d17960e31b81526001600160a01b03841660048201526024016108a2565b6001600160a01b038316600081815260208390526040908190206001018054851515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610bdb90851515815260200190565b600080306001600160a01b038616036115385761152f868585611fa7565b9150915061155b565b600483106115545761154f86866105b78787611564565b61152f565b5060009050805b94509492505050565b60006115736004828486612b11565b6107a191612b3b565b600080611587611428565b600084815260028201602052604081205491925065ffffffffffff821691600160301b900463ffffffff16908290036115d65760405163060a299b60e41b8152600481018690526024016108a2565b6115de611e59565b65ffffffffffff168265ffffffffffff16111561161157604051630c65b5bd60e11b8152600481018690526024016108a2565b61161a82611aa3565b1561163b57604051631e2975b960e21b8152600481018690526024016108a2565b6000858152600284016020526040808220805465ffffffffffff191690555163ffffffff83169187917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a3949350505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156116f75760405163cd78605960e01b81523060048201526024016108a2565b600080856001600160a01b031684866040516117139190612b6b565b60006040518083038185875af1925050503d8060008114611750576040519150601f19603f3d011682016040523d82523d6000602084013e611755565b606091505b509150915061176586838361222b565b9695505050505050565b60008061177a611428565b905067fffffffffffffffe196001600160401b038716016117b95760405163061c6a4360e21b81526001600160401b03871660048201526024016108a2565b6001600160401b038616600090815260018201602090815260408083206001600160a01b038916845290915281205465ffffffffffff16159081156118af578563ffffffff16611807611e59565b6118119190612aac565b905060405180604001604052808265ffffffffffff16815260200161183f8763ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b038a16600090815260018601602090815260408083206001600160a01b038d1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff9091161791909117905561195f565b6001600160401b038816600090815260018401602090815260408083206001600160a01b038b1684529091528120546118fb91600160301b9091046001600160701b0316908790612287565b6001600160401b038a16600090815260018601602090815260408083206001600160a01b038d168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8716815265ffffffffffff831660208201528315158183015290516001600160a01b038916916001600160401b038b16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a3509695505050505050565b60008060006119e4846119df611e59565b612331565b9250925092509193909250565b60006119fb611428565b90506001600160401b0383161580611a1b57506001600160401b03838116145b15611a445760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b6001600160401b03838116600081815260018481016020526040808320909101805467ffffffffffffffff19169487169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a3505050565b6000611aad611e59565b65ffffffffffff16611ac262093a8084612aac565b65ffffffffffff16111592915050565b6000611adc611428565b90506001600160401b0383161580611afc57506001600160401b03838116145b15611b255760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b6001600160401b0383811660008181526001848101602052604080832090910180546fffffffffffffffff00000000000000001916600160401b958816958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a3505050565b6000611b9c611428565b905067fffffffffffffffe196001600160401b03841601611bdb5760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b6001600160401b03831660009081526001828101602052604082200154611c1690600160801b90046001600160701b03168462069780612287565b6001600160401b038616600081815260018087016020526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890611cb1908690859063ffffffff92909216825265ffffffffffff16602082015260400190565b60405180910390a250505050565b6060600080846001600160a01b031684604051611cdc9190612b6b565b600060405180830381855af49150503d8060008114611d17576040519150601f19603f3d011682016040523d82523d6000602084013e611d1c565b606091505b5091509150611d2c85838361222b565b95945050505050565b600080611d40611428565b9050611d4c8484611690565b600390910154149392505050565b600080611d65611428565b905067fffffffffffffffe196001600160401b03851601611da45760405163061c6a4360e21b81526001600160401b03851660048201526024016108a2565b6001600160401b038416600090815260018201602090815260408083206001600160a01b038716845290915281205465ffffffffffff169003611deb576000915050610b4b565b6001600160401b038416600081815260018301602090815260408083206001600160a01b038816808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a35060019392505050565b6000611e6442612385565b905090565b6000611e73611428565b90506000611eab83620697806001600160a01b0387166000908152602086905260409020600101546001600160701b03169190612287565b6001600160a01b0386166000818152602086815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8816815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101611cb1565b6000818311611f4457816107a1565b5090919050565b6000611f55611428565b600083815260028201602052604090205490915065ffffffffffff168015801590611f865750611f8481611aa3565b155b15610f4c5760405163813e945960e01b8152600481018490526024016108a2565b6000806004831015611fbe57506000905080610f32565b306001600160a01b03861603611fe157610ee930611fdc8686611564565b611d35565b6000806000611ff0878761205f565b9250925092508261200a5760008094509450505050610f32565b600080612017848b610f51565b915091508161203157600080965096505050505050610f32565b6120478363ffffffff168263ffffffff16611f35565b63ffffffff8116159b909a5098505050505050505050565b60008080600484101561207a57506000915081905080612224565b60006120868686611564565b90506001600160e01b031981166310a6aa3760e31b14806120b757506001600160e01b031981166330cae18760e01b145b806120d257506001600160e01b0319811663294b14a960e11b145b806120ed57506001600160e01b03198116635326cae760e11b145b8061210857506001600160e01b0319811663d22b598960e01b145b1561211e57600160008093509350935050612224565b6001600160e01b0319811663063fc60f60e21b148061214d57506001600160e01b0319811663167bd39560e01b145b8061216857506001600160e01b031981166308d6122d60e01b145b156121aa57600061217d60246004888a612b11565b81019061218a91906126a0565b9050600061219782610a88565b6001965060009550935061222492505050565b6001600160e01b0319811663012e238d60e51b14806121d957506001600160e01b03198116635be958b160e11b145b156122175760006121ee60246004888a612b11565b8101906121fb91906124c3565b9050600161220882610ad6565b60009450945094505050612224565b6000806000935093509350505b9250925092565b6060826122405761223b826123bc565b6107a1565b815115801561225757506001600160a01b0384163b155b1561228057604051639996b31560e01b81526001600160a01b03851660048201526024016108a2565b50806107a1565b600080600061229e866001600160701b031661144c565b905060006122db8563ffffffff168763ffffffff168463ffffffff16116122c65760006122d0565b6122d08885612b87565b63ffffffff16611f35565b90508063ffffffff166122ec611e59565b6122f69190612aac565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b6000808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c811690871681111561237057828282612375565b816000805b9550955095505050509250925092565b600065ffffffffffff8211156123b8576040516306dfcc6560e41b815260306004820152602481018390526044016108a2565b5090565b8051156123cc5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b03811681146123e557600080fd5b60008083601f84011261240f57600080fd5b5081356001600160401b0381111561242657600080fd5b6020830191508360208260051b8501011115610fc757600080fd5b80356001600160401b038116811461245857600080fd5b919050565b6000806000806060858703121561247357600080fd5b843561247e816123e8565b935060208501356001600160401b0381111561249957600080fd5b6124a5878288016123fd565b90945092506124b8905060408601612441565b905092959194509250565b6000602082840312156124d557600080fd5b6107a182612441565b600080604083850312156124f157600080fd5b82356124fc816123e8565b91506020830135801515811461251157600080fd5b809150509250929050565b6000806040838503121561252f57600080fd5b823561253a816123e8565b91506020830135612511816123e8565b60008083601f84011261255c57600080fd5b5081356001600160401b0381111561257357600080fd5b602083019150836020828501011115610fc757600080fd5b6000806000604084860312156125a057600080fd5b83356125ab816123e8565b925060208401356001600160401b038111156125c657600080fd5b6125d28682870161254a565b9497909650939450505050565b803563ffffffff8116811461245857600080fd5b60008060006060848603121561260857600080fd5b61261184612441565b92506020840135612621816123e8565b915061262f604085016125df565b90509250925092565b6000806040838503121561264b57600080fd5b61253a83612441565b6000806040838503121561266757600080fd5b61267083612441565b915061267e60208401612441565b90509250929050565b60006020828403121561269957600080fd5b5035919050565b6000602082840312156126b257600080fd5b81356107a1816123e8565b6001600160e01b0319811681146123e557600080fd5b600080604083850312156126e657600080fd5b82356126f1816123e8565b91506020830135612511816126bd565b60008060006040848603121561271657600080fd5b6125ab84612441565b6000806040838503121561273257600080fd5b61273b83612441565b915061267e602084016125df565b6000806000806060858703121561275f57600080fd5b843561276a816123e8565b9350602085013561277a816123e8565b925060408501356001600160401b0381111561279557600080fd5b6127a18782880161254a565b95989497509550505050565b600080602083850312156127c057600080fd5b82356001600160401b038111156127d657600080fd5b6127e2858286016123fd565b90969095509350505050565b60005b838110156128095781810151838201526020016127f1565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561287f57878503603f1901845281518051808752612860818989018a85016127ee565b601f01601f191695909501860194509285019290850190600101612839565b5092979650505050505050565b6000806000606084860312156128a157600080fd5b83356128ac816123e8565b925060208401356128bc816123e8565b915060408401356128cc816126bd565b809150509250925092565b600080604083850312156128ea57600080fd5b823561273b816123e8565b6000806000806060858703121561290b57600080fd5b8435612916816123e8565b935060208501356001600160401b0381111561293157600080fd5b61293d8782880161254a565b909450925050604085013565ffffffffffff8116811461295c57600080fd5b939692955090935050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561298f57600080fd5b81356107a1816126bd565b634e487b7160e01b600052601160045260246000fd5b6000600182016129c2576129c261299a565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b602081526000610a536020830184866129c9565b600060208284031215612a1857600080fd5b81516107a1816126bd565b6001600160a01b0385811682528416602082015260606040820181905260009061176590830184866129c9565b634e487b7160e01b600052604160045260246000fd5b6000808335601e19843603018112612a7d57600080fd5b8301803591506001600160401b03821115612a9757600080fd5b602001915036819003821315610fc757600080fd5b65ffffffffffff818116838216019080821115610eac57610eac61299a565b65ffffffffffff861681526001600160a01b03858116602083015284166040820152608060608201819052600090612b0690830184866129c9565b979650505050505050565b60008085851115612b2157600080fd5b83861115612b2e57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b635780818660040360031b1b83161692505b505092915050565b60008251612b7d8184602087016127ee565b9190910192915050565b63ffffffff828116828216039080821115610eac57610eac61299a56fea2646970667358221220b562b50c04487a857c2db71e3602c5c6dae802455fd71ab90df7d5b8192f622b64736f6c63430008140033",
1203
+ "deployedBytecode": "0x6080604052600436106101ee5760003560e01c80636d5115bd1161010d578063ac9650d8116100a0578063d1f856ee1161006f578063d1f856ee1461060e578063d22b59891461062e578063d6bb62c61461064e578063f801a6981461066e578063fe0776f5146106a857600080fd5b8063ac9650d81461056f578063b70096131461059c578063b7d2b162146105d8578063cc1b6c81146105f857600080fd5b806394c7d7ee116100dc57806394c7d7ee146104d1578063a166aa89146104f1578063a64d95ce14610521578063abd9bd2a1461054157600080fd5b80636d5115bd1461045c57806375b238fc1461047c578063853551b814610491578063881fed84146104b157600080fd5b806330cae187116101855780634665096d116101545780634665096d146103e65780634c1da1e2146103fc578063529629521461041c578063530dd4561461043c57600080fd5b806330cae187146103545780633adc277a146103745780633ca7c02a146103ab5780634136a33c146103c657600080fd5b806318ff183c116101c157806318ff183c146102a75780631cff79cd146102c757806325c471a0146102da5780633078f114146102fa57600080fd5b806308d6122d146101f35780630b0a93ba1461021557806312be872714610252578063167bd39514610287575b600080fd5b3480156101ff57600080fd5b5061021361020e36600461245d565b6106c8565b005b34801561022157600080fd5b506102356102303660046124c3565b610723565b6040516001600160401b0390911681526020015b60405180910390f35b34801561025e57600080fd5b5061027261026d3660046124c3565b61075c565b60405163ffffffff9091168152602001610249565b34801561029357600080fd5b506102136102a23660046124de565b6107a8565b3480156102b357600080fd5b506102136102c236600461251c565b6107be565b6102726102d536600461258b565b610825565b3480156102e657600080fd5b506102136102f53660046125f3565b61096b565b34801561030657600080fd5b5061031a610315366004612638565b61098d565b604051610249949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561036057600080fd5b5061021361036f366004612654565b610a04565b34801561038057600080fd5b5061039461038f366004612687565b610a16565b60405165ffffffffffff9091168152602001610249565b3480156103b757600080fd5b506102356001600160401b0381565b3480156103d257600080fd5b506102726103e1366004612687565b610a5b565b3480156103f257600080fd5b5062093a80610272565b34801561040857600080fd5b506102726104173660046126a0565b610a88565b34801561042857600080fd5b50610213610437366004612654565b610ac4565b34801561044857600080fd5b506102356104573660046124c3565b610ad6565b34801561046857600080fd5b506102356104773660046126d3565b610b08565b34801561048857600080fd5b50610235600081565b34801561049d57600080fd5b506102136104ac366004612701565b610b51565b3480156104bd57600080fd5b506102136104cc3660046126a0565b610be8565b3480156104dd57600080fd5b506102136104ec36600461258b565b610c8f565b3480156104fd57600080fd5b5061051161050c3660046126a0565b610d3b565b6040519015158152602001610249565b34801561052d57600080fd5b5061021361053c36600461271f565b610d74565b34801561054d57600080fd5b5061056161055c366004612749565b610d86565b604051908152602001610249565b34801561057b57600080fd5b5061058f61058a3660046127ad565b610dbf565b6040516102499190612812565b3480156105a857600080fd5b506105bc6105b736600461288c565b610eb3565b60408051921515835263ffffffff909116602083015201610249565b3480156105e457600080fd5b506102136105f3366004612638565b610f3a565b34801561060457600080fd5b5062069780610272565b34801561061a57600080fd5b506105bc610629366004612638565b610f51565b34801561063a57600080fd5b506102136106493660046128d7565b610fce565b34801561065a57600080fd5b50610272610669366004612749565b610fe0565b34801561067a57600080fd5b5061068e6106893660046128f5565b61114b565b6040805192835263ffffffff909116602083015201610249565b3480156106b457600080fd5b506102136106c3366004612638565b6112f6565b6106d061131f565b60005b8281101561071c5761070c858585848181106106f1576106f1612967565b9050602002016020810190610706919061297d565b8461139a565b610715816129b0565b90506106d3565b5050505050565b60008061072e611428565b6001600160401b0393841660009081526001918201602052604090200154600160401b900490921692915050565b600080610767611428565b6001600160401b03841660009081526001828101602052604090912001549091506107a190600160801b90046001600160701b031661144c565b9392505050565b6107b061131f565b6107ba828261146b565b5050565b6107c661131f565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b90602401600060405180830381600087803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b505050505050565b600080610830611428565b90503360008061084283898989611511565b9150915081158015610858575063ffffffff8116155b156108ab5782886108698989611564565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b60006108b9848a8a8a610d86565b9050600063ffffffff83161515806108e057506108d582610a16565b65ffffffffffff1615155b156108f1576108ee8261157c565b90505b60038601546109098b6109048c8c611564565b611690565b87600301819055506109538b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152503492506116d2915050565b50600390960195909555509293505050509392505050565b61097361131f565b61098783836109818661075c565b8461176f565b50505050565b600080600080600061099d611428565b6001600160401b038816600090815260018201602090815260408083206001600160a01b038b1684529091529020805465ffffffffffff81169750919250906109f590600160301b90046001600160701b03166119ce565b979a9199509750945050505050565b610a0c61131f565b6107ba82826119f1565b600080610a21611428565b600084815260028201602052604090205490915065ffffffffffff16610a4681611aa3565b610a505780610a53565b60005b949350505050565b600080610a66611428565b600093845260020160205250506040902054600160301b900463ffffffff1690565b600080610a93611428565b6001600160a01b0384166000908152602082905260409020600101549091506107a1906001600160701b031661144c565b610acc61131f565b6107ba8282611ad2565b600080610ae1611428565b6001600160401b039384166000908152600191820160205260409020015490921692915050565b600080610b13611428565b6001600160a01b0385166000908152602091825260408082206001600160e01b03198716835290925220546001600160401b03169150505b92915050565b610b5961131f565b6001600160401b0383161580610b7757506001600160401b03838116145b15610ba05760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610bdb9291906129f2565b60405180910390a2505050565b60005460ff1615610c465760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765723a20616c726561647920696e697469616c697a604482015261195960f21b60648201526084016108a2565b6001600160a01b038116610c7057604051630409d6d160e11b8152600060048201526024016108a2565b610c7e60008260008061176f565b50506000805460ff19166001179055565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610cd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf49190612a06565b6001600160e01b03191614610d2757604051630641fee960e31b81526001600160a01b03821660048201526024016108a2565b61071c610d3685838686610d86565b61157c565b600080610d46611428565b6001600160a01b0390931660009081526020939093525050604090206001015460ff600160701b9091041690565b610d7c61131f565b6107ba8282611b92565b600084848484604051602001610d9f9493929190612a23565b604051602081830303815290604052805190602001209050949350505050565b6060816001600160401b03811115610dd957610dd9612a50565b604051908082528060200260200182016040528015610e0c57816020015b6060815260200190600190039081610df75790505b50905060005b82811015610eac57610e7c30858584818110610e3057610e30612967565b9050602002810190610e429190612a66565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611cbf92505050565b828281518110610e8e57610e8e612967565b60200260200101819052508080610ea4906129b0565b915050610e12565b5092915050565b600080610ebf84610d3b565b15610ecf57506000905080610f32565b306001600160a01b03861603610ef457610ee98484611d35565b600091509150610f32565b6000610f008585610b08565b9050600080610f0f8389610f51565b9150915081610f2057600080610f2a565b63ffffffff811615815b945094505050505b935093915050565b610f4261131f565b610f4c8282611d5a565b505050565b60008067fffffffffffffffe196001600160401b03851601610f795750600190506000610fc7565b600080610f86868661098d565b5050915091508165ffffffffffff16600014158015610fbc5750610fa8611e59565b65ffffffffffff168265ffffffffffff1611155b93509150610fc79050565b9250929050565b610fd661131f565b6107ba8282611e69565b600080610feb611428565b9050336000610ffa8686611564565b9050600061100a89898989610d86565b600081815260028601602052604081205491925065ffffffffffff909116900361104a5760405163060a299b60e41b8152600481018290526024016108a2565b826001600160a01b0316896001600160a01b0316146110e6576000611070600085610f51565b509050600061108b6110856102308c87610b08565b86610f51565b5090508115801561109a575080155b156110e357604051630ff89d4760e21b81526001600160a01b038087166004830152808d1660248301528b1660448201526001600160e01b0319851660648201526084016108a2565b50505b6000818152600285016020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a39998505050505050505050565b6000806000611158611428565b9050336000611169828a8a8a611511565b91505060008163ffffffff1661117d611e59565b6111879190612aac565b905063ffffffff821615806111be575060008765ffffffffffff161180156111be57508065ffffffffffff168765ffffffffffff16105b156111cf57828a6108698b8b611564565b6111e98765ffffffffffff168265ffffffffffff16611f35565b96506111f7838b8b8b610d86565b955061120286611f4b565b83600201600087815260200190815260200160002060000160069054906101000a900463ffffffff1660010194508684600201600088815260200190815260200160002060000160006101000a81548165ffffffffffff021916908365ffffffffffff1602179055508484600201600088815260200190815260200160002060000160066101000a81548163ffffffff021916908363ffffffff1602179055508463ffffffff16867f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b489868e8e8e6040516112e1959493929190612acb565b60405180910390a35050505094509492505050565b6001600160a01b0381163314610f4257604051635f159e6360e01b815260040160405180910390fd5b3360008061132e838236611fa7565b9150915081610f4c578063ffffffff1660000361138a576000611351813661205f565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b038216602482015290925060440190506108a2565b610987610d368430600036610d86565b60006113a4611428565b6001600160a01b0385166000818152602083815260408083206001600160e01b0319891680855290835292819020805467ffffffffffffffff19166001600160401b03891690811790915590519283529394507f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a350505050565b7f40c6c8c28789853c7efd823ab20824bbd71718a8a5915e855f6f288c9a26ad0090565b600080611461836001600160701b03166119ce565b5090949350505050565b6000611475611428565b9050306001600160a01b038416036114ab57604051630b40d17960e31b81526001600160a01b03841660048201526024016108a2565b6001600160a01b038316600081815260208390526040908190206001018054851515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610bdb90851515815260200190565b600080306001600160a01b038616036115385761152f868585611fa7565b9150915061155b565b600483106115545761154f86866105b78787611564565b61152f565b5060009050805b94509492505050565b60006115736004828486612b11565b6107a191612b3b565b600080611587611428565b600084815260028201602052604081205491925065ffffffffffff821691600160301b900463ffffffff16908290036115d65760405163060a299b60e41b8152600481018690526024016108a2565b6115de611e59565b65ffffffffffff168265ffffffffffff16111561161157604051630c65b5bd60e11b8152600481018690526024016108a2565b61161a82611aa3565b1561163b57604051631e2975b960e21b8152600481018690526024016108a2565b6000858152600284016020526040808220805465ffffffffffff191690555163ffffffff83169187917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a3949350505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156116f75760405163cd78605960e01b81523060048201526024016108a2565b600080856001600160a01b031684866040516117139190612b6b565b60006040518083038185875af1925050503d8060008114611750576040519150601f19603f3d011682016040523d82523d6000602084013e611755565b606091505b509150915061176586838361222b565b9695505050505050565b60008061177a611428565b905067fffffffffffffffe196001600160401b038716016117b95760405163061c6a4360e21b81526001600160401b03871660048201526024016108a2565b6001600160401b038616600090815260018201602090815260408083206001600160a01b038916845290915281205465ffffffffffff16159081156118af578563ffffffff16611807611e59565b6118119190612aac565b905060405180604001604052808265ffffffffffff16815260200161183f8763ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b038a16600090815260018601602090815260408083206001600160a01b038d1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff9091161791909117905561195f565b6001600160401b038816600090815260018401602090815260408083206001600160a01b038b1684529091528120546118fb91600160301b9091046001600160701b0316908790612287565b6001600160401b038a16600090815260018601602090815260408083206001600160a01b038d168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8716815265ffffffffffff831660208201528315158183015290516001600160a01b038916916001600160401b038b16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a3509695505050505050565b60008060006119e4846119df611e59565b612331565b9250925092509193909250565b60006119fb611428565b90506001600160401b0383161580611a1b57506001600160401b03838116145b15611a445760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b6001600160401b03838116600081815260018481016020526040808320909101805467ffffffffffffffff19169487169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a3505050565b6000611aad611e59565b65ffffffffffff16611ac262093a8084612aac565b65ffffffffffff16111592915050565b6000611adc611428565b90506001600160401b0383161580611afc57506001600160401b03838116145b15611b255760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b6001600160401b0383811660008181526001848101602052604080832090910180546fffffffffffffffff00000000000000001916600160401b958816958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a3505050565b6000611b9c611428565b905067fffffffffffffffe196001600160401b03841601611bdb5760405163061c6a4360e21b81526001600160401b03841660048201526024016108a2565b6001600160401b03831660009081526001828101602052604082200154611c1690600160801b90046001600160701b03168462069780612287565b6001600160401b038616600081815260018087016020526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890611cb1908690859063ffffffff92909216825265ffffffffffff16602082015260400190565b60405180910390a250505050565b6060600080846001600160a01b031684604051611cdc9190612b6b565b600060405180830381855af49150503d8060008114611d17576040519150601f19603f3d011682016040523d82523d6000602084013e611d1c565b606091505b5091509150611d2c85838361222b565b95945050505050565b600080611d40611428565b9050611d4c8484611690565b600390910154149392505050565b600080611d65611428565b905067fffffffffffffffe196001600160401b03851601611da45760405163061c6a4360e21b81526001600160401b03851660048201526024016108a2565b6001600160401b038416600090815260018201602090815260408083206001600160a01b038716845290915281205465ffffffffffff169003611deb576000915050610b4b565b6001600160401b038416600081815260018301602090815260408083206001600160a01b038816808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a35060019392505050565b6000611e6442612385565b905090565b6000611e73611428565b90506000611eab83620697806001600160a01b0387166000908152602086905260409020600101546001600160701b03169190612287565b6001600160a01b0386166000818152602086815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8816815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101611cb1565b6000818311611f4457816107a1565b5090919050565b6000611f55611428565b600083815260028201602052604090205490915065ffffffffffff168015801590611f865750611f8481611aa3565b155b15610f4c5760405163813e945960e01b8152600481018490526024016108a2565b6000806004831015611fbe57506000905080610f32565b306001600160a01b03861603611fe157610ee930611fdc8686611564565b611d35565b6000806000611ff0878761205f565b9250925092508261200a5760008094509450505050610f32565b600080612017848b610f51565b915091508161203157600080965096505050505050610f32565b6120478363ffffffff168263ffffffff16611f35565b63ffffffff8116159b909a5098505050505050505050565b60008080600484101561207a57506000915081905080612224565b60006120868686611564565b90506001600160e01b031981166310a6aa3760e31b14806120b757506001600160e01b031981166330cae18760e01b145b806120d257506001600160e01b0319811663294b14a960e11b145b806120ed57506001600160e01b03198116635326cae760e11b145b8061210857506001600160e01b0319811663d22b598960e01b145b1561211e57600160008093509350935050612224565b6001600160e01b0319811663063fc60f60e21b148061214d57506001600160e01b0319811663167bd39560e01b145b8061216857506001600160e01b031981166308d6122d60e01b145b156121aa57600061217d60246004888a612b11565b81019061218a91906126a0565b9050600061219782610a88565b6001965060009550935061222492505050565b6001600160e01b0319811663012e238d60e51b14806121d957506001600160e01b03198116635be958b160e11b145b156122175760006121ee60246004888a612b11565b8101906121fb91906124c3565b9050600161220882610ad6565b60009450945094505050612224565b6000806000935093509350505b9250925092565b6060826122405761223b826123bc565b6107a1565b815115801561225757506001600160a01b0384163b155b1561228057604051639996b31560e01b81526001600160a01b03851660048201526024016108a2565b50806107a1565b600080600061229e866001600160701b031661144c565b905060006122db8563ffffffff168763ffffffff168463ffffffff16116122c65760006122d0565b6122d08885612b87565b63ffffffff16611f35565b90508063ffffffff166122ec611e59565b6122f69190612aac565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b6000808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c811690871681111561237057828282612375565b816000805b9550955095505050509250925092565b600065ffffffffffff8211156123b8576040516306dfcc6560e41b815260306004820152602481018390526044016108a2565b5090565b8051156123cc5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b03811681146123e557600080fd5b60008083601f84011261240f57600080fd5b5081356001600160401b0381111561242657600080fd5b6020830191508360208260051b8501011115610fc757600080fd5b80356001600160401b038116811461245857600080fd5b919050565b6000806000806060858703121561247357600080fd5b843561247e816123e8565b935060208501356001600160401b0381111561249957600080fd5b6124a5878288016123fd565b90945092506124b8905060408601612441565b905092959194509250565b6000602082840312156124d557600080fd5b6107a182612441565b600080604083850312156124f157600080fd5b82356124fc816123e8565b91506020830135801515811461251157600080fd5b809150509250929050565b6000806040838503121561252f57600080fd5b823561253a816123e8565b91506020830135612511816123e8565b60008083601f84011261255c57600080fd5b5081356001600160401b0381111561257357600080fd5b602083019150836020828501011115610fc757600080fd5b6000806000604084860312156125a057600080fd5b83356125ab816123e8565b925060208401356001600160401b038111156125c657600080fd5b6125d28682870161254a565b9497909650939450505050565b803563ffffffff8116811461245857600080fd5b60008060006060848603121561260857600080fd5b61261184612441565b92506020840135612621816123e8565b915061262f604085016125df565b90509250925092565b6000806040838503121561264b57600080fd5b61253a83612441565b6000806040838503121561266757600080fd5b61267083612441565b915061267e60208401612441565b90509250929050565b60006020828403121561269957600080fd5b5035919050565b6000602082840312156126b257600080fd5b81356107a1816123e8565b6001600160e01b0319811681146123e557600080fd5b600080604083850312156126e657600080fd5b82356126f1816123e8565b91506020830135612511816126bd565b60008060006040848603121561271657600080fd5b6125ab84612441565b6000806040838503121561273257600080fd5b61273b83612441565b915061267e602084016125df565b6000806000806060858703121561275f57600080fd5b843561276a816123e8565b9350602085013561277a816123e8565b925060408501356001600160401b0381111561279557600080fd5b6127a18782880161254a565b95989497509550505050565b600080602083850312156127c057600080fd5b82356001600160401b038111156127d657600080fd5b6127e2858286016123fd565b90969095509350505050565b60005b838110156128095781810151838201526020016127f1565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561287f57878503603f1901845281518051808752612860818989018a85016127ee565b601f01601f191695909501860194509285019290850190600101612839565b5092979650505050505050565b6000806000606084860312156128a157600080fd5b83356128ac816123e8565b925060208401356128bc816123e8565b915060408401356128cc816126bd565b809150509250925092565b600080604083850312156128ea57600080fd5b823561273b816123e8565b6000806000806060858703121561290b57600080fd5b8435612916816123e8565b935060208501356001600160401b0381111561293157600080fd5b61293d8782880161254a565b909450925050604085013565ffffffffffff8116811461295c57600080fd5b939692955090935050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561298f57600080fd5b81356107a1816126bd565b634e487b7160e01b600052601160045260246000fd5b6000600182016129c2576129c261299a565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b602081526000610a536020830184866129c9565b600060208284031215612a1857600080fd5b81516107a1816126bd565b6001600160a01b0385811682528416602082015260606040820181905260009061176590830184866129c9565b634e487b7160e01b600052604160045260246000fd5b6000808335601e19843603018112612a7d57600080fd5b8301803591506001600160401b03821115612a9757600080fd5b602001915036819003821315610fc757600080fd5b65ffffffffffff818116838216019080821115610eac57610eac61299a565b65ffffffffffff861681526001600160a01b03858116602083015284166040820152608060608201819052600090612b0690830184866129c9565b979650505050505050565b60008085851115612b2157600080fd5b83861115612b2e57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b635780818660040360031b1b83161692505b505092915050565b60008251612b7d8184602087016127ee565b9190910192915050565b63ffffffff828116828216039080821115610eac57610eac61299a56fea2646970667358221220b562b50c04487a857c2db71e3602c5c6dae802455fd71ab90df7d5b8192f622b64736f6c63430008140033",
1204
+ "linkReferences": {},
1205
+ "deployedLinkReferences": {}
1206
+ }