@etherisc/gif-next 0.0.2-f752d2a-551 → 0.0.2-f7b8c9f-436

Sign up to get free protection for your applications and to get access to all the features.
Files changed (282) hide show
  1. package/README.md +71 -0
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +166 -39
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +557 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +119 -39
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +177 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +108 -156
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +67 -139
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +417 -88
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +360 -51
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  36. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  37. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +913 -530
  38. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  39. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  40. package/artifacts/contracts/instance/Instance.sol/Instance.json +1043 -556
  41. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  42. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +224 -43
  43. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +51 -1
  45. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  47. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/IService.sol/IService.json +174 -53
  50. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +263 -45
  52. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  53. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +41 -23
  54. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  55. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  56. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
  57. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  58. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +220 -52
  59. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +55 -54
  64. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +56 -55
  67. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +22 -93
  69. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +22 -93
  72. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
  73. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
  74. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/{compensation/ICompensation.sol/ICompensation.json → distribution/IDistribution.sol/IDistribution.json} +2 -2
  76. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/{compensation/ICompensation.sol/ICompensationModule.json → distribution/IDistribution.sol/IDistributionModule.json} +2 -2
  78. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +61 -51
  81. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +61 -51
  83. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -14
  86. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -13
  88. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +104 -1
  91. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  92. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +126 -5
  93. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  94. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  95. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +326 -221
  96. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  98. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +326 -221
  100. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +350 -79
  102. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +630 -0
  104. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  105. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +176 -74
  106. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
  108. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  109. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +235 -50
  110. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  111. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +325 -51
  112. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  113. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +335 -53
  114. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  115. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +466 -71
  116. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
  118. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  119. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  120. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +298 -39
  122. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  123. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +745 -0
  124. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  126. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/Registry.sol/Registry.json +489 -120
  128. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  129. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +997 -0
  130. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +468 -0
  132. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  133. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  134. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  135. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  136. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  137. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  139. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  140. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  145. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  147. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  148. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  150. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  152. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
  153. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +557 -0
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  156. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestPool.sol/TestPool.json +417 -88
  158. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +407 -56
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  164. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestService.sol/TestService.json +267 -62
  166. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +89 -25
  171. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  172. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +50 -11
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  185. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
  186. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -0
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  196. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  198. package/contracts/components/BaseComponent.sol +12 -21
  199. package/contracts/components/Distribution.sol +155 -0
  200. package/contracts/components/IBaseComponent.sol +2 -2
  201. package/contracts/components/IDistributionComponent.sol +46 -0
  202. package/contracts/components/IPoolComponent.sol +15 -8
  203. package/contracts/components/IProductComponent.sol +26 -8
  204. package/contracts/components/Pool.sol +99 -27
  205. package/contracts/components/Product.sol +204 -22
  206. package/contracts/instance/IInstance.sol +12 -10
  207. package/contracts/instance/Instance.sol +28 -9
  208. package/contracts/instance/base/ComponentServiceBase.sol +13 -6
  209. package/contracts/instance/base/IInstanceBase.sol +11 -2
  210. package/contracts/instance/base/IKeyValueStore.sol +4 -3
  211. package/contracts/instance/base/InstanceBase.sol +19 -10
  212. package/contracts/instance/base/KeyValueStore.sol +12 -7
  213. package/contracts/instance/base/Lifecycle.sol +15 -10
  214. package/contracts/instance/base/ModuleBase.sol +22 -17
  215. package/contracts/instance/base/ServiceBase.sol +20 -13
  216. package/contracts/instance/module/access/Access.sol +3 -3
  217. package/contracts/instance/module/bundle/BundleModule.sol +10 -12
  218. package/contracts/instance/module/bundle/IBundle.sol +6 -11
  219. package/contracts/instance/module/component/ComponentModule.sol +34 -58
  220. package/contracts/instance/module/component/IComponent.sol +7 -32
  221. package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
  222. package/contracts/instance/module/distribution/IDistribution.sol +10 -0
  223. package/contracts/instance/module/policy/IPolicy.sol +13 -10
  224. package/contracts/instance/module/policy/PolicyModule.sol +35 -20
  225. package/contracts/instance/module/pool/IPoolModule.sol +4 -4
  226. package/contracts/instance/module/pool/PoolModule.sol +23 -15
  227. package/contracts/instance/module/risk/IRisk.sol +18 -2
  228. package/contracts/instance/module/risk/RiskModule.sol +56 -2
  229. package/contracts/instance/module/treasury/ITreasury.sol +32 -51
  230. package/contracts/instance/module/treasury/TokenHandler.sol +2 -2
  231. package/contracts/instance/module/treasury/TreasuryModule.sol +68 -89
  232. package/contracts/instance/service/ComponentOwnerService.sol +200 -95
  233. package/contracts/instance/service/DistributionService.sol +54 -0
  234. package/contracts/instance/service/IComponentOwnerService.sol +0 -2
  235. package/contracts/instance/service/IDistributionService.sol +12 -0
  236. package/contracts/instance/service/IPoolService.sol +7 -0
  237. package/contracts/instance/service/IProductService.sol +56 -7
  238. package/contracts/instance/service/PoolService.sol +49 -23
  239. package/contracts/instance/service/ProductService.sol +248 -92
  240. package/contracts/registry/ChainNft.sol +43 -15
  241. package/contracts/registry/IChainNft.sol +3 -2
  242. package/contracts/registry/IRegistry.sol +42 -26
  243. package/contracts/registry/IRegistryService.sol +29 -0
  244. package/contracts/registry/ITransferInterceptor.sol +6 -0
  245. package/contracts/registry/Registry.sol +384 -274
  246. package/contracts/registry/RegistryService.sol +368 -0
  247. package/contracts/registry/RegistryServiceManager.sol +43 -0
  248. package/contracts/shared/ContractDeployerLib.sol +72 -0
  249. package/contracts/shared/ERC165.sol +1 -1
  250. package/contracts/shared/INftOwnable.sol +22 -0
  251. package/contracts/shared/IRegisterable.sol +9 -16
  252. package/contracts/shared/IVersionable.sol +55 -11
  253. package/contracts/shared/NftOwnable.sol +136 -0
  254. package/contracts/shared/ProxyManager.sol +94 -0
  255. package/contracts/shared/Registerable.sol +62 -59
  256. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  257. package/contracts/shared/Versionable.sol +112 -54
  258. package/contracts/test/TestDistribution.sol +22 -0
  259. package/contracts/test/TestPool.sol +7 -2
  260. package/contracts/test/TestProduct.sol +37 -7
  261. package/contracts/test/TestRegisterable.sol +5 -6
  262. package/contracts/test/TestService.sol +5 -11
  263. package/contracts/types/Fee.sol +8 -3
  264. package/contracts/types/ObjectType.sol +24 -8
  265. package/contracts/types/ReferralId.sol +48 -0
  266. package/contracts/types/RiskId.sol +43 -0
  267. package/contracts/types/RoleId.sol +2 -2
  268. package/contracts/types/Version.sol +9 -0
  269. package/package.json +1 -1
  270. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  271. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  272. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  273. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  274. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  275. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  276. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  277. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  278. package/contracts/experiment/statemachine/README.md +0 -112
  279. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  280. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  281. package/contracts/registry/IRegistryLinked.sol +0 -8
  282. package/contracts/shared/IOwnable.sol +0 -6
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
3
+ "buildInfo": "../../../build-info/012ca89f3ac4e827547ee6f4d256fa06.json"
4
4
  }
@@ -14,6 +14,130 @@
14
14
  "stateMutability": "nonpayable",
15
15
  "type": "constructor"
16
16
  },
17
+ {
18
+ "inputs": [],
19
+ "name": "ERC721EnumerableForbiddenBatchMint",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "sender",
27
+ "type": "address"
28
+ },
29
+ {
30
+ "internalType": "uint256",
31
+ "name": "tokenId",
32
+ "type": "uint256"
33
+ },
34
+ {
35
+ "internalType": "address",
36
+ "name": "owner",
37
+ "type": "address"
38
+ }
39
+ ],
40
+ "name": "ERC721IncorrectOwner",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "address",
47
+ "name": "operator",
48
+ "type": "address"
49
+ },
50
+ {
51
+ "internalType": "uint256",
52
+ "name": "tokenId",
53
+ "type": "uint256"
54
+ }
55
+ ],
56
+ "name": "ERC721InsufficientApproval",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "address",
63
+ "name": "approver",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "ERC721InvalidApprover",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "address",
74
+ "name": "operator",
75
+ "type": "address"
76
+ }
77
+ ],
78
+ "name": "ERC721InvalidOperator",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "address",
85
+ "name": "owner",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "ERC721InvalidOwner",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "receiver",
97
+ "type": "address"
98
+ }
99
+ ],
100
+ "name": "ERC721InvalidReceiver",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "address",
107
+ "name": "sender",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "name": "ERC721InvalidSender",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "uint256",
118
+ "name": "tokenId",
119
+ "type": "uint256"
120
+ }
121
+ ],
122
+ "name": "ERC721NonexistentToken",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "address",
129
+ "name": "owner",
130
+ "type": "address"
131
+ },
132
+ {
133
+ "internalType": "uint256",
134
+ "name": "index",
135
+ "type": "uint256"
136
+ }
137
+ ],
138
+ "name": "ERC721OutOfBoundsIndex",
139
+ "type": "error"
140
+ },
17
141
  {
18
142
  "anonymous": false,
19
143
  "inputs": [
@@ -292,14 +416,25 @@
292
416
  "name": "to",
293
417
  "type": "address"
294
418
  },
419
+ {
420
+ "internalType": "address",
421
+ "name": "interceptor",
422
+ "type": "address"
423
+ },
424
+ {
425
+ "internalType": "string",
426
+ "name": "uri",
427
+ "type": "string"
428
+ }
429
+ ],
430
+ "name": "mint",
431
+ "outputs": [
295
432
  {
296
433
  "internalType": "uint256",
297
434
  "name": "tokenId",
298
435
  "type": "uint256"
299
436
  }
300
437
  ],
301
- "name": "mint",
302
- "outputs": [],
303
438
  "stateMutability": "nonpayable",
304
439
  "type": "function"
305
440
  },
@@ -310,20 +445,14 @@
310
445
  "name": "to",
311
446
  "type": "address"
312
447
  },
313
- {
314
- "internalType": "string",
315
- "name": "uri",
316
- "type": "string"
317
- }
318
- ],
319
- "name": "mint",
320
- "outputs": [
321
448
  {
322
449
  "internalType": "uint256",
323
450
  "name": "tokenId",
324
451
  "type": "uint256"
325
452
  }
326
453
  ],
454
+ "name": "mint",
455
+ "outputs": [],
327
456
  "stateMutability": "nonpayable",
328
457
  "type": "function"
329
458
  },
@@ -590,8 +719,8 @@
590
719
  "type": "function"
591
720
  }
592
721
  ],
593
- "bytecode": "0x60806040523480156200001157600080fd5b506040516200222538038062002225833981016040819052620000349162000165565b604051806060016040528060298152602001620021fc602991396040805180820190915260048152632224a82960e11b602082015260006200007783826200023c565b5060016200008682826200023c565b5050506001600160a01b038116620000e45760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4e46542d3031303a52454749535452595f5a45524f0000000000604482015260640160405180910390fd5b600b80546001600160a01b0319166001600160a01b03831617905546600c819055620001109062000131565b600d8190556200012290600a6200041d565b600e55506003600f556200046a565b60005b811562000160578062000147816200042b565b9150620001589050600a8362000447565b915062000134565b919050565b6000602082840312156200017857600080fd5b81516001600160a01b03811681146200019057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c257607f821691505b602082108103620001e357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023757600081815260208120601f850160051c81016020861015620002125750805b601f850160051c820191505b8181101562000233578281556001016200021e565b5050505b505050565b81516001600160401b0381111562000258576200025862000197565b6200027081620002698454620001ad565b84620001e9565b602080601f831160018114620002a857600084156200028f5750858301515b600019600386901b1c1916600185901b17855562000233565b600085815260208120601f198616915b82811015620002d957888601518255948401946001909101908401620002b8565b5085821015620002f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200035f57816000190482111562000343576200034362000308565b808516156200035157918102915b93841c939080029062000323565b509250929050565b600082620003785750600162000417565b81620003875750600062000417565b8160018114620003a05760028114620003ab57620003cb565b600191505062000417565b60ff841115620003bf57620003bf62000308565b50506001821b62000417565b5060208310610133831016604e8410600b8410161715620003f0575081810a62000417565b620003fc83836200031e565b806000190482111562000413576200041362000308565b0290505b92915050565b600062000190838362000367565b60006001820162000440576200044062000308565b5060010190565b6000826200046557634e487b7160e01b600052601260045260246000fd5b500490565b611d82806200047a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063598e2892116100f9578063a3f4df7e11610097578063d0def52111610071578063d0def52114610390578063e985e9c5146103a3578063f21de1e8146103df578063f76f8d78146103f057600080fd5b8063a3f4df7e14610362578063b88d4fde1461036a578063c87b56dd1461037d57600080fd5b8063862440e2116100d3578063862440e21461032c57806395d89b411461033f578063a22cb46514610347578063a2309ff81461035a57600080fd5b8063598e2892146102fd5780636352211e1461030657806370a082311461031957600080fd5b80632e85b1f31161016657806342842e0e1161014057806342842e0e146102b157806342966c68146102c45780634f558e79146102d75780634f6ccce7146102ea57600080fd5b80632e85b1f3146102825780632f745c591461028b57806340c10f191461029e57600080fd5b8063081812fc116101a2578063081812fc14610227578063095ea7b31461025257806318160ddd1461026757806323b872dd1461026f57600080fd5b806301ffc9a7146101c95780630559ea47146101f157806306fdde0314610212575b600080fd5b6101dc6101d736600461167b565b610413565b60405190151581526020015b60405180910390f35b6102046101ff36600461169f565b61043e565b6040519081526020016101e8565b61021a610473565b6040516101e891906116fe565b61023a61023536600461169f565b610505565b6040516001600160a01b0390911681526020016101e8565b61026561026036600461172d565b61052c565b005b600854610204565b61026561027d366004611757565b610646565b61020461083581565b61020461029936600461172d565b610677565b6102656102ac36600461172d565b61070d565b6102656102bf366004611757565b61075a565b6102656102d236600461169f565b610775565b6101dc6102e536600461169f565b6107cb565b6102046102f836600461169f565b6107ea565b61020461044d81565b61023a61031436600461169f565b61087d565b610204610327366004611793565b6108dd565b61026561033a36600461185a565b610963565b61021a6109ff565b6102656103553660046118a1565b610a0e565b601054610204565b61021a610a19565b6102656103783660046118dd565b610a35565b61021a61038b36600461169f565b610a6d565b61020461039e366004611959565b610b16565b6101dc6103b1366004611991565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031661023a565b61021a604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610438575061043882610b94565b92915050565b6000600d54600c54600e548461045491906119da565b61045e91906119f1565b6104699060646119da565b61043891906119f1565b60606000805461048290611a04565b80601f01602080910402602001604051908101604052809291908181526020018280546104ae90611a04565b80156104fb5780601f106104d0576101008083540402835291602001916104fb565b820191906000526020600020905b8154815290600101906020018083116104de57829003601f168201915b5050505050905090565b600061051082610be4565b506000908152600460205260409020546001600160a01b031690565b60006105378261087d565b9050806001600160a01b0316836001600160a01b0316036105a95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105c557506105c581336103b1565b6106375760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105a0565b6106418383610c43565b505050565b6106503382610cb1565b61066c5760405162461bcd60e51b81526004016105a090611a3e565b610641838383610d30565b6000610682836108dd565b82106106e45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105a0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b031633146107375760405162461bcd60e51b81526004016105a090611a8b565b6010805490600061074783611acc565b91905055506107568282610ea1565b5050565b61064183838360405180602001604052806000815250610a35565b600b546001600160a01b0316331461079f5760405162461bcd60e51b81526004016105a090611a8b565b6107a881610be4565b6107b181610ebb565b6000818152600a602052604081206107c891611617565b50565b6000818152600260205260408120546001600160a01b03161515610438565b60006107f560085490565b82106108585760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105a0565b6008828154811061086b5761086b611ae5565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104385760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b60006001600160a01b0382166109475760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016105a0565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b0316331461098d5760405162461bcd60e51b81526004016105a090611a8b565b60008151116109de5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d50545900000000000000000060448201526064016105a0565b6109e782610be4565b6000828152600a602052604090206106418282611b49565b60606001805461048290611a04565b610756338383610f5e565b604051806060016040528060298152602001611d246029913981565b610a3f3383610cb1565b610a5b5760405162461bcd60e51b81526004016105a090611a3e565b610a678484848461102c565b50505050565b6060610a7882610be4565b6000828152600a602052604090208054610a9190611a04565b80601f0160208091040260200160405190810160405280929190818152602001828054610abd90611a04565b8015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b50505050509050919050565b600b546000906001600160a01b03163314610b435760405162461bcd60e51b81526004016105a090611a8b565b610b4b61105f565b825190915015610b6f576000818152600a60205260409020610b6d8382611b49565b505b610b798382610ea1565b60108054906000610b8983611acc565b919050555092915050565b60006001600160e01b031982166380ac58cd60e01b1480610bc557506001600160e01b03198216635b5e139f60e01b145b8061043857506301ffc9a760e01b6001600160e01b0319831614610438565b6000818152600260205260409020546001600160a01b03166107c85760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c788261087d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610cbd8361087d565b9050806001600160a01b0316846001600160a01b03161480610d0457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610d285750836001600160a01b0316610d1d84610505565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d438261087d565b6001600160a01b031614610d695760405162461bcd60e51b81526004016105a090611c09565b6001600160a01b038216610dcb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105a0565b610dd88383836001611086565b826001600160a01b0316610deb8261087d565b6001600160a01b031614610e115760405162461bcd60e51b81526004016105a090611c09565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6107568282604051806020016040528060008152506111ba565b6000610ec68261087d565b9050610ed6816000846001611086565b610edf8261087d565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b031603610fbf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611037848484610d30565b611043848484846111ed565b610a675760405162461bcd60e51b81526004016105a090611c4e565b600061106c600f5461043e565b600f8054919250600061107e83611acc565b919050555090565b60018111156110f55760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016105a0565b816001600160a01b0385166111515761114c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611174565b836001600160a01b0316856001600160a01b0316146111745761117485826112ee565b6001600160a01b0384166111905761118b8161138b565b6111b3565b846001600160a01b0316846001600160a01b0316146111b3576111b3848261143a565b5050505050565b6111c4838361147e565b6111d160008484846111ed565b6106415760405162461bcd60e51b81526004016105a090611c4e565b60006001600160a01b0384163b156112e357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611231903390899088908890600401611ca0565b6020604051808303816000875af192505050801561126c575060408051601f3d908101601f1916820190925261126991810190611cdd565b60015b6112c9573d80801561129a576040519150601f19603f3d011682016040523d82523d6000602084013e61129f565b606091505b5080516000036112c15760405162461bcd60e51b81526004016105a090611c4e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d28565b506001949350505050565b600060016112fb846108dd565b6113059190611cfa565b600083815260076020526040902054909150808214611358576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061139d90600190611cfa565b600083815260096020526040812054600880549394509092849081106113c5576113c5611ae5565b9060005260206000200154905080600883815481106113e6576113e6611ae5565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061141e5761141e611d0d565b6001900381819060005260206000200160009055905550505050565b6000611445836108dd565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166114d45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a0565b6000818152600260205260409020546001600160a01b0316156115395760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b611547600083836001611086565b6000818152600260205260409020546001600160a01b0316156115ac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b50805461162390611a04565b6000825580601f10611633575050565b601f0160209004906000526020600020908101906107c891905b80821115611661576000815560010161164d565b5090565b6001600160e01b0319811681146107c857600080fd5b60006020828403121561168d57600080fd5b813561169881611665565b9392505050565b6000602082840312156116b157600080fd5b5035919050565b6000815180845260005b818110156116de576020818501810151868301820152016116c2565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061169860208301846116b8565b80356001600160a01b038116811461172857600080fd5b919050565b6000806040838503121561174057600080fd5b61174983611711565b946020939093013593505050565b60008060006060848603121561176c57600080fd5b61177584611711565b925061178360208501611711565b9150604084013590509250925092565b6000602082840312156117a557600080fd5b61169882611711565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156117df576117df6117ae565b604051601f8501601f19908116603f01168101908282118183101715611807576118076117ae565b8160405280935085815286868601111561182057600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261184b57600080fd5b611698838335602085016117c4565b6000806040838503121561186d57600080fd5b82359150602083013567ffffffffffffffff81111561188b57600080fd5b6118978582860161183a565b9150509250929050565b600080604083850312156118b457600080fd5b6118bd83611711565b9150602083013580151581146118d257600080fd5b809150509250929050565b600080600080608085870312156118f357600080fd5b6118fc85611711565b935061190a60208601611711565b925060408501359150606085013567ffffffffffffffff81111561192d57600080fd5b8501601f8101871361193e57600080fd5b61194d878235602084016117c4565b91505092959194509250565b6000806040838503121561196c57600080fd5b61197583611711565b9150602083013567ffffffffffffffff81111561188b57600080fd5b600080604083850312156119a457600080fd5b6119ad83611711565b91506119bb60208401611711565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610438576104386119c4565b80820180821115610438576104386119c4565b600181811c90821680611a1857607f821691505b602082108103611a3857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b600060018201611ade57611ade6119c4565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561064157600081815260208120601f850160051c81016020861015611b225750805b601f850160051c820191505b81811015611b4157828155600101611b2e565b505050505050565b815167ffffffffffffffff811115611b6357611b636117ae565b611b7781611b718454611a04565b84611afb565b602080601f831160018114611bac5760008415611b945750858301515b600019600386901b1c1916600185901b178555611b41565b600085815260208120601f198616915b82811015611bdb57888601518255948401946001909101908401611bbc565b5085821015611bf95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cd3908301846116b8565b9695505050505050565b600060208284031215611cef57600080fd5b815161169881611665565b81810381811115610438576104386119c4565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220bfafc16bdaf37d7e7f030e76f63504310b1b0873a8baeb39dcc08423f8b1c99e64736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279",
594
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063598e2892116100f9578063a3f4df7e11610097578063d0def52111610071578063d0def52114610390578063e985e9c5146103a3578063f21de1e8146103df578063f76f8d78146103f057600080fd5b8063a3f4df7e14610362578063b88d4fde1461036a578063c87b56dd1461037d57600080fd5b8063862440e2116100d3578063862440e21461032c57806395d89b411461033f578063a22cb46514610347578063a2309ff81461035a57600080fd5b8063598e2892146102fd5780636352211e1461030657806370a082311461031957600080fd5b80632e85b1f31161016657806342842e0e1161014057806342842e0e146102b157806342966c68146102c45780634f558e79146102d75780634f6ccce7146102ea57600080fd5b80632e85b1f3146102825780632f745c591461028b57806340c10f191461029e57600080fd5b8063081812fc116101a2578063081812fc14610227578063095ea7b31461025257806318160ddd1461026757806323b872dd1461026f57600080fd5b806301ffc9a7146101c95780630559ea47146101f157806306fdde0314610212575b600080fd5b6101dc6101d736600461167b565b610413565b60405190151581526020015b60405180910390f35b6102046101ff36600461169f565b61043e565b6040519081526020016101e8565b61021a610473565b6040516101e891906116fe565b61023a61023536600461169f565b610505565b6040516001600160a01b0390911681526020016101e8565b61026561026036600461172d565b61052c565b005b600854610204565b61026561027d366004611757565b610646565b61020461083581565b61020461029936600461172d565b610677565b6102656102ac36600461172d565b61070d565b6102656102bf366004611757565b61075a565b6102656102d236600461169f565b610775565b6101dc6102e536600461169f565b6107cb565b6102046102f836600461169f565b6107ea565b61020461044d81565b61023a61031436600461169f565b61087d565b610204610327366004611793565b6108dd565b61026561033a36600461185a565b610963565b61021a6109ff565b6102656103553660046118a1565b610a0e565b601054610204565b61021a610a19565b6102656103783660046118dd565b610a35565b61021a61038b36600461169f565b610a6d565b61020461039e366004611959565b610b16565b6101dc6103b1366004611991565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031661023a565b61021a604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610438575061043882610b94565b92915050565b6000600d54600c54600e548461045491906119da565b61045e91906119f1565b6104699060646119da565b61043891906119f1565b60606000805461048290611a04565b80601f01602080910402602001604051908101604052809291908181526020018280546104ae90611a04565b80156104fb5780601f106104d0576101008083540402835291602001916104fb565b820191906000526020600020905b8154815290600101906020018083116104de57829003601f168201915b5050505050905090565b600061051082610be4565b506000908152600460205260409020546001600160a01b031690565b60006105378261087d565b9050806001600160a01b0316836001600160a01b0316036105a95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105c557506105c581336103b1565b6106375760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105a0565b6106418383610c43565b505050565b6106503382610cb1565b61066c5760405162461bcd60e51b81526004016105a090611a3e565b610641838383610d30565b6000610682836108dd565b82106106e45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105a0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b031633146107375760405162461bcd60e51b81526004016105a090611a8b565b6010805490600061074783611acc565b91905055506107568282610ea1565b5050565b61064183838360405180602001604052806000815250610a35565b600b546001600160a01b0316331461079f5760405162461bcd60e51b81526004016105a090611a8b565b6107a881610be4565b6107b181610ebb565b6000818152600a602052604081206107c891611617565b50565b6000818152600260205260408120546001600160a01b03161515610438565b60006107f560085490565b82106108585760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105a0565b6008828154811061086b5761086b611ae5565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104385760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b60006001600160a01b0382166109475760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016105a0565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b0316331461098d5760405162461bcd60e51b81526004016105a090611a8b565b60008151116109de5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d50545900000000000000000060448201526064016105a0565b6109e782610be4565b6000828152600a602052604090206106418282611b49565b60606001805461048290611a04565b610756338383610f5e565b604051806060016040528060298152602001611d246029913981565b610a3f3383610cb1565b610a5b5760405162461bcd60e51b81526004016105a090611a3e565b610a678484848461102c565b50505050565b6060610a7882610be4565b6000828152600a602052604090208054610a9190611a04565b80601f0160208091040260200160405190810160405280929190818152602001828054610abd90611a04565b8015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b50505050509050919050565b600b546000906001600160a01b03163314610b435760405162461bcd60e51b81526004016105a090611a8b565b610b4b61105f565b825190915015610b6f576000818152600a60205260409020610b6d8382611b49565b505b610b798382610ea1565b60108054906000610b8983611acc565b919050555092915050565b60006001600160e01b031982166380ac58cd60e01b1480610bc557506001600160e01b03198216635b5e139f60e01b145b8061043857506301ffc9a760e01b6001600160e01b0319831614610438565b6000818152600260205260409020546001600160a01b03166107c85760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c788261087d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610cbd8361087d565b9050806001600160a01b0316846001600160a01b03161480610d0457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610d285750836001600160a01b0316610d1d84610505565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d438261087d565b6001600160a01b031614610d695760405162461bcd60e51b81526004016105a090611c09565b6001600160a01b038216610dcb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105a0565b610dd88383836001611086565b826001600160a01b0316610deb8261087d565b6001600160a01b031614610e115760405162461bcd60e51b81526004016105a090611c09565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6107568282604051806020016040528060008152506111ba565b6000610ec68261087d565b9050610ed6816000846001611086565b610edf8261087d565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b031603610fbf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611037848484610d30565b611043848484846111ed565b610a675760405162461bcd60e51b81526004016105a090611c4e565b600061106c600f5461043e565b600f8054919250600061107e83611acc565b919050555090565b60018111156110f55760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016105a0565b816001600160a01b0385166111515761114c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611174565b836001600160a01b0316856001600160a01b0316146111745761117485826112ee565b6001600160a01b0384166111905761118b8161138b565b6111b3565b846001600160a01b0316846001600160a01b0316146111b3576111b3848261143a565b5050505050565b6111c4838361147e565b6111d160008484846111ed565b6106415760405162461bcd60e51b81526004016105a090611c4e565b60006001600160a01b0384163b156112e357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611231903390899088908890600401611ca0565b6020604051808303816000875af192505050801561126c575060408051601f3d908101601f1916820190925261126991810190611cdd565b60015b6112c9573d80801561129a576040519150601f19603f3d011682016040523d82523d6000602084013e61129f565b606091505b5080516000036112c15760405162461bcd60e51b81526004016105a090611c4e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d28565b506001949350505050565b600060016112fb846108dd565b6113059190611cfa565b600083815260076020526040902054909150808214611358576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061139d90600190611cfa565b600083815260096020526040812054600880549394509092849081106113c5576113c5611ae5565b9060005260206000200154905080600883815481106113e6576113e6611ae5565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061141e5761141e611d0d565b6001900381819060005260206000200160009055905550505050565b6000611445836108dd565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166114d45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a0565b6000818152600260205260409020546001600160a01b0316156115395760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b611547600083836001611086565b6000818152600260205260409020546001600160a01b0316156115ac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b50805461162390611a04565b6000825580601f10611633575050565b601f0160209004906000526020600020908101906107c891905b80821115611661576000815560010161164d565b5090565b6001600160e01b0319811681146107c857600080fd5b60006020828403121561168d57600080fd5b813561169881611665565b9392505050565b6000602082840312156116b157600080fd5b5035919050565b6000815180845260005b818110156116de576020818501810151868301820152016116c2565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061169860208301846116b8565b80356001600160a01b038116811461172857600080fd5b919050565b6000806040838503121561174057600080fd5b61174983611711565b946020939093013593505050565b60008060006060848603121561176c57600080fd5b61177584611711565b925061178360208501611711565b9150604084013590509250925092565b6000602082840312156117a557600080fd5b61169882611711565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156117df576117df6117ae565b604051601f8501601f19908116603f01168101908282118183101715611807576118076117ae565b8160405280935085815286868601111561182057600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261184b57600080fd5b611698838335602085016117c4565b6000806040838503121561186d57600080fd5b82359150602083013567ffffffffffffffff81111561188b57600080fd5b6118978582860161183a565b9150509250929050565b600080604083850312156118b457600080fd5b6118bd83611711565b9150602083013580151581146118d257600080fd5b809150509250929050565b600080600080608085870312156118f357600080fd5b6118fc85611711565b935061190a60208601611711565b925060408501359150606085013567ffffffffffffffff81111561192d57600080fd5b8501601f8101871361193e57600080fd5b61194d878235602084016117c4565b91505092959194509250565b6000806040838503121561196c57600080fd5b61197583611711565b9150602083013567ffffffffffffffff81111561188b57600080fd5b600080604083850312156119a457600080fd5b6119ad83611711565b91506119bb60208401611711565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610438576104386119c4565b80820180821115610438576104386119c4565b600181811c90821680611a1857607f821691505b602082108103611a3857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b600060018201611ade57611ade6119c4565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561064157600081815260208120601f850160051c81016020861015611b225750805b601f850160051c820191505b81811015611b4157828155600101611b2e565b505050505050565b815167ffffffffffffffff811115611b6357611b636117ae565b611b7781611b718454611a04565b84611afb565b602080601f831160018114611bac5760008415611b945750858301515b600019600386901b1c1916600185901b178555611b41565b600085815260208120601f198616915b82811015611bdb57888601518255948401946001909101908401611bbc565b5085821015611bf95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cd3908301846116b8565b9695505050505050565b600060208284031215611cef57600080fd5b815161169881611665565b81810381811115610438576104386119c4565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220bfafc16bdaf37d7e7f030e76f63504310b1b0873a8baeb39dcc08423f8b1c99e64736f6c63430008140033",
722
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162001e7d38038062001e7d833981016040819052620000349162000165565b60405180606001604052806029815260200162001e54602991396040805180820190915260048152632224a82960e11b602082015260006200007783826200023c565b5060016200008682826200023c565b5050506001600160a01b038116620000e45760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4e46542d3031303a52454749535452595f5a45524f0000000000604482015260640160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d819055620001109062000131565b600e8190556200012290600a6200041d565b600f555060046010556200046a565b60005b811562000160578062000147816200042b565b9150620001589050600a8362000447565b915062000134565b919050565b6000602082840312156200017857600080fd5b81516001600160a01b03811681146200019057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c257607f821691505b602082108103620001e357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023757600081815260208120601f850160051c81016020861015620002125750805b601f850160051c820191505b8181101562000233578281556001016200021e565b5050505b505050565b81516001600160401b0381111562000258576200025862000197565b6200027081620002698454620001ad565b84620001e9565b602080601f831160018114620002a857600084156200028f5750858301515b600019600386901b1c1916600185901b17855562000233565b600085815260208120601f198616915b82811015620002d957888601518255948401946001909101908401620002b8565b5085821015620002f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200035f57816000190482111562000343576200034362000308565b808516156200035157918102915b93841c939080029062000323565b509250929050565b600082620003785750600162000417565b81620003875750600062000417565b8160018114620003a05760028114620003ab57620003cb565b600191505062000417565b60ff841115620003bf57620003bf62000308565b50506001821b62000417565b5060208310610133831016604e8410600b8410161715620003f0575081810a62000417565b620003fc83836200031e565b806000190482111562000413576200041362000308565b0290505b92915050565b600062000190838362000367565b60006001820162000440576200044062000308565b5060010190565b6000826200046557634e487b7160e01b600052601260045260246000fd5b500490565b6119da806200047a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80634f6ccce7116100f9578063a2309ff811610097578063c87b56dd11610071578063c87b56dd146103a8578063e985e9c5146103bb578063f21de1e8146103ce578063f76f8d78146103df57600080fd5b8063a2309ff814610385578063a3f4df7e1461038d578063b88d4fde1461039557600080fd5b806370a08231116100d357806370a0823114610344578063862440e21461035757806395d89b411461036a578063a22cb4651461037257600080fd5b80634f6ccce714610315578063598e2892146103285780636352211e1461033157600080fd5b806323b872dd1161016657806340c10f191161014057806340c10f19146102b157806342842e0e146102c457806342966c68146102d75780634f558e79146102ea57600080fd5b806323b872dd146102825780632e85b1f3146102955780632f745c591461029e57600080fd5b8063081812fc116101a2578063081812fc14610227578063095ea7b31461025257806318160ddd14610267578063221375a61461026f57600080fd5b806301ffc9a7146101c95780630559ea47146101f157806306fdde0314610212575b600080fd5b6101dc6101d7366004611391565b610402565b60405190151581526020015b60405180910390f35b6102046101ff3660046113b5565b61042d565b6040519081526020016101e8565b61021a610462565b6040516101e89190611414565b61023a6102353660046113b5565b6104f4565b6040516001600160a01b0390911681526020016101e8565b610265610260366004611443565b61051d565b005b600854610204565b61020461027d366004611519565b61052c565b610265610290366004611577565b6105ea565b61020461083581565b6102046102ac366004611443565b610693565b6102656102bf366004611443565b6106f8565b6102656102d2366004611577565b610741565b6102656102e53660046113b5565b61075c565b6101dc6102f83660046113b5565b6000908152600260205260409020546001600160a01b0316151590565b6102046103233660046113b5565b6107b3565b61020461044d81565b61023a61033f3660046113b5565b61080c565b6102046103523660046115b3565b610817565b6102656103653660046115ce565b61085f565b61021a6108fc565b610265610380366004611615565b61090b565b601154610204565b61021a610916565b6102656103a3366004611651565b610932565b61021a6103b63660046113b5565b61094f565b6101dc6103c93660046116cd565b6109f9565b600c546001600160a01b031661023a565b61021a604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610427575061042782610a27565b92915050565b6000600e54600d54600f54846104439190611716565b61044d919061172d565b610458906064611716565b610427919061172d565b60606000805461047190611740565b80601f016020809104026020016040519081016040528092919081815260200182805461049d90611740565b80156104ea5780601f106104bf576101008083540402835291602001916104ea565b820191906000526020600020905b8154815290600101906020018083116104cd57829003601f168201915b5050505050905090565b60006104ff82610a77565b506000828152600460205260409020546001600160a01b0316610427565b610528828233610ab0565b5050565b600c546000906001600160a01b031633146105625760405162461bcd60e51b81526004016105599061177a565b60405180910390fd5b61056a610abd565b90506001600160a01b038316156105a3576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105c4576000818152600b602052604090206105c28382611809565b505b6105ce8482610ae4565b601180549060006105de836118c9565b91905055509392505050565b6105f5838383610afe565b6000818152600a60205260409020546001600160a01b03161561068e576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b15801561067557600080fd5b505af1158015610689573d6000803e3d6000fd5b505050505b505050565b600061069e83610817565b82106106cf5760405163295f44f760e21b81526001600160a01b038416600482015260248101839052604401610559565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107225760405162461bcd60e51b81526004016105599061177a565b60118054906000610732836118c9565b91905055506105288282610ae4565b61068e83838360405180602001604052806000815250610932565b600c546001600160a01b031633146107865760405162461bcd60e51b81526004016105599061177a565b61078f81610a77565b5061079981610b83565b6000818152600b602052604081206107b09161132d565b50565b60006107be60085490565b82106107e75760405163295f44f760e21b81526000600482015260248101839052604401610559565b600882815481106107fa576107fa6118e2565b90600052602060002001549050919050565b600061042782610a77565b60006001600160a01b038216610843576040516322718ad960e21b815260006004820152602401610559565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108895760405162461bcd60e51b81526004016105599061177a565b60008151116108da5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d5054590000000000000000006044820152606401610559565b6108e382610a77565b506000828152600b6020526040902061068e8282611809565b60606001805461047190611740565b610528338383610bbe565b60405180606001604052806029815260200161197c6029913981565b61093d8484846105ea565b61094984848484610c5d565b50505050565b606061095a82610a77565b506000828152600b60205260409020805461097490611740565b80601f01602080910402602001604051908101604052809291908181526020018280546109a090611740565b80156109ed5780601f106109c2576101008083540402835291602001916109ed565b820191906000526020600020905b8154815290600101906020018083116109d057829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610a5857506001600160e01b03198216635b5e139f60e01b145b8061042757506301ffc9a760e01b6001600160e01b0319831614610427565b6000818152600260205260408120546001600160a01b03168061042757604051637e27328960e01b815260048101849052602401610559565b61068e8383836001610d86565b6000610aca60105461042d565b601080549192506000610adc836118c9565b919050555090565b610528828260405180602001604052806000815250610e8c565b6001600160a01b038216610b2857604051633250574960e11b815260006004820152602401610559565b6000610b35838333610ea3565b9050836001600160a01b0316816001600160a01b031614610949576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610559565b6000610b926000836000610ea3565b90506001600160a01b03811661052857604051637e27328960e01b815260048101839052602401610559565b6001600160a01b038216610bf057604051630b61174360e31b81526001600160a01b0383166004820152602401610559565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561094957604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610c9f9033908890879087906004016118f8565b6020604051808303816000875af1925050508015610cda575060408051601f3d908101601f19168201909252610cd791810190611935565b60015b610d43573d808015610d08576040519150601f19603f3d011682016040523d82523d6000602084013e610d0d565b606091505b508051600003610d3b57604051633250574960e11b81526001600160a01b0385166004820152602401610559565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610d7f57604051633250574960e11b81526001600160a01b0385166004820152602401610559565b5050505050565b8080610d9a57506001600160a01b03821615155b15610e5c576000610daa84610a77565b90506001600160a01b03831615801590610dd65750826001600160a01b0316816001600160a01b031614155b8015610de95750610de781846109f9565b155b15610e125760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401610559565b8115610e5a5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610e968383610f78565b61068e6000848484610c5d565b600080610eb1858585610fdd565b90506001600160a01b038116610f0e57610f0984600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f31565b846001600160a01b0316816001600160a01b031614610f3157610f3181856110d6565b6001600160a01b038516610f4d57610f4884611167565b610f70565b846001600160a01b0316816001600160a01b031614610f7057610f708585611216565b949350505050565b6001600160a01b038216610fa257604051633250574960e11b815260006004820152602401610559565b6000610fb083836000610ea3565b90506001600160a01b0381161561068e576040516339e3563760e11b815260006004820152602401610559565b6000828152600260205260408120546001600160a01b039081169083161561100a5761100a818486611266565b6001600160a01b0381161561104857611027600085600080610d86565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615611077576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b60006110e183610817565b600083815260076020526040902054909150808214611134576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061117990600190611952565b600083815260096020526040812054600880549394509092849081106111a1576111a16118e2565b9060005260206000200154905080600883815481106111c2576111c26118e2565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806111fa576111fa611965565b6001900381819060005260206000200160009055905550505050565b6000600161122384610817565b61122d9190611952565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112718383836112ca565b61068e576001600160a01b03831661129f57604051637e27328960e01b815260048101829052602401610559565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401610559565b60006001600160a01b03831615801590610f705750826001600160a01b0316846001600160a01b03161480611304575061130484846109f9565b80610f705750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461133990611740565b6000825580601f10611349575050565b601f0160209004906000526020600020908101906107b091905b808211156113775760008155600101611363565b5090565b6001600160e01b0319811681146107b057600080fd5b6000602082840312156113a357600080fd5b81356113ae8161137b565b9392505050565b6000602082840312156113c757600080fd5b5035919050565b6000815180845260005b818110156113f4576020818501810151868301820152016113d8565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006113ae60208301846113ce565b80356001600160a01b038116811461143e57600080fd5b919050565b6000806040838503121561145657600080fd5b61145f83611427565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561149e5761149e61146d565b604051601f8501601f19908116603f011681019082821181831017156114c6576114c661146d565b816040528093508581528686860111156114df57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261150a57600080fd5b6113ae83833560208501611483565b60008060006060848603121561152e57600080fd5b61153784611427565b925061154560208501611427565b9150604084013567ffffffffffffffff81111561156157600080fd5b61156d868287016114f9565b9150509250925092565b60008060006060848603121561158c57600080fd5b61159584611427565b92506115a360208501611427565b9150604084013590509250925092565b6000602082840312156115c557600080fd5b6113ae82611427565b600080604083850312156115e157600080fd5b82359150602083013567ffffffffffffffff8111156115ff57600080fd5b61160b858286016114f9565b9150509250929050565b6000806040838503121561162857600080fd5b61163183611427565b91506020830135801515811461164657600080fd5b809150509250929050565b6000806000806080858703121561166757600080fd5b61167085611427565b935061167e60208601611427565b925060408501359150606085013567ffffffffffffffff8111156116a157600080fd5b8501601f810187136116b257600080fd5b6116c187823560208401611483565b91505092959194509250565b600080604083850312156116e057600080fd5b6116e983611427565b91506116f760208401611427565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761042757610427611700565b8082018082111561042757610427611700565b600181811c9082168061175457607f821691505b60208210810361177457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b601f82111561068e57600081815260208120601f850160051c810160208610156117e25750805b601f850160051c820191505b81811015611801578281556001016117ee565b505050505050565b815167ffffffffffffffff8111156118235761182361146d565b611837816118318454611740565b846117bb565b602080601f83116001811461186c57600084156118545750858301515b600019600386901b1c1916600185901b178555611801565b600085815260208120601f198616915b8281101561189b5788860151825594840194600190910190840161187c565b50858210156118b95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118db576118db611700565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192b908301846113ce565b9695505050505050565b60006020828403121561194757600080fd5b81516113ae8161137b565b8181038181111561042757610427611700565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220aa4ab71e5429c269fe81515c2906cdaaf8874f3b8f505fee48d0453385a68c9264736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279",
723
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80634f6ccce7116100f9578063a2309ff811610097578063c87b56dd11610071578063c87b56dd146103a8578063e985e9c5146103bb578063f21de1e8146103ce578063f76f8d78146103df57600080fd5b8063a2309ff814610385578063a3f4df7e1461038d578063b88d4fde1461039557600080fd5b806370a08231116100d357806370a0823114610344578063862440e21461035757806395d89b411461036a578063a22cb4651461037257600080fd5b80634f6ccce714610315578063598e2892146103285780636352211e1461033157600080fd5b806323b872dd1161016657806340c10f191161014057806340c10f19146102b157806342842e0e146102c457806342966c68146102d75780634f558e79146102ea57600080fd5b806323b872dd146102825780632e85b1f3146102955780632f745c591461029e57600080fd5b8063081812fc116101a2578063081812fc14610227578063095ea7b31461025257806318160ddd14610267578063221375a61461026f57600080fd5b806301ffc9a7146101c95780630559ea47146101f157806306fdde0314610212575b600080fd5b6101dc6101d7366004611391565b610402565b60405190151581526020015b60405180910390f35b6102046101ff3660046113b5565b61042d565b6040519081526020016101e8565b61021a610462565b6040516101e89190611414565b61023a6102353660046113b5565b6104f4565b6040516001600160a01b0390911681526020016101e8565b610265610260366004611443565b61051d565b005b600854610204565b61020461027d366004611519565b61052c565b610265610290366004611577565b6105ea565b61020461083581565b6102046102ac366004611443565b610693565b6102656102bf366004611443565b6106f8565b6102656102d2366004611577565b610741565b6102656102e53660046113b5565b61075c565b6101dc6102f83660046113b5565b6000908152600260205260409020546001600160a01b0316151590565b6102046103233660046113b5565b6107b3565b61020461044d81565b61023a61033f3660046113b5565b61080c565b6102046103523660046115b3565b610817565b6102656103653660046115ce565b61085f565b61021a6108fc565b610265610380366004611615565b61090b565b601154610204565b61021a610916565b6102656103a3366004611651565b610932565b61021a6103b63660046113b5565b61094f565b6101dc6103c93660046116cd565b6109f9565b600c546001600160a01b031661023a565b61021a604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610427575061042782610a27565b92915050565b6000600e54600d54600f54846104439190611716565b61044d919061172d565b610458906064611716565b610427919061172d565b60606000805461047190611740565b80601f016020809104026020016040519081016040528092919081815260200182805461049d90611740565b80156104ea5780601f106104bf576101008083540402835291602001916104ea565b820191906000526020600020905b8154815290600101906020018083116104cd57829003601f168201915b5050505050905090565b60006104ff82610a77565b506000828152600460205260409020546001600160a01b0316610427565b610528828233610ab0565b5050565b600c546000906001600160a01b031633146105625760405162461bcd60e51b81526004016105599061177a565b60405180910390fd5b61056a610abd565b90506001600160a01b038316156105a3576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105c4576000818152600b602052604090206105c28382611809565b505b6105ce8482610ae4565b601180549060006105de836118c9565b91905055509392505050565b6105f5838383610afe565b6000818152600a60205260409020546001600160a01b03161561068e576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b15801561067557600080fd5b505af1158015610689573d6000803e3d6000fd5b505050505b505050565b600061069e83610817565b82106106cf5760405163295f44f760e21b81526001600160a01b038416600482015260248101839052604401610559565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107225760405162461bcd60e51b81526004016105599061177a565b60118054906000610732836118c9565b91905055506105288282610ae4565b61068e83838360405180602001604052806000815250610932565b600c546001600160a01b031633146107865760405162461bcd60e51b81526004016105599061177a565b61078f81610a77565b5061079981610b83565b6000818152600b602052604081206107b09161132d565b50565b60006107be60085490565b82106107e75760405163295f44f760e21b81526000600482015260248101839052604401610559565b600882815481106107fa576107fa6118e2565b90600052602060002001549050919050565b600061042782610a77565b60006001600160a01b038216610843576040516322718ad960e21b815260006004820152602401610559565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108895760405162461bcd60e51b81526004016105599061177a565b60008151116108da5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d5054590000000000000000006044820152606401610559565b6108e382610a77565b506000828152600b6020526040902061068e8282611809565b60606001805461047190611740565b610528338383610bbe565b60405180606001604052806029815260200161197c6029913981565b61093d8484846105ea565b61094984848484610c5d565b50505050565b606061095a82610a77565b506000828152600b60205260409020805461097490611740565b80601f01602080910402602001604051908101604052809291908181526020018280546109a090611740565b80156109ed5780601f106109c2576101008083540402835291602001916109ed565b820191906000526020600020905b8154815290600101906020018083116109d057829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610a5857506001600160e01b03198216635b5e139f60e01b145b8061042757506301ffc9a760e01b6001600160e01b0319831614610427565b6000818152600260205260408120546001600160a01b03168061042757604051637e27328960e01b815260048101849052602401610559565b61068e8383836001610d86565b6000610aca60105461042d565b601080549192506000610adc836118c9565b919050555090565b610528828260405180602001604052806000815250610e8c565b6001600160a01b038216610b2857604051633250574960e11b815260006004820152602401610559565b6000610b35838333610ea3565b9050836001600160a01b0316816001600160a01b031614610949576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610559565b6000610b926000836000610ea3565b90506001600160a01b03811661052857604051637e27328960e01b815260048101839052602401610559565b6001600160a01b038216610bf057604051630b61174360e31b81526001600160a01b0383166004820152602401610559565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561094957604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610c9f9033908890879087906004016118f8565b6020604051808303816000875af1925050508015610cda575060408051601f3d908101601f19168201909252610cd791810190611935565b60015b610d43573d808015610d08576040519150601f19603f3d011682016040523d82523d6000602084013e610d0d565b606091505b508051600003610d3b57604051633250574960e11b81526001600160a01b0385166004820152602401610559565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610d7f57604051633250574960e11b81526001600160a01b0385166004820152602401610559565b5050505050565b8080610d9a57506001600160a01b03821615155b15610e5c576000610daa84610a77565b90506001600160a01b03831615801590610dd65750826001600160a01b0316816001600160a01b031614155b8015610de95750610de781846109f9565b155b15610e125760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401610559565b8115610e5a5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610e968383610f78565b61068e6000848484610c5d565b600080610eb1858585610fdd565b90506001600160a01b038116610f0e57610f0984600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f31565b846001600160a01b0316816001600160a01b031614610f3157610f3181856110d6565b6001600160a01b038516610f4d57610f4884611167565b610f70565b846001600160a01b0316816001600160a01b031614610f7057610f708585611216565b949350505050565b6001600160a01b038216610fa257604051633250574960e11b815260006004820152602401610559565b6000610fb083836000610ea3565b90506001600160a01b0381161561068e576040516339e3563760e11b815260006004820152602401610559565b6000828152600260205260408120546001600160a01b039081169083161561100a5761100a818486611266565b6001600160a01b0381161561104857611027600085600080610d86565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615611077576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b60006110e183610817565b600083815260076020526040902054909150808214611134576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061117990600190611952565b600083815260096020526040812054600880549394509092849081106111a1576111a16118e2565b9060005260206000200154905080600883815481106111c2576111c26118e2565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806111fa576111fa611965565b6001900381819060005260206000200160009055905550505050565b6000600161122384610817565b61122d9190611952565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112718383836112ca565b61068e576001600160a01b03831661129f57604051637e27328960e01b815260048101829052602401610559565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401610559565b60006001600160a01b03831615801590610f705750826001600160a01b0316846001600160a01b03161480611304575061130484846109f9565b80610f705750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461133990611740565b6000825580601f10611349575050565b601f0160209004906000526020600020908101906107b091905b808211156113775760008155600101611363565b5090565b6001600160e01b0319811681146107b057600080fd5b6000602082840312156113a357600080fd5b81356113ae8161137b565b9392505050565b6000602082840312156113c757600080fd5b5035919050565b6000815180845260005b818110156113f4576020818501810151868301820152016113d8565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006113ae60208301846113ce565b80356001600160a01b038116811461143e57600080fd5b919050565b6000806040838503121561145657600080fd5b61145f83611427565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561149e5761149e61146d565b604051601f8501601f19908116603f011681019082821181831017156114c6576114c661146d565b816040528093508581528686860111156114df57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261150a57600080fd5b6113ae83833560208501611483565b60008060006060848603121561152e57600080fd5b61153784611427565b925061154560208501611427565b9150604084013567ffffffffffffffff81111561156157600080fd5b61156d868287016114f9565b9150509250925092565b60008060006060848603121561158c57600080fd5b61159584611427565b92506115a360208501611427565b9150604084013590509250925092565b6000602082840312156115c557600080fd5b6113ae82611427565b600080604083850312156115e157600080fd5b82359150602083013567ffffffffffffffff8111156115ff57600080fd5b61160b858286016114f9565b9150509250929050565b6000806040838503121561162857600080fd5b61163183611427565b91506020830135801515811461164657600080fd5b809150509250929050565b6000806000806080858703121561166757600080fd5b61167085611427565b935061167e60208601611427565b925060408501359150606085013567ffffffffffffffff8111156116a157600080fd5b8501601f810187136116b257600080fd5b6116c187823560208401611483565b91505092959194509250565b600080604083850312156116e057600080fd5b6116e983611427565b91506116f760208401611427565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761042757610427611700565b8082018082111561042757610427611700565b600181811c9082168061175457607f821691505b60208210810361177457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b601f82111561068e57600081815260208120601f850160051c810160208610156117e25750805b601f850160051c820191505b81811015611801578281556001016117ee565b505050505050565b815167ffffffffffffffff8111156118235761182361146d565b611837816118318454611740565b846117bb565b602080601f83116001811461186c57600084156118545750858301515b600019600386901b1c1916600185901b178555611801565b600085815260208120601f198616915b8281101561189b5788860151825594840194600190910190840161187c565b50858210156118b95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118db576118db611700565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192b908301846113ce565b9695505050505050565b60006020828403121561194757600080fd5b81516113ae8161137b565b8181038181111561042757610427611700565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220aa4ab71e5429c269fe81515c2906cdaaf8874f3b8f505fee48d0453385a68c9264736f6c63430008140033",
595
724
  "linkReferences": {},
596
725
  "deployedLinkReferences": {}
597
726
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
3
+ "buildInfo": "../../../build-info/012ca89f3ac4e827547ee6f4d256fa06.json"
4
4
  }
@@ -210,6 +210,11 @@
210
210
  "name": "to",
211
211
  "type": "address"
212
212
  },
213
+ {
214
+ "internalType": "address",
215
+ "name": "interceptor",
216
+ "type": "address"
217
+ },
213
218
  {
214
219
  "internalType": "string",
215
220
  "name": "uri",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
3
+ "buildInfo": "../../../build-info/012ca89f3ac4e827547ee6f4d256fa06.json"
4
4
  }